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
693 MAINTAINER_MODE_FALSE
703 INSTALL_STRIP_PROGRAM
745 program_transform_name
757 enable_option_checking
758 enable_maintainer_mode
759 enable_dependency_tracking
761 ac_precious_vars
='build_alias
775 # Initialize some variables set by options.
777 ac_init_version
=false
778 ac_unrecognized_opts
=
780 # The variables have the same names as the options, with
781 # dashes changed to underlines.
789 program_transform_name
=s
,x
,x
,
797 # Installation directory options.
798 # These are left unexpanded so users can "make install exec_prefix=/foo"
799 # and all the variables that are supposed to be based on exec_prefix
800 # by default will actually change.
801 # Use braces instead of parens because sh, perl, etc. also accept them.
802 # (The list follows the same order as the GNU Coding Standards.)
803 bindir
='${exec_prefix}/bin'
804 sbindir
='${exec_prefix}/sbin'
805 libexecdir
='${exec_prefix}/libexec'
806 datarootdir
='${prefix}/share'
807 datadir
='${datarootdir}'
808 sysconfdir
='${prefix}/etc'
809 sharedstatedir
='${prefix}/com'
810 localstatedir
='${prefix}/var'
811 includedir
='${prefix}/include'
812 oldincludedir
='/usr/include'
813 docdir
='${datarootdir}/doc/${PACKAGE}'
814 infodir
='${datarootdir}/info'
819 libdir
='${exec_prefix}/lib'
820 localedir
='${datarootdir}/locale'
821 mandir
='${datarootdir}/man'
827 # If the previous option needs an argument, assign it.
828 if test -n "$ac_prev"; then
829 eval $ac_prev=\
$ac_option
835 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839 # Accept the important Cygnus configure options, so we can diagnose typos.
841 case $ac_dashdash$ac_option in
845 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
847 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
850 -build |
--build |
--buil |
--bui |
--bu)
851 ac_prev
=build_alias
;;
852 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
853 build_alias
=$ac_optarg ;;
855 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
856 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
857 ac_prev
=cache_file
;;
858 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
859 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
860 cache_file
=$ac_optarg ;;
863 cache_file
=config.cache
;;
865 -datadir |
--datadir |
--datadi |
--datad)
867 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
868 datadir
=$ac_optarg ;;
870 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
871 |
--dataroo |
--dataro |
--datar)
872 ac_prev
=datarootdir
;;
873 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
874 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
875 datarootdir
=$ac_optarg ;;
877 -disable-* |
--disable-*)
878 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
879 # Reject names that are not valid shell variable names.
880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
881 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
882 { (exit 1); exit 1; }; }
883 ac_useropt_orig
=$ac_useropt
884 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in
889 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
890 ac_unrecognized_sep
=', ';;
892 eval enable_
$ac_useropt=no
;;
894 -docdir |
--docdir |
--docdi |
--doc |
--do)
896 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
899 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
901 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
904 -enable-* |
--enable-*)
905 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906 # Reject names that are not valid shell variable names.
907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
908 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
909 { (exit 1); exit 1; }; }
910 ac_useropt_orig
=$ac_useropt
911 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
916 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
917 ac_unrecognized_sep
=', ';;
919 eval enable_
$ac_useropt=\
$ac_optarg ;;
921 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
922 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
923 |
--exec |
--exe |
--ex)
924 ac_prev
=exec_prefix
;;
925 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
926 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
927 |
--exec=* |
--exe=* |
--ex=*)
928 exec_prefix
=$ac_optarg ;;
930 -gas |
--gas |
--ga |
--g)
931 # Obsolete; use --with-gas.
934 -help |
--help |
--hel |
--he |
-h)
936 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
937 ac_init_help
=recursive
;;
938 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
939 ac_init_help
=short
;;
941 -host |
--host |
--hos |
--ho)
942 ac_prev
=host_alias
;;
943 -host=* |
--host=* |
--hos=* |
--ho=*)
944 host_alias
=$ac_optarg ;;
946 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
948 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
950 htmldir
=$ac_optarg ;;
952 -includedir |
--includedir |
--includedi |
--included |
--include \
953 |
--includ |
--inclu |
--incl |
--inc)
954 ac_prev
=includedir
;;
955 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
956 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
957 includedir
=$ac_optarg ;;
959 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
961 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
962 infodir
=$ac_optarg ;;
964 -libdir |
--libdir |
--libdi |
--libd)
966 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
969 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
970 |
--libexe |
--libex |
--libe)
971 ac_prev
=libexecdir
;;
972 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
973 |
--libexe=* |
--libex=* |
--libe=*)
974 libexecdir
=$ac_optarg ;;
976 -localedir |
--localedir |
--localedi |
--localed |
--locale)
978 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
979 localedir
=$ac_optarg ;;
981 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
982 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
983 ac_prev
=localstatedir
;;
984 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
985 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
986 localstatedir
=$ac_optarg ;;
988 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
990 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
994 # Obsolete; use --without-fp.
997 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
998 |
--no-cr |
--no-c |
-n)
1001 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1002 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1005 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1006 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1007 |
--oldin |
--oldi |
--old |
--ol |
--o)
1008 ac_prev
=oldincludedir
;;
1009 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1010 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1011 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1012 oldincludedir
=$ac_optarg ;;
1014 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1016 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1017 prefix
=$ac_optarg ;;
1019 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1020 |
--program-pre |
--program-pr |
--program-p)
1021 ac_prev
=program_prefix
;;
1022 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1023 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1024 program_prefix
=$ac_optarg ;;
1026 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1027 |
--program-suf |
--program-su |
--program-s)
1028 ac_prev
=program_suffix
;;
1029 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1030 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1031 program_suffix
=$ac_optarg ;;
1033 -program-transform-name |
--program-transform-name \
1034 |
--program-transform-nam |
--program-transform-na \
1035 |
--program-transform-n |
--program-transform- \
1036 |
--program-transform |
--program-transfor \
1037 |
--program-transfo |
--program-transf \
1038 |
--program-trans |
--program-tran \
1039 |
--progr-tra |
--program-tr |
--program-t)
1040 ac_prev
=program_transform_name
;;
1041 -program-transform-name=* |
--program-transform-name=* \
1042 |
--program-transform-nam=* |
--program-transform-na=* \
1043 |
--program-transform-n=* |
--program-transform-=* \
1044 |
--program-transform=* |
--program-transfor=* \
1045 |
--program-transfo=* |
--program-transf=* \
1046 |
--program-trans=* |
--program-tran=* \
1047 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1048 program_transform_name
=$ac_optarg ;;
1050 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1052 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1053 pdfdir
=$ac_optarg ;;
1055 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1057 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1061 |
-silent |
--silent |
--silen |
--sile |
--sil)
1064 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1066 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1068 sbindir
=$ac_optarg ;;
1070 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1071 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1072 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1074 ac_prev
=sharedstatedir
;;
1075 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1076 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1077 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1079 sharedstatedir
=$ac_optarg ;;
1081 -site |
--site |
--sit)
1083 -site=* |
--site=* |
--sit=*)
1086 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1088 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1089 srcdir
=$ac_optarg ;;
1091 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1092 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1093 ac_prev
=sysconfdir
;;
1094 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1095 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1096 sysconfdir
=$ac_optarg ;;
1098 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1099 ac_prev
=target_alias
;;
1100 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1101 target_alias
=$ac_optarg ;;
1103 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1106 -version |
--version |
--versio |
--versi |
--vers |
-V)
1107 ac_init_version
=: ;;
1110 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1113 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_useropt_orig
=$ac_useropt
1116 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep
=', ';;
1124 eval with_
$ac_useropt=\
$ac_optarg ;;
1126 -without-* |
--without-*)
1127 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1130 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1131 { (exit 1); exit 1; }; }
1132 ac_useropt_orig
=$ac_useropt
1133 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134 case $ac_user_opts in
1138 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1139 ac_unrecognized_sep
=', ';;
1141 eval with_
$ac_useropt=no
;;
1144 # Obsolete; use --with-x.
1147 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1148 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1149 ac_prev
=x_includes
;;
1150 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1151 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1152 x_includes
=$ac_optarg ;;
1154 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1155 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1156 ac_prev
=x_libraries
;;
1157 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1158 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1159 x_libraries
=$ac_optarg ;;
1161 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1162 Try \`$0 --help' for more information." >&2
1163 { (exit 1); exit 1; }; }
1167 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1170 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1171 { (exit 1); exit 1; }; }
1172 eval $ac_envvar=\
$ac_optarg
1173 export $ac_envvar ;;
1176 # FIXME: should be removed in autoconf 3.0.
1177 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1178 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1179 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1180 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1186 if test -n "$ac_prev"; then
1187 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1188 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1189 { (exit 1); exit 1; }; }
1192 if test -n "$ac_unrecognized_opts"; then
1193 case $enable_option_checking in
1195 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1196 { (exit 1); exit 1; }; } ;;
1197 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1201 # Check all directory arguments for consistency.
1202 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1203 datadir sysconfdir sharedstatedir localstatedir includedir \
1204 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1205 libdir localedir mandir
1207 eval ac_val
=\$
$ac_var
1208 # Remove trailing slashes.
1211 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1212 eval $ac_var=\
$ac_val;;
1214 # Be sure to have absolute directory names.
1216 [\\/$
]* | ?
:[\\/]* ) continue;;
1217 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1219 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1220 { (exit 1); exit 1; }; }
1223 # There might be people who depend on the old broken behavior: `$host'
1224 # used to hold the argument of --host etc.
1225 # FIXME: To remove some day.
1228 target
=$target_alias
1230 # FIXME: To remove some day.
1231 if test "x$host_alias" != x
; then
1232 if test "x$build_alias" = x
; then
1233 cross_compiling
=maybe
1234 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1235 If a cross compiler is detected then cross compile mode will be used." >&2
1236 elif test "x$build_alias" != "x$host_alias"; then
1242 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1244 test "$silent" = yes && exec 6>/dev
/null
1247 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1248 ac_ls_di
=`ls -di .` &&
1249 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1250 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1251 { (exit 1); exit 1; }; }
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1254 { (exit 1); exit 1; }; }
1257 # Find the source files, if location was not specified.
1258 if test -z "$srcdir"; then
1259 ac_srcdir_defaulted
=yes
1260 # Try the directory containing this script, then the parent directory.
1261 ac_confdir
=`$as_dirname -- "$as_myself" ||
1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1263 X"$as_myself" : 'X\(//\)[^/]' \| \
1264 X"$as_myself" : 'X\(//\)$' \| \
1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1266 $as_echo X"$as_myself" |
1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1289 ac_srcdir_defaulted
=no
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1292 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1293 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1294 { (exit 1); exit 1; }; }
1296 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1298 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1299 { (exit 1); exit 1; }; }
1301 # When building in place, set srcdir=.
1302 if test "$ac_abs_confdir" = "$ac_pwd"; then
1305 # Remove unnecessary trailing slashes from srcdir.
1306 # Double slashes in file names in object file debugging info
1307 # mess up M-x gdb in Emacs.
1309 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1311 for ac_var
in $ac_precious_vars; do
1312 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1313 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1314 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1315 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1319 # Report the --help message.
1321 if test "$ac_init_help" = "long"; then
1322 # Omit some internal or obsolete options to make the list less imposing.
1323 # This message is too long to be a string in the A/UX 3.1 sh.
1325 \`configure' configures this package to adapt to many kinds of systems.
1327 Usage: $0 [OPTION]... [VAR=VALUE]...
1329 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1330 VAR=VALUE. See below for descriptions of some of the useful variables.
1332 Defaults for the options are specified in brackets.
1335 -h, --help display this help and exit
1336 --help=short display options specific to this package
1337 --help=recursive display the short help of all the included packages
1338 -V, --version display version information and exit
1339 -q, --quiet, --silent do not print \`checking...' messages
1340 --cache-file=FILE cache test results in FILE [disabled]
1341 -C, --config-cache alias for \`--cache-file=config.cache'
1342 -n, --no-create do not create output files
1343 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1345 Installation directories:
1346 --prefix=PREFIX install architecture-independent files in PREFIX
1347 [$ac_default_prefix]
1348 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1351 By default, \`make install' will install all the files in
1352 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1353 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1354 for instance \`--prefix=\$HOME'.
1356 For better control, use the options below.
1358 Fine tuning of the installation directories:
1359 --bindir=DIR user executables [EPREFIX/bin]
1360 --sbindir=DIR system admin executables [EPREFIX/sbin]
1361 --libexecdir=DIR program executables [EPREFIX/libexec]
1362 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1363 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1364 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1365 --libdir=DIR object code libraries [EPREFIX/lib]
1366 --includedir=DIR C header files [PREFIX/include]
1367 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1368 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1369 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1370 --infodir=DIR info documentation [DATAROOTDIR/info]
1371 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1372 --mandir=DIR man documentation [DATAROOTDIR/man]
1373 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1374 --htmldir=DIR html documentation [DOCDIR]
1375 --dvidir=DIR dvi documentation [DOCDIR]
1376 --pdfdir=DIR pdf documentation [DOCDIR]
1377 --psdir=DIR ps documentation [DOCDIR]
1383 --program-prefix=PREFIX prepend PREFIX to installed program names
1384 --program-suffix=SUFFIX append SUFFIX to installed program names
1385 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1388 --build=BUILD configure
for building on BUILD
[guessed
]
1389 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1393 if test -n "$ac_init_help"; then
1398 --disable-option-checking ignore unrecognized
--enable/--with options
1399 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1400 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1401 --enable-maintainer-mode enable make rules and dependencies not useful
1402 (and sometimes confusing
) to the casual installer
1403 --disable-dependency-tracking speeds up one-time build
1404 --enable-dependency-tracking do not reject slow dependency extractors
1406 Some influential environment variables
:
1407 CC C compiler
command
1408 CFLAGS C compiler flags
1409 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1410 nonstandard directory
<lib dir
>
1411 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1412 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1413 you have headers
in a nonstandard directory
<include dir
>
1415 PKG_CONFIG path to pkg-config utility
1417 C compiler flags
for PACKAGE
, overriding pkg-config
1419 linker flags
for PACKAGE
, overriding pkg-config
1421 Use these variables to override the choices made by
`configure' or to help
1422 it to find libraries and programs with nonstandard names/locations.
1428 if test "$ac_init_help" = "recursive"; then
1429 # If there are subdirs, report their specific --help.
1430 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1431 test -d "$ac_dir" ||
1432 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1440 # A ".." for each directory in $ac_dir_suffix.
1441 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1442 case $ac_top_builddir_sub in
1443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1447 ac_abs_top_builddir=$ac_pwd
1448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1449 # for backward compatibility:
1450 ac_top_builddir=$ac_top_build_prefix
1453 .) # We are building in place.
1455 ac_top_srcdir=$ac_top_builddir_sub
1456 ac_abs_top_srcdir=$ac_pwd ;;
1457 [\\/]* | ?:[\\/]* ) # Absolute name.
1458 ac_srcdir=$srcdir$ac_dir_suffix;
1459 ac_top_srcdir=$srcdir
1460 ac_abs_top_srcdir=$srcdir ;;
1462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1463 ac_top_srcdir=$ac_top_build_prefix$srcdir
1464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1468 cd "$ac_dir" || { ac_status=$?; continue; }
1469 # Check for guested configure.
1470 if test -f "$ac_srcdir/configure.gnu"; then
1472 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1473 elif test -f "$ac_srcdir/configure"; then
1475 $SHELL "$ac_srcdir/configure" --help=recursive
1477 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1479 cd "$ac_pwd" || { ac_status=$?; break; }
1483 test -n "$ac_init_help" && exit $ac_status
1484 if $ac_init_version; then
1487 generated by GNU Autoconf 2.63
1489 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1490 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1491 This configure script is free software; the Free Software Foundation
1492 gives unlimited permission to copy, distribute and modify it.
1496 cat >config.log <<_ACEOF
1497 This file contains any messages produced by compilers while
1498 running configure, to aid debugging if configure makes a mistake.
1500 It was created by $as_me, which was
1501 generated by GNU Autoconf 2.63. Invocation command line was
1513 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1514 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1515 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1516 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1517 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1519 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1520 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1522 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1523 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1524 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1525 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1526 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1527 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1528 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536 test -z "$as_dir" && as_dir=.
1537 $as_echo "PATH: $as_dir"
1553 # Keep a trace of the command line.
1554 # Strip out --no-create and --no-recursion so they do not pile up.
1555 # Strip out --silent because we don't want to record it for future runs.
1556 # Also quote any args containing shell meta-characters.
1557 # Make two passes to allow for proper duplicate-argument suppression.
1561 ac_must_keep_next=false
1567 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1568 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1569 | -silent | --silent | --silen | --sile | --sil)
1572 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1575 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1577 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1578 if test $ac_must_keep_next = true; then
1579 ac_must_keep_next=false # Got value, back to normal.
1582 *=* | --config-cache | -C | -disable-* | --disable-* \
1583 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1584 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1585 | -with-* | --with-* | -without-* | --without-* | --x)
1586 case "$ac_configure_args0 " in
1587 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1590 -* ) ac_must_keep_next=true ;;
1593 ac_configure_args="$ac_configure_args '$ac_arg'"
1598 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1599 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1601 # When interrupted or exit'd, cleanup temporary files, and complete
1602 # config.log. We remove comments because anyway the quotes in there
1603 # would cause problems or look ugly.
1604 # WARNING: Use '\'' to represent an apostrophe within the trap.
1605 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1606 trap 'exit_status=$?
1607 # Save into config.log some information that might help in debugging.
1612 ## ---------------- ##
1613 ## Cache variables. ##
1614 ## ---------------- ##
1617 # The following way of writing the cache mishandles newlines in values,
1619 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1620 eval ac_val=\$$ac_var
1624 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1625 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1628 _ | IFS | as_nl) ;; #(
1629 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1630 *) $as_unset $ac_var ;;
1635 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1636 *${as_nl}ac_space=\ *)
1638 "s/'\''/'\''\\\\'\'''\''/g;
1639 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1642 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1650 ## ----------------- ##
1651 ## Output variables. ##
1652 ## ----------------- ##
1655 for ac_var in $ac_subst_vars
1657 eval ac_val=\$$ac_var
1659 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1661 $as_echo "$ac_var='\''$ac_val'\''"
1665 if test -n "$ac_subst_files"; then
1667 ## ------------------- ##
1668 ## File substitutions. ##
1669 ## ------------------- ##
1672 for ac_var in $ac_subst_files
1674 eval ac_val=\$$ac_var
1676 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1678 $as_echo "$ac_var='\''$ac_val'\''"
1683 if test -s confdefs.h; then
1693 test "$ac_signal" != 0 &&
1694 $as_echo "$as_me: caught signal $ac_signal"
1695 $as_echo "$as_me: exit $exit_status"
1697 rm -f core *.core core.conftest.* &&
1698 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1701 for ac_signal in 1 2 13 15; do
1702 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1706 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1707 rm -f -r conftest* confdefs.h
1709 # Predefined preprocessor variables.
1711 cat >>confdefs.h <<_ACEOF
1712 #define PACKAGE_NAME "$PACKAGE_NAME"
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_STRING "$PACKAGE_STRING"
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1736 # Let the site file select an alternate cache file if it wants to.
1737 # Prefer an explicitly selected file to automatically selected ones.
1740 if test -n "$CONFIG_SITE"; then
1741 ac_site_file1=$CONFIG_SITE
1742 elif test "x$prefix" != xNONE; then
1743 ac_site_file1=$prefix/share/config.site
1744 ac_site_file2=$prefix/etc/config.site
1746 ac_site_file1=$ac_default_prefix/share/config.site
1747 ac_site_file2=$ac_default_prefix/etc/config.site
1749 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1751 test "x$ac_site_file" = xNONE && continue
1752 if test -r "$ac_site_file"; then
1753 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1754 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1755 sed 's/^/| /' "$ac_site_file" >&5
1760 if test -r "$cache_file"; then
1761 # Some versions of bash will fail to source /dev/null (special
1762 # files actually), so we avoid doing that.
1763 if test -f "$cache_file"; then
1764 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1765 $as_echo "$as_me: loading cache $cache_file" >&6;}
1767 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1768 *) . "./$cache_file";;
1772 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1773 $as_echo "$as_me: creating cache $cache_file" >&6;}
1777 # Check that the precious variables saved in the cache have kept the same
1779 ac_cache_corrupted=false
1780 for ac_var in $ac_precious_vars; do
1781 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1782 eval ac_new_set=\$ac_env_${ac_var}_set
1783 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1784 eval ac_new_val=\$ac_env_${ac_var}_value
1785 case $ac_old_set,$ac_new_set in
1787 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1788 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1789 ac_cache_corrupted=: ;;
1791 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1792 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1793 ac_cache_corrupted=: ;;
1796 if test "x$ac_old_val" != "x$ac_new_val"; then
1797 # differences in whitespace do not lead to failure.
1798 ac_old_val_w=`echo x
$ac_old_val`
1799 ac_new_val_w=`echo x
$ac_new_val`
1800 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1801 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1802 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1803 ac_cache_corrupted=:
1805 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1806 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1807 eval $ac_var=\$ac_old_val
1809 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1810 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1811 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1812 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1815 # Pass precious variables to config.status.
1816 if test "$ac_new_set" = set; then
1818 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1819 *) ac_arg=$ac_var=$ac_new_val ;;
1821 case " $ac_configure_args " in
1822 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1823 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1827 if $ac_cache_corrupted; then
1828 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1830 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1831 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1832 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1833 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1834 { (exit 1); exit 1; }; }
1854 ac_cpp='$CPP $CPPFLAGS'
1855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1860 am__api_version='1.11'
1863 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
1864 if test -f "$ac_dir/install-sh
"; then
1866 ac_install_sh="$ac_aux_dir/install-sh
-c"
1868 elif test -f "$ac_dir/install.sh
"; then
1870 ac_install_sh="$ac_aux_dir/install.sh
-c"
1872 elif test -f "$ac_dir/shtool
"; then
1874 ac_install_sh="$ac_aux_dir/shtool
install -c"
1878 if test -z "$ac_aux_dir"; then
1879 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
1880 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
1881 { (exit 1); exit 1; }; }
1884 # These three variables are undocumented and unsupported,
1885 # and are intended to be withdrawn in a future Autoconf release.
1886 # They can cause serious problems if a builder's source tree is in a directory
1887 # whose full name contains unusual characters.
1888 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
1889 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
1890 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
1893 # Find a good install program. We prefer a C program (faster),
1894 # so one script is as good as another. But avoid the broken or
1895 # incompatible versions:
1896 # SysV /etc/install, /usr/sbin/install
1897 # SunOS /usr/etc/install
1898 # IRIX /sbin/install
1900 # AmigaOS /C/install, which installs bootblocks on floppy discs
1901 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1902 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1903 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1904 # OS/2's system install, which has a completely different semantic
1905 # ./install, which can be erroneously created by make from ./install.sh.
1906 # Reject install programs that cannot install multiple files.
1907 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
1908 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
1909 if test -z "$INSTALL"; then
1910 if test "${ac_cv_path_install+set}" = set; then
1911 $as_echo_n "(cached
) " >&6
1913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 test -z "$as_dir" && as_dir=.
1918 # Account for people who put trailing slashes in PATH elements.
1920 ./ | .// | /cC/* | \
1921 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1922 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1925 # OSF1 and SCO ODT 3.0 have their own names for install.
1926 # Don't use installbsd from OSF since it installs stuff as root
1928 for ac_prog in ginstall scoinst install; do
1929 for ac_exec_ext in '' $ac_executable_extensions; do
1930 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1931 if test $ac_prog = install &&
1932 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1933 # AIX install. It has an incompatible calling convention.
1935 elif test $ac_prog = install &&
1936 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1937 # program-specific install script used by HP pwplus--don't use.
1940 rm -rf conftest.one conftest.two conftest.dir
1941 echo one > conftest.one
1942 echo two > conftest.two
1944 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
1945 test -s conftest.one && test -s conftest.two &&
1946 test -s conftest.dir/conftest.one &&
1947 test -s conftest.dir/conftest.two
1949 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1962 rm -rf conftest.one conftest.two conftest.dir
1965 if test "${ac_cv_path_install+set}" = set; then
1966 INSTALL=$ac_cv_path_install
1968 # As a last resort, use the slow shell script. Don't cache a
1969 # value for INSTALL within a source directory, because that will
1970 # break other packages using the cache if that directory is
1971 # removed, or if the value is a relative name.
1972 INSTALL=$ac_install_sh
1975 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
1976 $as_echo "$INSTALL" >&6; }
1978 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1979 # It thinks the first close brace ends the variable substitution.
1980 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1982 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1984 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1986 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
1987 $as_echo_n "checking whether build environment is sane...
" >&6; }
1990 echo timestamp > conftest.file
1991 # Reject unsafe characters in $srcdir or the absolute working directory
1992 # name. Accept space and tab only in the latter.
1996 *[\\\"\#\$\&\'\`$am_lf]*)
1997 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
1998 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
1999 { (exit 1); exit 1; }; };;
2002 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2003 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2004 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2005 { (exit 1); exit 1; }; };;
2008 # Do `set' in a subshell so we don
't clobber the current shell's
2009 # arguments. Must try -L first in case configure is actually a
2010 # symlink; some systems play weird games with the mod time of symlinks
2011 # (eg FreeBSD returns the mod time of the symlink's containing
2014 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2015 if test "$*" = "X"; then
2017 set X
`ls -t "$srcdir/configure" conftest.file`
2020 if test "$*" != "X $srcdir/configure conftest.file" \
2021 && test "$*" != "X conftest.file $srcdir/configure"; then
2023 # If neither matched, then we have a broken ls. This can happen
2024 # if, for instance, CONFIG_SHELL is bash and it inherits a
2025 # broken ls alias from the environment. This has actually
2026 # happened. Such a system could not be considered "sane".
2027 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2028 alias in your environment" >&5
2029 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2030 alias in your environment" >&2;}
2031 { (exit 1); exit 1; }; }
2034 test "$2" = conftest.
file
2040 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2041 Check your system clock" >&5
2042 $as_echo "$as_me: error: newly created file is older than distributed files!
2043 Check your system clock" >&2;}
2044 { (exit 1); exit 1; }; }
2046 { $as_echo "$as_me:$LINENO: result: yes" >&5
2047 $as_echo "yes" >&6; }
2048 test "$program_prefix" != NONE
&&
2049 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2050 # Use a double $ so make ignores it.
2051 test "$program_suffix" != NONE
&&
2052 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2053 # Double any \ or $.
2054 # By default was `s,x,x', remove it if useless.
2055 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2056 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2058 # expand $ac_aux_dir to an absolute path
2059 am_aux_dir
=`cd $ac_aux_dir && pwd`
2061 if test x
"${MISSING+set}" != xset
; then
2064 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2066 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2069 # Use eval to expand $SHELL
2070 if eval "$MISSING --run true"; then
2071 am_missing_run
="$MISSING --run "
2074 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2075 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2078 if test x
"${install_sh}" != xset
; then
2081 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2083 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2087 # Installed binaries are usually stripped using `strip' when the user
2088 # run `make install-strip'. However `strip' might not be the right
2089 # tool to use in cross-compilation environments, therefore Automake
2090 # will honor the `STRIP' environment variable to overrule this program.
2091 if test "$cross_compiling" != no
; then
2092 if test -n "$ac_tool_prefix"; then
2093 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2094 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2095 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 $as_echo_n "checking for $ac_word... " >&6; }
2097 if test "${ac_cv_prog_STRIP+set}" = set; then
2098 $as_echo_n "(cached) " >&6
2100 if test -n "$STRIP"; then
2101 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2107 test -z "$as_dir" && as_dir
=.
2108 for ac_exec_ext
in '' $ac_executable_extensions; do
2109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2110 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2111 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2120 STRIP
=$ac_cv_prog_STRIP
2121 if test -n "$STRIP"; then
2122 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2123 $as_echo "$STRIP" >&6; }
2125 { $as_echo "$as_me:$LINENO: result: no" >&5
2126 $as_echo "no" >&6; }
2131 if test -z "$ac_cv_prog_STRIP"; then
2133 # Extract the first word of "strip", so it can be a program name with args.
2134 set dummy strip
; ac_word
=$2
2135 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 $as_echo_n "checking for $ac_word... " >&6; }
2137 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2138 $as_echo_n "(cached) " >&6
2140 if test -n "$ac_ct_STRIP"; then
2141 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2147 test -z "$as_dir" && as_dir
=.
2148 for ac_exec_ext
in '' $ac_executable_extensions; do
2149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150 ac_cv_prog_ac_ct_STRIP
="strip"
2151 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2161 if test -n "$ac_ct_STRIP"; then
2162 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2163 $as_echo "$ac_ct_STRIP" >&6; }
2165 { $as_echo "$as_me:$LINENO: result: no" >&5
2166 $as_echo "no" >&6; }
2169 if test "x$ac_ct_STRIP" = x
; then
2172 case $cross_compiling:$ac_tool_warned in
2174 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2176 ac_tool_warned
=yes ;;
2181 STRIP
="$ac_cv_prog_STRIP"
2185 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2187 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2188 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2189 if test -z "$MKDIR_P"; then
2190 if test "${ac_cv_path_mkdir+set}" = set; then
2191 $as_echo_n "(cached) " >&6
2193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2194 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2197 test -z "$as_dir" && as_dir
=.
2198 for ac_prog
in mkdir gmkdir
; do
2199 for ac_exec_ext
in '' $ac_executable_extensions; do
2200 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2201 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2202 'mkdir (GNU coreutils) '* | \
2203 'mkdir (coreutils) '* | \
2204 'mkdir (fileutils) '4.1*)
2205 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2215 if test "${ac_cv_path_mkdir+set}" = set; then
2216 MKDIR_P
="$ac_cv_path_mkdir -p"
2218 # As a last resort, use the slow shell script. Don't cache a
2219 # value for MKDIR_P within a source directory, because that will
2220 # break other packages using the cache if that directory is
2221 # removed, or if the value is a relative name.
2222 test -d .
/--version && rmdir .
/--version
2223 MKDIR_P
="$ac_install_sh -d"
2226 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2227 $as_echo "$MKDIR_P" >&6; }
2231 [\\/$
]* | ?
:[\\/]*) ;;
2232 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2235 for ac_prog
in gawk mawk nawk
awk
2237 # Extract the first word of "$ac_prog", so it can be a program name with args.
2238 set dummy
$ac_prog; ac_word
=$2
2239 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2240 $as_echo_n "checking for $ac_word... " >&6; }
2241 if test "${ac_cv_prog_AWK+set}" = set; then
2242 $as_echo_n "(cached) " >&6
2244 if test -n "$AWK"; then
2245 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2251 test -z "$as_dir" && as_dir
=.
2252 for ac_exec_ext
in '' $ac_executable_extensions; do
2253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2254 ac_cv_prog_AWK
="$ac_prog"
2255 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2265 if test -n "$AWK"; then
2266 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2267 $as_echo "$AWK" >&6; }
2269 { $as_echo "$as_me:$LINENO: result: no" >&5
2270 $as_echo "no" >&6; }
2274 test -n "$AWK" && break
2277 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2278 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2280 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2281 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2282 $as_echo_n "(cached) " >&6
2284 cat >conftest.
make <<\_ACEOF
2287 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2289 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2290 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2292 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2294 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2298 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2299 { $as_echo "$as_me:$LINENO: result: yes" >&5
2300 $as_echo "yes" >&6; }
2303 { $as_echo "$as_me:$LINENO: result: no" >&5
2304 $as_echo "no" >&6; }
2305 SET_MAKE
="MAKE=${MAKE-make}"
2308 rm -rf .tst
2>/dev
/null
2309 mkdir .tst
2>/dev
/null
2310 if test -d .tst
; then
2315 rmdir .tst
2>/dev
/null
2317 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2318 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2319 # is not polluted with repeated "-I."
2320 am__isrc
=' -I$(srcdir)'
2321 # test to see if srcdir already configured
2322 if test -f $srcdir/config.status
; then
2323 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2324 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2325 { (exit 1); exit 1; }; }
2329 # test whether we have cygpath
2330 if test -z "$CYGPATH_W"; then
2331 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2332 CYGPATH_W
='cygpath -w'
2339 # Define the identity of the package.
2344 cat >>confdefs.h
<<_ACEOF
2345 #define PACKAGE "$PACKAGE"
2349 cat >>confdefs.h
<<_ACEOF
2350 #define VERSION "$VERSION"
2353 # Some tools Automake needs.
2355 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2358 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2361 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2364 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2367 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2369 # We need awk for the "check" target. The system "awk" is bad on
2371 # Always define AMTAR for backward compatibility.
2373 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2375 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2381 ac_config_headers
="$ac_config_headers config.h"
2384 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2385 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2386 # Check whether --enable-maintainer-mode was given.
2387 if test "${enable_maintainer_mode+set}" = set; then
2388 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2390 USE_MAINTAINER_MODE
=no
2393 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2394 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2395 if test $USE_MAINTAINER_MODE = yes; then
2396 MAINTAINER_MODE_TRUE
=
2397 MAINTAINER_MODE_FALSE
='#'
2399 MAINTAINER_MODE_TRUE
='#'
2400 MAINTAINER_MODE_FALSE
=
2403 MAINT
=$MAINTAINER_MODE_TRUE
2407 DEPDIR
="${am__leading_dot}deps"
2409 ac_config_commands
="$ac_config_commands depfiles"
2412 am_make
=${MAKE-make}
2413 cat > confinc
<< 'END'
2415 @
echo this is the am__doit target
2418 # If we don't find an include directive, just comment out the code.
2419 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2420 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2424 # First try GNU make style include.
2425 echo "include confinc" > confmf
2426 # Ignore all kinds of additional output from `make'.
2427 case `$am_make -s -f confmf 2> /dev/null` in #(
2428 *the\ am__doit\ target
*)
2434 # Now try BSD make style include.
2435 if test "$am__include" = "#"; then
2436 echo '.include "confinc"' > confmf
2437 case `$am_make -s -f confmf 2> /dev/null` in #(
2438 *the\ am__doit\ target
*)
2439 am__include
=.include
2447 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2448 $as_echo "$_am_result" >&6; }
2449 rm -f confinc confmf
2451 # Check whether --enable-dependency-tracking was given.
2452 if test "${enable_dependency_tracking+set}" = set; then
2453 enableval
=$enable_dependency_tracking;
2456 if test "x$enable_dependency_tracking" != xno
; then
2457 am_depcomp
="$ac_aux_dir/depcomp"
2460 if test "x$enable_dependency_tracking" != xno; then
2470 ac_cpp
='$CPP $CPPFLAGS'
2471 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2472 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2473 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2474 if test -n "$ac_tool_prefix"; then
2475 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2476 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2477 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2478 $as_echo_n "checking for $ac_word... " >&6; }
2479 if test "${ac_cv_prog_CC+set}" = set; then
2480 $as_echo_n "(cached) " >&6
2482 if test -n "$CC"; then
2483 ac_cv_prog_CC
="$CC" # Let the user override the test.
2485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir
=.
2490 for ac_exec_ext
in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2493 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 if test -n "$CC"; then
2504 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2505 $as_echo "$CC" >&6; }
2507 { $as_echo "$as_me:$LINENO: result: no" >&5
2508 $as_echo "no" >&6; }
2513 if test -z "$ac_cv_prog_CC"; then
2515 # Extract the first word of "gcc", so it can be a program name with args.
2516 set dummy gcc
; ac_word
=$2
2517 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2518 $as_echo_n "checking for $ac_word... " >&6; }
2519 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2520 $as_echo_n "(cached) " >&6
2522 if test -n "$ac_ct_CC"; then
2523 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir
=.
2530 for ac_exec_ext
in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532 ac_cv_prog_ac_ct_CC
="gcc"
2533 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2543 if test -n "$ac_ct_CC"; then
2544 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2545 $as_echo "$ac_ct_CC" >&6; }
2547 { $as_echo "$as_me:$LINENO: result: no" >&5
2548 $as_echo "no" >&6; }
2551 if test "x$ac_ct_CC" = x
; then
2554 case $cross_compiling:$ac_tool_warned in
2556 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2558 ac_tool_warned
=yes ;;
2566 if test -z "$CC"; then
2567 if test -n "$ac_tool_prefix"; then
2568 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2569 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2570 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2571 $as_echo_n "checking for $ac_word... " >&6; }
2572 if test "${ac_cv_prog_CC+set}" = set; then
2573 $as_echo_n "(cached) " >&6
2575 if test -n "$CC"; then
2576 ac_cv_prog_CC
="$CC" # Let the user override the test.
2578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir
=.
2583 for ac_exec_ext
in '' $ac_executable_extensions; do
2584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2585 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2586 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2596 if test -n "$CC"; then
2597 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2598 $as_echo "$CC" >&6; }
2600 { $as_echo "$as_me:$LINENO: result: no" >&5
2601 $as_echo "no" >&6; }
2607 if test -z "$CC"; then
2608 # Extract the first word of "cc", so it can be a program name with args.
2609 set dummy cc
; ac_word
=$2
2610 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2611 $as_echo_n "checking for $ac_word... " >&6; }
2612 if test "${ac_cv_prog_CC+set}" = set; then
2613 $as_echo_n "(cached) " >&6
2615 if test -n "$CC"; then
2616 ac_cv_prog_CC
="$CC" # Let the user override the test.
2619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir
=.
2624 for ac_exec_ext
in '' $ac_executable_extensions; do
2625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2626 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2627 ac_prog_rejected
=yes
2631 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 if test $ac_prog_rejected = yes; then
2639 # We found a bogon in the path, so make sure we never use it.
2640 set dummy
$ac_cv_prog_CC
2642 if test $# != 0; then
2643 # We chose a different compiler from the bogus one.
2644 # However, it has the same basename, so the bogon will be chosen
2645 # first if we set CC to just the basename; use the full file name.
2647 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2653 if test -n "$CC"; then
2654 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2655 $as_echo "$CC" >&6; }
2657 { $as_echo "$as_me:$LINENO: result: no" >&5
2658 $as_echo "no" >&6; }
2663 if test -z "$CC"; then
2664 if test -n "$ac_tool_prefix"; then
2665 for ac_prog
in cl.exe
2667 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2668 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2669 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if test "${ac_cv_prog_CC+set}" = set; then
2672 $as_echo_n "(cached) " >&6
2674 if test -n "$CC"; then
2675 ac_cv_prog_CC
="$CC" # Let the user override the test.
2677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir
=.
2682 for ac_exec_ext
in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2685 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 if test -n "$CC"; then
2696 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2697 $as_echo "$CC" >&6; }
2699 { $as_echo "$as_me:$LINENO: result: no" >&5
2700 $as_echo "no" >&6; }
2704 test -n "$CC" && break
2707 if test -z "$CC"; then
2709 for ac_prog
in cl.exe
2711 # Extract the first word of "$ac_prog", so it can be a program name with args.
2712 set dummy
$ac_prog; ac_word
=$2
2713 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2714 $as_echo_n "checking for $ac_word... " >&6; }
2715 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2716 $as_echo_n "(cached) " >&6
2718 if test -n "$ac_ct_CC"; then
2719 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2725 test -z "$as_dir" && as_dir
=.
2726 for ac_exec_ext
in '' $ac_executable_extensions; do
2727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2728 ac_cv_prog_ac_ct_CC
="$ac_prog"
2729 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2739 if test -n "$ac_ct_CC"; then
2740 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2741 $as_echo "$ac_ct_CC" >&6; }
2743 { $as_echo "$as_me:$LINENO: result: no" >&5
2744 $as_echo "no" >&6; }
2748 test -n "$ac_ct_CC" && break
2751 if test "x$ac_ct_CC" = x
; then
2754 case $cross_compiling:$ac_tool_warned in
2756 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2758 ac_tool_warned
=yes ;;
2767 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2769 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2770 See \`config.log' for more details." >&5
2771 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2772 See \`config.log' for more details." >&2;}
2773 { (exit 1); exit 1; }; }; }
2775 # Provide some information about the compiler.
2776 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2779 { (ac_try
="$ac_compiler --version >&5"
2781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2785 $as_echo "$ac_try_echo") >&5
2786 (eval "$ac_compiler --version >&5") 2>&5
2788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }
2790 { (ac_try="$ac_compiler -v >&5"
2792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2793 *) ac_try_echo
=$ac_try;;
2795 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2796 $as_echo "$ac_try_echo") >&5
2797 (eval "$ac_compiler -v >&5") 2>&5
2799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }
2801 { (ac_try
="$ac_compiler -V >&5"
2803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2807 $as_echo "$ac_try_echo") >&5
2808 (eval "$ac_compiler -V >&5") 2>&5
2810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); }
2813 cat >conftest.$ac_ext <<_ACEOF
2816 cat confdefs.h >>conftest.$ac_ext
2817 cat >>conftest.$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2828 ac_clean_files_save=$ac_clean_files
2829 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2830 # Try to create an executable without -o first, disregard a.out.
2831 # It will help us diagnose broken compilers, and finding out an intuition
2833 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2834 $as_echo_n "checking for C compiler default output file name... " >&6; }
2835 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2837 # The possible output files:
2838 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2841 for ac_file in $ac_files
2844 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2845 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2850 if { (ac_try="$ac_link_default"
2852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2853 *) ac_try_echo
=$ac_try;;
2855 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2856 $as_echo "$ac_try_echo") >&5
2857 (eval "$ac_link_default") 2>&5
2859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }; then
2861 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2862 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2863 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2864 # so that the user can short-circuit this test for compilers unknown to
2866 for ac_file
in $ac_files ''
2868 test -f "$ac_file" ||
continue
2870 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2873 # We found the default executable, but exeext='' is most
2877 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2879 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2881 # We set ac_cv_exeext here because the later test for it is not
2882 # safe: cross compilers may not add the suffix if given an `-o'
2883 # argument, so we may need to know it at that point already.
2884 # Even if this section looks crufty: it has the advantage of
2891 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2897 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2898 $as_echo "$ac_file" >&6; }
2899 if test -z "$ac_file"; then
2900 $as_echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.
$ac_ext >&5
2903 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2906 See \`config.log' for more details." >&5
2907 $as_echo "$as_me: error: C compiler cannot create executables
2908 See \`config.log' for more details." >&2;}
2909 { (exit 77); exit 77; }; }; }
2912 ac_exeext
=$ac_cv_exeext
2914 # Check that the compiler produces executables we can run. If not, either
2915 # the compiler is broken, or we cross compile.
2916 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2917 $as_echo_n "checking whether the C compiler works... " >&6; }
2918 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2919 # If not cross compiling, check that we can run a simple program.
2920 if test "$cross_compiling" != yes; then
2921 if { ac_try
='./$ac_file'
2922 { (case "(($ac_try" in
2923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2927 $as_echo "$ac_try_echo") >&5
2928 (eval "$ac_try") 2>&5
2930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); }; }; then
2934 if test "$cross_compiling" = maybe; then
2937 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2939 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2940 If you meant to cross compile
, use \
`--host'.
2941 See \`config.log
' for more details." >&5
2942 $as_echo "$as_me: error: cannot run C compiled programs.
2943 If you meant to cross compile, use \`--host'.
2944 See \
`config.log' for more details." >&2;}
2945 { (exit 1); exit 1; }; }; }
2949 { $as_echo "$as_me:$LINENO: result: yes" >&5
2950 $as_echo "yes" >&6; }
2952 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2953 ac_clean_files=$ac_clean_files_save
2954 # Check that the compiler produces executables we can run. If not, either
2955 # the compiler is broken, or we cross compile.
2956 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2957 $as_echo_n "checking whether we are cross compiling... " >&6; }
2958 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2959 $as_echo "$cross_compiling" >&6; }
2961 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2962 $as_echo_n "checking for suffix of executables... " >&6; }
2963 if { (ac_try="$ac_link"
2965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2966 *) ac_try_echo
=$ac_try;;
2968 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2969 $as_echo "$ac_try_echo") >&5
2970 (eval "$ac_link") 2>&5
2972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); }; then
2974 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2975 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2976 # work properly (i.e., refer to `conftest.exe'), while it won't with
2978 for ac_file
in conftest.exe conftest conftest.
*; do
2979 test -f "$ac_file" ||
continue
2981 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2982 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2988 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2991 See \`config.log' for more details." >&5
2992 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2993 See \`config.log' for more details." >&2;}
2994 { (exit 1); exit 1; }; }; }
2997 rm -f conftest
$ac_cv_exeext
2998 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2999 $as_echo "$ac_cv_exeext" >&6; }
3001 rm -f conftest.
$ac_ext
3002 EXEEXT
=$ac_cv_exeext
3004 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3005 $as_echo_n "checking for suffix of object files... " >&6; }
3006 if test "${ac_cv_objext+set}" = set; then
3007 $as_echo_n "(cached) " >&6
3009 cat >conftest.
$ac_ext <<_ACEOF
3012 cat confdefs.h
>>conftest.
$ac_ext
3013 cat >>conftest.
$ac_ext <<_ACEOF
3014 /* end confdefs.h. */
3024 rm -f conftest.o conftest.obj
3025 if { (ac_try
="$ac_compile"
3027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3031 $as_echo "$ac_try_echo") >&5
3032 (eval "$ac_compile") 2>&5
3034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); }; then
3036 for ac_file in conftest.o conftest.obj conftest.*; do
3037 test -f "$ac_file" || continue;
3039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3040 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3045 $as_echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3048 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3051 See \
`config.log' for more details." >&5
3052 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3053 See \`config.log
' for more details." >&2;}
3054 { (exit 1); exit 1; }; }; }
3057 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3059 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3060 $as_echo "$ac_cv_objext" >&6; }
3061 OBJEXT=$ac_cv_objext
3063 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3064 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3065 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3066 $as_echo_n "(cached) " >&6
3068 cat >conftest.$ac_ext <<_ACEOF
3071 cat confdefs.h >>conftest.$ac_ext
3072 cat >>conftest.$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3086 rm -f conftest.$ac_objext
3087 if { (ac_try="$ac_compile"
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3093 $as_echo "$ac_try_echo") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3096 grep -v '^
*+' conftest.er1 >conftest.err
3098 cat conftest.err >&5
3099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then
3106 $as_echo "$as_me: failed program was:" >&5
3107 sed 's
/^
/|
/' conftest.$ac_ext >&5
3112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3116 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3117 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3118 if test $ac_compiler_gnu = yes; then
3123 ac_test_CFLAGS=${CFLAGS+set}
3124 ac_save_CFLAGS=$CFLAGS
3125 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3126 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3127 if test "${ac_cv_prog_cc_g+set}" = set; then
3128 $as_echo_n "(cached) " >&6
3130 ac_save_c_werror_flag=$ac_c_werror_flag
3131 ac_c_werror_flag=yes
3134 cat >conftest.$ac_ext <<_ACEOF
3137 cat confdefs.h >>conftest.$ac_ext
3138 cat >>conftest.$ac_ext <<_ACEOF
3139 /* end confdefs.h. */
3149 rm -f conftest.$ac_objext
3150 if { (ac_try="$ac_compile"
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3156 $as_echo "$ac_try_echo") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3159 grep -v '^
*+' conftest.er1 >conftest.err
3161 cat conftest.err >&5
3162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_c_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3169 $as_echo "$as_me: failed program was:" >&5
3170 sed 's
/^
/|
/' conftest.$ac_ext >&5
3173 cat >conftest.$ac_ext <<_ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3195 $as_echo "$ac_try_echo") >&5
3196 (eval "$ac_compile") 2>conftest.er1
3198 grep -v '^
*+' conftest.er1 >conftest.err
3200 cat conftest.err >&5
3201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); } && {
3203 test -z "$ac_c_werror_flag" ||
3204 test ! -s conftest.err
3205 } && test -s conftest.$ac_objext; then
3208 $as_echo "$as_me: failed program was:" >&5
3209 sed 's
/^
/|
/' conftest.$ac_ext >&5
3211 ac_c_werror_flag=$ac_save_c_werror_flag
3213 cat >conftest.$ac_ext <<_ACEOF
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3228 rm -f conftest.$ac_objext
3229 if { (ac_try="$ac_compile"
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3235 $as_echo "$ac_try_echo") >&5
3236 (eval "$ac_compile") 2>conftest.er1
3238 grep -v '^
*+' conftest.er1 >conftest.err
3240 cat conftest.err >&5
3241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } && {
3243 test -z "$ac_c_werror_flag" ||
3244 test ! -s conftest.err
3245 } && test -s conftest.$ac_objext; then
3248 $as_echo "$as_me: failed program was:" >&5
3249 sed 's
/^
/|
/' conftest.$ac_ext >&5
3254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3261 ac_c_werror_flag=$ac_save_c_werror_flag
3263 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3264 $as_echo "$ac_cv_prog_cc_g" >&6; }
3265 if test "$ac_test_CFLAGS" = set; then
3266 CFLAGS=$ac_save_CFLAGS
3267 elif test $ac_cv_prog_cc_g = yes; then
3268 if test "$GCC" = yes; then
3274 if test "$GCC" = yes; then
3280 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3281 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3282 if test "${ac_cv_prog_cc_c89+set}" = set; then
3283 $as_echo_n "(cached) " >&6
3285 ac_cv_prog_cc_c89=no
3287 cat >conftest.$ac_ext <<_ACEOF
3290 cat confdefs.h >>conftest.$ac_ext
3291 cat >>conftest.$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3295 #include <sys/types.h>
3296 #include <sys/stat.h>
3297 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3298 struct buf
{ int x
; };
3299 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3300 static char
*e
(p
, i
)
3306 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3311 s
= g
(p
, va_arg
(v
,int
));
3316 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3317 function prototypes and stuff
, but not
'\xHH' hex character constants.
3318 These don
't provoke an error unfortunately, instead are silently treated
3319 as 'x
'. The following induces an error, until -std is added to get
3320 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3321 array size at least. It's necessary to
write '\x00'==0 to get something
3322 that
's true only with -std. */
3323 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3325 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3326 inside strings and character constants. */
3328 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3330 int test (int i, double x);
3331 struct s1 {int (*f) (int a);};
3332 struct s2 {int (*f) (double a);};
3333 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3339 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3344 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3345 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3347 CC="$ac_save_CC $ac_arg"
3348 rm -f conftest.$ac_objext
3349 if { (ac_try="$ac_compile"
3351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3352 *) ac_try_echo=$ac_try;;
3354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3355 $as_echo "$ac_try_echo") >&5
3356 (eval "$ac_compile") 2>conftest.er1
3358 grep -v '^
*+' conftest.er1 >conftest.err
3360 cat conftest.err >&5
3361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); } && {
3363 test -z "$ac_c_werror_flag" ||
3364 test ! -s conftest.err
3365 } && test -s conftest.$ac_objext; then
3366 ac_cv_prog_cc_c89=$ac_arg
3368 $as_echo "$as_me: failed program was:" >&5
3369 sed 's
/^
/|
/' conftest.$ac_ext >&5
3374 rm -f core conftest.err conftest.$ac_objext
3375 test "x$ac_cv_prog_cc_c89" != "xno" && break
3377 rm -f conftest.$ac_ext
3382 case "x$ac_cv_prog_cc_c89" in
3384 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3385 $as_echo "none needed" >&6; } ;;
3387 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3388 $as_echo "unsupported" >&6; } ;;
3390 CC="$CC $ac_cv_prog_cc_c89"
3391 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3392 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3397 ac_cpp='$CPP $CPPFLAGS'
3398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3399 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3402 depcc="$CC" am_compiler_list=
3404 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3405 $as_echo_n "checking dependency style of $depcc... " >&6; }
3406 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3407 $as_echo_n "(cached) " >&6
3409 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3410 # We make a subdir and do the tests there. Otherwise we can end up
3411 # making bogus files that we don't know about and never remove. For
3412 # instance it was reported that on HP-UX the gcc test will end up
3413 # making a dummy file named `D' -- because `-MD' means `put the output
3416 # Copy depcomp to subdir because otherwise we won't find it if we're
3417 # using a relative directory.
3418 cp "$am_depcomp" conftest.dir
3420 # We will build objects and dependencies in a subdirectory because
3421 # it helps to detect inapplicable dependency modes. For instance
3422 # both Tru64's cc and ICC support -MD to output dependencies as a
3423 # side effect of compilation, but ICC will put the dependencies in
3424 # the current directory while Tru64 will put them in the object
3428 am_cv_CC_dependencies_compiler_type
=none
3429 if test "$am_compiler_list" = ""; then
3430 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3433 case " $depcc " in #(
3434 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3437 for depmode
in $am_compiler_list; do
3438 # Setup a source with many dependencies, because some compilers
3439 # like to wrap large dependency lists on column 80 (with \), and
3440 # we should not choose a depcomp mode which is confused by this.
3442 # We need to recreate these files for each test, as the compiler may
3443 # overwrite some of them when testing with obscure command lines.
3444 # This happens at least with the AIX C compiler.
3446 for i
in 1 2 3 4 5 6; do
3447 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3448 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3449 # Solaris 8's {/usr,}/bin/sh.
3450 touch sub
/conftst
$i.h
3452 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3454 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3455 # mode. It turns out that the SunPro C++ compiler does not properly
3456 # handle `-M -o', and we need to detect this. Also, some Intel
3457 # versions had trouble with output in subdirs
3458 am__obj
=sub
/conftest.
${OBJEXT-o}
3459 am__minus_obj
="-o $am__obj"
3462 # This depmode causes a compiler race in universal mode.
3463 test "$am__universal" = false ||
continue
3466 # after this tag, mechanisms are not by side-effect, so they'll
3467 # only be used when explicitly requested
3468 if test "x$enable_dependency_tracking" = xyes
; then
3474 msvisualcpp | msvcmsys
)
3475 # This compiler won't grok `-c -o', but also, the minuso test has
3476 # not run yet. These depmodes are late enough in the game, and
3477 # so weak that their functioning should not be impacted.
3478 am__obj
=conftest.
${OBJEXT-o}
3483 if depmode
=$depmode \
3484 source=sub
/conftest.c object
=$am__obj \
3485 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3486 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3487 >/dev
/null
2>conftest.err
&&
3488 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3489 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3490 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3491 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3492 # icc doesn't choke on unknown options, it will just issue warnings
3493 # or remarks (even with -Werror). So we grep stderr for any message
3494 # that says an option was ignored or not supported.
3495 # When given -MP, icc 7.0 and 7.1 complain thusly:
3496 # icc: Command line warning: ignoring option '-M'; no argument required
3497 # The diagnosis changed in icc 8.0:
3498 # icc: Command line remark: option '-MP' not supported
3499 if (grep 'ignoring option' conftest.err ||
3500 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3501 am_cv_CC_dependencies_compiler_type
=$depmode
3510 am_cv_CC_dependencies_compiler_type
=none
3514 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3515 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3516 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3519 test "x$enable_dependency_tracking" != xno \
3520 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3522 am__fastdepCC_FALSE
='#'
3524 am__fastdepCC_TRUE
='#'
3525 am__fastdepCC_FALSE
=
3530 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
3531 $as_echo_n "checking for library containing strerror... " >&6; }
3532 if test "${ac_cv_search_strerror+set}" = set; then
3533 $as_echo_n "(cached) " >&6
3535 ac_func_search_save_LIBS
=$LIBS
3536 cat >conftest.
$ac_ext <<_ACEOF
3539 cat confdefs.h
>>conftest.
$ac_ext
3540 cat >>conftest.
$ac_ext <<_ACEOF
3541 /* end confdefs.h. */
3543 /* Override any GCC internal prototype to avoid an error.
3544 Use char because int might match the return type of a GCC
3545 builtin and then its argument prototype would still apply. */
3558 for ac_lib
in '' cposix
; do
3559 if test -z "$ac_lib"; then
3560 ac_res
="none required"
3563 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3565 rm -f conftest.
$ac_objext conftest
$ac_exeext
3566 if { (ac_try
="$ac_link"
3568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3569 *) ac_try_echo=$ac_try;;
3571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3572 $as_echo "$ac_try_echo") >&5
3573 (eval "$ac_link") 2>conftest.er1
3575 grep -v '^ *+' conftest.er1 >conftest.err
3577 cat conftest.err >&5
3578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } && {
3580 test -z "$ac_c_werror_flag" ||
3581 test ! -s conftest.err
3582 } && test -s conftest$ac_exeext && {
3583 test "$cross_compiling" = yes ||
3584 $as_test_x conftest$ac_exeext
3586 ac_cv_search_strerror=$ac_res
3588 $as_echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.$ac_ext >&5
3594 rm -rf conftest.dSYM
3595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3597 if test "${ac_cv_search_strerror+set}" = set; then
3601 if test "${ac_cv_search_strerror+set}" = set; then
3604 ac_cv_search_strerror=no
3607 LIBS=$ac_func_search_save_LIBS
3609 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3610 $as_echo "$ac_cv_search_strerror" >&6; }
3611 ac_res=$ac_cv_search_strerror
3612 if test "$ac_res" != no; then
3613 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3618 ac_cpp='$CPP $CPPFLAGS'
3619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3622 if test -n "$ac_tool_prefix"; then
3623 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3624 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3625 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 $as_echo_n "checking for $ac_word... " >&6; }
3627 if test "${ac_cv_prog_CC+set}" = set; then
3628 $as_echo_n "(cached) " >&6
3630 if test -n "$CC"; then
3631 ac_cv_prog_CC="$CC" # Let the user override the test.
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3640 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3641 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 if test -n "$CC"; then
3652 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3653 $as_echo "$CC" >&6; }
3655 { $as_echo "$as_me:$LINENO: result: no" >&5
3656 $as_echo "no" >&6; }
3661 if test -z "$ac_cv_prog_CC"; then
3663 # Extract the first word of "gcc", so it can be a program name with args.
3664 set dummy gcc; ac_word=$2
3665 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3666 $as_echo_n "checking for $ac_word... " >&6; }
3667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3668 $as_echo_n "(cached) " >&6
3670 if test -n "$ac_ct_CC"; then
3671 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3677 test -z "$as_dir" && as_dir=.
3678 for ac_exec_ext in '' $ac_executable_extensions; do
3679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3680 ac_cv_prog_ac_ct_CC="gcc"
3681 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3690 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3691 if test -n "$ac_ct_CC"; then
3692 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3693 $as_echo "$ac_ct_CC" >&6; }
3695 { $as_echo "$as_me:$LINENO: result: no" >&5
3696 $as_echo "no" >&6; }
3699 if test "x$ac_ct_CC" = x; then
3702 case $cross_compiling:$ac_tool_warned in
3704 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3706 ac_tool_warned=yes ;;
3714 if test -z "$CC"; then
3715 if test -n "$ac_tool_prefix"; then
3716 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3717 set dummy ${ac_tool_prefix}cc; ac_word=$2
3718 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if test "${ac_cv_prog_CC+set}" = set; then
3721 $as_echo_n "(cached) " >&6
3723 if test -n "$CC"; then
3724 ac_cv_prog_CC="$CC" # Let the user override the test.
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir=.
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3733 ac_cv_prog_CC="${ac_tool_prefix}cc"
3734 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 if test -n "$CC"; then
3745 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3746 $as_echo "$CC" >&6; }
3748 { $as_echo "$as_me:$LINENO: result: no" >&5
3749 $as_echo "no" >&6; }
3755 if test -z "$CC"; then
3756 # Extract the first word of "cc", so it can be a program name with args.
3757 set dummy cc; ac_word=$2
3758 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if test "${ac_cv_prog_CC+set}" = set; then
3761 $as_echo_n "(cached) " >&6
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC="$CC" # Let the user override the test.
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3774 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3775 ac_prog_rejected=yes
3779 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 if test $ac_prog_rejected = yes; then
3787 # We found a bogon in the path, so make sure we never use it.
3788 set dummy $ac_cv_prog_CC
3790 if test $# != 0; then
3791 # We chose a different compiler from the bogus one.
3792 # However, it has the same basename, so the bogon will be chosen
3793 # first if we set CC to just the basename; use the full file name.
3795 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3801 if test -n "$CC"; then
3802 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3803 $as_echo "$CC" >&6; }
3805 { $as_echo "$as_me:$LINENO: result: no" >&5
3806 $as_echo "no" >&6; }
3811 if test -z "$CC"; then
3812 if test -n "$ac_tool_prefix"; then
3813 for ac_prog in cl.exe
3815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3817 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3818 $as_echo_n "checking for $ac_word... " >&6; }
3819 if test "${ac_cv_prog_CC+set}" = set; then
3820 $as_echo_n "(cached) " >&6
3822 if test -n "$CC"; then
3823 ac_cv_prog_CC="$CC" # Let the user override the test.
3825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3829 test -z "$as_dir" && as_dir=.
3830 for ac_exec_ext in '' $ac_executable_extensions; do
3831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3832 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3833 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 if test -n "$CC"; then
3844 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3845 $as_echo "$CC" >&6; }
3847 { $as_echo "$as_me:$LINENO: result: no" >&5
3848 $as_echo "no" >&6; }
3852 test -n "$CC" && break
3855 if test -z "$CC"; then
3857 for ac_prog in cl.exe
3859 # Extract the first word of "$ac_prog", so it can be a program name with args.
3860 set dummy $ac_prog; ac_word=$2
3861 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3862 $as_echo_n "checking for $ac_word... " >&6; }
3863 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3864 $as_echo_n "(cached) " >&6
3866 if test -n "$ac_ct_CC"; then
3867 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873 test -z "$as_dir" && as_dir=.
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3876 ac_cv_prog_ac_ct_CC="$ac_prog"
3877 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3886 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3887 if test -n "$ac_ct_CC"; then
3888 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3889 $as_echo "$ac_ct_CC" >&6; }
3891 { $as_echo "$as_me:$LINENO: result: no" >&5
3892 $as_echo "no" >&6; }
3896 test -n "$ac_ct_CC" && break
3899 if test "x$ac_ct_CC" = x; then
3902 case $cross_compiling:$ac_tool_warned in
3904 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3906 ac_tool_warned=yes ;;
3915 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3917 { { $as_echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
3918 See \
`config.log' for more details." >&5
3919 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3920 See \`config.log
' for more details." >&2;}
3921 { (exit 1); exit 1; }; }; }
3923 # Provide some information about the compiler.
3924 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3927 { (ac_try="$ac_compiler --version >&5"
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3933 $as_echo "$ac_try_echo") >&5
3934 (eval "$ac_compiler --version >&5") 2>&5
3936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); }
3938 { (ac_try="$ac_compiler -v >&5"
3940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3941 *) ac_try_echo=$ac_try;;
3943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3944 $as_echo "$ac_try_echo") >&5
3945 (eval "$ac_compiler -v >&5") 2>&5
3947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); }
3949 { (ac_try="$ac_compiler -V >&5"
3951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3952 *) ac_try_echo=$ac_try;;
3954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3955 $as_echo "$ac_try_echo") >&5
3956 (eval "$ac_compiler -V >&5") 2>&5
3958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); }
3961 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3962 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3963 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3964 $as_echo_n "(cached) " >&6
3966 cat >conftest.$ac_ext <<_ACEOF
3969 cat confdefs.h >>conftest.$ac_ext
3970 cat >>conftest.$ac_ext <<_ACEOF
3971 /* end confdefs.h. */
3984 rm -f conftest.$ac_objext
3985 if { (ac_try="$ac_compile"
3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3991 $as_echo "$ac_try_echo") >&5
3992 (eval "$ac_compile") 2>conftest.er1
3994 grep -v '^
*+' conftest.er1 >conftest.err
3996 cat conftest.err >&5
3997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); } && {
3999 test -z "$ac_c_werror_flag" ||
4000 test ! -s conftest.err
4001 } && test -s conftest.$ac_objext; then
4004 $as_echo "$as_me: failed program was:" >&5
4005 sed 's
/^
/|
/' conftest.$ac_ext >&5
4010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4011 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4014 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4015 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4016 if test $ac_compiler_gnu = yes; then
4021 ac_test_CFLAGS=${CFLAGS+set}
4022 ac_save_CFLAGS=$CFLAGS
4023 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4024 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4025 if test "${ac_cv_prog_cc_g+set}" = set; then
4026 $as_echo_n "(cached) " >&6
4028 ac_save_c_werror_flag=$ac_c_werror_flag
4029 ac_c_werror_flag=yes
4032 cat >conftest.$ac_ext <<_ACEOF
4035 cat confdefs.h >>conftest.$ac_ext
4036 cat >>conftest.$ac_ext <<_ACEOF
4037 /* end confdefs.h. */
4047 rm -f conftest.$ac_objext
4048 if { (ac_try="$ac_compile"
4050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4054 $as_echo "$ac_try_echo") >&5
4055 (eval "$ac_compile") 2>conftest.er1
4057 grep -v '^
*+' conftest.er1 >conftest.err
4059 cat conftest.err >&5
4060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); } && {
4062 test -z "$ac_c_werror_flag" ||
4063 test ! -s conftest.err
4064 } && test -s conftest.$ac_objext; then
4067 $as_echo "$as_me: failed program was:" >&5
4068 sed 's
/^
/|
/' conftest.$ac_ext >&5
4071 cat >conftest.$ac_ext <<_ACEOF
4074 cat confdefs.h >>conftest.$ac_ext
4075 cat >>conftest.$ac_ext <<_ACEOF
4076 /* end confdefs.h. */
4086 rm -f conftest.$ac_objext
4087 if { (ac_try="$ac_compile"
4089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4093 $as_echo "$ac_try_echo") >&5
4094 (eval "$ac_compile") 2>conftest.er1
4096 grep -v '^
*+' conftest.er1 >conftest.err
4098 cat conftest.err >&5
4099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); } && {
4101 test -z "$ac_c_werror_flag" ||
4102 test ! -s conftest.err
4103 } && test -s conftest.$ac_objext; then
4106 $as_echo "$as_me: failed program was:" >&5
4107 sed 's
/^
/|
/' conftest.$ac_ext >&5
4109 ac_c_werror_flag=$ac_save_c_werror_flag
4111 cat >conftest.$ac_ext <<_ACEOF
4114 cat confdefs.h >>conftest.$ac_ext
4115 cat >>conftest.$ac_ext <<_ACEOF
4116 /* end confdefs.h. */
4126 rm -f conftest.$ac_objext
4127 if { (ac_try="$ac_compile"
4129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4130 *) ac_try_echo=$ac_try;;
4132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4133 $as_echo "$ac_try_echo") >&5
4134 (eval "$ac_compile") 2>conftest.er1
4136 grep -v '^
*+' conftest.er1 >conftest.err
4138 cat conftest.err >&5
4139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140 (exit $ac_status); } && {
4141 test -z "$ac_c_werror_flag" ||
4142 test ! -s conftest.err
4143 } && test -s conftest.$ac_objext; then
4146 $as_echo "$as_me: failed program was:" >&5
4147 sed 's
/^
/|
/' conftest.$ac_ext >&5
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4159 ac_c_werror_flag=$ac_save_c_werror_flag
4161 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4162 $as_echo "$ac_cv_prog_cc_g" >&6; }
4163 if test "$ac_test_CFLAGS" = set; then
4164 CFLAGS=$ac_save_CFLAGS
4165 elif test $ac_cv_prog_cc_g = yes; then
4166 if test "$GCC" = yes; then
4172 if test "$GCC" = yes; then
4178 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4179 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4180 if test "${ac_cv_prog_cc_c89+set}" = set; then
4181 $as_echo_n "(cached) " >&6
4183 ac_cv_prog_cc_c89=no
4185 cat >conftest.$ac_ext <<_ACEOF
4188 cat confdefs.h >>conftest.$ac_ext
4189 cat >>conftest.$ac_ext <<_ACEOF
4190 /* end confdefs.h. */
4193 #include <sys/types.h>
4194 #include <sys/stat.h>
4195 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4196 struct buf
{ int x
; };
4197 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4198 static char
*e
(p
, i
)
4204 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4209 s
= g
(p
, va_arg
(v
,int
));
4214 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4215 function prototypes and stuff
, but not
'\xHH' hex character constants.
4216 These don
't provoke an error unfortunately, instead are silently treated
4217 as 'x
'. The following induces an error, until -std is added to get
4218 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4219 array size at least. It's necessary to
write '\x00'==0 to get something
4220 that
's true only with -std. */
4221 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4223 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4224 inside strings and character constants. */
4226 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4228 int test (int i, double x);
4229 struct s1 {int (*f) (int a);};
4230 struct s2 {int (*f) (double a);};
4231 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4237 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4242 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4243 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4245 CC="$ac_save_CC $ac_arg"
4246 rm -f conftest.$ac_objext
4247 if { (ac_try="$ac_compile"
4249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4250 *) ac_try_echo=$ac_try;;
4252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4253 $as_echo "$ac_try_echo") >&5
4254 (eval "$ac_compile") 2>conftest.er1
4256 grep -v '^
*+' conftest.er1 >conftest.err
4258 cat conftest.err >&5
4259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } && {
4261 test -z "$ac_c_werror_flag" ||
4262 test ! -s conftest.err
4263 } && test -s conftest.$ac_objext; then
4264 ac_cv_prog_cc_c89=$ac_arg
4266 $as_echo "$as_me: failed program was:" >&5
4267 sed 's
/^
/|
/' conftest.$ac_ext >&5
4272 rm -f core conftest.err conftest.$ac_objext
4273 test "x$ac_cv_prog_cc_c89" != "xno" && break
4275 rm -f conftest.$ac_ext
4280 case "x$ac_cv_prog_cc_c89" in
4282 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4283 $as_echo "none needed" >&6; } ;;
4285 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4286 $as_echo "unsupported" >&6; } ;;
4288 CC="$CC $ac_cv_prog_cc_c89"
4289 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4290 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4295 ac_cpp='$CPP $CPPFLAGS'
4296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4297 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4300 depcc="$CC" am_compiler_list=
4302 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4303 $as_echo_n "checking dependency style of $depcc... " >&6; }
4304 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4305 $as_echo_n "(cached) " >&6
4307 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4308 # We make a subdir and do the tests there. Otherwise we can end up
4309 # making bogus files that we don't know about and never remove. For
4310 # instance it was reported that on HP-UX the gcc test will end up
4311 # making a dummy file named `D' -- because `-MD' means `put the output
4314 # Copy depcomp to subdir because otherwise we won't find it if we're
4315 # using a relative directory.
4316 cp "$am_depcomp" conftest.dir
4318 # We will build objects and dependencies in a subdirectory because
4319 # it helps to detect inapplicable dependency modes. For instance
4320 # both Tru64's cc and ICC support -MD to output dependencies as a
4321 # side effect of compilation, but ICC will put the dependencies in
4322 # the current directory while Tru64 will put them in the object
4326 am_cv_CC_dependencies_compiler_type
=none
4327 if test "$am_compiler_list" = ""; then
4328 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4331 case " $depcc " in #(
4332 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4335 for depmode
in $am_compiler_list; do
4336 # Setup a source with many dependencies, because some compilers
4337 # like to wrap large dependency lists on column 80 (with \), and
4338 # we should not choose a depcomp mode which is confused by this.
4340 # We need to recreate these files for each test, as the compiler may
4341 # overwrite some of them when testing with obscure command lines.
4342 # This happens at least with the AIX C compiler.
4344 for i
in 1 2 3 4 5 6; do
4345 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4346 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4347 # Solaris 8's {/usr,}/bin/sh.
4348 touch sub
/conftst
$i.h
4350 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4352 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4353 # mode. It turns out that the SunPro C++ compiler does not properly
4354 # handle `-M -o', and we need to detect this. Also, some Intel
4355 # versions had trouble with output in subdirs
4356 am__obj
=sub
/conftest.
${OBJEXT-o}
4357 am__minus_obj
="-o $am__obj"
4360 # This depmode causes a compiler race in universal mode.
4361 test "$am__universal" = false ||
continue
4364 # after this tag, mechanisms are not by side-effect, so they'll
4365 # only be used when explicitly requested
4366 if test "x$enable_dependency_tracking" = xyes
; then
4372 msvisualcpp | msvcmsys
)
4373 # This compiler won't grok `-c -o', but also, the minuso test has
4374 # not run yet. These depmodes are late enough in the game, and
4375 # so weak that their functioning should not be impacted.
4376 am__obj
=conftest.
${OBJEXT-o}
4381 if depmode
=$depmode \
4382 source=sub
/conftest.c object
=$am__obj \
4383 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4384 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4385 >/dev
/null
2>conftest.err
&&
4386 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4387 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4388 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4389 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4390 # icc doesn't choke on unknown options, it will just issue warnings
4391 # or remarks (even with -Werror). So we grep stderr for any message
4392 # that says an option was ignored or not supported.
4393 # When given -MP, icc 7.0 and 7.1 complain thusly:
4394 # icc: Command line warning: ignoring option '-M'; no argument required
4395 # The diagnosis changed in icc 8.0:
4396 # icc: Command line remark: option '-MP' not supported
4397 if (grep 'ignoring option' conftest.err ||
4398 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4399 am_cv_CC_dependencies_compiler_type
=$depmode
4408 am_cv_CC_dependencies_compiler_type
=none
4412 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4413 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4414 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4417 test "x$enable_dependency_tracking" != xno \
4418 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4420 am__fastdepCC_FALSE
='#'
4422 am__fastdepCC_TRUE
='#'
4423 am__fastdepCC_FALSE
=
4428 ac_cpp
='$CPP $CPPFLAGS'
4429 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4432 if test -n "$ac_tool_prefix"; then
4433 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4434 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4435 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if test "${ac_cv_prog_CC+set}" = set; then
4438 $as_echo_n "(cached) " >&6
4440 if test -n "$CC"; then
4441 ac_cv_prog_CC
="$CC" # Let the user override the test.
4443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir
=.
4448 for ac_exec_ext
in '' $ac_executable_extensions; do
4449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4450 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4451 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 if test -n "$CC"; then
4462 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4463 $as_echo "$CC" >&6; }
4465 { $as_echo "$as_me:$LINENO: result: no" >&5
4466 $as_echo "no" >&6; }
4471 if test -z "$ac_cv_prog_CC"; then
4473 # Extract the first word of "gcc", so it can be a program name with args.
4474 set dummy gcc
; ac_word
=$2
4475 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4478 $as_echo_n "(cached) " >&6
4480 if test -n "$ac_ct_CC"; then
4481 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4487 test -z "$as_dir" && as_dir
=.
4488 for ac_exec_ext
in '' $ac_executable_extensions; do
4489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4490 ac_cv_prog_ac_ct_CC
="gcc"
4491 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4501 if test -n "$ac_ct_CC"; then
4502 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4503 $as_echo "$ac_ct_CC" >&6; }
4505 { $as_echo "$as_me:$LINENO: result: no" >&5
4506 $as_echo "no" >&6; }
4509 if test "x$ac_ct_CC" = x
; then
4512 case $cross_compiling:$ac_tool_warned in
4514 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4516 ac_tool_warned
=yes ;;
4524 if test -z "$CC"; then
4525 if test -n "$ac_tool_prefix"; then
4526 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4527 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4528 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4529 $as_echo_n "checking for $ac_word... " >&6; }
4530 if test "${ac_cv_prog_CC+set}" = set; then
4531 $as_echo_n "(cached) " >&6
4533 if test -n "$CC"; then
4534 ac_cv_prog_CC
="$CC" # Let the user override the test.
4536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir
=.
4541 for ac_exec_ext
in '' $ac_executable_extensions; do
4542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4543 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4544 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 if test -n "$CC"; then
4555 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4556 $as_echo "$CC" >&6; }
4558 { $as_echo "$as_me:$LINENO: result: no" >&5
4559 $as_echo "no" >&6; }
4565 if test -z "$CC"; then
4566 # Extract the first word of "cc", so it can be a program name with args.
4567 set dummy cc
; ac_word
=$2
4568 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4569 $as_echo_n "checking for $ac_word... " >&6; }
4570 if test "${ac_cv_prog_CC+set}" = set; then
4571 $as_echo_n "(cached) " >&6
4573 if test -n "$CC"; then
4574 ac_cv_prog_CC
="$CC" # Let the user override the test.
4577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4581 test -z "$as_dir" && as_dir
=.
4582 for ac_exec_ext
in '' $ac_executable_extensions; do
4583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4584 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4585 ac_prog_rejected
=yes
4589 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 if test $ac_prog_rejected = yes; then
4597 # We found a bogon in the path, so make sure we never use it.
4598 set dummy
$ac_cv_prog_CC
4600 if test $# != 0; then
4601 # We chose a different compiler from the bogus one.
4602 # However, it has the same basename, so the bogon will be chosen
4603 # first if we set CC to just the basename; use the full file name.
4605 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4611 if test -n "$CC"; then
4612 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4613 $as_echo "$CC" >&6; }
4615 { $as_echo "$as_me:$LINENO: result: no" >&5
4616 $as_echo "no" >&6; }
4621 if test -z "$CC"; then
4622 if test -n "$ac_tool_prefix"; then
4623 for ac_prog
in cl.exe
4625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4626 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4627 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4628 $as_echo_n "checking for $ac_word... " >&6; }
4629 if test "${ac_cv_prog_CC+set}" = set; then
4630 $as_echo_n "(cached) " >&6
4632 if test -n "$CC"; then
4633 ac_cv_prog_CC
="$CC" # Let the user override the test.
4635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4639 test -z "$as_dir" && as_dir
=.
4640 for ac_exec_ext
in '' $ac_executable_extensions; do
4641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4642 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4643 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4653 if test -n "$CC"; then
4654 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4655 $as_echo "$CC" >&6; }
4657 { $as_echo "$as_me:$LINENO: result: no" >&5
4658 $as_echo "no" >&6; }
4662 test -n "$CC" && break
4665 if test -z "$CC"; then
4667 for ac_prog
in cl.exe
4669 # Extract the first word of "$ac_prog", so it can be a program name with args.
4670 set dummy
$ac_prog; ac_word
=$2
4671 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4672 $as_echo_n "checking for $ac_word... " >&6; }
4673 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4674 $as_echo_n "(cached) " >&6
4676 if test -n "$ac_ct_CC"; then
4677 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4683 test -z "$as_dir" && as_dir
=.
4684 for ac_exec_ext
in '' $ac_executable_extensions; do
4685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4686 ac_cv_prog_ac_ct_CC
="$ac_prog"
4687 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4696 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4697 if test -n "$ac_ct_CC"; then
4698 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4699 $as_echo "$ac_ct_CC" >&6; }
4701 { $as_echo "$as_me:$LINENO: result: no" >&5
4702 $as_echo "no" >&6; }
4706 test -n "$ac_ct_CC" && break
4709 if test "x$ac_ct_CC" = x
; then
4712 case $cross_compiling:$ac_tool_warned in
4714 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4716 ac_tool_warned
=yes ;;
4725 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4727 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4728 See \`config.log' for more details." >&5
4729 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4730 See \`config.log' for more details." >&2;}
4731 { (exit 1); exit 1; }; }; }
4733 # Provide some information about the compiler.
4734 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4737 { (ac_try
="$ac_compiler --version >&5"
4739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4743 $as_echo "$ac_try_echo") >&5
4744 (eval "$ac_compiler --version >&5") 2>&5
4746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }
4748 { (ac_try="$ac_compiler -v >&5"
4750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4751 *) ac_try_echo
=$ac_try;;
4753 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4754 $as_echo "$ac_try_echo") >&5
4755 (eval "$ac_compiler -v >&5") 2>&5
4757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }
4759 { (ac_try
="$ac_compiler -V >&5"
4761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4762 *) ac_try_echo=$ac_try;;
4764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4765 $as_echo "$ac_try_echo") >&5
4766 (eval "$ac_compiler -V >&5") 2>&5
4768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); }
4771 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4772 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4773 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4774 $as_echo_n "(cached) " >&6
4776 cat >conftest.$ac_ext <<_ACEOF
4779 cat confdefs.h >>conftest.$ac_ext
4780 cat >>conftest.$ac_ext <<_ACEOF
4781 /* end confdefs.h. */
4794 rm -f conftest.$ac_objext
4795 if { (ac_try="$ac_compile"
4797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4798 *) ac_try_echo
=$ac_try;;
4800 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4801 $as_echo "$ac_try_echo") >&5
4802 (eval "$ac_compile") 2>conftest.er1
4804 grep -v '^ *+' conftest.er1
>conftest.err
4806 cat conftest.err
>&5
4807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); } && {
4809 test -z "$ac_c_werror_flag" ||
4810 test ! -s conftest.err
4811 } && test -s conftest.
$ac_objext; then
4814 $as_echo "$as_me: failed program was:" >&5
4815 sed 's/^/| /' conftest.
$ac_ext >&5
4820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4821 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4824 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4825 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4826 if test $ac_compiler_gnu = yes; then
4831 ac_test_CFLAGS
=${CFLAGS+set}
4832 ac_save_CFLAGS
=$CFLAGS
4833 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4834 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4835 if test "${ac_cv_prog_cc_g+set}" = set; then
4836 $as_echo_n "(cached) " >&6
4838 ac_save_c_werror_flag
=$ac_c_werror_flag
4839 ac_c_werror_flag
=yes
4842 cat >conftest.
$ac_ext <<_ACEOF
4845 cat confdefs.h
>>conftest.
$ac_ext
4846 cat >>conftest.
$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4857 rm -f conftest.
$ac_objext
4858 if { (ac_try
="$ac_compile"
4860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4861 *) ac_try_echo=$ac_try;;
4863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4864 $as_echo "$ac_try_echo") >&5
4865 (eval "$ac_compile") 2>conftest.er1
4867 grep -v '^ *+' conftest.er1 >conftest.err
4869 cat conftest.err >&5
4870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); } && {
4872 test -z "$ac_c_werror_flag" ||
4873 test ! -s conftest.err
4874 } && test -s conftest.$ac_objext; then
4877 $as_echo "$as_me: failed program was:" >&5
4878 sed 's/^/| /' conftest.$ac_ext >&5
4881 cat >conftest.$ac_ext <<_ACEOF
4884 cat confdefs.h >>conftest.$ac_ext
4885 cat >>conftest.$ac_ext <<_ACEOF
4886 /* end confdefs.h. */
4896 rm -f conftest.$ac_objext
4897 if { (ac_try="$ac_compile"
4899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4900 *) ac_try_echo
=$ac_try;;
4902 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4903 $as_echo "$ac_try_echo") >&5
4904 (eval "$ac_compile") 2>conftest.er1
4906 grep -v '^ *+' conftest.er1
>conftest.err
4908 cat conftest.err
>&5
4909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } && {
4911 test -z "$ac_c_werror_flag" ||
4912 test ! -s conftest.err
4913 } && test -s conftest.
$ac_objext; then
4916 $as_echo "$as_me: failed program was:" >&5
4917 sed 's/^/| /' conftest.
$ac_ext >&5
4919 ac_c_werror_flag
=$ac_save_c_werror_flag
4921 cat >conftest.
$ac_ext <<_ACEOF
4924 cat confdefs.h
>>conftest.
$ac_ext
4925 cat >>conftest.
$ac_ext <<_ACEOF
4926 /* end confdefs.h. */
4936 rm -f conftest.
$ac_objext
4937 if { (ac_try
="$ac_compile"
4939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4940 *) ac_try_echo=$ac_try;;
4942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4943 $as_echo "$ac_try_echo") >&5
4944 (eval "$ac_compile") 2>conftest.er1
4946 grep -v '^ *+' conftest.er1 >conftest.err
4948 cat conftest.err >&5
4949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); } && {
4951 test -z "$ac_c_werror_flag" ||
4952 test ! -s conftest.err
4953 } && test -s conftest.$ac_objext; then
4956 $as_echo "$as_me: failed program was:" >&5
4957 sed 's/^/| /' conftest.$ac_ext >&5
4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4969 ac_c_werror_flag=$ac_save_c_werror_flag
4971 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4972 $as_echo "$ac_cv_prog_cc_g" >&6; }
4973 if test "$ac_test_CFLAGS" = set; then
4974 CFLAGS=$ac_save_CFLAGS
4975 elif test $ac_cv_prog_cc_g = yes; then
4976 if test "$GCC" = yes; then
4982 if test "$GCC" = yes; then
4988 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4989 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4990 if test "${ac_cv_prog_cc_c89+set}" = set; then
4991 $as_echo_n "(cached) " >&6
4993 ac_cv_prog_cc_c89=no
4995 cat >conftest.$ac_ext <<_ACEOF
4998 cat confdefs.h >>conftest.$ac_ext
4999 cat >>conftest.$ac_ext <<_ACEOF
5000 /* end confdefs.h. */
5003 #include <sys/types.h>
5004 #include <sys/stat.h>
5005 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5006 struct buf { int x; };
5007 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5008 static char *e (p, i)
5014 static char *f (char * (*g) (char **, int), char **p, ...)
5019 s = g (p, va_arg (v,int));
5024 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5025 function prototypes and stuff, but not '\xHH' hex character constants.
5026 These don't provoke an error unfortunately, instead are silently treated
5027 as 'x'. The following induces an error, until -std is added to get
5028 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5029 array size at least. It's necessary to write '\x00'==0 to get something
5030 that's true only with -std. */
5031 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5033 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5034 inside strings and character constants. */
5036 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5038 int test (int i, double x);
5039 struct s1 {int (*f) (int a);};
5040 struct s2 {int (*f) (double a);};
5041 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5047 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5052 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5053 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5055 CC="$ac_save_CC $ac_arg"
5056 rm -f conftest.$ac_objext
5057 if { (ac_try="$ac_compile"
5059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5060 *) ac_try_echo
=$ac_try;;
5062 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5063 $as_echo "$ac_try_echo") >&5
5064 (eval "$ac_compile") 2>conftest.er1
5066 grep -v '^ *+' conftest.er1
>conftest.err
5068 cat conftest.err
>&5
5069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } && {
5071 test -z "$ac_c_werror_flag" ||
5072 test ! -s conftest.err
5073 } && test -s conftest.
$ac_objext; then
5074 ac_cv_prog_cc_c89
=$ac_arg
5076 $as_echo "$as_me: failed program was:" >&5
5077 sed 's/^/| /' conftest.
$ac_ext >&5
5082 rm -f core conftest.err conftest.
$ac_objext
5083 test "x$ac_cv_prog_cc_c89" != "xno" && break
5085 rm -f conftest.
$ac_ext
5090 case "x$ac_cv_prog_cc_c89" in
5092 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5093 $as_echo "none needed" >&6; } ;;
5095 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5096 $as_echo "unsupported" >&6; } ;;
5098 CC
="$CC $ac_cv_prog_cc_c89"
5099 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5100 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5105 ac_cpp
='$CPP $CPPFLAGS'
5106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5110 depcc
="$CC" am_compiler_list
=
5112 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5113 $as_echo_n "checking dependency style of $depcc... " >&6; }
5114 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5115 $as_echo_n "(cached) " >&6
5117 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5118 # We make a subdir and do the tests there. Otherwise we can end up
5119 # making bogus files that we don't know about and never remove. For
5120 # instance it was reported that on HP-UX the gcc test will end up
5121 # making a dummy file named `D' -- because `-MD' means `put the output
5124 # Copy depcomp to subdir because otherwise we won't find it if we're
5125 # using a relative directory.
5126 cp "$am_depcomp" conftest.dir
5128 # We will build objects and dependencies in a subdirectory because
5129 # it helps to detect inapplicable dependency modes. For instance
5130 # both Tru64's cc and ICC support -MD to output dependencies as a
5131 # side effect of compilation, but ICC will put the dependencies in
5132 # the current directory while Tru64 will put them in the object
5136 am_cv_CC_dependencies_compiler_type
=none
5137 if test "$am_compiler_list" = ""; then
5138 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5141 case " $depcc " in #(
5142 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5145 for depmode
in $am_compiler_list; do
5146 # Setup a source with many dependencies, because some compilers
5147 # like to wrap large dependency lists on column 80 (with \), and
5148 # we should not choose a depcomp mode which is confused by this.
5150 # We need to recreate these files for each test, as the compiler may
5151 # overwrite some of them when testing with obscure command lines.
5152 # This happens at least with the AIX C compiler.
5154 for i
in 1 2 3 4 5 6; do
5155 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5156 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5157 # Solaris 8's {/usr,}/bin/sh.
5158 touch sub
/conftst
$i.h
5160 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5162 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5163 # mode. It turns out that the SunPro C++ compiler does not properly
5164 # handle `-M -o', and we need to detect this. Also, some Intel
5165 # versions had trouble with output in subdirs
5166 am__obj
=sub
/conftest.
${OBJEXT-o}
5167 am__minus_obj
="-o $am__obj"
5170 # This depmode causes a compiler race in universal mode.
5171 test "$am__universal" = false ||
continue
5174 # after this tag, mechanisms are not by side-effect, so they'll
5175 # only be used when explicitly requested
5176 if test "x$enable_dependency_tracking" = xyes
; then
5182 msvisualcpp | msvcmsys
)
5183 # This compiler won't grok `-c -o', but also, the minuso test has
5184 # not run yet. These depmodes are late enough in the game, and
5185 # so weak that their functioning should not be impacted.
5186 am__obj
=conftest.
${OBJEXT-o}
5191 if depmode
=$depmode \
5192 source=sub
/conftest.c object
=$am__obj \
5193 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5194 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5195 >/dev
/null
2>conftest.err
&&
5196 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5197 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5198 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5199 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5200 # icc doesn't choke on unknown options, it will just issue warnings
5201 # or remarks (even with -Werror). So we grep stderr for any message
5202 # that says an option was ignored or not supported.
5203 # When given -MP, icc 7.0 and 7.1 complain thusly:
5204 # icc: Command line warning: ignoring option '-M'; no argument required
5205 # The diagnosis changed in icc 8.0:
5206 # icc: Command line remark: option '-MP' not supported
5207 if (grep 'ignoring option' conftest.err ||
5208 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5209 am_cv_CC_dependencies_compiler_type
=$depmode
5218 am_cv_CC_dependencies_compiler_type
=none
5222 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5223 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5224 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5227 test "x$enable_dependency_tracking" != xno \
5228 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5230 am__fastdepCC_FALSE
='#'
5232 am__fastdepCC_TRUE
='#'
5233 am__fastdepCC_FALSE
=
5238 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5240 if test -n "$ac_tool_prefix"; then
5241 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5242 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5243 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if test "${ac_cv_prog_RANLIB+set}" = set; then
5246 $as_echo_n "(cached) " >&6
5248 if test -n "$RANLIB"; then
5249 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5259 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 RANLIB
=$ac_cv_prog_RANLIB
5269 if test -n "$RANLIB"; then
5270 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5271 $as_echo "$RANLIB" >&6; }
5273 { $as_echo "$as_me:$LINENO: result: no" >&5
5274 $as_echo "no" >&6; }
5279 if test -z "$ac_cv_prog_RANLIB"; then
5280 ac_ct_RANLIB
=$RANLIB
5281 # Extract the first word of "ranlib", so it can be a program name with args.
5282 set dummy ranlib
; ac_word
=$2
5283 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5284 $as_echo_n "checking for $ac_word... " >&6; }
5285 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5286 $as_echo_n "(cached) " >&6
5288 if test -n "$ac_ct_RANLIB"; then
5289 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5295 test -z "$as_dir" && as_dir
=.
5296 for ac_exec_ext
in '' $ac_executable_extensions; do
5297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5298 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5299 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5309 if test -n "$ac_ct_RANLIB"; then
5310 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5311 $as_echo "$ac_ct_RANLIB" >&6; }
5313 { $as_echo "$as_me:$LINENO: result: no" >&5
5314 $as_echo "no" >&6; }
5317 if test "x$ac_ct_RANLIB" = x
; then
5320 case $cross_compiling:$ac_tool_warned in
5322 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5324 ac_tool_warned
=yes ;;
5326 RANLIB
=$ac_ct_RANLIB
5329 RANLIB
="$ac_cv_prog_RANLIB"
5333 ac_cpp
='$CPP $CPPFLAGS'
5334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5337 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5338 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5339 # On Suns, sometimes $CPP names a directory.
5340 if test -n "$CPP" && test -d "$CPP"; then
5343 if test -z "$CPP"; then
5344 if test "${ac_cv_prog_CPP+set}" = set; then
5345 $as_echo_n "(cached) " >&6
5347 # Double quotes because CPP needs to be expanded
5348 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5351 for ac_c_preproc_warn_flag
in '' yes
5353 # Use a header file that comes with gcc, so configuring glibc
5354 # with a fresh cross-compiler works.
5355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5356 # <limits.h> exists even on freestanding compilers.
5357 # On the NeXT, cc -E runs the code through the compiler's parser,
5358 # not just through cpp. "Syntax error" is here to catch this case.
5359 cat >conftest.
$ac_ext <<_ACEOF
5362 cat confdefs.h
>>conftest.
$ac_ext
5363 cat >>conftest.
$ac_ext <<_ACEOF
5364 /* end confdefs.h. */
5366 # include <limits.h>
5368 # include <assert.h>
5372 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5375 *) ac_try_echo=$ac_try;;
5377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5378 $as_echo "$ac_try_echo") >&5
5379 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5381 grep -v '^ *+' conftest.er1 >conftest.err
5383 cat conftest.err >&5
5384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); } >/dev/null && {
5386 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5387 test ! -s conftest.err
5391 $as_echo "$as_me: failed program was:" >&5
5392 sed 's/^/| /' conftest.$ac_ext >&5
5394 # Broken: fails on valid input.
5398 rm -f conftest.err conftest.$ac_ext
5400 # OK, works on sane cases. Now check whether nonexistent headers
5401 # can be detected and how.
5402 cat >conftest.$ac_ext <<_ACEOF
5405 cat confdefs.h >>conftest.$ac_ext
5406 cat >>conftest.$ac_ext <<_ACEOF
5407 /* end confdefs.h. */
5408 #include <ac_nonexistent.h>
5410 if { (ac_try="$ac_cpp conftest.$ac_ext"
5412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5413 *) ac_try_echo
=$ac_try;;
5415 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5416 $as_echo "$ac_try_echo") >&5
5417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5419 grep -v '^ *+' conftest.er1
>conftest.err
5421 cat conftest.err
>&5
5422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); } >/dev
/null
&& {
5424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5425 test ! -s conftest.err
5427 # Broken: success on invalid input.
5430 $as_echo "$as_me: failed program was:" >&5
5431 sed 's/^/| /' conftest.
$ac_ext >&5
5433 # Passes both tests.
5438 rm -f conftest.err conftest.
$ac_ext
5441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5442 rm -f conftest.err conftest.
$ac_ext
5443 if $ac_preproc_ok; then
5455 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5456 $as_echo "$CPP" >&6; }
5458 for ac_c_preproc_warn_flag
in '' yes
5460 # Use a header file that comes with gcc, so configuring glibc
5461 # with a fresh cross-compiler works.
5462 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5463 # <limits.h> exists even on freestanding compilers.
5464 # On the NeXT, cc -E runs the code through the compiler's parser,
5465 # not just through cpp. "Syntax error" is here to catch this case.
5466 cat >conftest.
$ac_ext <<_ACEOF
5469 cat confdefs.h
>>conftest.
$ac_ext
5470 cat >>conftest.
$ac_ext <<_ACEOF
5471 /* end confdefs.h. */
5473 # include <limits.h>
5475 # include <assert.h>
5479 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5482 *) ac_try_echo=$ac_try;;
5484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5485 $as_echo "$ac_try_echo") >&5
5486 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5488 grep -v '^ *+' conftest.er1 >conftest.err
5490 cat conftest.err >&5
5491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); } >/dev/null && {
5493 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5494 test ! -s conftest.err
5498 $as_echo "$as_me: failed program was:" >&5
5499 sed 's/^/| /' conftest.$ac_ext >&5
5501 # Broken: fails on valid input.
5505 rm -f conftest.err conftest.$ac_ext
5507 # OK, works on sane cases. Now check whether nonexistent headers
5508 # can be detected and how.
5509 cat >conftest.$ac_ext <<_ACEOF
5512 cat confdefs.h >>conftest.$ac_ext
5513 cat >>conftest.$ac_ext <<_ACEOF
5514 /* end confdefs.h. */
5515 #include <ac_nonexistent.h>
5517 if { (ac_try="$ac_cpp conftest.$ac_ext"
5519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5520 *) ac_try_echo
=$ac_try;;
5522 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5523 $as_echo "$ac_try_echo") >&5
5524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5526 grep -v '^ *+' conftest.er1
>conftest.err
5528 cat conftest.err
>&5
5529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); } >/dev
/null
&& {
5531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5532 test ! -s conftest.err
5534 # Broken: success on invalid input.
5537 $as_echo "$as_me: failed program was:" >&5
5538 sed 's/^/| /' conftest.
$ac_ext >&5
5540 # Passes both tests.
5545 rm -f conftest.err conftest.
$ac_ext
5548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5549 rm -f conftest.err conftest.
$ac_ext
5550 if $ac_preproc_ok; then
5553 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5555 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5556 See \`config.log' for more details." >&5
5557 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5558 See \`config.log' for more details." >&2;}
5559 { (exit 1); exit 1; }; }; }
5563 ac_cpp
='$CPP $CPPFLAGS'
5564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5569 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5570 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5571 if test "${ac_cv_path_GREP+set}" = set; then
5572 $as_echo_n "(cached) " >&6
5574 if test -z "$GREP"; then
5575 ac_path_GREP_found
=false
5576 # Loop through the user's path and test for each of PROGNAME-LIST
5577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5578 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5581 test -z "$as_dir" && as_dir
=.
5582 for ac_prog
in grep ggrep
; do
5583 for ac_exec_ext
in '' $ac_executable_extensions; do
5584 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5585 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5586 # Check for GNU ac_path_GREP and select it if it is found.
5587 # Check for GNU $ac_path_GREP
5588 case `"$ac_path_GREP" --version 2>&1` in
5590 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5593 $as_echo_n 0123456789 >"conftest.in"
5596 cat "conftest.in" "conftest.in" >"conftest.tmp"
5597 mv "conftest.tmp" "conftest.in"
5598 cp "conftest.in" "conftest.nl"
5599 $as_echo 'GREP' >> "conftest.nl"
5600 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5601 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5602 ac_count
=`expr $ac_count + 1`
5603 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5604 # Best one so far, save it but keep looking for a better one
5605 ac_cv_path_GREP
="$ac_path_GREP"
5606 ac_path_GREP_max
=$ac_count
5608 # 10*(2^10) chars as input seems more than enough
5609 test $ac_count -gt 10 && break
5611 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5614 $ac_path_GREP_found && break 3
5619 if test -z "$ac_cv_path_GREP"; then
5620 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5621 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5622 { (exit 1); exit 1; }; }
5625 ac_cv_path_GREP
=$GREP
5629 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5630 $as_echo "$ac_cv_path_GREP" >&6; }
5631 GREP
="$ac_cv_path_GREP"
5634 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5635 $as_echo_n "checking for egrep... " >&6; }
5636 if test "${ac_cv_path_EGREP+set}" = set; then
5637 $as_echo_n "(cached) " >&6
5639 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5640 then ac_cv_path_EGREP
="$GREP -E"
5642 if test -z "$EGREP"; then
5643 ac_path_EGREP_found
=false
5644 # Loop through the user's path and test for each of PROGNAME-LIST
5645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5646 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5649 test -z "$as_dir" && as_dir
=.
5650 for ac_prog
in egrep; do
5651 for ac_exec_ext
in '' $ac_executable_extensions; do
5652 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5653 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5654 # Check for GNU ac_path_EGREP and select it if it is found.
5655 # Check for GNU $ac_path_EGREP
5656 case `"$ac_path_EGREP" --version 2>&1` in
5658 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5661 $as_echo_n 0123456789 >"conftest.in"
5664 cat "conftest.in" "conftest.in" >"conftest.tmp"
5665 mv "conftest.tmp" "conftest.in"
5666 cp "conftest.in" "conftest.nl"
5667 $as_echo 'EGREP' >> "conftest.nl"
5668 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5669 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5670 ac_count
=`expr $ac_count + 1`
5671 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5672 # Best one so far, save it but keep looking for a better one
5673 ac_cv_path_EGREP
="$ac_path_EGREP"
5674 ac_path_EGREP_max
=$ac_count
5676 # 10*(2^10) chars as input seems more than enough
5677 test $ac_count -gt 10 && break
5679 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5682 $ac_path_EGREP_found && break 3
5687 if test -z "$ac_cv_path_EGREP"; then
5688 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5689 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5690 { (exit 1); exit 1; }; }
5693 ac_cv_path_EGREP
=$EGREP
5698 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5699 $as_echo "$ac_cv_path_EGREP" >&6; }
5700 EGREP
="$ac_cv_path_EGREP"
5703 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5704 $as_echo_n "checking for ANSI C header files... " >&6; }
5705 if test "${ac_cv_header_stdc+set}" = set; then
5706 $as_echo_n "(cached) " >&6
5708 cat >conftest.
$ac_ext <<_ACEOF
5711 cat confdefs.h
>>conftest.
$ac_ext
5712 cat >>conftest.
$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5727 rm -f conftest.
$ac_objext
5728 if { (ac_try
="$ac_compile"
5730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5731 *) ac_try_echo=$ac_try;;
5733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5734 $as_echo "$ac_try_echo") >&5
5735 (eval "$ac_compile") 2>conftest.er1
5737 grep -v '^ *+' conftest.er1 >conftest.err
5739 cat conftest.err >&5
5740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); } && {
5742 test -z "$ac_c_werror_flag" ||
5743 test ! -s conftest.err
5744 } && test -s conftest.$ac_objext; then
5745 ac_cv_header_stdc=yes
5747 $as_echo "$as_me: failed program was:" >&5
5748 sed 's/^/| /' conftest.$ac_ext >&5
5750 ac_cv_header_stdc=no
5753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5755 if test $ac_cv_header_stdc = yes; then
5756 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5757 cat >conftest.$ac_ext <<_ACEOF
5760 cat confdefs.h >>conftest.$ac_ext
5761 cat >>conftest.$ac_ext <<_ACEOF
5762 /* end confdefs.h. */
5766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5767 $EGREP "memchr" >/dev/null 2>&1; then
5770 ac_cv_header_stdc=no
5776 if test $ac_cv_header_stdc = yes; then
5777 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5778 cat >conftest.$ac_ext <<_ACEOF
5781 cat confdefs.h >>conftest.$ac_ext
5782 cat >>conftest.$ac_ext <<_ACEOF
5783 /* end confdefs.h. */
5787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5788 $EGREP "free" >/dev/null 2>&1; then
5791 ac_cv_header_stdc=no
5797 if test $ac_cv_header_stdc = yes; then
5798 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5799 if test "$cross_compiling" = yes; then
5802 cat >conftest.$ac_ext <<_ACEOF
5805 cat confdefs.h >>conftest.$ac_ext
5806 cat >>conftest.$ac_ext <<_ACEOF
5807 /* end confdefs.h. */
5810 #if ((' ' & 0x0FF) == 0x020)
5811 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5812 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5814 # define ISLOWER(c) \
5815 (('a' <= (c) && (c) <= 'i') \
5816 || ('j' <= (c) && (c) <= 'r') \
5817 || ('s' <= (c) && (c) <= 'z'))
5818 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5821 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5826 for (i = 0; i < 256; i++)
5827 if (XOR (islower (i), ISLOWER (i))
5828 || toupper (i) != TOUPPER (i))
5833 rm -f conftest$ac_exeext
5834 if { (ac_try="$ac_link"
5836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5837 *) ac_try_echo
=$ac_try;;
5839 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5840 $as_echo "$ac_try_echo") >&5
5841 (eval "$ac_link") 2>&5
5843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5845 { (case "(($ac_try" in
5846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5847 *) ac_try_echo=$ac_try;;
5849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5850 $as_echo "$ac_try_echo") >&5
5851 (eval "$ac_try") 2>&5
5853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); }; }; then
5857 $as_echo "$as_me: program exited with status $ac_status" >&5
5858 $as_echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5862 ac_cv_header_stdc=no
5864 rm -rf conftest.dSYM
5865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5871 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5872 $as_echo "$ac_cv_header_stdc" >&6; }
5873 if test $ac_cv_header_stdc = yes; then
5875 cat >>confdefs.h <<\_ACEOF
5876 #define STDC_HEADERS 1
5882 pkg_modules="gtk+-2.0 >= 2.10.0 libgnomecanvas-2.0 >= 2.4.0 poppler-glib >= 0.5.4 pangoft2 >= 1.0"
5885 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5886 if test -n "$ac_tool_prefix"; then
5887 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5888 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5889 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5890 $as_echo_n "checking for $ac_word... " >&6; }
5891 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5892 $as_echo_n "(cached) " >&6
5896 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5906 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5907 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5918 if test -n "$PKG_CONFIG"; then
5919 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5920 $as_echo "$PKG_CONFIG" >&6; }
5922 { $as_echo "$as_me:$LINENO: result: no" >&5
5923 $as_echo "no" >&6; }
5928 if test -z "$ac_cv_path_PKG_CONFIG"; then
5929 ac_pt_PKG_CONFIG=$PKG_CONFIG
5930 # Extract the first word of "pkg-config", so it can be a program name with args.
5931 set dummy pkg-config; ac_word=$2
5932 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5935 $as_echo_n "(cached) " >&6
5937 case $ac_pt_PKG_CONFIG in
5939 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5949 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5950 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5961 if test -n "$ac_pt_PKG_CONFIG"; then
5962 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5963 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5965 { $as_echo "$as_me:$LINENO: result: no" >&5
5966 $as_echo "no" >&6; }
5969 if test "x$ac_pt_PKG_CONFIG" = x; then
5972 case $cross_compiling:$ac_tool_warned in
5974 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5976 ac_tool_warned=yes ;;
5978 PKG_CONFIG=$ac_pt_PKG_CONFIG
5981 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5985 if test -n "$PKG_CONFIG"; then
5986 _pkg_min_version=0.9.0
5987 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5988 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5989 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5990 { $as_echo "$as_me:$LINENO: result: yes" >&5
5991 $as_echo "yes" >&6; }
5993 { $as_echo "$as_me:$LINENO: result: no" >&5
5994 $as_echo "no" >&6; }
6001 { $as_echo "$as_me:$LINENO: checking for PACKAGE" >&5
6002 $as_echo_n "checking for PACKAGE... " >&6; }
6004 if test -n "$PACKAGE_CFLAGS"; then
6005 pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
6006 elif test -n "$PKG_CONFIG"; then
6007 if test -n "$PKG_CONFIG" && \
6008 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
6009 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
6011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); }; then
6013 pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev
/null
`
6020 if test -n "$PACKAGE_LIBS"; then
6021 pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
6022 elif test -n "$PKG_CONFIG"; then
6023 if test -n "$PKG_CONFIG" && \
6024 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
6025 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
6027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); }; then
6029 pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev
/null
`
6039 if test $pkg_failed = yes; then
6041 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6042 _pkg_short_errors_supported=yes
6044 _pkg_short_errors_supported=no
6046 if test $_pkg_short_errors_supported = yes; then
6047 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_modules" 2>&1`
6049 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_modules" 2>&1`
6051 # Put the nasty error message in config.log where it belongs
6052 echo "$PACKAGE_PKG_ERRORS" >&5
6054 { { $as_echo "$as_me:$LINENO: error: Package requirements ($pkg_modules) were not met:
6058 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6059 installed software in a non-standard prefix.
6061 Alternatively, you may set the environment variables PACKAGE_CFLAGS
6062 and PACKAGE_LIBS to avoid the need to call pkg-config.
6063 See the pkg-config man page for more details.
6065 $as_echo "$as_me: error: Package requirements ($pkg_modules) were not met:
6069 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6070 installed software in a non-standard prefix.
6072 Alternatively, you may set the environment variables PACKAGE_CFLAGS
6073 and PACKAGE_LIBS to avoid the need to call pkg-config.
6074 See the pkg-config man page for more details.
6076 { (exit 1); exit 1; }; }
6077 elif test $pkg_failed = untried; then
6078 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6080 { { $as_echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
6081 is
in your PATH or
set the PKG_CONFIG environment variable to the full
6084 Alternatively
, you may
set the environment variables PACKAGE_CFLAGS
6085 and PACKAGE_LIBS to avoid the need to call pkg-config.
6086 See the pkg-config man page
for more details.
6088 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
6089 See \
`config.log' for more details." >&5
6090 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6091 is in your PATH or set the PKG_CONFIG environment variable to the full
6094 Alternatively, you may set the environment variables PACKAGE_CFLAGS
6095 and PACKAGE_LIBS to avoid the need to call pkg-config.
6096 See the pkg-config man page for more details.
6098 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6099 See \`config.log
' for more details." >&2;}
6100 { (exit 1); exit 1; }; }; }
6102 PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
6103 PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
6104 { $as_echo "$as_me:$LINENO: result: yes" >&5
6105 $as_echo "yes" >&6; }
6111 # Make sure we can run config.sub.
6112 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6113 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6114 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6115 { (exit 1); exit 1; }; }
6117 { $as_echo "$as_me:$LINENO: checking build system type" >&5
6118 $as_echo_n "checking build system type... " >&6; }
6119 if test "${ac_cv_build+set}" = set; then
6120 $as_echo_n "(cached) " >&6
6122 ac_build_alias=$build_alias
6123 test "x$ac_build_alias" = x &&
6124 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6125 test "x$ac_build_alias" = x &&
6126 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6127 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6128 { (exit 1); exit 1; }; }
6129 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6130 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6131 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6132 { (exit 1); exit 1; }; }
6135 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6136 $as_echo "$ac_cv_build" >&6; }
6137 case $ac_cv_build in
6139 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
6140 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
6141 { (exit 1); exit 1; }; };;
6144 ac_save_IFS=$IFS; IFS='-'
6150 # Remember, the first character of IFS is used to create $*,
6151 # except with old shells:
6154 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's
/ /-/g
'`;; esac
6157 { $as_echo "$as_me:$LINENO: checking host system type" >&5
6158 $as_echo_n "checking host system type... " >&6; }
6159 if test "${ac_cv_host+set}" = set; then
6160 $as_echo_n "(cached) " >&6
6162 if test "x$host_alias" = x; then
6163 ac_cv_host=$ac_cv_build
6165 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6166 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6167 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6168 { (exit 1); exit 1; }; }
6172 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6173 $as_echo "$ac_cv_host" >&6; }
6176 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6177 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
6178 { (exit 1); exit 1; }; };;
6181 ac_save_IFS=$IFS; IFS='-'
6187 # Remember, the first character of IFS is used to create $*,
6188 # except with old shells:
6191 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's
/ /-/g
'`;; esac
6194 { $as_echo "$as_me:$LINENO: checking for Win32 environment" >&5
6195 $as_echo_n "checking for Win32 environment... " >&6; }
6202 { $as_echo "$as_me:$LINENO: result: $os_win32" >&5
6203 $as_echo "$os_win32" >&6; }
6204 if test "$os_win32" = "yes"; then
6213 GETTEXT_PACKAGE
=xournal
6216 cat >>confdefs.h
<<_ACEOF
6217 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6221 ALL_LINGUAS
="`grep -v '^#' "$srcdir/po
/LINGUAS
" | tr '\n' ' '`"
6222 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6232 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6233 inttypes.h stdint.h unistd.h
6235 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6236 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6237 $as_echo_n "checking for $ac_header... " >&6; }
6238 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6239 $as_echo_n "(cached) " >&6
6241 cat >conftest.
$ac_ext <<_ACEOF
6244 cat confdefs.h
>>conftest.
$ac_ext
6245 cat >>conftest.
$ac_ext <<_ACEOF
6246 /* end confdefs.h. */
6247 $ac_includes_default
6249 #include <$ac_header>
6251 rm -f conftest.
$ac_objext
6252 if { (ac_try
="$ac_compile"
6254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6255 *) ac_try_echo=$ac_try;;
6257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6258 $as_echo "$ac_try_echo") >&5
6259 (eval "$ac_compile") 2>conftest.er1
6261 grep -v '^ *+' conftest.er1 >conftest.err
6263 cat conftest.err >&5
6264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); } && {
6266 test -z "$ac_c_werror_flag" ||
6267 test ! -s conftest.err
6268 } && test -s conftest.$ac_objext; then
6269 eval "$as_ac_Header=yes"
6271 $as_echo "$as_me: failed program was:" >&5
6272 sed 's/^/| /' conftest.$ac_ext >&5
6274 eval "$as_ac_Header=no"
6277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6279 ac_res=`eval 'as_val=${'$as_ac_Header'}
6280 $as_echo "$as_val"'`
6281 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6282 $as_echo "$ac_res" >&6; }
6283 as_val=`eval 'as_val=${'$as_ac_Header'}
6284 $as_echo "$as_val"'`
6285 if test "x$as_val" = x""yes; then
6286 cat >>confdefs.h <<_ACEOF
6287 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6297 for ac_header in locale.h
6299 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6300 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6301 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6302 $as_echo_n "checking for $ac_header... " >&6; }
6303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6304 $as_echo_n "(cached) " >&6
6306 ac_res=`eval 'as_val=${'$as_ac_Header'}
6307 $as_echo "$as_val"'`
6308 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6309 $as_echo "$ac_res" >&6; }
6311 # Is the header compilable?
6312 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6313 $as_echo_n "checking $ac_header usability... " >&6; }
6314 cat >conftest.$ac_ext <<_ACEOF
6317 cat confdefs.h >>conftest.$ac_ext
6318 cat >>conftest.$ac_ext <<_ACEOF
6319 /* end confdefs.h. */
6320 $ac_includes_default
6321 #include <$ac_header>
6323 rm -f conftest.$ac_objext
6324 if { (ac_try="$ac_compile"
6326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6327 *) ac_try_echo
=$ac_try;;
6329 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6330 $as_echo "$ac_try_echo") >&5
6331 (eval "$ac_compile") 2>conftest.er1
6333 grep -v '^ *+' conftest.er1
>conftest.err
6335 cat conftest.err
>&5
6336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } && {
6338 test -z "$ac_c_werror_flag" ||
6339 test ! -s conftest.err
6340 } && test -s conftest.
$ac_objext; then
6341 ac_header_compiler
=yes
6343 $as_echo "$as_me: failed program was:" >&5
6344 sed 's/^/| /' conftest.
$ac_ext >&5
6346 ac_header_compiler
=no
6349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6350 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6351 $as_echo "$ac_header_compiler" >&6; }
6353 # Is the header present?
6354 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6355 $as_echo_n "checking $ac_header presence... " >&6; }
6356 cat >conftest.
$ac_ext <<_ACEOF
6359 cat confdefs.h
>>conftest.
$ac_ext
6360 cat >>conftest.
$ac_ext <<_ACEOF
6361 /* end confdefs.h. */
6362 #include <$ac_header>
6364 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6367 *) ac_try_echo=$ac_try;;
6369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6370 $as_echo "$ac_try_echo") >&5
6371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6373 grep -v '^ *+' conftest.er1 >conftest.err
6375 cat conftest.err >&5
6376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); } >/dev/null && {
6378 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6379 test ! -s conftest.err
6381 ac_header_preproc=yes
6383 $as_echo "$as_me: failed program was:" >&5
6384 sed 's/^/| /' conftest.$ac_ext >&5
6386 ac_header_preproc=no
6389 rm -f conftest.err conftest.$ac_ext
6390 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6391 $as_echo "$ac_header_preproc" >&6; }
6393 # So? What about this header?
6394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6397 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6399 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6400 ac_header_preproc=yes
6403 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6404 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6405 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6406 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6407 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6408 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6409 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6410 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6411 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6412 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6413 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6414 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6418 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6419 $as_echo_n "checking for $ac_header... " >&6; }
6420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6421 $as_echo_n "(cached) " >&6
6423 eval "$as_ac_Header=\$ac_header_preproc"
6425 ac_res=`eval 'as_val=${'$as_ac_Header'}
6426 $as_echo "$as_val"'`
6427 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6428 $as_echo "$ac_res" >&6; }
6431 as_val=`eval 'as_val=${'$as_ac_Header'}
6432 $as_echo "$as_val"'`
6433 if test "x$as_val" = x""yes; then
6434 cat >>confdefs.h <<_ACEOF
6435 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6442 if test $ac_cv_header_locale_h = yes; then
6443 { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6444 $as_echo_n "checking for LC_MESSAGES... " >&6; }
6445 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6446 $as_echo_n "(cached) " >&6
6448 cat >conftest.$ac_ext <<_ACEOF
6451 cat confdefs.h >>conftest.$ac_ext
6452 cat >>conftest.$ac_ext <<_ACEOF
6453 /* end confdefs.h. */
6463 rm -f conftest.$ac_objext conftest$ac_exeext
6464 if { (ac_try="$ac_link"
6466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6467 *) ac_try_echo
=$ac_try;;
6469 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6470 $as_echo "$ac_try_echo") >&5
6471 (eval "$ac_link") 2>conftest.er1
6473 grep -v '^ *+' conftest.er1
>conftest.err
6475 cat conftest.err
>&5
6476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477 (exit $ac_status); } && {
6478 test -z "$ac_c_werror_flag" ||
6479 test ! -s conftest.err
6480 } && test -s conftest
$ac_exeext && {
6481 test "$cross_compiling" = yes ||
6482 $as_test_x conftest
$ac_exeext
6484 am_cv_val_LC_MESSAGES
=yes
6486 $as_echo "$as_me: failed program was:" >&5
6487 sed 's/^/| /' conftest.
$ac_ext >&5
6489 am_cv_val_LC_MESSAGES
=no
6492 rm -rf conftest.dSYM
6493 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6494 conftest
$ac_exeext conftest.
$ac_ext
6496 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6497 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
6498 if test $am_cv_val_LC_MESSAGES = yes; then
6500 cat >>confdefs.h
<<\_ACEOF
6501 #define HAVE_LC_MESSAGES 1
6509 gt_cv_have_gettext
=no
6515 if test "${ac_cv_header_libintl_h+set}" = set; then
6516 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
6517 $as_echo_n "checking for libintl.h... " >&6; }
6518 if test "${ac_cv_header_libintl_h+set}" = set; then
6519 $as_echo_n "(cached) " >&6
6521 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6522 $as_echo "$ac_cv_header_libintl_h" >&6; }
6524 # Is the header compilable?
6525 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
6526 $as_echo_n "checking libintl.h usability... " >&6; }
6527 cat >conftest.
$ac_ext <<_ACEOF
6530 cat confdefs.h
>>conftest.
$ac_ext
6531 cat >>conftest.
$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6533 $ac_includes_default
6534 #include <libintl.h>
6536 rm -f conftest.
$ac_objext
6537 if { (ac_try
="$ac_compile"
6539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6540 *) ac_try_echo=$ac_try;;
6542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6543 $as_echo "$ac_try_echo") >&5
6544 (eval "$ac_compile") 2>conftest.er1
6546 grep -v '^ *+' conftest.er1 >conftest.err
6548 cat conftest.err >&5
6549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); } && {
6551 test -z "$ac_c_werror_flag" ||
6552 test ! -s conftest.err
6553 } && test -s conftest.$ac_objext; then
6554 ac_header_compiler=yes
6556 $as_echo "$as_me: failed program was:" >&5
6557 sed 's/^/| /' conftest.$ac_ext >&5
6559 ac_header_compiler=no
6562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6563 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6564 $as_echo "$ac_header_compiler" >&6; }
6566 # Is the header present?
6567 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
6568 $as_echo_n "checking libintl.h presence... " >&6; }
6569 cat >conftest.$ac_ext <<_ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 #include <libintl.h>
6577 if { (ac_try="$ac_cpp conftest.$ac_ext"
6579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6580 *) ac_try_echo
=$ac_try;;
6582 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6583 $as_echo "$ac_try_echo") >&5
6584 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6586 grep -v '^ *+' conftest.er1
>conftest.err
6588 cat conftest.err
>&5
6589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); } >/dev
/null
&& {
6591 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6592 test ! -s conftest.err
6594 ac_header_preproc
=yes
6596 $as_echo "$as_me: failed program was:" >&5
6597 sed 's/^/| /' conftest.
$ac_ext >&5
6599 ac_header_preproc
=no
6602 rm -f conftest.err conftest.
$ac_ext
6603 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6604 $as_echo "$ac_header_preproc" >&6; }
6606 # So? What about this header?
6607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6609 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6610 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6611 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6612 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6613 ac_header_preproc
=yes
6616 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6617 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6618 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6619 $as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6620 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6621 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6622 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6623 $as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6624 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6625 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6626 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6627 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6631 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
6632 $as_echo_n "checking for libintl.h... " >&6; }
6633 if test "${ac_cv_header_libintl_h+set}" = set; then
6634 $as_echo_n "(cached) " >&6
6636 ac_cv_header_libintl_h
=$ac_header_preproc
6638 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6639 $as_echo "$ac_cv_header_libintl_h" >&6; }
6642 if test "x$ac_cv_header_libintl_h" = x
""yes; then
6643 gt_cv_func_dgettext_libintl
="no"
6644 libintl_extra_libs
=""
6647 # First check in libc
6649 { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6650 $as_echo_n "checking for ngettext in libc... " >&6; }
6651 if test "${gt_cv_func_ngettext_libc+set}" = set; then
6652 $as_echo_n "(cached) " >&6
6654 cat >conftest.
$ac_ext <<_ACEOF
6657 cat confdefs.h
>>conftest.
$ac_ext
6658 cat >>conftest.
$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6661 #include <libintl.h>
6666 return !ngettext ("","", 1)
6671 rm -f conftest.
$ac_objext conftest
$ac_exeext
6672 if { (ac_try
="$ac_link"
6674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6675 *) ac_try_echo=$ac_try;;
6677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6678 $as_echo "$ac_try_echo") >&5
6679 (eval "$ac_link") 2>conftest.er1
6681 grep -v '^ *+' conftest.er1 >conftest.err
6683 cat conftest.err >&5
6684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); } && {
6686 test -z "$ac_c_werror_flag" ||
6687 test ! -s conftest.err
6688 } && test -s conftest$ac_exeext && {
6689 test "$cross_compiling" = yes ||
6690 $as_test_x conftest$ac_exeext
6692 gt_cv_func_ngettext_libc=yes
6694 $as_echo "$as_me: failed program was:" >&5
6695 sed 's/^/| /' conftest.$ac_ext >&5
6697 gt_cv_func_ngettext_libc=no
6700 rm -rf conftest.dSYM
6701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6702 conftest$ac_exeext conftest.$ac_ext
6705 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6706 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
6708 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6709 { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6710 $as_echo_n "checking for dgettext in libc... " >&6; }
6711 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6712 $as_echo_n "(cached) " >&6
6714 cat >conftest.$ac_ext <<_ACEOF
6717 cat confdefs.h >>conftest.$ac_ext
6718 cat >>conftest.$ac_ext <<_ACEOF
6719 /* end confdefs.h. */
6721 #include <libintl.h>
6726 return !dgettext ("","")
6731 rm -f conftest.$ac_objext conftest$ac_exeext
6732 if { (ac_try="$ac_link"
6734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6735 *) ac_try_echo
=$ac_try;;
6737 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6738 $as_echo "$ac_try_echo") >&5
6739 (eval "$ac_link") 2>conftest.er1
6741 grep -v '^ *+' conftest.er1
>conftest.err
6743 cat conftest.err
>&5
6744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); } && {
6746 test -z "$ac_c_werror_flag" ||
6747 test ! -s conftest.err
6748 } && test -s conftest
$ac_exeext && {
6749 test "$cross_compiling" = yes ||
6750 $as_test_x conftest
$ac_exeext
6752 gt_cv_func_dgettext_libc
=yes
6754 $as_echo "$as_me: failed program was:" >&5
6755 sed 's/^/| /' conftest.
$ac_ext >&5
6757 gt_cv_func_dgettext_libc
=no
6760 rm -rf conftest.dSYM
6761 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6762 conftest
$ac_exeext conftest.
$ac_ext
6765 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6766 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
6769 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6771 for ac_func
in bind_textdomain_codeset
6773 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6774 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6775 $as_echo_n "checking for $ac_func... " >&6; }
6776 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6777 $as_echo_n "(cached) " >&6
6779 cat >conftest.
$ac_ext <<_ACEOF
6782 cat confdefs.h
>>conftest.
$ac_ext
6783 cat >>conftest.
$ac_ext <<_ACEOF
6784 /* end confdefs.h. */
6785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6787 #define $ac_func innocuous_$ac_func
6789 /* System header to define __stub macros and hopefully few prototypes,
6790 which can conflict with char $ac_func (); below.
6791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6792 <limits.h> exists even on freestanding compilers. */
6795 # include <limits.h>
6797 # include <assert.h>
6802 /* Override any GCC internal prototype to avoid an error.
6803 Use char because int might match the return type of a GCC
6804 builtin and then its argument prototype would still apply. */
6809 /* The GNU C library defines this for functions which it implements
6810 to always fail with ENOSYS. Some functions are actually named
6811 something starting with __ and the normal name is an alias. */
6812 #if defined __stub_$ac_func || defined __stub___$ac_func
6824 rm -f conftest.
$ac_objext conftest
$ac_exeext
6825 if { (ac_try
="$ac_link"
6827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6828 *) ac_try_echo=$ac_try;;
6830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6831 $as_echo "$ac_try_echo") >&5
6832 (eval "$ac_link") 2>conftest.er1
6834 grep -v '^ *+' conftest.er1 >conftest.err
6836 cat conftest.err >&5
6837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6838 (exit $ac_status); } && {
6839 test -z "$ac_c_werror_flag" ||
6840 test ! -s conftest.err
6841 } && test -s conftest$ac_exeext && {
6842 test "$cross_compiling" = yes ||
6843 $as_test_x conftest$ac_exeext
6845 eval "$as_ac_var=yes"
6847 $as_echo "$as_me: failed program was:" >&5
6848 sed 's/^/| /' conftest.$ac_ext >&5
6850 eval "$as_ac_var=no"
6853 rm -rf conftest.dSYM
6854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6855 conftest$ac_exeext conftest.$ac_ext
6857 ac_res=`eval 'as_val=${'$as_ac_var'}
6858 $as_echo "$as_val"'`
6859 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6860 $as_echo "$ac_res" >&6; }
6861 as_val=`eval 'as_val=${'$as_ac_var'}
6862 $as_echo "$as_val"'`
6863 if test "x$as_val" = x""yes; then
6864 cat >>confdefs.h <<_ACEOF
6865 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6874 # If we don't have everything we want, check in libintl
6876 if test "$gt_cv_func_dgettext_libc" != "yes" \
6877 || test "$gt_cv_func_ngettext_libc" != "yes" \
6878 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6880 { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6881 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
6882 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6883 $as_echo_n "(cached) " >&6
6885 ac_check_lib_save_LIBS=$LIBS
6887 cat >conftest.$ac_ext <<_ACEOF
6890 cat confdefs.h >>conftest.$ac_ext
6891 cat >>conftest.$ac_ext <<_ACEOF
6892 /* end confdefs.h. */
6894 /* Override any GCC internal prototype to avoid an error.
6895 Use char because int might match the return type of a GCC
6896 builtin and then its argument prototype would still apply. */
6900 char bindtextdomain ();
6904 return bindtextdomain ();
6909 rm -f conftest.$ac_objext conftest$ac_exeext
6910 if { (ac_try="$ac_link"
6912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6913 *) ac_try_echo
=$ac_try;;
6915 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6916 $as_echo "$ac_try_echo") >&5
6917 (eval "$ac_link") 2>conftest.er1
6919 grep -v '^ *+' conftest.er1
>conftest.err
6921 cat conftest.err
>&5
6922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); } && {
6924 test -z "$ac_c_werror_flag" ||
6925 test ! -s conftest.err
6926 } && test -s conftest
$ac_exeext && {
6927 test "$cross_compiling" = yes ||
6928 $as_test_x conftest
$ac_exeext
6930 ac_cv_lib_intl_bindtextdomain
=yes
6932 $as_echo "$as_me: failed program was:" >&5
6933 sed 's/^/| /' conftest.
$ac_ext >&5
6935 ac_cv_lib_intl_bindtextdomain
=no
6938 rm -rf conftest.dSYM
6939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6940 conftest
$ac_exeext conftest.
$ac_ext
6941 LIBS
=$ac_check_lib_save_LIBS
6943 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
6944 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6945 if test "x$ac_cv_lib_intl_bindtextdomain" = x
""yes; then
6946 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6947 $as_echo_n "checking for ngettext in -lintl... " >&6; }
6948 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6949 $as_echo_n "(cached) " >&6
6951 ac_check_lib_save_LIBS
=$LIBS
6953 cat >conftest.
$ac_ext <<_ACEOF
6956 cat confdefs.h
>>conftest.
$ac_ext
6957 cat >>conftest.
$ac_ext <<_ACEOF
6958 /* end confdefs.h. */
6960 /* Override any GCC internal prototype to avoid an error.
6961 Use char because int might match the return type of a GCC
6962 builtin and then its argument prototype would still apply. */
6975 rm -f conftest.
$ac_objext conftest
$ac_exeext
6976 if { (ac_try
="$ac_link"
6978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6979 *) ac_try_echo=$ac_try;;
6981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6982 $as_echo "$ac_try_echo") >&5
6983 (eval "$ac_link") 2>conftest.er1
6985 grep -v '^ *+' conftest.er1 >conftest.err
6987 cat conftest.err >&5
6988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); } && {
6990 test -z "$ac_c_werror_flag" ||
6991 test ! -s conftest.err
6992 } && test -s conftest$ac_exeext && {
6993 test "$cross_compiling" = yes ||
6994 $as_test_x conftest$ac_exeext
6996 ac_cv_lib_intl_ngettext=yes
6998 $as_echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.$ac_ext >&5
7001 ac_cv_lib_intl_ngettext=no
7004 rm -rf conftest.dSYM
7005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7006 conftest$ac_exeext conftest.$ac_ext
7007 LIBS=$ac_check_lib_save_LIBS
7009 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7010 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
7011 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
7012 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
7013 $as_echo_n "checking for dgettext in -lintl... " >&6; }
7014 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
7015 $as_echo_n "(cached) " >&6
7017 ac_check_lib_save_LIBS=$LIBS
7019 cat >conftest.$ac_ext <<_ACEOF
7022 cat confdefs.h >>conftest.$ac_ext
7023 cat >>conftest.$ac_ext <<_ACEOF
7024 /* end confdefs.h. */
7026 /* Override any GCC internal prototype to avoid an error.
7027 Use char because int might match the return type of a GCC
7028 builtin and then its argument prototype would still apply. */
7041 rm -f conftest.$ac_objext conftest$ac_exeext
7042 if { (ac_try="$ac_link"
7044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7045 *) ac_try_echo
=$ac_try;;
7047 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7048 $as_echo "$ac_try_echo") >&5
7049 (eval "$ac_link") 2>conftest.er1
7051 grep -v '^ *+' conftest.er1
>conftest.err
7053 cat conftest.err
>&5
7054 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); } && {
7056 test -z "$ac_c_werror_flag" ||
7057 test ! -s conftest.err
7058 } && test -s conftest
$ac_exeext && {
7059 test "$cross_compiling" = yes ||
7060 $as_test_x conftest
$ac_exeext
7062 ac_cv_lib_intl_dgettext
=yes
7064 $as_echo "$as_me: failed program was:" >&5
7065 sed 's/^/| /' conftest.
$ac_ext >&5
7067 ac_cv_lib_intl_dgettext
=no
7070 rm -rf conftest.dSYM
7071 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7072 conftest
$ac_exeext conftest.
$ac_ext
7073 LIBS
=$ac_check_lib_save_LIBS
7075 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
7076 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
7077 if test "x$ac_cv_lib_intl_dgettext" = x
""yes; then
7078 gt_cv_func_dgettext_libintl
=yes
7086 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
7087 { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
7088 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
7089 { $as_echo "$as_me:$LINENO: result: " >&5
7091 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
7092 $as_echo_n "checking for ngettext in -lintl... " >&6; }
7093 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7094 $as_echo_n "(cached) " >&6
7096 ac_check_lib_save_LIBS
=$LIBS
7097 LIBS
="-lintl -liconv $LIBS"
7098 cat >conftest.
$ac_ext <<_ACEOF
7101 cat confdefs.h
>>conftest.
$ac_ext
7102 cat >>conftest.
$ac_ext <<_ACEOF
7103 /* end confdefs.h. */
7105 /* Override any GCC internal prototype to avoid an error.
7106 Use char because int might match the return type of a GCC
7107 builtin and then its argument prototype would still apply. */
7120 rm -f conftest.
$ac_objext conftest
$ac_exeext
7121 if { (ac_try
="$ac_link"
7123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7124 *) ac_try_echo=$ac_try;;
7126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7127 $as_echo "$ac_try_echo") >&5
7128 (eval "$ac_link") 2>conftest.er1
7130 grep -v '^ *+' conftest.er1 >conftest.err
7132 cat conftest.err >&5
7133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); } && {
7135 test -z "$ac_c_werror_flag" ||
7136 test ! -s conftest.err
7137 } && test -s conftest$ac_exeext && {
7138 test "$cross_compiling" = yes ||
7139 $as_test_x conftest$ac_exeext
7141 ac_cv_lib_intl_ngettext=yes
7143 $as_echo "$as_me: failed program was:" >&5
7144 sed 's/^/| /' conftest.$ac_ext >&5
7146 ac_cv_lib_intl_ngettext=no
7149 rm -rf conftest.dSYM
7150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7151 conftest$ac_exeext conftest.$ac_ext
7152 LIBS=$ac_check_lib_save_LIBS
7154 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7155 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
7156 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
7157 { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
7158 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
7159 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
7160 $as_echo_n "(cached) " >&6
7162 ac_check_lib_save_LIBS=$LIBS
7163 LIBS="-lintl -liconv $LIBS"
7164 cat >conftest.$ac_ext <<_ACEOF
7167 cat confdefs.h >>conftest.$ac_ext
7168 cat >>conftest.$ac_ext <<_ACEOF
7169 /* end confdefs.h. */
7171 /* Override any GCC internal prototype to avoid an error.
7172 Use char because int might match the return type of a GCC
7173 builtin and then its argument prototype would still apply. */
7181 return dcgettext ();
7186 rm -f conftest.$ac_objext conftest$ac_exeext
7187 if { (ac_try="$ac_link"
7189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7190 *) ac_try_echo
=$ac_try;;
7192 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7193 $as_echo "$ac_try_echo") >&5
7194 (eval "$ac_link") 2>conftest.er1
7196 grep -v '^ *+' conftest.er1
>conftest.err
7198 cat conftest.err
>&5
7199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200 (exit $ac_status); } && {
7201 test -z "$ac_c_werror_flag" ||
7202 test ! -s conftest.err
7203 } && test -s conftest
$ac_exeext && {
7204 test "$cross_compiling" = yes ||
7205 $as_test_x conftest
$ac_exeext
7207 ac_cv_lib_intl_dcgettext
=yes
7209 $as_echo "$as_me: failed program was:" >&5
7210 sed 's/^/| /' conftest.
$ac_ext >&5
7212 ac_cv_lib_intl_dcgettext
=no
7215 rm -rf conftest.dSYM
7216 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7217 conftest
$ac_exeext conftest.
$ac_ext
7218 LIBS
=$ac_check_lib_save_LIBS
7220 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
7221 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
7222 if test "x$ac_cv_lib_intl_dcgettext" = x
""yes; then
7223 gt_cv_func_dgettext_libintl
=yes
7224 libintl_extra_libs
=-liconv
7236 # If we found libintl, then check in it for bind_textdomain_codeset();
7237 # we'll prefer libc if neither have bind_textdomain_codeset(),
7238 # and both have dgettext and ngettext
7240 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7241 glib_save_LIBS
="$LIBS"
7242 LIBS
="$LIBS -lintl $libintl_extra_libs"
7243 unset ac_cv_func_bind_textdomain_codeset
7245 for ac_func
in bind_textdomain_codeset
7247 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7248 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7249 $as_echo_n "checking for $ac_func... " >&6; }
7250 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7251 $as_echo_n "(cached) " >&6
7253 cat >conftest.
$ac_ext <<_ACEOF
7256 cat confdefs.h
>>conftest.
$ac_ext
7257 cat >>conftest.
$ac_ext <<_ACEOF
7258 /* end confdefs.h. */
7259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7261 #define $ac_func innocuous_$ac_func
7263 /* System header to define __stub macros and hopefully few prototypes,
7264 which can conflict with char $ac_func (); below.
7265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7266 <limits.h> exists even on freestanding compilers. */
7269 # include <limits.h>
7271 # include <assert.h>
7276 /* Override any GCC internal prototype to avoid an error.
7277 Use char because int might match the return type of a GCC
7278 builtin and then its argument prototype would still apply. */
7283 /* The GNU C library defines this for functions which it implements
7284 to always fail with ENOSYS. Some functions are actually named
7285 something starting with __ and the normal name is an alias. */
7286 #if defined __stub_$ac_func || defined __stub___$ac_func
7298 rm -f conftest.
$ac_objext conftest
$ac_exeext
7299 if { (ac_try
="$ac_link"
7301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7302 *) ac_try_echo=$ac_try;;
7304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7305 $as_echo "$ac_try_echo") >&5
7306 (eval "$ac_link") 2>conftest.er1
7308 grep -v '^ *+' conftest.er1 >conftest.err
7310 cat conftest.err >&5
7311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7312 (exit $ac_status); } && {
7313 test -z "$ac_c_werror_flag" ||
7314 test ! -s conftest.err
7315 } && test -s conftest$ac_exeext && {
7316 test "$cross_compiling" = yes ||
7317 $as_test_x conftest$ac_exeext
7319 eval "$as_ac_var=yes"
7321 $as_echo "$as_me: failed program was:" >&5
7322 sed 's/^/| /' conftest.$ac_ext >&5
7324 eval "$as_ac_var=no"
7327 rm -rf conftest.dSYM
7328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7329 conftest$ac_exeext conftest.$ac_ext
7331 ac_res=`eval 'as_val=${'$as_ac_var'}
7332 $as_echo "$as_val"'`
7333 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7334 $as_echo "$ac_res" >&6; }
7335 as_val=`eval 'as_val=${'$as_ac_var'}
7336 $as_echo "$as_val"'`
7337 if test "x$as_val" = x""yes; then
7338 cat >>confdefs.h <<_ACEOF
7339 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7345 LIBS="$glib_save_LIBS"
7347 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7348 gt_cv_func_dgettext_libc=no
7350 if test "$gt_cv_func_dgettext_libc" = "yes" \
7351 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7352 gt_cv_func_dgettext_libintl=no
7358 if test "$gt_cv_func_dgettext_libc" = "yes" \
7359 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
7360 gt_cv_have_gettext=yes
7363 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7364 INTLLIBS="-lintl $libintl_extra_libs"
7367 if test "$gt_cv_have_gettext" = "yes"; then
7369 cat >>confdefs.h <<\_ACEOF
7370 #define HAVE_GETTEXT 1
7373 # Extract the first word of "msgfmt", so it can be a program name with args.
7374 set dummy msgfmt; ac_word=$2
7375 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if test "${ac_cv_path_MSGFMT+set}" = set; then
7378 $as_echo_n "(cached) " >&6
7382 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7385 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7386 for ac_dir in $PATH; do
7387 test -z "$ac_dir" && ac_dir=.
7388 if test -f $ac_dir/$ac_word; then
7389 if test -z "`$ac_dir/$ac_word -h 2>&1 |
grep 'dv '`"; then
7390 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7396 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
7400 MSGFMT="$ac_cv_path_MSGFMT"
7401 if test "$MSGFMT" != "no"; then
7402 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
7403 $as_echo "$MSGFMT" >&6; }
7405 { $as_echo "$as_me:$LINENO: result: no" >&5
7406 $as_echo "no" >&6; }
7408 if test "$MSGFMT" != "no"; then
7409 glib_save_LIBS="$LIBS"
7410 LIBS="$LIBS $INTLLIBS"
7412 for ac_func in dcgettext
7414 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7415 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7416 $as_echo_n "checking for $ac_func... " >&6; }
7417 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7418 $as_echo_n "(cached) " >&6
7420 cat >conftest.$ac_ext <<_ACEOF
7423 cat confdefs.h >>conftest.$ac_ext
7424 cat >>conftest.$ac_ext <<_ACEOF
7425 /* end confdefs.h. */
7426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7428 #define $ac_func innocuous_$ac_func
7430 /* System header to define __stub macros and hopefully few prototypes,
7431 which can conflict with char $ac_func (); below.
7432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7433 <limits.h> exists even on freestanding compilers. */
7436 # include <limits.h>
7438 # include <assert.h>
7443 /* Override any GCC internal prototype to avoid an error.
7444 Use char because int might match the return type of a GCC
7445 builtin and then its argument prototype would still apply. */
7450 /* The GNU C library defines this for functions which it implements
7451 to always fail with ENOSYS. Some functions are actually named
7452 something starting with __ and the normal name is an alias. */
7453 #if defined __stub_$ac_func || defined __stub___$ac_func
7465 rm -f conftest.$ac_objext conftest$ac_exeext
7466 if { (ac_try="$ac_link"
7468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7469 *) ac_try_echo
=$ac_try;;
7471 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7472 $as_echo "$ac_try_echo") >&5
7473 (eval "$ac_link") 2>conftest.er1
7475 grep -v '^ *+' conftest.er1
>conftest.err
7477 cat conftest.err
>&5
7478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479 (exit $ac_status); } && {
7480 test -z "$ac_c_werror_flag" ||
7481 test ! -s conftest.err
7482 } && test -s conftest
$ac_exeext && {
7483 test "$cross_compiling" = yes ||
7484 $as_test_x conftest
$ac_exeext
7486 eval "$as_ac_var=yes"
7488 $as_echo "$as_me: failed program was:" >&5
7489 sed 's/^/| /' conftest.
$ac_ext >&5
7491 eval "$as_ac_var=no"
7494 rm -rf conftest.dSYM
7495 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7496 conftest
$ac_exeext conftest.
$ac_ext
7498 ac_res
=`eval 'as_val=${'$as_ac_var'}
7499 $as_echo "$as_val"'`
7500 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7501 $as_echo "$ac_res" >&6; }
7502 as_val
=`eval 'as_val=${'$as_ac_var'}
7503 $as_echo "$as_val"'`
7504 if test "x$as_val" = x
""yes; then
7505 cat >>confdefs.h
<<_ACEOF
7506 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7513 { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
7514 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
7515 cat >conftest.foo
<<_ACEOF
7519 "Content-Type: text/plain; charset=UTF-8\n"
7520 "Project-Id-Version: test 1.0\n"
7521 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
7522 "Last-Translator: test <foo@bar.xx>\n"
7523 "Language-Team: C <LL@li.org>\n"
7524 "MIME-Version: 1.0\n"
7525 "Content-Transfer-Encoding: 8bit\n"
7528 if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
7529 ($MSGFMT -c -o /dev
/null conftest.foo
) 2>&5
7531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; then
7533 MSGFMT_OPTS
=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
7534 $as_echo "yes" >&6; }
7535 else { $as_echo "$as_me:$LINENO: result: no" >&5
7536 $as_echo "no" >&6; }
7537 echo "$as_me: failed input was:" >&5
7538 sed 's/^/| /' conftest.foo
>&5
7541 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7542 set dummy gmsgfmt
; ac_word
=$2
7543 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7544 $as_echo_n "checking for $ac_word... " >&6; }
7545 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7546 $as_echo_n "(cached) " >&6
7550 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7557 test -z "$as_dir" && as_dir
=.
7558 for ac_exec_ext
in '' $ac_executable_extensions; do
7559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7560 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7561 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7572 GMSGFMT
=$ac_cv_path_GMSGFMT
7573 if test -n "$GMSGFMT"; then
7574 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7575 $as_echo "$GMSGFMT" >&6; }
7577 { $as_echo "$as_me:$LINENO: result: no" >&5
7578 $as_echo "no" >&6; }
7582 # Extract the first word of "xgettext", so it can be a program name with args.
7583 set dummy xgettext
; ac_word
=$2
7584 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7585 $as_echo_n "checking for $ac_word... " >&6; }
7586 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7587 $as_echo_n "(cached) " >&6
7591 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7594 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7595 for ac_dir
in $PATH; do
7596 test -z "$ac_dir" && ac_dir
=.
7597 if test -f $ac_dir/$ac_word; then
7598 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7599 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7605 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7609 XGETTEXT
="$ac_cv_path_XGETTEXT"
7610 if test "$XGETTEXT" != ":"; then
7611 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7612 $as_echo "$XGETTEXT" >&6; }
7614 { $as_echo "$as_me:$LINENO: result: no" >&5
7615 $as_echo "no" >&6; }
7618 cat >conftest.
$ac_ext <<_ACEOF
7621 cat confdefs.h
>>conftest.
$ac_ext
7622 cat >>conftest.
$ac_ext <<_ACEOF
7623 /* end confdefs.h. */
7628 extern int _nl_msg_cat_cntr;
7629 return _nl_msg_cat_cntr
7634 rm -f conftest.
$ac_objext conftest
$ac_exeext
7635 if { (ac_try
="$ac_link"
7637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7638 *) ac_try_echo=$ac_try;;
7640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7641 $as_echo "$ac_try_echo") >&5
7642 (eval "$ac_link") 2>conftest.er1
7644 grep -v '^ *+' conftest.er1 >conftest.err
7646 cat conftest.err >&5
7647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 (exit $ac_status); } && {
7649 test -z "$ac_c_werror_flag" ||
7650 test ! -s conftest.err
7651 } && test -s conftest$ac_exeext && {
7652 test "$cross_compiling" = yes ||
7653 $as_test_x conftest$ac_exeext
7658 $as_echo "$as_me: failed program was:" >&5
7659 sed 's/^/| /' conftest.$ac_ext >&5
7663 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7664 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
7665 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7666 $as_echo_n "(cached) " >&6
7668 cat >conftest.$ac_ext <<_ACEOF
7671 cat confdefs.h >>conftest.$ac_ext
7672 cat >>conftest.$ac_ext <<_ACEOF
7673 /* end confdefs.h. */
7674 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7676 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7678 /* System header to define __stub macros and hopefully few prototypes,
7679 which can conflict with char bind_textdomain_codeset (); below.
7680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7681 <limits.h> exists even on freestanding compilers. */
7684 # include <limits.h>
7686 # include <assert.h>
7689 #undef bind_textdomain_codeset
7691 /* Override any GCC internal prototype to avoid an error.
7692 Use char because int might match the return type of a GCC
7693 builtin and then its argument prototype would still apply. */
7697 char bind_textdomain_codeset ();
7698 /* The GNU C library defines this for functions which it implements
7699 to always fail with ENOSYS. Some functions are actually named
7700 something starting with __ and the normal name is an alias. */
7701 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7708 return bind_textdomain_codeset ();
7713 rm -f conftest.$ac_objext conftest$ac_exeext
7714 if { (ac_try="$ac_link"
7716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7717 *) ac_try_echo
=$ac_try;;
7719 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7720 $as_echo "$ac_try_echo") >&5
7721 (eval "$ac_link") 2>conftest.er1
7723 grep -v '^ *+' conftest.er1
>conftest.err
7725 cat conftest.err
>&5
7726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7727 (exit $ac_status); } && {
7728 test -z "$ac_c_werror_flag" ||
7729 test ! -s conftest.err
7730 } && test -s conftest
$ac_exeext && {
7731 test "$cross_compiling" = yes ||
7732 $as_test_x conftest
$ac_exeext
7734 ac_cv_func_bind_textdomain_codeset
=yes
7736 $as_echo "$as_me: failed program was:" >&5
7737 sed 's/^/| /' conftest.
$ac_ext >&5
7739 ac_cv_func_bind_textdomain_codeset
=no
7742 rm -rf conftest.dSYM
7743 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7744 conftest
$ac_exeext conftest.
$ac_ext
7746 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7747 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
7748 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then
7764 rm -rf conftest.dSYM
7765 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7766 conftest
$ac_exeext conftest.
$ac_ext
7767 LIBS
="$glib_save_LIBS"
7770 gt_cv_have_gettext
=no
7778 if test "$gt_cv_have_gettext" = "yes" ; then
7780 cat >>confdefs.h
<<\_ACEOF
7781 #define ENABLE_NLS 1
7786 if test "$XGETTEXT" != ":"; then
7787 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7790 { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7791 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
7796 # We need to process the po/ directory.
7799 ac_config_commands
="$ac_config_commands default-1"
7802 for lang
in $ALL_LINGUAS; do
7803 GMOFILES
="$GMOFILES $lang.gmo"
7804 POFILES
="$POFILES $lang.po"
7819 if test "$gt_cv_have_gettext" = "yes"; then
7820 if test "x$ALL_LINGUAS" = "x"; then
7823 { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7824 $as_echo_n "checking for catalogs to be installed... " >&6; }
7826 for presentlang
in $ALL_LINGUAS; do
7828 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7829 desiredlanguages
="$LINGUAS"
7831 desiredlanguages
="$ALL_LINGUAS"
7833 for desiredlang
in $desiredlanguages; do
7834 # Use the presentlang catalog if desiredlang is
7835 # a. equal to presentlang, or
7836 # b. a variant of presentlang (because in this case,
7837 # presentlang can be used as a fallback for messages
7838 # which are not translated in the desiredlang catalog).
7839 case "$desiredlang" in
7840 "$presentlang"*) useit
=yes;;
7843 if test $useit = yes; then
7844 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
7847 LINGUAS
=$NEW_LINGUAS
7848 { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
7849 $as_echo "$LINGUAS" >&6; }
7852 if test -n "$LINGUAS"; then
7853 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
7858 if test -n "$ac_aux_dir"; then
7859 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
7861 if test -z "$MKINSTALLDIRS"; then
7862 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
7866 test -d po || mkdir po
7867 if test "x$srcdir" != "x."; then
7868 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7869 posrcprefix
="$srcdir/"
7871 posrcprefix
="../$srcdir/"
7877 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7878 < $srcdir/po
/POTFILES.
in > po
/POTFILES
7881 ac_config_files
="$ac_config_files Makefile src/Makefile src/ttsubset/Makefile po/Makefile.in"
7883 cat >confcache
<<\_ACEOF
7884 # This file is a shell script that caches the results of configure
7885 # tests run on this system so they can be shared between configure
7886 # scripts and configure runs, see configure's option --config-cache.
7887 # It is not useful on other systems. If it contains results you don't
7888 # want to keep, you may remove or edit it.
7890 # config.status only pays attention to the cache file if you give it
7891 # the --recheck option to rerun configure.
7893 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7894 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7899 # The following way of writing the cache mishandles newlines in values,
7900 # but we know of no workaround that is simple, portable, and efficient.
7901 # So, we kill variables containing newlines.
7902 # Ultrix sh set writes to stderr and can't be redirected directly,
7903 # and sets the high bit in the cache file unless we assign to the vars.
7905 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7906 eval ac_val
=\$
$ac_var
7910 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
7911 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7914 _ | IFS | as_nl
) ;; #(
7915 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7916 *) $as_unset $ac_var ;;
7922 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7923 *${as_nl}ac_space
=\
*)
7924 # `set' does not quote correctly, so add quotes (double-quote
7925 # substitution turns \\\\ into \\, and sed turns \\ into \).
7928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7931 # `set' quotes correctly as required by POSIX, so do not add quotes.
7932 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7941 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7943 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7945 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7946 if test -w "$cache_file"; then
7947 test "x$cache_file" != "x/dev/null" &&
7948 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
7949 $as_echo "$as_me: updating cache $cache_file" >&6;}
7950 cat confcache
>$cache_file
7952 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7953 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7958 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7959 # Let make expand exec_prefix.
7960 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7962 DEFS
=-DHAVE_CONFIG_H
7966 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7967 # 1. Remove the extension, and $U if already installed.
7968 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7969 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7970 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7971 # will be set to the directory where LIBOBJS objects are built.
7972 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7973 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7977 LTLIBOBJS
=$ac_ltlibobjs
7980 if test -n "$EXEEXT"; then
7982 am__EXEEXT_FALSE
='#'
7988 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7989 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7990 Usually this means the macro was only invoked conditionally." >&5
7991 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7992 Usually this means the macro was only invoked conditionally." >&2;}
7993 { (exit 1); exit 1; }; }
7995 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7996 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7997 Usually this means the macro was only invoked conditionally." >&5
7998 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
7999 Usually this means the macro was only invoked conditionally." >&2;}
8000 { (exit 1); exit 1; }; }
8002 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8003 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8004 Usually this means the macro was only invoked conditionally." >&5
8005 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8006 Usually this means the macro was only invoked conditionally." >&2;}
8007 { (exit 1); exit 1; }; }
8009 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8010 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8011 Usually this means the macro was only invoked conditionally." >&5
8012 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8013 Usually this means the macro was only invoked conditionally." >&2;}
8014 { (exit 1); exit 1; }; }
8016 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8017 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8018 Usually this means the macro was only invoked conditionally." >&5
8019 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8020 Usually this means the macro was only invoked conditionally." >&2;}
8021 { (exit 1); exit 1; }; }
8023 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
8024 { { $as_echo "$as_me:$LINENO: error: conditional \"WIN32\" was never defined.
8025 Usually this means the macro was only invoked conditionally." >&5
8026 $as_echo "$as_me: error: conditional \"WIN32\" was never defined.
8027 Usually this means the macro was only invoked conditionally." >&2;}
8028 { (exit 1); exit 1; }; }
8031 : ${CONFIG_STATUS=./config.status}
8033 ac_clean_files_save
=$ac_clean_files
8034 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8035 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8036 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8037 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8039 # Generated by $as_me.
8040 # Run this file to recreate the current configuration.
8041 # Compiler output produced by configure, useful for debugging
8042 # configure, is in config.log if it exists.
8047 SHELL=\${CONFIG_SHELL-$SHELL}
8050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8051 ## --------------------- ##
8052 ## M4sh Initialization. ##
8053 ## --------------------- ##
8055 # Be more Bourne compatible
8056 DUALCASE
=1; export DUALCASE
# for MKS sh
8057 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8060 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8061 # is contrary to our usage. Disable this feature.
8062 alias -g '${1+"$@"}'='"$@"'
8063 setopt NO_GLOB_SUBST
8065 case `(set -o) 2>/dev/null` in
8066 *posix
*) set -o posix
;;
8075 # Avoid depending upon Character Ranges.
8076 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8077 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8078 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8079 as_cr_digits
='0123456789'
8080 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8085 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8086 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8087 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8088 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8089 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8090 as_echo='printf %s
\n'
8091 as_echo_n='printf %s
'
8093 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8094 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8095 as_echo_n='/usr
/ucb
/echo -n'
8097 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8098 as_echo_n_body='eval
8102 expr "X$arg" : "X\\(.*\\)$as_nl";
8103 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8105 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8107 export as_echo_n_body
8108 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8111 as_echo='sh
-c $as_echo_body as_echo
'
8114 # The user is always right.
8115 if test "${PATH_SEPARATOR+set}" != set; then
8117 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8118 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8123 # Support unset when possible.
8124 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8132 # We need space, tab and new line, in precisely that order. Quoting is
8133 # there to prevent editors from complaining about space-tab.
8134 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8135 # splitting by setting IFS to empty value.)
8138 # Find who we are. Look in the path if we contain no directory separator.
8140 *[\\/]* ) as_myself=$0 ;;
8141 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8145 test -z "$as_dir" && as_dir=.
8146 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8152 # We did not find ourselves, most probably we were run as `sh COMMAND'
8153 # in which case we are not to be found in the path.
8154 if test "x$as_myself" = x
; then
8157 if test ! -f "$as_myself"; then
8158 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8159 { (exit 1); exit 1; }
8162 # Work around bugs in pre-3.0 UWIN ksh.
8163 for as_var
in ENV MAIL MAILPATH
8164 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8176 # Required to use basename.
8177 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8178 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8184 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8185 as_basename
=basename
8191 # Name of the executable.
8192 as_me
=`$as_basename -- "$0" ||
8193 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8194 X"$0" : 'X\(//\)$' \| \
8195 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8197 sed '/^.*\/\([^/][^/]*\)\/*$/{
8218 test "x$as_lineno_1" != "x$as_lineno_2" &&
8219 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
8221 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8222 # uniformly replaced by the line number. The first 'sed' inserts a
8223 # line-number line after each line using $LINENO; the second 'sed'
8224 # does the real work. The second script uses 'N' to pair each
8225 # line-number line with the line containing $LINENO, and appends
8226 # trailing '-' during substitution so that $LINENO is not a special
8228 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8229 # scripts with optimization help from Paolo Bonzini. Blame Lee
8230 # E. McMahon (1931-1989) for sed's syntax. :-)
8242 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8246 chmod +x
"$as_me.lineno" ||
8247 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8248 { (exit 1); exit 1; }; }
8250 # Don't try to exec as it changes $[0], causing all sort of problems
8251 # (the dirname of $[0] is not the place where we might find the
8252 # original and so on. Autoconf is especially sensitive to this).
8254 # Exit status is that of the last command.
8259 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8265 ECHO_C
= ECHO_N
= ECHO_T
=
8268 case `echo 'x\c'` in
8269 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8275 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8276 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8282 rm -f conf$$ conf$$.exe conf$$.
file
8283 if test -d conf$$.dir
; then
8284 rm -f conf$$.dir
/conf$$.
file
8287 mkdir conf$$.dir
2>/dev
/null
8289 if (echo >conf$$.
file) 2>/dev
/null
; then
8290 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8292 # ... but there are two gotchas:
8293 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8294 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8295 # In both cases, we have to default to `cp -p'.
8296 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8298 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8306 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8307 rmdir conf$$.dir
2>/dev
/null
8309 if mkdir
-p .
2>/dev
/null
; then
8312 test -d .
/-p && rmdir .
/-p
8316 if test -x / >/dev
/null
2>&1; then
8319 if ls -dL / >/dev
/null
2>&1; then
8326 if test -d "$1"; then
8332 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8333 ???[sx]*):;;*)false;;esac;fi
8337 as_executable_p
=$as_test_x
8339 # Sed expression to map a string onto a valid CPP name.
8340 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8342 # Sed expression to map a string onto a valid variable name.
8343 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8348 # Save the log message, to keep $[0] and so on meaningful, and to
8349 # report actual input values of CONFIG_FILES etc. instead of their
8350 # values after options handling.
8352 This file was extended by $as_me, which was
8353 generated by GNU Autoconf 2.63. Invocation command line was
8355 CONFIG_FILES = $CONFIG_FILES
8356 CONFIG_HEADERS = $CONFIG_HEADERS
8357 CONFIG_LINKS = $CONFIG_LINKS
8358 CONFIG_COMMANDS = $CONFIG_COMMANDS
8361 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8366 case $ac_config_files in *"
8367 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8370 case $ac_config_headers in *"
8371 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8376 # Files that config.status was made for.
8377 config_files="$ac_config_files"
8378 config_headers="$ac_config_headers"
8379 config_commands="$ac_config_commands"
8383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8385 \`$as_me' instantiates files from templates according to the
8386 current configuration.
8388 Usage: $0 [OPTION]... [FILE]...
8390 -h, --help print this help, then exit
8391 -V, --version print version number and configuration settings, then exit
8392 -q, --quiet, --silent
8393 do not print progress messages
8394 -d, --debug don't remove temporary files
8395 --recheck update $as_me by reconfiguring in the same conditions
8396 --file=FILE[:TEMPLATE]
8397 instantiate the configuration file FILE
8398 --header=FILE[:TEMPLATE]
8399 instantiate the configuration header FILE
8401 Configuration files:
8404 Configuration headers:
8407 Configuration commands:
8410 Report bugs to <bug-autoconf@gnu.org>."
8413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8416 configured by $0, generated by GNU Autoconf 2.63,
8417 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8419 Copyright (C) 2008 Free Software Foundation, Inc.
8420 This config.status script is free software; the Free Software Foundation
8421 gives unlimited permission to copy, distribute and modify it."
8428 test -n "\$AWK" || AWK=awk
8431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8432 # The default lists apply if the user does not specify any file.
8438 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8439 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8450 # Handling of the options.
8451 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8453 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8454 $as_echo "$ac_cs_version"; exit ;;
8455 --debug |
--debu |
--deb |
--de |
--d |
-d )
8457 --file |
--fil |
--fi |
--f )
8460 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8462 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
8463 ac_need_defaults
=false
;;
8464 --header |
--heade |
--head |
--hea )
8467 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8469 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
8470 ac_need_defaults
=false
;;
8472 # Conflict between --help and --header
8473 { $as_echo "$as_me: error: ambiguous option: $1
8474 Try \`$0 --help' for more information." >&2
8475 { (exit 1); exit 1; }; };;
8476 --help |
--hel |
-h )
8477 $as_echo "$ac_cs_usage"; exit ;;
8478 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8479 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8483 -*) { $as_echo "$as_me: error: unrecognized option: $1
8484 Try \`$0 --help' for more information." >&2
8485 { (exit 1); exit 1; }; } ;;
8487 *) ac_config_targets
="$ac_config_targets $1"
8488 ac_need_defaults
=false
;;
8494 ac_configure_extra_args
=
8496 if $ac_cs_silent; then
8498 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8503 if \$ac_cs_recheck; then
8504 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8506 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8507 CONFIG_SHELL='$SHELL'
8513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8517 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8518 ## Running $as_me. ##
8524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8528 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8535 # Handling of arguments.
8536 for ac_config_target
in $ac_config_targets
8538 case $ac_config_target in
8539 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8540 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8541 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8542 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8543 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
8544 "src/ttsubset/Makefile") CONFIG_FILES
="$CONFIG_FILES src/ttsubset/Makefile" ;;
8545 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
8547 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8548 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8549 { (exit 1); exit 1; }; };;
8554 # If the user did not use the arguments to specify the items to instantiate,
8555 # then the envvar interface is used. Set only those that are not.
8556 # We use the long form for the default assignment because of an extremely
8557 # bizarre bug on SunOS 4.1.3.
8558 if $ac_need_defaults; then
8559 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8560 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8561 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8564 # Have a temporary directory for convenience. Make it in the build tree
8565 # simply because there is no reason against having it here, and in addition,
8566 # creating and moving files from /tmp can sometimes cause problems.
8567 # Hook for its removal unless debugging.
8568 # Note that there is a small window in which the directory will not be cleaned:
8569 # after its creation but before its name has been assigned to `$tmp'.
8573 trap 'exit_status=$?
8574 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8576 trap '{ (exit 1); exit 1; }' 1 2 13 15
8578 # Create a (secure) tmp directory for tmp files.
8581 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8582 test -n "$tmp" && test -d "$tmp"
8585 tmp
=.
/conf$$
-$RANDOM
8586 (umask 077 && mkdir
"$tmp")
8589 $as_echo "$as_me: cannot create a temporary directory in ." >&2
8590 { (exit 1); exit 1; }
8593 # Set up the scripts for CONFIG_FILES section.
8594 # No need to generate them if there are no CONFIG_FILES.
8595 # This happens for instance with `./config.status config.h'.
8596 if test -n "$CONFIG_FILES"; then
8600 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8601 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8607 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8612 echo "cat >conf$$subs.awk <<_ACEOF" &&
8613 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8616 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
8617 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
8618 { (exit 1); exit 1; }; }
8619 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8621 for ac_last_try in false false false false false :; do
8622 . ./conf$$subs.sh ||
8623 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
8624 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
8625 { (exit 1); exit 1; }; }
8627 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8628 if test $ac_delim_n = $ac_delim_num; then
8630 elif $ac_last_try; then
8631 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
8632 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
8633 { (exit 1); exit 1; }; }
8635 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8641 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8645 s/^/S["/; s
/!.
*/"]=/
8655 s/\(.\{148\}\).*/\1/
8657 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8662 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8669 s/\(.\{148\}\).*/\1/
8671 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8675 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8680 ' <conf$$subs.awk | sed '
8685 ' >>$CONFIG_STATUS || ac_write_fail=1
8686 rm -f conf$$subs.awk
8687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8689 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8690 for (key in S) S_is_set[key] = 1
8696 nfields = split(line, field, "@
")
8698 len = length(field[1])
8699 for (i = 2; i < nfields; i++) {
8701 keylen = length(key)
8702 if (S_is_set[key]) {
8704 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8705 len += length(value) + length(field[++i])
8716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8717 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8718 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8721 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8722 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
8723 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
8724 { (exit 1); exit 1; }; }
8727 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8728 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8729 # trailing colons and then remove the whole line if VPATH becomes empty
8730 # (actually we leave an empty line to preserve line numbers).
8731 if test "x
$srcdir" = x.; then
8732 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8736 s/^\([^=]*=[ ]*\):*/\1/
8742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8743 fi # test -n "$CONFIG_FILES"
8745 # Set up the scripts for CONFIG_HEADERS section.
8746 # No need to generate them if there are no CONFIG_HEADERS.
8747 # This happens for instance with `./config.status Makefile'.
8748 if test -n "$CONFIG_HEADERS"; then
8749 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8753 # Transform confdefs.h into an awk script `defines.awk', embedded as
8754 # here-document in config.status, that substitutes the proper values into
8755 # config.h.in to produce config.h.
8757 # Create a delimiter string that does not exist in confdefs.h, to ease
8758 # handling of long lines.
8760 for ac_last_try in false false :; do
8761 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8762 if test -z "$ac_t"; then
8764 elif $ac_last_try; then
8765 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
8766 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
8767 { (exit 1); exit 1; }; }
8769 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8773 # For the awk script, D is an array of macro values keyed by name,
8774 # likewise P contains macro parameters if any. Preserve backslash
8775 # newline sequences.
8777 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8779 s/.\{148\}/&'"$ac_delim"'/g
8782 s/^[ ]*#[ ]*define[ ][ ]*/ /
8789 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8791 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8795 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8796 D["\
1"]=" \
3\\\\\\n
"\\/p
8798 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8803 s/.\{148\}/&'"$ac_delim"'/g
8808 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8811 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8813 ' <confdefs.h | sed '
8814 s/'"$ac_delim"'/"\\\
8815 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8818 for (key in D) D_is_set[key] = 1
8821 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8823 split(line, arg, " ")
8824 if (arg[1] == "#") {
8828 defundef
= substr
(arg
[1], 2)
8831 split(mac1
, mac2
, "(") #)
8833 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8834 if (D_is_set
[macro
]) {
8835 # Preserve the white space surrounding the "#".
8836 print prefix
"define", macro P
[macro
] D
[macro
]
8839 # Replace #undef with comments. This is necessary, for example,
8840 # in the case of _POSIX_SOURCE, which is predefined and required
8841 # on some systems where configure will not decide to define it.
8842 if (defundef
== "undef") {
8843 print
"/*", prefix defundef
, macro
, "*/"
8851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8852 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
8853 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
8854 { (exit 1); exit 1; }; }
8855 fi # test -n "$CONFIG_HEADERS"
8858 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8863 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8865 case $ac_mode$ac_tag in
8867 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
8868 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
8869 { (exit 1); exit 1; }; };;
8870 :[FH
]-) ac_tag
=-:-;;
8871 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8888 -) ac_f
="$tmp/stdin";;
8889 *) # Look for the file first in the build tree, then in the source tree
8890 # (if the path is not absolute). The absolute path cannot be DOS-style,
8891 # because $ac_f cannot contain `:'.
8895 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8897 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8898 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8899 { (exit 1); exit 1; }; };;
8901 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8902 ac_file_inputs
="$ac_file_inputs '$ac_f'"
8905 # Let's still pretend it is `configure' which instantiates (i.e., don't
8906 # use $as_me), people would be surprised to read:
8907 # /* config.h. Generated by config.status. */
8908 configure_input
='Generated from '`
8909 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8911 if test x
"$ac_file" != x-
; then
8912 configure_input
="$ac_file. $configure_input"
8913 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
8914 $as_echo "$as_me: creating $ac_file" >&6;}
8916 # Neutralize special characters interpreted by sed in replacement strings.
8917 case $configure_input in #(
8918 *\
&* |
*\|
* |
*\\* )
8919 ac_sed_conf_input
=`$as_echo "$configure_input" |
8920 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8921 *) ac_sed_conf_input
=$configure_input;;
8925 *:-:* |
*:-) cat >"$tmp/stdin" \
8926 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8927 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8928 { (exit 1); exit 1; }; } ;;
8933 ac_dir
=`$as_dirname -- "$ac_file" ||
8934 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8935 X"$ac_file" : 'X\(//\)[^/]' \| \
8936 X"$ac_file" : 'X\(//\)$' \| \
8937 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8938 $as_echo X"$ac_file" |
8939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8958 -*) as_dir
=.
/$as_dir;;
8960 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8964 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8965 *) as_qdir
=$as_dir;;
8967 as_dirs
="'$as_qdir' $as_dirs"
8968 as_dir
=`$as_dirname -- "$as_dir" ||
8969 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8970 X"$as_dir" : 'X\(//\)[^/]' \| \
8971 X"$as_dir" : 'X\(//\)$' \| \
8972 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8973 $as_echo X"$as_dir" |
8974 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8991 test -d "$as_dir" && break
8993 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8994 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8995 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8996 { (exit 1); exit 1; }; }; }
9000 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9002 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9003 # A ".." for each directory in $ac_dir_suffix.
9004 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9005 case $ac_top_builddir_sub in
9006 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9007 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9010 ac_abs_top_builddir
=$ac_pwd
9011 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9012 # for backward compatibility:
9013 ac_top_builddir
=$ac_top_build_prefix
9016 .
) # We are building in place.
9018 ac_top_srcdir
=$ac_top_builddir_sub
9019 ac_abs_top_srcdir
=$ac_pwd ;;
9020 [\\/]* | ?
:[\\/]* ) # Absolute name.
9021 ac_srcdir
=$srcdir$ac_dir_suffix;
9022 ac_top_srcdir
=$srcdir
9023 ac_abs_top_srcdir
=$srcdir ;;
9025 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9026 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9027 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9029 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9039 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9040 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9044 [\\/$
]* | ?
:[\\/]* ) ;;
9045 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9050 # If the template does not know about datarootdir, expand it.
9051 # FIXME: This hack should be removed a few years after 2.60.
9052 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9065 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9066 *datarootdir
*) ac_datarootdir_seen
=yes;;
9067 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9068 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9069 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9072 ac_datarootdir_hack='
9073 s&@datadir@&$datadir&g
9074 s&@docdir@&$docdir&g
9075 s&@infodir@&$infodir&g
9076 s&@localedir@&$localedir&g
9077 s&@mandir@&$mandir&g
9078 s&\\\${datarootdir}&$datarootdir&g' ;;
9082 # Neutralize VPATH when `$srcdir' = `.'.
9083 # Shell code in configure.ac might set extrasub.
9084 # FIXME: do we really want to maintain this feature?
9085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9086 ac_sed_extra="$ac_vpsub
9089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9091 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9092 s|@configure_input@|
$ac_sed_conf_input|
;t t
9093 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9094 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9095 s
&@srcdir@
&$ac_srcdir&;t t
9096 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9097 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9098 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9099 s
&@builddir@
&$ac_builddir&;t t
9100 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9101 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9102 s
&@INSTALL@
&$ac_INSTALL&;t t
9103 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9104 $ac_datarootdir_hack
9106 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9107 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
9108 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
9109 { (exit 1); exit 1; }; }
9111 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9112 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9113 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9114 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9115 which seems to be undefined. Please make sure it is defined." >&5
9116 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9117 which seems to be undefined. Please make sure it is defined." >&2;}
9121 -) cat "$tmp/out" && rm -f "$tmp/out";;
9122 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9124 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9125 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9126 { (exit 1); exit 1; }; }
9132 if test x"$ac_file" != x-; then
9134 $as_echo "/* $configure_input */" \
9135 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9136 } >"$tmp/config.h" \
9137 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9138 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9139 { (exit 1); exit 1; }; }
9140 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9141 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9142 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9145 mv "$tmp/config.h" "$ac_file" \
9146 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9147 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9148 { (exit 1); exit 1; }; }
9151 $as_echo "/* $configure_input */" \
9152 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9153 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
9154 $as_echo "$as_me: error: could not create -" >&2;}
9155 { (exit 1); exit 1; }; }
9157 # Compute "$ac_file"'s index
in $config_headers.
9160 for _am_header
in $config_headers :; do
9162 $_am_arg |
$_am_arg:* )
9165 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9168 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9169 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9170 X"$_am_arg" : 'X\(//\)[^/]' \| \
9171 X"$_am_arg" : 'X\(//\)$' \| \
9172 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9173 $as_echo X"$_am_arg" |
9174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9190 s/.*/./; q'`/stamp-h
$_am_stamp_count
9193 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
9194 $as_echo "$as_me: executing $ac_file commands" >&6;}
9199 case $ac_file$ac_mode in
9200 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9201 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9202 # are listed without --file. Let's play safe and only enable the eval
9203 # if we detect the quoting.
9204 case $CONFIG_FILES in
9205 *\'*) eval set x
"$CONFIG_FILES" ;;
9206 *) set x
$CONFIG_FILES ;;
9211 # Strip MF so we end up with the name of the file.
9212 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9213 # Check whether this is an Automake generated Makefile or not.
9214 # We used to match only the files named `Makefile.in', but
9215 # some people rename them; so instead we look at the file content.
9216 # Grep'ing the first line is not enough: some people post-process
9217 # each Makefile.in and add a new line on top of each file to say so.
9218 # Grep'ing the whole file is not good either: AIX grep has a line
9219 # limit of 2048, but all sed's we know have understand at least 4000.
9220 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9221 dirpart
=`$as_dirname -- "$mf" ||
9222 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9223 X"$mf" : 'X\(//\)[^/]' \| \
9224 X"$mf" : 'X\(//\)$' \| \
9225 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9247 # Extract the definition of DEPDIR, am__include, and am__quote
9248 # from the Makefile without running `make'.
9249 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9250 test -z "$DEPDIR" && continue
9251 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9252 test -z "am__include" && continue
9253 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9254 # When using ansi2knr, U may be empty or an underscore; expand it
9255 U
=`sed -n 's/^U = //p' < "$mf"`
9256 # Find all dependency output files, they are included files with
9257 # $(DEPDIR) in their names. We invoke sed twice because it is the
9258 # simplest approach to changing $(DEPDIR) to its actual value in the
9260 for file in `sed -n "
9261 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9262 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9263 # Make sure the directory exists.
9264 test -f "$dirpart/$file" && continue
9265 fdir
=`$as_dirname -- "$file" ||
9266 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9267 X"$file" : 'X\(//\)[^/]' \| \
9268 X"$file" : 'X\(//\)$' \| \
9269 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9288 { as_dir
=$dirpart/$fdir
9290 -*) as_dir
=.
/$as_dir;;
9292 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9296 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9297 *) as_qdir
=$as_dir;;
9299 as_dirs
="'$as_qdir' $as_dirs"
9300 as_dir
=`$as_dirname -- "$as_dir" ||
9301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9302 X"$as_dir" : 'X\(//\)[^/]' \| \
9303 X"$as_dir" : 'X\(//\)$' \| \
9304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9305 $as_echo X"$as_dir" |
9306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9323 test -d "$as_dir" && break
9325 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9326 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9327 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9328 { (exit 1); exit 1; }; }; }
9329 # echo "creating $dirpart/$file"
9330 echo '# dummy' > "$dirpart/$file"
9335 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
9336 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
9343 { (exit 0); exit 0; }
9345 chmod +x
$CONFIG_STATUS
9346 ac_clean_files
=$ac_clean_files_save
9348 test $ac_write_fail = 0 ||
9349 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
9350 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
9351 { (exit 1); exit 1; }; }
9354 # configure is writing to config.log, and then calls config.status.
9355 # config.status does its own redirection, appending to config.log.
9356 # Unfortunately, on DOS this fails, as config.log is still kept open
9357 # by configure, so config.status won't be able to write to it; its
9358 # output is simply discarded. So we exec the FD to /dev/null,
9359 # effectively closing config.log, so it can be properly (re)opened and
9360 # appended to by config.status. When coming back to configure, we
9361 # need to make the FD available again.
9362 if test "$no_create" != yes; then
9364 ac_config_status_args
=
9365 test "$silent" = yes &&
9366 ac_config_status_args
="$ac_config_status_args --quiet"
9368 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9370 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9371 # would make configure fail if this is the last instruction.
9372 $ac_cs_success ||
{ (exit 1); exit 1; }
9374 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9375 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9376 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}