2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for psmisc 22.6.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 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 # Zsh 3.x and 4.x performs 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
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME='psmisc'
574 PACKAGE_TARNAME='psmisc'
575 PACKAGE_VERSION='22.6'
576 PACKAGE_STRING='psmisc 22.6'
579 ac_unique_file="src/comm.h"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
626 program_transform_name
668 INSTALL_STRIP_PROGRAM
706 WANT_PEEKFD_I386_TRUE
707 WANT_PEEKFD_I386_FALSE
708 WANT_PEEKFD_X86_64_TRUE
709 WANT_PEEKFD_X86_64_FALSE
711 WANT_PEEKFD_PPC_FALSE
738 ac_precious_vars='build_alias
752 # Initialize some variables set by options.
754 ac_init_version=false
755 # The variables have the same names as the options, with
756 # dashes changed to underlines.
764 program_transform_name=s,x,x,
772 # Installation directory options.
773 # These are left unexpanded so users can "make install exec_prefix=/foo"
774 # and all the variables that are supposed to be based on exec_prefix
775 # by default will actually change.
776 # Use braces instead of parens because sh, perl, etc. also accept them.
777 # (The list follows the same order as the GNU Coding Standards.)
778 bindir='${exec_prefix}/bin'
779 sbindir='${exec_prefix}/sbin'
780 libexecdir='${exec_prefix}/libexec'
781 datarootdir='${prefix}/share'
782 datadir='${datarootdir}'
783 sysconfdir='${prefix}/etc'
784 sharedstatedir='${prefix}/com'
785 localstatedir='${prefix}/var'
786 includedir='${prefix}/include'
787 oldincludedir='/usr/include'
788 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
789 infodir='${datarootdir}/info'
794 libdir='${exec_prefix}/lib'
795 localedir='${datarootdir}/locale'
796 mandir='${datarootdir}/man'
802 # If the previous option needs an argument, assign it.
803 if test -n "$ac_prev"; then
804 eval $ac_prev=\$ac_option
810 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814 # Accept the important Cygnus configure options, so we can diagnose typos.
816 case $ac_dashdash$ac_option in
820 -bindir | --bindir | --bindi | --bind | --bin | --bi)
822 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825 -build | --build | --buil | --bui | --bu)
826 ac_prev=build_alias ;;
827 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
828 build_alias=$ac_optarg ;;
830 -cache-file | --cache-file | --cache-fil | --cache-fi \
831 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
832 ac_prev=cache_file ;;
833 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
834 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
835 cache_file=$ac_optarg ;;
838 cache_file=config.cache ;;
840 -datadir | --datadir | --datadi | --datad)
842 -datadir=* | --datadir=* | --datadi=* | --datad=*)
843 datadir=$ac_optarg ;;
845 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
846 | --dataroo | --dataro | --datar)
847 ac_prev=datarootdir ;;
848 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
849 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
850 datarootdir=$ac_optarg ;;
852 -disable-* | --disable-*)
853 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
856 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
857 { (exit 1); exit 1; }; }
858 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
859 eval enable_$ac_feature=no ;;
861 -docdir | --docdir | --docdi | --doc | --do)
863 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
866 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
868 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
871 -enable-* | --enable-*)
872 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
873 # Reject names that are not valid shell variable names.
874 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
875 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
876 { (exit 1); exit 1; }; }
877 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
878 eval enable_$ac_feature=\$ac_optarg ;;
880 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
881 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
882 | --exec | --exe | --ex)
883 ac_prev=exec_prefix ;;
884 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
885 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
886 | --exec=* | --exe=* | --ex=*)
887 exec_prefix=$ac_optarg ;;
889 -gas | --gas | --ga | --g)
890 # Obsolete; use --with-gas.
893 -help | --help | --hel | --he | -h)
895 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
896 ac_init_help=recursive ;;
897 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
898 ac_init_help=short ;;
900 -host | --host | --hos | --ho)
901 ac_prev=host_alias ;;
902 -host=* | --host=* | --hos=* | --ho=*)
903 host_alias=$ac_optarg ;;
905 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
907 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
909 htmldir=$ac_optarg ;;
911 -includedir | --includedir | --includedi | --included | --include \
912 | --includ | --inclu | --incl | --inc)
913 ac_prev=includedir ;;
914 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
915 | --includ=* | --inclu=* | --incl=* | --inc=*)
916 includedir=$ac_optarg ;;
918 -infodir | --infodir | --infodi | --infod | --info | --inf)
920 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
921 infodir=$ac_optarg ;;
923 -libdir | --libdir | --libdi | --libd)
925 -libdir=* | --libdir=* | --libdi=* | --libd=*)
928 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
929 | --libexe | --libex | --libe)
930 ac_prev=libexecdir ;;
931 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
932 | --libexe=* | --libex=* | --libe=*)
933 libexecdir=$ac_optarg ;;
935 -localedir | --localedir | --localedi | --localed | --locale)
937 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
938 localedir=$ac_optarg ;;
940 -localstatedir | --localstatedir | --localstatedi | --localstated \
941 | --localstate | --localstat | --localsta | --localst | --locals)
942 ac_prev=localstatedir ;;
943 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
944 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
945 localstatedir=$ac_optarg ;;
947 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
949 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
953 # Obsolete; use --without-fp.
956 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
957 | --no-cr | --no-c | -n)
960 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
961 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
964 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
965 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
966 | --oldin | --oldi | --old | --ol | --o)
967 ac_prev=oldincludedir ;;
968 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
969 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
970 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
971 oldincludedir=$ac_optarg ;;
973 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
975 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
978 -program-prefix | --program-prefix | --program-prefi | --program-pref \
979 | --program-pre | --program-pr | --program-p)
980 ac_prev=program_prefix ;;
981 -program-prefix=* | --program-prefix=* | --program-prefi=* \
982 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
983 program_prefix=$ac_optarg ;;
985 -program-suffix | --program-suffix | --program-suffi | --program-suff \
986 | --program-suf | --program-su | --program-s)
987 ac_prev=program_suffix ;;
988 -program-suffix=* | --program-suffix=* | --program-suffi=* \
989 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
990 program_suffix=$ac_optarg ;;
992 -program-transform-name | --program-transform-name \
993 | --program-transform-nam | --program-transform-na \
994 | --program-transform-n | --program-transform- \
995 | --program-transform | --program-transfor \
996 | --program-transfo | --program-transf \
997 | --program-trans | --program-tran \
998 | --progr-tra | --program-tr | --program-t)
999 ac_prev=program_transform_name ;;
1000 -program-transform-name=* | --program-transform-name=* \
1001 | --program-transform-nam=* | --program-transform-na=* \
1002 | --program-transform-n=* | --program-transform-=* \
1003 | --program-transform=* | --program-transfor=* \
1004 | --program-transfo=* | --program-transf=* \
1005 | --program-trans=* | --program-tran=* \
1006 | --progr-tra=* | --program-tr=* | --program-t=*)
1007 program_transform_name=$ac_optarg ;;
1009 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1011 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1012 pdfdir=$ac_optarg ;;
1014 -psdir | --psdir | --psdi | --psd | --ps)
1016 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1019 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1020 | -silent | --silent | --silen | --sile | --sil)
1023 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1025 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1027 sbindir=$ac_optarg ;;
1029 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1030 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1031 | --sharedst | --shareds | --shared | --share | --shar \
1033 ac_prev=sharedstatedir ;;
1034 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1035 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1036 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1038 sharedstatedir=$ac_optarg ;;
1040 -site | --site | --sit)
1042 -site=* | --site=* | --sit=*)
1045 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1047 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1048 srcdir=$ac_optarg ;;
1050 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1051 | --syscon | --sysco | --sysc | --sys | --sy)
1052 ac_prev=sysconfdir ;;
1053 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1054 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1055 sysconfdir=$ac_optarg ;;
1057 -target | --target | --targe | --targ | --tar | --ta | --t)
1058 ac_prev=target_alias ;;
1059 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1060 target_alias=$ac_optarg ;;
1062 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1065 -version | --version | --versio | --versi | --vers | -V)
1066 ac_init_version=: ;;
1069 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1072 { echo "$as_me: error: invalid package name: $ac_package" >&2
1073 { (exit 1); exit 1; }; }
1074 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1075 eval with_$ac_package=\$ac_optarg ;;
1077 -without-* | --without-*)
1078 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1081 { echo "$as_me: error: invalid package name: $ac_package" >&2
1082 { (exit 1); exit 1; }; }
1083 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1084 eval with_$ac_package=no ;;
1087 # Obsolete; use --with-x.
1090 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1091 | --x-incl | --x-inc | --x-in | --x-i)
1092 ac_prev=x_includes ;;
1093 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1094 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1095 x_includes=$ac_optarg ;;
1097 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1098 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1099 ac_prev=x_libraries ;;
1100 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1101 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1102 x_libraries=$ac_optarg ;;
1104 -*) { echo "$as_me: error: unrecognized option: $ac_option
1105 Try \`$0 --help' for more information." >&2
1106 { (exit 1); exit 1; }; }
1110 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1113 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1114 { (exit 1); exit 1; }; }
1115 eval $ac_envvar=\$ac_optarg
1116 export $ac_envvar ;;
1119 # FIXME: should be removed in autoconf 3.0.
1120 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1121 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1123 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1129 if test -n "$ac_prev"; then
1130 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1131 { echo "$as_me: error: missing argument to $ac_option" >&2
1132 { (exit 1); exit 1; }; }
1135 # Be sure to have absolute directory names.
1136 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1137 datadir sysconfdir sharedstatedir localstatedir includedir \
1138 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1139 libdir localedir mandir
1141 eval ac_val=\$$ac_var
1143 [\\/$]* | ?:[\\/]* ) continue;;
1144 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1146 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1147 { (exit 1); exit 1; }; }
1150 # There might be people who depend on the old broken behavior: `$host'
1151 # used to hold the argument of --host etc.
1152 # FIXME: To remove some day.
1155 target=$target_alias
1157 # FIXME: To remove some day.
1158 if test "x$host_alias" != x; then
1159 if test "x$build_alias" = x; then
1160 cross_compiling=maybe
1161 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1162 If a cross compiler is detected then cross compile mode will be used." >&2
1163 elif test "x$build_alias" != "x$host_alias"; then
1169 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1171 test "$silent" = yes && exec 6>/dev/null
1174 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1175 ac_ls_di=`ls -di .` &&
1176 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1177 { echo "$as_me: error: Working directory cannot be determined" >&2
1178 { (exit 1); exit 1; }; }
1179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1180 { echo "$as_me: error: pwd does not report name of working directory" >&2
1181 { (exit 1); exit 1; }; }
1184 # Find the source files, if location was not specified.
1185 if test -z "$srcdir"; then
1186 ac_srcdir_defaulted=yes
1187 # Try the directory containing this script, then the parent directory.
1188 ac_confdir=`$as_dirname -- "$0" ||
1189 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1190 X"$0" : 'X\(//\)[^/]' \| \
1191 X"$0" : 'X\(//\)$' \| \
1192 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1216 ac_srcdir_defaulted=no
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1219 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1220 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1221 { (exit 1); exit 1; }; }
1223 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1225 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1226 { (exit 1); exit 1; }; }
1228 # When building in place, set srcdir=.
1229 if test "$ac_abs_confdir" = "$ac_pwd"; then
1232 # Remove unnecessary trailing slashes from srcdir.
1233 # Double slashes in file names in object file debugging info
1234 # mess up M-x gdb in Emacs.
1236 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1238 for ac_var in $ac_precious_vars; do
1239 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1240 eval ac_env_${ac_var}_value=\$${ac_var}
1241 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1242 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1246 # Report the --help message.
1248 if test "$ac_init_help" = "long"; then
1249 # Omit some internal or obsolete options to make the list less imposing.
1250 # This message is too long to be a string in the A/UX 3.1 sh.
1252 \`configure' configures psmisc 22.6 to adapt to many kinds of systems.
1254 Usage: $0 [OPTION]... [VAR=VALUE]...
1256 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1257 VAR=VALUE. See below for descriptions of some of the useful variables.
1259 Defaults for the options are specified in brackets.
1262 -h, --help display this help and exit
1263 --help=short display options specific to this package
1264 --help=recursive display the short help of all the included packages
1265 -V, --version display version information and exit
1266 -q, --quiet, --silent do not print \`checking...' messages
1267 --cache-file=FILE cache test results in FILE [disabled]
1268 -C, --config-cache alias for \`--cache-file=config.cache'
1269 -n, --no-create do not create output files
1270 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1272 Installation directories:
1273 --prefix=PREFIX install architecture-independent files in PREFIX
1274 [$ac_default_prefix]
1275 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1278 By default, \`make install' will install all the files in
1279 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1280 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1281 for instance \`--prefix=\$HOME'.
1283 For better control, use the options below.
1285 Fine tuning of the installation directories:
1286 --bindir=DIR user executables [EPREFIX/bin]
1287 --sbindir=DIR system admin executables [EPREFIX/sbin]
1288 --libexecdir=DIR program executables [EPREFIX/libexec]
1289 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1290 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1291 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1292 --libdir=DIR object code libraries [EPREFIX/lib]
1293 --includedir=DIR C header files [PREFIX/include]
1294 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1295 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1296 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1297 --infodir=DIR info documentation [DATAROOTDIR/info]
1298 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1299 --mandir=DIR man documentation [DATAROOTDIR/man]
1300 --docdir=DIR documentation root [DATAROOTDIR/doc/psmisc]
1301 --htmldir=DIR html documentation [DOCDIR]
1302 --dvidir=DIR dvi documentation [DOCDIR]
1303 --pdfdir=DIR pdf documentation [DOCDIR]
1304 --psdir=DIR ps documentation [DOCDIR]
1310 --program-prefix=PREFIX prepend PREFIX to installed program names
1311 --program-suffix=SUFFIX append SUFFIX to installed program names
1312 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1315 --build=BUILD configure for building on BUILD [guessed]
1316 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1320 if test -n "$ac_init_help"; then
1321 case $ac_init_help in
1322 short | recursive ) echo "Configuration of psmisc 22.6:";;
1327 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1328 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1329 --disable-dependency-tracking speeds up one-time build
1330 --enable-dependency-tracking do not reject slow dependency extractors
1331 --enable-selinux Enable Security-Enhanced Linux features
1332 --disable-ipv6 Disable IPv6 checks (for uClibc)
1333 --disable-nls do not use Native Language Support
1334 --disable-rpath do not hardcode runtime library paths
1335 --disable-largefile omit support for large files
1338 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1339 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1340 --with-gnu-ld assume the C compiler uses GNU ld default=no
1341 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1342 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1343 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1344 --without-libintl-prefix don't search for libintl in includedir and libdir
1346 Some influential environment variables:
1347 CXX C++ compiler command
1348 CXXFLAGS C++ compiler flags
1349 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1350 nonstandard directory <lib dir>
1351 LIBS libraries to pass to the linker, e.g. -l<library>
1352 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1353 you have headers in a nonstandard directory <include dir>
1354 CC C compiler command
1355 CFLAGS C compiler flags
1358 Use these variables to override the choices made by `configure' or to help
1359 it to find libraries and programs with nonstandard names/locations.
1365 if test "$ac_init_help" = "recursive"; then
1366 # If there are subdirs, report their specific --help.
1367 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1368 test -d "$ac_dir" || continue
1372 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1374 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1375 # A ".." for each directory in $ac_dir_suffix.
1376 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1377 case $ac_top_builddir_sub in
1378 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1379 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1382 ac_abs_top_builddir=$ac_pwd
1383 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1384 # for backward compatibility:
1385 ac_top_builddir=$ac_top_build_prefix
1388 .) # We are building in place.
1390 ac_top_srcdir=$ac_top_builddir_sub
1391 ac_abs_top_srcdir=$ac_pwd ;;
1392 [\\/]* | ?:[\\/]* ) # Absolute name.
1393 ac_srcdir=$srcdir$ac_dir_suffix;
1394 ac_top_srcdir=$srcdir
1395 ac_abs_top_srcdir=$srcdir ;;
1397 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1398 ac_top_srcdir=$ac_top_build_prefix$srcdir
1399 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1401 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1403 cd "$ac_dir" || { ac_status=$?; continue; }
1404 # Check for guested configure.
1405 if test -f "$ac_srcdir/configure.gnu"; then
1407 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1408 elif test -f "$ac_srcdir/configure"; then
1410 $SHELL "$ac_srcdir/configure" --help=recursive
1412 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1414 cd "$ac_pwd" || { ac_status=$?; break; }
1418 test -n "$ac_init_help" && exit $ac_status
1419 if $ac_init_version; then
1421 psmisc configure 22.6
1422 generated by GNU Autoconf 2.61
1424 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1425 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1426 This configure script is free software; the Free Software Foundation
1427 gives unlimited permission to copy, distribute and modify it.
1431 cat >config.log <<_ACEOF
1432 This file contains any messages produced by compilers while
1433 running configure, to aid debugging if configure makes a mistake.
1435 It was created by psmisc $as_me 22.6, which was
1436 generated by GNU Autoconf 2.61. Invocation command line was
1448 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1449 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1450 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1451 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1452 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1454 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1455 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1457 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1458 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1459 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1460 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1461 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1462 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1463 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1471 test -z "$as_dir" && as_dir=.
1472 echo "PATH: $as_dir"
1488 # Keep a trace of the command line.
1489 # Strip out --no-create and --no-recursion so they do not pile up.
1490 # Strip out --silent because we don't want to record it for future runs.
1491 # Also quote any args containing shell meta-characters.
1492 # Make two passes to allow for proper duplicate-argument suppression.
1496 ac_must_keep_next=false
1502 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1503 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1504 | -silent | --silent | --silen | --sile | --sil)
1507 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1510 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1512 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1513 if test $ac_must_keep_next = true; then
1514 ac_must_keep_next=false # Got value, back to normal.
1517 *=* | --config-cache | -C | -disable-* | --disable-* \
1518 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1519 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1520 | -with-* | --with-* | -without-* | --without-* | --x)
1521 case "$ac_configure_args0 " in
1522 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1525 -* ) ac_must_keep_next=true ;;
1528 ac_configure_args="$ac_configure_args '$ac_arg'"
1533 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1534 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1536 # When interrupted or exit'd, cleanup temporary files, and complete
1537 # config.log. We remove comments because anyway the quotes in there
1538 # would cause problems or look ugly.
1539 # WARNING: Use '\'' to represent an apostrophe within the trap.
1540 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1541 trap 'exit_status=$?
1542 # Save into config.log some information that might help in debugging.
1547 ## ---------------- ##
1548 ## Cache variables. ##
1549 ## ---------------- ##
1552 # The following way of writing the cache mishandles newlines in values,
1554 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1555 eval ac_val=\$$ac_var
1559 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1560 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1563 _ | IFS | as_nl) ;; #(
1564 *) $as_unset $ac_var ;;
1569 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1570 *${as_nl}ac_space=\ *)
1572 "s/'\''/'\''\\\\'\'''\''/g;
1573 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1576 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1584 ## ----------------- ##
1585 ## Output variables. ##
1586 ## ----------------- ##
1589 for ac_var in $ac_subst_vars
1591 eval ac_val=\$$ac_var
1593 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1595 echo "$ac_var='\''$ac_val'\''"
1599 if test -n "$ac_subst_files"; then
1601 ## ------------------- ##
1602 ## File substitutions. ##
1603 ## ------------------- ##
1606 for ac_var in $ac_subst_files
1608 eval ac_val=\$$ac_var
1610 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1612 echo "$ac_var='\''$ac_val'\''"
1617 if test -s confdefs.h; then
1627 test "$ac_signal" != 0 &&
1628 echo "$as_me: caught signal $ac_signal"
1629 echo "$as_me: exit $exit_status"
1631 rm -f core *.core core.conftest.* &&
1632 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1635 for ac_signal in 1 2 13 15; do
1636 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1640 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1641 rm -f -r conftest* confdefs.h
1643 # Predefined preprocessor variables.
1645 cat >>confdefs.h <<_ACEOF
1646 #define PACKAGE_NAME "$PACKAGE_NAME"
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1655 cat >>confdefs.h <<_ACEOF
1656 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1660 cat >>confdefs.h <<_ACEOF
1661 #define PACKAGE_STRING "$PACKAGE_STRING"
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1670 # Let the site file select an alternate cache file if it wants to.
1671 # Prefer explicitly selected file to automatically selected ones.
1672 if test -n "$CONFIG_SITE"; then
1673 set x "$CONFIG_SITE"
1674 elif test "x$prefix" != xNONE; then
1675 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1677 set x "$ac_default_prefix/share/config.site" \
1678 "$ac_default_prefix/etc/config.site"
1683 if test -r "$ac_site_file"; then
1684 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1685 echo "$as_me: loading site script $ac_site_file" >&6;}
1686 sed 's/^/| /' "$ac_site_file" >&5
1691 if test -r "$cache_file"; then
1692 # Some versions of bash will fail to source /dev/null (special
1693 # files actually), so we avoid doing that.
1694 if test -f "$cache_file"; then
1695 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1696 echo "$as_me: loading cache $cache_file" >&6;}
1698 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1699 *) . "./$cache_file";;
1703 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1704 echo "$as_me: creating cache $cache_file" >&6;}
1708 gt_needs="$gt_needs "
1709 # Check that the precious variables saved in the cache have kept the same
1711 ac_cache_corrupted=false
1712 for ac_var in $ac_precious_vars; do
1713 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1714 eval ac_new_set=\$ac_env_${ac_var}_set
1715 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1716 eval ac_new_val=\$ac_env_${ac_var}_value
1717 case $ac_old_set,$ac_new_set in
1719 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1720 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1721 ac_cache_corrupted=: ;;
1723 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1724 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1725 ac_cache_corrupted=: ;;
1728 if test "x$ac_old_val" != "x$ac_new_val"; then
1729 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1730 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1731 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1732 echo "$as_me: former value: $ac_old_val" >&2;}
1733 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1734 echo "$as_me: current value: $ac_new_val" >&2;}
1735 ac_cache_corrupted=:
1738 # Pass precious variables to config.status.
1739 if test "$ac_new_set" = set; then
1741 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1742 *) ac_arg=$ac_var=$ac_new_val ;;
1744 case " $ac_configure_args " in
1745 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1746 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1750 if $ac_cache_corrupted; then
1751 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1752 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1753 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1754 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1755 { (exit 1); exit 1; }; }
1783 ac_cpp='$CPP $CPPFLAGS'
1784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1790 ac_config_headers="$ac_config_headers config.h"
1793 for ac_dir in config "$srcdir"/config; do
1794 if test -f "$ac_dir/install-sh"; then
1796 ac_install_sh="$ac_aux_dir/install-sh -c"
1798 elif test -f "$ac_dir/install.sh"; then
1800 ac_install_sh="$ac_aux_dir/install.sh -c"
1802 elif test -f "$ac_dir/shtool"; then
1804 ac_install_sh="$ac_aux_dir/shtool install -c"
1808 if test -z "$ac_aux_dir"; then
1809 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1810 echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1811 { (exit 1); exit 1; }; }
1814 # These three variables are undocumented and unsupported,
1815 # and are intended to be withdrawn in a future Autoconf release.
1816 # They can cause serious problems if a builder's source tree is in a directory
1817 # whose full name contains unusual characters.
1818 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1819 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1820 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1823 am__api_version='1.10'
1825 # Find a good install program. We prefer a C program (faster),
1826 # so one script is as good as another. But avoid the broken or
1827 # incompatible versions:
1828 # SysV /etc/install, /usr/sbin/install
1829 # SunOS /usr/etc/install
1830 # IRIX /sbin/install
1832 # AmigaOS /C/install, which installs bootblocks on floppy discs
1833 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1834 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1835 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1836 # OS/2's system install, which has a completely different semantic
1837 # ./install, which can be erroneously created by make from ./install.sh.
1838 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1839 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1840 if test -z "$INSTALL"; then
1841 if test "${ac_cv_path_install+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 test -z "$as_dir" && as_dir=.
1849 # Account for people who put trailing slashes in PATH elements.
1851 ./ | .// | /cC/* | \
1852 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1853 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1856 # OSF1 and SCO ODT 3.0 have their own names for install.
1857 # Don't use installbsd from OSF since it installs stuff as root
1859 for ac_prog in ginstall scoinst install; do
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1862 if test $ac_prog = install &&
1863 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1864 # AIX install. It has an incompatible calling convention.
1866 elif test $ac_prog = install &&
1867 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1868 # program-specific install script used by HP pwplus--don't use.
1871 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1884 if test "${ac_cv_path_install+set}" = set; then
1885 INSTALL=$ac_cv_path_install
1887 # As a last resort, use the slow shell script. Don't cache a
1888 # value for INSTALL within a source directory, because that will
1889 # break other packages using the cache if that directory is
1890 # removed, or if the value is a relative name.
1891 INSTALL=$ac_install_sh
1894 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1895 echo "${ECHO_T}$INSTALL" >&6; }
1897 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1898 # It thinks the first close brace ends the variable substitution.
1899 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1901 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1903 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1905 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1906 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1909 echo timestamp > conftest.file
1910 # Do `set' in a subshell so we don't clobber the current shell's
1911 # arguments. Must try -L first in case configure is actually a
1912 # symlink; some systems play weird games with the mod time of symlinks
1913 # (eg FreeBSD returns the mod time of the symlink's containing
1916 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1917 if test "$*" = "X"; then
1919 set X `ls -t $srcdir/configure conftest.file`
1922 if test "$*" != "X $srcdir/configure conftest.file" \
1923 && test "$*" != "X conftest.file $srcdir/configure"; then
1925 # If neither matched, then we have a broken ls. This can happen
1926 # if, for instance, CONFIG_SHELL is bash and it inherits a
1927 # broken ls alias from the environment. This has actually
1928 # happened. Such a system could not be considered "sane".
1929 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1930 alias in your environment" >&5
1931 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1932 alias in your environment" >&2;}
1933 { (exit 1); exit 1; }; }
1936 test "$2" = conftest.file
1942 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1943 Check your system clock" >&5
1944 echo "$as_me: error: newly created file is older than distributed files!
1945 Check your system clock" >&2;}
1946 { (exit 1); exit 1; }; }
1948 { echo "$as_me:$LINENO: result: yes" >&5
1949 echo "${ECHO_T}yes" >&6; }
1950 test "$program_prefix" != NONE &&
1951 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1952 # Use a double $ so make ignores it.
1953 test "$program_suffix" != NONE &&
1954 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1955 # Double any \ or $. echo might interpret backslashes.
1956 # By default was `s,x,x', remove it if useless.
1957 cat <<\_ACEOF >conftest.sed
1958 s/[\\$]/&&/g;s/;s,x,x,$//
1960 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1963 # expand $ac_aux_dir to an absolute path
1964 am_aux_dir=`cd $ac_aux_dir && pwd`
1966 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1967 # Use eval to expand $SHELL
1968 if eval "$MISSING --run true"; then
1969 am_missing_run="$MISSING --run "
1972 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1973 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1976 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1977 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1978 if test -z "$MKDIR_P"; then
1979 if test "${ac_cv_path_mkdir+set}" = set; then
1980 echo $ECHO_N "(cached) $ECHO_C" >&6
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1986 test -z "$as_dir" && as_dir=.
1987 for ac_prog in mkdir gmkdir; do
1988 for ac_exec_ext in '' $ac_executable_extensions; do
1989 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1990 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1991 'mkdir (GNU coreutils) '* | \
1992 'mkdir (coreutils) '* | \
1993 'mkdir (fileutils) '4.1*)
1994 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2004 if test "${ac_cv_path_mkdir+set}" = set; then
2005 MKDIR_P="$ac_cv_path_mkdir -p"
2007 # As a last resort, use the slow shell script. Don't cache a
2008 # value for MKDIR_P within a source directory, because that will
2009 # break other packages using the cache if that directory is
2010 # removed, or if the value is a relative name.
2011 test -d ./--version && rmdir ./--version
2012 MKDIR_P="$ac_install_sh -d"
2015 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2016 echo "${ECHO_T}$MKDIR_P" >&6; }
2020 [\\/$]* | ?:[\\/]*) ;;
2021 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2024 for ac_prog in gawk mawk nawk awk
2026 # Extract the first word of "$ac_prog", so it can be a program name with args.
2027 set dummy $ac_prog; ac_word=$2
2028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2030 if test "${ac_cv_prog_AWK+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 if test -n "$AWK"; then
2034 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 test -z "$as_dir" && as_dir=.
2041 for ac_exec_ext in '' $ac_executable_extensions; do
2042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2043 ac_cv_prog_AWK="$ac_prog"
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2054 if test -n "$AWK"; then
2055 { echo "$as_me:$LINENO: result: $AWK" >&5
2056 echo "${ECHO_T}$AWK" >&6; }
2058 { echo "$as_me:$LINENO: result: no" >&5
2059 echo "${ECHO_T}no" >&6; }
2063 test -n "$AWK" && break
2066 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2067 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2068 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2069 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 cat >conftest.make <<\_ACEOF
2075 @echo '@@@%%%=$(MAKE)=@@@%%%'
2077 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2078 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2080 eval ac_cv_prog_make_${ac_make}_set=yes;;
2082 eval ac_cv_prog_make_${ac_make}_set=no;;
2086 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2087 { echo "$as_me:$LINENO: result: yes" >&5
2088 echo "${ECHO_T}yes" >&6; }
2091 { echo "$as_me:$LINENO: result: no" >&5
2092 echo "${ECHO_T}no" >&6; }
2093 SET_MAKE="MAKE=${MAKE-make}"
2096 rm -rf .tst 2>/dev/null
2097 mkdir .tst 2>/dev/null
2098 if test -d .tst; then
2103 rmdir .tst 2>/dev/null
2105 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2106 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2107 # is not polluted with repeated "-I."
2108 am__isrc=' -I$(srcdir)'
2109 # test to see if srcdir already configured
2110 if test -f $srcdir/config.status; then
2111 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2112 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2113 { (exit 1); exit 1; }; }
2117 # test whether we have cygpath
2118 if test -z "$CYGPATH_W"; then
2119 if (cygpath --version) >/dev/null 2>/dev/null; then
2120 CYGPATH_W='cygpath -w'
2127 # Define the identity of the package.
2132 cat >>confdefs.h <<_ACEOF
2133 #define PACKAGE "$PACKAGE"
2137 cat >>confdefs.h <<_ACEOF
2138 #define VERSION "$VERSION"
2141 # Some tools Automake needs.
2143 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2146 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2149 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2152 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2155 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2157 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2159 # Installed binaries are usually stripped using `strip' when the user
2160 # run `make install-strip'. However `strip' might not be the right
2161 # tool to use in cross-compilation environments, therefore Automake
2162 # will honor the `STRIP' environment variable to overrule this program.
2163 if test "$cross_compiling" != no; then
2164 if test -n "$ac_tool_prefix"; then
2165 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2166 set dummy ${ac_tool_prefix}strip; ac_word=$2
2167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2169 if test "${ac_cv_prog_STRIP+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 if test -n "$STRIP"; then
2173 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir=.
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2182 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 STRIP=$ac_cv_prog_STRIP
2193 if test -n "$STRIP"; then
2194 { echo "$as_me:$LINENO: result: $STRIP" >&5
2195 echo "${ECHO_T}$STRIP" >&6; }
2197 { echo "$as_me:$LINENO: result: no" >&5
2198 echo "${ECHO_T}no" >&6; }
2203 if test -z "$ac_cv_prog_STRIP"; then
2205 # Extract the first word of "strip", so it can be a program name with args.
2206 set dummy strip; ac_word=$2
2207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2209 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 if test -n "$ac_ct_STRIP"; then
2213 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir=.
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222 ac_cv_prog_ac_ct_STRIP="strip"
2223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2233 if test -n "$ac_ct_STRIP"; then
2234 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2235 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2237 { echo "$as_me:$LINENO: result: no" >&5
2238 echo "${ECHO_T}no" >&6; }
2241 if test "x$ac_ct_STRIP" = x; then
2244 case $cross_compiling:$ac_tool_warned in
2246 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2247 whose name does not start with the host triplet. If you think this
2248 configuration is useful to you, please write to autoconf@gnu.org." >&5
2249 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2250 whose name does not start with the host triplet. If you think this
2251 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2252 ac_tool_warned=yes ;;
2257 STRIP="$ac_cv_prog_STRIP"
2261 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2263 # We need awk for the "check" target. The system "awk" is bad on
2265 # Always define AMTAR for backward compatibility.
2267 AMTAR=${AMTAR-"${am_missing_run}tar"}
2269 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2277 ac_cpp='$CXXCPP $CPPFLAGS'
2278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2281 if test -z "$CXX"; then
2282 if test -n "$CCC"; then
2285 if test -n "$ac_tool_prefix"; then
2286 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2292 if test "${ac_cv_prog_CXX+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 if test -n "$CXX"; then
2296 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 if test -n "$CXX"; then
2317 { echo "$as_me:$LINENO: result: $CXX" >&5
2318 echo "${ECHO_T}$CXX" >&6; }
2320 { echo "$as_me:$LINENO: result: no" >&5
2321 echo "${ECHO_T}no" >&6; }
2325 test -n "$CXX" && break
2328 if test -z "$CXX"; then
2330 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2332 # Extract the first word of "$ac_prog", so it can be a program name with args.
2333 set dummy $ac_prog; ac_word=$2
2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$ac_ct_CXX"; then
2340 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir=.
2347 for ac_exec_ext in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_ac_ct_CXX="$ac_prog"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2360 if test -n "$ac_ct_CXX"; then
2361 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2362 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2364 { echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6; }
2369 test -n "$ac_ct_CXX" && break
2372 if test "x$ac_ct_CXX" = x; then
2375 case $cross_compiling:$ac_tool_warned in
2377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2378 whose name does not start with the host triplet. If you think this
2379 configuration is useful to you, please write to autoconf@gnu.org." >&5
2380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2381 whose name does not start with the host triplet. If you think this
2382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2383 ac_tool_warned=yes ;;
2391 # Provide some information about the compiler.
2392 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2393 ac_compiler=`set X $ac_compile; echo $2`
2394 { (ac_try="$ac_compiler --version >&5"
2396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2400 (eval "$ac_compiler --version >&5") 2>&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }
2404 { (ac_try="$ac_compiler -v >&5"
2406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2407 *) ac_try_echo=$ac_try;;
2409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2410 (eval "$ac_compiler -v >&5") 2>&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }
2414 { (ac_try="$ac_compiler -V >&5"
2416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2417 *) ac_try_echo=$ac_try;;
2419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2420 (eval "$ac_compiler -V >&5") 2>&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }
2425 cat >conftest.$ac_ext <<_ACEOF
2428 cat confdefs.h >>conftest.$ac_ext
2429 cat >>conftest.$ac_ext <<_ACEOF
2430 /* end confdefs.h. */
2440 ac_clean_files_save=$ac_clean_files
2441 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2442 # Try to create an executable without -o first, disregard a.out.
2443 # It will help us diagnose broken compilers, and finding out an intuition
2445 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2446 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2447 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2449 # List of possible output files, starting from the most likely.
2450 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2451 # only as a last resort. b.out is created by i960 compilers.
2452 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2454 # The IRIX 6 linker writes into existing files which may not be
2455 # executable, retaining their permissions. Remove them first so a
2456 # subsequent execution test works.
2458 for ac_file in $ac_files
2461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2462 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2467 if { (ac_try="$ac_link_default"
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2473 (eval "$ac_link_default") 2>&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; then
2477 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2478 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2479 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2480 # so that the user can short-circuit this test for compilers unknown to
2482 for ac_file in $ac_files ''
2484 test -f "$ac_file" || continue
2486 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2489 # We found the default executable, but exeext='' is most
2493 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2495 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2497 # We set ac_cv_exeext here because the later test for it is not
2498 # safe: cross compilers may not add the suffix if given an `-o'
2499 # argument, so we may need to know it at that point already.
2500 # Even if this section looks crufty: it has the advantage of
2507 test "$ac_cv_exeext" = no && ac_cv_exeext=
2513 { echo "$as_me:$LINENO: result: $ac_file" >&5
2514 echo "${ECHO_T}$ac_file" >&6; }
2515 if test -z "$ac_file"; then
2516 echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.$ac_ext >&5
2519 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2520 See \`config.log' for more details." >&5
2521 echo "$as_me: error: C++ compiler cannot create executables
2522 See \`config.log' for more details." >&2;}
2523 { (exit 77); exit 77; }; }
2526 ac_exeext=$ac_cv_exeext
2528 # Check that the compiler produces executables we can run. If not, either
2529 # the compiler is broken, or we cross compile.
2530 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2531 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2532 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2533 # If not cross compiling, check that we can run a simple program.
2534 if test "$cross_compiling" != yes; then
2535 if { ac_try='./$ac_file'
2536 { (case "(($ac_try" in
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2541 (eval "$ac_try") 2>&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; }; then
2547 if test "$cross_compiling" = maybe; then
2550 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2551 If you meant to cross compile, use \`--host'.
2552 See \`config.log' for more details." >&5
2553 echo "$as_me: error: cannot run C++ compiled programs.
2554 If you meant to cross compile, use \`--host'.
2555 See \`config.log' for more details." >&2;}
2556 { (exit 1); exit 1; }; }
2560 { echo "$as_me:$LINENO: result: yes" >&5
2561 echo "${ECHO_T}yes" >&6; }
2563 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2564 ac_clean_files=$ac_clean_files_save
2565 # Check that the compiler produces executables we can run. If not, either
2566 # the compiler is broken, or we cross compile.
2567 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2568 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2569 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2570 echo "${ECHO_T}$cross_compiling" >&6; }
2572 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2573 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2574 if { (ac_try="$ac_link"
2576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577 *) ac_try_echo=$ac_try;;
2579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2580 (eval "$ac_link") 2>&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; then
2584 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2585 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2586 # work properly (i.e., refer to `conftest.exe'), while it won't with
2588 for ac_file in conftest.exe conftest conftest.*; do
2589 test -f "$ac_file" || continue
2591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2592 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2598 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2599 See \`config.log' for more details." >&5
2600 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2601 See \`config.log' for more details." >&2;}
2602 { (exit 1); exit 1; }; }
2605 rm -f conftest$ac_cv_exeext
2606 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2607 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2609 rm -f conftest.$ac_ext
2610 EXEEXT=$ac_cv_exeext
2612 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2613 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2614 if test "${ac_cv_objext+set}" = set; then
2615 echo $ECHO_N "(cached) $ECHO_C" >&6
2617 cat >conftest.$ac_ext <<_ACEOF
2620 cat confdefs.h >>conftest.$ac_ext
2621 cat >>conftest.$ac_ext <<_ACEOF
2622 /* end confdefs.h. */
2632 rm -f conftest.o conftest.obj
2633 if { (ac_try="$ac_compile"
2635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636 *) ac_try_echo=$ac_try;;
2638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2639 (eval "$ac_compile") 2>&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; then
2643 for ac_file in conftest.o conftest.obj conftest.*; do
2644 test -f "$ac_file" || continue;
2646 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2647 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2652 echo "$as_me: failed program was:" >&5
2653 sed 's/^/| /' conftest.$ac_ext >&5
2655 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2656 See \`config.log' for more details." >&5
2657 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2658 See \`config.log' for more details." >&2;}
2659 { (exit 1); exit 1; }; }
2662 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2664 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2665 echo "${ECHO_T}$ac_cv_objext" >&6; }
2666 OBJEXT=$ac_cv_objext
2668 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2669 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2670 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2671 echo $ECHO_N "(cached) $ECHO_C" >&6
2673 cat >conftest.$ac_ext <<_ACEOF
2676 cat confdefs.h >>conftest.$ac_ext
2677 cat >>conftest.$ac_ext <<_ACEOF
2678 /* end confdefs.h. */
2691 rm -f conftest.$ac_objext
2692 if { (ac_try="$ac_compile"
2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2695 *) ac_try_echo=$ac_try;;
2697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2698 (eval "$ac_compile") 2>conftest.er1
2700 grep -v '^ *+' conftest.er1 >conftest.err
2702 cat conftest.err >&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); } && {
2705 test -z "$ac_cxx_werror_flag" ||
2706 test ! -s conftest.err
2707 } && test -s conftest.$ac_objext; then
2710 echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2717 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2720 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2721 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2722 GXX=`test $ac_compiler_gnu = yes && echo yes`
2723 ac_test_CXXFLAGS=${CXXFLAGS+set}
2724 ac_save_CXXFLAGS=$CXXFLAGS
2725 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2726 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2727 if test "${ac_cv_prog_cxx_g+set}" = set; then
2728 echo $ECHO_N "(cached) $ECHO_C" >&6
2730 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2731 ac_cxx_werror_flag=yes
2734 cat >conftest.$ac_ext <<_ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2749 rm -f conftest.$ac_objext
2750 if { (ac_try="$ac_compile"
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2756 (eval "$ac_compile") 2>conftest.er1
2758 grep -v '^ *+' conftest.er1 >conftest.err
2760 cat conftest.err >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); } && {
2763 test -z "$ac_cxx_werror_flag" ||
2764 test ! -s conftest.err
2765 } && test -s conftest.$ac_objext; then
2766 ac_cv_prog_cxx_g=yes
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2772 cat >conftest.$ac_ext <<_ACEOF
2775 cat confdefs.h >>conftest.$ac_ext
2776 cat >>conftest.$ac_ext <<_ACEOF
2777 /* end confdefs.h. */
2787 rm -f conftest.$ac_objext
2788 if { (ac_try="$ac_compile"
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2794 (eval "$ac_compile") 2>conftest.er1
2796 grep -v '^ *+' conftest.er1 >conftest.err
2798 cat conftest.err >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); } && {
2801 test -z "$ac_cxx_werror_flag" ||
2802 test ! -s conftest.err
2803 } && test -s conftest.$ac_objext; then
2806 echo "$as_me: failed program was:" >&5
2807 sed 's/^/| /' conftest.$ac_ext >&5
2809 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2811 cat >conftest.$ac_ext <<_ACEOF
2814 cat confdefs.h >>conftest.$ac_ext
2815 cat >>conftest.$ac_ext <<_ACEOF
2816 /* end confdefs.h. */
2826 rm -f conftest.$ac_objext
2827 if { (ac_try="$ac_compile"
2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2830 *) ac_try_echo=$ac_try;;
2832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2833 (eval "$ac_compile") 2>conftest.er1
2835 grep -v '^ *+' conftest.er1 >conftest.err
2837 cat conftest.err >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } && {
2840 test -z "$ac_cxx_werror_flag" ||
2841 test ! -s conftest.err
2842 } && test -s conftest.$ac_objext; then
2843 ac_cv_prog_cxx_g=yes
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.$ac_ext >&5
2851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2860 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2861 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2862 if test "$ac_test_CXXFLAGS" = set; then
2863 CXXFLAGS=$ac_save_CXXFLAGS
2864 elif test $ac_cv_prog_cxx_g = yes; then
2865 if test "$GXX" = yes; then
2871 if test "$GXX" = yes; then
2878 ac_cpp='$CPP $CPPFLAGS'
2879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2882 DEPDIR="${am__leading_dot}deps"
2884 ac_config_commands="$ac_config_commands depfiles"
2887 am_make=${MAKE-make}
2888 cat > confinc << 'END'
2893 # If we don't find an include directive, just comment out the code.
2894 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2895 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2899 # First try GNU make style include.
2900 echo "include confinc" > confmf
2901 # We grep out `Entering directory' and `Leaving directory'
2902 # messages which can occur if `w' ends up in MAKEFLAGS.
2903 # In particular we don't look at `^make:' because GNU make might
2904 # be invoked under some other name (usually "gmake"), in which
2905 # case it prints its new name instead of `make'.
2906 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2911 # Now try BSD make style include.
2912 if test "$am__include" = "#"; then
2913 echo '.include "confinc"' > confmf
2914 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2915 am__include=.include
2922 { echo "$as_me:$LINENO: result: $_am_result" >&5
2923 echo "${ECHO_T}$_am_result" >&6; }
2924 rm -f confinc confmf
2926 # Check whether --enable-dependency-tracking was given.
2927 if test "${enable_dependency_tracking+set}" = set; then
2928 enableval=$enable_dependency_tracking;
2931 if test "x$enable_dependency_tracking" != xno; then
2932 am_depcomp="$ac_aux_dir/depcomp"
2935 if test "x$enable_dependency_tracking" != xno; then
2945 depcc="$CXX" am_compiler_list=
2947 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2948 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2949 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2950 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2953 # We make a subdir and do the tests there. Otherwise we can end up
2954 # making bogus files that we don't know about and never remove. For
2955 # instance it was reported that on HP-UX the gcc test will end up
2956 # making a dummy file named `D' -- because `-MD' means `put the output
2959 # Copy depcomp to subdir because otherwise we won't find it if we're
2960 # using a relative directory.
2961 cp "$am_depcomp" conftest.dir
2963 # We will build objects and dependencies in a subdirectory because
2964 # it helps to detect inapplicable dependency modes. For instance
2965 # both Tru64's cc and ICC support -MD to output dependencies as a
2966 # side effect of compilation, but ICC will put the dependencies in
2967 # the current directory while Tru64 will put them in the object
2971 am_cv_CXX_dependencies_compiler_type=none
2972 if test "$am_compiler_list" = ""; then
2973 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2975 for depmode in $am_compiler_list; do
2976 # Setup a source with many dependencies, because some compilers
2977 # like to wrap large dependency lists on column 80 (with \), and
2978 # we should not choose a depcomp mode which is confused by this.
2980 # We need to recreate these files for each test, as the compiler may
2981 # overwrite some of them when testing with obscure command lines.
2982 # This happens at least with the AIX C compiler.
2984 for i in 1 2 3 4 5 6; do
2985 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2986 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2987 # Solaris 8's {/usr,}/bin/sh.
2988 touch sub/conftst$i.h
2990 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2994 # after this tag, mechanisms are not by side-effect, so they'll
2995 # only be used when explicitly requested
2996 if test "x$enable_dependency_tracking" = xyes; then
3004 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3005 # mode. It turns out that the SunPro C++ compiler does not properly
3006 # handle `-M -o', and we need to detect this.
3007 if depmode=$depmode \
3008 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3009 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3010 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3011 >/dev/null 2>conftest.err &&
3012 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3013 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3014 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3015 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3016 # icc doesn't choke on unknown options, it will just issue warnings
3017 # or remarks (even with -Werror). So we grep stderr for any message
3018 # that says an option was ignored or not supported.
3019 # When given -MP, icc 7.0 and 7.1 complain thusly:
3020 # icc: Command line warning: ignoring option '-M'; no argument required
3021 # The diagnosis changed in icc 8.0:
3022 # icc: Command line remark: option '-MP' not supported
3023 if (grep 'ignoring option' conftest.err ||
3024 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3025 am_cv_CXX_dependencies_compiler_type=$depmode
3034 am_cv_CXX_dependencies_compiler_type=none
3038 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3039 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3040 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3043 test "x$enable_dependency_tracking" != xno \
3044 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3045 am__fastdepCXX_TRUE=
3046 am__fastdepCXX_FALSE='#'
3048 am__fastdepCXX_TRUE='#'
3049 am__fastdepCXX_FALSE=
3054 ac_cpp='$CPP $CPPFLAGS'
3055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3058 if test -n "$ac_tool_prefix"; then
3059 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3060 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3063 if test "${ac_cv_prog_CC+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3066 if test -n "$CC"; then
3067 ac_cv_prog_CC="$CC" # Let the user override the test.
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir=.
3074 for ac_exec_ext in '' $ac_executable_extensions; do
3075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3076 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 if test -n "$CC"; then
3088 { echo "$as_me:$LINENO: result: $CC" >&5
3089 echo "${ECHO_T}$CC" >&6; }
3091 { echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6; }
3097 if test -z "$ac_cv_prog_CC"; then
3099 # Extract the first word of "gcc", so it can be a program name with args.
3100 set dummy gcc; ac_word=$2
3101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3103 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3104 echo $ECHO_N "(cached) $ECHO_C" >&6
3106 if test -n "$ac_ct_CC"; then
3107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3113 test -z "$as_dir" && as_dir=.
3114 for ac_exec_ext in '' $ac_executable_extensions; do
3115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3116 ac_cv_prog_ac_ct_CC="gcc"
3117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3126 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3127 if test -n "$ac_ct_CC"; then
3128 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3129 echo "${ECHO_T}$ac_ct_CC" >&6; }
3131 { echo "$as_me:$LINENO: result: no" >&5
3132 echo "${ECHO_T}no" >&6; }
3135 if test "x$ac_ct_CC" = x; then
3138 case $cross_compiling:$ac_tool_warned in
3140 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3141 whose name does not start with the host triplet. If you think this
3142 configuration is useful to you, please write to autoconf@gnu.org." >&5
3143 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3144 whose name does not start with the host triplet. If you think this
3145 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3146 ac_tool_warned=yes ;;
3154 if test -z "$CC"; then
3155 if test -n "$ac_tool_prefix"; then
3156 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3157 set dummy ${ac_tool_prefix}cc; ac_word=$2
3158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3160 if test "${ac_cv_prog_CC+set}" = set; then
3161 echo $ECHO_N "(cached) $ECHO_C" >&6
3163 if test -n "$CC"; then
3164 ac_cv_prog_CC="$CC" # Let the user override the test.
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170 test -z "$as_dir" && as_dir=.
3171 for ac_exec_ext in '' $ac_executable_extensions; do
3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 ac_cv_prog_CC="${ac_tool_prefix}cc"
3174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 if test -n "$CC"; then
3185 { echo "$as_me:$LINENO: result: $CC" >&5
3186 echo "${ECHO_T}$CC" >&6; }
3188 { echo "$as_me:$LINENO: result: no" >&5
3189 echo "${ECHO_T}no" >&6; }
3195 if test -z "$CC"; then
3196 # Extract the first word of "cc", so it can be a program name with args.
3197 set dummy cc; ac_word=$2
3198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3200 if test "${ac_cv_prog_CC+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 if test -n "$CC"; then
3204 ac_cv_prog_CC="$CC" # Let the user override the test.
3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 test -z "$as_dir" && as_dir=.
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3214 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3215 ac_prog_rejected=yes
3219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 if test $ac_prog_rejected = yes; then
3227 # We found a bogon in the path, so make sure we never use it.
3228 set dummy $ac_cv_prog_CC
3230 if test $# != 0; then
3231 # We chose a different compiler from the bogus one.
3232 # However, it has the same basename, so the bogon will be chosen
3233 # first if we set CC to just the basename; use the full file name.
3235 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3241 if test -n "$CC"; then
3242 { echo "$as_me:$LINENO: result: $CC" >&5
3243 echo "${ECHO_T}$CC" >&6; }
3245 { echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6; }
3251 if test -z "$CC"; then
3252 if test -n "$ac_tool_prefix"; then
3253 for ac_prog in cl.exe
3255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3259 if test "${ac_cv_prog_CC+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3262 if test -n "$CC"; then
3263 ac_cv_prog_CC="$CC" # Let the user override the test.
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3269 test -z "$as_dir" && as_dir=.
3270 for ac_exec_ext in '' $ac_executable_extensions; do
3271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3272 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3283 if test -n "$CC"; then
3284 { echo "$as_me:$LINENO: result: $CC" >&5
3285 echo "${ECHO_T}$CC" >&6; }
3287 { echo "$as_me:$LINENO: result: no" >&5
3288 echo "${ECHO_T}no" >&6; }
3292 test -n "$CC" && break
3295 if test -z "$CC"; then
3297 for ac_prog in cl.exe
3299 # Extract the first word of "$ac_prog", so it can be a program name with args.
3300 set dummy $ac_prog; ac_word=$2
3301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3303 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3304 echo $ECHO_N "(cached) $ECHO_C" >&6
3306 if test -n "$ac_ct_CC"; then
3307 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316 ac_cv_prog_ac_ct_CC="$ac_prog"
3317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3327 if test -n "$ac_ct_CC"; then
3328 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3329 echo "${ECHO_T}$ac_ct_CC" >&6; }
3331 { echo "$as_me:$LINENO: result: no" >&5
3332 echo "${ECHO_T}no" >&6; }
3336 test -n "$ac_ct_CC" && break
3339 if test "x$ac_ct_CC" = x; then
3342 case $cross_compiling:$ac_tool_warned in
3344 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3345 whose name does not start with the host triplet. If you think this
3346 configuration is useful to you, please write to autoconf@gnu.org." >&5
3347 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3348 whose name does not start with the host triplet. If you think this
3349 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3350 ac_tool_warned=yes ;;
3359 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3360 See \`config.log' for more details." >&5
3361 echo "$as_me: error: no acceptable C compiler found in \$PATH
3362 See \`config.log' for more details." >&2;}
3363 { (exit 1); exit 1; }; }
3365 # Provide some information about the compiler.
3366 echo "$as_me:$LINENO: checking for C compiler version" >&5
3367 ac_compiler=`set X $ac_compile; echo $2`
3368 { (ac_try="$ac_compiler --version >&5"
3370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3371 *) ac_try_echo=$ac_try;;
3373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3374 (eval "$ac_compiler --version >&5") 2>&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); }
3378 { (ac_try="$ac_compiler -v >&5"
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3384 (eval "$ac_compiler -v >&5") 2>&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); }
3388 { (ac_try="$ac_compiler -V >&5"
3390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3394 (eval "$ac_compiler -V >&5") 2>&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); }
3399 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3400 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3401 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 cat >conftest.$ac_ext <<_ACEOF
3407 cat confdefs.h >>conftest.$ac_ext
3408 cat >>conftest.$ac_ext <<_ACEOF
3409 /* end confdefs.h. */
3422 rm -f conftest.$ac_objext
3423 if { (ac_try="$ac_compile"
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3429 (eval "$ac_compile") 2>conftest.er1
3431 grep -v '^ *+' conftest.er1 >conftest.err
3433 cat conftest.err >&5
3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); } && {
3436 test -z "$ac_c_werror_flag" ||
3437 test ! -s conftest.err
3438 } && test -s conftest.$ac_objext; then
3441 echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.$ac_ext >&5
3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3451 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3452 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3453 GCC=`test $ac_compiler_gnu = yes && echo yes`
3454 ac_test_CFLAGS=${CFLAGS+set}
3455 ac_save_CFLAGS=$CFLAGS
3456 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3457 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3458 if test "${ac_cv_prog_cc_g+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 ac_save_c_werror_flag=$ac_c_werror_flag
3462 ac_c_werror_flag=yes
3465 cat >conftest.$ac_ext <<_ACEOF
3468 cat confdefs.h >>conftest.$ac_ext
3469 cat >>conftest.$ac_ext <<_ACEOF
3470 /* end confdefs.h. */
3480 rm -f conftest.$ac_objext
3481 if { (ac_try="$ac_compile"
3483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3484 *) ac_try_echo=$ac_try;;
3486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3487 (eval "$ac_compile") 2>conftest.er1
3489 grep -v '^ *+' conftest.er1 >conftest.err
3491 cat conftest.err >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); } && {
3494 test -z "$ac_c_werror_flag" ||
3495 test ! -s conftest.err
3496 } && test -s conftest.$ac_objext; then
3499 echo "$as_me: failed program was:" >&5
3500 sed 's/^/| /' conftest.$ac_ext >&5
3503 cat >conftest.$ac_ext <<_ACEOF
3506 cat confdefs.h >>conftest.$ac_ext
3507 cat >>conftest.$ac_ext <<_ACEOF
3508 /* end confdefs.h. */
3518 rm -f conftest.$ac_objext
3519 if { (ac_try="$ac_compile"
3521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3522 *) ac_try_echo=$ac_try;;
3524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3525 (eval "$ac_compile") 2>conftest.er1
3527 grep -v '^ *+' conftest.er1 >conftest.err
3529 cat conftest.err >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); } && {
3532 test -z "$ac_c_werror_flag" ||
3533 test ! -s conftest.err
3534 } && test -s conftest.$ac_objext; then
3537 echo "$as_me: failed program was:" >&5
3538 sed 's/^/| /' conftest.$ac_ext >&5
3540 ac_c_werror_flag=$ac_save_c_werror_flag
3542 cat >conftest.$ac_ext <<_ACEOF
3545 cat confdefs.h >>conftest.$ac_ext
3546 cat >>conftest.$ac_ext <<_ACEOF
3547 /* end confdefs.h. */
3557 rm -f conftest.$ac_objext
3558 if { (ac_try="$ac_compile"
3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;;
3563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3564 (eval "$ac_compile") 2>conftest.er1
3566 grep -v '^ *+' conftest.er1 >conftest.err
3568 cat conftest.err >&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); } && {
3571 test -z "$ac_c_werror_flag" ||
3572 test ! -s conftest.err
3573 } && test -s conftest.$ac_objext; then
3576 echo "$as_me: failed program was:" >&5
3577 sed 's/^/| /' conftest.$ac_ext >&5
3582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 ac_c_werror_flag=$ac_save_c_werror_flag
3591 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3592 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3593 if test "$ac_test_CFLAGS" = set; then
3594 CFLAGS=$ac_save_CFLAGS
3595 elif test $ac_cv_prog_cc_g = yes; then
3596 if test "$GCC" = yes; then
3602 if test "$GCC" = yes; then
3608 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3609 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3610 if test "${ac_cv_prog_cc_c89+set}" = set; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6
3613 ac_cv_prog_cc_c89=no
3615 cat >conftest.$ac_ext <<_ACEOF
3618 cat confdefs.h >>conftest.$ac_ext
3619 cat >>conftest.$ac_ext <<_ACEOF
3620 /* end confdefs.h. */
3623 #include <sys/types.h>
3624 #include <sys/stat.h>
3625 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3626 struct buf { int x; };
3627 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3628 static char *e (p, i)
3634 static char *f (char * (*g) (char **, int), char **p, ...)
3639 s = g (p, va_arg (v,int));
3644 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3645 function prototypes and stuff, but not '\xHH' hex character constants.
3646 These don't provoke an error unfortunately, instead are silently treated
3647 as 'x'. The following induces an error, until -std is added to get
3648 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3649 array size at least. It's necessary to write '\x00'==0 to get something
3650 that's true only with -std. */
3651 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3653 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3654 inside strings and character constants. */
3656 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3658 int test (int i, double x);
3659 struct s1 {int (*f) (int a);};
3660 struct s2 {int (*f) (double a);};
3661 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3667 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3672 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3673 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3675 CC="$ac_save_CC $ac_arg"
3676 rm -f conftest.$ac_objext
3677 if { (ac_try="$ac_compile"
3679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680 *) ac_try_echo=$ac_try;;
3682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3683 (eval "$ac_compile") 2>conftest.er1
3685 grep -v '^ *+' conftest.er1 >conftest.err
3687 cat conftest.err >&5
3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689 (exit $ac_status); } && {
3690 test -z "$ac_c_werror_flag" ||
3691 test ! -s conftest.err
3692 } && test -s conftest.$ac_objext; then
3693 ac_cv_prog_cc_c89=$ac_arg
3695 echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.$ac_ext >&5
3701 rm -f core conftest.err conftest.$ac_objext
3702 test "x$ac_cv_prog_cc_c89" != "xno" && break
3704 rm -f conftest.$ac_ext
3709 case "x$ac_cv_prog_cc_c89" in
3711 { echo "$as_me:$LINENO: result: none needed" >&5
3712 echo "${ECHO_T}none needed" >&6; } ;;
3714 { echo "$as_me:$LINENO: result: unsupported" >&5
3715 echo "${ECHO_T}unsupported" >&6; } ;;
3717 CC="$CC $ac_cv_prog_cc_c89"
3718 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3719 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3724 ac_cpp='$CPP $CPPFLAGS'
3725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3729 depcc="$CC" am_compiler_list=
3731 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3732 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3733 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3734 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3737 # We make a subdir and do the tests there. Otherwise we can end up
3738 # making bogus files that we don't know about and never remove. For
3739 # instance it was reported that on HP-UX the gcc test will end up
3740 # making a dummy file named `D' -- because `-MD' means `put the output
3743 # Copy depcomp to subdir because otherwise we won't find it if we're
3744 # using a relative directory.
3745 cp "$am_depcomp" conftest.dir
3747 # We will build objects and dependencies in a subdirectory because
3748 # it helps to detect inapplicable dependency modes. For instance
3749 # both Tru64's cc and ICC support -MD to output dependencies as a
3750 # side effect of compilation, but ICC will put the dependencies in
3751 # the current directory while Tru64 will put them in the object
3755 am_cv_CC_dependencies_compiler_type=none
3756 if test "$am_compiler_list" = ""; then
3757 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3759 for depmode in $am_compiler_list; do
3760 # Setup a source with many dependencies, because some compilers
3761 # like to wrap large dependency lists on column 80 (with \), and
3762 # we should not choose a depcomp mode which is confused by this.
3764 # We need to recreate these files for each test, as the compiler may
3765 # overwrite some of them when testing with obscure command lines.
3766 # This happens at least with the AIX C compiler.
3768 for i in 1 2 3 4 5 6; do
3769 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3770 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3771 # Solaris 8's {/usr,}/bin/sh.
3772 touch sub/conftst$i.h
3774 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3778 # after this tag, mechanisms are not by side-effect, so they'll
3779 # only be used when explicitly requested
3780 if test "x$enable_dependency_tracking" = xyes; then
3788 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3789 # mode. It turns out that the SunPro C++ compiler does not properly
3790 # handle `-M -o', and we need to detect this.
3791 if depmode=$depmode \
3792 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3793 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3794 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3795 >/dev/null 2>conftest.err &&
3796 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3797 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3798 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3799 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3800 # icc doesn't choke on unknown options, it will just issue warnings
3801 # or remarks (even with -Werror). So we grep stderr for any message
3802 # that says an option was ignored or not supported.
3803 # When given -MP, icc 7.0 and 7.1 complain thusly:
3804 # icc: Command line warning: ignoring option '-M'; no argument required
3805 # The diagnosis changed in icc 8.0:
3806 # icc: Command line remark: option '-MP' not supported
3807 if (grep 'ignoring option' conftest.err ||
3808 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3809 am_cv_CC_dependencies_compiler_type=$depmode
3818 am_cv_CC_dependencies_compiler_type=none
3822 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3823 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3824 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3827 test "x$enable_dependency_tracking" != xno \
3828 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3830 am__fastdepCC_FALSE='#'
3832 am__fastdepCC_TRUE='#'
3833 am__fastdepCC_FALSE=
3838 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3839 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3840 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3841 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3844 cat >conftest.make <<\_ACEOF
3847 @echo '@@@%%%=$(MAKE)=@@@%%%'
3849 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3850 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3852 eval ac_cv_prog_make_${ac_make}_set=yes;;
3854 eval ac_cv_prog_make_${ac_make}_set=no;;
3858 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3859 { echo "$as_me:$LINENO: result: yes" >&5
3860 echo "${ECHO_T}yes" >&6; }
3863 { echo "$as_me:$LINENO: result: no" >&5
3864 echo "${ECHO_T}no" >&6; }
3865 SET_MAKE="MAKE=${MAKE-make}"
3868 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3869 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3871 if test "$LN_S" = "ln -s"; then
3872 { echo "$as_me:$LINENO: result: yes" >&5
3873 echo "${ECHO_T}yes" >&6; }
3875 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3876 echo "${ECHO_T}no, using $LN_S" >&6; }
3881 # Check whether --enable-selinux was given.
3882 if test "${enable_selinux+set}" = set; then
3883 enableval=$enable_selinux; enable_selinux=$enableval
3888 if test "$enable_selinux" = "yes"; then
3890 cat >>confdefs.h <<\_ACEOF
3891 #define WITH_SELINUX 1
3895 { echo "$as_me:$LINENO: checking for getfilecon in -lselinux" >&5
3896 echo $ECHO_N "checking for getfilecon in -lselinux... $ECHO_C" >&6; }
3897 if test "${ac_cv_lib_selinux_getfilecon+set}" = set; then
3898 echo $ECHO_N "(cached) $ECHO_C" >&6
3900 ac_check_lib_save_LIBS=$LIBS
3901 LIBS="-lselinux $LIBS"
3902 cat >conftest.$ac_ext <<_ACEOF
3905 cat confdefs.h >>conftest.$ac_ext
3906 cat >>conftest.$ac_ext <<_ACEOF
3907 /* end confdefs.h. */
3909 /* Override any GCC internal prototype to avoid an error.
3910 Use char because int might match the return type of a GCC
3911 builtin and then its argument prototype would still apply. */
3919 return getfilecon ();
3924 rm -f conftest.$ac_objext conftest$ac_exeext
3925 if { (ac_try="$ac_link"
3927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3928 *) ac_try_echo=$ac_try;;
3930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3931 (eval "$ac_link") 2>conftest.er1
3933 grep -v '^ *+' conftest.er1 >conftest.err
3935 cat conftest.err >&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); } && {
3938 test -z "$ac_c_werror_flag" ||
3939 test ! -s conftest.err
3940 } && test -s conftest$ac_exeext &&
3941 $as_test_x conftest$ac_exeext; then
3942 ac_cv_lib_selinux_getfilecon=yes
3944 echo "$as_me: failed program was:" >&5
3945 sed 's/^/| /' conftest.$ac_ext >&5
3947 ac_cv_lib_selinux_getfilecon=no
3950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3951 conftest$ac_exeext conftest.$ac_ext
3952 LIBS=$ac_check_lib_save_LIBS
3954 { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_getfilecon" >&5
3955 echo "${ECHO_T}$ac_cv_lib_selinux_getfilecon" >&6; }
3956 if test $ac_cv_lib_selinux_getfilecon = yes; then
3957 SELINUX_LIB=-lselinux
3960 { { echo "$as_me:$LINENO: error: Cannot find selinux static library" >&5
3961 echo "$as_me: error: Cannot find selinux static library" >&2;}
3962 { (exit 1); exit 1; }; }
3969 # Check whether --enable-ipv6 was given.
3970 if test "${enable_ipv6+set}" = set; then
3971 enableval=$enable_ipv6; enable_ipv6=$enableval
3976 if test "$enable_ipv6" = "yes"; then
3978 cat >>confdefs.h <<\_ACEOF
3984 { echo "$as_me:$LINENO: checking for tgetent in -ltinfo" >&5
3985 echo $ECHO_N "checking for tgetent in -ltinfo... $ECHO_C" >&6; }
3986 if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 ac_check_lib_save_LIBS=$LIBS
3990 LIBS="-ltinfo $LIBS"
3991 cat >conftest.$ac_ext <<_ACEOF
3994 cat confdefs.h >>conftest.$ac_ext
3995 cat >>conftest.$ac_ext <<_ACEOF
3996 /* end confdefs.h. */
3998 /* Override any GCC internal prototype to avoid an error.
3999 Use char because int might match the return type of a GCC
4000 builtin and then its argument prototype would still apply. */
4013 rm -f conftest.$ac_objext conftest$ac_exeext
4014 if { (ac_try="$ac_link"
4016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4017 *) ac_try_echo=$ac_try;;
4019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4020 (eval "$ac_link") 2>conftest.er1
4022 grep -v '^ *+' conftest.er1 >conftest.err
4024 cat conftest.err >&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } && {
4027 test -z "$ac_c_werror_flag" ||
4028 test ! -s conftest.err
4029 } && test -s conftest$ac_exeext &&
4030 $as_test_x conftest$ac_exeext; then
4031 ac_cv_lib_tinfo_tgetent=yes
4033 echo "$as_me: failed program was:" >&5
4034 sed 's/^/| /' conftest.$ac_ext >&5
4036 ac_cv_lib_tinfo_tgetent=no
4039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4040 conftest$ac_exeext conftest.$ac_ext
4041 LIBS=$ac_check_lib_save_LIBS
4043 { echo "$as_me:$LINENO: result: $ac_cv_lib_tinfo_tgetent" >&5
4044 echo "${ECHO_T}$ac_cv_lib_tinfo_tgetent" >&6; }
4045 if test $ac_cv_lib_tinfo_tgetent = yes; then
4048 { echo "$as_me:$LINENO: checking for tgetent in -lncurses" >&5
4049 echo $ECHO_N "checking for tgetent in -lncurses... $ECHO_C" >&6; }
4050 if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then
4051 echo $ECHO_N "(cached) $ECHO_C" >&6
4053 ac_check_lib_save_LIBS=$LIBS
4054 LIBS="-lncurses $LIBS"
4055 cat >conftest.$ac_ext <<_ACEOF
4058 cat confdefs.h >>conftest.$ac_ext
4059 cat >>conftest.$ac_ext <<_ACEOF
4060 /* end confdefs.h. */
4062 /* Override any GCC internal prototype to avoid an error.
4063 Use char because int might match the return type of a GCC
4064 builtin and then its argument prototype would still apply. */
4077 rm -f conftest.$ac_objext conftest$ac_exeext
4078 if { (ac_try="$ac_link"
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4084 (eval "$ac_link") 2>conftest.er1
4086 grep -v '^ *+' conftest.er1 >conftest.err
4088 cat conftest.err >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } && {
4091 test -z "$ac_c_werror_flag" ||
4092 test ! -s conftest.err
4093 } && test -s conftest$ac_exeext &&
4094 $as_test_x conftest$ac_exeext; then
4095 ac_cv_lib_ncurses_tgetent=yes
4097 echo "$as_me: failed program was:" >&5
4098 sed 's/^/| /' conftest.$ac_ext >&5
4100 ac_cv_lib_ncurses_tgetent=no
4103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4104 conftest$ac_exeext conftest.$ac_ext
4105 LIBS=$ac_check_lib_save_LIBS
4107 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tgetent" >&5
4108 echo "${ECHO_T}$ac_cv_lib_ncurses_tgetent" >&6; }
4109 if test $ac_cv_lib_ncurses_tgetent = yes; then
4110 TERMCAP_LIB=-lncurses
4112 { echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
4113 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6; }
4114 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 ac_check_lib_save_LIBS=$LIBS
4118 LIBS="-ltermcap $LIBS"
4119 cat >conftest.$ac_ext <<_ACEOF
4122 cat confdefs.h >>conftest.$ac_ext
4123 cat >>conftest.$ac_ext <<_ACEOF
4124 /* end confdefs.h. */
4126 /* Override any GCC internal prototype to avoid an error.
4127 Use char because int might match the return type of a GCC
4128 builtin and then its argument prototype would still apply. */
4141 rm -f conftest.$ac_objext conftest$ac_exeext
4142 if { (ac_try="$ac_link"
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4148 (eval "$ac_link") 2>conftest.er1
4150 grep -v '^ *+' conftest.er1 >conftest.err
4152 cat conftest.err >&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); } && {
4155 test -z "$ac_c_werror_flag" ||
4156 test ! -s conftest.err
4157 } && test -s conftest$ac_exeext &&
4158 $as_test_x conftest$ac_exeext; then
4159 ac_cv_lib_termcap_tgetent=yes
4161 echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.$ac_ext >&5
4164 ac_cv_lib_termcap_tgetent=no
4167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4168 conftest$ac_exeext conftest.$ac_ext
4169 LIBS=$ac_check_lib_save_LIBS
4171 { echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
4172 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6; }
4173 if test $ac_cv_lib_termcap_tgetent = yes; then
4174 TERMCAP_LIB=-ltermcap
4176 { { echo "$as_me:$LINENO: error: Cannot find tinfo, ncurses or termcap libraries" >&5
4177 echo "$as_me: error: Cannot find tinfo, ncurses or termcap libraries" >&2;}
4178 { (exit 1); exit 1; }; }
4196 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4197 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4198 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4199 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
4200 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4201 echo $ECHO_N "(cached) $ECHO_C" >&6
4203 cat >conftest.$ac_ext <<_ACEOF
4206 cat confdefs.h >>conftest.$ac_ext
4207 cat >>conftest.$ac_ext <<_ACEOF
4208 /* end confdefs.h. */
4209 #include <sys/types.h>
4221 rm -f conftest.$ac_objext
4222 if { (ac_try="$ac_compile"
4224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4225 *) ac_try_echo=$ac_try;;
4227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4228 (eval "$ac_compile") 2>conftest.er1
4230 grep -v '^ *+' conftest.er1 >conftest.err
4232 cat conftest.err >&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); } && {
4235 test -z "$ac_c_werror_flag" ||
4236 test ! -s conftest.err
4237 } && test -s conftest.$ac_objext; then
4238 eval "$as_ac_Header=yes"
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.$ac_ext >&5
4243 eval "$as_ac_Header=no"
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 ac_res=`eval echo '${'$as_ac_Header'}'`
4249 { echo "$as_me:$LINENO: result: $ac_res" >&5
4250 echo "${ECHO_T}$ac_res" >&6; }
4251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4252 cat >>confdefs.h <<_ACEOF
4253 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4256 ac_header_dirent=$ac_hdr; break
4260 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4261 if test $ac_header_dirent = dirent.h; then
4262 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4263 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4264 if test "${ac_cv_search_opendir+set}" = set; then
4265 echo $ECHO_N "(cached) $ECHO_C" >&6
4267 ac_func_search_save_LIBS=$LIBS
4268 cat >conftest.$ac_ext <<_ACEOF
4271 cat confdefs.h >>conftest.$ac_ext
4272 cat >>conftest.$ac_ext <<_ACEOF
4273 /* end confdefs.h. */
4275 /* Override any GCC internal prototype to avoid an error.
4276 Use char because int might match the return type of a GCC
4277 builtin and then its argument prototype would still apply. */
4290 for ac_lib in '' dir; do
4291 if test -z "$ac_lib"; then
4292 ac_res="none required"
4295 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4297 rm -f conftest.$ac_objext conftest$ac_exeext
4298 if { (ac_try="$ac_link"
4300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4301 *) ac_try_echo=$ac_try;;
4303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4304 (eval "$ac_link") 2>conftest.er1
4306 grep -v '^ *+' conftest.er1 >conftest.err
4308 cat conftest.err >&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); } && {
4311 test -z "$ac_c_werror_flag" ||
4312 test ! -s conftest.err
4313 } && test -s conftest$ac_exeext &&
4314 $as_test_x conftest$ac_exeext; then
4315 ac_cv_search_opendir=$ac_res
4317 echo "$as_me: failed program was:" >&5
4318 sed 's/^/| /' conftest.$ac_ext >&5
4323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4325 if test "${ac_cv_search_opendir+set}" = set; then
4329 if test "${ac_cv_search_opendir+set}" = set; then
4332 ac_cv_search_opendir=no
4335 LIBS=$ac_func_search_save_LIBS
4337 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4338 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4339 ac_res=$ac_cv_search_opendir
4340 if test "$ac_res" != no; then
4341 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4346 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4347 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4348 if test "${ac_cv_search_opendir+set}" = set; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 ac_func_search_save_LIBS=$LIBS
4352 cat >conftest.$ac_ext <<_ACEOF
4355 cat confdefs.h >>conftest.$ac_ext
4356 cat >>conftest.$ac_ext <<_ACEOF
4357 /* end confdefs.h. */
4359 /* Override any GCC internal prototype to avoid an error.
4360 Use char because int might match the return type of a GCC
4361 builtin and then its argument prototype would still apply. */
4374 for ac_lib in '' x; do
4375 if test -z "$ac_lib"; then
4376 ac_res="none required"
4379 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4381 rm -f conftest.$ac_objext conftest$ac_exeext
4382 if { (ac_try="$ac_link"
4384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4388 (eval "$ac_link") 2>conftest.er1
4390 grep -v '^ *+' conftest.er1 >conftest.err
4392 cat conftest.err >&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); } && {
4395 test -z "$ac_c_werror_flag" ||
4396 test ! -s conftest.err
4397 } && test -s conftest$ac_exeext &&
4398 $as_test_x conftest$ac_exeext; then
4399 ac_cv_search_opendir=$ac_res
4401 echo "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.$ac_ext >&5
4407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4409 if test "${ac_cv_search_opendir+set}" = set; then
4413 if test "${ac_cv_search_opendir+set}" = set; then
4416 ac_cv_search_opendir=no
4419 LIBS=$ac_func_search_save_LIBS
4421 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4422 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4423 ac_res=$ac_cv_search_opendir
4424 if test "$ac_res" != no; then
4425 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4432 ac_cpp='$CPP $CPPFLAGS'
4433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4436 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4437 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4438 # On Suns, sometimes $CPP names a directory.
4439 if test -n "$CPP" && test -d "$CPP"; then
4442 if test -z "$CPP"; then
4443 if test "${ac_cv_prog_CPP+set}" = set; then
4444 echo $ECHO_N "(cached) $ECHO_C" >&6
4446 # Double quotes because CPP needs to be expanded
4447 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4450 for ac_c_preproc_warn_flag in '' yes
4452 # Use a header file that comes with gcc, so configuring glibc
4453 # with a fresh cross-compiler works.
4454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4455 # <limits.h> exists even on freestanding compilers.
4456 # On the NeXT, cc -E runs the code through the compiler's parser,
4457 # not just through cpp. "Syntax error" is here to catch this case.
4458 cat >conftest.$ac_ext <<_ACEOF
4461 cat confdefs.h >>conftest.$ac_ext
4462 cat >>conftest.$ac_ext <<_ACEOF
4463 /* end confdefs.h. */
4465 # include <limits.h>
4467 # include <assert.h>
4471 if { (ac_try="$ac_cpp conftest.$ac_ext"
4473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4474 *) ac_try_echo=$ac_try;;
4476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4477 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4479 grep -v '^ *+' conftest.er1 >conftest.err
4481 cat conftest.err >&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); } >/dev/null && {
4484 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4485 test ! -s conftest.err
4489 echo "$as_me: failed program was:" >&5
4490 sed 's/^/| /' conftest.$ac_ext >&5
4492 # Broken: fails on valid input.
4496 rm -f conftest.err conftest.$ac_ext
4498 # OK, works on sane cases. Now check whether nonexistent headers
4499 # can be detected and how.
4500 cat >conftest.$ac_ext <<_ACEOF
4503 cat confdefs.h >>conftest.$ac_ext
4504 cat >>conftest.$ac_ext <<_ACEOF
4505 /* end confdefs.h. */
4506 #include <ac_nonexistent.h>
4508 if { (ac_try="$ac_cpp conftest.$ac_ext"
4510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4511 *) ac_try_echo=$ac_try;;
4513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4514 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4516 grep -v '^ *+' conftest.er1 >conftest.err
4518 cat conftest.err >&5
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); } >/dev/null && {
4521 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4522 test ! -s conftest.err
4524 # Broken: success on invalid input.
4527 echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.$ac_ext >&5
4530 # Passes both tests.
4535 rm -f conftest.err conftest.$ac_ext
4538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4539 rm -f conftest.err conftest.$ac_ext
4540 if $ac_preproc_ok; then
4552 { echo "$as_me:$LINENO: result: $CPP" >&5
4553 echo "${ECHO_T}$CPP" >&6; }
4555 for ac_c_preproc_warn_flag in '' yes
4557 # Use a header file that comes with gcc, so configuring glibc
4558 # with a fresh cross-compiler works.
4559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4560 # <limits.h> exists even on freestanding compilers.
4561 # On the NeXT, cc -E runs the code through the compiler's parser,
4562 # not just through cpp. "Syntax error" is here to catch this case.
4563 cat >conftest.$ac_ext <<_ACEOF
4566 cat confdefs.h >>conftest.$ac_ext
4567 cat >>conftest.$ac_ext <<_ACEOF
4568 /* end confdefs.h. */
4570 # include <limits.h>
4572 # include <assert.h>
4576 if { (ac_try="$ac_cpp conftest.$ac_ext"
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4584 grep -v '^ *+' conftest.er1 >conftest.err
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } >/dev/null && {
4589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4590 test ! -s conftest.err
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 # Broken: fails on valid input.
4601 rm -f conftest.err conftest.$ac_ext
4603 # OK, works on sane cases. Now check whether nonexistent headers
4604 # can be detected and how.
4605 cat >conftest.$ac_ext <<_ACEOF
4608 cat confdefs.h >>conftest.$ac_ext
4609 cat >>conftest.$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4611 #include <ac_nonexistent.h>
4613 if { (ac_try="$ac_cpp conftest.$ac_ext"
4615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4616 *) ac_try_echo=$ac_try;;
4618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4621 grep -v '^ *+' conftest.er1 >conftest.err
4623 cat conftest.err >&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); } >/dev/null && {
4626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4627 test ! -s conftest.err
4629 # Broken: success on invalid input.
4632 echo "$as_me: failed program was:" >&5
4633 sed 's/^/| /' conftest.$ac_ext >&5
4635 # Passes both tests.
4640 rm -f conftest.err conftest.$ac_ext
4643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4644 rm -f conftest.err conftest.$ac_ext
4645 if $ac_preproc_ok; then
4648 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4649 See \`config.log' for more details." >&5
4650 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4651 See \`config.log' for more details." >&2;}
4652 { (exit 1); exit 1; }; }
4656 ac_cpp='$CPP $CPPFLAGS'
4657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4662 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4663 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4664 if test "${ac_cv_path_GREP+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 # Extract the first word of "grep ggrep" to use in msg output
4668 if test -z "$GREP"; then
4669 set dummy grep ggrep; ac_prog_name=$2
4670 if test "${ac_cv_path_GREP+set}" = set; then
4671 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 ac_path_GREP_found=false
4674 # Loop through the user's path and test for each of PROGNAME-LIST
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4679 test -z "$as_dir" && as_dir=.
4680 for ac_prog in grep ggrep; do
4681 for ac_exec_ext in '' $ac_executable_extensions; do
4682 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4683 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4684 # Check for GNU ac_path_GREP and select it if it is found.
4685 # Check for GNU $ac_path_GREP
4686 case `"$ac_path_GREP" --version 2>&1` in
4688 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4691 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4694 cat "conftest.in" "conftest.in" >"conftest.tmp"
4695 mv "conftest.tmp" "conftest.in"
4696 cp "conftest.in" "conftest.nl"
4697 echo 'GREP' >> "conftest.nl"
4698 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4699 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4700 ac_count=`expr $ac_count + 1`
4701 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4702 # Best one so far, save it but keep looking for a better one
4703 ac_cv_path_GREP="$ac_path_GREP"
4704 ac_path_GREP_max=$ac_count
4706 # 10*(2^10) chars as input seems more than enough
4707 test $ac_count -gt 10 && break
4709 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4713 $ac_path_GREP_found && break 3
4723 GREP="$ac_cv_path_GREP"
4724 if test -z "$GREP"; then
4725 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4726 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4727 { (exit 1); exit 1; }; }
4731 ac_cv_path_GREP=$GREP
4736 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4737 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4738 GREP="$ac_cv_path_GREP"
4741 { echo "$as_me:$LINENO: checking for egrep" >&5
4742 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4743 if test "${ac_cv_path_EGREP+set}" = set; then
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
4746 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4747 then ac_cv_path_EGREP="$GREP -E"
4749 # Extract the first word of "egrep" to use in msg output
4750 if test -z "$EGREP"; then
4751 set dummy egrep; ac_prog_name=$2
4752 if test "${ac_cv_path_EGREP+set}" = set; then
4753 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 ac_path_EGREP_found=false
4756 # Loop through the user's path and test for each of PROGNAME-LIST
4757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4758 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4761 test -z "$as_dir" && as_dir=.
4762 for ac_prog in egrep; do
4763 for ac_exec_ext in '' $ac_executable_extensions; do
4764 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4765 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4766 # Check for GNU ac_path_EGREP and select it if it is found.
4767 # Check for GNU $ac_path_EGREP
4768 case `"$ac_path_EGREP" --version 2>&1` in
4770 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4773 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4776 cat "conftest.in" "conftest.in" >"conftest.tmp"
4777 mv "conftest.tmp" "conftest.in"
4778 cp "conftest.in" "conftest.nl"
4779 echo 'EGREP' >> "conftest.nl"
4780 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4781 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4782 ac_count=`expr $ac_count + 1`
4783 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4784 # Best one so far, save it but keep looking for a better one
4785 ac_cv_path_EGREP="$ac_path_EGREP"
4786 ac_path_EGREP_max=$ac_count
4788 # 10*(2^10) chars as input seems more than enough
4789 test $ac_count -gt 10 && break
4791 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4795 $ac_path_EGREP_found && break 3
4805 EGREP="$ac_cv_path_EGREP"
4806 if test -z "$EGREP"; then
4807 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4808 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4809 { (exit 1); exit 1; }; }
4813 ac_cv_path_EGREP=$EGREP
4819 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4820 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4821 EGREP="$ac_cv_path_EGREP"
4824 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4825 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4826 if test "${ac_cv_header_stdc+set}" = set; then
4827 echo $ECHO_N "(cached) $ECHO_C" >&6
4829 cat >conftest.$ac_ext <<_ACEOF
4832 cat confdefs.h >>conftest.$ac_ext
4833 cat >>conftest.$ac_ext <<_ACEOF
4834 /* end confdefs.h. */
4848 rm -f conftest.$ac_objext
4849 if { (ac_try="$ac_compile"
4851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4852 *) ac_try_echo=$ac_try;;
4854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4855 (eval "$ac_compile") 2>conftest.er1
4857 grep -v '^ *+' conftest.er1 >conftest.err
4859 cat conftest.err >&5
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); } && {
4862 test -z "$ac_c_werror_flag" ||
4863 test ! -s conftest.err
4864 } && test -s conftest.$ac_objext; then
4865 ac_cv_header_stdc=yes
4867 echo "$as_me: failed program was:" >&5
4868 sed 's/^/| /' conftest.$ac_ext >&5
4870 ac_cv_header_stdc=no
4873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4875 if test $ac_cv_header_stdc = yes; then
4876 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4877 cat >conftest.$ac_ext <<_ACEOF
4880 cat confdefs.h >>conftest.$ac_ext
4881 cat >>conftest.$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4887 $EGREP "memchr" >/dev/null 2>&1; then
4890 ac_cv_header_stdc=no
4896 if test $ac_cv_header_stdc = yes; then
4897 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4898 cat >conftest.$ac_ext <<_ACEOF
4901 cat confdefs.h >>conftest.$ac_ext
4902 cat >>conftest.$ac_ext <<_ACEOF
4903 /* end confdefs.h. */
4907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4908 $EGREP "free" >/dev/null 2>&1; then
4911 ac_cv_header_stdc=no
4917 if test $ac_cv_header_stdc = yes; then
4918 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4919 if test "$cross_compiling" = yes; then
4922 cat >conftest.$ac_ext <<_ACEOF
4925 cat confdefs.h >>conftest.$ac_ext
4926 cat >>conftest.$ac_ext <<_ACEOF
4927 /* end confdefs.h. */
4930 #if ((' ' & 0x0FF) == 0x020)
4931 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4932 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4934 # define ISLOWER(c) \
4935 (('a' <= (c) && (c) <= 'i') \
4936 || ('j' <= (c) && (c) <= 'r') \
4937 || ('s' <= (c) && (c) <= 'z'))
4938 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4941 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4946 for (i = 0; i < 256; i++)
4947 if (XOR (islower (i), ISLOWER (i))
4948 || toupper (i) != TOUPPER (i))
4953 rm -f conftest$ac_exeext
4954 if { (ac_try="$ac_link"
4956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957 *) ac_try_echo=$ac_try;;
4959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960 (eval "$ac_link") 2>&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4964 { (case "(($ac_try" in
4965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4966 *) ac_try_echo=$ac_try;;
4968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4969 (eval "$ac_try") 2>&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); }; }; then
4975 echo "$as_me: program exited with status $ac_status" >&5
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.$ac_ext >&5
4980 ac_cv_header_stdc=no
4982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4988 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4989 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4990 if test $ac_cv_header_stdc = yes; then
4992 cat >>confdefs.h <<\_ACEOF
4993 #define STDC_HEADERS 1
4998 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4999 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
5000 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 cat >conftest.$ac_ext <<_ACEOF
5006 cat confdefs.h >>conftest.$ac_ext
5007 cat >>conftest.$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5009 #include <sys/types.h>
5010 #include <sys/wait.h>
5012 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5015 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5023 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5028 rm -f conftest.$ac_objext
5029 if { (ac_try="$ac_compile"
5031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5032 *) ac_try_echo=$ac_try;;
5034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5035 (eval "$ac_compile") 2>conftest.er1
5037 grep -v '^ *+' conftest.er1 >conftest.err
5039 cat conftest.err >&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); } && {
5042 test -z "$ac_c_werror_flag" ||
5043 test ! -s conftest.err
5044 } && test -s conftest.$ac_objext; then
5045 ac_cv_header_sys_wait_h=yes
5047 echo "$as_me: failed program was:" >&5
5048 sed 's/^/| /' conftest.$ac_ext >&5
5050 ac_cv_header_sys_wait_h=no
5053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5055 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5056 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
5057 if test $ac_cv_header_sys_wait_h = yes; then
5059 cat >>confdefs.h <<\_ACEOF
5060 #define HAVE_SYS_WAIT_H 1
5065 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5075 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5076 inttypes.h stdint.h unistd.h
5078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5079 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5084 cat >conftest.$ac_ext <<_ACEOF
5087 cat confdefs.h >>conftest.$ac_ext
5088 cat >>conftest.$ac_ext <<_ACEOF
5089 /* end confdefs.h. */
5090 $ac_includes_default
5092 #include <$ac_header>
5094 rm -f conftest.$ac_objext
5095 if { (ac_try="$ac_compile"
5097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5098 *) ac_try_echo=$ac_try;;
5100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5101 (eval "$ac_compile") 2>conftest.er1
5103 grep -v '^ *+' conftest.er1 >conftest.err
5105 cat conftest.err >&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); } && {
5108 test -z "$ac_c_werror_flag" ||
5109 test ! -s conftest.err
5110 } && test -s conftest.$ac_objext; then
5111 eval "$as_ac_Header=yes"
5113 echo "$as_me: failed program was:" >&5
5114 sed 's/^/| /' conftest.$ac_ext >&5
5116 eval "$as_ac_Header=no"
5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5121 ac_res=`eval echo '${'$as_ac_Header'}'`
5122 { echo "$as_me:$LINENO: result: $ac_res" >&5
5123 echo "${ECHO_T}$ac_res" >&6; }
5124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5125 cat >>confdefs.h <<_ACEOF
5126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5149 for ac_header in arpa/inet.h fcntl.h langinfo.h libintl.h limits.h locale.h mntent.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h termios.h unistd.h
5151 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5153 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5156 echo $ECHO_N "(cached) $ECHO_C" >&6
5158 ac_res=`eval echo '${'$as_ac_Header'}'`
5159 { echo "$as_me:$LINENO: result: $ac_res" >&5
5160 echo "${ECHO_T}$ac_res" >&6; }
5162 # Is the header compilable?
5163 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5164 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5165 cat >conftest.$ac_ext <<_ACEOF
5168 cat confdefs.h >>conftest.$ac_ext
5169 cat >>conftest.$ac_ext <<_ACEOF
5170 /* end confdefs.h. */
5171 $ac_includes_default
5172 #include <$ac_header>
5174 rm -f conftest.$ac_objext
5175 if { (ac_try="$ac_compile"
5177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5178 *) ac_try_echo=$ac_try;;
5180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5181 (eval "$ac_compile") 2>conftest.er1
5183 grep -v '^ *+' conftest.er1 >conftest.err
5185 cat conftest.err >&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); } && {
5188 test -z "$ac_c_werror_flag" ||
5189 test ! -s conftest.err
5190 } && test -s conftest.$ac_objext; then
5191 ac_header_compiler=yes
5193 echo "$as_me: failed program was:" >&5
5194 sed 's/^/| /' conftest.$ac_ext >&5
5196 ac_header_compiler=no
5199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5200 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5201 echo "${ECHO_T}$ac_header_compiler" >&6; }
5203 # Is the header present?
5204 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5206 cat >conftest.$ac_ext <<_ACEOF
5209 cat confdefs.h >>conftest.$ac_ext
5210 cat >>conftest.$ac_ext <<_ACEOF
5211 /* end confdefs.h. */
5212 #include <$ac_header>
5214 if { (ac_try="$ac_cpp conftest.$ac_ext"
5216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5217 *) ac_try_echo=$ac_try;;
5219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5220 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5222 grep -v '^ *+' conftest.er1 >conftest.err
5224 cat conftest.err >&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); } >/dev/null && {
5227 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5228 test ! -s conftest.err
5230 ac_header_preproc=yes
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5235 ac_header_preproc=no
5238 rm -f conftest.err conftest.$ac_ext
5239 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5240 echo "${ECHO_T}$ac_header_preproc" >&6; }
5242 # So? What about this header?
5243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5245 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5246 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5248 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5249 ac_header_preproc=yes
5252 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5253 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5254 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5255 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5256 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5257 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5258 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5259 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5262 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5263 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5267 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5270 echo $ECHO_N "(cached) $ECHO_C" >&6
5272 eval "$as_ac_Header=\$ac_header_preproc"
5274 ac_res=`eval echo '${'$as_ac_Header'}'`
5275 { echo "$as_me:$LINENO: result: $ac_res" >&5
5276 echo "${ECHO_T}$ac_res" >&6; }
5279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5280 cat >>confdefs.h <<_ACEOF
5281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5289 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5290 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5291 if test "${ac_cv_c_const+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 cat >conftest.$ac_ext <<_ACEOF
5297 cat confdefs.h >>conftest.$ac_ext
5298 cat >>conftest.$ac_ext <<_ACEOF
5299 /* end confdefs.h. */
5304 /* FIXME: Include the comments suggested by Paul. */
5306 /* Ultrix mips cc rejects this. */
5307 typedef int charset[2];
5309 /* SunOS 4.1.1 cc rejects this. */
5310 char const *const *pcpcc;
5312 /* NEC SVR4.0.2 mips cc rejects this. */
5313 struct point {int x, y;};
5314 static struct point const zero = {0,0};
5315 /* AIX XL C 1.02.0.0 rejects this.
5316 It does not let you subtract one const X* pointer from another in
5317 an arm of an if-expression whose if-part is not a constant
5319 const char *g = "string";
5320 pcpcc = &g + (g ? g-g : 0);
5321 /* HPUX 7.0 cc rejects these. */
5323 ppc = (char**) pcpcc;
5324 pcpcc = (char const *const *) ppc;
5325 { /* SCO 3.2v4 cc rejects this. */
5327 char const *s = 0 ? (char *) 0 : (char const *) 0;
5332 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5334 const int *foo = &x[0];
5337 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5338 typedef const int *iptr;
5342 { /* AIX XL C 1.02.0.0 rejects this saying
5343 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5344 struct s { int j; const int *ap[3]; };
5345 struct s *b; b->j = 5;
5347 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5351 return !cs[0] && !zero.x;
5358 rm -f conftest.$ac_objext
5359 if { (ac_try="$ac_compile"
5361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5362 *) ac_try_echo=$ac_try;;
5364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5365 (eval "$ac_compile") 2>conftest.er1
5367 grep -v '^ *+' conftest.er1 >conftest.err
5369 cat conftest.err >&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); } && {
5372 test -z "$ac_c_werror_flag" ||
5373 test ! -s conftest.err
5374 } && test -s conftest.$ac_objext; then
5377 echo "$as_me: failed program was:" >&5
5378 sed 's/^/| /' conftest.$ac_ext >&5
5383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5385 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5386 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5387 if test $ac_cv_c_const = no; then
5389 cat >>confdefs.h <<\_ACEOF
5395 { echo "$as_me:$LINENO: checking for pid_t" >&5
5396 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
5397 if test "${ac_cv_type_pid_t+set}" = set; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 cat >conftest.$ac_ext <<_ACEOF
5403 cat confdefs.h >>conftest.$ac_ext
5404 cat >>conftest.$ac_ext <<_ACEOF
5405 /* end confdefs.h. */
5406 $ac_includes_default
5407 typedef pid_t ac__type_new_;
5411 if ((ac__type_new_ *) 0)
5413 if (sizeof (ac__type_new_))
5419 rm -f conftest.$ac_objext
5420 if { (ac_try="$ac_compile"
5422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5423 *) ac_try_echo=$ac_try;;
5425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5426 (eval "$ac_compile") 2>conftest.er1
5428 grep -v '^ *+' conftest.er1 >conftest.err
5430 cat conftest.err >&5
5431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432 (exit $ac_status); } && {
5433 test -z "$ac_c_werror_flag" ||
5434 test ! -s conftest.err
5435 } && test -s conftest.$ac_objext; then
5436 ac_cv_type_pid_t=yes
5438 echo "$as_me: failed program was:" >&5
5439 sed 's/^/| /' conftest.$ac_ext >&5
5444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5446 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5447 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
5448 if test $ac_cv_type_pid_t = yes; then
5452 cat >>confdefs.h <<_ACEOF
5458 { echo "$as_me:$LINENO: checking for size_t" >&5
5459 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5460 if test "${ac_cv_type_size_t+set}" = set; then
5461 echo $ECHO_N "(cached) $ECHO_C" >&6
5463 cat >conftest.$ac_ext <<_ACEOF
5466 cat confdefs.h >>conftest.$ac_ext
5467 cat >>conftest.$ac_ext <<_ACEOF
5468 /* end confdefs.h. */
5469 $ac_includes_default
5470 typedef size_t ac__type_new_;
5474 if ((ac__type_new_ *) 0)
5476 if (sizeof (ac__type_new_))
5482 rm -f conftest.$ac_objext
5483 if { (ac_try="$ac_compile"
5485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5486 *) ac_try_echo=$ac_try;;
5488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5489 (eval "$ac_compile") 2>conftest.er1
5491 grep -v '^ *+' conftest.er1 >conftest.err
5493 cat conftest.err >&5
5494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); } && {
5496 test -z "$ac_c_werror_flag" ||
5497 test ! -s conftest.err
5498 } && test -s conftest.$ac_objext; then
5499 ac_cv_type_size_t=yes
5501 echo "$as_me: failed program was:" >&5
5502 sed 's/^/| /' conftest.$ac_ext >&5
5504 ac_cv_type_size_t=no
5507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5509 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5510 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5511 if test $ac_cv_type_size_t = yes; then
5515 cat >>confdefs.h <<_ACEOF
5516 #define size_t unsigned int
5521 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5522 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
5523 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5524 echo $ECHO_N "(cached) $ECHO_C" >&6
5526 cat >conftest.$ac_ext <<_ACEOF
5529 cat confdefs.h >>conftest.$ac_ext
5530 cat >>conftest.$ac_ext <<_ACEOF
5531 /* end confdefs.h. */
5532 $ac_includes_default
5536 static struct stat ac_aggr;
5537 if (ac_aggr.st_rdev)
5543 rm -f conftest.$ac_objext
5544 if { (ac_try="$ac_compile"
5546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5547 *) ac_try_echo=$ac_try;;
5549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5550 (eval "$ac_compile") 2>conftest.er1
5552 grep -v '^ *+' conftest.er1 >conftest.err
5554 cat conftest.err >&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); } && {
5557 test -z "$ac_c_werror_flag" ||
5558 test ! -s conftest.err
5559 } && test -s conftest.$ac_objext; then
5560 ac_cv_member_struct_stat_st_rdev=yes
5562 echo "$as_me: failed program was:" >&5
5563 sed 's/^/| /' conftest.$ac_ext >&5
5565 cat >conftest.$ac_ext <<_ACEOF
5568 cat confdefs.h >>conftest.$ac_ext
5569 cat >>conftest.$ac_ext <<_ACEOF
5570 /* end confdefs.h. */
5571 $ac_includes_default
5575 static struct stat ac_aggr;
5576 if (sizeof ac_aggr.st_rdev)
5582 rm -f conftest.$ac_objext
5583 if { (ac_try="$ac_compile"
5585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5586 *) ac_try_echo=$ac_try;;
5588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5589 (eval "$ac_compile") 2>conftest.er1
5591 grep -v '^ *+' conftest.er1 >conftest.err
5593 cat conftest.err >&5
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); } && {
5596 test -z "$ac_c_werror_flag" ||
5597 test ! -s conftest.err
5598 } && test -s conftest.$ac_objext; then
5599 ac_cv_member_struct_stat_st_rdev=yes
5601 echo "$as_me: failed program was:" >&5
5602 sed 's/^/| /' conftest.$ac_ext >&5
5604 ac_cv_member_struct_stat_st_rdev=no
5607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5612 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5613 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
5614 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5616 cat >>confdefs.h <<_ACEOF
5617 #define HAVE_STRUCT_STAT_ST_RDEV 1
5623 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
5624 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
5625 if test "${ac_cv_type_uid_t+set}" = set; then
5626 echo $ECHO_N "(cached) $ECHO_C" >&6
5628 cat >conftest.$ac_ext <<_ACEOF
5631 cat confdefs.h >>conftest.$ac_ext
5632 cat >>conftest.$ac_ext <<_ACEOF
5633 /* end confdefs.h. */
5634 #include <sys/types.h>
5637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5638 $EGREP "uid_t" >/dev/null 2>&1; then
5639 ac_cv_type_uid_t=yes
5646 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5647 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
5648 if test $ac_cv_type_uid_t = no; then
5650 cat >>confdefs.h <<\_ACEOF
5655 cat >>confdefs.h <<\_ACEOF
5661 { echo "$as_me:$LINENO: checking for struct user_regs_struct.orig_eax" >&5
5662 echo $ECHO_N "checking for struct user_regs_struct.orig_eax... $ECHO_C" >&6; }
5663 if test "${ac_cv_member_struct_user_regs_struct_orig_eax+set}" = set; then
5664 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 cat >conftest.$ac_ext <<_ACEOF
5669 cat confdefs.h >>conftest.$ac_ext
5670 cat >>conftest.$ac_ext <<_ACEOF
5671 /* end confdefs.h. */
5672 #include <linux/user.h>
5677 static struct user_regs_struct ac_aggr;
5678 if (ac_aggr.orig_eax)
5684 rm -f conftest.$ac_objext
5685 if { (ac_try="$ac_compile"
5687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5688 *) ac_try_echo=$ac_try;;
5690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5691 (eval "$ac_compile") 2>conftest.er1
5693 grep -v '^ *+' conftest.er1 >conftest.err
5695 cat conftest.err >&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); } && {
5698 test -z "$ac_c_werror_flag" ||
5699 test ! -s conftest.err
5700 } && test -s conftest.$ac_objext; then
5701 ac_cv_member_struct_user_regs_struct_orig_eax=yes
5703 echo "$as_me: failed program was:" >&5
5704 sed 's/^/| /' conftest.$ac_ext >&5
5706 cat >conftest.$ac_ext <<_ACEOF
5709 cat confdefs.h >>conftest.$ac_ext
5710 cat >>conftest.$ac_ext <<_ACEOF
5711 /* end confdefs.h. */
5712 #include <linux/user.h>
5717 static struct user_regs_struct ac_aggr;
5718 if (sizeof ac_aggr.orig_eax)
5724 rm -f conftest.$ac_objext
5725 if { (ac_try="$ac_compile"
5727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5728 *) ac_try_echo=$ac_try;;
5730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5731 (eval "$ac_compile") 2>conftest.er1
5733 grep -v '^ *+' conftest.er1 >conftest.err
5735 cat conftest.err >&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); } && {
5738 test -z "$ac_c_werror_flag" ||
5739 test ! -s conftest.err
5740 } && test -s conftest.$ac_objext; then
5741 ac_cv_member_struct_user_regs_struct_orig_eax=yes
5743 echo "$as_me: failed program was:" >&5
5744 sed 's/^/| /' conftest.$ac_ext >&5
5746 ac_cv_member_struct_user_regs_struct_orig_eax=no
5749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5754 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_user_regs_struct_orig_eax" >&5
5755 echo "${ECHO_T}$ac_cv_member_struct_user_regs_struct_orig_eax" >&6; }
5756 if test $ac_cv_member_struct_user_regs_struct_orig_eax = yes; then
5758 cat >>confdefs.h <<_ACEOF
5759 #define HAVE_STRUCT_USER_REGS_STRUCT_ORIG_EAX 1
5764 { echo "$as_me:$LINENO: checking for struct user_regs_struct.eax" >&5
5765 echo $ECHO_N "checking for struct user_regs_struct.eax... $ECHO_C" >&6; }
5766 if test "${ac_cv_member_struct_user_regs_struct_eax+set}" = set; then
5767 echo $ECHO_N "(cached) $ECHO_C" >&6
5769 cat >conftest.$ac_ext <<_ACEOF
5772 cat confdefs.h >>conftest.$ac_ext
5773 cat >>conftest.$ac_ext <<_ACEOF
5774 /* end confdefs.h. */
5775 #include <linux/user.h>
5780 static struct user_regs_struct ac_aggr;
5787 rm -f conftest.$ac_objext
5788 if { (ac_try="$ac_compile"
5790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5791 *) ac_try_echo=$ac_try;;
5793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5794 (eval "$ac_compile") 2>conftest.er1
5796 grep -v '^ *+' conftest.er1 >conftest.err
5798 cat conftest.err >&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); } && {
5801 test -z "$ac_c_werror_flag" ||
5802 test ! -s conftest.err
5803 } && test -s conftest.$ac_objext; then
5804 ac_cv_member_struct_user_regs_struct_eax=yes
5806 echo "$as_me: failed program was:" >&5
5807 sed 's/^/| /' conftest.$ac_ext >&5
5809 cat >conftest.$ac_ext <<_ACEOF
5812 cat confdefs.h >>conftest.$ac_ext
5813 cat >>conftest.$ac_ext <<_ACEOF
5814 /* end confdefs.h. */
5815 #include <linux/user.h>
5820 static struct user_regs_struct ac_aggr;
5821 if (sizeof ac_aggr.eax)
5827 rm -f conftest.$ac_objext
5828 if { (ac_try="$ac_compile"
5830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5831 *) ac_try_echo=$ac_try;;
5833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5834 (eval "$ac_compile") 2>conftest.er1
5836 grep -v '^ *+' conftest.er1 >conftest.err
5838 cat conftest.err >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } && {
5841 test -z "$ac_c_werror_flag" ||
5842 test ! -s conftest.err
5843 } && test -s conftest.$ac_objext; then
5844 ac_cv_member_struct_user_regs_struct_eax=yes
5846 echo "$as_me: failed program was:" >&5
5847 sed 's/^/| /' conftest.$ac_ext >&5
5849 ac_cv_member_struct_user_regs_struct_eax=no
5852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5857 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_user_regs_struct_eax" >&5
5858 echo "${ECHO_T}$ac_cv_member_struct_user_regs_struct_eax" >&6; }
5859 if test $ac_cv_member_struct_user_regs_struct_eax = yes; then
5861 cat >>confdefs.h <<_ACEOF
5862 #define HAVE_STRUCT_USER_REGS_STRUCT_EAX 1
5867 { echo "$as_me:$LINENO: checking for struct user_regs_struct.ebx" >&5
5868 echo $ECHO_N "checking for struct user_regs_struct.ebx... $ECHO_C" >&6; }
5869 if test "${ac_cv_member_struct_user_regs_struct_ebx+set}" = set; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6
5872 cat >conftest.$ac_ext <<_ACEOF
5875 cat confdefs.h >>conftest.$ac_ext
5876 cat >>conftest.$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5878 #include <linux/user.h>
5883 static struct user_regs_struct ac_aggr;
5890 rm -f conftest.$ac_objext
5891 if { (ac_try="$ac_compile"
5893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5894 *) ac_try_echo=$ac_try;;
5896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5897 (eval "$ac_compile") 2>conftest.er1
5899 grep -v '^ *+' conftest.er1 >conftest.err
5901 cat conftest.err >&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); } && {
5904 test -z "$ac_c_werror_flag" ||
5905 test ! -s conftest.err
5906 } && test -s conftest.$ac_objext; then
5907 ac_cv_member_struct_user_regs_struct_ebx=yes
5909 echo "$as_me: failed program was:" >&5
5910 sed 's/^/| /' conftest.$ac_ext >&5
5912 cat >conftest.$ac_ext <<_ACEOF
5915 cat confdefs.h >>conftest.$ac_ext
5916 cat >>conftest.$ac_ext <<_ACEOF
5917 /* end confdefs.h. */
5918 #include <linux/user.h>
5923 static struct user_regs_struct ac_aggr;
5924 if (sizeof ac_aggr.ebx)
5930 rm -f conftest.$ac_objext
5931 if { (ac_try="$ac_compile"
5933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5934 *) ac_try_echo=$ac_try;;
5936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5937 (eval "$ac_compile") 2>conftest.er1
5939 grep -v '^ *+' conftest.er1 >conftest.err
5941 cat conftest.err >&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); } && {
5944 test -z "$ac_c_werror_flag" ||
5945 test ! -s conftest.err
5946 } && test -s conftest.$ac_objext; then
5947 ac_cv_member_struct_user_regs_struct_ebx=yes
5949 echo "$as_me: failed program was:" >&5
5950 sed 's/^/| /' conftest.$ac_ext >&5
5952 ac_cv_member_struct_user_regs_struct_ebx=no
5955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5960 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_user_regs_struct_ebx" >&5
5961 echo "${ECHO_T}$ac_cv_member_struct_user_regs_struct_ebx" >&6; }
5962 if test $ac_cv_member_struct_user_regs_struct_ebx = yes; then
5964 cat >>confdefs.h <<_ACEOF
5965 #define HAVE_STRUCT_USER_REGS_STRUCT_EBX 1
5970 { echo "$as_me:$LINENO: checking for struct user_regs_struct.ecx" >&5
5971 echo $ECHO_N "checking for struct user_regs_struct.ecx... $ECHO_C" >&6; }
5972 if test "${ac_cv_member_struct_user_regs_struct_ecx+set}" = set; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6
5975 cat >conftest.$ac_ext <<_ACEOF
5978 cat confdefs.h >>conftest.$ac_ext
5979 cat >>conftest.$ac_ext <<_ACEOF
5980 /* end confdefs.h. */
5981 #include <linux/user.h>
5986 static struct user_regs_struct ac_aggr;
5993 rm -f conftest.$ac_objext
5994 if { (ac_try="$ac_compile"
5996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5997 *) ac_try_echo=$ac_try;;
5999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6000 (eval "$ac_compile") 2>conftest.er1
6002 grep -v '^ *+' conftest.er1 >conftest.err
6004 cat conftest.err >&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); } && {
6007 test -z "$ac_c_werror_flag" ||
6008 test ! -s conftest.err
6009 } && test -s conftest.$ac_objext; then
6010 ac_cv_member_struct_user_regs_struct_ecx=yes
6012 echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.$ac_ext >&5
6015 cat >conftest.$ac_ext <<_ACEOF
6018 cat confdefs.h >>conftest.$ac_ext
6019 cat >>conftest.$ac_ext <<_ACEOF
6020 /* end confdefs.h. */
6021 #include <linux/user.h>
6026 static struct user_regs_struct ac_aggr;
6027 if (sizeof ac_aggr.ecx)
6033 rm -f conftest.$ac_objext
6034 if { (ac_try="$ac_compile"
6036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6037 *) ac_try_echo=$ac_try;;
6039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6040 (eval "$ac_compile") 2>conftest.er1
6042 grep -v '^ *+' conftest.er1 >conftest.err
6044 cat conftest.err >&5
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); } && {
6047 test -z "$ac_c_werror_flag" ||
6048 test ! -s conftest.err
6049 } && test -s conftest.$ac_objext; then
6050 ac_cv_member_struct_user_regs_struct_ecx=yes
6052 echo "$as_me: failed program was:" >&5
6053 sed 's/^/| /' conftest.$ac_ext >&5
6055 ac_cv_member_struct_user_regs_struct_ecx=no
6058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6063 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_user_regs_struct_ecx" >&5
6064 echo "${ECHO_T}$ac_cv_member_struct_user_regs_struct_ecx" >&6; }
6065 if test $ac_cv_member_struct_user_regs_struct_ecx = yes; then
6067 cat >>confdefs.h <<_ACEOF
6068 #define HAVE_STRUCT_USER_REGS_STRUCT_ECX 1
6073 { echo "$as_me:$LINENO: checking for struct user_regs_struct.edx" >&5
6074 echo $ECHO_N "checking for struct user_regs_struct.edx... $ECHO_C" >&6; }
6075 if test "${ac_cv_member_struct_user_regs_struct_edx+set}" = set; then
6076 echo $ECHO_N "(cached) $ECHO_C" >&6
6078 cat >conftest.$ac_ext <<_ACEOF
6081 cat confdefs.h >>conftest.$ac_ext
6082 cat >>conftest.$ac_ext <<_ACEOF
6083 /* end confdefs.h. */
6084 #include <linux/user.h>
6089 static struct user_regs_struct ac_aggr;
6096 rm -f conftest.$ac_objext
6097 if { (ac_try="$ac_compile"
6099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6100 *) ac_try_echo=$ac_try;;
6102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6103 (eval "$ac_compile") 2>conftest.er1
6105 grep -v '^ *+' conftest.er1 >conftest.err
6107 cat conftest.err >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); } && {
6110 test -z "$ac_c_werror_flag" ||
6111 test ! -s conftest.err
6112 } && test -s conftest.$ac_objext; then
6113 ac_cv_member_struct_user_regs_struct_edx=yes
6115 echo "$as_me: failed program was:" >&5
6116 sed 's/^/| /' conftest.$ac_ext >&5
6118 cat >conftest.$ac_ext <<_ACEOF
6121 cat confdefs.h >>conftest.$ac_ext
6122 cat >>conftest.$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6124 #include <linux/user.h>
6129 static struct user_regs_struct ac_aggr;
6130 if (sizeof ac_aggr.edx)
6136 rm -f conftest.$ac_objext
6137 if { (ac_try="$ac_compile"
6139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6140 *) ac_try_echo=$ac_try;;
6142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6143 (eval "$ac_compile") 2>conftest.er1
6145 grep -v '^ *+' conftest.er1 >conftest.err
6147 cat conftest.err >&5
6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149 (exit $ac_status); } && {
6150 test -z "$ac_c_werror_flag" ||
6151 test ! -s conftest.err
6152 } && test -s conftest.$ac_objext; then
6153 ac_cv_member_struct_user_regs_struct_edx=yes
6155 echo "$as_me: failed program was:" >&5
6156 sed 's/^/| /' conftest.$ac_ext >&5
6158 ac_cv_member_struct_user_regs_struct_edx=no
6161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6166 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_user_regs_struct_edx" >&5
6167 echo "${ECHO_T}$ac_cv_member_struct_user_regs_struct_edx" >&6; }
6168 if test $ac_cv_member_struct_user_regs_struct_edx = yes; then
6170 cat >>confdefs.h <<_ACEOF
6171 #define HAVE_STRUCT_USER_REGS_STRUCT_EDX 1
6176 { echo "$as_me:$LINENO: checking for struct user_regs_struct.orig_rax" >&5
6177 echo $ECHO_N "checking for struct user_regs_struct.orig_rax... $ECHO_C" >&6; }
6178 if test "${ac_cv_member_struct_user_regs_struct_orig_rax+set}" = set; then
6179 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 cat >conftest.$ac_ext <<_ACEOF
6184 cat confdefs.h >>conftest.$ac_ext
6185 cat >>conftest.$ac_ext <<_ACEOF
6186 /* end confdefs.h. */
6187 #include <linux/user.h>
6192 static struct user_regs_struct ac_aggr;
6193 if (ac_aggr.orig_rax)
6199 rm -f conftest.$ac_objext
6200 if { (ac_try="$ac_compile"
6202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6203 *) ac_try_echo=$ac_try;;
6205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6206 (eval "$ac_compile") 2>conftest.er1
6208 grep -v '^ *+' conftest.er1 >conftest.err
6210 cat conftest.err >&5
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); } && {
6213 test -z "$ac_c_werror_flag" ||
6214 test ! -s conftest.err
6215 } && test -s conftest.$ac_objext; then
6216 ac_cv_member_struct_user_regs_struct_orig_rax=yes
6218 echo "$as_me: failed program was:" >&5
6219 sed 's/^/| /' conftest.$ac_ext >&5
6221 cat >conftest.$ac_ext <<_ACEOF
6224 cat confdefs.h >>conftest.$ac_ext
6225 cat >>conftest.$ac_ext <<_ACEOF
6226 /* end confdefs.h. */
6227 #include <linux/user.h>
6232 static struct user_regs_struct ac_aggr;
6233 if (sizeof ac_aggr.orig_rax)
6239 rm -f conftest.$ac_objext
6240 if { (ac_try="$ac_compile"
6242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6243 *) ac_try_echo=$ac_try;;
6245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6246 (eval "$ac_compile") 2>conftest.er1
6248 grep -v '^ *+' conftest.er1 >conftest.err
6250 cat conftest.err >&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); } && {
6253 test -z "$ac_c_werror_flag" ||
6254 test ! -s conftest.err
6255 } && test -s conftest.$ac_objext; then
6256 ac_cv_member_struct_user_regs_struct_orig_rax=yes
6258 echo "$as_me: failed program was:" >&5
6259 sed 's/^/| /' conftest.$ac_ext >&5
6261 ac_cv_member_struct_user_regs_struct_orig_rax=no
6264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6269 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_user_regs_struct_orig_rax" >&5
6270 echo "${ECHO_T}$ac_cv_member_struct_user_regs_struct_orig_rax" >&6; }
6271 if test $ac_cv_member_struct_user_regs_struct_orig_rax = yes; then
6273 cat >>confdefs.h <<_ACEOF
6274 #define HAVE_STRUCT_USER_REGS_STRUCT_ORIG_RAX 1
6279 { echo "$as_me:$LINENO: checking for struct user_regs_struct.rax" >&5
6280 echo $ECHO_N "checking for struct user_regs_struct.rax... $ECHO_C" >&6; }
6281 if test "${ac_cv_member_struct_user_regs_struct_rax+set}" = set; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 cat >conftest.$ac_ext <<_ACEOF
6287 cat confdefs.h >>conftest.$ac_ext
6288 cat >>conftest.$ac_ext <<_ACEOF
6289 /* end confdefs.h. */
6290 #include <linux/user.h>
6295 static struct user_regs_struct ac_aggr;
6302 rm -f conftest.$ac_objext
6303 if { (ac_try="$ac_compile"
6305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6306 *) ac_try_echo=$ac_try;;
6308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6309 (eval "$ac_compile") 2>conftest.er1
6311 grep -v '^ *+' conftest.er1 >conftest.err
6313 cat conftest.err >&5
6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315 (exit $ac_status); } && {
6316 test -z "$ac_c_werror_flag" ||
6317 test ! -s conftest.err
6318 } && test -s conftest.$ac_objext; then
6319 ac_cv_member_struct_user_regs_struct_rax=yes
6321 echo "$as_me: failed program was:" >&5
6322 sed 's/^/| /' conftest.$ac_ext >&5
6324 cat >conftest.$ac_ext <<_ACEOF
6327 cat confdefs.h >>conftest.$ac_ext
6328 cat >>conftest.$ac_ext <<_ACEOF
6329 /* end confdefs.h. */
6330 #include <linux/user.h>
6335 static struct user_regs_struct ac_aggr;
6336 if (sizeof ac_aggr.rax)
6342 rm -f conftest.$ac_objext
6343 if { (ac_try="$ac_compile"
6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6346 *) ac_try_echo=$ac_try;;
6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6349 (eval "$ac_compile") 2>conftest.er1
6351 grep -v '^ *+' conftest.er1 >conftest.err
6353 cat conftest.err >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); } && {
6356 test -z "$ac_c_werror_flag" ||
6357 test ! -s conftest.err
6358 } && test -s conftest.$ac_objext; then
6359 ac_cv_member_struct_user_regs_struct_rax=yes
6361 echo "$as_me: failed program was:" >&5
6362 sed 's/^/| /' conftest.$ac_ext >&5
6364 ac_cv_member_struct_user_regs_struct_rax=no
6367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6372 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_user_regs_struct_rax" >&5
6373 echo "${ECHO_T}$ac_cv_member_struct_user_regs_struct_rax" >&6; }
6374 if test $ac_cv_member_struct_user_regs_struct_rax = yes; then
6376 cat >>confdefs.h <<_ACEOF
6377 #define HAVE_STRUCT_USER_REGS_STRUCT_RAX 1
6382 { echo "$as_me:$LINENO: checking for struct user_regs_struct.rdi" >&5
6383 echo $ECHO_N "checking for struct user_regs_struct.rdi... $ECHO_C" >&6; }
6384 if test "${ac_cv_member_struct_user_regs_struct_rdi+set}" = set; then
6385 echo $ECHO_N "(cached) $ECHO_C" >&6
6387 cat >conftest.$ac_ext <<_ACEOF
6390 cat confdefs.h >>conftest.$ac_ext
6391 cat >>conftest.$ac_ext <<_ACEOF
6392 /* end confdefs.h. */
6393 #include <linux/user.h>
6398 static struct user_regs_struct ac_aggr;
6405 rm -f conftest.$ac_objext
6406 if { (ac_try="$ac_compile"
6408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6409 *) ac_try_echo=$ac_try;;
6411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6412 (eval "$ac_compile") 2>conftest.er1
6414 grep -v '^ *+' conftest.er1 >conftest.err
6416 cat conftest.err >&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } && {
6419 test -z "$ac_c_werror_flag" ||
6420 test ! -s conftest.err
6421 } && test -s conftest.$ac_objext; then
6422 ac_cv_member_struct_user_regs_struct_rdi=yes
6424 echo "$as_me: failed program was:" >&5
6425 sed 's/^/| /' conftest.$ac_ext >&5
6427 cat >conftest.$ac_ext <<_ACEOF
6430 cat confdefs.h >>conftest.$ac_ext
6431 cat >>conftest.$ac_ext <<_ACEOF
6432 /* end confdefs.h. */
6433 #include <linux/user.h>
6438 static struct user_regs_struct ac_aggr;
6439 if (sizeof ac_aggr.rdi)
6445 rm -f conftest.$ac_objext
6446 if { (ac_try="$ac_compile"
6448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6449 *) ac_try_echo=$ac_try;;
6451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6452 (eval "$ac_compile") 2>conftest.er1
6454 grep -v '^ *+' conftest.er1 >conftest.err
6456 cat conftest.err >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } && {
6459 test -z "$ac_c_werror_flag" ||
6460 test ! -s conftest.err
6461 } && test -s conftest.$ac_objext; then
6462 ac_cv_member_struct_user_regs_struct_rdi=yes
6464 echo "$as_me: failed program was:" >&5
6465 sed 's/^/| /' conftest.$ac_ext >&5
6467 ac_cv_member_struct_user_regs_struct_rdi=no
6470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6475 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_user_regs_struct_rdi" >&5
6476 echo "${ECHO_T}$ac_cv_member_struct_user_regs_struct_rdi" >&6; }
6477 if test $ac_cv_member_struct_user_regs_struct_rdi = yes; then
6479 cat >>confdefs.h <<_ACEOF
6480 #define HAVE_STRUCT_USER_REGS_STRUCT_RDI 1
6485 { echo "$as_me:$LINENO: checking for struct user_regs_struct.rsi" >&5
6486 echo $ECHO_N "checking for struct user_regs_struct.rsi... $ECHO_C" >&6; }
6487 if test "${ac_cv_member_struct_user_regs_struct_rsi+set}" = set; then
6488 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 cat >conftest.$ac_ext <<_ACEOF
6493 cat confdefs.h >>conftest.$ac_ext
6494 cat >>conftest.$ac_ext <<_ACEOF
6495 /* end confdefs.h. */
6496 #include <linux/user.h>
6501 static struct user_regs_struct ac_aggr;
6508 rm -f conftest.$ac_objext
6509 if { (ac_try="$ac_compile"
6511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6512 *) ac_try_echo=$ac_try;;
6514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6515 (eval "$ac_compile") 2>conftest.er1
6517 grep -v '^ *+' conftest.er1 >conftest.err
6519 cat conftest.err >&5
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); } && {
6522 test -z "$ac_c_werror_flag" ||
6523 test ! -s conftest.err
6524 } && test -s conftest.$ac_objext; then
6525 ac_cv_member_struct_user_regs_struct_rsi=yes
6527 echo "$as_me: failed program was:" >&5
6528 sed 's/^/| /' conftest.$ac_ext >&5
6530 cat >conftest.$ac_ext <<_ACEOF
6533 cat confdefs.h >>conftest.$ac_ext
6534 cat >>conftest.$ac_ext <<_ACEOF
6535 /* end confdefs.h. */
6536 #include <linux/user.h>
6541 static struct user_regs_struct ac_aggr;
6542 if (sizeof ac_aggr.rsi)
6548 rm -f conftest.$ac_objext
6549 if { (ac_try="$ac_compile"
6551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6552 *) ac_try_echo=$ac_try;;
6554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6555 (eval "$ac_compile") 2>conftest.er1
6557 grep -v '^ *+' conftest.er1 >conftest.err
6559 cat conftest.err >&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); } && {
6562 test -z "$ac_c_werror_flag" ||
6563 test ! -s conftest.err
6564 } && test -s conftest.$ac_objext; then
6565 ac_cv_member_struct_user_regs_struct_rsi=yes
6567 echo "$as_me: failed program was:" >&5
6568 sed 's/^/| /' conftest.$ac_ext >&5
6570 ac_cv_member_struct_user_regs_struct_rsi=no
6573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6578 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_user_regs_struct_rsi" >&5
6579 echo "${ECHO_T}$ac_cv_member_struct_user_regs_struct_rsi" >&6; }
6580 if test $ac_cv_member_struct_user_regs_struct_rsi = yes; then
6582 cat >>confdefs.h <<_ACEOF
6583 #define HAVE_STRUCT_USER_REGS_STRUCT_RSI 1
6588 { echo "$as_me:$LINENO: checking for struct user_regs_struct.rdx" >&5
6589 echo $ECHO_N "checking for struct user_regs_struct.rdx... $ECHO_C" >&6; }
6590 if test "${ac_cv_member_struct_user_regs_struct_rdx+set}" = set; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 cat >conftest.$ac_ext <<_ACEOF
6596 cat confdefs.h >>conftest.$ac_ext
6597 cat >>conftest.$ac_ext <<_ACEOF
6598 /* end confdefs.h. */
6599 #include <linux/user.h>
6604 static struct user_regs_struct ac_aggr;
6611 rm -f conftest.$ac_objext
6612 if { (ac_try="$ac_compile"
6614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6615 *) ac_try_echo=$ac_try;;
6617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6618 (eval "$ac_compile") 2>conftest.er1
6620 grep -v '^ *+' conftest.er1 >conftest.err
6622 cat conftest.err >&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); } && {
6625 test -z "$ac_c_werror_flag" ||
6626 test ! -s conftest.err
6627 } && test -s conftest.$ac_objext; then
6628 ac_cv_member_struct_user_regs_struct_rdx=yes
6630 echo "$as_me: failed program was:" >&5
6631 sed 's/^/| /' conftest.$ac_ext >&5
6633 cat >conftest.$ac_ext <<_ACEOF
6636 cat confdefs.h >>conftest.$ac_ext
6637 cat >>conftest.$ac_ext <<_ACEOF
6638 /* end confdefs.h. */
6639 #include <linux/user.h>
6644 static struct user_regs_struct ac_aggr;
6645 if (sizeof ac_aggr.rdx)
6651 rm -f conftest.$ac_objext
6652 if { (ac_try="$ac_compile"
6654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6655 *) ac_try_echo=$ac_try;;
6657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6658 (eval "$ac_compile") 2>conftest.er1
6660 grep -v '^ *+' conftest.er1 >conftest.err
6662 cat conftest.err >&5
6663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); } && {
6665 test -z "$ac_c_werror_flag" ||
6666 test ! -s conftest.err
6667 } && test -s conftest.$ac_objext; then
6668 ac_cv_member_struct_user_regs_struct_rdx=yes
6670 echo "$as_me: failed program was:" >&5
6671 sed 's/^/| /' conftest.$ac_ext >&5
6673 ac_cv_member_struct_user_regs_struct_rdx=no
6676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6681 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_user_regs_struct_rdx" >&5
6682 echo "${ECHO_T}$ac_cv_member_struct_user_regs_struct_rdx" >&6; }
6683 if test $ac_cv_member_struct_user_regs_struct_rdx = yes; then
6685 cat >>confdefs.h <<_ACEOF
6686 #define HAVE_STRUCT_USER_REGS_STRUCT_RDX 1
6692 { echo "$as_me:$LINENO: checking for struct pt_regs.orig_gpr3" >&5
6693 echo $ECHO_N "checking for struct pt_regs.orig_gpr3... $ECHO_C" >&6; }
6694 if test "${ac_cv_member_struct_pt_regs_orig_gpr3+set}" = set; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6697 cat >conftest.$ac_ext <<_ACEOF
6700 cat confdefs.h >>conftest.$ac_ext
6701 cat >>conftest.$ac_ext <<_ACEOF
6702 /* end confdefs.h. */
6703 #include <linux/ptrace.h>
6708 static struct pt_regs ac_aggr;
6709 if (ac_aggr.orig_gpr3)
6715 rm -f conftest.$ac_objext
6716 if { (ac_try="$ac_compile"
6718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6719 *) ac_try_echo=$ac_try;;
6721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6722 (eval "$ac_compile") 2>conftest.er1
6724 grep -v '^ *+' conftest.er1 >conftest.err
6726 cat conftest.err >&5
6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 (exit $ac_status); } && {
6729 test -z "$ac_c_werror_flag" ||
6730 test ! -s conftest.err
6731 } && test -s conftest.$ac_objext; then
6732 ac_cv_member_struct_pt_regs_orig_gpr3=yes
6734 echo "$as_me: failed program was:" >&5
6735 sed 's/^/| /' conftest.$ac_ext >&5
6737 cat >conftest.$ac_ext <<_ACEOF
6740 cat confdefs.h >>conftest.$ac_ext
6741 cat >>conftest.$ac_ext <<_ACEOF
6742 /* end confdefs.h. */
6743 #include <linux/ptrace.h>
6748 static struct pt_regs ac_aggr;
6749 if (sizeof ac_aggr.orig_gpr3)
6755 rm -f conftest.$ac_objext
6756 if { (ac_try="$ac_compile"
6758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6759 *) ac_try_echo=$ac_try;;
6761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6762 (eval "$ac_compile") 2>conftest.er1
6764 grep -v '^ *+' conftest.er1 >conftest.err
6766 cat conftest.err >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); } && {
6769 test -z "$ac_c_werror_flag" ||
6770 test ! -s conftest.err
6771 } && test -s conftest.$ac_objext; then
6772 ac_cv_member_struct_pt_regs_orig_gpr3=yes
6774 echo "$as_me: failed program was:" >&5
6775 sed 's/^/| /' conftest.$ac_ext >&5
6777 ac_cv_member_struct_pt_regs_orig_gpr3=no
6780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6785 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_pt_regs_orig_gpr3" >&5
6786 echo "${ECHO_T}$ac_cv_member_struct_pt_regs_orig_gpr3" >&6; }
6787 if test $ac_cv_member_struct_pt_regs_orig_gpr3 = yes; then
6789 cat >>confdefs.h <<_ACEOF
6790 #define HAVE_STRUCT_PT_REGS_ORIG_GPR3 1
6795 { echo "$as_me:$LINENO: checking for struct pt_regs.gpr" >&5
6796 echo $ECHO_N "checking for struct pt_regs.gpr... $ECHO_C" >&6; }
6797 if test "${ac_cv_member_struct_pt_regs_gpr+set}" = set; then
6798 echo $ECHO_N "(cached) $ECHO_C" >&6
6800 cat >conftest.$ac_ext <<_ACEOF
6803 cat confdefs.h >>conftest.$ac_ext
6804 cat >>conftest.$ac_ext <<_ACEOF
6805 /* end confdefs.h. */
6806 #include <linux/ptrace.h>
6811 static struct pt_regs ac_aggr;
6818 rm -f conftest.$ac_objext
6819 if { (ac_try="$ac_compile"
6821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6822 *) ac_try_echo=$ac_try;;
6824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6825 (eval "$ac_compile") 2>conftest.er1
6827 grep -v '^ *+' conftest.er1 >conftest.err
6829 cat conftest.err >&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); } && {
6832 test -z "$ac_c_werror_flag" ||
6833 test ! -s conftest.err
6834 } && test -s conftest.$ac_objext; then
6835 ac_cv_member_struct_pt_regs_gpr=yes
6837 echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.$ac_ext >&5
6840 cat >conftest.$ac_ext <<_ACEOF
6843 cat confdefs.h >>conftest.$ac_ext
6844 cat >>conftest.$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6846 #include <linux/ptrace.h>
6851 static struct pt_regs ac_aggr;
6852 if (sizeof ac_aggr.gpr)
6858 rm -f conftest.$ac_objext
6859 if { (ac_try="$ac_compile"
6861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6862 *) ac_try_echo=$ac_try;;
6864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6865 (eval "$ac_compile") 2>conftest.er1
6867 grep -v '^ *+' conftest.er1 >conftest.err
6869 cat conftest.err >&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); } && {
6872 test -z "$ac_c_werror_flag" ||
6873 test ! -s conftest.err
6874 } && test -s conftest.$ac_objext; then
6875 ac_cv_member_struct_pt_regs_gpr=yes
6877 echo "$as_me: failed program was:" >&5
6878 sed 's/^/| /' conftest.$ac_ext >&5
6880 ac_cv_member_struct_pt_regs_gpr=no
6883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6888 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_pt_regs_gpr" >&5
6889 echo "${ECHO_T}$ac_cv_member_struct_pt_regs_gpr" >&6; }
6890 if test $ac_cv_member_struct_pt_regs_gpr = yes; then
6892 cat >>confdefs.h <<_ACEOF
6893 #define HAVE_STRUCT_PT_REGS_GPR 1
6899 if test $ac_cv_member_struct_user_regs_struct_orig_eax = yes &&
6900 test $ac_cv_member_struct_user_regs_struct_eax = yes &&
6901 test $ac_cv_member_struct_user_regs_struct_ebx = yes &&
6902 test $ac_cv_member_struct_user_regs_struct_ecx = yes &&
6903 test $ac_cv_member_struct_user_regs_struct_edx = yes ; then
6904 WANT_PEEKFD_I386_TRUE=
6905 WANT_PEEKFD_I386_FALSE='#'
6907 WANT_PEEKFD_I386_TRUE='#'
6908 WANT_PEEKFD_I386_FALSE=
6911 if test $ac_cv_member_struct_user_regs_struct_orig_rax = yes &&
6912 test $ac_cv_member_struct_user_regs_struct_rax = yes &&
6913 test $ac_cv_member_struct_user_regs_struct_rdi = yes &&
6914 test $ac_cv_member_struct_user_regs_struct_rsi = yes &&
6915 test $ac_cv_member_struct_user_regs_struct_rdx = yes ; then
6916 WANT_PEEKFD_X86_64_TRUE=
6917 WANT_PEEKFD_X86_64_FALSE='#'
6919 WANT_PEEKFD_X86_64_TRUE='#'
6920 WANT_PEEKFD_X86_64_FALSE=
6923 if test $ac_cv_member_struct_pt_regs_orig_gpr3 = yes &&
6924 test $ac_cv_member_struct_pt_regs_gpr = yes ; then
6925 WANT_PEEKFD_PPC_TRUE=
6926 WANT_PEEKFD_PPC_FALSE='#'
6928 WANT_PEEKFD_PPC_TRUE='#'
6929 WANT_PEEKFD_PPC_FALSE=
6934 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6935 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
6936 # Check whether --enable-nls was given.
6937 if test "${enable_nls+set}" = set; then
6938 enableval=$enable_nls; USE_NLS=$enableval
6943 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
6944 echo "${ECHO_T}$USE_NLS" >&6; }
6951 # Prepare PATH_SEPARATOR.
6952 # The user is always right.
6953 if test "${PATH_SEPARATOR+set}" != set; then
6954 echo "#! /bin/sh" >conf$$.sh
6955 echo "exit 0" >>conf$$.sh
6957 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6965 # Find out how to test for executable files. Don't use a zero-byte file,
6966 # as systems may use methods other than mode bits to determine executability.
6967 cat >conf$$.file <<_ASEOF
6971 chmod +x conf$$.file
6972 if test -x conf$$.file >/dev/null 2>&1; then
6973 ac_executable_p="test -x"
6975 ac_executable_p="test -f"
6979 # Extract the first word of "msgfmt", so it can be a program name with args.
6980 set dummy msgfmt; ac_word=$2
6981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6983 if test "${ac_cv_path_MSGFMT+set}" = set; then
6984 echo $ECHO_N "(cached) $ECHO_C" >&6
6988 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6991 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6992 for ac_dir in $PATH; do
6994 test -z "$ac_dir" && ac_dir=.
6995 for ac_exec_ext in '' $ac_executable_extensions; do
6996 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6997 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6998 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
6999 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7000 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
7007 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
7011 MSGFMT="$ac_cv_path_MSGFMT"
7012 if test "$MSGFMT" != ":"; then
7013 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7014 echo "${ECHO_T}$MSGFMT" >&6; }
7016 { echo "$as_me:$LINENO: result: no" >&5
7017 echo "${ECHO_T}no" >&6; }
7020 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7021 set dummy gmsgfmt; ac_word=$2
7022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7024 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7025 echo $ECHO_N "(cached) $ECHO_C" >&6
7029 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036 test -z "$as_dir" && as_dir=.
7037 for ac_exec_ext in '' $ac_executable_extensions; do
7038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7039 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7047 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7051 GMSGFMT=$ac_cv_path_GMSGFMT
7052 if test -n "$GMSGFMT"; then
7053 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7054 echo "${ECHO_T}$GMSGFMT" >&6; }
7056 { echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6; }
7062 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7063 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
7064 *) MSGFMT_015=$MSGFMT ;;
7067 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7068 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
7069 *) GMSGFMT_015=$GMSGFMT ;;
7074 # Prepare PATH_SEPARATOR.
7075 # The user is always right.
7076 if test "${PATH_SEPARATOR+set}" != set; then
7077 echo "#! /bin/sh" >conf$$.sh
7078 echo "exit 0" >>conf$$.sh
7080 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7088 # Find out how to test for executable files. Don't use a zero-byte file,
7089 # as systems may use methods other than mode bits to determine executability.
7090 cat >conf$$.file <<_ASEOF
7094 chmod +x conf$$.file
7095 if test -x conf$$.file >/dev/null 2>&1; then
7096 ac_executable_p="test -x"
7098 ac_executable_p="test -f"
7102 # Extract the first word of "xgettext", so it can be a program name with args.
7103 set dummy xgettext; ac_word=$2
7104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7106 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7107 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7114 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7115 for ac_dir in $PATH; do
7117 test -z "$ac_dir" && ac_dir=.
7118 for ac_exec_ext in '' $ac_executable_extensions; do
7119 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7120 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7121 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
7122 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7123 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
7130 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7134 XGETTEXT="$ac_cv_path_XGETTEXT"
7135 if test "$XGETTEXT" != ":"; then
7136 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7137 echo "${ECHO_T}$XGETTEXT" >&6; }
7139 { echo "$as_me:$LINENO: result: no" >&5
7140 echo "${ECHO_T}no" >&6; }
7145 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7146 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
7147 *) XGETTEXT_015=$XGETTEXT ;;
7152 # Prepare PATH_SEPARATOR.
7153 # The user is always right.
7154 if test "${PATH_SEPARATOR+set}" != set; then
7155 echo "#! /bin/sh" >conf$$.sh
7156 echo "exit 0" >>conf$$.sh
7158 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7166 # Find out how to test for executable files. Don't use a zero-byte file,
7167 # as systems may use methods other than mode bits to determine executability.
7168 cat >conf$$.file <<_ASEOF
7172 chmod +x conf$$.file
7173 if test -x conf$$.file >/dev/null 2>&1; then
7174 ac_executable_p="test -x"
7176 ac_executable_p="test -f"
7180 # Extract the first word of "msgmerge", so it can be a program name with args.
7181 set dummy msgmerge; ac_word=$2
7182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7184 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7185 echo $ECHO_N "(cached) $ECHO_C" >&6
7189 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7192 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7193 for ac_dir in $PATH; do
7195 test -z "$ac_dir" && ac_dir=.
7196 for ac_exec_ext in '' $ac_executable_extensions; do
7197 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7198 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7199 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
7200 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
7207 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
7211 MSGMERGE="$ac_cv_path_MSGMERGE"
7212 if test "$MSGMERGE" != ":"; then
7213 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7214 echo "${ECHO_T}$MSGMERGE" >&6; }
7216 { echo "$as_me:$LINENO: result: no" >&5
7217 echo "${ECHO_T}no" >&6; }
7221 test -n "$localedir" || localedir='${datadir}/locale'
7224 ac_config_commands="$ac_config_commands po-directories"
7228 if test "X$prefix" = "XNONE"; then
7229 acl_final_prefix="$ac_default_prefix"
7231 acl_final_prefix="$prefix"
7233 if test "X$exec_prefix" = "XNONE"; then
7234 acl_final_exec_prefix='${prefix}'
7236 acl_final_exec_prefix="$exec_prefix"
7238 acl_save_prefix="$prefix"
7239 prefix="$acl_final_prefix"
7240 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
7241 prefix="$acl_save_prefix"
7243 # Make sure we can run config.sub.
7244 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
7245 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
7246 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
7247 { (exit 1); exit 1; }; }
7249 { echo "$as_me:$LINENO: checking build system type" >&5
7250 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
7251 if test "${ac_cv_build+set}" = set; then
7252 echo $ECHO_N "(cached) $ECHO_C" >&6
7254 ac_build_alias=$build_alias
7255 test "x$ac_build_alias" = x &&
7256 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
7257 test "x$ac_build_alias" = x &&
7258 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7259 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7260 { (exit 1); exit 1; }; }
7261 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
7262 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
7263 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
7264 { (exit 1); exit 1; }; }
7267 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7268 echo "${ECHO_T}$ac_cv_build" >&6; }
7269 case $ac_cv_build in
7271 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
7272 echo "$as_me: error: invalid value of canonical build" >&2;}
7273 { (exit 1); exit 1; }; };;
7276 ac_save_IFS=$IFS; IFS='-'
7282 # Remember, the first character of IFS is used to create $*,
7283 # except with old shells:
7286 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7289 { echo "$as_me:$LINENO: checking host system type" >&5
7290 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
7291 if test "${ac_cv_host+set}" = set; then
7292 echo $ECHO_N "(cached) $ECHO_C" >&6
7294 if test "x$host_alias" = x; then
7295 ac_cv_host=$ac_cv_build
7297 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7298 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
7299 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
7300 { (exit 1); exit 1; }; }
7304 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7305 echo "${ECHO_T}$ac_cv_host" >&6; }
7308 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
7309 echo "$as_me: error: invalid value of canonical host" >&2;}
7310 { (exit 1); exit 1; }; };;
7313 ac_save_IFS=$IFS; IFS='-'
7319 # Remember, the first character of IFS is used to create $*,
7320 # except with old shells:
7323 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7327 # Check whether --with-gnu-ld was given.
7328 if test "${with_gnu_ld+set}" = set; then
7329 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7334 # Prepare PATH_SEPARATOR.
7335 # The user is always right.
7336 if test "${PATH_SEPARATOR+set}" != set; then
7337 echo "#! /bin/sh" >conf$$.sh
7338 echo "exit 0" >>conf$$.sh
7340 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7348 if test "$GCC" = yes; then
7349 # Check if gcc -print-prog-name=ld gives a path.
7350 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7351 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
7354 # gcc leaves a trailing carriage return which upsets mingw
7355 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7357 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7360 # Accept absolute paths.
7361 [\\/]* | [A-Za-z]:[\\/]*)
7362 re_direlt='/[^/][^/]*/\.\./'
7363 # Canonicalize the path of ld
7364 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
7365 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7366 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
7368 test -z "$LD" && LD="$ac_prog"
7371 # If it fails, then pretend we aren't using GCC.
7375 # If it is relative, then search for the first ld in PATH.
7379 elif test "$with_gnu_ld" = yes; then
7380 { echo "$as_me:$LINENO: checking for GNU ld" >&5
7381 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
7383 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7384 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
7386 if test "${acl_cv_path_LD+set}" = set; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7389 if test -z "$LD"; then
7390 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7391 for ac_dir in $PATH; do
7392 test -z "$ac_dir" && ac_dir=.
7393 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7394 acl_cv_path_LD="$ac_dir/$ac_prog"
7395 # Check to see if the program is GNU ld. I'd rather use --version,
7396 # but apparently some GNU ld's only accept -v.
7397 # Break only if it was the GNU/non-GNU ld that we prefer.
7398 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
7399 *GNU* | *'with BFD'*)
7400 test "$with_gnu_ld" != no && break ;;
7402 test "$with_gnu_ld" != yes && break ;;
7408 acl_cv_path_LD="$LD" # Let the user override the test with a path.
7412 LD="$acl_cv_path_LD"
7413 if test -n "$LD"; then
7414 { echo "$as_me:$LINENO: result: $LD" >&5
7415 echo "${ECHO_T}$LD" >&6; }
7417 { echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6; }
7420 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7421 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7422 { (exit 1); exit 1; }; }
7423 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7424 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
7425 if test "${acl_cv_prog_gnu_ld+set}" = set; then
7426 echo $ECHO_N "(cached) $ECHO_C" >&6
7428 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7429 case `$LD -v 2>&1 </dev/null` in
7430 *GNU* | *'with BFD'*)
7431 acl_cv_prog_gnu_ld=yes ;;
7433 acl_cv_prog_gnu_ld=no ;;
7436 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7437 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
7438 with_gnu_ld=$acl_cv_prog_gnu_ld
7443 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7444 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
7445 if test "${acl_cv_rpath+set}" = set; then
7446 echo $ECHO_N "(cached) $ECHO_C" >&6
7449 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
7450 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7456 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7457 echo "${ECHO_T}$acl_cv_rpath" >&6; }
7459 libext="$acl_cv_libext"
7460 shlibext="$acl_cv_shlibext"
7461 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
7462 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
7463 hardcode_direct="$acl_cv_hardcode_direct"
7464 hardcode_minus_L="$acl_cv_hardcode_minus_L"
7465 # Check whether --enable-rpath was given.
7466 if test "${enable_rpath+set}" = set; then
7467 enableval=$enable_rpath; :
7475 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7476 if test -n "$searchpath"; then
7477 acl_save_IFS="${IFS= }"; IFS=":"
7478 for searchdir in $searchpath; do
7479 if test -d "$searchdir"; then
7480 case "$searchdir" in
7481 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
7482 *) searchdir=`cd "$searchdir" && pwd`
7483 case "$searchdir" in
7484 */lib64 ) acl_libdirstem=lib64 ;;
7501 acl_save_prefix="$prefix"
7502 prefix="$acl_final_prefix"
7503 acl_save_exec_prefix="$exec_prefix"
7504 exec_prefix="$acl_final_exec_prefix"
7506 eval additional_includedir=\"$includedir\"
7507 eval additional_libdir=\"$libdir\"
7509 exec_prefix="$acl_save_exec_prefix"
7510 prefix="$acl_save_prefix"
7513 # Check whether --with-libiconv-prefix was given.
7514 if test "${with_libiconv_prefix+set}" = set; then
7515 withval=$with_libiconv_prefix;
7516 if test "X$withval" = "Xno"; then
7519 if test "X$withval" = "X"; then
7521 acl_save_prefix="$prefix"
7522 prefix="$acl_final_prefix"
7523 acl_save_exec_prefix="$exec_prefix"
7524 exec_prefix="$acl_final_exec_prefix"
7526 eval additional_includedir=\"$includedir\"
7527 eval additional_libdir=\"$libdir\"
7529 exec_prefix="$acl_save_exec_prefix"
7530 prefix="$acl_save_prefix"
7533 additional_includedir="$withval/include"
7534 additional_libdir="$withval/$acl_libdirstem"
7545 names_already_handled=
7546 names_next_round='iconv '
7547 while test -n "$names_next_round"; do
7548 names_this_round="$names_next_round"
7550 for name in $names_this_round; do
7552 for n in $names_already_handled; do
7553 if test "$n" = "$name"; then
7558 if test -z "$already_handled"; then
7559 names_already_handled="$names_already_handled $name"
7560 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7561 eval value=\"\$HAVE_LIB$uppername\"
7562 if test -n "$value"; then
7563 if test "$value" = yes; then
7564 eval value=\"\$LIB$uppername\"
7565 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
7566 eval value=\"\$LTLIB$uppername\"
7567 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
7576 if test $use_additional = yes; then
7577 if test -n "$shlibext" \
7578 && { test -f "$additional_libdir/lib$name.$shlibext" \
7579 || { test "$shlibext" = dll \
7580 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
7581 found_dir="$additional_libdir"
7582 if test -f "$additional_libdir/lib$name.$shlibext"; then
7583 found_so="$additional_libdir/lib$name.$shlibext"
7585 found_so="$additional_libdir/lib$name.dll.a"
7587 if test -f "$additional_libdir/lib$name.la"; then
7588 found_la="$additional_libdir/lib$name.la"
7591 if test -f "$additional_libdir/lib$name.$libext"; then
7592 found_dir="$additional_libdir"
7593 found_a="$additional_libdir/lib$name.$libext"
7594 if test -f "$additional_libdir/lib$name.la"; then
7595 found_la="$additional_libdir/lib$name.la"
7600 if test "X$found_dir" = "X"; then
7601 for x in $LDFLAGS $LTLIBICONV; do
7603 acl_save_prefix="$prefix"
7604 prefix="$acl_final_prefix"
7605 acl_save_exec_prefix="$exec_prefix"
7606 exec_prefix="$acl_final_exec_prefix"
7608 exec_prefix="$acl_save_exec_prefix"
7609 prefix="$acl_save_prefix"
7613 dir=`echo "X$x" | sed -e 's/^X-L//'`
7614 if test -n "$shlibext" \
7615 && { test -f "$dir/lib$name.$shlibext" \
7616 || { test "$shlibext" = dll \
7617 && test -f "$dir/lib$name.dll.a"; }; }; then
7619 if test -f "$dir/lib$name.$shlibext"; then
7620 found_so="$dir/lib$name.$shlibext"
7622 found_so="$dir/lib$name.dll.a"
7624 if test -f "$dir/lib$name.la"; then
7625 found_la="$dir/lib$name.la"
7628 if test -f "$dir/lib$name.$libext"; then
7630 found_a="$dir/lib$name.$libext"
7631 if test -f "$dir/lib$name.la"; then
7632 found_la="$dir/lib$name.la"
7638 if test "X$found_dir" != "X"; then
7643 if test "X$found_dir" != "X"; then
7644 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7645 if test "X$found_so" != "X"; then
7646 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
7647 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7650 for x in $ltrpathdirs; do
7651 if test "X$x" = "X$found_dir"; then
7656 if test -z "$haveit"; then
7657 ltrpathdirs="$ltrpathdirs $found_dir"
7659 if test "$hardcode_direct" = yes; then
7660 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7662 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
7663 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7665 for x in $rpathdirs; do
7666 if test "X$x" = "X$found_dir"; then
7671 if test -z "$haveit"; then
7672 rpathdirs="$rpathdirs $found_dir"
7676 for x in $LDFLAGS $LIBICONV; do
7678 acl_save_prefix="$prefix"
7679 prefix="$acl_final_prefix"
7680 acl_save_exec_prefix="$exec_prefix"
7681 exec_prefix="$acl_final_exec_prefix"
7683 exec_prefix="$acl_save_exec_prefix"
7684 prefix="$acl_save_prefix"
7686 if test "X$x" = "X-L$found_dir"; then
7691 if test -z "$haveit"; then
7692 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7694 if test "$hardcode_minus_L" != no; then
7695 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7697 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7703 if test "X$found_a" != "X"; then
7704 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
7706 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7709 additional_includedir=
7710 case "$found_dir" in
7711 */$acl_libdirstem | */$acl_libdirstem/)
7712 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7713 additional_includedir="$basedir/include"
7716 if test "X$additional_includedir" != "X"; then
7717 if test "X$additional_includedir" != "X/usr/include"; then
7719 if test "X$additional_includedir" = "X/usr/local/include"; then
7720 if test -n "$GCC"; then
7722 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7726 if test -z "$haveit"; then
7727 for x in $CPPFLAGS $INCICONV; do
7729 acl_save_prefix="$prefix"
7730 prefix="$acl_final_prefix"
7731 acl_save_exec_prefix="$exec_prefix"
7732 exec_prefix="$acl_final_exec_prefix"
7734 exec_prefix="$acl_save_exec_prefix"
7735 prefix="$acl_save_prefix"
7737 if test "X$x" = "X-I$additional_includedir"; then
7742 if test -z "$haveit"; then
7743 if test -d "$additional_includedir"; then
7744 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7750 if test -n "$found_la"; then
7751 save_libdir="$libdir"
7753 */* | *\\*) . "$found_la" ;;
7754 *) . "./$found_la" ;;
7756 libdir="$save_libdir"
7757 for dep in $dependency_libs; do
7760 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
7761 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
7763 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
7764 if test -n "$GCC"; then
7766 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7770 if test -z "$haveit"; then
7772 for x in $LDFLAGS $LIBICONV; do
7774 acl_save_prefix="$prefix"
7775 prefix="$acl_final_prefix"
7776 acl_save_exec_prefix="$exec_prefix"
7777 exec_prefix="$acl_final_exec_prefix"
7779 exec_prefix="$acl_save_exec_prefix"
7780 prefix="$acl_save_prefix"
7782 if test "X$x" = "X-L$additional_libdir"; then
7787 if test -z "$haveit"; then
7788 if test -d "$additional_libdir"; then
7789 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7793 for x in $LDFLAGS $LTLIBICONV; do
7795 acl_save_prefix="$prefix"
7796 prefix="$acl_final_prefix"
7797 acl_save_exec_prefix="$exec_prefix"
7798 exec_prefix="$acl_final_exec_prefix"
7800 exec_prefix="$acl_save_exec_prefix"
7801 prefix="$acl_save_prefix"
7803 if test "X$x" = "X-L$additional_libdir"; then
7808 if test -z "$haveit"; then
7809 if test -d "$additional_libdir"; then
7810 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7817 dir=`echo "X$dep" | sed -e 's/^X-R//'`
7818 if test "$enable_rpath" != no; then
7820 for x in $rpathdirs; do
7821 if test "X$x" = "X$dir"; then
7826 if test -z "$haveit"; then
7827 rpathdirs="$rpathdirs $dir"
7830 for x in $ltrpathdirs; do
7831 if test "X$x" = "X$dir"; then
7836 if test -z "$haveit"; then
7837 ltrpathdirs="$ltrpathdirs $dir"
7842 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7845 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7848 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
7849 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7855 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7856 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7862 if test "X$rpathdirs" != "X"; then
7863 if test -n "$hardcode_libdir_separator"; then
7865 for found_dir in $rpathdirs; do
7866 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7868 acl_save_libdir="$libdir"
7870 eval flag=\"$hardcode_libdir_flag_spec\"
7871 libdir="$acl_save_libdir"
7872 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7874 for found_dir in $rpathdirs; do
7875 acl_save_libdir="$libdir"
7877 eval flag=\"$hardcode_libdir_flag_spec\"
7878 libdir="$acl_save_libdir"
7879 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7883 if test "X$ltrpathdirs" != "X"; then
7884 for found_dir in $ltrpathdirs; do
7885 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7913 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
7914 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
7915 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
7916 echo $ECHO_N "(cached) $ECHO_C" >&6
7918 gt_save_LIBS="$LIBS"
7919 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
7920 cat >conftest.$ac_ext <<_ACEOF
7923 cat confdefs.h >>conftest.$ac_ext
7924 cat >>conftest.$ac_ext <<_ACEOF
7925 /* end confdefs.h. */
7926 #include <CoreFoundation/CFPreferences.h>
7930 CFPreferencesCopyAppValue(NULL, NULL)
7935 rm -f conftest.$ac_objext conftest$ac_exeext
7936 if { (ac_try="$ac_link"
7938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7939 *) ac_try_echo=$ac_try;;
7941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7942 (eval "$ac_link") 2>conftest.er1
7944 grep -v '^ *+' conftest.er1 >conftest.err
7946 cat conftest.err >&5
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); } && {
7949 test -z "$ac_c_werror_flag" ||
7950 test ! -s conftest.err
7951 } && test -s conftest$ac_exeext &&
7952 $as_test_x conftest$ac_exeext; then
7953 gt_cv_func_CFPreferencesCopyAppValue=yes
7955 echo "$as_me: failed program was:" >&5
7956 sed 's/^/| /' conftest.$ac_ext >&5
7958 gt_cv_func_CFPreferencesCopyAppValue=no
7961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7962 conftest$ac_exeext conftest.$ac_ext
7963 LIBS="$gt_save_LIBS"
7965 { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
7966 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
7967 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7969 cat >>confdefs.h <<\_ACEOF
7970 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
7974 { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
7975 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
7976 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
7977 echo $ECHO_N "(cached) $ECHO_C" >&6
7979 gt_save_LIBS="$LIBS"
7980 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
7981 cat >conftest.$ac_ext <<_ACEOF
7984 cat confdefs.h >>conftest.$ac_ext
7985 cat >>conftest.$ac_ext <<_ACEOF
7986 /* end confdefs.h. */
7987 #include <CoreFoundation/CFLocale.h>
7991 CFLocaleCopyCurrent();
7996 rm -f conftest.$ac_objext conftest$ac_exeext
7997 if { (ac_try="$ac_link"
7999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8000 *) ac_try_echo=$ac_try;;
8002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8003 (eval "$ac_link") 2>conftest.er1
8005 grep -v '^ *+' conftest.er1 >conftest.err
8007 cat conftest.err >&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } && {
8010 test -z "$ac_c_werror_flag" ||
8011 test ! -s conftest.err
8012 } && test -s conftest$ac_exeext &&
8013 $as_test_x conftest$ac_exeext; then
8014 gt_cv_func_CFLocaleCopyCurrent=yes
8016 echo "$as_me: failed program was:" >&5
8017 sed 's/^/| /' conftest.$ac_ext >&5
8019 gt_cv_func_CFLocaleCopyCurrent=no
8022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8023 conftest$ac_exeext conftest.$ac_ext
8024 LIBS="$gt_save_LIBS"
8026 { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
8027 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
8028 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
8030 cat >>confdefs.h <<\_ACEOF
8031 #define HAVE_CFLOCALECOPYCURRENT 1
8036 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
8037 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
8049 case " $gt_needs " in
8050 *" need-formatstring-macros "*) gt_api_version=3 ;;
8051 *" need-ngettext "*) gt_api_version=2 ;;
8052 *) gt_api_version=1 ;;
8054 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
8055 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
8057 if test "$USE_NLS" = "yes"; then
8058 gt_use_preinstalled_gnugettext=no
8061 if test $gt_api_version -ge 3; then
8062 gt_revision_test_code='
8063 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8064 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
8066 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
8069 gt_revision_test_code=
8071 if test $gt_api_version -ge 2; then
8072 gt_expression_test_code=' + * ngettext ("", "", 0)'
8074 gt_expression_test_code=
8077 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
8078 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
8079 if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
8080 echo $ECHO_N "(cached) $ECHO_C" >&6
8082 cat >conftest.$ac_ext <<_ACEOF
8085 cat confdefs.h >>conftest.$ac_ext
8086 cat >>conftest.$ac_ext <<_ACEOF
8087 /* end confdefs.h. */
8088 #include <libintl.h>
8089 $gt_revision_test_code
8090 extern int _nl_msg_cat_cntr;
8091 extern int *_nl_domain_bindings;
8095 bindtextdomain ("", "");
8096 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
8101 rm -f conftest.$ac_objext conftest$ac_exeext
8102 if { (ac_try="$ac_link"
8104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8105 *) ac_try_echo=$ac_try;;
8107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8108 (eval "$ac_link") 2>conftest.er1
8110 grep -v '^ *+' conftest.er1 >conftest.err
8112 cat conftest.err >&5
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); } && {
8115 test -z "$ac_c_werror_flag" ||
8116 test ! -s conftest.err
8117 } && test -s conftest$ac_exeext &&
8118 $as_test_x conftest$ac_exeext; then
8119 eval "$gt_func_gnugettext_libc=yes"
8121 echo "$as_me: failed program was:" >&5
8122 sed 's/^/| /' conftest.$ac_ext >&5
8124 eval "$gt_func_gnugettext_libc=no"
8127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8128 conftest$ac_exeext conftest.$ac_ext
8130 ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'`
8131 { echo "$as_me:$LINENO: result: $ac_res" >&5
8132 echo "${ECHO_T}$ac_res" >&6; }
8134 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
8140 am_save_CPPFLAGS="$CPPFLAGS"
8142 for element in $INCICONV; do
8144 for x in $CPPFLAGS; do
8146 acl_save_prefix="$prefix"
8147 prefix="$acl_final_prefix"
8148 acl_save_exec_prefix="$exec_prefix"
8149 exec_prefix="$acl_final_exec_prefix"
8151 exec_prefix="$acl_save_exec_prefix"
8152 prefix="$acl_save_prefix"
8154 if test "X$x" = "X$element"; then
8159 if test -z "$haveit"; then
8160 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8165 { echo "$as_me:$LINENO: checking for iconv" >&5
8166 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
8167 if test "${am_cv_func_iconv+set}" = set; then
8168 echo $ECHO_N "(cached) $ECHO_C" >&6
8171 am_cv_func_iconv="no, consider installing GNU libiconv"
8173 cat >conftest.$ac_ext <<_ACEOF
8176 cat confdefs.h >>conftest.$ac_ext
8177 cat >>conftest.$ac_ext <<_ACEOF
8178 /* end confdefs.h. */
8184 iconv_t cd = iconv_open("","");
8185 iconv(cd,NULL,NULL,NULL,NULL);
8191 rm -f conftest.$ac_objext conftest$ac_exeext
8192 if { (ac_try="$ac_link"
8194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8195 *) ac_try_echo=$ac_try;;
8197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 (eval "$ac_link") 2>conftest.er1
8200 grep -v '^ *+' conftest.er1 >conftest.err
8202 cat conftest.err >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); } && {
8205 test -z "$ac_c_werror_flag" ||
8206 test ! -s conftest.err
8207 } && test -s conftest$ac_exeext &&
8208 $as_test_x conftest$ac_exeext; then
8209 am_cv_func_iconv=yes
8211 echo "$as_me: failed program was:" >&5
8212 sed 's/^/| /' conftest.$ac_ext >&5
8217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8218 conftest$ac_exeext conftest.$ac_ext
8219 if test "$am_cv_func_iconv" != yes; then
8220 am_save_LIBS="$LIBS"
8221 LIBS="$LIBS $LIBICONV"
8222 cat >conftest.$ac_ext <<_ACEOF
8225 cat confdefs.h >>conftest.$ac_ext
8226 cat >>conftest.$ac_ext <<_ACEOF
8227 /* end confdefs.h. */
8233 iconv_t cd = iconv_open("","");
8234 iconv(cd,NULL,NULL,NULL,NULL);
8240 rm -f conftest.$ac_objext conftest$ac_exeext
8241 if { (ac_try="$ac_link"
8243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8244 *) ac_try_echo=$ac_try;;
8246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8247 (eval "$ac_link") 2>conftest.er1
8249 grep -v '^ *+' conftest.er1 >conftest.err
8251 cat conftest.err >&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); } && {
8254 test -z "$ac_c_werror_flag" ||
8255 test ! -s conftest.err
8256 } && test -s conftest$ac_exeext &&
8257 $as_test_x conftest$ac_exeext; then
8259 am_cv_func_iconv=yes
8261 echo "$as_me: failed program was:" >&5
8262 sed 's/^/| /' conftest.$ac_ext >&5
8267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8268 conftest$ac_exeext conftest.$ac_ext
8269 LIBS="$am_save_LIBS"
8273 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8274 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
8275 if test "$am_cv_func_iconv" = yes; then
8277 cat >>confdefs.h <<\_ACEOF
8278 #define HAVE_ICONV 1
8282 if test "$am_cv_lib_iconv" = yes; then
8283 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
8284 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
8285 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
8286 echo "${ECHO_T}$LIBICONV" >&6; }
8288 CPPFLAGS="$am_save_CPPFLAGS"
8301 acl_save_prefix="$prefix"
8302 prefix="$acl_final_prefix"
8303 acl_save_exec_prefix="$exec_prefix"
8304 exec_prefix="$acl_final_exec_prefix"
8306 eval additional_includedir=\"$includedir\"
8307 eval additional_libdir=\"$libdir\"
8309 exec_prefix="$acl_save_exec_prefix"
8310 prefix="$acl_save_prefix"
8313 # Check whether --with-libintl-prefix was given.
8314 if test "${with_libintl_prefix+set}" = set; then
8315 withval=$with_libintl_prefix;
8316 if test "X$withval" = "Xno"; then
8319 if test "X$withval" = "X"; then
8321 acl_save_prefix="$prefix"
8322 prefix="$acl_final_prefix"
8323 acl_save_exec_prefix="$exec_prefix"
8324 exec_prefix="$acl_final_exec_prefix"
8326 eval additional_includedir=\"$includedir\"
8327 eval additional_libdir=\"$libdir\"
8329 exec_prefix="$acl_save_exec_prefix"
8330 prefix="$acl_save_prefix"
8333 additional_includedir="$withval/include"
8334 additional_libdir="$withval/$acl_libdirstem"
8345 names_already_handled=
8346 names_next_round='intl '
8347 while test -n "$names_next_round"; do
8348 names_this_round="$names_next_round"
8350 for name in $names_this_round; do
8352 for n in $names_already_handled; do
8353 if test "$n" = "$name"; then
8358 if test -z "$already_handled"; then
8359 names_already_handled="$names_already_handled $name"
8360 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8361 eval value=\"\$HAVE_LIB$uppername\"
8362 if test -n "$value"; then
8363 if test "$value" = yes; then
8364 eval value=\"\$LIB$uppername\"
8365 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
8366 eval value=\"\$LTLIB$uppername\"
8367 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
8376 if test $use_additional = yes; then
8377 if test -n "$shlibext" \
8378 && { test -f "$additional_libdir/lib$name.$shlibext" \
8379 || { test "$shlibext" = dll \
8380 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
8381 found_dir="$additional_libdir"
8382 if test -f "$additional_libdir/lib$name.$shlibext"; then
8383 found_so="$additional_libdir/lib$name.$shlibext"
8385 found_so="$additional_libdir/lib$name.dll.a"
8387 if test -f "$additional_libdir/lib$name.la"; then
8388 found_la="$additional_libdir/lib$name.la"
8391 if test -f "$additional_libdir/lib$name.$libext"; then
8392 found_dir="$additional_libdir"
8393 found_a="$additional_libdir/lib$name.$libext"
8394 if test -f "$additional_libdir/lib$name.la"; then
8395 found_la="$additional_libdir/lib$name.la"
8400 if test "X$found_dir" = "X"; then
8401 for x in $LDFLAGS $LTLIBINTL; do
8403 acl_save_prefix="$prefix"
8404 prefix="$acl_final_prefix"
8405 acl_save_exec_prefix="$exec_prefix"
8406 exec_prefix="$acl_final_exec_prefix"
8408 exec_prefix="$acl_save_exec_prefix"
8409 prefix="$acl_save_prefix"
8413 dir=`echo "X$x" | sed -e 's/^X-L//'`
8414 if test -n "$shlibext" \
8415 && { test -f "$dir/lib$name.$shlibext" \
8416 || { test "$shlibext" = dll \
8417 && test -f "$dir/lib$name.dll.a"; }; }; then
8419 if test -f "$dir/lib$name.$shlibext"; then
8420 found_so="$dir/lib$name.$shlibext"
8422 found_so="$dir/lib$name.dll.a"
8424 if test -f "$dir/lib$name.la"; then
8425 found_la="$dir/lib$name.la"
8428 if test -f "$dir/lib$name.$libext"; then
8430 found_a="$dir/lib$name.$libext"
8431 if test -f "$dir/lib$name.la"; then
8432 found_la="$dir/lib$name.la"
8438 if test "X$found_dir" != "X"; then
8443 if test "X$found_dir" != "X"; then
8444 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8445 if test "X$found_so" != "X"; then
8446 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
8447 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8450 for x in $ltrpathdirs; do
8451 if test "X$x" = "X$found_dir"; then
8456 if test -z "$haveit"; then
8457 ltrpathdirs="$ltrpathdirs $found_dir"
8459 if test "$hardcode_direct" = yes; then
8460 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8462 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
8463 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8465 for x in $rpathdirs; do
8466 if test "X$x" = "X$found_dir"; then
8471 if test -z "$haveit"; then
8472 rpathdirs="$rpathdirs $found_dir"
8476 for x in $LDFLAGS $LIBINTL; do
8478 acl_save_prefix="$prefix"
8479 prefix="$acl_final_prefix"
8480 acl_save_exec_prefix="$exec_prefix"
8481 exec_prefix="$acl_final_exec_prefix"
8483 exec_prefix="$acl_save_exec_prefix"
8484 prefix="$acl_save_prefix"
8486 if test "X$x" = "X-L$found_dir"; then
8491 if test -z "$haveit"; then
8492 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8494 if test "$hardcode_minus_L" != no; then
8495 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8497 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8503 if test "X$found_a" != "X"; then
8504 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
8506 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8509 additional_includedir=
8510 case "$found_dir" in
8511 */$acl_libdirstem | */$acl_libdirstem/)
8512 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8513 additional_includedir="$basedir/include"
8516 if test "X$additional_includedir" != "X"; then
8517 if test "X$additional_includedir" != "X/usr/include"; then
8519 if test "X$additional_includedir" = "X/usr/local/include"; then
8520 if test -n "$GCC"; then
8522 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8526 if test -z "$haveit"; then
8527 for x in $CPPFLAGS $INCINTL; do
8529 acl_save_prefix="$prefix"
8530 prefix="$acl_final_prefix"
8531 acl_save_exec_prefix="$exec_prefix"
8532 exec_prefix="$acl_final_exec_prefix"
8534 exec_prefix="$acl_save_exec_prefix"
8535 prefix="$acl_save_prefix"
8537 if test "X$x" = "X-I$additional_includedir"; then
8542 if test -z "$haveit"; then
8543 if test -d "$additional_includedir"; then
8544 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8550 if test -n "$found_la"; then
8551 save_libdir="$libdir"
8553 */* | *\\*) . "$found_la" ;;
8554 *) . "./$found_la" ;;
8556 libdir="$save_libdir"
8557 for dep in $dependency_libs; do
8560 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
8561 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
8563 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
8564 if test -n "$GCC"; then
8566 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8570 if test -z "$haveit"; then
8572 for x in $LDFLAGS $LIBINTL; do
8574 acl_save_prefix="$prefix"
8575 prefix="$acl_final_prefix"
8576 acl_save_exec_prefix="$exec_prefix"
8577 exec_prefix="$acl_final_exec_prefix"
8579 exec_prefix="$acl_save_exec_prefix"
8580 prefix="$acl_save_prefix"
8582 if test "X$x" = "X-L$additional_libdir"; then
8587 if test -z "$haveit"; then
8588 if test -d "$additional_libdir"; then
8589 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8593 for x in $LDFLAGS $LTLIBINTL; do
8595 acl_save_prefix="$prefix"
8596 prefix="$acl_final_prefix"
8597 acl_save_exec_prefix="$exec_prefix"
8598 exec_prefix="$acl_final_exec_prefix"
8600 exec_prefix="$acl_save_exec_prefix"
8601 prefix="$acl_save_prefix"
8603 if test "X$x" = "X-L$additional_libdir"; then
8608 if test -z "$haveit"; then
8609 if test -d "$additional_libdir"; then
8610 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8617 dir=`echo "X$dep" | sed -e 's/^X-R//'`
8618 if test "$enable_rpath" != no; then
8620 for x in $rpathdirs; do
8621 if test "X$x" = "X$dir"; then
8626 if test -z "$haveit"; then
8627 rpathdirs="$rpathdirs $dir"
8630 for x in $ltrpathdirs; do
8631 if test "X$x" = "X$dir"; then
8636 if test -z "$haveit"; then
8637 ltrpathdirs="$ltrpathdirs $dir"
8642 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8645 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8648 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
8649 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8655 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8656 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8662 if test "X$rpathdirs" != "X"; then
8663 if test -n "$hardcode_libdir_separator"; then
8665 for found_dir in $rpathdirs; do
8666 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8668 acl_save_libdir="$libdir"
8670 eval flag=\"$hardcode_libdir_flag_spec\"
8671 libdir="$acl_save_libdir"
8672 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8674 for found_dir in $rpathdirs; do
8675 acl_save_libdir="$libdir"
8677 eval flag=\"$hardcode_libdir_flag_spec\"
8678 libdir="$acl_save_libdir"
8679 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8683 if test "X$ltrpathdirs" != "X"; then
8684 for found_dir in $ltrpathdirs; do
8685 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8689 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
8690 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
8691 if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
8692 echo $ECHO_N "(cached) $ECHO_C" >&6
8694 gt_save_CPPFLAGS="$CPPFLAGS"
8695 CPPFLAGS="$CPPFLAGS $INCINTL"
8696 gt_save_LIBS="$LIBS"
8697 LIBS="$LIBS $LIBINTL"
8698 cat >conftest.$ac_ext <<_ACEOF
8701 cat confdefs.h >>conftest.$ac_ext
8702 cat >>conftest.$ac_ext <<_ACEOF
8703 /* end confdefs.h. */
8704 #include <libintl.h>
8705 $gt_revision_test_code
8706 extern int _nl_msg_cat_cntr;
8711 const char *_nl_expand_alias (const char *);
8715 bindtextdomain ("", "");
8716 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8721 rm -f conftest.$ac_objext conftest$ac_exeext
8722 if { (ac_try="$ac_link"
8724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8725 *) ac_try_echo=$ac_try;;
8727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8728 (eval "$ac_link") 2>conftest.er1
8730 grep -v '^ *+' conftest.er1 >conftest.err
8732 cat conftest.err >&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); } && {
8735 test -z "$ac_c_werror_flag" ||
8736 test ! -s conftest.err
8737 } && test -s conftest$ac_exeext &&
8738 $as_test_x conftest$ac_exeext; then
8739 eval "$gt_func_gnugettext_libintl=yes"
8741 echo "$as_me: failed program was:" >&5
8742 sed 's/^/| /' conftest.$ac_ext >&5
8744 eval "$gt_func_gnugettext_libintl=no"
8747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8748 conftest$ac_exeext conftest.$ac_ext
8749 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
8750 LIBS="$LIBS $LIBICONV"
8751 cat >conftest.$ac_ext <<_ACEOF
8754 cat confdefs.h >>conftest.$ac_ext
8755 cat >>conftest.$ac_ext <<_ACEOF
8756 /* end confdefs.h. */
8757 #include <libintl.h>
8758 $gt_revision_test_code
8759 extern int _nl_msg_cat_cntr;
8764 const char *_nl_expand_alias (const char *);
8768 bindtextdomain ("", "");
8769 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8774 rm -f conftest.$ac_objext conftest$ac_exeext
8775 if { (ac_try="$ac_link"
8777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8778 *) ac_try_echo=$ac_try;;
8780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8781 (eval "$ac_link") 2>conftest.er1
8783 grep -v '^ *+' conftest.er1 >conftest.err
8785 cat conftest.err >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); } && {
8788 test -z "$ac_c_werror_flag" ||
8789 test ! -s conftest.err
8790 } && test -s conftest$ac_exeext &&
8791 $as_test_x conftest$ac_exeext; then
8792 LIBINTL="$LIBINTL $LIBICONV"
8793 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
8794 eval "$gt_func_gnugettext_libintl=yes"
8797 echo "$as_me: failed program was:" >&5
8798 sed 's/^/| /' conftest.$ac_ext >&5
8803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8804 conftest$ac_exeext conftest.$ac_ext
8806 CPPFLAGS="$gt_save_CPPFLAGS"
8807 LIBS="$gt_save_LIBS"
8809 ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'`
8810 { echo "$as_me:$LINENO: result: $ac_res" >&5
8811 echo "${ECHO_T}$ac_res" >&6; }
8814 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
8815 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
8816 && test "$PACKAGE" != gettext-runtime \
8817 && test "$PACKAGE" != gettext-tools; }; then
8818 gt_use_preinstalled_gnugettext=yes
8827 if test -n "$INTL_MACOSX_LIBS"; then
8828 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8829 || test "$nls_cv_use_gnu_gettext" = "yes"; then
8830 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
8831 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
8835 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8836 || test "$nls_cv_use_gnu_gettext" = "yes"; then
8838 cat >>confdefs.h <<\_ACEOF
8839 #define ENABLE_NLS 1
8847 { echo "$as_me:$LINENO: checking whether to use NLS" >&5
8848 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
8849 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
8850 echo "${ECHO_T}$USE_NLS" >&6; }
8851 if test "$USE_NLS" = "yes"; then
8852 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
8853 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
8854 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8855 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8856 gt_source="external libintl"
8861 gt_source="included intl directory"
8863 { echo "$as_me:$LINENO: result: $gt_source" >&5
8864 echo "${ECHO_T}$gt_source" >&6; }
8867 if test "$USE_NLS" = "yes"; then
8869 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8870 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8871 { echo "$as_me:$LINENO: checking how to link with libintl" >&5
8872 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
8873 { echo "$as_me:$LINENO: result: $LIBINTL" >&5
8874 echo "${ECHO_T}$LIBINTL" >&6; }
8876 for element in $INCINTL; do
8878 for x in $CPPFLAGS; do
8880 acl_save_prefix="$prefix"
8881 prefix="$acl_final_prefix"
8882 acl_save_exec_prefix="$exec_prefix"
8883 exec_prefix="$acl_final_exec_prefix"
8885 exec_prefix="$acl_save_exec_prefix"
8886 prefix="$acl_save_prefix"
8888 if test "X$x" = "X$element"; then
8893 if test -z "$haveit"; then
8894 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8901 cat >>confdefs.h <<\_ACEOF
8902 #define HAVE_GETTEXT 1
8906 cat >>confdefs.h <<\_ACEOF
8907 #define HAVE_DCGETTEXT 1
8926 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8927 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
8928 if test "${ac_cv_func_closedir_void+set}" = set; then
8929 echo $ECHO_N "(cached) $ECHO_C" >&6
8931 if test "$cross_compiling" = yes; then
8932 ac_cv_func_closedir_void=yes
8934 cat >conftest.$ac_ext <<_ACEOF
8937 cat confdefs.h >>conftest.$ac_ext
8938 cat >>conftest.$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8940 $ac_includes_default
8941 #include <$ac_header_dirent>
8949 return closedir (opendir (".")) != 0;
8954 rm -f conftest$ac_exeext
8955 if { (ac_try="$ac_link"
8957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8958 *) ac_try_echo=$ac_try;;
8960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8961 (eval "$ac_link") 2>&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8965 { (case "(($ac_try" in
8966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8967 *) ac_try_echo=$ac_try;;
8969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8970 (eval "$ac_try") 2>&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); }; }; then
8974 ac_cv_func_closedir_void=no
8976 echo "$as_me: program exited with status $ac_status" >&5
8977 echo "$as_me: failed program was:" >&5
8978 sed 's/^/| /' conftest.$ac_ext >&5
8981 ac_cv_func_closedir_void=yes
8983 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8988 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
8989 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
8990 if test $ac_cv_func_closedir_void = yes; then
8992 cat >>confdefs.h <<\_ACEOF
8993 #define CLOSEDIR_VOID 1
8998 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
8999 # -lseq on Dynix/PTX, -lgen on Unixware.
9000 { echo "$as_me:$LINENO: checking for library containing getmntent" >&5
9001 echo $ECHO_N "checking for library containing getmntent... $ECHO_C" >&6; }
9002 if test "${ac_cv_search_getmntent+set}" = set; then
9003 echo $ECHO_N "(cached) $ECHO_C" >&6
9005 ac_func_search_save_LIBS=$LIBS
9006 cat >conftest.$ac_ext <<_ACEOF
9009 cat confdefs.h >>conftest.$ac_ext
9010 cat >>conftest.$ac_ext <<_ACEOF
9011 /* end confdefs.h. */
9013 /* Override any GCC internal prototype to avoid an error.
9014 Use char because int might match the return type of a GCC
9015 builtin and then its argument prototype would still apply. */
9023 return getmntent ();
9028 for ac_lib in '' sun seq gen; do
9029 if test -z "$ac_lib"; then
9030 ac_res="none required"
9033 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9035 rm -f conftest.$ac_objext conftest$ac_exeext
9036 if { (ac_try="$ac_link"
9038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9039 *) ac_try_echo=$ac_try;;
9041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9042 (eval "$ac_link") 2>conftest.er1
9044 grep -v '^ *+' conftest.er1 >conftest.err
9046 cat conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } && {
9049 test -z "$ac_c_werror_flag" ||
9050 test ! -s conftest.err
9051 } && test -s conftest$ac_exeext &&
9052 $as_test_x conftest$ac_exeext; then
9053 ac_cv_search_getmntent=$ac_res
9055 echo "$as_me: failed program was:" >&5
9056 sed 's/^/| /' conftest.$ac_ext >&5
9061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9063 if test "${ac_cv_search_getmntent+set}" = set; then
9067 if test "${ac_cv_search_getmntent+set}" = set; then
9070 ac_cv_search_getmntent=no
9073 LIBS=$ac_func_search_save_LIBS
9075 { echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
9076 echo "${ECHO_T}$ac_cv_search_getmntent" >&6; }
9077 ac_res=$ac_cv_search_getmntent
9078 if test "$ac_res" != no; then
9079 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9080 ac_cv_func_getmntent=yes
9082 cat >>confdefs.h <<\_ACEOF
9083 #define HAVE_GETMNTENT 1
9087 ac_cv_func_getmntent=no
9091 if test $ac_cv_c_compiler_gnu = yes; then
9092 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
9093 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
9094 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
9095 echo $ECHO_N "(cached) $ECHO_C" >&6
9097 ac_pattern="Autoconf.*'x'"
9098 cat >conftest.$ac_ext <<_ACEOF
9101 cat confdefs.h >>conftest.$ac_ext
9102 cat >>conftest.$ac_ext <<_ACEOF
9103 /* end confdefs.h. */
9107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9108 $EGREP "$ac_pattern" >/dev/null 2>&1; then
9109 ac_cv_prog_gcc_traditional=yes
9111 ac_cv_prog_gcc_traditional=no
9116 if test $ac_cv_prog_gcc_traditional = no; then
9117 cat >conftest.$ac_ext <<_ACEOF
9120 cat confdefs.h >>conftest.$ac_ext
9121 cat >>conftest.$ac_ext <<_ACEOF
9122 /* end confdefs.h. */
9126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9127 $EGREP "$ac_pattern" >/dev/null 2>&1; then
9128 ac_cv_prog_gcc_traditional=yes
9134 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
9135 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
9136 if test $ac_cv_prog_gcc_traditional = yes; then
9137 CC="$CC -traditional"
9141 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
9142 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
9143 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
9144 echo $ECHO_N "(cached) $ECHO_C" >&6
9146 rm -f conftest.sym conftest.file
9148 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
9149 if test "$cross_compiling" = yes; then
9150 ac_cv_func_lstat_dereferences_slashed_symlink=no
9152 cat >conftest.$ac_ext <<_ACEOF
9155 cat confdefs.h >>conftest.$ac_ext
9156 cat >>conftest.$ac_ext <<_ACEOF
9157 /* end confdefs.h. */
9158 $ac_includes_default
9163 /* Linux will dereference the symlink and fail.
9164 That is better in the sense that it means we will not
9165 have to compile and use the lstat wrapper. */
9166 return lstat ("conftest.sym/", &sbuf) == 0;
9171 rm -f conftest$ac_exeext
9172 if { (ac_try="$ac_link"
9174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9175 *) ac_try_echo=$ac_try;;
9177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9178 (eval "$ac_link") 2>&5
9180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9182 { (case "(($ac_try" in
9183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9184 *) ac_try_echo=$ac_try;;
9186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9187 (eval "$ac_try") 2>&5
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 (exit $ac_status); }; }; then
9191 ac_cv_func_lstat_dereferences_slashed_symlink=yes
9193 echo "$as_me: program exited with status $ac_status" >&5
9194 echo "$as_me: failed program was:" >&5
9195 sed 's/^/| /' conftest.$ac_ext >&5
9198 ac_cv_func_lstat_dereferences_slashed_symlink=no
9200 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9205 # If the `ln -s' command failed, then we probably don't even
9206 # have an lstat function.
9207 ac_cv_func_lstat_dereferences_slashed_symlink=no
9209 rm -f conftest.sym conftest.file
9212 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
9213 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
9215 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
9217 cat >>confdefs.h <<_ACEOF
9218 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
9222 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
9223 case " $LIBOBJS " in
9224 *" lstat.$ac_objext "* ) ;;
9225 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
9231 { echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
9232 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6; }
9233 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
9234 echo $ECHO_N "(cached) $ECHO_C" >&6
9236 if test "$cross_compiling" = yes; then
9237 ac_cv_func_lstat_empty_string_bug=yes
9239 cat >conftest.$ac_ext <<_ACEOF
9242 cat confdefs.h >>conftest.$ac_ext
9243 cat >>conftest.$ac_ext <<_ACEOF
9244 /* end confdefs.h. */
9245 $ac_includes_default
9250 return lstat ("", &sbuf) == 0;
9255 rm -f conftest$ac_exeext
9256 if { (ac_try="$ac_link"
9258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9259 *) ac_try_echo=$ac_try;;
9261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9262 (eval "$ac_link") 2>&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9266 { (case "(($ac_try" in
9267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9268 *) ac_try_echo=$ac_try;;
9270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9271 (eval "$ac_try") 2>&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); }; }; then
9275 ac_cv_func_lstat_empty_string_bug=no
9277 echo "$as_me: program exited with status $ac_status" >&5
9278 echo "$as_me: failed program was:" >&5
9279 sed 's/^/| /' conftest.$ac_ext >&5
9282 ac_cv_func_lstat_empty_string_bug=yes
9284 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9289 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
9290 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6; }
9291 if test $ac_cv_func_lstat_empty_string_bug = yes; then
9292 case " $LIBOBJS " in
9293 *" lstat.$ac_objext "* ) ;;
9294 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
9299 cat >>confdefs.h <<_ACEOF
9300 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
9305 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
9306 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
9307 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
9308 echo $ECHO_N "(cached) $ECHO_C" >&6
9310 rm -f conftest.sym conftest.file
9312 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
9313 if test "$cross_compiling" = yes; then
9314 ac_cv_func_lstat_dereferences_slashed_symlink=no
9316 cat >conftest.$ac_ext <<_ACEOF
9319 cat confdefs.h >>conftest.$ac_ext
9320 cat >>conftest.$ac_ext <<_ACEOF
9321 /* end confdefs.h. */
9322 $ac_includes_default
9327 /* Linux will dereference the symlink and fail.
9328 That is better in the sense that it means we will not
9329 have to compile and use the lstat wrapper. */
9330 return lstat ("conftest.sym/", &sbuf) == 0;
9335 rm -f conftest$ac_exeext
9336 if { (ac_try="$ac_link"
9338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9339 *) ac_try_echo=$ac_try;;
9341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9342 (eval "$ac_link") 2>&5
9344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9346 { (case "(($ac_try" in
9347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9348 *) ac_try_echo=$ac_try;;
9350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9351 (eval "$ac_try") 2>&5
9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354 (exit $ac_status); }; }; then
9355 ac_cv_func_lstat_dereferences_slashed_symlink=yes
9357 echo "$as_me: program exited with status $ac_status" >&5
9358 echo "$as_me: failed program was:" >&5
9359 sed 's/^/| /' conftest.$ac_ext >&5
9362 ac_cv_func_lstat_dereferences_slashed_symlink=no
9364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9369 # If the `ln -s' command failed, then we probably don't even
9370 # have an lstat function.
9371 ac_cv_func_lstat_dereferences_slashed_symlink=no
9373 rm -f conftest.sym conftest.file
9376 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
9377 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
9379 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
9381 cat >>confdefs.h <<_ACEOF
9382 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
9386 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
9387 case " $LIBOBJS " in
9388 *" lstat.$ac_objext "* ) ;;
9389 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
9396 for ac_header in stdlib.h
9398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9400 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9402 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9405 ac_res=`eval echo '${'$as_ac_Header'}'`
9406 { echo "$as_me:$LINENO: result: $ac_res" >&5
9407 echo "${ECHO_T}$ac_res" >&6; }
9409 # Is the header compilable?
9410 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9412 cat >conftest.$ac_ext <<_ACEOF
9415 cat confdefs.h >>conftest.$ac_ext
9416 cat >>conftest.$ac_ext <<_ACEOF
9417 /* end confdefs.h. */
9418 $ac_includes_default
9419 #include <$ac_header>
9421 rm -f conftest.$ac_objext
9422 if { (ac_try="$ac_compile"
9424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9425 *) ac_try_echo=$ac_try;;
9427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9428 (eval "$ac_compile") 2>conftest.er1
9430 grep -v '^ *+' conftest.er1 >conftest.err
9432 cat conftest.err >&5
9433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434 (exit $ac_status); } && {
9435 test -z "$ac_c_werror_flag" ||
9436 test ! -s conftest.err
9437 } && test -s conftest.$ac_objext; then
9438 ac_header_compiler=yes
9440 echo "$as_me: failed program was:" >&5
9441 sed 's/^/| /' conftest.$ac_ext >&5
9443 ac_header_compiler=no
9446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9447 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9448 echo "${ECHO_T}$ac_header_compiler" >&6; }
9450 # Is the header present?
9451 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9452 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9453 cat >conftest.$ac_ext <<_ACEOF
9456 cat confdefs.h >>conftest.$ac_ext
9457 cat >>conftest.$ac_ext <<_ACEOF
9458 /* end confdefs.h. */
9459 #include <$ac_header>
9461 if { (ac_try="$ac_cpp conftest.$ac_ext"
9463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9464 *) ac_try_echo=$ac_try;;
9466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9467 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9469 grep -v '^ *+' conftest.er1 >conftest.err
9471 cat conftest.err >&5
9472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473 (exit $ac_status); } >/dev/null && {
9474 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9475 test ! -s conftest.err
9477 ac_header_preproc=yes
9479 echo "$as_me: failed program was:" >&5
9480 sed 's/^/| /' conftest.$ac_ext >&5
9482 ac_header_preproc=no
9485 rm -f conftest.err conftest.$ac_ext
9486 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9487 echo "${ECHO_T}$ac_header_preproc" >&6; }
9489 # So? What about this header?
9490 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9495 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9496 ac_header_preproc=yes
9499 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9500 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9501 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9502 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9503 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9504 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9505 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9506 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9509 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9510 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9514 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9516 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9517 echo $ECHO_N "(cached) $ECHO_C" >&6
9519 eval "$as_ac_Header=\$ac_header_preproc"
9521 ac_res=`eval echo '${'$as_ac_Header'}'`
9522 { echo "$as_me:$LINENO: result: $ac_res" >&5
9523 echo "${ECHO_T}$ac_res" >&6; }
9526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9527 cat >>confdefs.h <<_ACEOF
9528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9535 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
9536 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
9537 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
9538 echo $ECHO_N "(cached) $ECHO_C" >&6
9540 if test "$cross_compiling" = yes; then
9541 ac_cv_func_malloc_0_nonnull=no
9543 cat >conftest.$ac_ext <<_ACEOF
9546 cat confdefs.h >>conftest.$ac_ext
9547 cat >>conftest.$ac_ext <<_ACEOF
9548 /* end confdefs.h. */
9549 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
9550 # include <stdlib.h>
9558 return ! malloc (0);
9563 rm -f conftest$ac_exeext
9564 if { (ac_try="$ac_link"
9566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9567 *) ac_try_echo=$ac_try;;
9569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9570 (eval "$ac_link") 2>&5
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9574 { (case "(($ac_try" in
9575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9576 *) ac_try_echo=$ac_try;;
9578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9579 (eval "$ac_try") 2>&5
9581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9582 (exit $ac_status); }; }; then
9583 ac_cv_func_malloc_0_nonnull=yes
9585 echo "$as_me: program exited with status $ac_status" >&5
9586 echo "$as_me: failed program was:" >&5
9587 sed 's/^/| /' conftest.$ac_ext >&5
9590 ac_cv_func_malloc_0_nonnull=no
9592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9597 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
9598 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
9599 if test $ac_cv_func_malloc_0_nonnull = yes; then
9601 cat >>confdefs.h <<\_ACEOF
9602 #define HAVE_MALLOC 1
9606 cat >>confdefs.h <<\_ACEOF
9607 #define HAVE_MALLOC 0
9610 case " $LIBOBJS " in
9611 *" malloc.$ac_objext "* ) ;;
9612 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
9617 cat >>confdefs.h <<\_ACEOF
9618 #define malloc rpl_malloc
9625 { echo "$as_me:$LINENO: checking for working memcmp" >&5
9626 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
9627 if test "${ac_cv_func_memcmp_working+set}" = set; then
9628 echo $ECHO_N "(cached) $ECHO_C" >&6
9630 if test "$cross_compiling" = yes; then
9631 ac_cv_func_memcmp_working=no
9633 cat >conftest.$ac_ext <<_ACEOF
9636 cat confdefs.h >>conftest.$ac_ext
9637 cat >>conftest.$ac_ext <<_ACEOF
9638 /* end confdefs.h. */
9639 $ac_includes_default
9644 /* Some versions of memcmp are not 8-bit clean. */
9645 char c0 = '\100', c1 = '\200', c2 = '\201';
9646 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
9649 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
9650 or more and with at least one buffer not starting on a 4-byte boundary.
9651 William Lewis provided this test program. */
9656 for (i = 0; i < 4; i++)
9660 strcpy (a, "--------01111111");
9661 strcpy (b, "--------10000000");
9662 if (memcmp (a, b, 16) >= 0)
9672 rm -f conftest$ac_exeext
9673 if { (ac_try="$ac_link"
9675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9676 *) ac_try_echo=$ac_try;;
9678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9679 (eval "$ac_link") 2>&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9683 { (case "(($ac_try" in
9684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9685 *) ac_try_echo=$ac_try;;
9687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9688 (eval "$ac_try") 2>&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); }; }; then
9692 ac_cv_func_memcmp_working=yes
9694 echo "$as_me: program exited with status $ac_status" >&5
9695 echo "$as_me: failed program was:" >&5
9696 sed 's/^/| /' conftest.$ac_ext >&5
9699 ac_cv_func_memcmp_working=no
9701 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9706 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
9707 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
9708 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
9709 *" memcmp.$ac_objext "* ) ;;
9710 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
9716 for ac_header in stdlib.h
9718 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9719 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9720 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9722 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9723 echo $ECHO_N "(cached) $ECHO_C" >&6
9725 ac_res=`eval echo '${'$as_ac_Header'}'`
9726 { echo "$as_me:$LINENO: result: $ac_res" >&5
9727 echo "${ECHO_T}$ac_res" >&6; }
9729 # Is the header compilable?
9730 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9731 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9732 cat >conftest.$ac_ext <<_ACEOF
9735 cat confdefs.h >>conftest.$ac_ext
9736 cat >>conftest.$ac_ext <<_ACEOF
9737 /* end confdefs.h. */
9738 $ac_includes_default
9739 #include <$ac_header>
9741 rm -f conftest.$ac_objext
9742 if { (ac_try="$ac_compile"
9744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9745 *) ac_try_echo=$ac_try;;
9747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9748 (eval "$ac_compile") 2>conftest.er1
9750 grep -v '^ *+' conftest.er1 >conftest.err
9752 cat conftest.err >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); } && {
9755 test -z "$ac_c_werror_flag" ||
9756 test ! -s conftest.err
9757 } && test -s conftest.$ac_objext; then
9758 ac_header_compiler=yes
9760 echo "$as_me: failed program was:" >&5
9761 sed 's/^/| /' conftest.$ac_ext >&5
9763 ac_header_compiler=no
9766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9767 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9768 echo "${ECHO_T}$ac_header_compiler" >&6; }
9770 # Is the header present?
9771 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9772 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9773 cat >conftest.$ac_ext <<_ACEOF
9776 cat confdefs.h >>conftest.$ac_ext
9777 cat >>conftest.$ac_ext <<_ACEOF
9778 /* end confdefs.h. */
9779 #include <$ac_header>
9781 if { (ac_try="$ac_cpp conftest.$ac_ext"
9783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9784 *) ac_try_echo=$ac_try;;
9786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9789 grep -v '^ *+' conftest.er1 >conftest.err
9791 cat conftest.err >&5
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); } >/dev/null && {
9794 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9795 test ! -s conftest.err
9797 ac_header_preproc=yes
9799 echo "$as_me: failed program was:" >&5
9800 sed 's/^/| /' conftest.$ac_ext >&5
9802 ac_header_preproc=no
9805 rm -f conftest.err conftest.$ac_ext
9806 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9807 echo "${ECHO_T}$ac_header_preproc" >&6; }
9809 # So? What about this header?
9810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9813 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9815 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9816 ac_header_preproc=yes
9819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9823 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9824 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9825 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9826 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9829 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9830 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9834 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9837 echo $ECHO_N "(cached) $ECHO_C" >&6
9839 eval "$as_ac_Header=\$ac_header_preproc"
9841 ac_res=`eval echo '${'$as_ac_Header'}'`
9842 { echo "$as_me:$LINENO: result: $ac_res" >&5
9843 echo "${ECHO_T}$ac_res" >&6; }
9846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9847 cat >>confdefs.h <<_ACEOF
9848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9855 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
9856 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
9857 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 if test "$cross_compiling" = yes; then
9861 ac_cv_func_realloc_0_nonnull=no
9863 cat >conftest.$ac_ext <<_ACEOF
9866 cat confdefs.h >>conftest.$ac_ext
9867 cat >>conftest.$ac_ext <<_ACEOF
9868 /* end confdefs.h. */
9869 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
9870 # include <stdlib.h>
9878 return ! realloc (0, 0);
9883 rm -f conftest$ac_exeext
9884 if { (ac_try="$ac_link"
9886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9887 *) ac_try_echo=$ac_try;;
9889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9890 (eval "$ac_link") 2>&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9894 { (case "(($ac_try" in
9895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9896 *) ac_try_echo=$ac_try;;
9898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9899 (eval "$ac_try") 2>&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); }; }; then
9903 ac_cv_func_realloc_0_nonnull=yes
9905 echo "$as_me: program exited with status $ac_status" >&5
9906 echo "$as_me: failed program was:" >&5
9907 sed 's/^/| /' conftest.$ac_ext >&5
9910 ac_cv_func_realloc_0_nonnull=no
9912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9917 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
9918 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
9919 if test $ac_cv_func_realloc_0_nonnull = yes; then
9921 cat >>confdefs.h <<\_ACEOF
9922 #define HAVE_REALLOC 1
9926 cat >>confdefs.h <<\_ACEOF
9927 #define HAVE_REALLOC 0
9930 case " $LIBOBJS " in
9931 *" realloc.$ac_objext "* ) ;;
9932 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
9937 cat >>confdefs.h <<\_ACEOF
9938 #define realloc rpl_realloc
9945 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
9946 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
9947 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
9948 echo $ECHO_N "(cached) $ECHO_C" >&6
9950 if test "$cross_compiling" = yes; then
9951 ac_cv_func_stat_empty_string_bug=yes
9953 cat >conftest.$ac_ext <<_ACEOF
9956 cat confdefs.h >>conftest.$ac_ext
9957 cat >>conftest.$ac_ext <<_ACEOF
9958 /* end confdefs.h. */
9959 $ac_includes_default
9964 return stat ("", &sbuf) == 0;
9969 rm -f conftest$ac_exeext
9970 if { (ac_try="$ac_link"
9972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9973 *) ac_try_echo=$ac_try;;
9975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9976 (eval "$ac_link") 2>&5
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9980 { (case "(($ac_try" in
9981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9982 *) ac_try_echo=$ac_try;;
9984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9985 (eval "$ac_try") 2>&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }; }; then
9989 ac_cv_func_stat_empty_string_bug=no
9991 echo "$as_me: program exited with status $ac_status" >&5
9992 echo "$as_me: failed program was:" >&5
9993 sed 's/^/| /' conftest.$ac_ext >&5
9996 ac_cv_func_stat_empty_string_bug=yes
9998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10003 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
10004 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
10005 if test $ac_cv_func_stat_empty_string_bug = yes; then
10006 case " $LIBOBJS " in
10007 *" stat.$ac_objext "* ) ;;
10008 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
10013 cat >>confdefs.h <<_ACEOF
10014 #define HAVE_STAT_EMPTY_STRING_BUG 1
10034 for ac_func in atexit getmntent memset nl_langinfo regcomp rpmatch setlocale socket strcasecmp strchr strdup strerror strpbrk strrchr strtoul
10036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10037 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10039 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10040 echo $ECHO_N "(cached) $ECHO_C" >&6
10042 cat >conftest.$ac_ext <<_ACEOF
10045 cat confdefs.h >>conftest.$ac_ext
10046 cat >>conftest.$ac_ext <<_ACEOF
10047 /* end confdefs.h. */
10048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10050 #define $ac_func innocuous_$ac_func
10052 /* System header to define __stub macros and hopefully few prototypes,
10053 which can conflict with char $ac_func (); below.
10054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10055 <limits.h> exists even on freestanding compilers. */
10058 # include <limits.h>
10060 # include <assert.h>
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10072 /* The GNU C library defines this for functions which it implements
10073 to always fail with ENOSYS. Some functions are actually named
10074 something starting with __ and the normal name is an alias. */
10075 #if defined __stub_$ac_func || defined __stub___$ac_func
10082 return $ac_func ();
10087 rm -f conftest.$ac_objext conftest$ac_exeext
10088 if { (ac_try="$ac_link"
10089 case "(($ac_try" in
10090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10091 *) ac_try_echo=$ac_try;;
10093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10094 (eval "$ac_link") 2>conftest.er1
10096 grep -v '^ *+' conftest.er1 >conftest.err
10098 cat conftest.err >&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } && {
10101 test -z "$ac_c_werror_flag" ||
10102 test ! -s conftest.err
10103 } && test -s conftest$ac_exeext &&
10104 $as_test_x conftest$ac_exeext; then
10105 eval "$as_ac_var=yes"
10107 echo "$as_me: failed program was:" >&5
10108 sed 's/^/| /' conftest.$ac_ext >&5
10110 eval "$as_ac_var=no"
10113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10114 conftest$ac_exeext conftest.$ac_ext
10116 ac_res=`eval echo '${'$as_ac_var'}'`
10117 { echo "$as_me:$LINENO: result: $ac_res" >&5
10118 echo "${ECHO_T}$ac_res" >&6; }
10119 if test `eval echo '${'$as_ac_var'}'` = yes; then
10120 cat >>confdefs.h <<_ACEOF
10121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10128 # Check whether --enable-largefile was given.
10129 if test "${enable_largefile+set}" = set; then
10130 enableval=$enable_largefile;
10133 if test "$enable_largefile" != no; then
10135 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
10136 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
10137 if test "${ac_cv_sys_largefile_CC+set}" = set; then
10138 echo $ECHO_N "(cached) $ECHO_C" >&6
10140 ac_cv_sys_largefile_CC=no
10141 if test "$GCC" != yes; then
10144 # IRIX 6.2 and later do not support large files by default,
10145 # so use the C compiler's -n32 option if that helps.
10146 cat >conftest.$ac_ext <<_ACEOF
10149 cat confdefs.h >>conftest.$ac_ext
10150 cat >>conftest.$ac_ext <<_ACEOF
10151 /* end confdefs.h. */
10152 #include <sys/types.h>
10153 /* Check that off_t can represent 2**63 - 1 correctly.
10154 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10155 since some C++ compilers masquerading as C compilers
10156 incorrectly reject 9223372036854775807. */
10157 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10158 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10159 && LARGE_OFF_T % 2147483647 == 1)
10169 rm -f conftest.$ac_objext
10170 if { (ac_try="$ac_compile"
10171 case "(($ac_try" in
10172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10173 *) ac_try_echo=$ac_try;;
10175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10176 (eval "$ac_compile") 2>conftest.er1
10178 grep -v '^ *+' conftest.er1 >conftest.err
10180 cat conftest.err >&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); } && {
10183 test -z "$ac_c_werror_flag" ||
10184 test ! -s conftest.err
10185 } && test -s conftest.$ac_objext; then
10188 echo "$as_me: failed program was:" >&5
10189 sed 's/^/| /' conftest.$ac_ext >&5
10194 rm -f core conftest.err conftest.$ac_objext
10196 rm -f conftest.$ac_objext
10197 if { (ac_try="$ac_compile"
10198 case "(($ac_try" in
10199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10200 *) ac_try_echo=$ac_try;;
10202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10203 (eval "$ac_compile") 2>conftest.er1
10205 grep -v '^ *+' conftest.er1 >conftest.err
10207 cat conftest.err >&5
10208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209 (exit $ac_status); } && {
10210 test -z "$ac_c_werror_flag" ||
10211 test ! -s conftest.err
10212 } && test -s conftest.$ac_objext; then
10213 ac_cv_sys_largefile_CC=' -n32'; break
10215 echo "$as_me: failed program was:" >&5
10216 sed 's/^/| /' conftest.$ac_ext >&5
10221 rm -f core conftest.err conftest.$ac_objext
10225 rm -f conftest.$ac_ext
10228 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
10229 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
10230 if test "$ac_cv_sys_largefile_CC" != no; then
10231 CC=$CC$ac_cv_sys_largefile_CC
10234 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10235 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
10236 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
10237 echo $ECHO_N "(cached) $ECHO_C" >&6
10240 cat >conftest.$ac_ext <<_ACEOF
10243 cat confdefs.h >>conftest.$ac_ext
10244 cat >>conftest.$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10246 #include <sys/types.h>
10247 /* Check that off_t can represent 2**63 - 1 correctly.
10248 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10249 since some C++ compilers masquerading as C compilers
10250 incorrectly reject 9223372036854775807. */
10251 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10252 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10253 && LARGE_OFF_T % 2147483647 == 1)
10263 rm -f conftest.$ac_objext
10264 if { (ac_try="$ac_compile"
10265 case "(($ac_try" in
10266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10267 *) ac_try_echo=$ac_try;;
10269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10270 (eval "$ac_compile") 2>conftest.er1
10272 grep -v '^ *+' conftest.er1 >conftest.err
10274 cat conftest.err >&5
10275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276 (exit $ac_status); } && {
10277 test -z "$ac_c_werror_flag" ||
10278 test ! -s conftest.err
10279 } && test -s conftest.$ac_objext; then
10280 ac_cv_sys_file_offset_bits=no; break
10282 echo "$as_me: failed program was:" >&5
10283 sed 's/^/| /' conftest.$ac_ext >&5
10288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10289 cat >conftest.$ac_ext <<_ACEOF
10292 cat confdefs.h >>conftest.$ac_ext
10293 cat >>conftest.$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10295 #define _FILE_OFFSET_BITS 64
10296 #include <sys/types.h>
10297 /* Check that off_t can represent 2**63 - 1 correctly.
10298 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10299 since some C++ compilers masquerading as C compilers
10300 incorrectly reject 9223372036854775807. */
10301 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10302 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10303 && LARGE_OFF_T % 2147483647 == 1)
10313 rm -f conftest.$ac_objext
10314 if { (ac_try="$ac_compile"
10315 case "(($ac_try" in
10316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10317 *) ac_try_echo=$ac_try;;
10319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10320 (eval "$ac_compile") 2>conftest.er1
10322 grep -v '^ *+' conftest.er1 >conftest.err
10324 cat conftest.err >&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); } && {
10327 test -z "$ac_c_werror_flag" ||
10328 test ! -s conftest.err
10329 } && test -s conftest.$ac_objext; then
10330 ac_cv_sys_file_offset_bits=64; break
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10339 ac_cv_sys_file_offset_bits=unknown
10343 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
10344 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
10345 case $ac_cv_sys_file_offset_bits in #(
10348 cat >>confdefs.h <<_ACEOF
10349 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10354 if test $ac_cv_sys_file_offset_bits = unknown; then
10355 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
10356 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
10357 if test "${ac_cv_sys_large_files+set}" = set; then
10358 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 cat >conftest.$ac_ext <<_ACEOF
10364 cat confdefs.h >>conftest.$ac_ext
10365 cat >>conftest.$ac_ext <<_ACEOF
10366 /* end confdefs.h. */
10367 #include <sys/types.h>
10368 /* Check that off_t can represent 2**63 - 1 correctly.
10369 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10370 since some C++ compilers masquerading as C compilers
10371 incorrectly reject 9223372036854775807. */
10372 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10373 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10374 && LARGE_OFF_T % 2147483647 == 1)
10384 rm -f conftest.$ac_objext
10385 if { (ac_try="$ac_compile"
10386 case "(($ac_try" in
10387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10388 *) ac_try_echo=$ac_try;;
10390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10391 (eval "$ac_compile") 2>conftest.er1
10393 grep -v '^ *+' conftest.er1 >conftest.err
10395 cat conftest.err >&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } && {
10398 test -z "$ac_c_werror_flag" ||
10399 test ! -s conftest.err
10400 } && test -s conftest.$ac_objext; then
10401 ac_cv_sys_large_files=no; break
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10410 cat >conftest.$ac_ext <<_ACEOF
10413 cat confdefs.h >>conftest.$ac_ext
10414 cat >>conftest.$ac_ext <<_ACEOF
10415 /* end confdefs.h. */
10416 #define _LARGE_FILES 1
10417 #include <sys/types.h>
10418 /* Check that off_t can represent 2**63 - 1 correctly.
10419 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10420 since some C++ compilers masquerading as C compilers
10421 incorrectly reject 9223372036854775807. */
10422 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10423 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10424 && LARGE_OFF_T % 2147483647 == 1)
10434 rm -f conftest.$ac_objext
10435 if { (ac_try="$ac_compile"
10436 case "(($ac_try" in
10437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10438 *) ac_try_echo=$ac_try;;
10440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10441 (eval "$ac_compile") 2>conftest.er1
10443 grep -v '^ *+' conftest.er1 >conftest.err
10445 cat conftest.err >&5
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); } && {
10448 test -z "$ac_c_werror_flag" ||
10449 test ! -s conftest.err
10450 } && test -s conftest.$ac_objext; then
10451 ac_cv_sys_large_files=1; break
10453 echo "$as_me: failed program was:" >&5
10454 sed 's/^/| /' conftest.$ac_ext >&5
10459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10460 ac_cv_sys_large_files=unknown
10464 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
10465 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
10466 case $ac_cv_sys_large_files in #(
10469 cat >>confdefs.h <<_ACEOF
10470 #define _LARGE_FILES $ac_cv_sys_large_files
10479 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile icons/Makefile po/Makefile.in"
10481 cat >confcache <<\_ACEOF
10482 # This file is a shell script that caches the results of configure
10483 # tests run on this system so they can be shared between configure
10484 # scripts and configure runs, see configure's option --config-cache.
10485 # It is not useful on other systems. If it contains results you don't
10486 # want to keep, you may remove or edit it.
10488 # config.status only pays attention to the cache file if you give it
10489 # the --recheck option to rerun configure.
10491 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10492 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10493 # following values.
10497 # The following way of writing the cache mishandles newlines in values,
10498 # but we know of no workaround that is simple, portable, and efficient.
10499 # So, we kill variables containing newlines.
10500 # Ultrix sh set writes to stderr and can't be redirected directly,
10501 # and sets the high bit in the cache file unless we assign to the vars.
10503 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10504 eval ac_val=\$$ac_var
10508 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10509 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10512 _ | IFS | as_nl) ;; #(
10513 *) $as_unset $ac_var ;;
10519 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10520 *${as_nl}ac_space=\ *)
10521 # `set' does not quote correctly, so add quotes (double-quote
10522 # substitution turns \\\\ into \\, and sed turns \\ into \).
10525 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10528 # `set' quotes correctly as required by POSIX, so do not add quotes.
10529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10538 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10540 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10542 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10543 if test -w "$cache_file"; then
10544 test "x$cache_file" != "x/dev/null" &&
10545 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10546 echo "$as_me: updating cache $cache_file" >&6;}
10547 cat confcache >$cache_file
10549 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10550 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10555 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10556 # Let make expand exec_prefix.
10557 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10559 DEFS=-DHAVE_CONFIG_H
10563 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10564 # 1. Remove the extension, and $U if already installed.
10565 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10566 ac_i=`echo "$ac_i" | sed "$ac_script"`
10567 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10568 # will be set to the directory where LIBOBJS objects are built.
10569 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10570 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10572 LIBOBJS=$ac_libobjs
10574 LTLIBOBJS=$ac_ltlibobjs
10577 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10578 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10579 Usually this means the macro was only invoked conditionally." >&5
10580 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10581 Usually this means the macro was only invoked conditionally." >&2;}
10582 { (exit 1); exit 1; }; }
10584 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
10585 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
10586 Usually this means the macro was only invoked conditionally." >&5
10587 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
10588 Usually this means the macro was only invoked conditionally." >&2;}
10589 { (exit 1); exit 1; }; }
10591 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10592 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10593 Usually this means the macro was only invoked conditionally." >&5
10594 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10595 Usually this means the macro was only invoked conditionally." >&2;}
10596 { (exit 1); exit 1; }; }
10598 if test -z "${WANT_PEEKFD_I386_TRUE}" && test -z "${WANT_PEEKFD_I386_FALSE}"; then
10599 { { echo "$as_me:$LINENO: error: conditional \"WANT_PEEKFD_I386\" was never defined.
10600 Usually this means the macro was only invoked conditionally." >&5
10601 echo "$as_me: error: conditional \"WANT_PEEKFD_I386\" was never defined.
10602 Usually this means the macro was only invoked conditionally." >&2;}
10603 { (exit 1); exit 1; }; }
10605 if test -z "${WANT_PEEKFD_X86_64_TRUE}" && test -z "${WANT_PEEKFD_X86_64_FALSE}"; then
10606 { { echo "$as_me:$LINENO: error: conditional \"WANT_PEEKFD_X86_64\" was never defined.
10607 Usually this means the macro was only invoked conditionally." >&5
10608 echo "$as_me: error: conditional \"WANT_PEEKFD_X86_64\" was never defined.
10609 Usually this means the macro was only invoked conditionally." >&2;}
10610 { (exit 1); exit 1; }; }
10612 if test -z "${WANT_PEEKFD_PPC_TRUE}" && test -z "${WANT_PEEKFD_PPC_FALSE}"; then
10613 { { echo "$as_me:$LINENO: error: conditional \"WANT_PEEKFD_PPC\" was never defined.
10614 Usually this means the macro was only invoked conditionally." >&5
10615 echo "$as_me: error: conditional \"WANT_PEEKFD_PPC\" was never defined.
10616 Usually this means the macro was only invoked conditionally." >&2;}
10617 { (exit 1); exit 1; }; }
10620 : ${CONFIG_STATUS=./config.status}
10621 ac_clean_files_save=$ac_clean_files
10622 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10623 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10624 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10625 cat >$CONFIG_STATUS <<_ACEOF
10627 # Generated by $as_me.
10628 # Run this file to recreate the current configuration.
10629 # Compiler output produced by configure, useful for debugging
10630 # configure, is in config.log if it exists.
10633 ac_cs_recheck=false
10635 SHELL=\${CONFIG_SHELL-$SHELL}
10638 cat >>$CONFIG_STATUS <<\_ACEOF
10639 ## --------------------- ##
10640 ## M4sh Initialization. ##
10641 ## --------------------- ##
10643 # Be more Bourne compatible
10644 DUALCASE=1; export DUALCASE # for MKS sh
10645 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10648 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10649 # is contrary to our usage. Disable this feature.
10650 alias -g '${1+"$@"}'='"$@"'
10651 setopt NO_GLOB_SUBST
10653 case `(set -o) 2>/dev/null` in
10654 *posix*) set -o posix ;;
10663 # Avoid depending upon Character Ranges.
10664 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10665 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10666 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10667 as_cr_digits='0123456789'
10668 as_cr_alnum=$as_cr_Letters$as_cr_digits
10670 # The user is always right.
10671 if test "${PATH_SEPARATOR+set}" != set; then
10672 echo "#! /bin/sh" >conf$$.sh
10673 echo "exit 0" >>conf$$.sh
10675 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10683 # Support unset when possible.
10684 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10692 # We need space, tab and new line, in precisely that order. Quoting is
10693 # there to prevent editors from complaining about space-tab.
10694 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10695 # splitting by setting IFS to empty value.)
10700 # Find who we are. Look in the path if we contain no directory separator.
10702 *[\\/]* ) as_myself=$0 ;;
10703 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10704 for as_dir in $PATH
10707 test -z "$as_dir" && as_dir=.
10708 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10714 # We did not find ourselves, most probably we were run as `sh COMMAND'
10715 # in which case we are not to be found in the path.
10716 if test "x$as_myself" = x; then
10719 if test ! -f "$as_myself"; then
10720 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10721 { (exit 1); exit 1; }
10724 # Work around bugs in pre-3.0 UWIN ksh.
10725 for as_var in ENV MAIL MAILPATH
10726 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10734 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10735 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10736 LC_TELEPHONE LC_TIME
10738 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10739 eval $as_var=C; export $as_var
10741 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10745 # Required to use basename.
10746 if expr a : '\(a\)' >/dev/null 2>&1 &&
10747 test "X`expr 00001 : '.*\(...\)'`" = X001; then
10753 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10754 as_basename=basename
10760 # Name of the executable.
10761 as_me=`$as_basename -- "$0" ||
10762 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10763 X"$0" : 'X\(//\)$' \| \
10764 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10766 sed '/^.*\/\([^/][^/]*\)\/*$/{
10785 as_lineno_1=$LINENO
10786 as_lineno_2=$LINENO
10787 test "x$as_lineno_1" != "x$as_lineno_2" &&
10788 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10790 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10791 # uniformly replaced by the line number. The first 'sed' inserts a
10792 # line-number line after each line using $LINENO; the second 'sed'
10793 # does the real work. The second script uses 'N' to pair each
10794 # line-number line with the line containing $LINENO, and appends
10795 # trailing '-' during substitution so that $LINENO is not a special
10796 # case at line end.
10797 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10798 # scripts with optimization help from Paolo Bonzini. Blame Lee
10799 # E. McMahon (1931-1989) for sed's syntax. :-)
10811 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10814 ' >$as_me.lineno &&
10815 chmod +x "$as_me.lineno" ||
10816 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10817 { (exit 1); exit 1; }; }
10819 # Don't try to exec as it changes $[0], causing all sort of problems
10820 # (the dirname of $[0] is not the place where we might find the
10821 # original and so on. Autoconf is especially sensitive to this).
10822 . "./$as_me.lineno"
10823 # Exit status is that of the last command.
10828 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10834 ECHO_C= ECHO_N= ECHO_T=
10835 case `echo -n x` in
10837 case `echo 'x\c'` in
10838 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10845 if expr a : '\(a\)' >/dev/null 2>&1 &&
10846 test "X`expr 00001 : '.*\(...\)'`" = X001; then
10852 rm -f conf$$ conf$$.exe conf$$.file
10853 if test -d conf$$.dir; then
10854 rm -f conf$$.dir/conf$$.file
10860 if ln -s conf$$.file conf$$ 2>/dev/null; then
10862 # ... but there are two gotchas:
10863 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10864 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10865 # In both cases, we have to default to `cp -p'.
10866 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10868 elif ln conf$$.file conf$$ 2>/dev/null; then
10873 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10874 rmdir conf$$.dir 2>/dev/null
10876 if mkdir -p . 2>/dev/null; then
10879 test -d ./-p && rmdir ./-p
10883 if test -x / >/dev/null 2>&1; then
10884 as_test_x='test -x'
10886 if ls -dL / >/dev/null 2>&1; then
10893 if test -d "$1"; then
10899 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10900 ???[sx]*):;;*)false;;esac;fi
10904 as_executable_p=$as_test_x
10906 # Sed expression to map a string onto a valid CPP name.
10907 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10909 # Sed expression to map a string onto a valid variable name.
10910 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10915 # Save the log message, to keep $[0] and so on meaningful, and to
10916 # report actual input values of CONFIG_FILES etc. instead of their
10917 # values after options handling.
10919 This file was extended by psmisc $as_me 22.6, which was
10920 generated by GNU Autoconf 2.61. Invocation command line was
10922 CONFIG_FILES = $CONFIG_FILES
10923 CONFIG_HEADERS = $CONFIG_HEADERS
10924 CONFIG_LINKS = $CONFIG_LINKS
10925 CONFIG_COMMANDS = $CONFIG_COMMANDS
10928 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10933 cat >>$CONFIG_STATUS <<_ACEOF
10934 # Files that config.status was made for.
10935 config_files="$ac_config_files"
10936 config_headers="$ac_config_headers"
10937 config_commands="$ac_config_commands"
10941 cat >>$CONFIG_STATUS <<\_ACEOF
10943 \`$as_me' instantiates files from templates according to the
10944 current configuration.
10946 Usage: $0 [OPTIONS] [FILE]...
10948 -h, --help print this help, then exit
10949 -V, --version print version number and configuration settings, then exit
10950 -q, --quiet do not print progress messages
10951 -d, --debug don't remove temporary files
10952 --recheck update $as_me by reconfiguring in the same conditions
10953 --file=FILE[:TEMPLATE]
10954 instantiate the configuration file FILE
10955 --header=FILE[:TEMPLATE]
10956 instantiate the configuration header FILE
10958 Configuration files:
10961 Configuration headers:
10964 Configuration commands:
10967 Report bugs to <bug-autoconf@gnu.org>."
10970 cat >>$CONFIG_STATUS <<_ACEOF
10972 psmisc config.status 22.6
10973 configured by $0, generated by GNU Autoconf 2.61,
10974 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10976 Copyright (C) 2006 Free Software Foundation, Inc.
10977 This config.status script is free software; the Free Software Foundation
10978 gives unlimited permission to copy, distribute and modify it."
10986 cat >>$CONFIG_STATUS <<\_ACEOF
10987 # If no file are specified by the user, then we need to provide default
10988 # value. By we need to know if files were specified by the user.
10994 ac_option=`expr "X$1" : 'X\([^=]*\)='`
10995 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11006 # Handling of the options.
11007 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11009 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11010 echo "$ac_cs_version"; exit ;;
11011 --debug | --debu | --deb | --de | --d | -d )
11013 --file | --fil | --fi | --f )
11015 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11016 ac_need_defaults=false;;
11017 --header | --heade | --head | --hea )
11019 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11020 ac_need_defaults=false;;
11022 # Conflict between --help and --header
11023 { echo "$as_me: error: ambiguous option: $1
11024 Try \`$0 --help' for more information." >&2
11025 { (exit 1); exit 1; }; };;
11026 --help | --hel | -h )
11027 echo "$ac_cs_usage"; exit ;;
11028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11029 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11032 # This is an error.
11033 -*) { echo "$as_me: error: unrecognized option: $1
11034 Try \`$0 --help' for more information." >&2
11035 { (exit 1); exit 1; }; } ;;
11037 *) ac_config_targets="$ac_config_targets $1"
11038 ac_need_defaults=false ;;
11044 ac_configure_extra_args=
11046 if $ac_cs_silent; then
11048 ac_configure_extra_args="$ac_configure_extra_args --silent"
11052 cat >>$CONFIG_STATUS <<_ACEOF
11053 if \$ac_cs_recheck; then
11054 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11055 CONFIG_SHELL=$SHELL
11056 export CONFIG_SHELL
11057 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11061 cat >>$CONFIG_STATUS <<\_ACEOF
11065 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11066 ## Running $as_me. ##
11072 cat >>$CONFIG_STATUS <<_ACEOF
11076 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11077 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
11078 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
11079 # from automake < 1.5.
11080 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
11081 # Capture the value of LINGUAS because we need it to compute CATALOGS.
11082 LINGUAS="${LINGUAS-%UNSET%}"
11087 cat >>$CONFIG_STATUS <<\_ACEOF
11089 # Handling of arguments.
11090 for ac_config_target in $ac_config_targets
11092 case $ac_config_target in
11093 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11094 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11095 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
11096 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11097 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
11098 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
11099 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
11100 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
11102 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11103 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11104 { (exit 1); exit 1; }; };;
11109 # If the user did not use the arguments to specify the items to instantiate,
11110 # then the envvar interface is used. Set only those that are not.
11111 # We use the long form for the default assignment because of an extremely
11112 # bizarre bug on SunOS 4.1.3.
11113 if $ac_need_defaults; then
11114 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11115 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11116 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11119 # Have a temporary directory for convenience. Make it in the build tree
11120 # simply because there is no reason against having it here, and in addition,
11121 # creating and moving files from /tmp can sometimes cause problems.
11122 # Hook for its removal unless debugging.
11123 # Note that there is a small window in which the directory will not be cleaned:
11124 # after its creation but before its name has been assigned to `$tmp'.
11128 trap 'exit_status=$?
11129 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11131 trap '{ (exit 1); exit 1; }' 1 2 13 15
11133 # Create a (secure) tmp directory for tmp files.
11136 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11137 test -n "$tmp" && test -d "$tmp"
11140 tmp=./conf$$-$RANDOM
11141 (umask 077 && mkdir "$tmp")
11144 echo "$me: cannot create a temporary directory in ." >&2
11145 { (exit 1); exit 1; }
11149 # Set up the sed scripts for CONFIG_FILES section.
11152 # No need to generate the scripts if there are no CONFIG_FILES.
11153 # This happens for instance when ./config.status config.h
11154 if test -n "$CONFIG_FILES"; then
11161 for ac_last_try in false false false false false :; do
11162 cat >conf$$subs.sed <<_ACEOF
11163 SHELL!$SHELL$ac_delim
11164 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11165 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11166 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11167 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11168 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11169 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11170 exec_prefix!$exec_prefix$ac_delim
11171 prefix!$prefix$ac_delim
11172 program_transform_name!$program_transform_name$ac_delim
11173 bindir!$bindir$ac_delim
11174 sbindir!$sbindir$ac_delim
11175 libexecdir!$libexecdir$ac_delim
11176 datarootdir!$datarootdir$ac_delim
11177 datadir!$datadir$ac_delim
11178 sysconfdir!$sysconfdir$ac_delim
11179 sharedstatedir!$sharedstatedir$ac_delim
11180 localstatedir!$localstatedir$ac_delim
11181 includedir!$includedir$ac_delim
11182 oldincludedir!$oldincludedir$ac_delim
11183 docdir!$docdir$ac_delim
11184 infodir!$infodir$ac_delim
11185 htmldir!$htmldir$ac_delim
11186 dvidir!$dvidir$ac_delim
11187 pdfdir!$pdfdir$ac_delim
11188 psdir!$psdir$ac_delim
11189 libdir!$libdir$ac_delim
11190 localedir!$localedir$ac_delim
11191 mandir!$mandir$ac_delim
11192 DEFS!$DEFS$ac_delim
11193 ECHO_C!$ECHO_C$ac_delim
11194 ECHO_N!$ECHO_N$ac_delim
11195 ECHO_T!$ECHO_T$ac_delim
11196 LIBS!$LIBS$ac_delim
11197 build_alias!$build_alias$ac_delim
11198 host_alias!$host_alias$ac_delim
11199 target_alias!$target_alias$ac_delim
11200 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
11201 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
11202 INSTALL_DATA!$INSTALL_DATA$ac_delim
11203 am__isrc!$am__isrc$ac_delim
11204 CYGPATH_W!$CYGPATH_W$ac_delim
11205 PACKAGE!$PACKAGE$ac_delim
11206 VERSION!$VERSION$ac_delim
11207 ACLOCAL!$ACLOCAL$ac_delim
11208 AUTOCONF!$AUTOCONF$ac_delim
11209 AUTOMAKE!$AUTOMAKE$ac_delim
11210 AUTOHEADER!$AUTOHEADER$ac_delim
11211 MAKEINFO!$MAKEINFO$ac_delim
11212 install_sh!$install_sh$ac_delim
11213 STRIP!$STRIP$ac_delim
11214 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
11215 mkdir_p!$mkdir_p$ac_delim
11217 SET_MAKE!$SET_MAKE$ac_delim
11218 am__leading_dot!$am__leading_dot$ac_delim
11219 AMTAR!$AMTAR$ac_delim
11220 am__tar!$am__tar$ac_delim
11221 am__untar!$am__untar$ac_delim
11223 CXXFLAGS!$CXXFLAGS$ac_delim
11224 LDFLAGS!$LDFLAGS$ac_delim
11225 CPPFLAGS!$CPPFLAGS$ac_delim
11226 ac_ct_CXX!$ac_ct_CXX$ac_delim
11227 EXEEXT!$EXEEXT$ac_delim
11228 OBJEXT!$OBJEXT$ac_delim
11229 DEPDIR!$DEPDIR$ac_delim
11230 am__include!$am__include$ac_delim
11231 am__quote!$am__quote$ac_delim
11232 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
11233 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
11234 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
11235 CXXDEPMODE!$CXXDEPMODE$ac_delim
11236 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
11237 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
11239 CFLAGS!$CFLAGS$ac_delim
11240 ac_ct_CC!$ac_ct_CC$ac_delim
11241 CCDEPMODE!$CCDEPMODE$ac_delim
11242 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
11243 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
11244 LN_S!$LN_S$ac_delim
11245 WITH_SELINUX!$WITH_SELINUX$ac_delim
11246 SELINUX_LIB!$SELINUX_LIB$ac_delim
11247 WITH_IPV6!$WITH_IPV6$ac_delim
11248 TERMCAP_LIB!$TERMCAP_LIB$ac_delim
11250 GREP!$GREP$ac_delim
11251 EGREP!$EGREP$ac_delim
11252 WANT_PEEKFD_I386_TRUE!$WANT_PEEKFD_I386_TRUE$ac_delim
11253 WANT_PEEKFD_I386_FALSE!$WANT_PEEKFD_I386_FALSE$ac_delim
11254 WANT_PEEKFD_X86_64_TRUE!$WANT_PEEKFD_X86_64_TRUE$ac_delim
11255 WANT_PEEKFD_X86_64_FALSE!$WANT_PEEKFD_X86_64_FALSE$ac_delim
11256 WANT_PEEKFD_PPC_TRUE!$WANT_PEEKFD_PPC_TRUE$ac_delim
11257 WANT_PEEKFD_PPC_FALSE!$WANT_PEEKFD_PPC_FALSE$ac_delim
11258 USE_NLS!$USE_NLS$ac_delim
11259 MSGFMT!$MSGFMT$ac_delim
11262 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
11264 elif $ac_last_try; then
11265 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11266 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11267 { (exit 1); exit 1; }; }
11269 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11273 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11274 if test -n "$ac_eof"; then
11275 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11276 ac_eof=`expr $ac_eof + 1`
11279 cat >>$CONFIG_STATUS <<_ACEOF
11280 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11281 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11284 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11285 s/^/s,@/; s/!/@,|#_!!_#|/
11288 s/'"$ac_delim"'$/,g/; t
11290 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11291 ' >>$CONFIG_STATUS <conf$$subs.sed
11292 rm -f conf$$subs.sed
11293 cat >>$CONFIG_STATUS <<_ACEOF
11299 for ac_last_try in false false false false false :; do
11300 cat >conf$$subs.sed <<_ACEOF
11301 GMSGFMT!$GMSGFMT$ac_delim
11302 MSGFMT_015!$MSGFMT_015$ac_delim
11303 GMSGFMT_015!$GMSGFMT_015$ac_delim
11304 XGETTEXT!$XGETTEXT$ac_delim
11305 XGETTEXT_015!$XGETTEXT_015$ac_delim
11306 MSGMERGE!$MSGMERGE$ac_delim
11307 build!$build$ac_delim
11308 build_cpu!$build_cpu$ac_delim
11309 build_vendor!$build_vendor$ac_delim
11310 build_os!$build_os$ac_delim
11311 host!$host$ac_delim
11312 host_cpu!$host_cpu$ac_delim
11313 host_vendor!$host_vendor$ac_delim
11314 host_os!$host_os$ac_delim
11315 INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
11316 LIBICONV!$LIBICONV$ac_delim
11317 LTLIBICONV!$LTLIBICONV$ac_delim
11318 INTLLIBS!$INTLLIBS$ac_delim
11319 LIBINTL!$LIBINTL$ac_delim
11320 LTLIBINTL!$LTLIBINTL$ac_delim
11321 POSUB!$POSUB$ac_delim
11322 LIBOBJS!$LIBOBJS$ac_delim
11323 LTLIBOBJS!$LTLIBOBJS$ac_delim
11326 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 23; then
11328 elif $ac_last_try; then
11329 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11330 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11331 { (exit 1); exit 1; }; }
11333 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11337 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11338 if test -n "$ac_eof"; then
11339 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11340 ac_eof=`expr $ac_eof + 1`
11343 cat >>$CONFIG_STATUS <<_ACEOF
11344 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
11345 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11348 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11349 s/^/s,@/; s/!/@,|#_!!_#|/
11352 s/'"$ac_delim"'$/,g/; t
11354 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11355 ' >>$CONFIG_STATUS <conf$$subs.sed
11356 rm -f conf$$subs.sed
11357 cat >>$CONFIG_STATUS <<_ACEOF
11364 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11365 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11366 # trailing colons and then remove the whole line if VPATH becomes empty
11367 # (actually we leave an empty line to preserve line numbers).
11368 if test "x$srcdir" = x.; then
11369 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11370 s/:*\$(srcdir):*/:/
11371 s/:*\${srcdir}:*/:/
11373 s/^\([^=]*=[ ]*\):*/\1/
11379 cat >>$CONFIG_STATUS <<\_ACEOF
11380 fi # test -n "$CONFIG_FILES"
11383 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
11386 :[FHLC]) ac_mode=$ac_tag; continue;;
11388 case $ac_mode$ac_tag in
11390 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11391 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11392 { (exit 1); exit 1; }; };;
11393 :[FH]-) ac_tag=-:-;;
11394 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11411 -) ac_f="$tmp/stdin";;
11412 *) # Look for the file first in the build tree, then in the source tree
11413 # (if the path is not absolute). The absolute path cannot be DOS-style,
11414 # because $ac_f cannot contain `:'.
11418 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11420 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11421 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11422 { (exit 1); exit 1; }; };;
11424 ac_file_inputs="$ac_file_inputs $ac_f"
11427 # Let's still pretend it is `configure' which instantiates (i.e., don't
11428 # use $as_me), people would be surprised to read:
11429 # /* config.h. Generated by config.status. */
11430 configure_input="Generated from "`IFS=:
11431 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11432 if test x"$ac_file" != x-; then
11433 configure_input="$ac_file. $configure_input"
11434 { echo "$as_me:$LINENO: creating $ac_file" >&5
11435 echo "$as_me: creating $ac_file" >&6;}
11439 *:-:* | *:-) cat >"$tmp/stdin";;
11444 ac_dir=`$as_dirname -- "$ac_file" ||
11445 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11446 X"$ac_file" : 'X\(//\)[^/]' \| \
11447 X"$ac_file" : 'X\(//\)$' \| \
11448 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11454 /^X\(\/\/\)[^/].*/{
11469 -*) as_dir=./$as_dir;;
11471 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11475 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11476 *) as_qdir=$as_dir;;
11478 as_dirs="'$as_qdir' $as_dirs"
11479 as_dir=`$as_dirname -- "$as_dir" ||
11480 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11481 X"$as_dir" : 'X\(//\)[^/]' \| \
11482 X"$as_dir" : 'X\(//\)$' \| \
11483 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11489 /^X\(\/\/\)[^/].*/{
11502 test -d "$as_dir" && break
11504 test -z "$as_dirs" || eval "mkdir $as_dirs"
11505 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11506 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11507 { (exit 1); exit 1; }; }; }
11511 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11513 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11514 # A ".." for each directory in $ac_dir_suffix.
11515 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11516 case $ac_top_builddir_sub in
11517 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11518 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11521 ac_abs_top_builddir=$ac_pwd
11522 ac_abs_builddir=$ac_pwd$ac_dir_suffix
11523 # for backward compatibility:
11524 ac_top_builddir=$ac_top_build_prefix
11527 .) # We are building in place.
11529 ac_top_srcdir=$ac_top_builddir_sub
11530 ac_abs_top_srcdir=$ac_pwd ;;
11531 [\\/]* | ?:[\\/]* ) # Absolute name.
11532 ac_srcdir=$srcdir$ac_dir_suffix;
11533 ac_top_srcdir=$srcdir
11534 ac_abs_top_srcdir=$srcdir ;;
11535 *) # Relative name.
11536 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11537 ac_top_srcdir=$ac_top_build_prefix$srcdir
11538 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11540 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11550 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11551 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11553 ac_MKDIR_P=$MKDIR_P
11555 [\\/$]* | ?:[\\/]* ) ;;
11556 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
11560 cat >>$CONFIG_STATUS <<\_ACEOF
11561 # If the template does not know about datarootdir, expand it.
11562 # FIXME: This hack should be removed a few years after 2.60.
11563 ac_datarootdir_hack=; ac_datarootdir_seen=
11565 case `sed -n '/datarootdir/ {
11574 ' $ac_file_inputs` in
11575 *datarootdir*) ac_datarootdir_seen=yes;;
11576 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11577 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11578 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11580 cat >>$CONFIG_STATUS <<_ACEOF
11581 ac_datarootdir_hack='
11582 s&@datadir@&$datadir&g
11583 s&@docdir@&$docdir&g
11584 s&@infodir@&$infodir&g
11585 s&@localedir@&$localedir&g
11586 s&@mandir@&$mandir&g
11587 s&\\\${datarootdir}&$datarootdir&g' ;;
11591 # Neutralize VPATH when `$srcdir' = `.'.
11592 # Shell code in configure.ac might set extrasub.
11593 # FIXME: do we really want to maintain this feature?
11594 cat >>$CONFIG_STATUS <<_ACEOF
11598 cat >>$CONFIG_STATUS <<\_ACEOF
11600 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11601 s&@configure_input@&$configure_input&;t t
11602 s&@top_builddir@&$ac_top_builddir_sub&;t t
11603 s&@srcdir@&$ac_srcdir&;t t
11604 s&@abs_srcdir@&$ac_abs_srcdir&;t t
11605 s&@top_srcdir@&$ac_top_srcdir&;t t
11606 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11607 s&@builddir@&$ac_builddir&;t t
11608 s&@abs_builddir@&$ac_abs_builddir&;t t
11609 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11610 s&@INSTALL@&$ac_INSTALL&;t t
11611 s&@MKDIR_P@&$ac_MKDIR_P&;t t
11612 $ac_datarootdir_hack
11613 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
11615 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11616 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11617 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11618 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11619 which seems to be undefined. Please make sure it is defined." >&5
11620 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11621 which seems to be undefined. Please make sure it is defined." >&2;}
11625 -) cat "$tmp/out"; rm -f "$tmp/out";;
11626 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11635 # Transform confdefs.h into a sed script `conftest.defines', that
11636 # substitutes the proper values into config.h.in to produce config.h.
11637 rm -f conftest.defines conftest.tail
11638 # First, append a space to every undef/define line, to ease matching.
11639 echo 's/$/ /' >conftest.defines
11640 # Then, protect against being on the right side of a sed subst, or in
11641 # an unquoted here document, in config.status. If some macros were
11642 # called several times there might be several #defines for the same
11643 # symbol, which is useless. But do not sort them, since the last
11644 # AC_DEFINE must be honored.
11645 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11646 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11647 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11648 # PARAMS is the parameter list in the macro definition--in most cases, it's
11649 # just an empty string.
11650 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11651 ac_dB='\\)[ (].*,\\1define\\2'
11659 s/^[ ]*#[ ]*define[ ][ ]*//
11664 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11665 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11666 ' >>conftest.defines
11668 # Remove the space that was appended to ease matching.
11669 # Then replace #undef with comments. This is necessary, for
11670 # example, in the case of _POSIX_SOURCE, which is predefined and required
11671 # on some systems where configure will not decide to define it.
11672 # (The regexp can be short, since the line contains either #define or #undef.)
11674 s,^[ #]*u.*,/* & */,' >>conftest.defines
11676 # Break up conftest.defines:
11677 ac_max_sed_lines=50
11679 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11680 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11681 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11683 ac_in='$ac_file_inputs'
11684 ac_out='"$tmp/out1"'
11685 ac_nxt='"$tmp/out2"'
11689 # Write a here document:
11690 cat >>$CONFIG_STATUS <<_ACEOF
11691 # First, check the format of the line:
11692 cat >"\$tmp/defines.sed" <<\\CEOF
11693 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11694 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11698 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
11700 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11701 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
11702 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
11703 grep . conftest.tail >/dev/null || break
11704 rm -f conftest.defines
11705 mv conftest.tail conftest.defines
11707 rm -f conftest.defines conftest.tail
11709 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11710 cat >>$CONFIG_STATUS <<\_ACEOF
11711 if test x"$ac_file" != x-; then
11712 echo "/* $configure_input */" >"$tmp/config.h"
11713 cat "$ac_result" >>"$tmp/config.h"
11714 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
11715 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11716 echo "$as_me: $ac_file is unchanged" >&6;}
11719 mv "$tmp/config.h" $ac_file
11722 echo "/* $configure_input */"
11726 # Compute $ac_file's index in $config_headers.
11728 for _am_header in $config_headers :; do
11729 case $_am_header in
11730 $ac_file | $ac_file:* )
11733 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11736 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
11737 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11738 X$ac_file : 'X\(//\)[^/]' \| \
11739 X$ac_file : 'X\(//\)$' \| \
11740 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
11742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11746 /^X\(\/\/\)[^/].*/{
11758 s/.*/./; q'`/stamp-h$_am_stamp_count
11761 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11762 echo "$as_me: executing $ac_file commands" >&6;}
11767 case $ac_file$ac_mode in
11768 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
11769 # Strip MF so we end up with the name of the file.
11770 mf=`echo "$mf" | sed -e 's/:.*$//'`
11771 # Check whether this is an Automake generated Makefile or not.
11772 # We used to match only the files named `Makefile.in', but
11773 # some people rename them; so instead we look at the file content.
11774 # Grep'ing the first line is not enough: some people post-process
11775 # each Makefile.in and add a new line on top of each file to say so.
11776 # Grep'ing the whole file is not good either: AIX grep has a line
11777 # limit of 2048, but all sed's we know have understand at least 4000.
11778 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
11779 dirpart=`$as_dirname -- "$mf" ||
11780 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11781 X"$mf" : 'X\(//\)[^/]' \| \
11782 X"$mf" : 'X\(//\)$' \| \
11783 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11789 /^X\(\/\/\)[^/].*/{
11805 # Extract the definition of DEPDIR, am__include, and am__quote
11806 # from the Makefile without running `make'.
11807 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11808 test -z "$DEPDIR" && continue
11809 am__include=`sed -n 's/^am__include = //p' < "$mf"`
11810 test -z "am__include" && continue
11811 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11812 # When using ansi2knr, U may be empty or an underscore; expand it
11813 U=`sed -n 's/^U = //p' < "$mf"`
11814 # Find all dependency output files, they are included files with
11815 # $(DEPDIR) in their names. We invoke sed twice because it is the
11816 # simplest approach to changing $(DEPDIR) to its actual value in the
11818 for file in `sed -n "
11819 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11820 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11821 # Make sure the directory exists.
11822 test -f "$dirpart/$file" && continue
11823 fdir=`$as_dirname -- "$file" ||
11824 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11825 X"$file" : 'X\(//\)[^/]' \| \
11826 X"$file" : 'X\(//\)$' \| \
11827 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11833 /^X\(\/\/\)[^/].*/{
11846 { as_dir=$dirpart/$fdir
11848 -*) as_dir=./$as_dir;;
11850 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11854 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11855 *) as_qdir=$as_dir;;
11857 as_dirs="'$as_qdir' $as_dirs"
11858 as_dir=`$as_dirname -- "$as_dir" ||
11859 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11860 X"$as_dir" : 'X\(//\)[^/]' \| \
11861 X"$as_dir" : 'X\(//\)$' \| \
11862 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11868 /^X\(\/\/\)[^/].*/{
11881 test -d "$as_dir" && break
11883 test -z "$as_dirs" || eval "mkdir $as_dirs"
11884 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11885 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11886 { (exit 1); exit 1; }; }; }
11887 # echo "creating $dirpart/$file"
11888 echo '# dummy' > "$dirpart/$file"
11892 "po-directories":C)
11893 for ac_file in $CONFIG_FILES; do
11894 # Support "outfile[:infile[:infile...]]"
11896 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
11898 # PO directories have a Makefile.in generated from Makefile.in.in.
11899 case "$ac_file" in */Makefile.in)
11900 # Adjust a relative srcdir.
11901 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
11902 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
11903 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
11904 # In autoconf-2.13 it is called $ac_given_srcdir.
11905 # In autoconf-2.50 it is called $srcdir.
11906 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
11907 case "$ac_given_srcdir" in
11908 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
11909 /*) top_srcdir="$ac_given_srcdir" ;;
11910 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
11912 # Treat a directory as a PO directory if and only if it has a
11913 # POTFILES.in file. This allows packages to have multiple PO
11914 # directories under different names or in different locations.
11915 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
11916 rm -f "$ac_dir/POTFILES"
11917 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
11918 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
11919 POMAKEFILEDEPS="POTFILES.in"
11920 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
11921 # on $ac_dir but don't depend on user-specified configuration
11923 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
11924 # The LINGUAS file contains the set of available languages.
11925 if test -n "$OBSOLETE_ALL_LINGUAS"; then
11926 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
11928 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
11929 # Hide the ALL_LINGUAS assigment from automake < 1.5.
11930 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
11931 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
11933 # The set of available languages was given in configure.in.
11934 # Hide the ALL_LINGUAS assigment from automake < 1.5.
11935 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
11938 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
11939 # Compute UPDATEPOFILES
11940 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
11941 # Compute DUMMYPOFILES
11942 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
11944 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
11945 case "$ac_given_srcdir" in
11947 *) srcdirpre='$(srcdir)/' ;;
11953 for lang in $ALL_LINGUAS; do
11954 POFILES="$POFILES $srcdirpre$lang.po"
11955 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
11956 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
11957 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
11959 # CATALOGS depends on both $ac_dir and the user's LINGUAS
11960 # environment variable.
11962 if test -n "$ALL_LINGUAS"; then
11963 for presentlang in $ALL_LINGUAS; do
11965 if test "%UNSET%" != "$LINGUAS"; then
11966 desiredlanguages="$LINGUAS"
11968 desiredlanguages="$ALL_LINGUAS"
11970 for desiredlang in $desiredlanguages; do
11971 # Use the presentlang catalog if desiredlang is
11972 # a. equal to presentlang, or
11973 # b. a variant of presentlang (because in this case,
11974 # presentlang can be used as a fallback for messages
11975 # which are not translated in the desiredlang catalog).
11976 case "$desiredlang" in
11977 "$presentlang"*) useit=yes;;
11980 if test $useit = yes; then
11981 INST_LINGUAS="$INST_LINGUAS $presentlang"
11986 if test -n "$INST_LINGUAS"; then
11987 for lang in $INST_LINGUAS; do
11988 CATALOGS="$CATALOGS $lang.gmo"
11991 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
11992 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
11993 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
11994 if test -f "$f"; then
11996 *.orig | *.bak | *~) ;;
11997 *) cat "$f" >> "$ac_dir/Makefile" ;;
12010 { (exit 0); exit 0; }
12012 chmod +x $CONFIG_STATUS
12013 ac_clean_files=$ac_clean_files_save
12016 # configure is writing to config.log, and then calls config.status.
12017 # config.status does its own redirection, appending to config.log.
12018 # Unfortunately, on DOS this fails, as config.log is still kept open
12019 # by configure, so config.status won't be able to write to it; its
12020 # output is simply discarded. So we exec the FD to /dev/null,
12021 # effectively closing config.log, so it can be properly (re)opened and
12022 # appended to by config.status. When coming back to configure, we
12023 # need to make the FD available again.
12024 if test "$no_create" != yes; then
12026 ac_config_status_args=
12027 test "$silent" = yes &&
12028 ac_config_status_args="$ac_config_status_args --quiet"
12030 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12032 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12033 # would make configure fail if this is the last instruction.
12034 $ac_cs_success || { (exit 1); exit 1; }