2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for module-init-tools 3.12-pre2.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix=/usr/local
586 ac_config_libobj_dir=.
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
595 PACKAGE_NAME='module-init-tools'
596 PACKAGE_TARNAME='module-init-tools'
597 PACKAGE_VERSION='3.12-pre2'
598 PACKAGE_STRING='module-init-tools 3.12-pre2'
601 ac_subst_vars='am__EXEEXT_FALSE
606 BUILD_STATIC_UTILS_FALSE
607 BUILD_STATIC_UTILS_TRUE
635 INSTALL_STRIP_PROGRAM
650 ax_enable_builddir_sed
690 program_transform_name
702 enable_option_checking
706 enable_dependency_tracking
710 ac_precious_vars='build_alias
720 # Initialize some variables set by options.
722 ac_init_version=false
723 ac_unrecognized_opts=
725 # The variables have the same names as the options, with
726 # dashes changed to underlines.
734 program_transform_name=s,x,x,
742 # Installation directory options.
743 # These are left unexpanded so users can "make install exec_prefix=/foo"
744 # and all the variables that are supposed to be based on exec_prefix
745 # by default will actually change.
746 # Use braces instead of parens because sh, perl, etc. also accept them.
747 # (The list follows the same order as the GNU Coding Standards.)
748 bindir='${exec_prefix}/bin'
749 sbindir='${exec_prefix}/sbin'
750 libexecdir='${exec_prefix}/libexec'
751 datarootdir='${prefix}/share'
752 datadir='${datarootdir}'
753 sysconfdir='${prefix}/etc'
754 sharedstatedir='${prefix}/com'
755 localstatedir='${prefix}/var'
756 includedir='${prefix}/include'
757 oldincludedir='/usr/include'
758 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
759 infodir='${datarootdir}/info'
764 libdir='${exec_prefix}/lib'
765 localedir='${datarootdir}/locale'
766 mandir='${datarootdir}/man'
772 # If the previous option needs an argument, assign it.
773 if test -n "$ac_prev"; then
774 eval $ac_prev=\$ac_option
780 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
784 # Accept the important Cygnus configure options, so we can diagnose typos.
786 case $ac_dashdash$ac_option in
790 -bindir | --bindir | --bindi | --bind | --bin | --bi)
792 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
795 -build | --build | --buil | --bui | --bu)
796 ac_prev=build_alias ;;
797 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798 build_alias=$ac_optarg ;;
800 -cache-file | --cache-file | --cache-fil | --cache-fi \
801 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
802 ac_prev=cache_file ;;
803 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
804 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
805 cache_file=$ac_optarg ;;
808 cache_file=config.cache ;;
810 -datadir | --datadir | --datadi | --datad)
812 -datadir=* | --datadir=* | --datadi=* | --datad=*)
813 datadir=$ac_optarg ;;
815 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
816 | --dataroo | --dataro | --datar)
817 ac_prev=datarootdir ;;
818 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
819 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
820 datarootdir=$ac_optarg ;;
822 -disable-* | --disable-*)
823 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
827 { (exit 1); exit 1; }; }
828 ac_useropt_orig=$ac_useropt
829 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
830 case $ac_user_opts in
834 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
835 ac_unrecognized_sep=', ';;
837 eval enable_$ac_useropt=no ;;
839 -docdir | --docdir | --docdi | --doc | --do)
841 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
844 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
846 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
849 -enable-* | --enable-*)
850 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
851 # Reject names that are not valid shell variable names.
852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
853 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
854 { (exit 1); exit 1; }; }
855 ac_useropt_orig=$ac_useropt
856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
862 ac_unrecognized_sep=', ';;
864 eval enable_$ac_useropt=\$ac_optarg ;;
866 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
867 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
868 | --exec | --exe | --ex)
869 ac_prev=exec_prefix ;;
870 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
871 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
872 | --exec=* | --exe=* | --ex=*)
873 exec_prefix=$ac_optarg ;;
875 -gas | --gas | --ga | --g)
876 # Obsolete; use --with-gas.
879 -help | --help | --hel | --he | -h)
881 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
882 ac_init_help=recursive ;;
883 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
884 ac_init_help=short ;;
886 -host | --host | --hos | --ho)
887 ac_prev=host_alias ;;
888 -host=* | --host=* | --hos=* | --ho=*)
889 host_alias=$ac_optarg ;;
891 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
893 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
895 htmldir=$ac_optarg ;;
897 -includedir | --includedir | --includedi | --included | --include \
898 | --includ | --inclu | --incl | --inc)
899 ac_prev=includedir ;;
900 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
901 | --includ=* | --inclu=* | --incl=* | --inc=*)
902 includedir=$ac_optarg ;;
904 -infodir | --infodir | --infodi | --infod | --info | --inf)
906 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
907 infodir=$ac_optarg ;;
909 -libdir | --libdir | --libdi | --libd)
911 -libdir=* | --libdir=* | --libdi=* | --libd=*)
914 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
915 | --libexe | --libex | --libe)
916 ac_prev=libexecdir ;;
917 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
918 | --libexe=* | --libex=* | --libe=*)
919 libexecdir=$ac_optarg ;;
921 -localedir | --localedir | --localedi | --localed | --locale)
923 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
924 localedir=$ac_optarg ;;
926 -localstatedir | --localstatedir | --localstatedi | --localstated \
927 | --localstate | --localstat | --localsta | --localst | --locals)
928 ac_prev=localstatedir ;;
929 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
930 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
931 localstatedir=$ac_optarg ;;
933 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
935 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
939 # Obsolete; use --without-fp.
942 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
943 | --no-cr | --no-c | -n)
946 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
947 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
950 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
951 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
952 | --oldin | --oldi | --old | --ol | --o)
953 ac_prev=oldincludedir ;;
954 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
955 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
956 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
957 oldincludedir=$ac_optarg ;;
959 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
961 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
964 -program-prefix | --program-prefix | --program-prefi | --program-pref \
965 | --program-pre | --program-pr | --program-p)
966 ac_prev=program_prefix ;;
967 -program-prefix=* | --program-prefix=* | --program-prefi=* \
968 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
969 program_prefix=$ac_optarg ;;
971 -program-suffix | --program-suffix | --program-suffi | --program-suff \
972 | --program-suf | --program-su | --program-s)
973 ac_prev=program_suffix ;;
974 -program-suffix=* | --program-suffix=* | --program-suffi=* \
975 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
976 program_suffix=$ac_optarg ;;
978 -program-transform-name | --program-transform-name \
979 | --program-transform-nam | --program-transform-na \
980 | --program-transform-n | --program-transform- \
981 | --program-transform | --program-transfor \
982 | --program-transfo | --program-transf \
983 | --program-trans | --program-tran \
984 | --progr-tra | --program-tr | --program-t)
985 ac_prev=program_transform_name ;;
986 -program-transform-name=* | --program-transform-name=* \
987 | --program-transform-nam=* | --program-transform-na=* \
988 | --program-transform-n=* | --program-transform-=* \
989 | --program-transform=* | --program-transfor=* \
990 | --program-transfo=* | --program-transf=* \
991 | --program-trans=* | --program-tran=* \
992 | --progr-tra=* | --program-tr=* | --program-t=*)
993 program_transform_name=$ac_optarg ;;
995 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
997 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1000 -psdir | --psdir | --psdi | --psd | --ps)
1002 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1006 | -silent | --silent | --silen | --sile | --sil)
1009 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1011 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1013 sbindir=$ac_optarg ;;
1015 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1016 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1017 | --sharedst | --shareds | --shared | --share | --shar \
1019 ac_prev=sharedstatedir ;;
1020 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1021 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1022 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1024 sharedstatedir=$ac_optarg ;;
1026 -site | --site | --sit)
1028 -site=* | --site=* | --sit=*)
1031 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1033 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1034 srcdir=$ac_optarg ;;
1036 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1037 | --syscon | --sysco | --sysc | --sys | --sy)
1038 ac_prev=sysconfdir ;;
1039 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1040 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1041 sysconfdir=$ac_optarg ;;
1043 -target | --target | --targe | --targ | --tar | --ta | --t)
1044 ac_prev=target_alias ;;
1045 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1046 target_alias=$ac_optarg ;;
1048 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1051 -version | --version | --versio | --versi | --vers | -V)
1052 ac_init_version=: ;;
1055 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1059 { (exit 1); exit 1; }; }
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1069 eval with_$ac_useropt=\$ac_optarg ;;
1071 -without-* | --without-*)
1072 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1076 { (exit 1); exit 1; }; }
1077 ac_useropt_orig=$ac_useropt
1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1084 ac_unrecognized_sep=', ';;
1086 eval with_$ac_useropt=no ;;
1089 # Obsolete; use --with-x.
1092 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1093 | --x-incl | --x-inc | --x-in | --x-i)
1094 ac_prev=x_includes ;;
1095 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1096 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1097 x_includes=$ac_optarg ;;
1099 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1100 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1101 ac_prev=x_libraries ;;
1102 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1103 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1104 x_libraries=$ac_optarg ;;
1106 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1107 Try \`$0 --help' for more information." >&2
1108 { (exit 1); exit 1; }; }
1112 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1115 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1116 { (exit 1); exit 1; }; }
1117 eval $ac_envvar=\$ac_optarg
1118 export $ac_envvar ;;
1121 # FIXME: should be removed in autoconf 3.0.
1122 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1123 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1124 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1125 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1131 if test -n "$ac_prev"; then
1132 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1133 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1134 { (exit 1); exit 1; }; }
1137 if test -n "$ac_unrecognized_opts"; then
1138 case $enable_option_checking in
1140 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1141 { (exit 1); exit 1; }; } ;;
1142 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1146 # Check all directory arguments for consistency.
1147 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1148 datadir sysconfdir sharedstatedir localstatedir includedir \
1149 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1150 libdir localedir mandir
1152 eval ac_val=\$$ac_var
1153 # Remove trailing slashes.
1156 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1157 eval $ac_var=\$ac_val;;
1159 # Be sure to have absolute directory names.
1161 [\\/$]* | ?:[\\/]* ) continue;;
1162 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1164 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1165 { (exit 1); exit 1; }; }
1168 # There might be people who depend on the old broken behavior: `$host'
1169 # used to hold the argument of --host etc.
1170 # FIXME: To remove some day.
1173 target=$target_alias
1175 # FIXME: To remove some day.
1176 if test "x$host_alias" != x; then
1177 if test "x$build_alias" = x; then
1178 cross_compiling=maybe
1179 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1180 If a cross compiler is detected then cross compile mode will be used." >&2
1181 elif test "x$build_alias" != "x$host_alias"; then
1187 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1189 test "$silent" = yes && exec 6>/dev/null
1192 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1193 ac_ls_di=`ls -di .` &&
1194 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1195 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1196 { (exit 1); exit 1; }; }
1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1198 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1199 { (exit 1); exit 1; }; }
1202 # Find the source files, if location was not specified.
1203 if test -z "$srcdir"; then
1204 ac_srcdir_defaulted=yes
1205 # Try the directory containing this script, then the parent directory.
1206 ac_confdir=`$as_dirname -- "$as_myself" ||
1207 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1208 X"$as_myself" : 'X\(//\)[^/]' \| \
1209 X"$as_myself" : 'X\(//\)$' \| \
1210 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1211 $as_echo X"$as_myself" |
1212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1230 if test ! -r "$srcdir/$ac_unique_file"; then
1234 ac_srcdir_defaulted=no
1236 if test ! -r "$srcdir/$ac_unique_file"; then
1237 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1238 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1239 { (exit 1); exit 1; }; }
1241 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1243 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1244 { (exit 1); exit 1; }; }
1246 # When building in place, set srcdir=.
1247 if test "$ac_abs_confdir" = "$ac_pwd"; then
1250 # Remove unnecessary trailing slashes from srcdir.
1251 # Double slashes in file names in object file debugging info
1252 # mess up M-x gdb in Emacs.
1254 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1256 for ac_var in $ac_precious_vars; do
1257 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1258 eval ac_env_${ac_var}_value=\$${ac_var}
1259 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1260 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1264 # Report the --help message.
1266 if test "$ac_init_help" = "long"; then
1267 # Omit some internal or obsolete options to make the list less imposing.
1268 # This message is too long to be a string in the A/UX 3.1 sh.
1270 \`configure' configures module-init-tools 3.12-pre2 to adapt to many kinds of systems.
1272 Usage: $0 [OPTION]... [VAR=VALUE]...
1274 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1275 VAR=VALUE. See below for descriptions of some of the useful variables.
1277 Defaults for the options are specified in brackets.
1280 -h, --help display this help and exit
1281 --help=short display options specific to this package
1282 --help=recursive display the short help of all the included packages
1283 -V, --version display version information and exit
1284 -q, --quiet, --silent do not print \`checking...' messages
1285 --cache-file=FILE cache test results in FILE [disabled]
1286 -C, --config-cache alias for \`--cache-file=config.cache'
1287 -n, --no-create do not create output files
1288 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1290 Installation directories:
1291 --prefix=PREFIX install architecture-independent files in PREFIX
1292 [$ac_default_prefix]
1293 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1296 By default, \`make install' will install all the files in
1297 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1298 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1299 for instance \`--prefix=\$HOME'.
1301 For better control, use the options below.
1303 Fine tuning of the installation directories:
1304 --bindir=DIR user executables [EPREFIX/bin]
1305 --sbindir=DIR system admin executables [EPREFIX/sbin]
1306 --libexecdir=DIR program executables [EPREFIX/libexec]
1307 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1308 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1309 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1310 --libdir=DIR object code libraries [EPREFIX/lib]
1311 --includedir=DIR C header files [PREFIX/include]
1312 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1313 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1314 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1315 --infodir=DIR info documentation [DATAROOTDIR/info]
1316 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1317 --mandir=DIR man documentation [DATAROOTDIR/man]
1318 --docdir=DIR documentation root
1319 [DATAROOTDIR/doc/module-init-tools]
1320 --htmldir=DIR html documentation [DOCDIR]
1321 --dvidir=DIR dvi documentation [DOCDIR]
1322 --pdfdir=DIR pdf documentation [DOCDIR]
1323 --psdir=DIR ps documentation [DOCDIR]
1329 --program-prefix=PREFIX prepend PREFIX to installed program names
1330 --program-suffix=SUFFIX append SUFFIX to installed program names
1331 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1334 --build=BUILD configure for building on BUILD [guessed]
1335 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1336 --target=TARGET configure for building compilers for TARGET [HOST]
1340 if test -n "$ac_init_help"; then
1341 case $ac_init_help in
1342 short | recursive ) echo "Configuration of module-init-tools 3.12-pre2:";;
1347 --disable-option-checking ignore unrecognized --enable/--with options
1348 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1349 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1350 --disable-builddir disable automatic build in subdir of sources
1352 --enable-zlib Handle gzipped modules
1353 --enable-zlib-dynamic Handle gzipped modules, zlib will be linked
1354 dynamically. Note that libz must be installed
1355 in /lib for this to work.
1356 --disable-dependency-tracking speeds up one-time build
1357 --enable-dependency-tracking do not reject slow dependency extractors
1358 --disable-static-utils Do not build static utils
1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1363 --with-moddir=path Give the path for system modules directory.
1364 Defaults to /lib/modules
1366 Some influential environment variables:
1367 CC C compiler command
1368 CFLAGS C compiler flags
1369 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1370 nonstandard directory <lib dir>
1371 LIBS libraries to pass to the linker, e.g. -l<library>
1372 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1373 you have headers in a nonstandard directory <include dir>
1375 Use these variables to override the choices made by `configure' or to help
1376 it to find libraries and programs with nonstandard names/locations.
1382 if test "$ac_init_help" = "recursive"; then
1383 # If there are subdirs, report their specific --help.
1384 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1385 test -d "$ac_dir" ||
1386 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1391 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1393 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1394 # A ".." for each directory in $ac_dir_suffix.
1395 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1396 case $ac_top_builddir_sub in
1397 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1401 ac_abs_top_builddir=$ac_pwd
1402 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1403 # for backward compatibility:
1404 ac_top_builddir=$ac_top_build_prefix
1407 .) # We are building in place.
1409 ac_top_srcdir=$ac_top_builddir_sub
1410 ac_abs_top_srcdir=$ac_pwd ;;
1411 [\\/]* | ?:[\\/]* ) # Absolute name.
1412 ac_srcdir=$srcdir$ac_dir_suffix;
1413 ac_top_srcdir=$srcdir
1414 ac_abs_top_srcdir=$srcdir ;;
1416 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1417 ac_top_srcdir=$ac_top_build_prefix$srcdir
1418 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1420 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1422 cd "$ac_dir" || { ac_status=$?; continue; }
1423 # Check for guested configure.
1424 if test -f "$ac_srcdir/configure.gnu"; then
1426 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1427 elif test -f "$ac_srcdir/configure"; then
1429 $SHELL "$ac_srcdir/configure" --help=recursive
1431 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1433 cd "$ac_pwd" || { ac_status=$?; break; }
1437 test -n "$ac_init_help" && exit $ac_status
1438 if $ac_init_version; then
1440 module-init-tools configure 3.12-pre2
1441 generated by GNU Autoconf 2.63
1443 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1444 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1445 This configure script is free software; the Free Software Foundation
1446 gives unlimited permission to copy, distribute and modify it.
1450 cat >config.log <<_ACEOF
1451 This file contains any messages produced by compilers while
1452 running configure, to aid debugging if configure makes a mistake.
1454 It was created by module-init-tools $as_me 3.12-pre2, which was
1455 generated by GNU Autoconf 2.63. Invocation command line was
1467 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1468 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1469 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1470 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1471 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1473 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1474 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1476 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1477 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1478 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1479 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1480 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1481 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1482 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 test -z "$as_dir" && as_dir=.
1491 $as_echo "PATH: $as_dir"
1507 # Keep a trace of the command line.
1508 # Strip out --no-create and --no-recursion so they do not pile up.
1509 # Strip out --silent because we don't want to record it for future runs.
1510 # Also quote any args containing shell meta-characters.
1511 # Make two passes to allow for proper duplicate-argument suppression.
1515 ac_must_keep_next=false
1521 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1523 | -silent | --silent | --silen | --sile | --sil)
1526 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1529 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1531 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1532 if test $ac_must_keep_next = true; then
1533 ac_must_keep_next=false # Got value, back to normal.
1536 *=* | --config-cache | -C | -disable-* | --disable-* \
1537 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1538 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1539 | -with-* | --with-* | -without-* | --without-* | --x)
1540 case "$ac_configure_args0 " in
1541 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1544 -* ) ac_must_keep_next=true ;;
1547 ac_configure_args="$ac_configure_args '$ac_arg'"
1552 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1553 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1555 # When interrupted or exit'd, cleanup temporary files, and complete
1556 # config.log. We remove comments because anyway the quotes in there
1557 # would cause problems or look ugly.
1558 # WARNING: Use '\'' to represent an apostrophe within the trap.
1559 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1560 trap 'exit_status=$?
1561 # Save into config.log some information that might help in debugging.
1566 ## ---------------- ##
1567 ## Cache variables. ##
1568 ## ---------------- ##
1571 # The following way of writing the cache mishandles newlines in values,
1573 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1574 eval ac_val=\$$ac_var
1578 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1579 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1582 _ | IFS | as_nl) ;; #(
1583 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1584 *) $as_unset $ac_var ;;
1589 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1590 *${as_nl}ac_space=\ *)
1592 "s/'\''/'\''\\\\'\'''\''/g;
1593 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1596 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1604 ## ----------------- ##
1605 ## Output variables. ##
1606 ## ----------------- ##
1609 for ac_var in $ac_subst_vars
1611 eval ac_val=\$$ac_var
1613 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1615 $as_echo "$ac_var='\''$ac_val'\''"
1619 if test -n "$ac_subst_files"; then
1621 ## ------------------- ##
1622 ## File substitutions. ##
1623 ## ------------------- ##
1626 for ac_var in $ac_subst_files
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 $as_echo "$ac_var='\''$ac_val'\''"
1637 if test -s confdefs.h; then
1647 test "$ac_signal" != 0 &&
1648 $as_echo "$as_me: caught signal $ac_signal"
1649 $as_echo "$as_me: exit $exit_status"
1651 rm -f core *.core core.conftest.* &&
1652 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1655 for ac_signal in 1 2 13 15; do
1656 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1660 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1661 rm -f -r conftest* confdefs.h
1663 # Predefined preprocessor variables.
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_NAME "$PACKAGE_NAME"
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_STRING "$PACKAGE_STRING"
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1690 # Let the site file select an alternate cache file if it wants to.
1691 # Prefer an explicitly selected file to automatically selected ones.
1694 if test -n "$CONFIG_SITE"; then
1695 ac_site_file1=$CONFIG_SITE
1696 elif test "x$prefix" != xNONE; then
1697 ac_site_file1=$prefix/share/config.site
1698 ac_site_file2=$prefix/etc/config.site
1700 ac_site_file1=$ac_default_prefix/share/config.site
1701 ac_site_file2=$ac_default_prefix/etc/config.site
1703 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1705 test "x$ac_site_file" = xNONE && continue
1706 if test -r "$ac_site_file"; then
1707 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1708 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1709 sed 's/^/| /' "$ac_site_file" >&5
1714 if test -r "$cache_file"; then
1715 # Some versions of bash will fail to source /dev/null (special
1716 # files actually), so we avoid doing that.
1717 if test -f "$cache_file"; then
1718 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1719 $as_echo "$as_me: loading cache $cache_file" >&6;}
1721 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1722 *) . "./$cache_file";;
1726 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1727 $as_echo "$as_me: creating cache $cache_file" >&6;}
1731 # Check that the precious variables saved in the cache have kept the same
1733 ac_cache_corrupted=false
1734 for ac_var in $ac_precious_vars; do
1735 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1736 eval ac_new_set=\$ac_env_${ac_var}_set
1737 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1738 eval ac_new_val=\$ac_env_${ac_var}_value
1739 case $ac_old_set,$ac_new_set in
1741 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1742 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1743 ac_cache_corrupted=: ;;
1745 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1746 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1747 ac_cache_corrupted=: ;;
1750 if test "x$ac_old_val" != "x$ac_new_val"; then
1751 # differences in whitespace do not lead to failure.
1752 ac_old_val_w=`echo x $ac_old_val`
1753 ac_new_val_w=`echo x $ac_new_val`
1754 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1755 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1756 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1757 ac_cache_corrupted=:
1759 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1760 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1761 eval $ac_var=\$ac_old_val
1763 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1764 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1765 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1766 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1769 # Pass precious variables to config.status.
1770 if test "$ac_new_set" = set; then
1772 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1773 *) ac_arg=$ac_var=$ac_new_val ;;
1775 case " $ac_configure_args " in
1776 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1777 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1781 if $ac_cache_corrupted; then
1782 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1784 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1788 { (exit 1); exit 1; }; }
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1824 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1825 if test -f "$ac_dir/install-sh"; then
1827 ac_install_sh="$ac_aux_dir/install-sh -c"
1829 elif test -f "$ac_dir/install.sh"; then
1831 ac_install_sh="$ac_aux_dir/install.sh -c"
1833 elif test -f "$ac_dir/shtool"; then
1835 ac_install_sh="$ac_aux_dir/shtool install -c"
1839 if test -z "$ac_aux_dir"; then
1840 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1841 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1842 { (exit 1); exit 1; }; }
1845 # These three variables are undocumented and unsupported,
1846 # and are intended to be withdrawn in a future Autoconf release.
1847 # They can cause serious problems if a builder's source tree is in a directory
1848 # whose full name contains unusual characters.
1849 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1850 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1851 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1854 # Make sure we can run config.sub.
1855 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1856 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1857 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1858 { (exit 1); exit 1; }; }
1860 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1861 $as_echo_n "checking build system type... " >&6; }
1862 if test "${ac_cv_build+set}" = set; then
1863 $as_echo_n "(cached) " >&6
1865 ac_build_alias=$build_alias
1866 test "x$ac_build_alias" = x &&
1867 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1868 test "x$ac_build_alias" = x &&
1869 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1870 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1871 { (exit 1); exit 1; }; }
1872 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1873 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1874 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1875 { (exit 1); exit 1; }; }
1878 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1879 $as_echo "$ac_cv_build" >&6; }
1880 case $ac_cv_build in
1882 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1883 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1884 { (exit 1); exit 1; }; };;
1887 ac_save_IFS=$IFS; IFS='-'
1893 # Remember, the first character of IFS is used to create $*,
1894 # except with old shells:
1897 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1900 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1901 $as_echo_n "checking host system type... " >&6; }
1902 if test "${ac_cv_host+set}" = set; then
1903 $as_echo_n "(cached) " >&6
1905 if test "x$host_alias" = x; then
1906 ac_cv_host=$ac_cv_build
1908 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1909 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1910 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1911 { (exit 1); exit 1; }; }
1915 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1916 $as_echo "$ac_cv_host" >&6; }
1919 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1920 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1921 { (exit 1); exit 1; }; };;
1924 ac_save_IFS=$IFS; IFS='-'
1930 # Remember, the first character of IFS is used to create $*,
1931 # except with old shells:
1934 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1937 { $as_echo "$as_me:$LINENO: checking target system type" >&5
1938 $as_echo_n "checking target system type... " >&6; }
1939 if test "${ac_cv_target+set}" = set; then
1940 $as_echo_n "(cached) " >&6
1942 if test "x$target_alias" = x; then
1943 ac_cv_target=$ac_cv_host
1945 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1946 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1947 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1948 { (exit 1); exit 1; }; }
1952 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1953 $as_echo "$ac_cv_target" >&6; }
1954 case $ac_cv_target in
1956 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1957 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
1958 { (exit 1); exit 1; }; };;
1960 target=$ac_cv_target
1961 ac_save_IFS=$IFS; IFS='-'
1967 # Remember, the first character of IFS is used to create $*,
1968 # except with old shells:
1971 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1974 # The aliases save the names the user supplied, while $host etc.
1975 # will get canonicalized.
1976 test -n "$target_alias" &&
1977 test "$program_prefix$program_suffix$program_transform_name" = \
1979 program_prefix=${target_alias}-
1982 # [$]@ is unsable in 2.60+ but earlier autoconf had no ac_configure_args
1983 if test "${ac_configure_args+set}" != "set" ; then
1985 for ac_arg in ${1+"$@"}; do
1986 ac_configure_args="$ac_configure_args '$ac_arg'"
1990 # expand $ac_aux_dir to an absolute path
1991 am_aux_dir=`cd $ac_aux_dir && pwd`
1994 ax_enable_builddir="."
1995 # Check whether --enable-builddir was given.
1996 if test "${enable_builddir+set}" = set; then
1997 enableval=$enable_builddir; ax_enable_builddir="$enableval"
1999 ax_enable_builddir="auto"
2002 if test ".$ac_srcdir_defaulted" != ".no" ; then
2003 if test ".$srcdir" = ".." ; then
2004 if test -f config.status ; then
2005 { $as_echo "$as_me:$LINENO: toplevel srcdir already configured... skipping subdir build" >&5
2006 $as_echo "$as_me: toplevel srcdir already configured... skipping subdir build" >&6;}
2008 test ".$ax_enable_builddir" = "." && ax_enable_builddir="."
2009 test ".$ax_enable_builddir" = ".no" && ax_enable_builddir="."
2010 test ".$TARGET" = "." && TARGET="$target"
2011 test ".$ax_enable_builddir" = ".auto" && ax_enable_builddir="build"
2012 if test ".$ax_enable_builddir" != ".." ; then # we know where to go and
2013 { as_dir=$ax_enable_builddir
2015 -*) as_dir=./$as_dir;;
2017 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2021 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2022 *) as_qdir=$as_dir;;
2024 as_dirs="'$as_qdir' $as_dirs"
2025 as_dir=`$as_dirname -- "$as_dir" ||
2026 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2027 X"$as_dir" : 'X\(//\)[^/]' \| \
2028 X"$as_dir" : 'X\(//\)$' \| \
2029 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2030 $as_echo X"$as_dir" |
2031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2048 test -d "$as_dir" && break
2050 test -z "$as_dirs" || eval "mkdir $as_dirs"
2051 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2052 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
2053 { (exit 1); exit 1; }; }; }
2054 echo __.$ax_enable_builddir.__ > $ax_enable_builddir/conftest.tmp
2055 cd $ax_enable_builddir
2056 if grep __.$ax_enable_builddir.__ conftest.tmp >/dev/null 2>/dev/null ; then
2058 { $as_echo "$as_me:$LINENO: result: continue configure in default builddir \"./$ax_enable_builddir\"" >&5
2059 $as_echo "continue configure in default builddir \"./$ax_enable_builddir\"" >&6; }
2061 { { $as_echo "$as_me:$LINENO: error: could not change to default builddir \"./$ax_enable_builddir\"" >&5
2062 $as_echo "$as_me: error: could not change to default builddir \"./$ax_enable_builddir\"" >&2;}
2063 { (exit 1); exit 1; }; }
2065 srcdir=`echo "$ax_enable_builddir" |
2066 sed -e 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g;s,[/]$,,;'`
2067 # going to restart from subdirectory location
2068 test -f $srcdir/config.log && mv $srcdir/config.log .
2069 test -f $srcdir/confdefs.h && mv $srcdir/confdefs.h .
2070 test -f $srcdir/conftest.log && mv $srcdir/conftest.log .
2071 test -f $srcdir/$cache_file && mv $srcdir/$cache_file .
2072 { $as_echo "$as_me:$LINENO: result: ....exec $SHELL $srcdir/$0 \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" ${1+\"$@\"}" >&5
2073 $as_echo "....exec $SHELL $srcdir/$0 \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" ${1+\"$@\"}" >&6; }
2074 case "$0" in # restart
2075 /\\*) eval $SHELL "'$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
2076 *) eval $SHELL "'$srcdir/$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
2081 test ".$ax_enable_builddir" = ".auto" && ax_enable_builddir="."
2082 # Extract the first word of "gsed sed", so it can be a program name with args.
2083 set dummy gsed sed; ac_word=$2
2084 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 $as_echo_n "checking for $ac_word... " >&6; }
2086 if test "${ac_cv_path_ax_enable_builddir_sed+set}" = set; then
2087 $as_echo_n "(cached) " >&6
2089 case $ax_enable_builddir_sed in
2091 ac_cv_path_ax_enable_builddir_sed="$ax_enable_builddir_sed" # Let the user override the test with a path.
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101 ac_cv_path_ax_enable_builddir_sed="$as_dir/$ac_word$ac_exec_ext"
2102 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109 test -z "$ac_cv_path_ax_enable_builddir_sed" && ac_cv_path_ax_enable_builddir_sed="sed"
2113 ax_enable_builddir_sed=$ac_cv_path_ax_enable_builddir_sed
2114 if test -n "$ax_enable_builddir_sed"; then
2115 { $as_echo "$as_me:$LINENO: result: $ax_enable_builddir_sed" >&5
2116 $as_echo "$ax_enable_builddir_sed" >&6; }
2118 { $as_echo "$as_me:$LINENO: result: no" >&5
2119 $as_echo "no" >&6; }
2123 ax_enable_builddir_auxdir="$am_aux_dir"
2124 ac_config_commands="$ac_config_commands buildir"
2127 # Use -no-portability since we're never going to use module-init-tools on
2128 # non-Linux systems and it's reasonable to expect GNU-compatibility here.
2129 am__api_version='1.11'
2131 # Find a good install program. We prefer a C program (faster),
2132 # so one script is as good as another. But avoid the broken or
2133 # incompatible versions:
2134 # SysV /etc/install, /usr/sbin/install
2135 # SunOS /usr/etc/install
2136 # IRIX /sbin/install
2138 # AmigaOS /C/install, which installs bootblocks on floppy discs
2139 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2140 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2141 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2142 # OS/2's system install, which has a completely different semantic
2143 # ./install, which can be erroneously created by make from ./install.sh.
2144 # Reject install programs that cannot install multiple files.
2145 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2146 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2147 if test -z "$INSTALL"; then
2148 if test "${ac_cv_path_install+set}" = set; then
2149 $as_echo_n "(cached) " >&6
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 test -z "$as_dir" && as_dir=.
2156 # Account for people who put trailing slashes in PATH elements.
2158 ./ | .// | /cC/* | \
2159 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2160 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2163 # OSF1 and SCO ODT 3.0 have their own names for install.
2164 # Don't use installbsd from OSF since it installs stuff as root
2166 for ac_prog in ginstall scoinst install; do
2167 for ac_exec_ext in '' $ac_executable_extensions; do
2168 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2169 if test $ac_prog = install &&
2170 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2171 # AIX install. It has an incompatible calling convention.
2173 elif test $ac_prog = install &&
2174 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2175 # program-specific install script used by HP pwplus--don't use.
2178 rm -rf conftest.one conftest.two conftest.dir
2179 echo one > conftest.one
2180 echo two > conftest.two
2182 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2183 test -s conftest.one && test -s conftest.two &&
2184 test -s conftest.dir/conftest.one &&
2185 test -s conftest.dir/conftest.two
2187 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2200 rm -rf conftest.one conftest.two conftest.dir
2203 if test "${ac_cv_path_install+set}" = set; then
2204 INSTALL=$ac_cv_path_install
2206 # As a last resort, use the slow shell script. Don't cache a
2207 # value for INSTALL within a source directory, because that will
2208 # break other packages using the cache if that directory is
2209 # removed, or if the value is a relative name.
2210 INSTALL=$ac_install_sh
2213 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2214 $as_echo "$INSTALL" >&6; }
2216 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2217 # It thinks the first close brace ends the variable substitution.
2218 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2220 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2222 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2224 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2225 $as_echo_n "checking whether build environment is sane... " >&6; }
2228 echo timestamp > conftest.file
2229 # Reject unsafe characters in $srcdir or the absolute working directory
2230 # name. Accept space and tab only in the latter.
2234 *[\\\"\#\$\&\'\`$am_lf]*)
2235 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2236 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2237 { (exit 1); exit 1; }; };;
2240 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2241 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2242 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2243 { (exit 1); exit 1; }; };;
2246 # Do `set' in a subshell so we don't clobber the current shell's
2247 # arguments. Must try -L first in case configure is actually a
2248 # symlink; some systems play weird games with the mod time of symlinks
2249 # (eg FreeBSD returns the mod time of the symlink's containing
2252 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2253 if test "$*" = "X"; then
2255 set X `ls -t "$srcdir/configure" conftest.file`
2258 if test "$*" != "X $srcdir/configure conftest.file" \
2259 && test "$*" != "X conftest.file $srcdir/configure"; then
2261 # If neither matched, then we have a broken ls. This can happen
2262 # if, for instance, CONFIG_SHELL is bash and it inherits a
2263 # broken ls alias from the environment. This has actually
2264 # happened. Such a system could not be considered "sane".
2265 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2266 alias in your environment" >&5
2267 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2268 alias in your environment" >&2;}
2269 { (exit 1); exit 1; }; }
2272 test "$2" = conftest.file
2278 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2279 Check your system clock" >&5
2280 $as_echo "$as_me: error: newly created file is older than distributed files!
2281 Check your system clock" >&2;}
2282 { (exit 1); exit 1; }; }
2284 { $as_echo "$as_me:$LINENO: result: yes" >&5
2285 $as_echo "yes" >&6; }
2286 test "$program_prefix" != NONE &&
2287 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2288 # Use a double $ so make ignores it.
2289 test "$program_suffix" != NONE &&
2290 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2291 # Double any \ or $.
2292 # By default was `s,x,x', remove it if useless.
2293 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2294 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2296 if test x"${MISSING+set}" != xset; then
2299 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2301 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2304 # Use eval to expand $SHELL
2305 if eval "$MISSING --run true"; then
2306 am_missing_run="$MISSING --run "
2309 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2310 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2313 if test x"${install_sh}" != xset; then
2316 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2318 install_sh="\${SHELL} $am_aux_dir/install-sh"
2322 # Installed binaries are usually stripped using `strip' when the user
2323 # run `make install-strip'. However `strip' might not be the right
2324 # tool to use in cross-compilation environments, therefore Automake
2325 # will honor the `STRIP' environment variable to overrule this program.
2326 if test "$cross_compiling" != no; then
2327 if test -n "$ac_tool_prefix"; then
2328 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2329 set dummy ${ac_tool_prefix}strip; ac_word=$2
2330 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2331 $as_echo_n "checking for $ac_word... " >&6; }
2332 if test "${ac_cv_prog_STRIP+set}" = set; then
2333 $as_echo_n "(cached) " >&6
2335 if test -n "$STRIP"; then
2336 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 test -z "$as_dir" && as_dir=.
2343 for ac_exec_ext in '' $ac_executable_extensions; do
2344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2345 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2346 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2355 STRIP=$ac_cv_prog_STRIP
2356 if test -n "$STRIP"; then
2357 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2358 $as_echo "$STRIP" >&6; }
2360 { $as_echo "$as_me:$LINENO: result: no" >&5
2361 $as_echo "no" >&6; }
2366 if test -z "$ac_cv_prog_STRIP"; then
2368 # Extract the first word of "strip", so it can be a program name with args.
2369 set dummy strip; ac_word=$2
2370 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2371 $as_echo_n "checking for $ac_word... " >&6; }
2372 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2373 $as_echo_n "(cached) " >&6
2375 if test -n "$ac_ct_STRIP"; then
2376 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382 test -z "$as_dir" && as_dir=.
2383 for ac_exec_ext in '' $ac_executable_extensions; do
2384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385 ac_cv_prog_ac_ct_STRIP="strip"
2386 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2395 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2396 if test -n "$ac_ct_STRIP"; then
2397 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2398 $as_echo "$ac_ct_STRIP" >&6; }
2400 { $as_echo "$as_me:$LINENO: result: no" >&5
2401 $as_echo "no" >&6; }
2404 if test "x$ac_ct_STRIP" = x; then
2407 case $cross_compiling:$ac_tool_warned in
2409 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2411 ac_tool_warned=yes ;;
2416 STRIP="$ac_cv_prog_STRIP"
2420 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2422 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2423 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2424 if test -z "$MKDIR_P"; then
2425 if test "${ac_cv_path_mkdir+set}" = set; then
2426 $as_echo_n "(cached) " >&6
2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2432 test -z "$as_dir" && as_dir=.
2433 for ac_prog in mkdir gmkdir; do
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2436 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2437 'mkdir (GNU coreutils) '* | \
2438 'mkdir (coreutils) '* | \
2439 'mkdir (fileutils) '4.1*)
2440 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2450 if test "${ac_cv_path_mkdir+set}" = set; then
2451 MKDIR_P="$ac_cv_path_mkdir -p"
2453 # As a last resort, use the slow shell script. Don't cache a
2454 # value for MKDIR_P within a source directory, because that will
2455 # break other packages using the cache if that directory is
2456 # removed, or if the value is a relative name.
2457 test -d ./--version && rmdir ./--version
2458 MKDIR_P="$ac_install_sh -d"
2461 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2462 $as_echo "$MKDIR_P" >&6; }
2466 [\\/$]* | ?:[\\/]*) ;;
2467 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2470 for ac_prog in gawk mawk nawk awk
2472 # Extract the first word of "$ac_prog", so it can be a program name with args.
2473 set dummy $ac_prog; ac_word=$2
2474 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2475 $as_echo_n "checking for $ac_word... " >&6; }
2476 if test "${ac_cv_prog_AWK+set}" = set; then
2477 $as_echo_n "(cached) " >&6
2479 if test -n "$AWK"; then
2480 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486 test -z "$as_dir" && as_dir=.
2487 for ac_exec_ext in '' $ac_executable_extensions; do
2488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2489 ac_cv_prog_AWK="$ac_prog"
2490 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 if test -n "$AWK"; then
2501 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2502 $as_echo "$AWK" >&6; }
2504 { $as_echo "$as_me:$LINENO: result: no" >&5
2505 $as_echo "no" >&6; }
2509 test -n "$AWK" && break
2512 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2513 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2515 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2516 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2517 $as_echo_n "(cached) " >&6
2519 cat >conftest.make <<\_ACEOF
2522 @echo '@@@%%%=$(MAKE)=@@@%%%'
2524 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2525 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2527 eval ac_cv_prog_make_${ac_make}_set=yes;;
2529 eval ac_cv_prog_make_${ac_make}_set=no;;
2533 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2534 { $as_echo "$as_me:$LINENO: result: yes" >&5
2535 $as_echo "yes" >&6; }
2538 { $as_echo "$as_me:$LINENO: result: no" >&5
2539 $as_echo "no" >&6; }
2540 SET_MAKE="MAKE=${MAKE-make}"
2543 rm -rf .tst 2>/dev/null
2544 mkdir .tst 2>/dev/null
2545 if test -d .tst; then
2550 rmdir .tst 2>/dev/null
2552 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2553 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2554 # is not polluted with repeated "-I."
2555 am__isrc=' -I$(srcdir)'
2556 # test to see if srcdir already configured
2557 if test -f $srcdir/config.status; then
2558 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2559 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2560 { (exit 1); exit 1; }; }
2564 # test whether we have cygpath
2565 if test -z "$CYGPATH_W"; then
2566 if (cygpath --version) >/dev/null 2>/dev/null; then
2567 CYGPATH_W='cygpath -w'
2574 # Define the identity of the package.
2575 PACKAGE='module-init-tools'
2579 cat >>confdefs.h <<_ACEOF
2580 #define PACKAGE "$PACKAGE"
2584 cat >>confdefs.h <<_ACEOF
2585 #define VERSION "$VERSION"
2588 # Some tools Automake needs.
2590 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2593 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2596 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2599 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2602 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2604 # We need awk for the "check" target. The system "awk" is bad on
2606 # Always define AMTAR for backward compatibility.
2608 AMTAR=${AMTAR-"${am_missing_run}tar"}
2610 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2617 # If zlib is required, libz must be linked static, modprobe is in
2618 # /sbin, libz is in /usr/lib and may not be available when it is run.
2619 # Check whether --enable-zlib was given.
2620 if test "${enable_zlib+set}" = set; then
2621 enableval=$enable_zlib; if test "$enableval" = "yes"; then
2622 cat >>confdefs.h <<\_ACEOF
2623 #define CONFIG_USE_ZLIB 1
2626 zlib_flags="-Wl,-Bstatic -lz -Wl,-Bdynamic"
2631 # Check whether --enable-zlib-dynamic was given.
2632 if test "${enable_zlib_dynamic+set}" = set; then
2633 enableval=$enable_zlib_dynamic; if test "$enableval" = "yes"; then
2634 cat >>confdefs.h <<\_ACEOF
2635 #define CONFIG_USE_ZLIB 1
2644 ac_cpp='$CPP $CPPFLAGS'
2645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2648 if test -n "$ac_tool_prefix"; then
2649 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2650 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2651 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2652 $as_echo_n "checking for $ac_word... " >&6; }
2653 if test "${ac_cv_prog_CC+set}" = set; then
2654 $as_echo_n "(cached) " >&6
2656 if test -n "$CC"; then
2657 ac_cv_prog_CC="$CC" # Let the user override the test.
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir=.
2664 for ac_exec_ext in '' $ac_executable_extensions; do
2665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2666 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2667 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 if test -n "$CC"; then
2678 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2679 $as_echo "$CC" >&6; }
2681 { $as_echo "$as_me:$LINENO: result: no" >&5
2682 $as_echo "no" >&6; }
2687 if test -z "$ac_cv_prog_CC"; then
2689 # Extract the first word of "gcc", so it can be a program name with args.
2690 set dummy gcc; ac_word=$2
2691 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2692 $as_echo_n "checking for $ac_word... " >&6; }
2693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2694 $as_echo_n "(cached) " >&6
2696 if test -n "$ac_ct_CC"; then
2697 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir=.
2704 for ac_exec_ext in '' $ac_executable_extensions; do
2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 ac_cv_prog_ac_ct_CC="gcc"
2707 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2717 if test -n "$ac_ct_CC"; then
2718 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2719 $as_echo "$ac_ct_CC" >&6; }
2721 { $as_echo "$as_me:$LINENO: result: no" >&5
2722 $as_echo "no" >&6; }
2725 if test "x$ac_ct_CC" = x; then
2728 case $cross_compiling:$ac_tool_warned in
2730 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2732 ac_tool_warned=yes ;;
2740 if test -z "$CC"; then
2741 if test -n "$ac_tool_prefix"; then
2742 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2743 set dummy ${ac_tool_prefix}cc; ac_word=$2
2744 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if test "${ac_cv_prog_CC+set}" = set; then
2747 $as_echo_n "(cached) " >&6
2749 if test -n "$CC"; then
2750 ac_cv_prog_CC="$CC" # Let the user override the test.
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir=.
2757 for ac_exec_ext in '' $ac_executable_extensions; do
2758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2759 ac_cv_prog_CC="${ac_tool_prefix}cc"
2760 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2770 if test -n "$CC"; then
2771 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2772 $as_echo "$CC" >&6; }
2774 { $as_echo "$as_me:$LINENO: result: no" >&5
2775 $as_echo "no" >&6; }
2781 if test -z "$CC"; then
2782 # Extract the first word of "cc", so it can be a program name with args.
2783 set dummy cc; ac_word=$2
2784 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if test "${ac_cv_prog_CC+set}" = set; then
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$CC"; then
2790 ac_cv_prog_CC="$CC" # Let the user override the test.
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir=.
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2801 ac_prog_rejected=yes
2805 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 if test $ac_prog_rejected = yes; then
2813 # We found a bogon in the path, so make sure we never use it.
2814 set dummy $ac_cv_prog_CC
2816 if test $# != 0; then
2817 # We chose a different compiler from the bogus one.
2818 # However, it has the same basename, so the bogon will be chosen
2819 # first if we set CC to just the basename; use the full file name.
2821 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2827 if test -n "$CC"; then
2828 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2829 $as_echo "$CC" >&6; }
2831 { $as_echo "$as_me:$LINENO: result: no" >&5
2832 $as_echo "no" >&6; }
2837 if test -z "$CC"; then
2838 if test -n "$ac_tool_prefix"; then
2839 for ac_prog in cl.exe
2841 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2842 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2843 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2844 $as_echo_n "checking for $ac_word... " >&6; }
2845 if test "${ac_cv_prog_CC+set}" = set; then
2846 $as_echo_n "(cached) " >&6
2848 if test -n "$CC"; then
2849 ac_cv_prog_CC="$CC" # Let the user override the test.
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 test -z "$as_dir" && as_dir=.
2856 for ac_exec_ext in '' $ac_executable_extensions; do
2857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2859 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$CC"; then
2870 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2871 $as_echo "$CC" >&6; }
2873 { $as_echo "$as_me:$LINENO: result: no" >&5
2874 $as_echo "no" >&6; }
2878 test -n "$CC" && break
2881 if test -z "$CC"; then
2883 for ac_prog in cl.exe
2885 # Extract the first word of "$ac_prog", so it can be a program name with args.
2886 set dummy $ac_prog; ac_word=$2
2887 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2888 $as_echo_n "checking for $ac_word... " >&6; }
2889 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2890 $as_echo_n "(cached) " >&6
2892 if test -n "$ac_ct_CC"; then
2893 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899 test -z "$as_dir" && as_dir=.
2900 for ac_exec_ext in '' $ac_executable_extensions; do
2901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2902 ac_cv_prog_ac_ct_CC="$ac_prog"
2903 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2913 if test -n "$ac_ct_CC"; then
2914 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2915 $as_echo "$ac_ct_CC" >&6; }
2917 { $as_echo "$as_me:$LINENO: result: no" >&5
2918 $as_echo "no" >&6; }
2922 test -n "$ac_ct_CC" && break
2925 if test "x$ac_ct_CC" = x; then
2928 case $cross_compiling:$ac_tool_warned in
2930 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2932 ac_tool_warned=yes ;;
2941 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2943 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2944 See \`config.log' for more details." >&5
2945 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2946 See \`config.log' for more details." >&2;}
2947 { (exit 1); exit 1; }; }; }
2949 # Provide some information about the compiler.
2950 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2953 { (ac_try="$ac_compiler --version >&5"
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2959 $as_echo "$ac_try_echo") >&5
2960 (eval "$ac_compiler --version >&5") 2>&5
2962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }
2964 { (ac_try="$ac_compiler -v >&5"
2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2970 $as_echo "$ac_try_echo") >&5
2971 (eval "$ac_compiler -v >&5") 2>&5
2973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); }
2975 { (ac_try="$ac_compiler -V >&5"
2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2981 $as_echo "$ac_try_echo") >&5
2982 (eval "$ac_compiler -V >&5") 2>&5
2984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }
2987 cat >conftest.$ac_ext <<_ACEOF
2990 cat confdefs.h >>conftest.$ac_ext
2991 cat >>conftest.$ac_ext <<_ACEOF
2992 /* end confdefs.h. */
3002 ac_clean_files_save=$ac_clean_files
3003 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3004 # Try to create an executable without -o first, disregard a.out.
3005 # It will help us diagnose broken compilers, and finding out an intuition
3007 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3008 $as_echo_n "checking for C compiler default output file name... " >&6; }
3009 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3011 # The possible output files:
3012 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3015 for ac_file in $ac_files
3018 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3019 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3024 if { (ac_try="$ac_link_default"
3026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027 *) ac_try_echo=$ac_try;;
3029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3030 $as_echo "$ac_try_echo") >&5
3031 (eval "$ac_link_default") 2>&5
3033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }; then
3035 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3036 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3037 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3038 # so that the user can short-circuit this test for compilers unknown to
3040 for ac_file in $ac_files ''
3042 test -f "$ac_file" || continue
3044 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3047 # We found the default executable, but exeext='' is most
3051 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3053 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3055 # We set ac_cv_exeext here because the later test for it is not
3056 # safe: cross compilers may not add the suffix if given an `-o'
3057 # argument, so we may need to know it at that point already.
3058 # Even if this section looks crufty: it has the advantage of
3065 test "$ac_cv_exeext" = no && ac_cv_exeext=
3071 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3072 $as_echo "$ac_file" >&6; }
3073 if test -z "$ac_file"; then
3074 $as_echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3077 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3079 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3080 See \`config.log' for more details." >&5
3081 $as_echo "$as_me: error: C compiler cannot create executables
3082 See \`config.log' for more details." >&2;}
3083 { (exit 77); exit 77; }; }; }
3086 ac_exeext=$ac_cv_exeext
3088 # Check that the compiler produces executables we can run. If not, either
3089 # the compiler is broken, or we cross compile.
3090 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3091 $as_echo_n "checking whether the C compiler works... " >&6; }
3092 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3093 # If not cross compiling, check that we can run a simple program.
3094 if test "$cross_compiling" != yes; then
3095 if { ac_try='./$ac_file'
3096 { (case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3101 $as_echo "$ac_try_echo") >&5
3102 (eval "$ac_try") 2>&5
3104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }; }; then
3108 if test "$cross_compiling" = maybe; then
3111 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3113 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3114 If you meant to cross compile, use \`--host'.
3115 See \`config.log' for more details." >&5
3116 $as_echo "$as_me: error: cannot run C compiled programs.
3117 If you meant to cross compile, use \`--host'.
3118 See \`config.log' for more details." >&2;}
3119 { (exit 1); exit 1; }; }; }
3123 { $as_echo "$as_me:$LINENO: result: yes" >&5
3124 $as_echo "yes" >&6; }
3126 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3127 ac_clean_files=$ac_clean_files_save
3128 # Check that the compiler produces executables we can run. If not, either
3129 # the compiler is broken, or we cross compile.
3130 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3131 $as_echo_n "checking whether we are cross compiling... " >&6; }
3132 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3133 $as_echo "$cross_compiling" >&6; }
3135 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3136 $as_echo_n "checking for suffix of executables... " >&6; }
3137 if { (ac_try="$ac_link"
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3143 $as_echo "$ac_try_echo") >&5
3144 (eval "$ac_link") 2>&5
3146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; then
3148 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3149 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3150 # work properly (i.e., refer to `conftest.exe'), while it won't with
3152 for ac_file in conftest.exe conftest conftest.*; do
3153 test -f "$ac_file" || continue
3155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3156 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3162 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3164 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3165 See \`config.log' for more details." >&5
3166 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3167 See \`config.log' for more details." >&2;}
3168 { (exit 1); exit 1; }; }; }
3171 rm -f conftest$ac_cv_exeext
3172 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3173 $as_echo "$ac_cv_exeext" >&6; }
3175 rm -f conftest.$ac_ext
3176 EXEEXT=$ac_cv_exeext
3178 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3179 $as_echo_n "checking for suffix of object files... " >&6; }
3180 if test "${ac_cv_objext+set}" = set; then
3181 $as_echo_n "(cached) " >&6
3183 cat >conftest.$ac_ext <<_ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3198 rm -f conftest.o conftest.obj
3199 if { (ac_try="$ac_compile"
3201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3205 $as_echo "$ac_try_echo") >&5
3206 (eval "$ac_compile") 2>&5
3208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); }; then
3210 for ac_file in conftest.o conftest.obj conftest.*; do
3211 test -f "$ac_file" || continue;
3213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3214 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3219 $as_echo "$as_me: failed program was:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3222 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3224 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3225 See \`config.log' for more details." >&5
3226 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3227 See \`config.log' for more details." >&2;}
3228 { (exit 1); exit 1; }; }; }
3231 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3233 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3234 $as_echo "$ac_cv_objext" >&6; }
3235 OBJEXT=$ac_cv_objext
3237 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3238 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3239 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3240 $as_echo_n "(cached) " >&6
3242 cat >conftest.$ac_ext <<_ACEOF
3245 cat confdefs.h >>conftest.$ac_ext
3246 cat >>conftest.$ac_ext <<_ACEOF
3247 /* end confdefs.h. */
3260 rm -f conftest.$ac_objext
3261 if { (ac_try="$ac_compile"
3263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264 *) ac_try_echo=$ac_try;;
3266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3267 $as_echo "$ac_try_echo") >&5
3268 (eval "$ac_compile") 2>conftest.er1
3270 grep -v '^ *+' conftest.er1 >conftest.err
3272 cat conftest.err >&5
3273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); } && {
3275 test -z "$ac_c_werror_flag" ||
3276 test ! -s conftest.err
3277 } && test -s conftest.$ac_objext; then
3280 $as_echo "$as_me: failed program was:" >&5
3281 sed 's/^/| /' conftest.$ac_ext >&5
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3290 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3291 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3292 if test $ac_compiler_gnu = yes; then
3297 ac_test_CFLAGS=${CFLAGS+set}
3298 ac_save_CFLAGS=$CFLAGS
3299 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3300 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3301 if test "${ac_cv_prog_cc_g+set}" = set; then
3302 $as_echo_n "(cached) " >&6
3304 ac_save_c_werror_flag=$ac_c_werror_flag
3305 ac_c_werror_flag=yes
3308 cat >conftest.$ac_ext <<_ACEOF
3311 cat confdefs.h >>conftest.$ac_ext
3312 cat >>conftest.$ac_ext <<_ACEOF
3313 /* end confdefs.h. */
3323 rm -f conftest.$ac_objext
3324 if { (ac_try="$ac_compile"
3326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3330 $as_echo "$ac_try_echo") >&5
3331 (eval "$ac_compile") 2>conftest.er1
3333 grep -v '^ *+' conftest.er1 >conftest.err
3335 cat conftest.err >&5
3336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } && {
3338 test -z "$ac_c_werror_flag" ||
3339 test ! -s conftest.err
3340 } && test -s conftest.$ac_objext; then
3343 $as_echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.$ac_ext >&5
3347 cat >conftest.$ac_ext <<_ACEOF
3350 cat confdefs.h >>conftest.$ac_ext
3351 cat >>conftest.$ac_ext <<_ACEOF
3352 /* end confdefs.h. */
3362 rm -f conftest.$ac_objext
3363 if { (ac_try="$ac_compile"
3365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3366 *) ac_try_echo=$ac_try;;
3368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3369 $as_echo "$ac_try_echo") >&5
3370 (eval "$ac_compile") 2>conftest.er1
3372 grep -v '^ *+' conftest.er1 >conftest.err
3374 cat conftest.err >&5
3375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); } && {
3377 test -z "$ac_c_werror_flag" ||
3378 test ! -s conftest.err
3379 } && test -s conftest.$ac_objext; then
3382 $as_echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3385 ac_c_werror_flag=$ac_save_c_werror_flag
3387 cat >conftest.$ac_ext <<_ACEOF
3390 cat confdefs.h >>conftest.$ac_ext
3391 cat >>conftest.$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3402 rm -f conftest.$ac_objext
3403 if { (ac_try="$ac_compile"
3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406 *) ac_try_echo=$ac_try;;
3408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3409 $as_echo "$ac_try_echo") >&5
3410 (eval "$ac_compile") 2>conftest.er1
3412 grep -v '^ *+' conftest.er1 >conftest.err
3414 cat conftest.err >&5
3415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); } && {
3417 test -z "$ac_c_werror_flag" ||
3418 test ! -s conftest.err
3419 } && test -s conftest.$ac_objext; then
3422 $as_echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.$ac_ext >&5
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 ac_c_werror_flag=$ac_save_c_werror_flag
3437 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3438 $as_echo "$ac_cv_prog_cc_g" >&6; }
3439 if test "$ac_test_CFLAGS" = set; then
3440 CFLAGS=$ac_save_CFLAGS
3441 elif test $ac_cv_prog_cc_g = yes; then
3442 if test "$GCC" = yes; then
3448 if test "$GCC" = yes; then
3454 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3455 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3456 if test "${ac_cv_prog_cc_c89+set}" = set; then
3457 $as_echo_n "(cached) " >&6
3459 ac_cv_prog_cc_c89=no
3461 cat >conftest.$ac_ext <<_ACEOF
3464 cat confdefs.h >>conftest.$ac_ext
3465 cat >>conftest.$ac_ext <<_ACEOF
3466 /* end confdefs.h. */
3469 #include <sys/types.h>
3470 #include <sys/stat.h>
3471 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3472 struct buf { int x; };
3473 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3474 static char *e (p, i)
3480 static char *f (char * (*g) (char **, int), char **p, ...)
3485 s = g (p, va_arg (v,int));
3490 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3491 function prototypes and stuff, but not '\xHH' hex character constants.
3492 These don't provoke an error unfortunately, instead are silently treated
3493 as 'x'. The following induces an error, until -std is added to get
3494 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3495 array size at least. It's necessary to write '\x00'==0 to get something
3496 that's true only with -std. */
3497 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3499 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3500 inside strings and character constants. */
3502 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3504 int test (int i, double x);
3505 struct s1 {int (*f) (int a);};
3506 struct s2 {int (*f) (double a);};
3507 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3513 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3518 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3519 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3521 CC="$ac_save_CC $ac_arg"
3522 rm -f conftest.$ac_objext
3523 if { (ac_try="$ac_compile"
3525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3526 *) ac_try_echo=$ac_try;;
3528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3529 $as_echo "$ac_try_echo") >&5
3530 (eval "$ac_compile") 2>conftest.er1
3532 grep -v '^ *+' conftest.er1 >conftest.err
3534 cat conftest.err >&5
3535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); } && {
3537 test -z "$ac_c_werror_flag" ||
3538 test ! -s conftest.err
3539 } && test -s conftest.$ac_objext; then
3540 ac_cv_prog_cc_c89=$ac_arg
3542 $as_echo "$as_me: failed program was:" >&5
3543 sed 's/^/| /' conftest.$ac_ext >&5
3548 rm -f core conftest.err conftest.$ac_objext
3549 test "x$ac_cv_prog_cc_c89" != "xno" && break
3551 rm -f conftest.$ac_ext
3556 case "x$ac_cv_prog_cc_c89" in
3558 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3559 $as_echo "none needed" >&6; } ;;
3561 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3562 $as_echo "unsupported" >&6; } ;;
3564 CC="$CC $ac_cv_prog_cc_c89"
3565 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3566 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3571 ac_cpp='$CPP $CPPFLAGS'
3572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3575 DEPDIR="${am__leading_dot}deps"
3577 ac_config_commands="$ac_config_commands depfiles"
3580 am_make=${MAKE-make}
3581 cat > confinc << 'END'
3583 @echo this is the am__doit target
3586 # If we don't find an include directive, just comment out the code.
3587 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3588 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3592 # First try GNU make style include.
3593 echo "include confinc" > confmf
3594 # Ignore all kinds of additional output from `make'.
3595 case `$am_make -s -f confmf 2> /dev/null` in #(
3596 *the\ am__doit\ target*)
3602 # Now try BSD make style include.
3603 if test "$am__include" = "#"; then
3604 echo '.include "confinc"' > confmf
3605 case `$am_make -s -f confmf 2> /dev/null` in #(
3606 *the\ am__doit\ target*)
3607 am__include=.include
3615 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3616 $as_echo "$_am_result" >&6; }
3617 rm -f confinc confmf
3619 # Check whether --enable-dependency-tracking was given.
3620 if test "${enable_dependency_tracking+set}" = set; then
3621 enableval=$enable_dependency_tracking;
3624 if test "x$enable_dependency_tracking" != xno; then
3625 am_depcomp="$ac_aux_dir/depcomp"
3628 if test "x$enable_dependency_tracking" != xno; then
3638 depcc="$CC" am_compiler_list=
3640 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3641 $as_echo_n "checking dependency style of $depcc... " >&6; }
3642 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3643 $as_echo_n "(cached) " >&6
3645 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3646 # We make a subdir and do the tests there. Otherwise we can end up
3647 # making bogus files that we don't know about and never remove. For
3648 # instance it was reported that on HP-UX the gcc test will end up
3649 # making a dummy file named `D' -- because `-MD' means `put the output
3652 # Copy depcomp to subdir because otherwise we won't find it if we're
3653 # using a relative directory.
3654 cp "$am_depcomp" conftest.dir
3656 # We will build objects and dependencies in a subdirectory because
3657 # it helps to detect inapplicable dependency modes. For instance
3658 # both Tru64's cc and ICC support -MD to output dependencies as a
3659 # side effect of compilation, but ICC will put the dependencies in
3660 # the current directory while Tru64 will put them in the object
3664 am_cv_CC_dependencies_compiler_type=none
3665 if test "$am_compiler_list" = ""; then
3666 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3669 case " $depcc " in #(
3670 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3673 for depmode in $am_compiler_list; do
3674 # Setup a source with many dependencies, because some compilers
3675 # like to wrap large dependency lists on column 80 (with \), and
3676 # we should not choose a depcomp mode which is confused by this.
3678 # We need to recreate these files for each test, as the compiler may
3679 # overwrite some of them when testing with obscure command lines.
3680 # This happens at least with the AIX C compiler.
3682 for i in 1 2 3 4 5 6; do
3683 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3684 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3685 # Solaris 8's {/usr,}/bin/sh.
3686 touch sub/conftst$i.h
3688 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3690 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3691 # mode. It turns out that the SunPro C++ compiler does not properly
3692 # handle `-M -o', and we need to detect this. Also, some Intel
3693 # versions had trouble with output in subdirs
3694 am__obj=sub/conftest.${OBJEXT-o}
3695 am__minus_obj="-o $am__obj"
3698 # This depmode causes a compiler race in universal mode.
3699 test "$am__universal" = false || continue
3702 # after this tag, mechanisms are not by side-effect, so they'll
3703 # only be used when explicitly requested
3704 if test "x$enable_dependency_tracking" = xyes; then
3710 msvisualcpp | msvcmsys)
3711 # This compiler won't grok `-c -o', but also, the minuso test has
3712 # not run yet. These depmodes are late enough in the game, and
3713 # so weak that their functioning should not be impacted.
3714 am__obj=conftest.${OBJEXT-o}
3719 if depmode=$depmode \
3720 source=sub/conftest.c object=$am__obj \
3721 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3722 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3723 >/dev/null 2>conftest.err &&
3724 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3725 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3726 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3727 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3728 # icc doesn't choke on unknown options, it will just issue warnings
3729 # or remarks (even with -Werror). So we grep stderr for any message
3730 # that says an option was ignored or not supported.
3731 # When given -MP, icc 7.0 and 7.1 complain thusly:
3732 # icc: Command line warning: ignoring option '-M'; no argument required
3733 # The diagnosis changed in icc 8.0:
3734 # icc: Command line remark: option '-MP' not supported
3735 if (grep 'ignoring option' conftest.err ||
3736 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3737 am_cv_CC_dependencies_compiler_type=$depmode
3746 am_cv_CC_dependencies_compiler_type=none
3750 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3751 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3752 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3755 test "x$enable_dependency_tracking" != xno \
3756 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3758 am__fastdepCC_FALSE='#'
3760 am__fastdepCC_TRUE='#'
3761 am__fastdepCC_FALSE=
3765 if test -n "$ac_tool_prefix"; then
3766 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3767 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3768 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if test "${ac_cv_prog_RANLIB+set}" = set; then
3771 $as_echo_n "(cached) " >&6
3773 if test -n "$RANLIB"; then
3774 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3784 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 RANLIB=$ac_cv_prog_RANLIB
3794 if test -n "$RANLIB"; then
3795 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3796 $as_echo "$RANLIB" >&6; }
3798 { $as_echo "$as_me:$LINENO: result: no" >&5
3799 $as_echo "no" >&6; }
3804 if test -z "$ac_cv_prog_RANLIB"; then
3805 ac_ct_RANLIB=$RANLIB
3806 # Extract the first word of "ranlib", so it can be a program name with args.
3807 set dummy ranlib; ac_word=$2
3808 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3809 $as_echo_n "checking for $ac_word... " >&6; }
3810 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3811 $as_echo_n "(cached) " >&6
3813 if test -n "$ac_ct_RANLIB"; then
3814 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 test -z "$as_dir" && as_dir=.
3821 for ac_exec_ext in '' $ac_executable_extensions; do
3822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3823 ac_cv_prog_ac_ct_RANLIB="ranlib"
3824 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3834 if test -n "$ac_ct_RANLIB"; then
3835 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3836 $as_echo "$ac_ct_RANLIB" >&6; }
3838 { $as_echo "$as_me:$LINENO: result: no" >&5
3839 $as_echo "no" >&6; }
3842 if test "x$ac_ct_RANLIB" = x; then
3845 case $cross_compiling:$ac_tool_warned in
3847 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3849 ac_tool_warned=yes ;;
3851 RANLIB=$ac_ct_RANLIB
3854 RANLIB="$ac_cv_prog_RANLIB"
3858 for ac_prog in docbook-to-man docbook2man
3860 # Extract the first word of "$ac_prog", so it can be a program name with args.
3861 set dummy $ac_prog; ac_word=$2
3862 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 $as_echo_n "checking for $ac_word... " >&6; }
3864 if test "${ac_cv_prog_DOCBOOKTOMAN+set}" = set; then
3865 $as_echo_n "(cached) " >&6
3867 if test -n "$DOCBOOKTOMAN"; then
3868 ac_cv_prog_DOCBOOKTOMAN="$DOCBOOKTOMAN" # Let the user override the test.
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 test -z "$as_dir" && as_dir=.
3875 for ac_exec_ext in '' $ac_executable_extensions; do
3876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3877 ac_cv_prog_DOCBOOKTOMAN="$ac_prog"
3878 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 DOCBOOKTOMAN=$ac_cv_prog_DOCBOOKTOMAN
3888 if test -n "$DOCBOOKTOMAN"; then
3889 { $as_echo "$as_me:$LINENO: result: $DOCBOOKTOMAN" >&5
3890 $as_echo "$DOCBOOKTOMAN" >&6; }
3892 { $as_echo "$as_me:$LINENO: result: no" >&5
3893 $as_echo "no" >&6; }
3897 test -n "$DOCBOOKTOMAN" && break
3899 test -n "$DOCBOOKTOMAN" || DOCBOOKTOMAN="no"
3901 if test x"$DOCBOOKTOMAN" = xno
3903 { $as_echo "$as_me:$LINENO: WARNING: docbook2man not found" >&5
3904 $as_echo "$as_me: WARNING: docbook2man not found" >&2;}
3905 # fail with a meaningfull error if $DOCBOOKTOMAN called by the makefile
3906 DOCBOOKTOMAN=docbook2man
3909 # Delay adding the zlib_flags until after AC_PROG_CC, so we can distinguish
3910 # between a broken cc and a working cc but missing libz.a.
3911 LDADD="$LDADD $zlib_flags"
3916 *) { { $as_echo "$as_me:$LINENO: error: Linux only, dude!" >&5
3917 $as_echo "$as_me: error: Linux only, dude!" >&2;}
3918 { (exit 1); exit 1; }; };;
3921 # Thanks to Martin Pool
3922 if test x"$GCC" = xyes
3924 CFLAGS="$CFLAGS -Wunused -Wall"
3925 { $as_echo "$as_me:$LINENO: Adding gcc options: $CFLAGS" >&5
3926 $as_echo "$as_me: Adding gcc options: $CFLAGS" >&6;}
3929 # Check whether --enable-static-utils was given.
3930 if test "${enable_static_utils+set}" = set; then
3931 enableval=$enable_static_utils;
3933 enable_static_utils=yes
3936 if test "$enable_static_utils" = "yes"; then
3937 BUILD_STATIC_UTILS_TRUE=
3938 BUILD_STATIC_UTILS_FALSE='#'
3940 BUILD_STATIC_UTILS_TRUE='#'
3941 BUILD_STATIC_UTILS_FALSE=
3946 # Check whether --with-moddir was given.
3947 if test "${with_moddir+set}" = set; then
3948 withval=$with_moddir; if test ! -z "$withval"; then
3949 MODULE_DIR="\\\"$withval/\\\""
3950 CFLAGS="$CFLAGS -DMODULE_DIR=$MODULE_DIR"
3956 ac_config_files="$ac_config_files Makefile"
3958 cat >confcache <<\_ACEOF
3959 # This file is a shell script that caches the results of configure
3960 # tests run on this system so they can be shared between configure
3961 # scripts and configure runs, see configure's option --config-cache.
3962 # It is not useful on other systems. If it contains results you don't
3963 # want to keep, you may remove or edit it.
3965 # config.status only pays attention to the cache file if you give it
3966 # the --recheck option to rerun configure.
3968 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3969 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3974 # The following way of writing the cache mishandles newlines in values,
3975 # but we know of no workaround that is simple, portable, and efficient.
3976 # So, we kill variables containing newlines.
3977 # Ultrix sh set writes to stderr and can't be redirected directly,
3978 # and sets the high bit in the cache file unless we assign to the vars.
3980 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3981 eval ac_val=\$$ac_var
3985 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3986 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3989 _ | IFS | as_nl) ;; #(
3990 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3991 *) $as_unset $ac_var ;;
3997 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3998 *${as_nl}ac_space=\ *)
3999 # `set' does not quote correctly, so add quotes (double-quote
4000 # substitution turns \\\\ into \\, and sed turns \\ into \).
4003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4006 # `set' quotes correctly as required by POSIX, so do not add quotes.
4007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4016 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4018 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4020 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4021 if test -w "$cache_file"; then
4022 test "x$cache_file" != "x/dev/null" &&
4023 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4024 $as_echo "$as_me: updating cache $cache_file" >&6;}
4025 cat confcache >$cache_file
4027 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4028 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4033 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4034 # Let make expand exec_prefix.
4035 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4037 # Transform confdefs.h into DEFS.
4038 # Protect against shell expansion while executing Makefile rules.
4039 # Protect against Makefile macro expansion.
4041 # If the first sed substitution is executed (which looks for macros that
4042 # take arguments), then branch to the quote section. Otherwise,
4043 # look for a macro that doesn't take arguments.
4053 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4055 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4059 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4072 DEFS=`sed -n "$ac_script" confdefs.h`
4077 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4078 # 1. Remove the extension, and $U if already installed.
4079 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4080 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4081 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4082 # will be set to the directory where LIBOBJS objects are built.
4083 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4084 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4088 LTLIBOBJS=$ac_ltlibobjs
4091 if test -n "$EXEEXT"; then
4093 am__EXEEXT_FALSE='#'
4099 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4100 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4101 Usually this means the macro was only invoked conditionally." >&5
4102 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
4103 Usually this means the macro was only invoked conditionally." >&2;}
4104 { (exit 1); exit 1; }; }
4106 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4107 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4108 Usually this means the macro was only invoked conditionally." >&5
4109 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4110 Usually this means the macro was only invoked conditionally." >&2;}
4111 { (exit 1); exit 1; }; }
4113 if test -z "${BUILD_STATIC_UTILS_TRUE}" && test -z "${BUILD_STATIC_UTILS_FALSE}"; then
4114 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_STATIC_UTILS\" was never defined.
4115 Usually this means the macro was only invoked conditionally." >&5
4116 $as_echo "$as_me: error: conditional \"BUILD_STATIC_UTILS\" was never defined.
4117 Usually this means the macro was only invoked conditionally." >&2;}
4118 { (exit 1); exit 1; }; }
4121 : ${CONFIG_STATUS=./config.status}
4123 ac_clean_files_save=$ac_clean_files
4124 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4125 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4126 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4127 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4129 # Generated by $as_me.
4130 # Run this file to recreate the current configuration.
4131 # Compiler output produced by configure, useful for debugging
4132 # configure, is in config.log if it exists.
4137 SHELL=\${CONFIG_SHELL-$SHELL}
4140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4141 ## --------------------- ##
4142 ## M4sh Initialization. ##
4143 ## --------------------- ##
4145 # Be more Bourne compatible
4146 DUALCASE=1; export DUALCASE # for MKS sh
4147 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4150 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4151 # is contrary to our usage. Disable this feature.
4152 alias -g '${1+"$@"}'='"$@"'
4153 setopt NO_GLOB_SUBST
4155 case `(set -o) 2>/dev/null` in
4156 *posix*) set -o posix ;;
4165 # Avoid depending upon Character Ranges.
4166 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4167 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4168 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4169 as_cr_digits='0123456789'
4170 as_cr_alnum=$as_cr_Letters$as_cr_digits
4175 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4176 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4177 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4178 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4179 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4180 as_echo='printf %s\n'
4181 as_echo_n='printf %s'
4183 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4184 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4185 as_echo_n='/usr/ucb/echo -n'
4187 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4188 as_echo_n_body='eval
4192 expr "X$arg" : "X\\(.*\\)$as_nl";
4193 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4195 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4197 export as_echo_n_body
4198 as_echo_n='sh -c $as_echo_n_body as_echo'
4201 as_echo='sh -c $as_echo_body as_echo'
4204 # The user is always right.
4205 if test "${PATH_SEPARATOR+set}" != set; then
4207 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4208 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4213 # Support unset when possible.
4214 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4222 # We need space, tab and new line, in precisely that order. Quoting is
4223 # there to prevent editors from complaining about space-tab.
4224 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4225 # splitting by setting IFS to empty value.)
4228 # Find who we are. Look in the path if we contain no directory separator.
4230 *[\\/]* ) as_myself=$0 ;;
4231 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir=.
4236 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4242 # We did not find ourselves, most probably we were run as `sh COMMAND'
4243 # in which case we are not to be found in the path.
4244 if test "x$as_myself" = x; then
4247 if test ! -f "$as_myself"; then
4248 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4249 { (exit 1); exit 1; }
4252 # Work around bugs in pre-3.0 UWIN ksh.
4253 for as_var in ENV MAIL MAILPATH
4254 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4266 # Required to use basename.
4267 if expr a : '\(a\)' >/dev/null 2>&1 &&
4268 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4274 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4275 as_basename=basename
4281 # Name of the executable.
4282 as_me=`$as_basename -- "$0" ||
4283 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4284 X"$0" : 'X\(//\)$' \| \
4285 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4287 sed '/^.*\/\([^/][^/]*\)\/*$/{
4308 test "x$as_lineno_1" != "x$as_lineno_2" &&
4309 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4311 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4312 # uniformly replaced by the line number. The first 'sed' inserts a
4313 # line-number line after each line using $LINENO; the second 'sed'
4314 # does the real work. The second script uses 'N' to pair each
4315 # line-number line with the line containing $LINENO, and appends
4316 # trailing '-' during substitution so that $LINENO is not a special
4318 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4319 # scripts with optimization help from Paolo Bonzini. Blame Lee
4320 # E. McMahon (1931-1989) for sed's syntax. :-)
4332 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4336 chmod +x "$as_me.lineno" ||
4337 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4338 { (exit 1); exit 1; }; }
4340 # Don't try to exec as it changes $[0], causing all sort of problems
4341 # (the dirname of $[0] is not the place where we might find the
4342 # original and so on. Autoconf is especially sensitive to this).
4344 # Exit status is that of the last command.
4349 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4355 ECHO_C= ECHO_N= ECHO_T=
4358 case `echo 'x\c'` in
4359 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4365 if expr a : '\(a\)' >/dev/null 2>&1 &&
4366 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4372 rm -f conf$$ conf$$.exe conf$$.file
4373 if test -d conf$$.dir; then
4374 rm -f conf$$.dir/conf$$.file
4377 mkdir conf$$.dir 2>/dev/null
4379 if (echo >conf$$.file) 2>/dev/null; then
4380 if ln -s conf$$.file conf$$ 2>/dev/null; then
4382 # ... but there are two gotchas:
4383 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4384 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4385 # In both cases, we have to default to `cp -p'.
4386 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4388 elif ln conf$$.file conf$$ 2>/dev/null; then
4396 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4397 rmdir conf$$.dir 2>/dev/null
4399 if mkdir -p . 2>/dev/null; then
4402 test -d ./-p && rmdir ./-p
4406 if test -x / >/dev/null 2>&1; then
4409 if ls -dL / >/dev/null 2>&1; then
4416 if test -d "$1"; then
4422 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4423 ???[sx]*):;;*)false;;esac;fi
4427 as_executable_p=$as_test_x
4429 # Sed expression to map a string onto a valid CPP name.
4430 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4432 # Sed expression to map a string onto a valid variable name.
4433 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4438 # Save the log message, to keep $[0] and so on meaningful, and to
4439 # report actual input values of CONFIG_FILES etc. instead of their
4440 # values after options handling.
4442 This file was extended by module-init-tools $as_me 3.12-pre2, which was
4443 generated by GNU Autoconf 2.63. Invocation command line was
4445 CONFIG_FILES = $CONFIG_FILES
4446 CONFIG_HEADERS = $CONFIG_HEADERS
4447 CONFIG_LINKS = $CONFIG_LINKS
4448 CONFIG_COMMANDS = $CONFIG_COMMANDS
4451 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4456 case $ac_config_files in *"
4457 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4463 # Files that config.status was made for.
4464 config_files="$ac_config_files"
4465 config_commands="$ac_config_commands"
4469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4471 \`$as_me' instantiates files from templates according to the
4472 current configuration.
4474 Usage: $0 [OPTION]... [FILE]...
4476 -h, --help print this help, then exit
4477 -V, --version print version number and configuration settings, then exit
4478 -q, --quiet, --silent
4479 do not print progress messages
4480 -d, --debug don't remove temporary files
4481 --recheck update $as_me by reconfiguring in the same conditions
4482 --file=FILE[:TEMPLATE]
4483 instantiate the configuration file FILE
4485 Configuration files:
4488 Configuration commands:
4491 Report bugs to <bug-autoconf@gnu.org>."
4494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4496 module-init-tools config.status 3.12-pre2
4497 configured by $0, generated by GNU Autoconf 2.63,
4498 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4500 Copyright (C) 2008 Free Software Foundation, Inc.
4501 This config.status script is free software; the Free Software Foundation
4502 gives unlimited permission to copy, distribute and modify it."
4509 test -n "\$AWK" || AWK=awk
4512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4513 # The default lists apply if the user does not specify any file.
4519 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4520 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4531 # Handling of the options.
4532 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4534 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4535 $as_echo "$ac_cs_version"; exit ;;
4536 --debug | --debu | --deb | --de | --d | -d )
4538 --file | --fil | --fi | --f )
4541 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4543 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4544 ac_need_defaults=false;;
4545 --he | --h | --help | --hel | -h )
4546 $as_echo "$ac_cs_usage"; exit ;;
4547 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4548 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4552 -*) { $as_echo "$as_me: error: unrecognized option: $1
4553 Try \`$0 --help' for more information." >&2
4554 { (exit 1); exit 1; }; } ;;
4556 *) ac_config_targets="$ac_config_targets $1"
4557 ac_need_defaults=false ;;
4563 ac_configure_extra_args=
4565 if $ac_cs_silent; then
4567 ac_configure_extra_args="$ac_configure_extra_args --silent"
4571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4572 if \$ac_cs_recheck; then
4573 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4575 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4576 CONFIG_SHELL='$SHELL'
4582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4586 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4587 ## Running $as_me. ##
4593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4597 ax_enable_builddir_srcdir="$srcdir" # $srcdir
4598 ax_enable_builddir_host="$HOST" # $HOST / $host
4599 ax_enable_builddir_version="$VERSION" # $VERSION
4600 ax_enable_builddir_package="$PACKAGE" # $PACKAGE
4601 ax_enable_builddir_auxdir="$ax_enable_builddir_auxdir" # $AUX
4602 ax_enable_builddir_sed="$ax_enable_builddir_sed" # $SED
4603 ax_enable_builddir="$ax_enable_builddir" # $SUB
4605 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4611 # Handling of arguments.
4612 for ac_config_target in $ac_config_targets
4614 case $ac_config_target in
4615 "buildir") CONFIG_COMMANDS="$CONFIG_COMMANDS buildir" ;;
4616 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4617 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4619 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4620 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4621 { (exit 1); exit 1; }; };;
4626 # If the user did not use the arguments to specify the items to instantiate,
4627 # then the envvar interface is used. Set only those that are not.
4628 # We use the long form for the default assignment because of an extremely
4629 # bizarre bug on SunOS 4.1.3.
4630 if $ac_need_defaults; then
4631 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4632 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4635 # Have a temporary directory for convenience. Make it in the build tree
4636 # simply because there is no reason against having it here, and in addition,
4637 # creating and moving files from /tmp can sometimes cause problems.
4638 # Hook for its removal unless debugging.
4639 # Note that there is a small window in which the directory will not be cleaned:
4640 # after its creation but before its name has been assigned to `$tmp'.
4644 trap 'exit_status=$?
4645 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4647 trap '{ (exit 1); exit 1; }' 1 2 13 15
4649 # Create a (secure) tmp directory for tmp files.
4652 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4653 test -n "$tmp" && test -d "$tmp"
4656 tmp=./conf$$-$RANDOM
4657 (umask 077 && mkdir "$tmp")
4660 $as_echo "$as_me: cannot create a temporary directory in ." >&2
4661 { (exit 1); exit 1; }
4664 # Set up the scripts for CONFIG_FILES section.
4665 # No need to generate them if there are no CONFIG_FILES.
4666 # This happens for instance with `./config.status config.h'.
4667 if test -n "$CONFIG_FILES"; then
4671 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4672 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4678 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4683 echo "cat >conf$$subs.awk <<_ACEOF" &&
4684 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4687 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4688 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4689 { (exit 1); exit 1; }; }
4690 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4692 for ac_last_try in false false false false false :; do
4693 . ./conf$$subs.sh ||
4694 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4695 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4696 { (exit 1); exit 1; }; }
4698 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4699 if test $ac_delim_n = $ac_delim_num; then
4701 elif $ac_last_try; then
4702 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4703 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4704 { (exit 1); exit 1; }; }
4706 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4712 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4716 s/^/S["/; s/!.*/"]=/
4726 s/\(.\{148\}\).*/\1/
4728 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4733 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4740 s/\(.\{148\}\).*/\1/
4742 s/["\\]/\\&/g; s/^/"/; s/$/"/
4746 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4751 ' <conf$$subs.awk | sed '
4756 ' >>$CONFIG_STATUS || ac_write_fail=1
4757 rm -f conf$$subs.awk
4758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4760 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4761 for (key in S) S_is_set[key] = 1
4767 nfields = split(line, field, "@")
4769 len = length(field[1])
4770 for (i = 2; i < nfields; i++) {
4772 keylen = length(key)
4773 if (S_is_set[key]) {
4775 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4776 len += length(value) + length(field[++i])
4787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4788 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4789 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4792 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4793 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4794 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
4795 { (exit 1); exit 1; }; }
4798 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4799 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4800 # trailing colons and then remove the whole line if VPATH becomes empty
4801 # (actually we leave an empty line to preserve line numbers).
4802 if test "x$srcdir" = x.; then
4803 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4807 s/^\([^=]*=[ ]*\):*/\1/
4813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4814 fi # test -n "$CONFIG_FILES"
4817 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4822 :[FHLC]) ac_mode=$ac_tag; continue;;
4824 case $ac_mode$ac_tag in
4826 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4827 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4828 { (exit 1); exit 1; }; };;
4829 :[FH]-) ac_tag=-:-;;
4830 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4847 -) ac_f="$tmp/stdin";;
4848 *) # Look for the file first in the build tree, then in the source tree
4849 # (if the path is not absolute). The absolute path cannot be DOS-style,
4850 # because $ac_f cannot contain `:'.
4854 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4856 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4857 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4858 { (exit 1); exit 1; }; };;
4860 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4861 ac_file_inputs="$ac_file_inputs '$ac_f'"
4864 # Let's still pretend it is `configure' which instantiates (i.e., don't
4865 # use $as_me), people would be surprised to read:
4866 # /* config.h. Generated by config.status. */
4867 configure_input='Generated from '`
4868 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4870 if test x"$ac_file" != x-; then
4871 configure_input="$ac_file. $configure_input"
4872 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4873 $as_echo "$as_me: creating $ac_file" >&6;}
4875 # Neutralize special characters interpreted by sed in replacement strings.
4876 case $configure_input in #(
4877 *\&* | *\|* | *\\* )
4878 ac_sed_conf_input=`$as_echo "$configure_input" |
4879 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4880 *) ac_sed_conf_input=$configure_input;;
4884 *:-:* | *:-) cat >"$tmp/stdin" \
4885 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4886 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4887 { (exit 1); exit 1; }; } ;;
4892 ac_dir=`$as_dirname -- "$ac_file" ||
4893 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4894 X"$ac_file" : 'X\(//\)[^/]' \| \
4895 X"$ac_file" : 'X\(//\)$' \| \
4896 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4897 $as_echo X"$ac_file" |
4898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4917 -*) as_dir=./$as_dir;;
4919 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4923 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4924 *) as_qdir=$as_dir;;
4926 as_dirs="'$as_qdir' $as_dirs"
4927 as_dir=`$as_dirname -- "$as_dir" ||
4928 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4929 X"$as_dir" : 'X\(//\)[^/]' \| \
4930 X"$as_dir" : 'X\(//\)$' \| \
4931 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4932 $as_echo X"$as_dir" |
4933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4950 test -d "$as_dir" && break
4952 test -z "$as_dirs" || eval "mkdir $as_dirs"
4953 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4954 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4955 { (exit 1); exit 1; }; }; }
4959 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4961 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4962 # A ".." for each directory in $ac_dir_suffix.
4963 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4964 case $ac_top_builddir_sub in
4965 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4966 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4969 ac_abs_top_builddir=$ac_pwd
4970 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4971 # for backward compatibility:
4972 ac_top_builddir=$ac_top_build_prefix
4975 .) # We are building in place.
4977 ac_top_srcdir=$ac_top_builddir_sub
4978 ac_abs_top_srcdir=$ac_pwd ;;
4979 [\\/]* | ?:[\\/]* ) # Absolute name.
4980 ac_srcdir=$srcdir$ac_dir_suffix;
4981 ac_top_srcdir=$srcdir
4982 ac_abs_top_srcdir=$srcdir ;;
4984 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4985 ac_top_srcdir=$ac_top_build_prefix$srcdir
4986 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4988 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4998 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4999 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5003 [\\/$]* | ?:[\\/]* ) ;;
5004 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5009 # If the template does not know about datarootdir, expand it.
5010 # FIXME: This hack should be removed a few years after 2.60.
5011 ac_datarootdir_hack=; ac_datarootdir_seen=
5024 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5025 *datarootdir*) ac_datarootdir_seen=yes;;
5026 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5027 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5028 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5031 ac_datarootdir_hack='
5032 s&@datadir@&$datadir&g
5033 s&@docdir@&$docdir&g
5034 s&@infodir@&$infodir&g
5035 s&@localedir@&$localedir&g
5036 s&@mandir@&$mandir&g
5037 s&\\\${datarootdir}&$datarootdir&g' ;;
5041 # Neutralize VPATH when `$srcdir' = `.'.
5042 # Shell code in configure.ac might set extrasub.
5043 # FIXME: do we really want to maintain this feature?
5044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5045 ac_sed_extra="$ac_vpsub
5048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5050 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5051 s|@configure_input@|$ac_sed_conf_input|;t t
5052 s&@top_builddir@&$ac_top_builddir_sub&;t t
5053 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5054 s&@srcdir@&$ac_srcdir&;t t
5055 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5056 s&@top_srcdir@&$ac_top_srcdir&;t t
5057 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5058 s&@builddir@&$ac_builddir&;t t
5059 s&@abs_builddir@&$ac_abs_builddir&;t t
5060 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5061 s&@INSTALL@&$ac_INSTALL&;t t
5062 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5063 $ac_datarootdir_hack
5065 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5066 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5067 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5068 { (exit 1); exit 1; }; }
5070 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5071 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5072 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5073 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5074 which seems to be undefined. Please make sure it is defined." >&5
5075 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5076 which seems to be undefined. Please make sure it is defined." >&2;}
5080 -) cat "$tmp/out" && rm -f "$tmp/out";;
5081 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5083 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5084 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5085 { (exit 1); exit 1; }; }
5089 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
5090 $as_echo "$as_me: executing $ac_file commands" >&6;}
5095 case $ac_file$ac_mode in
5096 "buildir":C) ac_top_srcdir="$ax_enable_builddir_srcdir"
5097 if test ".$ax_enable_builddir" = ".." ; then
5098 if test -f "$top_srcdir/Makefile" ; then
5099 { $as_echo "$as_me:$LINENO: skipping top_srcdir/Makefile - left untouched" >&5
5100 $as_echo "$as_me: skipping top_srcdir/Makefile - left untouched" >&6;}
5102 { $as_echo "$as_me:$LINENO: skipping top_srcdir/Makefile - not created" >&5
5103 $as_echo "$as_me: skipping top_srcdir/Makefile - not created" >&6;}
5106 if test -f "$ac_top_srcdir/Makefile" ; then
5107 a=`grep "^VERSION " "$ac_top_srcdir/Makefile"` ; b=`grep "^VERSION " Makefile`
5108 test "$a" != "$b" && rm "$ac_top_srcdir/Makefile"
5110 if test -f "$ac_top_srcdir/Makefile" ; then
5111 echo "$ac_top_srcdir/Makefile : $ac_top_srcdir/Makefile.in" > $tmp/conftemp.mk
5112 echo " @ echo 'REMOVED,,,' >\$@" >> $tmp/conftemp.mk
5113 eval "${MAKE-make} -f $tmp/conftemp.mk 2>/dev/null >/dev/null"
5114 if grep '^REMOVED,,,' "$ac_top_srcdir/Makefile" >/dev/null
5115 then rm $ac_top_srcdir/Makefile ; fi
5116 cp $tmp/conftemp.mk $ac_top_srcdir/makefiles.mk~ ## DEBUGGING
5118 if test ! -f "$ac_top_srcdir/Makefile" ; then
5119 { $as_echo "$as_me:$LINENO: create top_srcdir/Makefile guessed from local Makefile" >&5
5120 $as_echo "$as_me: create top_srcdir/Makefile guessed from local Makefile" >&6;}
5121 x='`' ; cat >$tmp/conftemp.sed <<_EOF
5138 s/^srcdir *=.*/srcdir = ./
5139 s/^top_srcdir *=.*/top_srcdir = ./
5147 s/ \\([a-z][a-z-]*[a-zA-Z0-9]\\)\\([ :]\\)/ \\1 \\1-all\\2/g
5148 s/^\\([a-z][a-z-]*[a-zA-Z0-9]\\)\\([ :]\\)/\\1 \\1-all\\2/
5150 /^all all-all[ :]/i\\
5151 all-configured : all-all
5152 s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-all//g
5155 @ HOST="\$(HOST)\" \\\\\\
5156 ; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\
5157 ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
5158 ; use=$x basename "\$\@" -all $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\
5159 ; echo "MAKE \$\$HOST : \$\$n * \$\@"; if test "\$\$n" = "0" ; then : \\\\\\
5160 ; BUILD=$x grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' $x ; fi \\\\\\
5161 ; test ".\$\$BUILD" = "." && BUILD="." \\\\\\
5162 ; test "\$\$use" = "\$\@" && BUILD=$x echo "\$\$BUILD" | tail -1 $x \\\\\\
5163 ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
5164 ; (cd "\$\$i" && test ! -f configure && \$(MAKE) \$\$use) || exit; done
5166 @ HOST="\$(HOST)\" \\\\\\
5167 ; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\
5168 ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
5169 ; found=$x echo \$\$BUILD | wc -w $x \\\\\\
5170 ; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).tar.*" \\\\\\
5171 ; if test "\$\$found" = "0" ; then : \\\\\\
5172 ; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
5173 ; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
5174 ; for f in \$\$i/\$(PACKAGE)-\$(VERSION).tar.* \\\\\\
5175 ; do test -f "\$\$f" && mv "\$\$f" \$(PUB). ; done ; break ; done
5176 /dist-[a-zA-Z0-9]*-all *:/a\\
5177 @ HOST="\$(HOST)\" \\\\\\
5178 ; test ".\$\$HOST" = "." && HOST=$x sh ./config.guess $x \\\\\\
5179 ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
5180 ; found=$x echo \$\$BUILD | wc -w $x \\\\\\
5181 ; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).*" \\\\\\
5182 ; if test "\$\$found" = "0" ; then : \\\\\\
5183 ; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
5184 ; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
5185 ; for f in \$\$i/\$(PACKAGE)-\$(VERSION).* \\\\\\
5186 ; do test -f "\$\$f" && mv "\$\$f" \$(PUB). ; done ; break ; done
5187 /distclean-all *:/a\\
5188 @ HOST="\$(HOST)\" \\\\\\
5189 ; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\
5190 ; BUILD=$x grep "^#### .*|" Makefile | sed -e 's/.*|//' $x \\\\\\
5191 ; use=$x basename "\$\@" -all $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\
5192 ; echo "MAKE \$\$HOST : \$\$n * \$\@ (all local builds)" \\\\\\
5193 ; test ".\$\$BUILD" = "." && BUILD="." \\\\\\
5194 ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
5195 ; echo "# rm -r \$\$i"; done ; echo "# (sleep 3)" ; sleep 3 \\\\\\
5196 ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
5197 ; echo "\$\$i" | grep "^/" > /dev/null && continue \\\\\\
5198 ; echo "\$\$i" | grep "^../" > /dev/null && continue \\\\\\
5199 ; echo "rm -r \$\$i"; (rm -r "\$\$i") ; done ; rm Makefile
5201 cp "$tmp/conftemp.sed" "$ac_top_srcdir/makefile.sed~" ## DEBUGGING
5202 $ax_enable_builddir_sed -f $tmp/conftemp.sed Makefile >$ac_top_srcdir/Makefile
5203 if test -f "$ac_top_srcdir/Makefile.mk" ; then
5204 { $as_echo "$as_me:$LINENO: extend top_srcdir/Makefile with top_srcdir/Makefile.mk" >&5
5205 $as_echo "$as_me: extend top_srcdir/Makefile with top_srcdir/Makefile.mk" >&6;}
5206 cat $ac_top_srcdir/Makefile.mk >>$ac_top_srcdir/Makefile
5208 echo "$xxxx CONFIGURATIONS FOR TOPLEVEL MAKEFILE: " >>$ac_top_srcdir/Makefile
5210 if grep '^; echo "MAKE ' $ac_top_srcdir/Makefile >/dev/null ; then
5211 { $as_echo "$as_me:$LINENO: buggy sed found - it deletes tab in \"a\" text parts" >&5
5212 $as_echo "$as_me: buggy sed found - it deletes tab in \"a\" text parts" >&6;}
5213 $ax_enable_builddir_sed -e '/^@ HOST=/s/^/ /' -e '/^; /s/^/ /' $ac_top_srcdir/Makefile \
5214 >$ac_top_srcdir/Makefile~
5215 (test -s $ac_top_srcdir/Makefile~ && mv $ac_top_srcdir/Makefile~ $ac_top_srcdir/Makefile) 2>/dev/null
5219 # echo "/^$xxxx *$ax_enable_builddir_host /d" >$tmp/conftemp.sed
5220 echo "s!^$xxxx [^|]* | *$ax_enable_builddir *\$!$xxxx ...... $ax_enable_builddir!" >$tmp/conftemp.sed
5221 $ax_enable_builddir_sed -f "$tmp/conftemp.sed" "$ac_top_srcdir/Makefile" >$tmp/mkfile.tmp
5222 cp "$tmp/conftemp.sed" "$ac_top_srcdir/makefiles.sed~" ## DEBUGGING
5223 cp "$tmp/mkfile.tmp" "$ac_top_srcdir/makefiles.out~" ## DEBUGGING
5224 if cmp -s "$ac_top_srcdir/Makefile" "$tmp/mkfile.tmp" 2>/dev/null ; then
5225 { $as_echo "$as_me:$LINENO: keeping top_srcdir/Makefile from earlier configure" >&5
5226 $as_echo "$as_me: keeping top_srcdir/Makefile from earlier configure" >&6;}
5227 rm "$tmp/mkfile.tmp"
5229 { $as_echo "$as_me:$LINENO: reusing top_srcdir/Makefile from earlier configure" >&5
5230 $as_echo "$as_me: reusing top_srcdir/Makefile from earlier configure" >&6;}
5231 mv "$tmp/mkfile.tmp" "$ac_top_srcdir/Makefile"
5234 { $as_echo "$as_me:$LINENO: build in $ax_enable_builddir (HOST=$ax_enable_builddir_host)" >&5
5235 $as_echo "$as_me: build in $ax_enable_builddir (HOST=$ax_enable_builddir_host)" >&6;}
5237 echo "$xxxx" "$ax_enable_builddir_host" "|$ax_enable_builddir" >>$ac_top_srcdir/Makefile
5240 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5241 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5242 # are listed without --file. Let's play safe and only enable the eval
5243 # if we detect the quoting.
5244 case $CONFIG_FILES in
5245 *\'*) eval set x "$CONFIG_FILES" ;;
5246 *) set x $CONFIG_FILES ;;
5251 # Strip MF so we end up with the name of the file.
5252 mf=`echo "$mf" | sed -e 's/:.*$//'`
5253 # Check whether this is an Automake generated Makefile or not.
5254 # We used to match only the files named `Makefile.in', but
5255 # some people rename them; so instead we look at the file content.
5256 # Grep'ing the first line is not enough: some people post-process
5257 # each Makefile.in and add a new line on top of each file to say so.
5258 # Grep'ing the whole file is not good either: AIX grep has a line
5259 # limit of 2048, but all sed's we know have understand at least 4000.
5260 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5261 dirpart=`$as_dirname -- "$mf" ||
5262 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5263 X"$mf" : 'X\(//\)[^/]' \| \
5264 X"$mf" : 'X\(//\)$' \| \
5265 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5287 # Extract the definition of DEPDIR, am__include, and am__quote
5288 # from the Makefile without running `make'.
5289 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5290 test -z "$DEPDIR" && continue
5291 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5292 test -z "am__include" && continue
5293 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5294 # When using ansi2knr, U may be empty or an underscore; expand it
5295 U=`sed -n 's/^U = //p' < "$mf"`
5296 # Find all dependency output files, they are included files with
5297 # $(DEPDIR) in their names. We invoke sed twice because it is the
5298 # simplest approach to changing $(DEPDIR) to its actual value in the
5300 for file in `sed -n "
5301 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5302 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5303 # Make sure the directory exists.
5304 test -f "$dirpart/$file" && continue
5305 fdir=`$as_dirname -- "$file" ||
5306 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5307 X"$file" : 'X\(//\)[^/]' \| \
5308 X"$file" : 'X\(//\)$' \| \
5309 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5328 { as_dir=$dirpart/$fdir
5330 -*) as_dir=./$as_dir;;
5332 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5337 *) as_qdir=$as_dir;;
5339 as_dirs="'$as_qdir' $as_dirs"
5340 as_dir=`$as_dirname -- "$as_dir" ||
5341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5342 X"$as_dir" : 'X\(//\)[^/]' \| \
5343 X"$as_dir" : 'X\(//\)$' \| \
5344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5345 $as_echo X"$as_dir" |
5346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5363 test -d "$as_dir" && break
5365 test -z "$as_dirs" || eval "mkdir $as_dirs"
5366 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5367 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5368 { (exit 1); exit 1; }; }; }
5369 # echo "creating $dirpart/$file"
5370 echo '# dummy' > "$dirpart/$file"
5380 { (exit 0); exit 0; }
5382 chmod +x $CONFIG_STATUS
5383 ac_clean_files=$ac_clean_files_save
5385 test $ac_write_fail = 0 ||
5386 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5387 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5388 { (exit 1); exit 1; }; }
5391 # configure is writing to config.log, and then calls config.status.
5392 # config.status does its own redirection, appending to config.log.
5393 # Unfortunately, on DOS this fails, as config.log is still kept open
5394 # by configure, so config.status won't be able to write to it; its
5395 # output is simply discarded. So we exec the FD to /dev/null,
5396 # effectively closing config.log, so it can be properly (re)opened and
5397 # appended to by config.status. When coming back to configure, we
5398 # need to make the FD available again.
5399 if test "$no_create" != yes; then
5401 ac_config_status_args=
5402 test "$silent" = yes &&
5403 ac_config_status_args="$ac_config_status_args --quiet"
5405 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5407 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5408 # would make configure fail if this is the last instruction.
5409 $ac_cs_success || { (exit 1); exit 1; }
5411 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5412 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5413 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}