2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file="close.c"
589 program_transform_name
649 host_makefile_frag_path
652 ac_subst_files='host_makefile_frag'
653 ac_precious_vars='build_alias
660 # Initialize some variables set by options.
662 ac_init_version=false
663 # The variables have the same names as the options, with
664 # dashes changed to underlines.
672 program_transform_name=s,x,x,
680 # Installation directory options.
681 # These are left unexpanded so users can "make install exec_prefix=/foo"
682 # and all the variables that are supposed to be based on exec_prefix
683 # by default will actually change.
684 # Use braces instead of parens because sh, perl, etc. also accept them.
685 # (The list follows the same order as the GNU Coding Standards.)
686 bindir='${exec_prefix}/bin'
687 sbindir='${exec_prefix}/sbin'
688 libexecdir='${exec_prefix}/libexec'
689 datarootdir='${prefix}/share'
690 datadir='${datarootdir}'
691 sysconfdir='${prefix}/etc'
692 sharedstatedir='${prefix}/com'
693 localstatedir='${prefix}/var'
694 includedir='${prefix}/include'
695 oldincludedir='/usr/include'
696 docdir='${datarootdir}/doc/${PACKAGE}'
697 infodir='${datarootdir}/info'
702 libdir='${exec_prefix}/lib'
703 localedir='${datarootdir}/locale'
704 mandir='${datarootdir}/man'
710 # If the previous option needs an argument, assign it.
711 if test -n "$ac_prev"; then
712 eval $ac_prev=\$ac_option
718 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
722 # Accept the important Cygnus configure options, so we can diagnose typos.
724 case $ac_dashdash$ac_option in
728 -bindir | --bindir | --bindi | --bind | --bin | --bi)
730 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
733 -build | --build | --buil | --bui | --bu)
734 ac_prev=build_alias ;;
735 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
736 build_alias=$ac_optarg ;;
738 -cache-file | --cache-file | --cache-fil | --cache-fi \
739 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
740 ac_prev=cache_file ;;
741 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
742 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
743 cache_file=$ac_optarg ;;
746 cache_file=config.cache ;;
748 -datadir | --datadir | --datadi | --datad)
750 -datadir=* | --datadir=* | --datadi=* | --datad=*)
751 datadir=$ac_optarg ;;
753 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
754 | --dataroo | --dataro | --datar)
755 ac_prev=datarootdir ;;
756 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
757 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
758 datarootdir=$ac_optarg ;;
760 -disable-* | --disable-*)
761 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
762 # Reject names that are not valid shell variable names.
763 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
764 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
765 { (exit 1); exit 1; }; }
766 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
767 eval enable_$ac_feature=no ;;
769 -docdir | --docdir | --docdi | --doc | --do)
771 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
774 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
776 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
779 -enable-* | --enable-*)
780 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
781 # Reject names that are not valid shell variable names.
782 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
783 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
784 { (exit 1); exit 1; }; }
785 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
786 eval enable_$ac_feature=\$ac_optarg ;;
788 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
789 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
790 | --exec | --exe | --ex)
791 ac_prev=exec_prefix ;;
792 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
793 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
794 | --exec=* | --exe=* | --ex=*)
795 exec_prefix=$ac_optarg ;;
797 -gas | --gas | --ga | --g)
798 # Obsolete; use --with-gas.
801 -help | --help | --hel | --he | -h)
803 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
804 ac_init_help=recursive ;;
805 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
806 ac_init_help=short ;;
808 -host | --host | --hos | --ho)
809 ac_prev=host_alias ;;
810 -host=* | --host=* | --hos=* | --ho=*)
811 host_alias=$ac_optarg ;;
813 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
815 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
817 htmldir=$ac_optarg ;;
819 -includedir | --includedir | --includedi | --included | --include \
820 | --includ | --inclu | --incl | --inc)
821 ac_prev=includedir ;;
822 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
823 | --includ=* | --inclu=* | --incl=* | --inc=*)
824 includedir=$ac_optarg ;;
826 -infodir | --infodir | --infodi | --infod | --info | --inf)
828 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
829 infodir=$ac_optarg ;;
831 -libdir | --libdir | --libdi | --libd)
833 -libdir=* | --libdir=* | --libdi=* | --libd=*)
836 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
837 | --libexe | --libex | --libe)
838 ac_prev=libexecdir ;;
839 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
840 | --libexe=* | --libex=* | --libe=*)
841 libexecdir=$ac_optarg ;;
843 -localedir | --localedir | --localedi | --localed | --locale)
845 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
846 localedir=$ac_optarg ;;
848 -localstatedir | --localstatedir | --localstatedi | --localstated \
849 | --localstate | --localstat | --localsta | --localst | --locals)
850 ac_prev=localstatedir ;;
851 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
852 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
853 localstatedir=$ac_optarg ;;
855 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
857 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
861 # Obsolete; use --without-fp.
864 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
865 | --no-cr | --no-c | -n)
868 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
869 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
872 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
873 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
874 | --oldin | --oldi | --old | --ol | --o)
875 ac_prev=oldincludedir ;;
876 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
877 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
878 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
879 oldincludedir=$ac_optarg ;;
881 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
883 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
886 -program-prefix | --program-prefix | --program-prefi | --program-pref \
887 | --program-pre | --program-pr | --program-p)
888 ac_prev=program_prefix ;;
889 -program-prefix=* | --program-prefix=* | --program-prefi=* \
890 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
891 program_prefix=$ac_optarg ;;
893 -program-suffix | --program-suffix | --program-suffi | --program-suff \
894 | --program-suf | --program-su | --program-s)
895 ac_prev=program_suffix ;;
896 -program-suffix=* | --program-suffix=* | --program-suffi=* \
897 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
898 program_suffix=$ac_optarg ;;
900 -program-transform-name | --program-transform-name \
901 | --program-transform-nam | --program-transform-na \
902 | --program-transform-n | --program-transform- \
903 | --program-transform | --program-transfor \
904 | --program-transfo | --program-transf \
905 | --program-trans | --program-tran \
906 | --progr-tra | --program-tr | --program-t)
907 ac_prev=program_transform_name ;;
908 -program-transform-name=* | --program-transform-name=* \
909 | --program-transform-nam=* | --program-transform-na=* \
910 | --program-transform-n=* | --program-transform-=* \
911 | --program-transform=* | --program-transfor=* \
912 | --program-transfo=* | --program-transf=* \
913 | --program-trans=* | --program-tran=* \
914 | --progr-tra=* | --program-tr=* | --program-t=*)
915 program_transform_name=$ac_optarg ;;
917 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
919 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
922 -psdir | --psdir | --psdi | --psd | --ps)
924 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
927 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
928 | -silent | --silent | --silen | --sile | --sil)
931 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
933 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
935 sbindir=$ac_optarg ;;
937 -sharedstatedir | --sharedstatedir | --sharedstatedi \
938 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
939 | --sharedst | --shareds | --shared | --share | --shar \
941 ac_prev=sharedstatedir ;;
942 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
943 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
944 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
946 sharedstatedir=$ac_optarg ;;
948 -site | --site | --sit)
950 -site=* | --site=* | --sit=*)
953 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
955 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
958 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
959 | --syscon | --sysco | --sysc | --sys | --sy)
960 ac_prev=sysconfdir ;;
961 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
962 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
963 sysconfdir=$ac_optarg ;;
965 -target | --target | --targe | --targ | --tar | --ta | --t)
966 ac_prev=target_alias ;;
967 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
968 target_alias=$ac_optarg ;;
970 -v | -verbose | --verbose | --verbos | --verbo | --verb)
973 -version | --version | --versio | --versi | --vers | -V)
977 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
978 # Reject names that are not valid shell variable names.
979 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
980 { echo "$as_me: error: invalid package name: $ac_package" >&2
981 { (exit 1); exit 1; }; }
982 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
983 eval with_$ac_package=\$ac_optarg ;;
985 -without-* | --without-*)
986 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
989 { echo "$as_me: error: invalid package name: $ac_package" >&2
990 { (exit 1); exit 1; }; }
991 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
992 eval with_$ac_package=no ;;
995 # Obsolete; use --with-x.
998 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
999 | --x-incl | --x-inc | --x-in | --x-i)
1000 ac_prev=x_includes ;;
1001 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1002 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1003 x_includes=$ac_optarg ;;
1005 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1006 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1007 ac_prev=x_libraries ;;
1008 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1009 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1010 x_libraries=$ac_optarg ;;
1012 -*) { echo "$as_me: error: unrecognized option: $ac_option
1013 Try \`$0 --help' for more information." >&2
1014 { (exit 1); exit 1; }; }
1018 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1021 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1022 { (exit 1); exit 1; }; }
1023 eval $ac_envvar=\$ac_optarg
1024 export $ac_envvar ;;
1027 # FIXME: should be removed in autoconf 3.0.
1028 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1029 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1030 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1031 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1037 if test -n "$ac_prev"; then
1038 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1039 { echo "$as_me: error: missing argument to $ac_option" >&2
1040 { (exit 1); exit 1; }; }
1043 # Be sure to have absolute directory names.
1044 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1045 datadir sysconfdir sharedstatedir localstatedir includedir \
1046 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1047 libdir localedir mandir
1049 eval ac_val=\$$ac_var
1051 [\\/$]* | ?:[\\/]* ) continue;;
1052 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1054 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1055 { (exit 1); exit 1; }; }
1058 # There might be people who depend on the old broken behavior: `$host'
1059 # used to hold the argument of --host etc.
1060 # FIXME: To remove some day.
1063 target=$target_alias
1065 # FIXME: To remove some day.
1066 if test "x$host_alias" != x; then
1067 if test "x$build_alias" = x; then
1068 cross_compiling=maybe
1069 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1070 If a cross compiler is detected then cross compile mode will be used." >&2
1071 elif test "x$build_alias" != "x$host_alias"; then
1077 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1079 test "$silent" = yes && exec 6>/dev/null
1082 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1083 ac_ls_di=`ls -di .` &&
1084 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1085 { echo "$as_me: error: Working directory cannot be determined" >&2
1086 { (exit 1); exit 1; }; }
1087 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1088 { echo "$as_me: error: pwd does not report name of working directory" >&2
1089 { (exit 1); exit 1; }; }
1092 # Find the source files, if location was not specified.
1093 if test -z "$srcdir"; then
1094 ac_srcdir_defaulted=yes
1095 # Try the directory containing this script, then the parent directory.
1096 ac_confdir=`$as_dirname -- "$0" ||
1097 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1098 X"$0" : 'X\(//\)[^/]' \| \
1099 X"$0" : 'X\(//\)$' \| \
1100 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1120 if test ! -r "$srcdir/$ac_unique_file"; then
1124 ac_srcdir_defaulted=no
1126 if test ! -r "$srcdir/$ac_unique_file"; then
1127 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1128 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1129 { (exit 1); exit 1; }; }
1131 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1133 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1134 { (exit 1); exit 1; }; }
1136 # When building in place, set srcdir=.
1137 if test "$ac_abs_confdir" = "$ac_pwd"; then
1140 # Remove unnecessary trailing slashes from srcdir.
1141 # Double slashes in file names in object file debugging info
1142 # mess up M-x gdb in Emacs.
1144 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1146 for ac_var in $ac_precious_vars; do
1147 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1148 eval ac_env_${ac_var}_value=\$${ac_var}
1149 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1150 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1154 # Report the --help message.
1156 if test "$ac_init_help" = "long"; then
1157 # Omit some internal or obsolete options to make the list less imposing.
1158 # This message is too long to be a string in the A/UX 3.1 sh.
1160 \`configure' configures this package to adapt to many kinds of systems.
1162 Usage: $0 [OPTION]... [VAR=VALUE]...
1164 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1165 VAR=VALUE. See below for descriptions of some of the useful variables.
1167 Defaults for the options are specified in brackets.
1170 -h, --help display this help and exit
1171 --help=short display options specific to this package
1172 --help=recursive display the short help of all the included packages
1173 -V, --version display version information and exit
1174 -q, --quiet, --silent do not print \`checking...' messages
1175 --cache-file=FILE cache test results in FILE [disabled]
1176 -C, --config-cache alias for \`--cache-file=config.cache'
1177 -n, --no-create do not create output files
1178 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1180 Installation directories:
1181 --prefix=PREFIX install architecture-independent files in PREFIX
1182 [$ac_default_prefix]
1183 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1186 By default, \`make install' will install all the files in
1187 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1188 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1189 for instance \`--prefix=\$HOME'.
1191 For better control, use the options below.
1193 Fine tuning of the installation directories:
1194 --bindir=DIR user executables [EPREFIX/bin]
1195 --sbindir=DIR system admin executables [EPREFIX/sbin]
1196 --libexecdir=DIR program executables [EPREFIX/libexec]
1197 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1198 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1199 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1200 --libdir=DIR object code libraries [EPREFIX/lib]
1201 --includedir=DIR C header files [PREFIX/include]
1202 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1203 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1204 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1205 --infodir=DIR info documentation [DATAROOTDIR/info]
1206 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1207 --mandir=DIR man documentation [DATAROOTDIR/man]
1208 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1209 --htmldir=DIR html documentation [DOCDIR]
1210 --dvidir=DIR dvi documentation [DOCDIR]
1211 --pdfdir=DIR pdf documentation [DOCDIR]
1212 --psdir=DIR ps documentation [DOCDIR]
1218 --program-prefix=PREFIX prepend PREFIX to installed program names
1219 --program-suffix=SUFFIX append SUFFIX to installed program names
1220 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1223 --build=BUILD configure for building on BUILD [guessed]
1224 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1225 --target=TARGET configure for building compilers for TARGET [HOST]
1229 if test -n "$ac_init_help"; then
1234 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1235 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1236 --disable-dependency-tracking speeds up one-time build
1237 --enable-dependency-tracking do not reject slow dependency extractors
1239 Some influential environment variables:
1240 CCAS assembler compiler command (defaults to CC)
1241 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1243 Use these variables to override the choices made by `configure' or to help
1244 it to find libraries and programs with nonstandard names/locations.
1250 if test "$ac_init_help" = "recursive"; then
1251 # If there are subdirs, report their specific --help.
1252 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1253 test -d "$ac_dir" || continue
1257 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1259 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1260 # A ".." for each directory in $ac_dir_suffix.
1261 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1262 case $ac_top_builddir_sub in
1263 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1264 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1267 ac_abs_top_builddir=$ac_pwd
1268 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1269 # for backward compatibility:
1270 ac_top_builddir=$ac_top_build_prefix
1273 .) # We are building in place.
1275 ac_top_srcdir=$ac_top_builddir_sub
1276 ac_abs_top_srcdir=$ac_pwd ;;
1277 [\\/]* | ?:[\\/]* ) # Absolute name.
1278 ac_srcdir=$srcdir$ac_dir_suffix;
1279 ac_top_srcdir=$srcdir
1280 ac_abs_top_srcdir=$srcdir ;;
1282 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1283 ac_top_srcdir=$ac_top_build_prefix$srcdir
1284 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1286 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1288 cd "$ac_dir" || { ac_status=$?; continue; }
1289 # Check for guested configure.
1290 if test -f "$ac_srcdir/configure.gnu"; then
1292 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1293 elif test -f "$ac_srcdir/configure"; then
1295 $SHELL "$ac_srcdir/configure" --help=recursive
1297 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1299 cd "$ac_pwd" || { ac_status=$?; break; }
1303 test -n "$ac_init_help" && exit $ac_status
1304 if $ac_init_version; then
1307 generated by GNU Autoconf 2.61
1309 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1310 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1311 This configure script is free software; the Free Software Foundation
1312 gives unlimited permission to copy, distribute and modify it.
1316 cat >config.log <<_ACEOF
1317 This file contains any messages produced by compilers while
1318 running configure, to aid debugging if configure makes a mistake.
1320 It was created by $as_me, which was
1321 generated by GNU Autoconf 2.61. Invocation command line was
1333 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1334 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1335 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1336 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1337 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1339 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1340 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1342 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1343 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1344 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1345 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1346 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1347 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1348 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1356 test -z "$as_dir" && as_dir=.
1357 echo "PATH: $as_dir"
1373 # Keep a trace of the command line.
1374 # Strip out --no-create and --no-recursion so they do not pile up.
1375 # Strip out --silent because we don't want to record it for future runs.
1376 # Also quote any args containing shell meta-characters.
1377 # Make two passes to allow for proper duplicate-argument suppression.
1381 ac_must_keep_next=false
1387 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1388 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1389 | -silent | --silent | --silen | --sile | --sil)
1392 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1395 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1397 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1398 if test $ac_must_keep_next = true; then
1399 ac_must_keep_next=false # Got value, back to normal.
1402 *=* | --config-cache | -C | -disable-* | --disable-* \
1403 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1404 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1405 | -with-* | --with-* | -without-* | --without-* | --x)
1406 case "$ac_configure_args0 " in
1407 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1410 -* ) ac_must_keep_next=true ;;
1413 ac_configure_args="$ac_configure_args '$ac_arg'"
1418 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1419 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1421 # When interrupted or exit'd, cleanup temporary files, and complete
1422 # config.log. We remove comments because anyway the quotes in there
1423 # would cause problems or look ugly.
1424 # WARNING: Use '\'' to represent an apostrophe within the trap.
1425 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1426 trap 'exit_status=$?
1427 # Save into config.log some information that might help in debugging.
1432 ## ---------------- ##
1433 ## Cache variables. ##
1434 ## ---------------- ##
1437 # The following way of writing the cache mishandles newlines in values,
1439 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1440 eval ac_val=\$$ac_var
1444 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1445 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1448 _ | IFS | as_nl) ;; #(
1449 *) $as_unset $ac_var ;;
1454 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1455 *${as_nl}ac_space=\ *)
1457 "s/'\''/'\''\\\\'\'''\''/g;
1458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1461 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1469 ## ----------------- ##
1470 ## Output variables. ##
1471 ## ----------------- ##
1474 for ac_var in $ac_subst_vars
1476 eval ac_val=\$$ac_var
1478 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1480 echo "$ac_var='\''$ac_val'\''"
1484 if test -n "$ac_subst_files"; then
1486 ## ------------------- ##
1487 ## File substitutions. ##
1488 ## ------------------- ##
1491 for ac_var in $ac_subst_files
1493 eval ac_val=\$$ac_var
1495 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1497 echo "$ac_var='\''$ac_val'\''"
1502 if test -s confdefs.h; then
1512 test "$ac_signal" != 0 &&
1513 echo "$as_me: caught signal $ac_signal"
1514 echo "$as_me: exit $exit_status"
1516 rm -f core *.core core.conftest.* &&
1517 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1520 for ac_signal in 1 2 13 15; do
1521 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1525 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1526 rm -f -r conftest* confdefs.h
1528 # Predefined preprocessor variables.
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_NAME "$PACKAGE_NAME"
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1540 cat >>confdefs.h <<_ACEOF
1541 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_STRING "$PACKAGE_STRING"
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1555 # Let the site file select an alternate cache file if it wants to.
1556 # Prefer explicitly selected file to automatically selected ones.
1557 if test -n "$CONFIG_SITE"; then
1558 set x "$CONFIG_SITE"
1559 elif test "x$prefix" != xNONE; then
1560 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1562 set x "$ac_default_prefix/share/config.site" \
1563 "$ac_default_prefix/etc/config.site"
1568 if test -r "$ac_site_file"; then
1569 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1570 echo "$as_me: loading site script $ac_site_file" >&6;}
1571 sed 's/^/| /' "$ac_site_file" >&5
1576 if test -r "$cache_file"; then
1577 # Some versions of bash will fail to source /dev/null (special
1578 # files actually), so we avoid doing that.
1579 if test -f "$cache_file"; then
1580 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1581 echo "$as_me: loading cache $cache_file" >&6;}
1583 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1584 *) . "./$cache_file";;
1588 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1589 echo "$as_me: creating cache $cache_file" >&6;}
1593 # Check that the precious variables saved in the cache have kept the same
1595 ac_cache_corrupted=false
1596 for ac_var in $ac_precious_vars; do
1597 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1598 eval ac_new_set=\$ac_env_${ac_var}_set
1599 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1600 eval ac_new_val=\$ac_env_${ac_var}_value
1601 case $ac_old_set,$ac_new_set in
1603 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1604 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1605 ac_cache_corrupted=: ;;
1607 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1608 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1609 ac_cache_corrupted=: ;;
1612 if test "x$ac_old_val" != "x$ac_new_val"; then
1613 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1614 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1615 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1616 echo "$as_me: former value: $ac_old_val" >&2;}
1617 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1618 echo "$as_me: current value: $ac_new_val" >&2;}
1619 ac_cache_corrupted=:
1622 # Pass precious variables to config.status.
1623 if test "$ac_new_set" = set; then
1625 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1626 *) ac_arg=$ac_var=$ac_new_val ;;
1628 case " $ac_configure_args " in
1629 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1630 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1634 if $ac_cache_corrupted; then
1635 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1636 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1637 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1638 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1639 { (exit 1); exit 1; }; }
1659 ac_cpp='$CPP $CPPFLAGS'
1660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1665 ac_config_headers="$ac_config_headers config.h"
1668 if test "${enable_shared}" = "yes" ; then
1669 echo "Shared libraries not supported for cross compiling, ignored"
1672 if test "$srcdir" = "." ; then
1673 if test "${with_target_subdir}" != "." ; then
1674 libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
1676 libgloss_topdir="${srcdir}/${with_multisrctop}../.."
1679 libgloss_topdir="${srcdir}/../.."
1682 for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
1683 if test -f "$ac_dir/install-sh"; then
1685 ac_install_sh="$ac_aux_dir/install-sh -c"
1687 elif test -f "$ac_dir/install.sh"; then
1689 ac_install_sh="$ac_aux_dir/install.sh -c"
1691 elif test -f "$ac_dir/shtool"; then
1693 ac_install_sh="$ac_aux_dir/shtool install -c"
1697 if test -z "$ac_aux_dir"; then
1698 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
1699 echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
1700 { (exit 1); exit 1; }; }
1703 # These three variables are undocumented and unsupported,
1704 # and are intended to be withdrawn in a future Autoconf release.
1705 # They can cause serious problems if a builder's source tree is in a directory
1706 # whose full name contains unusual characters.
1707 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1708 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1709 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1713 # Make sure we can run config.sub.
1714 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1715 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1716 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1717 { (exit 1); exit 1; }; }
1719 { echo "$as_me:$LINENO: checking build system type" >&5
1720 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1721 if test "${ac_cv_build+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 ac_build_alias=$build_alias
1725 test "x$ac_build_alias" = x &&
1726 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1727 test "x$ac_build_alias" = x &&
1728 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1729 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1730 { (exit 1); exit 1; }; }
1731 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1732 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1733 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1734 { (exit 1); exit 1; }; }
1737 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1738 echo "${ECHO_T}$ac_cv_build" >&6; }
1739 case $ac_cv_build in
1741 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1742 echo "$as_me: error: invalid value of canonical build" >&2;}
1743 { (exit 1); exit 1; }; };;
1746 ac_save_IFS=$IFS; IFS='-'
1752 # Remember, the first character of IFS is used to create $*,
1753 # except with old shells:
1756 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1759 { echo "$as_me:$LINENO: checking host system type" >&5
1760 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1761 if test "${ac_cv_host+set}" = set; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1764 if test "x$host_alias" = x; then
1765 ac_cv_host=$ac_cv_build
1767 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1768 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1769 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1770 { (exit 1); exit 1; }; }
1774 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1775 echo "${ECHO_T}$ac_cv_host" >&6; }
1778 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1779 echo "$as_me: error: invalid value of canonical host" >&2;}
1780 { (exit 1); exit 1; }; };;
1783 ac_save_IFS=$IFS; IFS='-'
1789 # Remember, the first character of IFS is used to create $*,
1790 # except with old shells:
1793 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1796 { echo "$as_me:$LINENO: checking target system type" >&5
1797 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1798 if test "${ac_cv_target+set}" = set; then
1799 echo $ECHO_N "(cached) $ECHO_C" >&6
1801 if test "x$target_alias" = x; then
1802 ac_cv_target=$ac_cv_host
1804 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1805 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1806 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1807 { (exit 1); exit 1; }; }
1811 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1812 echo "${ECHO_T}$ac_cv_target" >&6; }
1813 case $ac_cv_target in
1815 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1816 echo "$as_me: error: invalid value of canonical target" >&2;}
1817 { (exit 1); exit 1; }; };;
1819 target=$ac_cv_target
1820 ac_save_IFS=$IFS; IFS='-'
1826 # Remember, the first character of IFS is used to create $*,
1827 # except with old shells:
1830 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1833 # The aliases save the names the user supplied, while $host etc.
1834 # will get canonicalized.
1835 test -n "$target_alias" &&
1836 test "$program_prefix$program_suffix$program_transform_name" = \
1838 program_prefix=${target_alias}-
1839 test "$program_prefix" != NONE &&
1840 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1841 # Use a double $ so make ignores it.
1842 test "$program_suffix" != NONE &&
1843 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1844 # Double any \ or $. echo might interpret backslashes.
1845 # By default was `s,x,x', remove it if useless.
1846 cat <<\_ACEOF >conftest.sed
1847 s/[\\$]/&&/g;s/;s,x,x,$//
1849 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1853 # Find a good install program. We prefer a C program (faster),
1854 # so one script is as good as another. But avoid the broken or
1855 # incompatible versions:
1856 # SysV /etc/install, /usr/sbin/install
1857 # SunOS /usr/etc/install
1858 # IRIX /sbin/install
1860 # AmigaOS /C/install, which installs bootblocks on floppy discs
1861 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1862 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1863 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1864 # OS/2's system install, which has a completely different semantic
1865 # ./install, which can be erroneously created by make from ./install.sh.
1866 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1867 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1868 if test -z "$INSTALL"; then
1869 if test "${ac_cv_path_install+set}" = set; then
1870 echo $ECHO_N "(cached) $ECHO_C" >&6
1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1876 test -z "$as_dir" && as_dir=.
1877 # Account for people who put trailing slashes in PATH elements.
1879 ./ | .// | /cC/* | \
1880 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1881 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1884 # OSF1 and SCO ODT 3.0 have their own names for install.
1885 # Don't use installbsd from OSF since it installs stuff as root
1887 for ac_prog in ginstall scoinst install; do
1888 for ac_exec_ext in '' $ac_executable_extensions; do
1889 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1890 if test $ac_prog = install &&
1891 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1892 # AIX install. It has an incompatible calling convention.
1894 elif test $ac_prog = install &&
1895 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1896 # program-specific install script used by HP pwplus--don't use.
1899 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1912 if test "${ac_cv_path_install+set}" = set; then
1913 INSTALL=$ac_cv_path_install
1915 # As a last resort, use the slow shell script. Don't cache a
1916 # value for INSTALL within a source directory, because that will
1917 # break other packages using the cache if that directory is
1918 # removed, or if the value is a relative name.
1919 INSTALL=$ac_install_sh
1922 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1923 echo "${ECHO_T}$INSTALL" >&6; }
1925 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1926 # It thinks the first close brace ends the variable substitution.
1927 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1929 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1931 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1934 cat >>confdefs.h <<\_ACEOF
1935 #define HAVE_GNU_LD 1
1953 cris-*-* | crisv32-*-*)
1992 cat >>confdefs.h <<\_ACEOF
1993 #define MISSING_SYSCALL_NAMES 1
2001 cat >>confdefs.h <<\_ACEOF
2006 { echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
2007 echo $ECHO_N "checking for .previous assembler directive... $ECHO_C" >&6; }
2008 if test "${libc_cv_asm_previous_directive+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 libc_cv_asm_previous_directive=no
2012 cat > conftest.s <<EOF
2013 .section foo_section
2016 if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
2017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); }; }; then
2022 libc_cv_asm_previous_directive=yes
2026 { echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
2027 echo "${ECHO_T}$libc_cv_asm_previous_directive" >&6; }
2029 if test "x${libc_cv_asm_previous_directive}" = "xyes"; then
2030 cat >>confdefs.h <<\_ACEOF
2031 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
2036 { echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
2037 echo $ECHO_N "checking for .popsection assembler directive... $ECHO_C" >&6; }
2038 if test "${libc_cv_asm_popsection_directive+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 libc_cv_asm_popsection_directive=no
2042 cat > conftest.s <<EOF
2043 .pushsection foo_section
2046 if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
2047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051 (exit $ac_status); }; }; then
2052 libc_cv_asm_popsection_directive=yes
2056 { echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
2057 echo "${ECHO_T}$libc_cv_asm_popsection_directive" >&6; }
2059 if test "x${libc_cv_asm_popsection_directive}" = "xyes"; then
2060 cat >>confdefs.h <<\_ACEOF
2061 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
2066 { echo "$as_me:$LINENO: checking for section attributes" >&5
2067 echo $ECHO_N "checking for section attributes... $ECHO_C" >&6; }
2068 if test "${libc_cv_section_attributes+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 libc_cv_section_attributes=no
2072 cat > conftest.c <<EOF
2073 int secttest __attribute__ ((section (".gnu.warning.secttest"))) = 10;
2076 if { ac_try='${CC-cc} -c $CFLAGS conftest.c 1>&5'
2077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); }; }; then
2082 libc_cv_section_attributes=yes
2086 { echo "$as_me:$LINENO: result: $libc_cv_section_attributes" >&5
2087 echo "${ECHO_T}$libc_cv_section_attributes" >&6; }
2088 if test "x${libc_cv_section_attributes}" = "xyes"; then
2089 cat >>confdefs.h <<\_ACEOF
2090 #define HAVE_SECTION_ATTRIBUTES 1
2097 { echo "$as_me:$LINENO: checking for symbol prefix" >&5
2098 echo $ECHO_N "checking for symbol prefix... $ECHO_C" >&6; }
2099 if test "${libc_symbol_prefix+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 cat > conftest.c <<\EOF
2105 libc_symbol_prefix=none
2106 if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null'
2107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111 (exit $ac_status); }; };
2113 libc_symbol_prefix='$'
2115 if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null'
2116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; };
2122 libc_symbol_prefix=_
2127 { echo "$as_me:$LINENO: result: $libc_symbol_prefix" >&5
2128 echo "${ECHO_T}$libc_symbol_prefix" >&6; }
2129 if test $libc_symbol_prefix != none; then
2130 cat >>confdefs.h <<_ACEOF
2131 #define __SYMBOL_PREFIX "$libc_symbol_prefix"
2135 cat >>confdefs.h <<\_ACEOF
2136 #define __SYMBOL_PREFIX ""
2141 rm -rf .tst 2>/dev/null
2142 mkdir .tst 2>/dev/null
2143 if test -d .tst; then
2148 rmdir .tst 2>/dev/null
2150 DEPDIR="${am__leading_dot}deps"
2152 ac_config_commands="$ac_config_commands depfiles"
2155 am_make=${MAKE-make}
2156 cat > confinc << 'END'
2161 # If we don't find an include directive, just comment out the code.
2162 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2163 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2167 # First try GNU make style include.
2168 echo "include confinc" > confmf
2169 # We grep out `Entering directory' and `Leaving directory'
2170 # messages which can occur if `w' ends up in MAKEFLAGS.
2171 # In particular we don't look at `^make:' because GNU make might
2172 # be invoked under some other name (usually "gmake"), in which
2173 # case it prints its new name instead of `make'.
2174 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2179 # Now try BSD make style include.
2180 if test "$am__include" = "#"; then
2181 echo '.include "confinc"' > confmf
2182 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2183 am__include=.include
2190 { echo "$as_me:$LINENO: result: $_am_result" >&5
2191 echo "${ECHO_T}$_am_result" >&6; }
2192 rm -f confinc confmf
2194 # Check whether --enable-dependency-tracking was given.
2195 if test "${enable_dependency_tracking+set}" = set; then
2196 enableval=$enable_dependency_tracking;
2199 if test "x$enable_dependency_tracking" != xno; then
2200 am_depcomp="$ac_aux_dir/depcomp"
2205 if test "x$enable_dependency_tracking" != xno; then
2215 # Extract the first word of "gcc", so it can be a program name with args.
2216 set dummy gcc; ac_word=$2
2217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2219 if test "${ac_cv_prog_CC+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 if test -n "$CC"; then
2223 ac_cv_prog_CC="$CC" # Let the user override the test.
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir=.
2230 for ac_exec_ext in '' $ac_executable_extensions; do
2231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 if test -n "$CC"; then
2244 { echo "$as_me:$LINENO: result: $CC" >&5
2245 echo "${ECHO_T}$CC" >&6; }
2247 { echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6; }
2253 depcc="$CC" am_compiler_list=
2255 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2256 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2257 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2261 # We make a subdir and do the tests there. Otherwise we can end up
2262 # making bogus files that we don't know about and never remove. For
2263 # instance it was reported that on HP-UX the gcc test will end up
2264 # making a dummy file named `D' -- because `-MD' means `put the output
2267 # Copy depcomp to subdir because otherwise we won't find it if we're
2268 # using a relative directory.
2269 cp "$am_depcomp" conftest.dir
2271 # We will build objects and dependencies in a subdirectory because
2272 # it helps to detect inapplicable dependency modes. For instance
2273 # both Tru64's cc and ICC support -MD to output dependencies as a
2274 # side effect of compilation, but ICC will put the dependencies in
2275 # the current directory while Tru64 will put them in the object
2279 am_cv_CC_dependencies_compiler_type=none
2280 if test "$am_compiler_list" = ""; then
2281 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2283 for depmode in $am_compiler_list; do
2284 # Setup a source with many dependencies, because some compilers
2285 # like to wrap large dependency lists on column 80 (with \), and
2286 # we should not choose a depcomp mode which is confused by this.
2288 # We need to recreate these files for each test, as the compiler may
2289 # overwrite some of them when testing with obscure command lines.
2290 # This happens at least with the AIX C compiler.
2292 for i in 1 2 3 4 5 6; do
2293 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2294 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2295 # Solaris 8's {/usr,}/bin/sh.
2296 touch sub/conftst$i.h
2298 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2302 # after this tag, mechanisms are not by side-effect, so they'll
2303 # only be used when explicitly requested
2304 if test "x$enable_dependency_tracking" = xyes; then
2312 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2313 # mode. It turns out that the SunPro C++ compiler does not properly
2314 # handle `-M -o', and we need to detect this.
2315 if depmode=$depmode \
2316 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2317 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2318 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2319 >/dev/null 2>conftest.err &&
2320 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2321 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2322 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2323 # icc doesn't choke on unknown options, it will just issue warnings
2324 # or remarks (even with -Werror). So we grep stderr for any message
2325 # that says an option was ignored or not supported.
2326 # When given -MP, icc 7.0 and 7.1 complain thusly:
2327 # icc: Command line warning: ignoring option '-M'; no argument required
2328 # The diagnosis changed in icc 8.0:
2329 # icc: Command line remark: option '-MP' not supported
2330 if (grep 'ignoring option' conftest.err ||
2331 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2332 am_cv_CC_dependencies_compiler_type=$depmode
2341 am_cv_CC_dependencies_compiler_type=none
2345 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2346 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
2347 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2352 test "x$enable_dependency_tracking" != xno \
2353 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2355 am__fastdepCC_FALSE='#'
2357 am__fastdepCC_TRUE='#'
2358 am__fastdepCC_FALSE=
2362 if test -z "$CC"; then
2363 # Extract the first word of "cc", so it can be a program name with args.
2364 set dummy cc; ac_word=$2
2365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2367 if test "${ac_cv_prog_CC+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2370 if test -n "$CC"; then
2371 ac_cv_prog_CC="$CC" # Let the user override the test.
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 test -z "$as_dir" && as_dir=.
2379 for ac_exec_ext in '' $ac_executable_extensions; do
2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2381 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2382 ac_prog_rejected=yes
2386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 if test $ac_prog_rejected = yes; then
2394 # We found a bogon in the path, so make sure we never use it.
2395 set dummy $ac_cv_prog_CC
2397 if test $# != 0; then
2398 # We chose a different compiler from the bogus one.
2399 # However, it has the same basename, so the bogon will be chosen
2400 # first if we set CC to just the basename; use the full file name.
2402 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2408 if test -n "$CC"; then
2409 { echo "$as_me:$LINENO: result: $CC" >&5
2410 echo "${ECHO_T}$CC" >&6; }
2412 { echo "$as_me:$LINENO: result: no" >&5
2413 echo "${ECHO_T}no" >&6; }
2417 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2418 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2419 { (exit 1); exit 1; }; }
2422 { echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2423 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
2424 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 cat > conftest.c <<EOF
2432 if { ac_try='${CC-cc} -E conftest.c'
2433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2438 ac_cv_c_compiler_gnu=yes
2440 ac_cv_c_compiler_gnu=no
2443 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2444 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2446 if test $ac_cv_c_compiler_gnu = yes; then
2448 ac_test_CFLAGS="${CFLAGS+set}"
2449 ac_save_CFLAGS="$CFLAGS"
2451 ac_test_CFLAGS=${CFLAGS+set}
2452 ac_save_CFLAGS=$CFLAGS
2453 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2454 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2455 if test "${ac_cv_prog_cc_g+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2458 ac_save_c_werror_flag=$ac_c_werror_flag
2459 ac_c_werror_flag=yes
2462 cat >conftest.$ac_ext <<_ACEOF
2465 cat confdefs.h >>conftest.$ac_ext
2466 cat >>conftest.$ac_ext <<_ACEOF
2467 /* end confdefs.h. */
2477 rm -f conftest.$ac_objext
2478 if { (ac_try="$ac_compile"
2480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2481 *) ac_try_echo=$ac_try;;
2483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2484 (eval "$ac_compile") 2>conftest.er1
2486 grep -v '^ *+' conftest.er1 >conftest.err
2488 cat conftest.err >&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); } && {
2491 test -z "$ac_c_werror_flag" ||
2492 test ! -s conftest.err
2493 } && test -s conftest.$ac_objext; then
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.$ac_ext >&5
2500 cat >conftest.$ac_ext <<_ACEOF
2503 cat confdefs.h >>conftest.$ac_ext
2504 cat >>conftest.$ac_ext <<_ACEOF
2505 /* end confdefs.h. */
2515 rm -f conftest.$ac_objext
2516 if { (ac_try="$ac_compile"
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2522 (eval "$ac_compile") 2>conftest.er1
2524 grep -v '^ *+' conftest.er1 >conftest.err
2526 cat conftest.err >&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); } && {
2529 test -z "$ac_c_werror_flag" ||
2530 test ! -s conftest.err
2531 } && test -s conftest.$ac_objext; then
2534 echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.$ac_ext >&5
2537 ac_c_werror_flag=$ac_save_c_werror_flag
2539 cat >conftest.$ac_ext <<_ACEOF
2542 cat confdefs.h >>conftest.$ac_ext
2543 cat >>conftest.$ac_ext <<_ACEOF
2544 /* end confdefs.h. */
2554 rm -f conftest.$ac_objext
2555 if { (ac_try="$ac_compile"
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_compile") 2>conftest.er1
2563 grep -v '^ *+' conftest.er1 >conftest.err
2565 cat conftest.err >&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); } && {
2568 test -z "$ac_c_werror_flag" ||
2569 test ! -s conftest.err
2570 } && test -s conftest.$ac_objext; then
2573 echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.$ac_ext >&5
2579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2586 ac_c_werror_flag=$ac_save_c_werror_flag
2588 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2589 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2590 if test "$ac_test_CFLAGS" = set; then
2591 CFLAGS=$ac_save_CFLAGS
2592 elif test $ac_cv_prog_cc_g = yes; then
2593 if test "$GCC" = yes; then
2599 if test "$GCC" = yes; then
2605 if test "$ac_test_CFLAGS" = set; then
2606 CFLAGS="$ac_save_CFLAGS"
2607 elif test $ac_cv_prog_cc_g = yes; then
2614 test "${CFLAGS+set}" = set || CFLAGS="-g"
2623 if test -n "$ac_tool_prefix"; then
2624 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2625 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2628 if test "${ac_cv_prog_RANLIB+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 if test -n "$RANLIB"; then
2632 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 test -z "$as_dir" && as_dir=.
2639 for ac_exec_ext in '' $ac_executable_extensions; do
2640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2641 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2651 RANLIB=$ac_cv_prog_RANLIB
2652 if test -n "$RANLIB"; then
2653 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2654 echo "${ECHO_T}$RANLIB" >&6; }
2656 { echo "$as_me:$LINENO: result: no" >&5
2657 echo "${ECHO_T}no" >&6; }
2662 if test -z "$ac_cv_prog_RANLIB"; then
2663 ac_ct_RANLIB=$RANLIB
2664 # Extract the first word of "ranlib", so it can be a program name with args.
2665 set dummy ranlib; ac_word=$2
2666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2668 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 if test -n "$ac_ct_RANLIB"; then
2672 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir=.
2679 for ac_exec_ext in '' $ac_executable_extensions; do
2680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2681 ac_cv_prog_ac_ct_RANLIB="ranlib"
2682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2692 if test -n "$ac_ct_RANLIB"; then
2693 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2694 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2696 { echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6; }
2700 if test "x$ac_ct_RANLIB" = x; then
2703 case $cross_compiling:$ac_tool_warned in
2705 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2706 whose name does not start with the host triplet. If you think this
2707 configuration is useful to you, please write to autoconf@gnu.org." >&5
2708 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2709 whose name does not start with the host triplet. If you think this
2710 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2711 ac_tool_warned=yes ;;
2713 RANLIB=$ac_ct_RANLIB
2716 RANLIB="$ac_cv_prog_RANLIB"
2719 # By default we simply use the C compiler to build assembly code.
2721 test "${CCAS+set}" = set || CCAS=$CC
2722 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2727 host_makefile_frag=${srcdir}/../config/default.mh
2729 host_makefile_frag_path=$host_makefile_frag
2733 ac_config_files="$ac_config_files Makefile"
2735 cat >confcache <<\_ACEOF
2736 # This file is a shell script that caches the results of configure
2737 # tests run on this system so they can be shared between configure
2738 # scripts and configure runs, see configure's option --config-cache.
2739 # It is not useful on other systems. If it contains results you don't
2740 # want to keep, you may remove or edit it.
2742 # config.status only pays attention to the cache file if you give it
2743 # the --recheck option to rerun configure.
2745 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2746 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2751 # The following way of writing the cache mishandles newlines in values,
2752 # but we know of no workaround that is simple, portable, and efficient.
2753 # So, we kill variables containing newlines.
2754 # Ultrix sh set writes to stderr and can't be redirected directly,
2755 # and sets the high bit in the cache file unless we assign to the vars.
2757 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2758 eval ac_val=\$$ac_var
2762 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2763 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2766 _ | IFS | as_nl) ;; #(
2767 *) $as_unset $ac_var ;;
2773 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2774 *${as_nl}ac_space=\ *)
2775 # `set' does not quote correctly, so add quotes (double-quote
2776 # substitution turns \\\\ into \\, and sed turns \\ into \).
2779 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2782 # `set' quotes correctly as required by POSIX, so do not add quotes.
2783 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2792 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2794 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2796 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2797 if test -w "$cache_file"; then
2798 test "x$cache_file" != "x/dev/null" &&
2799 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2800 echo "$as_me: updating cache $cache_file" >&6;}
2801 cat confcache >$cache_file
2803 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2804 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2809 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2810 # Let make expand exec_prefix.
2811 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2813 DEFS=-DHAVE_CONFIG_H
2817 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2818 # 1. Remove the extension, and $U if already installed.
2819 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2820 ac_i=`echo "$ac_i" | sed "$ac_script"`
2821 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2822 # will be set to the directory where LIBOBJS objects are built.
2823 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2824 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2828 LTLIBOBJS=$ac_ltlibobjs
2831 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2832 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2833 Usually this means the macro was only invoked conditionally." >&5
2834 echo "$as_me: error: conditional \"AMDEP\" was never defined.
2835 Usually this means the macro was only invoked conditionally." >&2;}
2836 { (exit 1); exit 1; }; }
2838 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2839 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2840 Usually this means the macro was only invoked conditionally." >&5
2841 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2842 Usually this means the macro was only invoked conditionally." >&2;}
2843 { (exit 1); exit 1; }; }
2846 : ${CONFIG_STATUS=./config.status}
2847 ac_clean_files_save=$ac_clean_files
2848 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2849 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2850 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2851 cat >$CONFIG_STATUS <<_ACEOF
2853 # Generated by $as_me.
2854 # Run this file to recreate the current configuration.
2855 # Compiler output produced by configure, useful for debugging
2856 # configure, is in config.log if it exists.
2861 SHELL=\${CONFIG_SHELL-$SHELL}
2864 cat >>$CONFIG_STATUS <<\_ACEOF
2865 ## --------------------- ##
2866 ## M4sh Initialization. ##
2867 ## --------------------- ##
2869 # Be more Bourne compatible
2870 DUALCASE=1; export DUALCASE # for MKS sh
2871 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2874 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2875 # is contrary to our usage. Disable this feature.
2876 alias -g '${1+"$@"}'='"$@"'
2877 setopt NO_GLOB_SUBST
2879 case `(set -o) 2>/dev/null` in
2880 *posix*) set -o posix ;;
2889 # Avoid depending upon Character Ranges.
2890 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2891 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2892 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2893 as_cr_digits='0123456789'
2894 as_cr_alnum=$as_cr_Letters$as_cr_digits
2896 # The user is always right.
2897 if test "${PATH_SEPARATOR+set}" != set; then
2898 echo "#! /bin/sh" >conf$$.sh
2899 echo "exit 0" >>conf$$.sh
2901 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2909 # Support unset when possible.
2910 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2918 # We need space, tab and new line, in precisely that order. Quoting is
2919 # there to prevent editors from complaining about space-tab.
2920 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2921 # splitting by setting IFS to empty value.)
2926 # Find who we are. Look in the path if we contain no directory separator.
2928 *[\\/]* ) as_myself=$0 ;;
2929 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2933 test -z "$as_dir" && as_dir=.
2934 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2940 # We did not find ourselves, most probably we were run as `sh COMMAND'
2941 # in which case we are not to be found in the path.
2942 if test "x$as_myself" = x; then
2945 if test ! -f "$as_myself"; then
2946 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2947 { (exit 1); exit 1; }
2950 # Work around bugs in pre-3.0 UWIN ksh.
2951 for as_var in ENV MAIL MAILPATH
2952 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2960 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2961 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2962 LC_TELEPHONE LC_TIME
2964 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2965 eval $as_var=C; export $as_var
2967 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2971 # Required to use basename.
2972 if expr a : '\(a\)' >/dev/null 2>&1 &&
2973 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2979 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2980 as_basename=basename
2986 # Name of the executable.
2987 as_me=`$as_basename -- "$0" ||
2988 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2989 X"$0" : 'X\(//\)$' \| \
2990 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2992 sed '/^.*\/\([^/][^/]*\)\/*$/{
3013 test "x$as_lineno_1" != "x$as_lineno_2" &&
3014 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3016 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3017 # uniformly replaced by the line number. The first 'sed' inserts a
3018 # line-number line after each line using $LINENO; the second 'sed'
3019 # does the real work. The second script uses 'N' to pair each
3020 # line-number line with the line containing $LINENO, and appends
3021 # trailing '-' during substitution so that $LINENO is not a special
3023 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3024 # scripts with optimization help from Paolo Bonzini. Blame Lee
3025 # E. McMahon (1931-1989) for sed's syntax. :-)
3037 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3041 chmod +x "$as_me.lineno" ||
3042 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3043 { (exit 1); exit 1; }; }
3045 # Don't try to exec as it changes $[0], causing all sort of problems
3046 # (the dirname of $[0] is not the place where we might find the
3047 # original and so on. Autoconf is especially sensitive to this).
3049 # Exit status is that of the last command.
3054 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3060 ECHO_C= ECHO_N= ECHO_T=
3063 case `echo 'x\c'` in
3064 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3071 if expr a : '\(a\)' >/dev/null 2>&1 &&
3072 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3078 rm -f conf$$ conf$$.exe conf$$.file
3079 if test -d conf$$.dir; then
3080 rm -f conf$$.dir/conf$$.file
3086 if ln -s conf$$.file conf$$ 2>/dev/null; then
3088 # ... but there are two gotchas:
3089 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3090 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3091 # In both cases, we have to default to `cp -p'.
3092 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3094 elif ln conf$$.file conf$$ 2>/dev/null; then
3099 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3100 rmdir conf$$.dir 2>/dev/null
3102 if mkdir -p . 2>/dev/null; then
3105 test -d ./-p && rmdir ./-p
3109 if test -x / >/dev/null 2>&1; then
3112 if ls -dL / >/dev/null 2>&1; then
3119 if test -d "$1"; then
3125 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3126 ???[sx]*):;;*)false;;esac;fi
3130 as_executable_p=$as_test_x
3132 # Sed expression to map a string onto a valid CPP name.
3133 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3135 # Sed expression to map a string onto a valid variable name.
3136 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3141 # Save the log message, to keep $[0] and so on meaningful, and to
3142 # report actual input values of CONFIG_FILES etc. instead of their
3143 # values after options handling.
3145 This file was extended by $as_me, which was
3146 generated by GNU Autoconf 2.61. Invocation command line was
3148 CONFIG_FILES = $CONFIG_FILES
3149 CONFIG_HEADERS = $CONFIG_HEADERS
3150 CONFIG_LINKS = $CONFIG_LINKS
3151 CONFIG_COMMANDS = $CONFIG_COMMANDS
3154 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3159 cat >>$CONFIG_STATUS <<_ACEOF
3160 # Files that config.status was made for.
3161 config_files="$ac_config_files"
3162 config_headers="$ac_config_headers"
3163 config_commands="$ac_config_commands"
3167 cat >>$CONFIG_STATUS <<\_ACEOF
3169 \`$as_me' instantiates files from templates according to the
3170 current configuration.
3172 Usage: $0 [OPTIONS] [FILE]...
3174 -h, --help print this help, then exit
3175 -V, --version print version number and configuration settings, then exit
3176 -q, --quiet do not print progress messages
3177 -d, --debug don't remove temporary files
3178 --recheck update $as_me by reconfiguring in the same conditions
3179 --file=FILE[:TEMPLATE]
3180 instantiate the configuration file FILE
3181 --header=FILE[:TEMPLATE]
3182 instantiate the configuration header FILE
3184 Configuration files:
3187 Configuration headers:
3190 Configuration commands:
3193 Report bugs to <bug-autoconf@gnu.org>."
3196 cat >>$CONFIG_STATUS <<_ACEOF
3199 configured by $0, generated by GNU Autoconf 2.61,
3200 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3202 Copyright (C) 2006 Free Software Foundation, Inc.
3203 This config.status script is free software; the Free Software Foundation
3204 gives unlimited permission to copy, distribute and modify it."
3211 cat >>$CONFIG_STATUS <<\_ACEOF
3212 # If no file are specified by the user, then we need to provide default
3213 # value. By we need to know if files were specified by the user.
3219 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3220 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3231 # Handling of the options.
3232 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3234 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3235 echo "$ac_cs_version"; exit ;;
3236 --debug | --debu | --deb | --de | --d | -d )
3238 --file | --fil | --fi | --f )
3240 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3241 ac_need_defaults=false;;
3242 --header | --heade | --head | --hea )
3244 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3245 ac_need_defaults=false;;
3247 # Conflict between --help and --header
3248 { echo "$as_me: error: ambiguous option: $1
3249 Try \`$0 --help' for more information." >&2
3250 { (exit 1); exit 1; }; };;
3251 --help | --hel | -h )
3252 echo "$ac_cs_usage"; exit ;;
3253 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3254 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3258 -*) { echo "$as_me: error: unrecognized option: $1
3259 Try \`$0 --help' for more information." >&2
3260 { (exit 1); exit 1; }; } ;;
3262 *) ac_config_targets="$ac_config_targets $1"
3263 ac_need_defaults=false ;;
3269 ac_configure_extra_args=
3271 if $ac_cs_silent; then
3273 ac_configure_extra_args="$ac_configure_extra_args --silent"
3277 cat >>$CONFIG_STATUS <<_ACEOF
3278 if \$ac_cs_recheck; then
3279 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3282 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3286 cat >>$CONFIG_STATUS <<\_ACEOF
3290 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3291 ## Running $as_me. ##
3297 cat >>$CONFIG_STATUS <<_ACEOF
3301 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3304 with_multisubdir=${with_multisubdir}
3305 ac_configure_args="${ac_configure_args} --enable-multilib"
3306 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3307 libgloss_topdir=${libgloss_topdir}
3312 cat >>$CONFIG_STATUS <<\_ACEOF
3314 # Handling of arguments.
3315 for ac_config_target in $ac_config_targets
3317 case $ac_config_target in
3318 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3319 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3320 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3322 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3323 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3324 { (exit 1); exit 1; }; };;
3329 # If the user did not use the arguments to specify the items to instantiate,
3330 # then the envvar interface is used. Set only those that are not.
3331 # We use the long form for the default assignment because of an extremely
3332 # bizarre bug on SunOS 4.1.3.
3333 if $ac_need_defaults; then
3334 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3335 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3336 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3339 # Have a temporary directory for convenience. Make it in the build tree
3340 # simply because there is no reason against having it here, and in addition,
3341 # creating and moving files from /tmp can sometimes cause problems.
3342 # Hook for its removal unless debugging.
3343 # Note that there is a small window in which the directory will not be cleaned:
3344 # after its creation but before its name has been assigned to `$tmp'.
3348 trap 'exit_status=$?
3349 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3351 trap '{ (exit 1); exit 1; }' 1 2 13 15
3353 # Create a (secure) tmp directory for tmp files.
3356 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3357 test -n "$tmp" && test -d "$tmp"
3360 tmp=./conf$$-$RANDOM
3361 (umask 077 && mkdir "$tmp")
3364 echo "$me: cannot create a temporary directory in ." >&2
3365 { (exit 1); exit 1; }
3369 # Set up the sed scripts for CONFIG_FILES section.
3372 # No need to generate the scripts if there are no CONFIG_FILES.
3373 # This happens for instance when ./config.status config.h
3374 if test -n "$CONFIG_FILES"; then
3378 # Create sed commands to just substitute file output variables.
3380 # Remaining file output variables are in a fragment that also has non-file
3386 for ac_last_try in false false false false false :; do
3387 cat >conf$$subs.sed <<_ACEOF
3388 SHELL!$SHELL$ac_delim
3389 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3390 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3391 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3392 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3393 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3394 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3395 exec_prefix!$exec_prefix$ac_delim
3396 prefix!$prefix$ac_delim
3397 program_transform_name!$program_transform_name$ac_delim
3398 bindir!$bindir$ac_delim
3399 sbindir!$sbindir$ac_delim
3400 libexecdir!$libexecdir$ac_delim
3401 datarootdir!$datarootdir$ac_delim
3402 datadir!$datadir$ac_delim
3403 sysconfdir!$sysconfdir$ac_delim
3404 sharedstatedir!$sharedstatedir$ac_delim
3405 localstatedir!$localstatedir$ac_delim
3406 includedir!$includedir$ac_delim
3407 oldincludedir!$oldincludedir$ac_delim
3408 docdir!$docdir$ac_delim
3409 infodir!$infodir$ac_delim
3410 htmldir!$htmldir$ac_delim
3411 dvidir!$dvidir$ac_delim
3412 pdfdir!$pdfdir$ac_delim
3413 psdir!$psdir$ac_delim
3414 libdir!$libdir$ac_delim
3415 localedir!$localedir$ac_delim
3416 mandir!$mandir$ac_delim
3418 ECHO_C!$ECHO_C$ac_delim
3419 ECHO_N!$ECHO_N$ac_delim
3420 ECHO_T!$ECHO_T$ac_delim
3422 build_alias!$build_alias$ac_delim
3423 host_alias!$host_alias$ac_delim
3424 target_alias!$target_alias$ac_delim
3425 build!$build$ac_delim
3426 build_cpu!$build_cpu$ac_delim
3427 build_vendor!$build_vendor$ac_delim
3428 build_os!$build_os$ac_delim
3430 host_cpu!$host_cpu$ac_delim
3431 host_vendor!$host_vendor$ac_delim
3432 host_os!$host_os$ac_delim
3433 target!$target$ac_delim
3434 target_cpu!$target_cpu$ac_delim
3435 target_vendor!$target_vendor$ac_delim
3436 target_os!$target_os$ac_delim
3437 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3438 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3439 INSTALL_DATA!$INSTALL_DATA$ac_delim
3441 am__leading_dot!$am__leading_dot$ac_delim
3442 DEPDIR!$DEPDIR$ac_delim
3443 am__include!$am__include$ac_delim
3444 am__quote!$am__quote$ac_delim
3445 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
3446 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
3447 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
3448 CCDEPMODE!$CCDEPMODE$ac_delim
3449 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
3450 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
3454 RANLIB!$RANLIB$ac_delim
3456 CCASFLAGS!$CCASFLAGS$ac_delim
3457 host_makefile_frag_path!$host_makefile_frag_path$ac_delim
3458 LIBOBJS!$LIBOBJS$ac_delim
3459 LTLIBOBJS!$LTLIBOBJS$ac_delim
3462 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
3464 elif $ac_last_try; then
3465 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3466 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3467 { (exit 1); exit 1; }; }
3469 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3473 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3474 if test -n "$ac_eof"; then
3475 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3476 ac_eof=`expr $ac_eof + 1`
3479 cat >>$CONFIG_STATUS <<_ACEOF
3480 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3481 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3482 /^[ ]*@host_makefile_frag@[ ]*$/{
3483 r $host_makefile_frag
3488 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3489 s/^/s,@/; s/!/@,|#_!!_#|/
3492 s/'"$ac_delim"'$/,g/; t
3494 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3495 ' >>$CONFIG_STATUS <conf$$subs.sed
3496 rm -f conf$$subs.sed
3497 cat >>$CONFIG_STATUS <<_ACEOF
3504 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3505 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3506 # trailing colons and then remove the whole line if VPATH becomes empty
3507 # (actually we leave an empty line to preserve line numbers).
3508 if test "x$srcdir" = x.; then
3509 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3513 s/^\([^=]*=[ ]*\):*/\1/
3519 cat >>$CONFIG_STATUS <<\_ACEOF
3520 fi # test -n "$CONFIG_FILES"
3523 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
3526 :[FHLC]) ac_mode=$ac_tag; continue;;
3528 case $ac_mode$ac_tag in
3530 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3531 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3532 { (exit 1); exit 1; }; };;
3533 :[FH]-) ac_tag=-:-;;
3534 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3551 -) ac_f="$tmp/stdin";;
3552 *) # Look for the file first in the build tree, then in the source tree
3553 # (if the path is not absolute). The absolute path cannot be DOS-style,
3554 # because $ac_f cannot contain `:'.
3558 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3560 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3561 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3562 { (exit 1); exit 1; }; };;
3564 ac_file_inputs="$ac_file_inputs $ac_f"
3567 # Let's still pretend it is `configure' which instantiates (i.e., don't
3568 # use $as_me), people would be surprised to read:
3569 # /* config.h. Generated by config.status. */
3570 configure_input="Generated from "`IFS=:
3571 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3572 if test x"$ac_file" != x-; then
3573 configure_input="$ac_file. $configure_input"
3574 { echo "$as_me:$LINENO: creating $ac_file" >&5
3575 echo "$as_me: creating $ac_file" >&6;}
3579 *:-:* | *:-) cat >"$tmp/stdin";;
3584 ac_dir=`$as_dirname -- "$ac_file" ||
3585 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3586 X"$ac_file" : 'X\(//\)[^/]' \| \
3587 X"$ac_file" : 'X\(//\)$' \| \
3588 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3609 -*) as_dir=./$as_dir;;
3611 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3615 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3616 *) as_qdir=$as_dir;;
3618 as_dirs="'$as_qdir' $as_dirs"
3619 as_dir=`$as_dirname -- "$as_dir" ||
3620 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3621 X"$as_dir" : 'X\(//\)[^/]' \| \
3622 X"$as_dir" : 'X\(//\)$' \| \
3623 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3642 test -d "$as_dir" && break
3644 test -z "$as_dirs" || eval "mkdir $as_dirs"
3645 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3646 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3647 { (exit 1); exit 1; }; }; }
3651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3653 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3654 # A ".." for each directory in $ac_dir_suffix.
3655 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3656 case $ac_top_builddir_sub in
3657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3661 ac_abs_top_builddir=$ac_pwd
3662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3663 # for backward compatibility:
3664 ac_top_builddir=$ac_top_build_prefix
3667 .) # We are building in place.
3669 ac_top_srcdir=$ac_top_builddir_sub
3670 ac_abs_top_srcdir=$ac_pwd ;;
3671 [\\/]* | ?:[\\/]* ) # Absolute name.
3672 ac_srcdir=$srcdir$ac_dir_suffix;
3673 ac_top_srcdir=$srcdir
3674 ac_abs_top_srcdir=$srcdir ;;
3676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3677 ac_top_srcdir=$ac_top_build_prefix$srcdir
3678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3690 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3691 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3695 cat >>$CONFIG_STATUS <<\_ACEOF
3696 # If the template does not know about datarootdir, expand it.
3697 # FIXME: This hack should be removed a few years after 2.60.
3698 ac_datarootdir_hack=; ac_datarootdir_seen=
3700 case `sed -n '/datarootdir/ {
3709 ' $ac_file_inputs` in
3710 *datarootdir*) ac_datarootdir_seen=yes;;
3711 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3712 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3713 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3715 cat >>$CONFIG_STATUS <<_ACEOF
3716 ac_datarootdir_hack='
3717 s&@datadir@&$datadir&g
3718 s&@docdir@&$docdir&g
3719 s&@infodir@&$infodir&g
3720 s&@localedir@&$localedir&g
3721 s&@mandir@&$mandir&g
3722 s&\\\${datarootdir}&$datarootdir&g' ;;
3726 # Neutralize VPATH when `$srcdir' = `.'.
3727 # Shell code in configure.ac might set extrasub.
3728 # FIXME: do we really want to maintain this feature?
3729 cat >>$CONFIG_STATUS <<_ACEOF
3733 cat >>$CONFIG_STATUS <<\_ACEOF
3735 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3736 s&@configure_input@&$configure_input&;t t
3737 s&@top_builddir@&$ac_top_builddir_sub&;t t
3738 s&@srcdir@&$ac_srcdir&;t t
3739 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3740 s&@top_srcdir@&$ac_top_srcdir&;t t
3741 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3742 s&@builddir@&$ac_builddir&;t t
3743 s&@abs_builddir@&$ac_abs_builddir&;t t
3744 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3745 s&@INSTALL@&$ac_INSTALL&;t t
3746 $ac_datarootdir_hack
3747 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3749 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3750 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3751 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3752 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3753 which seems to be undefined. Please make sure it is defined." >&5
3754 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3755 which seems to be undefined. Please make sure it is defined." >&2;}
3759 -) cat "$tmp/out"; rm -f "$tmp/out";;
3760 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3769 # Transform confdefs.h into a sed script `conftest.defines', that
3770 # substitutes the proper values into config.h.in to produce config.h.
3771 rm -f conftest.defines conftest.tail
3772 # First, append a space to every undef/define line, to ease matching.
3773 echo 's/$/ /' >conftest.defines
3774 # Then, protect against being on the right side of a sed subst, or in
3775 # an unquoted here document, in config.status. If some macros were
3776 # called several times there might be several #defines for the same
3777 # symbol, which is useless. But do not sort them, since the last
3778 # AC_DEFINE must be honored.
3779 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3780 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
3781 # NAME is the cpp macro being defined, VALUE is the value it is being given.
3782 # PARAMS is the parameter list in the macro definition--in most cases, it's
3783 # just an empty string.
3784 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
3785 ac_dB='\\)[ (].*,\\1define\\2'
3793 s/^[ ]*#[ ]*define[ ][ ]*//
3798 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
3799 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
3800 ' >>conftest.defines
3802 # Remove the space that was appended to ease matching.
3803 # Then replace #undef with comments. This is necessary, for
3804 # example, in the case of _POSIX_SOURCE, which is predefined and required
3805 # on some systems where configure will not decide to define it.
3806 # (The regexp can be short, since the line contains either #define or #undef.)
3808 s,^[ #]*u.*,/* & */,' >>conftest.defines
3810 # Break up conftest.defines:
3813 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
3814 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
3815 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
3817 ac_in='$ac_file_inputs'
3818 ac_out='"$tmp/out1"'
3819 ac_nxt='"$tmp/out2"'
3823 # Write a here document:
3824 cat >>$CONFIG_STATUS <<_ACEOF
3825 # First, check the format of the line:
3826 cat >"\$tmp/defines.sed" <<\\CEOF
3827 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
3828 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
3832 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
3834 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
3835 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
3836 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
3837 grep . conftest.tail >/dev/null || break
3838 rm -f conftest.defines
3839 mv conftest.tail conftest.defines
3841 rm -f conftest.defines conftest.tail
3843 echo "ac_result=$ac_in" >>$CONFIG_STATUS
3844 cat >>$CONFIG_STATUS <<\_ACEOF
3845 if test x"$ac_file" != x-; then
3846 echo "/* $configure_input */" >"$tmp/config.h"
3847 cat "$ac_result" >>"$tmp/config.h"
3848 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
3849 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3850 echo "$as_me: $ac_file is unchanged" >&6;}
3853 mv "$tmp/config.h" $ac_file
3856 echo "/* $configure_input */"
3862 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3863 echo "$as_me: executing $ac_file commands" >&6;}
3868 case $ac_file$ac_mode in
3869 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3870 # Strip MF so we end up with the name of the file.
3871 mf=`echo "$mf" | sed -e 's/:.*$//'`
3872 # Check whether this is an Automake generated Makefile or not.
3873 # We used to match only the files named `Makefile.in', but
3874 # some people rename them; so instead we look at the file content.
3875 # Grep'ing the first line is not enough: some people post-process
3876 # each Makefile.in and add a new line on top of each file to say so.
3877 # So let's grep whole file.
3878 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3879 dirpart=`$as_dirname -- "$mf" ||
3880 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3881 X"$mf" : 'X\(//\)[^/]' \| \
3882 X"$mf" : 'X\(//\)$' \| \
3883 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
3885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3905 # Extract the definition of DEPDIR, am__include, and am__quote
3906 # from the Makefile without running `make'.
3907 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3908 test -z "$DEPDIR" && continue
3909 am__include=`sed -n 's/^am__include = //p' < "$mf"`
3910 test -z "am__include" && continue
3911 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3912 # When using ansi2knr, U may be empty or an underscore; expand it
3913 U=`sed -n 's/^U = //p' < "$mf"`
3914 # Find all dependency output files, they are included files with
3915 # $(DEPDIR) in their names. We invoke sed twice because it is the
3916 # simplest approach to changing $(DEPDIR) to its actual value in the
3918 for file in `sed -n "
3919 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3920 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3921 # Make sure the directory exists.
3922 test -f "$dirpart/$file" && continue
3923 fdir=`$as_dirname -- "$file" ||
3924 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3925 X"$file" : 'X\(//\)[^/]' \| \
3926 X"$file" : 'X\(//\)$' \| \
3927 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
3929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3946 { as_dir=$dirpart/$fdir
3948 -*) as_dir=./$as_dir;;
3950 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3954 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3955 *) as_qdir=$as_dir;;
3957 as_dirs="'$as_qdir' $as_dirs"
3958 as_dir=`$as_dirname -- "$as_dir" ||
3959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3960 X"$as_dir" : 'X\(//\)[^/]' \| \
3961 X"$as_dir" : 'X\(//\)$' \| \
3962 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3981 test -d "$as_dir" && break
3983 test -z "$as_dirs" || eval "mkdir $as_dirs"
3984 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3985 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3986 { (exit 1); exit 1; }; }; }
3987 # echo "creating $dirpart/$file"
3988 echo '# dummy' > "$dirpart/$file"
3992 "Makefile":F) ac_file=Makefile . ${libgloss_topdir}/config-ml.in ;;
3998 { (exit 0); exit 0; }
4000 chmod +x $CONFIG_STATUS
4001 ac_clean_files=$ac_clean_files_save
4004 # configure is writing to config.log, and then calls config.status.
4005 # config.status does its own redirection, appending to config.log.
4006 # Unfortunately, on DOS this fails, as config.log is still kept open
4007 # by configure, so config.status won't be able to write to it; its
4008 # output is simply discarded. So we exec the FD to /dev/null,
4009 # effectively closing config.log, so it can be properly (re)opened and
4010 # appended to by config.status. When coming back to configure, we
4011 # need to make the FD available again.
4012 if test "$no_create" != yes; then
4014 ac_config_status_args=
4015 test "$silent" = yes &&
4016 ac_config_status_args="$ac_config_status_args --quiet"
4018 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4020 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4021 # would make configure fail if this is the last instruction.
4022 $ac_cs_success || { (exit 1); exit 1; }