2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix=/usr/local
586 ac_config_libobj_dir=.
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file="dftables.c"
602 # Factoring default headers for most tests.
603 ac_includes_default="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars='LTLIBOBJS
640 PCRE_POSIXLIB_VERSION
690 program_transform_name
702 enable_option_checking
708 ac_precious_vars='build_alias
719 # Initialize some variables set by options.
721 ac_init_version=false
722 ac_unrecognized_opts=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
733 program_transform_name=s,x,x,
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir='${exec_prefix}/bin'
748 sbindir='${exec_prefix}/sbin'
749 libexecdir='${exec_prefix}/libexec'
750 datarootdir='${prefix}/share'
751 datadir='${datarootdir}'
752 sysconfdir='${prefix}/etc'
753 sharedstatedir='${prefix}/com'
754 localstatedir='${prefix}/var'
755 includedir='${prefix}/include'
756 oldincludedir='/usr/include'
757 docdir='${datarootdir}/doc/${PACKAGE}'
758 infodir='${datarootdir}/info'
763 libdir='${exec_prefix}/lib'
764 localedir='${datarootdir}/locale'
765 mandir='${datarootdir}/man'
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\$ac_option
779 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
783 # Accept the important Cygnus configure options, so we can diagnose typos.
785 case $ac_dashdash$ac_option in
789 -bindir | --bindir | --bindi | --bind | --bin | --bi)
791 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
794 -build | --build | --buil | --bui | --bu)
795 ac_prev=build_alias ;;
796 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
797 build_alias=$ac_optarg ;;
799 -cache-file | --cache-file | --cache-fil | --cache-fi \
800 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
801 ac_prev=cache_file ;;
802 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
803 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
804 cache_file=$ac_optarg ;;
807 cache_file=config.cache ;;
809 -datadir | --datadir | --datadi | --datad)
811 -datadir=* | --datadir=* | --datadi=* | --datad=*)
812 datadir=$ac_optarg ;;
814 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
815 | --dataroo | --dataro | --datar)
816 ac_prev=datarootdir ;;
817 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
818 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
819 datarootdir=$ac_optarg ;;
821 -disable-* | --disable-*)
822 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
825 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
826 { (exit 1); exit 1; }; }
827 ac_useropt_orig=$ac_useropt
828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
836 eval enable_$ac_useropt=no ;;
838 -docdir | --docdir | --docdi | --doc | --do)
840 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
843 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
845 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
848 -enable-* | --enable-*)
849 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
853 { (exit 1); exit 1; }; }
854 ac_useropt_orig=$ac_useropt
855 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856 case $ac_user_opts in
860 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
861 ac_unrecognized_sep=', ';;
863 eval enable_$ac_useropt=\$ac_optarg ;;
865 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
866 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
867 | --exec | --exe | --ex)
868 ac_prev=exec_prefix ;;
869 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
870 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
871 | --exec=* | --exe=* | --ex=*)
872 exec_prefix=$ac_optarg ;;
874 -gas | --gas | --ga | --g)
875 # Obsolete; use --with-gas.
878 -help | --help | --hel | --he | -h)
880 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
881 ac_init_help=recursive ;;
882 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
883 ac_init_help=short ;;
885 -host | --host | --hos | --ho)
886 ac_prev=host_alias ;;
887 -host=* | --host=* | --hos=* | --ho=*)
888 host_alias=$ac_optarg ;;
890 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
892 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
894 htmldir=$ac_optarg ;;
896 -includedir | --includedir | --includedi | --included | --include \
897 | --includ | --inclu | --incl | --inc)
898 ac_prev=includedir ;;
899 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
900 | --includ=* | --inclu=* | --incl=* | --inc=*)
901 includedir=$ac_optarg ;;
903 -infodir | --infodir | --infodi | --infod | --info | --inf)
905 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
906 infodir=$ac_optarg ;;
908 -libdir | --libdir | --libdi | --libd)
910 -libdir=* | --libdir=* | --libdi=* | --libd=*)
913 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
914 | --libexe | --libex | --libe)
915 ac_prev=libexecdir ;;
916 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
917 | --libexe=* | --libex=* | --libe=*)
918 libexecdir=$ac_optarg ;;
920 -localedir | --localedir | --localedi | --localed | --locale)
922 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
923 localedir=$ac_optarg ;;
925 -localstatedir | --localstatedir | --localstatedi | --localstated \
926 | --localstate | --localstat | --localsta | --localst | --locals)
927 ac_prev=localstatedir ;;
928 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
929 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
930 localstatedir=$ac_optarg ;;
932 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
934 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
938 # Obsolete; use --without-fp.
941 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
942 | --no-cr | --no-c | -n)
945 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
946 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
949 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
950 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
951 | --oldin | --oldi | --old | --ol | --o)
952 ac_prev=oldincludedir ;;
953 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
954 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
955 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
956 oldincludedir=$ac_optarg ;;
958 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
960 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
963 -program-prefix | --program-prefix | --program-prefi | --program-pref \
964 | --program-pre | --program-pr | --program-p)
965 ac_prev=program_prefix ;;
966 -program-prefix=* | --program-prefix=* | --program-prefi=* \
967 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
968 program_prefix=$ac_optarg ;;
970 -program-suffix | --program-suffix | --program-suffi | --program-suff \
971 | --program-suf | --program-su | --program-s)
972 ac_prev=program_suffix ;;
973 -program-suffix=* | --program-suffix=* | --program-suffi=* \
974 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
975 program_suffix=$ac_optarg ;;
977 -program-transform-name | --program-transform-name \
978 | --program-transform-nam | --program-transform-na \
979 | --program-transform-n | --program-transform- \
980 | --program-transform | --program-transfor \
981 | --program-transfo | --program-transf \
982 | --program-trans | --program-tran \
983 | --progr-tra | --program-tr | --program-t)
984 ac_prev=program_transform_name ;;
985 -program-transform-name=* | --program-transform-name=* \
986 | --program-transform-nam=* | --program-transform-na=* \
987 | --program-transform-n=* | --program-transform-=* \
988 | --program-transform=* | --program-transfor=* \
989 | --program-transfo=* | --program-transf=* \
990 | --program-trans=* | --program-tran=* \
991 | --progr-tra=* | --program-tr=* | --program-t=*)
992 program_transform_name=$ac_optarg ;;
994 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
996 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
999 -psdir | --psdir | --psdi | --psd | --ps)
1001 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1005 | -silent | --silent | --silen | --sile | --sil)
1008 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1010 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1012 sbindir=$ac_optarg ;;
1014 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1015 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1016 | --sharedst | --shareds | --shared | --share | --shar \
1018 ac_prev=sharedstatedir ;;
1019 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1020 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1021 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1023 sharedstatedir=$ac_optarg ;;
1025 -site | --site | --sit)
1027 -site=* | --site=* | --sit=*)
1030 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1032 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1033 srcdir=$ac_optarg ;;
1035 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1036 | --syscon | --sysco | --sysc | --sys | --sy)
1037 ac_prev=sysconfdir ;;
1038 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1039 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1040 sysconfdir=$ac_optarg ;;
1042 -target | --target | --targe | --targ | --tar | --ta | --t)
1043 ac_prev=target_alias ;;
1044 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1045 target_alias=$ac_optarg ;;
1047 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1050 -version | --version | --versio | --versi | --vers | -V)
1051 ac_init_version=: ;;
1054 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1058 { (exit 1); exit 1; }; }
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1068 eval with_$ac_useropt=\$ac_optarg ;;
1070 -without-* | --without-*)
1071 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1075 { (exit 1); exit 1; }; }
1076 ac_useropt_orig=$ac_useropt
1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1083 ac_unrecognized_sep=', ';;
1085 eval with_$ac_useropt=no ;;
1088 # Obsolete; use --with-x.
1091 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1092 | --x-incl | --x-inc | --x-in | --x-i)
1093 ac_prev=x_includes ;;
1094 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1095 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1096 x_includes=$ac_optarg ;;
1098 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1099 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1100 ac_prev=x_libraries ;;
1101 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1102 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1103 x_libraries=$ac_optarg ;;
1105 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1106 Try \`$0 --help' for more information." >&2
1107 { (exit 1); exit 1; }; }
1111 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1114 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1115 { (exit 1); exit 1; }; }
1116 eval $ac_envvar=\$ac_optarg
1117 export $ac_envvar ;;
1120 # FIXME: should be removed in autoconf 3.0.
1121 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1122 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1124 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1130 if test -n "$ac_prev"; then
1131 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1132 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1133 { (exit 1); exit 1; }; }
1136 if test -n "$ac_unrecognized_opts"; then
1137 case $enable_option_checking in
1139 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1140 { (exit 1); exit 1; }; } ;;
1141 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1145 # Check all directory arguments for consistency.
1146 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1147 datadir sysconfdir sharedstatedir localstatedir includedir \
1148 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1149 libdir localedir mandir
1151 eval ac_val=\$$ac_var
1152 # Remove trailing slashes.
1155 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1156 eval $ac_var=\$ac_val;;
1158 # Be sure to have absolute directory names.
1160 [\\/$]* | ?:[\\/]* ) continue;;
1161 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1163 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1164 { (exit 1); exit 1; }; }
1167 # There might be people who depend on the old broken behavior: `$host'
1168 # used to hold the argument of --host etc.
1169 # FIXME: To remove some day.
1172 target=$target_alias
1174 # FIXME: To remove some day.
1175 if test "x$host_alias" != x; then
1176 if test "x$build_alias" = x; then
1177 cross_compiling=maybe
1178 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1179 If a cross compiler is detected then cross compile mode will be used." >&2
1180 elif test "x$build_alias" != "x$host_alias"; then
1186 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1188 test "$silent" = yes && exec 6>/dev/null
1191 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1192 ac_ls_di=`ls -di .` &&
1193 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1194 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1195 { (exit 1); exit 1; }; }
1196 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1197 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1198 { (exit 1); exit 1; }; }
1201 # Find the source files, if location was not specified.
1202 if test -z "$srcdir"; then
1203 ac_srcdir_defaulted=yes
1204 # Try the directory containing this script, then the parent directory.
1205 ac_confdir=`$as_dirname -- "$as_myself" ||
1206 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1207 X"$as_myself" : 'X\(//\)[^/]' \| \
1208 X"$as_myself" : 'X\(//\)$' \| \
1209 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1210 $as_echo X"$as_myself" |
1211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1233 ac_srcdir_defaulted=no
1235 if test ! -r "$srcdir/$ac_unique_file"; then
1236 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1237 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1238 { (exit 1); exit 1; }; }
1240 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1242 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1243 { (exit 1); exit 1; }; }
1245 # When building in place, set srcdir=.
1246 if test "$ac_abs_confdir" = "$ac_pwd"; then
1249 # Remove unnecessary trailing slashes from srcdir.
1250 # Double slashes in file names in object file debugging info
1251 # mess up M-x gdb in Emacs.
1253 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1255 for ac_var in $ac_precious_vars; do
1256 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1257 eval ac_env_${ac_var}_value=\$${ac_var}
1258 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1259 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1263 # Report the --help message.
1265 if test "$ac_init_help" = "long"; then
1266 # Omit some internal or obsolete options to make the list less imposing.
1267 # This message is too long to be a string in the A/UX 3.1 sh.
1269 \`configure' configures this package to adapt to many kinds of systems.
1271 Usage: $0 [OPTION]... [VAR=VALUE]...
1273 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1274 VAR=VALUE. See below for descriptions of some of the useful variables.
1276 Defaults for the options are specified in brackets.
1279 -h, --help display this help and exit
1280 --help=short display options specific to this package
1281 --help=recursive display the short help of all the included packages
1282 -V, --version display version information and exit
1283 -q, --quiet, --silent do not print \`checking...' messages
1284 --cache-file=FILE cache test results in FILE [disabled]
1285 -C, --config-cache alias for \`--cache-file=config.cache'
1286 -n, --no-create do not create output files
1287 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1289 Installation directories:
1290 --prefix=PREFIX install architecture-independent files in PREFIX
1291 [$ac_default_prefix]
1292 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1295 By default, \`make install' will install all the files in
1296 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1297 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1298 for instance \`--prefix=\$HOME'.
1300 For better control, use the options below.
1302 Fine tuning of the installation directories:
1303 --bindir=DIR user executables [EPREFIX/bin]
1304 --sbindir=DIR system admin executables [EPREFIX/sbin]
1305 --libexecdir=DIR program executables [EPREFIX/libexec]
1306 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1307 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1308 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1309 --libdir=DIR object code libraries [EPREFIX/lib]
1310 --includedir=DIR C header files [PREFIX/include]
1311 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1312 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1313 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1314 --infodir=DIR info documentation [DATAROOTDIR/info]
1315 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1316 --mandir=DIR man documentation [DATAROOTDIR/man]
1317 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1318 --htmldir=DIR html documentation [DOCDIR]
1319 --dvidir=DIR dvi documentation [DOCDIR]
1320 --pdfdir=DIR pdf documentation [DOCDIR]
1321 --psdir=DIR ps documentation [DOCDIR]
1328 if test -n "$ac_init_help"; then
1333 --disable-option-checking ignore unrecognized --enable/--with options
1334 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1335 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1336 --disable-shared build PCRE as a static library
1337 --enable-utf8 enable UTF8 support (incomplete)
1338 --enable-newline-is-cr use CR as the newline character
1339 --enable-newline-is-lf use LF as the newline character
1341 Some influential environment variables:
1342 CC C compiler command
1343 CFLAGS C compiler flags
1344 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1345 nonstandard directory <lib dir>
1346 LIBS libraries to pass to the linker, e.g. -l<library>
1347 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1348 you have headers in a nonstandard directory <include dir>
1351 Use these variables to override the choices made by `configure' or to help
1352 it to find libraries and programs with nonstandard names/locations.
1358 if test "$ac_init_help" = "recursive"; then
1359 # If there are subdirs, report their specific --help.
1360 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1361 test -d "$ac_dir" ||
1362 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1367 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1369 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1370 # A ".." for each directory in $ac_dir_suffix.
1371 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1372 case $ac_top_builddir_sub in
1373 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1374 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1377 ac_abs_top_builddir=$ac_pwd
1378 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1379 # for backward compatibility:
1380 ac_top_builddir=$ac_top_build_prefix
1383 .) # We are building in place.
1385 ac_top_srcdir=$ac_top_builddir_sub
1386 ac_abs_top_srcdir=$ac_pwd ;;
1387 [\\/]* | ?:[\\/]* ) # Absolute name.
1388 ac_srcdir=$srcdir$ac_dir_suffix;
1389 ac_top_srcdir=$srcdir
1390 ac_abs_top_srcdir=$srcdir ;;
1392 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1393 ac_top_srcdir=$ac_top_build_prefix$srcdir
1394 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1396 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1398 cd "$ac_dir" || { ac_status=$?; continue; }
1399 # Check for guested configure.
1400 if test -f "$ac_srcdir/configure.gnu"; then
1402 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1403 elif test -f "$ac_srcdir/configure"; then
1405 $SHELL "$ac_srcdir/configure" --help=recursive
1407 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1409 cd "$ac_pwd" || { ac_status=$?; break; }
1413 test -n "$ac_init_help" && exit $ac_status
1414 if $ac_init_version; then
1417 generated by GNU Autoconf 2.63
1419 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1420 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1421 This configure script is free software; the Free Software Foundation
1422 gives unlimited permission to copy, distribute and modify it.
1426 cat >config.log <<_ACEOF
1427 This file contains any messages produced by compilers while
1428 running configure, to aid debugging if configure makes a mistake.
1430 It was created by $as_me, which was
1431 generated by GNU Autoconf 2.63. Invocation command line was
1443 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1444 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1445 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1446 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1447 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1449 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1450 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1452 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1453 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1454 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1455 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1456 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1457 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1458 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1466 test -z "$as_dir" && as_dir=.
1467 $as_echo "PATH: $as_dir"
1483 # Keep a trace of the command line.
1484 # Strip out --no-create and --no-recursion so they do not pile up.
1485 # Strip out --silent because we don't want to record it for future runs.
1486 # Also quote any args containing shell meta-characters.
1487 # Make two passes to allow for proper duplicate-argument suppression.
1491 ac_must_keep_next=false
1497 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1499 | -silent | --silent | --silen | --sile | --sil)
1502 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1505 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1507 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1508 if test $ac_must_keep_next = true; then
1509 ac_must_keep_next=false # Got value, back to normal.
1512 *=* | --config-cache | -C | -disable-* | --disable-* \
1513 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1514 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1515 | -with-* | --with-* | -without-* | --without-* | --x)
1516 case "$ac_configure_args0 " in
1517 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1520 -* ) ac_must_keep_next=true ;;
1523 ac_configure_args="$ac_configure_args '$ac_arg'"
1528 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1529 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1531 # When interrupted or exit'd, cleanup temporary files, and complete
1532 # config.log. We remove comments because anyway the quotes in there
1533 # would cause problems or look ugly.
1534 # WARNING: Use '\'' to represent an apostrophe within the trap.
1535 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1536 trap 'exit_status=$?
1537 # Save into config.log some information that might help in debugging.
1542 ## ---------------- ##
1543 ## Cache variables. ##
1544 ## ---------------- ##
1547 # The following way of writing the cache mishandles newlines in values,
1549 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1550 eval ac_val=\$$ac_var
1554 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1555 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1558 _ | IFS | as_nl) ;; #(
1559 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1560 *) $as_unset $ac_var ;;
1565 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1566 *${as_nl}ac_space=\ *)
1568 "s/'\''/'\''\\\\'\'''\''/g;
1569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1572 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1580 ## ----------------- ##
1581 ## Output variables. ##
1582 ## ----------------- ##
1585 for ac_var in $ac_subst_vars
1587 eval ac_val=\$$ac_var
1589 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1591 $as_echo "$ac_var='\''$ac_val'\''"
1595 if test -n "$ac_subst_files"; then
1597 ## ------------------- ##
1598 ## File substitutions. ##
1599 ## ------------------- ##
1602 for ac_var in $ac_subst_files
1604 eval ac_val=\$$ac_var
1606 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1608 $as_echo "$ac_var='\''$ac_val'\''"
1613 if test -s confdefs.h; then
1623 test "$ac_signal" != 0 &&
1624 $as_echo "$as_me: caught signal $ac_signal"
1625 $as_echo "$as_me: exit $exit_status"
1627 rm -f core *.core core.conftest.* &&
1628 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1631 for ac_signal in 1 2 13 15; do
1632 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1636 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1637 rm -f -r conftest* confdefs.h
1639 # Predefined preprocessor variables.
1641 cat >>confdefs.h <<_ACEOF
1642 #define PACKAGE_NAME "$PACKAGE_NAME"
1646 cat >>confdefs.h <<_ACEOF
1647 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1651 cat >>confdefs.h <<_ACEOF
1652 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1656 cat >>confdefs.h <<_ACEOF
1657 #define PACKAGE_STRING "$PACKAGE_STRING"
1661 cat >>confdefs.h <<_ACEOF
1662 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1666 # Let the site file select an alternate cache file if it wants to.
1667 # Prefer an explicitly selected file to automatically selected ones.
1670 if test -n "$CONFIG_SITE"; then
1671 ac_site_file1=$CONFIG_SITE
1672 elif test "x$prefix" != xNONE; then
1673 ac_site_file1=$prefix/share/config.site
1674 ac_site_file2=$prefix/etc/config.site
1676 ac_site_file1=$ac_default_prefix/share/config.site
1677 ac_site_file2=$ac_default_prefix/etc/config.site
1679 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1681 test "x$ac_site_file" = xNONE && continue
1682 if test -r "$ac_site_file"; then
1683 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1684 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1685 sed 's/^/| /' "$ac_site_file" >&5
1690 if test -r "$cache_file"; then
1691 # Some versions of bash will fail to source /dev/null (special
1692 # files actually), so we avoid doing that.
1693 if test -f "$cache_file"; then
1694 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1695 $as_echo "$as_me: loading cache $cache_file" >&6;}
1697 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1698 *) . "./$cache_file";;
1702 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1703 $as_echo "$as_me: creating cache $cache_file" >&6;}
1707 # Check that the precious variables saved in the cache have kept the same
1709 ac_cache_corrupted=false
1710 for ac_var in $ac_precious_vars; do
1711 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1712 eval ac_new_set=\$ac_env_${ac_var}_set
1713 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1714 eval ac_new_val=\$ac_env_${ac_var}_value
1715 case $ac_old_set,$ac_new_set in
1717 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1718 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1719 ac_cache_corrupted=: ;;
1721 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1722 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1723 ac_cache_corrupted=: ;;
1726 if test "x$ac_old_val" != "x$ac_new_val"; then
1727 # differences in whitespace do not lead to failure.
1728 ac_old_val_w=`echo x $ac_old_val`
1729 ac_new_val_w=`echo x $ac_new_val`
1730 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1731 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1732 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1733 ac_cache_corrupted=:
1735 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1736 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1737 eval $ac_var=\$ac_old_val
1739 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1740 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1741 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1742 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1745 # Pass precious variables to config.status.
1746 if test "$ac_new_set" = set; then
1748 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1749 *) ac_arg=$ac_var=$ac_new_val ;;
1751 case " $ac_configure_args " in
1752 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1753 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1757 if $ac_cache_corrupted; then
1758 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1760 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1761 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1762 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1763 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1764 { (exit 1); exit 1; }; }
1784 ac_cpp='$CPP $CPPFLAGS'
1785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1791 ac_config_headers="$ac_config_headers config.h:config.in"
1797 PCRE_DATE=02-Jan-2002
1798 PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}
1801 PCRE_LIB_VERSION=0:1:0
1802 PCRE_POSIXLIB_VERSION=0:0:0
1806 ac_cpp='$CPP $CPPFLAGS'
1807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1810 if test -n "$ac_tool_prefix"; then
1811 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1812 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1813 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1814 $as_echo_n "checking for $ac_word... " >&6; }
1815 if test "${ac_cv_prog_CC+set}" = set; then
1816 $as_echo_n "(cached) " >&6
1818 if test -n "$CC"; then
1819 ac_cv_prog_CC="$CC" # Let the user override the test.
1821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1825 test -z "$as_dir" && as_dir=.
1826 for ac_exec_ext in '' $ac_executable_extensions; do
1827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1828 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1829 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1839 if test -n "$CC"; then
1840 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1841 $as_echo "$CC" >&6; }
1843 { $as_echo "$as_me:$LINENO: result: no" >&5
1844 $as_echo "no" >&6; }
1849 if test -z "$ac_cv_prog_CC"; then
1851 # Extract the first word of "gcc", so it can be a program name with args.
1852 set dummy gcc; ac_word=$2
1853 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1854 $as_echo_n "checking for $ac_word... " >&6; }
1855 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1856 $as_echo_n "(cached) " >&6
1858 if test -n "$ac_ct_CC"; then
1859 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1865 test -z "$as_dir" && as_dir=.
1866 for ac_exec_ext in '' $ac_executable_extensions; do
1867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1868 ac_cv_prog_ac_ct_CC="gcc"
1869 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1878 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1879 if test -n "$ac_ct_CC"; then
1880 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1881 $as_echo "$ac_ct_CC" >&6; }
1883 { $as_echo "$as_me:$LINENO: result: no" >&5
1884 $as_echo "no" >&6; }
1887 if test "x$ac_ct_CC" = x; then
1890 case $cross_compiling:$ac_tool_warned in
1892 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
1893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1894 ac_tool_warned=yes ;;
1902 if test -z "$CC"; then
1903 if test -n "$ac_tool_prefix"; then
1904 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1905 set dummy ${ac_tool_prefix}cc; ac_word=$2
1906 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1907 $as_echo_n "checking for $ac_word... " >&6; }
1908 if test "${ac_cv_prog_CC+set}" = set; then
1909 $as_echo_n "(cached) " >&6
1911 if test -n "$CC"; then
1912 ac_cv_prog_CC="$CC" # Let the user override the test.
1914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1918 test -z "$as_dir" && as_dir=.
1919 for ac_exec_ext in '' $ac_executable_extensions; do
1920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1921 ac_cv_prog_CC="${ac_tool_prefix}cc"
1922 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1932 if test -n "$CC"; then
1933 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1934 $as_echo "$CC" >&6; }
1936 { $as_echo "$as_me:$LINENO: result: no" >&5
1937 $as_echo "no" >&6; }
1943 if test -z "$CC"; then
1944 # Extract the first word of "cc", so it can be a program name with args.
1945 set dummy cc; ac_word=$2
1946 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1947 $as_echo_n "checking for $ac_word... " >&6; }
1948 if test "${ac_cv_prog_CC+set}" = set; then
1949 $as_echo_n "(cached) " >&6
1951 if test -n "$CC"; then
1952 ac_cv_prog_CC="$CC" # Let the user override the test.
1955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1959 test -z "$as_dir" && as_dir=.
1960 for ac_exec_ext in '' $ac_executable_extensions; do
1961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1962 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1963 ac_prog_rejected=yes
1967 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1974 if test $ac_prog_rejected = yes; then
1975 # We found a bogon in the path, so make sure we never use it.
1976 set dummy $ac_cv_prog_CC
1978 if test $# != 0; then
1979 # We chose a different compiler from the bogus one.
1980 # However, it has the same basename, so the bogon will be chosen
1981 # first if we set CC to just the basename; use the full file name.
1983 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1989 if test -n "$CC"; then
1990 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1991 $as_echo "$CC" >&6; }
1993 { $as_echo "$as_me:$LINENO: result: no" >&5
1994 $as_echo "no" >&6; }
1999 if test -z "$CC"; then
2000 if test -n "$ac_tool_prefix"; then
2001 for ac_prog in cl.exe
2003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2004 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2005 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2006 $as_echo_n "checking for $ac_word... " >&6; }
2007 if test "${ac_cv_prog_CC+set}" = set; then
2008 $as_echo_n "(cached) " >&6
2010 if test -n "$CC"; then
2011 ac_cv_prog_CC="$CC" # Let the user override the test.
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2020 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2021 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 if test -n "$CC"; then
2032 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2033 $as_echo "$CC" >&6; }
2035 { $as_echo "$as_me:$LINENO: result: no" >&5
2036 $as_echo "no" >&6; }
2040 test -n "$CC" && break
2043 if test -z "$CC"; then
2045 for ac_prog in cl.exe
2047 # Extract the first word of "$ac_prog", so it can be a program name with args.
2048 set dummy $ac_prog; ac_word=$2
2049 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 $as_echo_n "checking for $ac_word... " >&6; }
2051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2052 $as_echo_n "(cached) " >&6
2054 if test -n "$ac_ct_CC"; then
2055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2064 ac_cv_prog_ac_ct_CC="$ac_prog"
2065 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2074 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2075 if test -n "$ac_ct_CC"; then
2076 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2077 $as_echo "$ac_ct_CC" >&6; }
2079 { $as_echo "$as_me:$LINENO: result: no" >&5
2080 $as_echo "no" >&6; }
2084 test -n "$ac_ct_CC" && break
2087 if test "x$ac_ct_CC" = x; then
2090 case $cross_compiling:$ac_tool_warned in
2092 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2094 ac_tool_warned=yes ;;
2103 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2105 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2106 See \`config.log' for more details." >&5
2107 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2108 See \`config.log' for more details." >&2;}
2109 { (exit 1); exit 1; }; }; }
2111 # Provide some information about the compiler.
2112 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2115 { (ac_try="$ac_compiler --version >&5"
2117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2118 *) ac_try_echo=$ac_try;;
2120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2121 $as_echo "$ac_try_echo") >&5
2122 (eval "$ac_compiler --version >&5") 2>&5
2124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }
2126 { (ac_try="$ac_compiler -v >&5"
2128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2129 *) ac_try_echo=$ac_try;;
2131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2132 $as_echo "$ac_try_echo") >&5
2133 (eval "$ac_compiler -v >&5") 2>&5
2135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }
2137 { (ac_try="$ac_compiler -V >&5"
2139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2140 *) ac_try_echo=$ac_try;;
2142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2143 $as_echo "$ac_try_echo") >&5
2144 (eval "$ac_compiler -V >&5") 2>&5
2146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }
2149 cat >conftest.$ac_ext <<_ACEOF
2152 cat confdefs.h >>conftest.$ac_ext
2153 cat >>conftest.$ac_ext <<_ACEOF
2154 /* end confdefs.h. */
2164 ac_clean_files_save=$ac_clean_files
2165 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2166 # Try to create an executable without -o first, disregard a.out.
2167 # It will help us diagnose broken compilers, and finding out an intuition
2169 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2170 $as_echo_n "checking for C compiler default output file name... " >&6; }
2171 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2173 # The possible output files:
2174 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2177 for ac_file in $ac_files
2180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2181 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2186 if { (ac_try="$ac_link_default"
2188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2189 *) ac_try_echo=$ac_try;;
2191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2192 $as_echo "$ac_try_echo") >&5
2193 (eval "$ac_link_default") 2>&5
2195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); }; then
2197 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2198 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2199 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2200 # so that the user can short-circuit this test for compilers unknown to
2202 for ac_file in $ac_files ''
2204 test -f "$ac_file" || continue
2206 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2209 # We found the default executable, but exeext='' is most
2213 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2215 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2217 # We set ac_cv_exeext here because the later test for it is not
2218 # safe: cross compilers may not add the suffix if given an `-o'
2219 # argument, so we may need to know it at that point already.
2220 # Even if this section looks crufty: it has the advantage of
2227 test "$ac_cv_exeext" = no && ac_cv_exeext=
2233 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2234 $as_echo "$ac_file" >&6; }
2235 if test -z "$ac_file"; then
2236 $as_echo "$as_me: failed program was:" >&5
2237 sed 's/^/| /' conftest.$ac_ext >&5
2239 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2241 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2242 See \`config.log' for more details." >&5
2243 $as_echo "$as_me: error: C compiler cannot create executables
2244 See \`config.log' for more details." >&2;}
2245 { (exit 77); exit 77; }; }; }
2248 ac_exeext=$ac_cv_exeext
2250 # Check that the compiler produces executables we can run. If not, either
2251 # the compiler is broken, or we cross compile.
2252 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2253 $as_echo_n "checking whether the C compiler works... " >&6; }
2254 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2255 # If not cross compiling, check that we can run a simple program.
2256 if test "$cross_compiling" != yes; then
2257 if { ac_try='./$ac_file'
2258 { (case "(($ac_try" in
2259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2260 *) ac_try_echo=$ac_try;;
2262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2263 $as_echo "$ac_try_echo") >&5
2264 (eval "$ac_try") 2>&5
2266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); }; }; then
2270 if test "$cross_compiling" = maybe; then
2273 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2275 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2276 If you meant to cross compile, use \`--host'.
2277 See \`config.log' for more details." >&5
2278 $as_echo "$as_me: error: cannot run C compiled programs.
2279 If you meant to cross compile, use \`--host'.
2280 See \`config.log' for more details." >&2;}
2281 { (exit 1); exit 1; }; }; }
2285 { $as_echo "$as_me:$LINENO: result: yes" >&5
2286 $as_echo "yes" >&6; }
2288 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2289 ac_clean_files=$ac_clean_files_save
2290 # Check that the compiler produces executables we can run. If not, either
2291 # the compiler is broken, or we cross compile.
2292 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2293 $as_echo_n "checking whether we are cross compiling... " >&6; }
2294 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2295 $as_echo "$cross_compiling" >&6; }
2297 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2298 $as_echo_n "checking for suffix of executables... " >&6; }
2299 if { (ac_try="$ac_link"
2301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2302 *) ac_try_echo=$ac_try;;
2304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2305 $as_echo "$ac_try_echo") >&5
2306 (eval "$ac_link") 2>&5
2308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; then
2310 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2311 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2312 # work properly (i.e., refer to `conftest.exe'), while it won't with
2314 for ac_file in conftest.exe conftest conftest.*; do
2315 test -f "$ac_file" || continue
2317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2318 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2324 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2327 See \`config.log' for more details." >&5
2328 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2329 See \`config.log' for more details." >&2;}
2330 { (exit 1); exit 1; }; }; }
2333 rm -f conftest$ac_cv_exeext
2334 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2335 $as_echo "$ac_cv_exeext" >&6; }
2337 rm -f conftest.$ac_ext
2338 EXEEXT=$ac_cv_exeext
2340 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2341 $as_echo_n "checking for suffix of object files... " >&6; }
2342 if test "${ac_cv_objext+set}" = set; then
2343 $as_echo_n "(cached) " >&6
2345 cat >conftest.$ac_ext <<_ACEOF
2348 cat confdefs.h >>conftest.$ac_ext
2349 cat >>conftest.$ac_ext <<_ACEOF
2350 /* end confdefs.h. */
2360 rm -f conftest.o conftest.obj
2361 if { (ac_try="$ac_compile"
2363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2364 *) ac_try_echo=$ac_try;;
2366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2367 $as_echo "$ac_try_echo") >&5
2368 (eval "$ac_compile") 2>&5
2370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }; then
2372 for ac_file in conftest.o conftest.obj conftest.*; do
2373 test -f "$ac_file" || continue;
2375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2376 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2381 $as_echo "$as_me: failed program was:" >&5
2382 sed 's/^/| /' conftest.$ac_ext >&5
2384 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2386 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2387 See \`config.log' for more details." >&5
2388 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2389 See \`config.log' for more details." >&2;}
2390 { (exit 1); exit 1; }; }; }
2393 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2395 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2396 $as_echo "$ac_cv_objext" >&6; }
2397 OBJEXT=$ac_cv_objext
2399 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2400 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2401 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2402 $as_echo_n "(cached) " >&6
2404 cat >conftest.$ac_ext <<_ACEOF
2407 cat confdefs.h >>conftest.$ac_ext
2408 cat >>conftest.$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2422 rm -f conftest.$ac_objext
2423 if { (ac_try="$ac_compile"
2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426 *) ac_try_echo=$ac_try;;
2428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2429 $as_echo "$ac_try_echo") >&5
2430 (eval "$ac_compile") 2>conftest.er1
2432 grep -v '^ *+' conftest.er1 >conftest.err
2434 cat conftest.err >&5
2435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); } && {
2437 test -z "$ac_c_werror_flag" ||
2438 test ! -s conftest.err
2439 } && test -s conftest.$ac_objext; then
2442 $as_echo "$as_me: failed program was:" >&5
2443 sed 's/^/| /' conftest.$ac_ext >&5
2448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2449 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2452 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2453 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2454 if test $ac_compiler_gnu = yes; then
2459 ac_test_CFLAGS=${CFLAGS+set}
2460 ac_save_CFLAGS=$CFLAGS
2461 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2462 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2463 if test "${ac_cv_prog_cc_g+set}" = set; then
2464 $as_echo_n "(cached) " >&6
2466 ac_save_c_werror_flag=$ac_c_werror_flag
2467 ac_c_werror_flag=yes
2470 cat >conftest.$ac_ext <<_ACEOF
2473 cat confdefs.h >>conftest.$ac_ext
2474 cat >>conftest.$ac_ext <<_ACEOF
2475 /* end confdefs.h. */
2485 rm -f conftest.$ac_objext
2486 if { (ac_try="$ac_compile"
2488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2489 *) ac_try_echo=$ac_try;;
2491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2492 $as_echo "$ac_try_echo") >&5
2493 (eval "$ac_compile") 2>conftest.er1
2495 grep -v '^ *+' conftest.er1 >conftest.err
2497 cat conftest.err >&5
2498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); } && {
2500 test -z "$ac_c_werror_flag" ||
2501 test ! -s conftest.err
2502 } && test -s conftest.$ac_objext; then
2505 $as_echo "$as_me: failed program was:" >&5
2506 sed 's/^/| /' conftest.$ac_ext >&5
2509 cat >conftest.$ac_ext <<_ACEOF
2512 cat confdefs.h >>conftest.$ac_ext
2513 cat >>conftest.$ac_ext <<_ACEOF
2514 /* end confdefs.h. */
2524 rm -f conftest.$ac_objext
2525 if { (ac_try="$ac_compile"
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2531 $as_echo "$ac_try_echo") >&5
2532 (eval "$ac_compile") 2>conftest.er1
2534 grep -v '^ *+' conftest.er1 >conftest.err
2536 cat conftest.err >&5
2537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); } && {
2539 test -z "$ac_c_werror_flag" ||
2540 test ! -s conftest.err
2541 } && test -s conftest.$ac_objext; then
2544 $as_echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.$ac_ext >&5
2547 ac_c_werror_flag=$ac_save_c_werror_flag
2549 cat >conftest.$ac_ext <<_ACEOF
2552 cat confdefs.h >>conftest.$ac_ext
2553 cat >>conftest.$ac_ext <<_ACEOF
2554 /* end confdefs.h. */
2564 rm -f conftest.$ac_objext
2565 if { (ac_try="$ac_compile"
2567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2568 *) ac_try_echo=$ac_try;;
2570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2571 $as_echo "$ac_try_echo") >&5
2572 (eval "$ac_compile") 2>conftest.er1
2574 grep -v '^ *+' conftest.er1 >conftest.err
2576 cat conftest.err >&5
2577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } && {
2579 test -z "$ac_c_werror_flag" ||
2580 test ! -s conftest.err
2581 } && test -s conftest.$ac_objext; then
2584 $as_echo "$as_me: failed program was:" >&5
2585 sed 's/^/| /' conftest.$ac_ext >&5
2590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2597 ac_c_werror_flag=$ac_save_c_werror_flag
2599 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2600 $as_echo "$ac_cv_prog_cc_g" >&6; }
2601 if test "$ac_test_CFLAGS" = set; then
2602 CFLAGS=$ac_save_CFLAGS
2603 elif test $ac_cv_prog_cc_g = yes; then
2604 if test "$GCC" = yes; then
2610 if test "$GCC" = yes; then
2616 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2617 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2618 if test "${ac_cv_prog_cc_c89+set}" = set; then
2619 $as_echo_n "(cached) " >&6
2621 ac_cv_prog_cc_c89=no
2623 cat >conftest.$ac_ext <<_ACEOF
2626 cat confdefs.h >>conftest.$ac_ext
2627 cat >>conftest.$ac_ext <<_ACEOF
2628 /* end confdefs.h. */
2631 #include <sys/types.h>
2632 #include <sys/stat.h>
2633 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2634 struct buf { int x; };
2635 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2636 static char *e (p, i)
2642 static char *f (char * (*g) (char **, int), char **p, ...)
2647 s = g (p, va_arg (v,int));
2652 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2653 function prototypes and stuff, but not '\xHH' hex character constants.
2654 These don't provoke an error unfortunately, instead are silently treated
2655 as 'x'. The following induces an error, until -std is added to get
2656 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2657 array size at least. It's necessary to write '\x00'==0 to get something
2658 that's true only with -std. */
2659 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2661 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2662 inside strings and character constants. */
2664 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2666 int test (int i, double x);
2667 struct s1 {int (*f) (int a);};
2668 struct s2 {int (*f) (double a);};
2669 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2675 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2680 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2681 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2683 CC="$ac_save_CC $ac_arg"
2684 rm -f conftest.$ac_objext
2685 if { (ac_try="$ac_compile"
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2690 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2691 $as_echo "$ac_try_echo") >&5
2692 (eval "$ac_compile") 2>conftest.er1
2694 grep -v '^ *+' conftest.er1 >conftest.err
2696 cat conftest.err >&5
2697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); } && {
2699 test -z "$ac_c_werror_flag" ||
2700 test ! -s conftest.err
2701 } && test -s conftest.$ac_objext; then
2702 ac_cv_prog_cc_c89=$ac_arg
2704 $as_echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.$ac_ext >&5
2710 rm -f core conftest.err conftest.$ac_objext
2711 test "x$ac_cv_prog_cc_c89" != "xno" && break
2713 rm -f conftest.$ac_ext
2718 case "x$ac_cv_prog_cc_c89" in
2720 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2721 $as_echo "none needed" >&6; } ;;
2723 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2724 $as_echo "unsupported" >&6; } ;;
2726 CC="$CC $ac_cv_prog_cc_c89"
2727 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2728 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2733 ac_cpp='$CPP $CPPFLAGS'
2734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2738 if test -n "$ac_tool_prefix"; then
2739 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2740 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2741 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if test "${ac_cv_prog_RANLIB+set}" = set; then
2744 $as_echo_n "(cached) " >&6
2746 if test -n "$RANLIB"; then
2747 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2756 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2757 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 RANLIB=$ac_cv_prog_RANLIB
2767 if test -n "$RANLIB"; then
2768 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
2769 $as_echo "$RANLIB" >&6; }
2771 { $as_echo "$as_me:$LINENO: result: no" >&5
2772 $as_echo "no" >&6; }
2777 if test -z "$ac_cv_prog_RANLIB"; then
2778 ac_ct_RANLIB=$RANLIB
2779 # Extract the first word of "ranlib", so it can be a program name with args.
2780 set dummy ranlib; ac_word=$2
2781 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$ac_ct_RANLIB"; then
2787 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir=.
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2796 ac_cv_prog_ac_ct_RANLIB="ranlib"
2797 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2807 if test -n "$ac_ct_RANLIB"; then
2808 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2809 $as_echo "$ac_ct_RANLIB" >&6; }
2811 { $as_echo "$as_me:$LINENO: result: no" >&5
2812 $as_echo "no" >&6; }
2815 if test "x$ac_ct_RANLIB" = x; then
2818 case $cross_compiling:$ac_tool_warned in
2820 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2822 ac_tool_warned=yes ;;
2824 RANLIB=$ac_ct_RANLIB
2827 RANLIB="$ac_cv_prog_RANLIB"
2834 ac_cpp='$CPP $CPPFLAGS'
2835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2838 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2839 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2840 # On Suns, sometimes $CPP names a directory.
2841 if test -n "$CPP" && test -d "$CPP"; then
2844 if test -z "$CPP"; then
2845 if test "${ac_cv_prog_CPP+set}" = set; then
2846 $as_echo_n "(cached) " >&6
2848 # Double quotes because CPP needs to be expanded
2849 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2852 for ac_c_preproc_warn_flag in '' yes
2854 # Use a header file that comes with gcc, so configuring glibc
2855 # with a fresh cross-compiler works.
2856 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2857 # <limits.h> exists even on freestanding compilers.
2858 # On the NeXT, cc -E runs the code through the compiler's parser,
2859 # not just through cpp. "Syntax error" is here to catch this case.
2860 cat >conftest.$ac_ext <<_ACEOF
2863 cat confdefs.h >>conftest.$ac_ext
2864 cat >>conftest.$ac_ext <<_ACEOF
2865 /* end confdefs.h. */
2867 # include <limits.h>
2869 # include <assert.h>
2873 if { (ac_try="$ac_cpp conftest.$ac_ext"
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2879 $as_echo "$ac_try_echo") >&5
2880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2882 grep -v '^ *+' conftest.er1 >conftest.err
2884 cat conftest.err >&5
2885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); } >/dev/null && {
2887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2888 test ! -s conftest.err
2892 $as_echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2895 # Broken: fails on valid input.
2899 rm -f conftest.err conftest.$ac_ext
2901 # OK, works on sane cases. Now check whether nonexistent headers
2902 # can be detected and how.
2903 cat >conftest.$ac_ext <<_ACEOF
2906 cat confdefs.h >>conftest.$ac_ext
2907 cat >>conftest.$ac_ext <<_ACEOF
2908 /* end confdefs.h. */
2909 #include <ac_nonexistent.h>
2911 if { (ac_try="$ac_cpp conftest.$ac_ext"
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2916 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2917 $as_echo "$ac_try_echo") >&5
2918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2920 grep -v '^ *+' conftest.er1 >conftest.err
2922 cat conftest.err >&5
2923 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); } >/dev/null && {
2925 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2926 test ! -s conftest.err
2928 # Broken: success on invalid input.
2931 $as_echo "$as_me: failed program was:" >&5
2932 sed 's/^/| /' conftest.$ac_ext >&5
2934 # Passes both tests.
2939 rm -f conftest.err conftest.$ac_ext
2942 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2943 rm -f conftest.err conftest.$ac_ext
2944 if $ac_preproc_ok; then
2956 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
2957 $as_echo "$CPP" >&6; }
2959 for ac_c_preproc_warn_flag in '' yes
2961 # Use a header file that comes with gcc, so configuring glibc
2962 # with a fresh cross-compiler works.
2963 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2964 # <limits.h> exists even on freestanding compilers.
2965 # On the NeXT, cc -E runs the code through the compiler's parser,
2966 # not just through cpp. "Syntax error" is here to catch this case.
2967 cat >conftest.$ac_ext <<_ACEOF
2970 cat confdefs.h >>conftest.$ac_ext
2971 cat >>conftest.$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2974 # include <limits.h>
2976 # include <assert.h>
2980 if { (ac_try="$ac_cpp conftest.$ac_ext"
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2986 $as_echo "$ac_try_echo") >&5
2987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2989 grep -v '^ *+' conftest.er1 >conftest.err
2991 cat conftest.err >&5
2992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } >/dev/null && {
2994 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2995 test ! -s conftest.err
2999 $as_echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 # Broken: fails on valid input.
3006 rm -f conftest.err conftest.$ac_ext
3008 # OK, works on sane cases. Now check whether nonexistent headers
3009 # can be detected and how.
3010 cat >conftest.$ac_ext <<_ACEOF
3013 cat confdefs.h >>conftest.$ac_ext
3014 cat >>conftest.$ac_ext <<_ACEOF
3015 /* end confdefs.h. */
3016 #include <ac_nonexistent.h>
3018 if { (ac_try="$ac_cpp conftest.$ac_ext"
3020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3021 *) ac_try_echo=$ac_try;;
3023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3024 $as_echo "$ac_try_echo") >&5
3025 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3027 grep -v '^ *+' conftest.er1 >conftest.err
3029 cat conftest.err >&5
3030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); } >/dev/null && {
3032 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3033 test ! -s conftest.err
3035 # Broken: success on invalid input.
3038 $as_echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3041 # Passes both tests.
3046 rm -f conftest.err conftest.$ac_ext
3049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3050 rm -f conftest.err conftest.$ac_ext
3051 if $ac_preproc_ok; then
3054 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3056 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3057 See \`config.log' for more details." >&5
3058 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3059 See \`config.log' for more details." >&2;}
3060 { (exit 1); exit 1; }; }; }
3064 ac_cpp='$CPP $CPPFLAGS'
3065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3070 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3071 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3072 if test "${ac_cv_path_GREP+set}" = set; then
3073 $as_echo_n "(cached) " >&6
3075 if test -z "$GREP"; then
3076 ac_path_GREP_found=false
3077 # Loop through the user's path and test for each of PROGNAME-LIST
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3082 test -z "$as_dir" && as_dir=.
3083 for ac_prog in grep ggrep; do
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3086 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3087 # Check for GNU ac_path_GREP and select it if it is found.
3088 # Check for GNU $ac_path_GREP
3089 case `"$ac_path_GREP" --version 2>&1` in
3091 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3094 $as_echo_n 0123456789 >"conftest.in"
3097 cat "conftest.in" "conftest.in" >"conftest.tmp"
3098 mv "conftest.tmp" "conftest.in"
3099 cp "conftest.in" "conftest.nl"
3100 $as_echo 'GREP' >> "conftest.nl"
3101 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3102 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3103 ac_count=`expr $ac_count + 1`
3104 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3105 # Best one so far, save it but keep looking for a better one
3106 ac_cv_path_GREP="$ac_path_GREP"
3107 ac_path_GREP_max=$ac_count
3109 # 10*(2^10) chars as input seems more than enough
3110 test $ac_count -gt 10 && break
3112 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3115 $ac_path_GREP_found && break 3
3120 if test -z "$ac_cv_path_GREP"; then
3121 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3122 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3123 { (exit 1); exit 1; }; }
3126 ac_cv_path_GREP=$GREP
3130 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3131 $as_echo "$ac_cv_path_GREP" >&6; }
3132 GREP="$ac_cv_path_GREP"
3135 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3136 $as_echo_n "checking for egrep... " >&6; }
3137 if test "${ac_cv_path_EGREP+set}" = set; then
3138 $as_echo_n "(cached) " >&6
3140 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3141 then ac_cv_path_EGREP="$GREP -E"
3143 if test -z "$EGREP"; then
3144 ac_path_EGREP_found=false
3145 # Loop through the user's path and test for each of PROGNAME-LIST
3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3150 test -z "$as_dir" && as_dir=.
3151 for ac_prog in egrep; do
3152 for ac_exec_ext in '' $ac_executable_extensions; do
3153 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3154 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3155 # Check for GNU ac_path_EGREP and select it if it is found.
3156 # Check for GNU $ac_path_EGREP
3157 case `"$ac_path_EGREP" --version 2>&1` in
3159 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3162 $as_echo_n 0123456789 >"conftest.in"
3165 cat "conftest.in" "conftest.in" >"conftest.tmp"
3166 mv "conftest.tmp" "conftest.in"
3167 cp "conftest.in" "conftest.nl"
3168 $as_echo 'EGREP' >> "conftest.nl"
3169 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3170 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3171 ac_count=`expr $ac_count + 1`
3172 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3173 # Best one so far, save it but keep looking for a better one
3174 ac_cv_path_EGREP="$ac_path_EGREP"
3175 ac_path_EGREP_max=$ac_count
3177 # 10*(2^10) chars as input seems more than enough
3178 test $ac_count -gt 10 && break
3180 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3183 $ac_path_EGREP_found && break 3
3188 if test -z "$ac_cv_path_EGREP"; then
3189 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3190 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3191 { (exit 1); exit 1; }; }
3194 ac_cv_path_EGREP=$EGREP
3199 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3200 $as_echo "$ac_cv_path_EGREP" >&6; }
3201 EGREP="$ac_cv_path_EGREP"
3204 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3205 $as_echo_n "checking for ANSI C header files... " >&6; }
3206 if test "${ac_cv_header_stdc+set}" = set; then
3207 $as_echo_n "(cached) " >&6
3209 cat >conftest.$ac_ext <<_ACEOF
3212 cat confdefs.h >>conftest.$ac_ext
3213 cat >>conftest.$ac_ext <<_ACEOF
3214 /* end confdefs.h. */
3228 rm -f conftest.$ac_objext
3229 if { (ac_try="$ac_compile"
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3235 $as_echo "$ac_try_echo") >&5
3236 (eval "$ac_compile") 2>conftest.er1
3238 grep -v '^ *+' conftest.er1 >conftest.err
3240 cat conftest.err >&5
3241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } && {
3243 test -z "$ac_c_werror_flag" ||
3244 test ! -s conftest.err
3245 } && test -s conftest.$ac_objext; then
3246 ac_cv_header_stdc=yes
3248 $as_echo "$as_me: failed program was:" >&5
3249 sed 's/^/| /' conftest.$ac_ext >&5
3251 ac_cv_header_stdc=no
3254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3256 if test $ac_cv_header_stdc = yes; then
3257 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3258 cat >conftest.$ac_ext <<_ACEOF
3261 cat confdefs.h >>conftest.$ac_ext
3262 cat >>conftest.$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3268 $EGREP "memchr" >/dev/null 2>&1; then
3271 ac_cv_header_stdc=no
3277 if test $ac_cv_header_stdc = yes; then
3278 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3279 cat >conftest.$ac_ext <<_ACEOF
3282 cat confdefs.h >>conftest.$ac_ext
3283 cat >>conftest.$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3289 $EGREP "free" >/dev/null 2>&1; then
3292 ac_cv_header_stdc=no
3298 if test $ac_cv_header_stdc = yes; then
3299 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3300 if test "$cross_compiling" = yes; then
3303 cat >conftest.$ac_ext <<_ACEOF
3306 cat confdefs.h >>conftest.$ac_ext
3307 cat >>conftest.$ac_ext <<_ACEOF
3308 /* end confdefs.h. */
3311 #if ((' ' & 0x0FF) == 0x020)
3312 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3313 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3315 # define ISLOWER(c) \
3316 (('a' <= (c) && (c) <= 'i') \
3317 || ('j' <= (c) && (c) <= 'r') \
3318 || ('s' <= (c) && (c) <= 'z'))
3319 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3322 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3327 for (i = 0; i < 256; i++)
3328 if (XOR (islower (i), ISLOWER (i))
3329 || toupper (i) != TOUPPER (i))
3334 rm -f conftest$ac_exeext
3335 if { (ac_try="$ac_link"
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3341 $as_echo "$ac_try_echo") >&5
3342 (eval "$ac_link") 2>&5
3344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3346 { (case "(($ac_try" in
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3351 $as_echo "$ac_try_echo") >&5
3352 (eval "$ac_try") 2>&5
3354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); }; }; then
3358 $as_echo "$as_me: program exited with status $ac_status" >&5
3359 $as_echo "$as_me: failed program was:" >&5
3360 sed 's/^/| /' conftest.$ac_ext >&5
3363 ac_cv_header_stdc=no
3365 rm -rf conftest.dSYM
3366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3372 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3373 $as_echo "$ac_cv_header_stdc" >&6; }
3374 if test $ac_cv_header_stdc = yes; then
3376 cat >>confdefs.h <<\_ACEOF
3377 #define STDC_HEADERS 1
3382 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3392 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3393 inttypes.h stdint.h unistd.h
3395 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3396 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3397 $as_echo_n "checking for $ac_header... " >&6; }
3398 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3399 $as_echo_n "(cached) " >&6
3401 cat >conftest.$ac_ext <<_ACEOF
3404 cat confdefs.h >>conftest.$ac_ext
3405 cat >>conftest.$ac_ext <<_ACEOF
3406 /* end confdefs.h. */
3407 $ac_includes_default
3409 #include <$ac_header>
3411 rm -f conftest.$ac_objext
3412 if { (ac_try="$ac_compile"
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3418 $as_echo "$ac_try_echo") >&5
3419 (eval "$ac_compile") 2>conftest.er1
3421 grep -v '^ *+' conftest.er1 >conftest.err
3423 cat conftest.err >&5
3424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); } && {
3426 test -z "$ac_c_werror_flag" ||
3427 test ! -s conftest.err
3428 } && test -s conftest.$ac_objext; then
3429 eval "$as_ac_Header=yes"
3431 $as_echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.$ac_ext >&5
3434 eval "$as_ac_Header=no"
3437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 ac_res=`eval 'as_val=${'$as_ac_Header'}
3440 $as_echo "$as_val"'`
3441 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3442 $as_echo "$ac_res" >&6; }
3443 as_val=`eval 'as_val=${'$as_ac_Header'}
3444 $as_echo "$as_val"'`
3445 if test "x$as_val" = x""yes; then
3446 cat >>confdefs.h <<_ACEOF
3447 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3456 for ac_header in limits.h
3458 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3460 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3461 $as_echo_n "checking for $ac_header... " >&6; }
3462 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3463 $as_echo_n "(cached) " >&6
3465 ac_res=`eval 'as_val=${'$as_ac_Header'}
3466 $as_echo "$as_val"'`
3467 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3468 $as_echo "$ac_res" >&6; }
3470 # Is the header compilable?
3471 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
3472 $as_echo_n "checking $ac_header usability... " >&6; }
3473 cat >conftest.$ac_ext <<_ACEOF
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3479 $ac_includes_default
3480 #include <$ac_header>
3482 rm -f conftest.$ac_objext
3483 if { (ac_try="$ac_compile"
3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3489 $as_echo "$ac_try_echo") >&5
3490 (eval "$ac_compile") 2>conftest.er1
3492 grep -v '^ *+' conftest.er1 >conftest.err
3494 cat conftest.err >&5
3495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); } && {
3497 test -z "$ac_c_werror_flag" ||
3498 test ! -s conftest.err
3499 } && test -s conftest.$ac_objext; then
3500 ac_header_compiler=yes
3502 $as_echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.$ac_ext >&5
3505 ac_header_compiler=no
3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3509 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3510 $as_echo "$ac_header_compiler" >&6; }
3512 # Is the header present?
3513 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
3514 $as_echo_n "checking $ac_header presence... " >&6; }
3515 cat >conftest.$ac_ext <<_ACEOF
3518 cat confdefs.h >>conftest.$ac_ext
3519 cat >>conftest.$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3521 #include <$ac_header>
3523 if { (ac_try="$ac_cpp conftest.$ac_ext"
3525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3526 *) ac_try_echo=$ac_try;;
3528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3529 $as_echo "$ac_try_echo") >&5
3530 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3532 grep -v '^ *+' conftest.er1 >conftest.err
3534 cat conftest.err >&5
3535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); } >/dev/null && {
3537 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3538 test ! -s conftest.err
3540 ac_header_preproc=yes
3542 $as_echo "$as_me: failed program was:" >&5
3543 sed 's/^/| /' conftest.$ac_ext >&5
3545 ac_header_preproc=no
3548 rm -f conftest.err conftest.$ac_ext
3549 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3550 $as_echo "$ac_header_preproc" >&6; }
3552 # So? What about this header?
3553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3555 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3556 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3557 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3558 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3559 ac_header_preproc=yes
3562 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3563 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3564 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3565 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3566 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3567 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3568 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3569 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3570 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3571 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3572 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3573 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3577 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3578 $as_echo_n "checking for $ac_header... " >&6; }
3579 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3580 $as_echo_n "(cached) " >&6
3582 eval "$as_ac_Header=\$ac_header_preproc"
3584 ac_res=`eval 'as_val=${'$as_ac_Header'}
3585 $as_echo "$as_val"'`
3586 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3587 $as_echo "$ac_res" >&6; }
3590 as_val=`eval 'as_val=${'$as_ac_Header'}
3591 $as_echo "$as_val"'`
3592 if test "x$as_val" = x""yes; then
3593 cat >>confdefs.h <<_ACEOF
3594 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3603 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3604 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3605 if test "${ac_cv_c_const+set}" = set; then
3606 $as_echo_n "(cached) " >&6
3608 cat >conftest.$ac_ext <<_ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3618 /* FIXME: Include the comments suggested by Paul. */
3620 /* Ultrix mips cc rejects this. */
3621 typedef int charset[2];
3623 /* SunOS 4.1.1 cc rejects this. */
3624 char const *const *pcpcc;
3626 /* NEC SVR4.0.2 mips cc rejects this. */
3627 struct point {int x, y;};
3628 static struct point const zero = {0,0};
3629 /* AIX XL C 1.02.0.0 rejects this.
3630 It does not let you subtract one const X* pointer from another in
3631 an arm of an if-expression whose if-part is not a constant
3633 const char *g = "string";
3634 pcpcc = &g + (g ? g-g : 0);
3635 /* HPUX 7.0 cc rejects these. */
3637 ppc = (char**) pcpcc;
3638 pcpcc = (char const *const *) ppc;
3639 { /* SCO 3.2v4 cc rejects this. */
3641 char const *s = 0 ? (char *) 0 : (char const *) 0;
3646 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3648 const int *foo = &x[0];
3651 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3652 typedef const int *iptr;
3656 { /* AIX XL C 1.02.0.0 rejects this saying
3657 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3658 struct s { int j; const int *ap[3]; };
3659 struct s *b; b->j = 5;
3661 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3665 return !cs[0] && !zero.x;
3672 rm -f conftest.$ac_objext
3673 if { (ac_try="$ac_compile"
3675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3676 *) ac_try_echo=$ac_try;;
3678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3679 $as_echo "$ac_try_echo") >&5
3680 (eval "$ac_compile") 2>conftest.er1
3682 grep -v '^ *+' conftest.er1 >conftest.err
3684 cat conftest.err >&5
3685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } && {
3687 test -z "$ac_c_werror_flag" ||
3688 test ! -s conftest.err
3689 } && test -s conftest.$ac_objext; then
3692 $as_echo "$as_me: failed program was:" >&5
3693 sed 's/^/| /' conftest.$ac_ext >&5
3698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3701 $as_echo "$ac_cv_c_const" >&6; }
3702 if test $ac_cv_c_const = no; then
3704 cat >>confdefs.h <<\_ACEOF
3710 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
3711 $as_echo_n "checking for size_t... " >&6; }
3712 if test "${ac_cv_type_size_t+set}" = set; then
3713 $as_echo_n "(cached) " >&6
3715 ac_cv_type_size_t=no
3716 cat >conftest.$ac_ext <<_ACEOF
3719 cat confdefs.h >>conftest.$ac_ext
3720 cat >>conftest.$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3722 $ac_includes_default
3726 if (sizeof (size_t))
3732 rm -f conftest.$ac_objext
3733 if { (ac_try="$ac_compile"
3735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3736 *) ac_try_echo=$ac_try;;
3738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3739 $as_echo "$ac_try_echo") >&5
3740 (eval "$ac_compile") 2>conftest.er1
3742 grep -v '^ *+' conftest.er1 >conftest.err
3744 cat conftest.err >&5
3745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); } && {
3747 test -z "$ac_c_werror_flag" ||
3748 test ! -s conftest.err
3749 } && test -s conftest.$ac_objext; then
3750 cat >conftest.$ac_ext <<_ACEOF
3753 cat confdefs.h >>conftest.$ac_ext
3754 cat >>conftest.$ac_ext <<_ACEOF
3755 /* end confdefs.h. */
3756 $ac_includes_default
3760 if (sizeof ((size_t)))
3766 rm -f conftest.$ac_objext
3767 if { (ac_try="$ac_compile"
3769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3770 *) ac_try_echo=$ac_try;;
3772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3773 $as_echo "$ac_try_echo") >&5
3774 (eval "$ac_compile") 2>conftest.er1
3776 grep -v '^ *+' conftest.er1 >conftest.err
3778 cat conftest.err >&5
3779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } && {
3781 test -z "$ac_c_werror_flag" ||
3782 test ! -s conftest.err
3783 } && test -s conftest.$ac_objext; then
3786 $as_echo "$as_me: failed program was:" >&5
3787 sed 's/^/| /' conftest.$ac_ext >&5
3789 ac_cv_type_size_t=yes
3792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3794 $as_echo "$as_me: failed program was:" >&5
3795 sed 's/^/| /' conftest.$ac_ext >&5
3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3802 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3803 $as_echo "$ac_cv_type_size_t" >&6; }
3804 if test "x$ac_cv_type_size_t" = x""yes; then
3808 cat >>confdefs.h <<_ACEOF
3809 #define size_t unsigned int
3819 for ac_func in bcopy memmove strerror
3821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3822 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
3823 $as_echo_n "checking for $ac_func... " >&6; }
3824 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3825 $as_echo_n "(cached) " >&6
3827 cat >conftest.$ac_ext <<_ACEOF
3830 cat confdefs.h >>conftest.$ac_ext
3831 cat >>conftest.$ac_ext <<_ACEOF
3832 /* end confdefs.h. */
3833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3835 #define $ac_func innocuous_$ac_func
3837 /* System header to define __stub macros and hopefully few prototypes,
3838 which can conflict with char $ac_func (); below.
3839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3840 <limits.h> exists even on freestanding compilers. */
3843 # include <limits.h>
3845 # include <assert.h>
3850 /* Override any GCC internal prototype to avoid an error.
3851 Use char because int might match the return type of a GCC
3852 builtin and then its argument prototype would still apply. */
3857 /* The GNU C library defines this for functions which it implements
3858 to always fail with ENOSYS. Some functions are actually named
3859 something starting with __ and the normal name is an alias. */
3860 #if defined __stub_$ac_func || defined __stub___$ac_func
3872 rm -f conftest.$ac_objext conftest$ac_exeext
3873 if { (ac_try="$ac_link"
3875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3876 *) ac_try_echo=$ac_try;;
3878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3879 $as_echo "$ac_try_echo") >&5
3880 (eval "$ac_link") 2>conftest.er1
3882 grep -v '^ *+' conftest.er1 >conftest.err
3884 cat conftest.err >&5
3885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); } && {
3887 test -z "$ac_c_werror_flag" ||
3888 test ! -s conftest.err
3889 } && test -s conftest$ac_exeext && {
3890 test "$cross_compiling" = yes ||
3891 $as_test_x conftest$ac_exeext
3893 eval "$as_ac_var=yes"
3895 $as_echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.$ac_ext >&5
3898 eval "$as_ac_var=no"
3901 rm -rf conftest.dSYM
3902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3903 conftest$ac_exeext conftest.$ac_ext
3905 ac_res=`eval 'as_val=${'$as_ac_var'}
3906 $as_echo "$as_val"'`
3907 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3908 $as_echo "$ac_res" >&6; }
3909 as_val=`eval 'as_val=${'$as_ac_var'}
3910 $as_echo "$as_val"'`
3911 if test "x$as_val" = x""yes; then
3912 cat >>confdefs.h <<_ACEOF
3913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3923 # Check whether --enable-shared was given.
3924 if test "${enable_shared+set}" = set; then
3925 enableval=$enable_shared; if test "$enableval" = "no"; then
3934 # Check whether --enable-utf8 was given.
3935 if test "${enable_utf8+set}" = set; then
3936 enableval=$enable_utf8; if test "$enableval" = "yes"; then
3944 # Check whether --enable-newline-is-cr was given.
3945 if test "${enable_newline_is_cr+set}" = set; then
3946 enableval=$enable_newline_is_cr; if test "$enableval" = "yes"; then
3947 NEWLINE=-DNEWLINE=13
3954 # Check whether --enable-newline-is-lf was given.
3955 if test "${enable_newline_is_lf+set}" = set; then
3956 enableval=$enable_newline_is_lf; if test "$enableval" = "yes"; then
3957 NEWLINE=-DNEWLINE=10
3977 ac_config_files="$ac_config_files Makefile pcre.h:pcre.in pcre-config"
3979 ac_config_commands="$ac_config_commands default"
3981 cat >confcache <<\_ACEOF
3982 # This file is a shell script that caches the results of configure
3983 # tests run on this system so they can be shared between configure
3984 # scripts and configure runs, see configure's option --config-cache.
3985 # It is not useful on other systems. If it contains results you don't
3986 # want to keep, you may remove or edit it.
3988 # config.status only pays attention to the cache file if you give it
3989 # the --recheck option to rerun configure.
3991 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3992 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3997 # The following way of writing the cache mishandles newlines in values,
3998 # but we know of no workaround that is simple, portable, and efficient.
3999 # So, we kill variables containing newlines.
4000 # Ultrix sh set writes to stderr and can't be redirected directly,
4001 # and sets the high bit in the cache file unless we assign to the vars.
4003 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4004 eval ac_val=\$$ac_var
4008 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4009 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4012 _ | IFS | as_nl) ;; #(
4013 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4014 *) $as_unset $ac_var ;;
4020 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4021 *${as_nl}ac_space=\ *)
4022 # `set' does not quote correctly, so add quotes (double-quote
4023 # substitution turns \\\\ into \\, and sed turns \\ into \).
4026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4029 # `set' quotes correctly as required by POSIX, so do not add quotes.
4030 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4039 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4041 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4043 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4044 if test -w "$cache_file"; then
4045 test "x$cache_file" != "x/dev/null" &&
4046 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4047 $as_echo "$as_me: updating cache $cache_file" >&6;}
4048 cat confcache >$cache_file
4050 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4051 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4056 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4057 # Let make expand exec_prefix.
4058 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4060 DEFS=-DHAVE_CONFIG_H
4064 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4065 # 1. Remove the extension, and $U if already installed.
4066 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4067 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4068 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4069 # will be set to the directory where LIBOBJS objects are built.
4070 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4071 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4075 LTLIBOBJS=$ac_ltlibobjs
4079 : ${CONFIG_STATUS=./config.status}
4081 ac_clean_files_save=$ac_clean_files
4082 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4083 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4084 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4085 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4087 # Generated by $as_me.
4088 # Run this file to recreate the current configuration.
4089 # Compiler output produced by configure, useful for debugging
4090 # configure, is in config.log if it exists.
4095 SHELL=\${CONFIG_SHELL-$SHELL}
4098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4099 ## --------------------- ##
4100 ## M4sh Initialization. ##
4101 ## --------------------- ##
4103 # Be more Bourne compatible
4104 DUALCASE=1; export DUALCASE # for MKS sh
4105 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4108 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4109 # is contrary to our usage. Disable this feature.
4110 alias -g '${1+"$@"}'='"$@"'
4111 setopt NO_GLOB_SUBST
4113 case `(set -o) 2>/dev/null` in
4114 *posix*) set -o posix ;;
4123 # Avoid depending upon Character Ranges.
4124 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4125 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4126 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4127 as_cr_digits='0123456789'
4128 as_cr_alnum=$as_cr_Letters$as_cr_digits
4133 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4134 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4135 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4136 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4137 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4138 as_echo='printf %s\n'
4139 as_echo_n='printf %s'
4141 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4142 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4143 as_echo_n='/usr/ucb/echo -n'
4145 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4146 as_echo_n_body='eval
4150 expr "X$arg" : "X\\(.*\\)$as_nl";
4151 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4153 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4155 export as_echo_n_body
4156 as_echo_n='sh -c $as_echo_n_body as_echo'
4159 as_echo='sh -c $as_echo_body as_echo'
4162 # The user is always right.
4163 if test "${PATH_SEPARATOR+set}" != set; then
4165 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4166 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4171 # Support unset when possible.
4172 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4180 # We need space, tab and new line, in precisely that order. Quoting is
4181 # there to prevent editors from complaining about space-tab.
4182 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4183 # splitting by setting IFS to empty value.)
4186 # Find who we are. Look in the path if we contain no directory separator.
4188 *[\\/]* ) as_myself=$0 ;;
4189 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4193 test -z "$as_dir" && as_dir=.
4194 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4200 # We did not find ourselves, most probably we were run as `sh COMMAND'
4201 # in which case we are not to be found in the path.
4202 if test "x$as_myself" = x; then
4205 if test ! -f "$as_myself"; then
4206 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4207 { (exit 1); exit 1; }
4210 # Work around bugs in pre-3.0 UWIN ksh.
4211 for as_var in ENV MAIL MAILPATH
4212 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4224 # Required to use basename.
4225 if expr a : '\(a\)' >/dev/null 2>&1 &&
4226 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4232 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4233 as_basename=basename
4239 # Name of the executable.
4240 as_me=`$as_basename -- "$0" ||
4241 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4242 X"$0" : 'X\(//\)$' \| \
4243 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4245 sed '/^.*\/\([^/][^/]*\)\/*$/{
4266 test "x$as_lineno_1" != "x$as_lineno_2" &&
4267 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4269 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4270 # uniformly replaced by the line number. The first 'sed' inserts a
4271 # line-number line after each line using $LINENO; the second 'sed'
4272 # does the real work. The second script uses 'N' to pair each
4273 # line-number line with the line containing $LINENO, and appends
4274 # trailing '-' during substitution so that $LINENO is not a special
4276 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4277 # scripts with optimization help from Paolo Bonzini. Blame Lee
4278 # E. McMahon (1931-1989) for sed's syntax. :-)
4290 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4294 chmod +x "$as_me.lineno" ||
4295 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4296 { (exit 1); exit 1; }; }
4298 # Don't try to exec as it changes $[0], causing all sort of problems
4299 # (the dirname of $[0] is not the place where we might find the
4300 # original and so on. Autoconf is especially sensitive to this).
4302 # Exit status is that of the last command.
4307 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4313 ECHO_C= ECHO_N= ECHO_T=
4316 case `echo 'x\c'` in
4317 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4323 if expr a : '\(a\)' >/dev/null 2>&1 &&
4324 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4330 rm -f conf$$ conf$$.exe conf$$.file
4331 if test -d conf$$.dir; then
4332 rm -f conf$$.dir/conf$$.file
4335 mkdir conf$$.dir 2>/dev/null
4337 if (echo >conf$$.file) 2>/dev/null; then
4338 if ln -s conf$$.file conf$$ 2>/dev/null; then
4340 # ... but there are two gotchas:
4341 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4342 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4343 # In both cases, we have to default to `cp -p'.
4344 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4346 elif ln conf$$.file conf$$ 2>/dev/null; then
4354 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4355 rmdir conf$$.dir 2>/dev/null
4357 if mkdir -p . 2>/dev/null; then
4360 test -d ./-p && rmdir ./-p
4364 if test -x / >/dev/null 2>&1; then
4367 if ls -dL / >/dev/null 2>&1; then
4374 if test -d "$1"; then
4380 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4381 ???[sx]*):;;*)false;;esac;fi
4385 as_executable_p=$as_test_x
4387 # Sed expression to map a string onto a valid CPP name.
4388 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4390 # Sed expression to map a string onto a valid variable name.
4391 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4396 # Save the log message, to keep $[0] and so on meaningful, and to
4397 # report actual input values of CONFIG_FILES etc. instead of their
4398 # values after options handling.
4400 This file was extended by $as_me, which was
4401 generated by GNU Autoconf 2.63. Invocation command line was
4403 CONFIG_FILES = $CONFIG_FILES
4404 CONFIG_HEADERS = $CONFIG_HEADERS
4405 CONFIG_LINKS = $CONFIG_LINKS
4406 CONFIG_COMMANDS = $CONFIG_COMMANDS
4409 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4414 case $ac_config_files in *"
4415 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4418 case $ac_config_headers in *"
4419 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4424 # Files that config.status was made for.
4425 config_files="$ac_config_files"
4426 config_headers="$ac_config_headers"
4427 config_commands="$ac_config_commands"
4431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4433 \`$as_me' instantiates files from templates according to the
4434 current configuration.
4436 Usage: $0 [OPTION]... [FILE]...
4438 -h, --help print this help, then exit
4439 -V, --version print version number and configuration settings, then exit
4440 -q, --quiet, --silent
4441 do not print progress messages
4442 -d, --debug don't remove temporary files
4443 --recheck update $as_me by reconfiguring in the same conditions
4444 --file=FILE[:TEMPLATE]
4445 instantiate the configuration file FILE
4446 --header=FILE[:TEMPLATE]
4447 instantiate the configuration header FILE
4449 Configuration files:
4452 Configuration headers:
4455 Configuration commands:
4458 Report bugs to <bug-autoconf@gnu.org>."
4461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4464 configured by $0, generated by GNU Autoconf 2.63,
4465 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4467 Copyright (C) 2008 Free Software Foundation, Inc.
4468 This config.status script is free software; the Free Software Foundation
4469 gives unlimited permission to copy, distribute and modify it."
4473 test -n "\$AWK" || AWK=awk
4476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4477 # The default lists apply if the user does not specify any file.
4483 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4484 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4495 # Handling of the options.
4496 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4498 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4499 $as_echo "$ac_cs_version"; exit ;;
4500 --debug | --debu | --deb | --de | --d | -d )
4502 --file | --fil | --fi | --f )
4505 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4507 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4508 ac_need_defaults=false;;
4509 --header | --heade | --head | --hea )
4512 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4514 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
4515 ac_need_defaults=false;;
4517 # Conflict between --help and --header
4518 { $as_echo "$as_me: error: ambiguous option: $1
4519 Try \`$0 --help' for more information." >&2
4520 { (exit 1); exit 1; }; };;
4521 --help | --hel | -h )
4522 $as_echo "$ac_cs_usage"; exit ;;
4523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4524 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4528 -*) { $as_echo "$as_me: error: unrecognized option: $1
4529 Try \`$0 --help' for more information." >&2
4530 { (exit 1); exit 1; }; } ;;
4532 *) ac_config_targets="$ac_config_targets $1"
4533 ac_need_defaults=false ;;
4539 ac_configure_extra_args=
4541 if $ac_cs_silent; then
4543 ac_configure_extra_args="$ac_configure_extra_args --silent"
4547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4548 if \$ac_cs_recheck; then
4549 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4551 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4552 CONFIG_SHELL='$SHELL'
4558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4562 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4563 ## Running $as_me. ##
4569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4574 # Handling of arguments.
4575 for ac_config_target in $ac_config_targets
4577 case $ac_config_target in
4578 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
4579 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4580 "pcre.h") CONFIG_FILES="$CONFIG_FILES pcre.h:pcre.in" ;;
4581 "pcre-config") CONFIG_FILES="$CONFIG_FILES pcre-config" ;;
4582 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4584 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4585 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4586 { (exit 1); exit 1; }; };;
4591 # If the user did not use the arguments to specify the items to instantiate,
4592 # then the envvar interface is used. Set only those that are not.
4593 # We use the long form for the default assignment because of an extremely
4594 # bizarre bug on SunOS 4.1.3.
4595 if $ac_need_defaults; then
4596 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4597 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4598 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4601 # Have a temporary directory for convenience. Make it in the build tree
4602 # simply because there is no reason against having it here, and in addition,
4603 # creating and moving files from /tmp can sometimes cause problems.
4604 # Hook for its removal unless debugging.
4605 # Note that there is a small window in which the directory will not be cleaned:
4606 # after its creation but before its name has been assigned to `$tmp'.
4610 trap 'exit_status=$?
4611 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4613 trap '{ (exit 1); exit 1; }' 1 2 13 15
4615 # Create a (secure) tmp directory for tmp files.
4618 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4619 test -n "$tmp" && test -d "$tmp"
4622 tmp=./conf$$-$RANDOM
4623 (umask 077 && mkdir "$tmp")
4626 $as_echo "$as_me: cannot create a temporary directory in ." >&2
4627 { (exit 1); exit 1; }
4630 # Set up the scripts for CONFIG_FILES section.
4631 # No need to generate them if there are no CONFIG_FILES.
4632 # This happens for instance with `./config.status config.h'.
4633 if test -n "$CONFIG_FILES"; then
4637 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4638 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4644 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4649 echo "cat >conf$$subs.awk <<_ACEOF" &&
4650 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4653 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4654 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4655 { (exit 1); exit 1; }; }
4656 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4658 for ac_last_try in false false false false false :; do
4659 . ./conf$$subs.sh ||
4660 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4661 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4662 { (exit 1); exit 1; }; }
4664 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4665 if test $ac_delim_n = $ac_delim_num; then
4667 elif $ac_last_try; then
4668 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4669 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4670 { (exit 1); exit 1; }; }
4672 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4678 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4682 s/^/S["/; s/!.*/"]=/
4692 s/\(.\{148\}\).*/\1/
4694 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4699 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4706 s/\(.\{148\}\).*/\1/
4708 s/["\\]/\\&/g; s/^/"/; s/$/"/
4712 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4717 ' <conf$$subs.awk | sed '
4722 ' >>$CONFIG_STATUS || ac_write_fail=1
4723 rm -f conf$$subs.awk
4724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4726 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4727 for (key in S) S_is_set[key] = 1
4733 nfields = split(line, field, "@")
4735 len = length(field[1])
4736 for (i = 2; i < nfields; i++) {
4738 keylen = length(key)
4739 if (S_is_set[key]) {
4741 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4742 len += length(value) + length(field[++i])
4753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4754 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4755 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4758 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4759 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4760 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
4761 { (exit 1); exit 1; }; }
4764 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4765 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4766 # trailing colons and then remove the whole line if VPATH becomes empty
4767 # (actually we leave an empty line to preserve line numbers).
4768 if test "x$srcdir" = x.; then
4769 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4773 s/^\([^=]*=[ ]*\):*/\1/
4779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4780 fi # test -n "$CONFIG_FILES"
4782 # Set up the scripts for CONFIG_HEADERS section.
4783 # No need to generate them if there are no CONFIG_HEADERS.
4784 # This happens for instance with `./config.status Makefile'.
4785 if test -n "$CONFIG_HEADERS"; then
4786 cat >"$tmp/defines.awk" <<\_ACAWK ||
4790 # Transform confdefs.h into an awk script `defines.awk', embedded as
4791 # here-document in config.status, that substitutes the proper values into
4792 # config.h.in to produce config.h.
4794 # Create a delimiter string that does not exist in confdefs.h, to ease
4795 # handling of long lines.
4797 for ac_last_try in false false :; do
4798 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4799 if test -z "$ac_t"; then
4801 elif $ac_last_try; then
4802 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
4803 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
4804 { (exit 1); exit 1; }; }
4806 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4810 # For the awk script, D is an array of macro values keyed by name,
4811 # likewise P contains macro parameters if any. Preserve backslash
4812 # newline sequences.
4814 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4816 s/.\{148\}/&'"$ac_delim"'/g
4819 s/^[ ]*#[ ]*define[ ][ ]*/ /
4826 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4828 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4832 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4833 D["\1"]=" \3\\\\\\n"\\/p
4835 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4840 s/.\{148\}/&'"$ac_delim"'/g
4845 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4848 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4850 ' <confdefs.h | sed '
4851 s/'"$ac_delim"'/"\\\
4852 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4855 for (key in D) D_is_set[key] = 1
4858 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4860 split(line, arg, " ")
4861 if (arg[1] == "#") {
4865 defundef = substr(arg[1], 2)
4868 split(mac1, mac2, "(") #)
4870 prefix = substr(line, 1, index(line, defundef) - 1)
4871 if (D_is_set[macro]) {
4872 # Preserve the white space surrounding the "#".
4873 print prefix "define", macro P[macro] D[macro]
4876 # Replace #undef with comments. This is necessary, for example,
4877 # in the case of _POSIX_SOURCE, which is predefined and required
4878 # on some systems where configure will not decide to define it.
4879 if (defundef == "undef") {
4880 print "/*", prefix defundef, macro, "*/"
4888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4889 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
4890 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
4891 { (exit 1); exit 1; }; }
4892 fi # test -n "$CONFIG_HEADERS"
4895 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
4900 :[FHLC]) ac_mode=$ac_tag; continue;;
4902 case $ac_mode$ac_tag in
4904 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4905 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4906 { (exit 1); exit 1; }; };;
4907 :[FH]-) ac_tag=-:-;;
4908 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4925 -) ac_f="$tmp/stdin";;
4926 *) # Look for the file first in the build tree, then in the source tree
4927 # (if the path is not absolute). The absolute path cannot be DOS-style,
4928 # because $ac_f cannot contain `:'.
4932 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4934 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4935 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4936 { (exit 1); exit 1; }; };;
4938 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4939 ac_file_inputs="$ac_file_inputs '$ac_f'"
4942 # Let's still pretend it is `configure' which instantiates (i.e., don't
4943 # use $as_me), people would be surprised to read:
4944 # /* config.h. Generated by config.status. */
4945 configure_input='Generated from '`
4946 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4948 if test x"$ac_file" != x-; then
4949 configure_input="$ac_file. $configure_input"
4950 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4951 $as_echo "$as_me: creating $ac_file" >&6;}
4953 # Neutralize special characters interpreted by sed in replacement strings.
4954 case $configure_input in #(
4955 *\&* | *\|* | *\\* )
4956 ac_sed_conf_input=`$as_echo "$configure_input" |
4957 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4958 *) ac_sed_conf_input=$configure_input;;
4962 *:-:* | *:-) cat >"$tmp/stdin" \
4963 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4964 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4965 { (exit 1); exit 1; }; } ;;
4970 ac_dir=`$as_dirname -- "$ac_file" ||
4971 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4972 X"$ac_file" : 'X\(//\)[^/]' \| \
4973 X"$ac_file" : 'X\(//\)$' \| \
4974 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4975 $as_echo X"$ac_file" |
4976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4995 -*) as_dir=./$as_dir;;
4997 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5001 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5002 *) as_qdir=$as_dir;;
5004 as_dirs="'$as_qdir' $as_dirs"
5005 as_dir=`$as_dirname -- "$as_dir" ||
5006 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5007 X"$as_dir" : 'X\(//\)[^/]' \| \
5008 X"$as_dir" : 'X\(//\)$' \| \
5009 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5010 $as_echo X"$as_dir" |
5011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5028 test -d "$as_dir" && break
5030 test -z "$as_dirs" || eval "mkdir $as_dirs"
5031 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5032 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5033 { (exit 1); exit 1; }; }; }
5037 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5039 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5040 # A ".." for each directory in $ac_dir_suffix.
5041 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5042 case $ac_top_builddir_sub in
5043 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5044 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5047 ac_abs_top_builddir=$ac_pwd
5048 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5049 # for backward compatibility:
5050 ac_top_builddir=$ac_top_build_prefix
5053 .) # We are building in place.
5055 ac_top_srcdir=$ac_top_builddir_sub
5056 ac_abs_top_srcdir=$ac_pwd ;;
5057 [\\/]* | ?:[\\/]* ) # Absolute name.
5058 ac_srcdir=$srcdir$ac_dir_suffix;
5059 ac_top_srcdir=$srcdir
5060 ac_abs_top_srcdir=$srcdir ;;
5062 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5063 ac_top_srcdir=$ac_top_build_prefix$srcdir
5064 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5066 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5078 # If the template does not know about datarootdir, expand it.
5079 # FIXME: This hack should be removed a few years after 2.60.
5080 ac_datarootdir_hack=; ac_datarootdir_seen=
5093 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5094 *datarootdir*) ac_datarootdir_seen=yes;;
5095 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5096 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5097 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5100 ac_datarootdir_hack='
5101 s&@datadir@&$datadir&g
5102 s&@docdir@&$docdir&g
5103 s&@infodir@&$infodir&g
5104 s&@localedir@&$localedir&g
5105 s&@mandir@&$mandir&g
5106 s&\\\${datarootdir}&$datarootdir&g' ;;
5110 # Neutralize VPATH when `$srcdir' = `.'.
5111 # Shell code in configure.ac might set extrasub.
5112 # FIXME: do we really want to maintain this feature?
5113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5114 ac_sed_extra="$ac_vpsub
5117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5120 s|@configure_input@|$ac_sed_conf_input|;t t
5121 s&@top_builddir@&$ac_top_builddir_sub&;t t
5122 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5123 s&@srcdir@&$ac_srcdir&;t t
5124 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5125 s&@top_srcdir@&$ac_top_srcdir&;t t
5126 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5127 s&@builddir@&$ac_builddir&;t t
5128 s&@abs_builddir@&$ac_abs_builddir&;t t
5129 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5130 $ac_datarootdir_hack
5132 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5133 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5134 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5135 { (exit 1); exit 1; }; }
5137 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5138 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5139 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5140 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5141 which seems to be undefined. Please make sure it is defined." >&5
5142 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5143 which seems to be undefined. Please make sure it is defined." >&2;}
5147 -) cat "$tmp/out" && rm -f "$tmp/out";;
5148 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5150 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5151 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5152 { (exit 1); exit 1; }; }
5158 if test x"$ac_file" != x-; then
5160 $as_echo "/* $configure_input */" \
5161 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5162 } >"$tmp/config.h" \
5163 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5164 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5165 { (exit 1); exit 1; }; }
5166 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5167 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5168 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5171 mv "$tmp/config.h" "$ac_file" \
5172 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5173 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5174 { (exit 1); exit 1; }; }
5177 $as_echo "/* $configure_input */" \
5178 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5179 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
5180 $as_echo "$as_me: error: could not create -" >&2;}
5181 { (exit 1); exit 1; }; }
5185 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
5186 $as_echo "$as_me: executing $ac_file commands" >&6;}
5191 case $ac_file$ac_mode in
5192 "default":C) chmod a+x pcre-config ;;
5198 { (exit 0); exit 0; }
5200 chmod +x $CONFIG_STATUS
5201 ac_clean_files=$ac_clean_files_save
5203 test $ac_write_fail = 0 ||
5204 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5205 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5206 { (exit 1); exit 1; }; }
5209 # configure is writing to config.log, and then calls config.status.
5210 # config.status does its own redirection, appending to config.log.
5211 # Unfortunately, on DOS this fails, as config.log is still kept open
5212 # by configure, so config.status won't be able to write to it; its
5213 # output is simply discarded. So we exec the FD to /dev/null,
5214 # effectively closing config.log, so it can be properly (re)opened and
5215 # appended to by config.status. When coming back to configure, we
5216 # need to make the FD available again.
5217 if test "$no_create" != yes; then
5219 ac_config_status_args=
5220 test "$silent" = yes &&
5221 ac_config_status_args="$ac_config_status_args --quiet"
5223 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5225 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5226 # would make configure fail if this is the last instruction.
5227 $ac_cs_success || { (exit 1); exit 1; }
5229 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5230 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5231 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}