2 # From configure.in Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
34 # Avoid depending upon Character Ranges.
35 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38 as_cr_digits='0123456789'
39 as_cr_alnum=$as_cr_Letters$as_cr_digits
41 # The user is always right.
42 if test "${PATH_SEPARATOR+set}" != set; then
43 echo "#! /bin/sh" >conf$$.sh
44 echo "exit 0" >>conf$$.sh
46 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
54 # Support unset when possible.
55 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
63 # We need space, tab and new line, in precisely that order. Quoting is
64 # there to prevent editors from complaining about space-tab.
65 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66 # splitting by setting IFS to empty value.)
71 # Find who we are. Look in the path if we contain no directory separator.
73 *[\\/]* ) as_myself=$0 ;;
74 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78 test -z "$as_dir" && as_dir=.
79 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
85 # We did not find ourselves, most probably we were run as `sh COMMAND'
86 # in which case we are not to be found in the path.
87 if test "x$as_myself" = x; then
90 if test ! -f "$as_myself"; then
91 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
95 # Work around bugs in pre-3.0 UWIN ksh.
96 for as_var in ENV MAIL MAILPATH
97 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110 eval $as_var=C; export $as_var
112 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
116 # Required to use basename.
117 if expr a : '\(a\)' >/dev/null 2>&1 &&
118 test "X`expr 00001 : '.*\(...\)'`" = X001; then
124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
131 # Name of the executable.
132 as_me=`$as_basename -- "$0" ||
133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
134 X"$0" : 'X\(//\)$' \| \
135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 sed '/^.*\/\([^/][^/]*\)\/*$/{
155 if test "x$CONFIG_SHELL" = x; then
156 if (eval ":") 2>/dev/null; then
162 if test $as_have_required = yes && (eval ":
172 as_func_ret_success () {
175 as_func_ret_failure () {
180 if as_func_success; then
184 echo as_func_success failed.
187 if as_func_failure; then
189 echo as_func_failure succeeded.
192 if as_func_ret_success; then
196 echo as_func_ret_success failed.
199 if as_func_ret_failure; then
201 echo as_func_ret_failure succeeded.
204 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
208 echo positional parameters were not saved.
211 test \$exitcode = 0) || { (exit 1); exit 1; }
216 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
217 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
218 ") 2> /dev/null; then
222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
223 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 test -z "$as_dir" && as_dir=.
229 for as_base in sh bash ksh sh5; do
230 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
237 for as_shell in $as_candidate_shells $SHELL; do
238 # Try only shells that exist, to save several forks.
239 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
240 { ("$as_shell") 2> /dev/null <<\_ASEOF
241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245 # is contrary to our usage. Disable this feature.
246 alias -g '${1+"$@"}'='"$@"'
249 case `(set -o) 2>/dev/null` in
250 *posix*) set -o posix ;;
259 CONFIG_SHELL=$as_shell
261 if { "$as_shell" 2> /dev/null <<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix*) set -o posix ;;
287 as_func_ret_success () {
290 as_func_ret_failure () {
295 if as_func_success; then
299 echo as_func_success failed.
302 if as_func_failure; then
304 echo as_func_failure succeeded.
307 if as_func_ret_success; then
311 echo as_func_ret_success failed.
314 if as_func_ret_failure; then
316 echo as_func_ret_failure succeeded.
319 if ( set x; as_func_ret_success y && test x = "$1" ); then
323 echo positional parameters were not saved.
326 test $exitcode = 0) || { (exit 1); exit 1; }
331 test "x$as_lineno_1" != "x$as_lineno_2" &&
332 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
343 if test "x$CONFIG_SHELL" != x; then
344 for as_var in BASH_ENV ENV
345 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
352 if test $as_have_required = no; then
353 echo This script requires a shell more modern than all the
354 echo shells that I found on your system. Please install a
355 echo modern shell, or manually run the script under such a
356 echo shell if you do have one.
357 { (exit 1); exit 1; }
367 (eval "as_func_return () {
376 as_func_ret_success () {
379 as_func_ret_failure () {
384 if as_func_success; then
388 echo as_func_success failed.
391 if as_func_failure; then
393 echo as_func_failure succeeded.
396 if as_func_ret_success; then
400 echo as_func_ret_success failed.
403 if as_func_ret_failure; then
405 echo as_func_ret_failure succeeded.
408 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
412 echo positional parameters were not saved.
415 test \$exitcode = 0") || {
416 echo No shell found that supports shell functions.
417 echo Please tell autoconf@gnu.org about your system,
418 echo including any error possibly output before this
426 test "x$as_lineno_1" != "x$as_lineno_2" &&
427 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
430 # uniformly replaced by the line number. The first 'sed' inserts a
431 # line-number line after each line using $LINENO; the second 'sed'
432 # does the real work. The second script uses 'N' to pair each
433 # line-number line with the line containing $LINENO, and appends
434 # trailing '-' during substitution so that $LINENO is not a special
436 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
437 # scripts with optimization help from Paolo Bonzini. Blame Lee
438 # E. McMahon (1931-1989) for sed's syntax. :-)
450 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454 chmod +x "$as_me.lineno" ||
455 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
456 { (exit 1); exit 1; }; }
458 # Don't try to exec as it changes $[0], causing all sort of problems
459 # (the dirname of $[0] is not the place where we might find the
460 # original and so on. Autoconf is especially sensitive to this).
462 # Exit status is that of the last command.
467 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
473 ECHO_C= ECHO_N= ECHO_T=
477 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
484 if expr a : '\(a\)' >/dev/null 2>&1 &&
485 test "X`expr 00001 : '.*\(...\)'`" = X001; then
491 rm -f conf$$ conf$$.exe conf$$.file
492 if test -d conf$$.dir; then
493 rm -f conf$$.dir/conf$$.file
499 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 # ... but there are two gotchas:
502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
504 # In both cases, we have to default to `cp -p'.
505 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 elif ln conf$$.file conf$$ 2>/dev/null; then
512 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
513 rmdir conf$$.dir 2>/dev/null
515 if mkdir -p . 2>/dev/null; then
518 test -d ./-p && rmdir ./-p
522 if test -x / >/dev/null 2>&1; then
525 if ls -dL / >/dev/null 2>&1; then
532 if test -d "$1"; then
538 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
539 ???[sx]*):;;*)false;;esac;fi
543 as_executable_p=$as_test_x
545 # Sed expression to map a string onto a valid CPP name.
546 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548 # Sed expression to map a string onto a valid variable name.
549 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 exec 7<&0 </dev/null 6>&1
556 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
557 # so uname gets run too.
558 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563 ac_default_prefix=/usr/local
565 ac_config_libobj_dir=.
571 SHELL=${CONFIG_SHELL-/bin/sh}
573 # Identity of this package.
580 ac_unique_file="rlm_python.c"
590 program_transform_name
633 ac_precious_vars='build_alias
644 # Initialize some variables set by options.
646 ac_init_version=false
647 # The variables have the same names as the options, with
648 # dashes changed to underlines.
656 program_transform_name=s,x,x,
664 # Installation directory options.
665 # These are left unexpanded so users can "make install exec_prefix=/foo"
666 # and all the variables that are supposed to be based on exec_prefix
667 # by default will actually change.
668 # Use braces instead of parens because sh, perl, etc. also accept them.
669 # (The list follows the same order as the GNU Coding Standards.)
670 bindir='${exec_prefix}/bin'
671 sbindir='${exec_prefix}/sbin'
672 libexecdir='${exec_prefix}/libexec'
673 datarootdir='${prefix}/share'
674 datadir='${datarootdir}'
675 sysconfdir='${prefix}/etc'
676 sharedstatedir='${prefix}/com'
677 localstatedir='${prefix}/var'
678 includedir='${prefix}/include'
679 oldincludedir='/usr/include'
680 docdir='${datarootdir}/doc/${PACKAGE}'
681 infodir='${datarootdir}/info'
686 libdir='${exec_prefix}/lib'
687 localedir='${datarootdir}/locale'
688 mandir='${datarootdir}/man'
694 # If the previous option needs an argument, assign it.
695 if test -n "$ac_prev"; then
696 eval $ac_prev=\$ac_option
702 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
706 # Accept the important Cygnus configure options, so we can diagnose typos.
708 case $ac_dashdash$ac_option in
712 -bindir | --bindir | --bindi | --bind | --bin | --bi)
714 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
717 -build | --build | --buil | --bui | --bu)
718 ac_prev=build_alias ;;
719 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
720 build_alias=$ac_optarg ;;
722 -cache-file | --cache-file | --cache-fil | --cache-fi \
723 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
724 ac_prev=cache_file ;;
725 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
726 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
727 cache_file=$ac_optarg ;;
730 cache_file=config.cache ;;
732 -datadir | --datadir | --datadi | --datad)
734 -datadir=* | --datadir=* | --datadi=* | --datad=*)
735 datadir=$ac_optarg ;;
737 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
738 | --dataroo | --dataro | --datar)
739 ac_prev=datarootdir ;;
740 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
741 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
742 datarootdir=$ac_optarg ;;
744 -disable-* | --disable-*)
745 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
746 # Reject names that are not valid shell variable names.
747 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
748 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
749 { (exit 1); exit 1; }; }
750 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
751 eval enable_$ac_feature=no ;;
753 -docdir | --docdir | --docdi | --doc | --do)
755 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
758 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
760 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
763 -enable-* | --enable-*)
764 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
765 # Reject names that are not valid shell variable names.
766 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
767 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
768 { (exit 1); exit 1; }; }
769 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
770 eval enable_$ac_feature=\$ac_optarg ;;
772 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
773 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
774 | --exec | --exe | --ex)
775 ac_prev=exec_prefix ;;
776 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
777 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
778 | --exec=* | --exe=* | --ex=*)
779 exec_prefix=$ac_optarg ;;
781 -gas | --gas | --ga | --g)
782 # Obsolete; use --with-gas.
785 -help | --help | --hel | --he | -h)
787 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
788 ac_init_help=recursive ;;
789 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
790 ac_init_help=short ;;
792 -host | --host | --hos | --ho)
793 ac_prev=host_alias ;;
794 -host=* | --host=* | --hos=* | --ho=*)
795 host_alias=$ac_optarg ;;
797 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
799 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
801 htmldir=$ac_optarg ;;
803 -includedir | --includedir | --includedi | --included | --include \
804 | --includ | --inclu | --incl | --inc)
805 ac_prev=includedir ;;
806 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
807 | --includ=* | --inclu=* | --incl=* | --inc=*)
808 includedir=$ac_optarg ;;
810 -infodir | --infodir | --infodi | --infod | --info | --inf)
812 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
813 infodir=$ac_optarg ;;
815 -libdir | --libdir | --libdi | --libd)
817 -libdir=* | --libdir=* | --libdi=* | --libd=*)
820 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
821 | --libexe | --libex | --libe)
822 ac_prev=libexecdir ;;
823 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
824 | --libexe=* | --libex=* | --libe=*)
825 libexecdir=$ac_optarg ;;
827 -localedir | --localedir | --localedi | --localed | --locale)
829 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
830 localedir=$ac_optarg ;;
832 -localstatedir | --localstatedir | --localstatedi | --localstated \
833 | --localstate | --localstat | --localsta | --localst | --locals)
834 ac_prev=localstatedir ;;
835 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
836 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
837 localstatedir=$ac_optarg ;;
839 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
841 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
845 # Obsolete; use --without-fp.
848 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
849 | --no-cr | --no-c | -n)
852 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
853 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
856 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
857 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
858 | --oldin | --oldi | --old | --ol | --o)
859 ac_prev=oldincludedir ;;
860 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
861 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
862 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
863 oldincludedir=$ac_optarg ;;
865 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
867 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
870 -program-prefix | --program-prefix | --program-prefi | --program-pref \
871 | --program-pre | --program-pr | --program-p)
872 ac_prev=program_prefix ;;
873 -program-prefix=* | --program-prefix=* | --program-prefi=* \
874 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
875 program_prefix=$ac_optarg ;;
877 -program-suffix | --program-suffix | --program-suffi | --program-suff \
878 | --program-suf | --program-su | --program-s)
879 ac_prev=program_suffix ;;
880 -program-suffix=* | --program-suffix=* | --program-suffi=* \
881 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
882 program_suffix=$ac_optarg ;;
884 -program-transform-name | --program-transform-name \
885 | --program-transform-nam | --program-transform-na \
886 | --program-transform-n | --program-transform- \
887 | --program-transform | --program-transfor \
888 | --program-transfo | --program-transf \
889 | --program-trans | --program-tran \
890 | --progr-tra | --program-tr | --program-t)
891 ac_prev=program_transform_name ;;
892 -program-transform-name=* | --program-transform-name=* \
893 | --program-transform-nam=* | --program-transform-na=* \
894 | --program-transform-n=* | --program-transform-=* \
895 | --program-transform=* | --program-transfor=* \
896 | --program-transfo=* | --program-transf=* \
897 | --program-trans=* | --program-tran=* \
898 | --progr-tra=* | --program-tr=* | --program-t=*)
899 program_transform_name=$ac_optarg ;;
901 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
903 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
906 -psdir | --psdir | --psdi | --psd | --ps)
908 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
911 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
912 | -silent | --silent | --silen | --sile | --sil)
915 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
917 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
919 sbindir=$ac_optarg ;;
921 -sharedstatedir | --sharedstatedir | --sharedstatedi \
922 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
923 | --sharedst | --shareds | --shared | --share | --shar \
925 ac_prev=sharedstatedir ;;
926 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
927 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
928 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
930 sharedstatedir=$ac_optarg ;;
932 -site | --site | --sit)
934 -site=* | --site=* | --sit=*)
937 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
939 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
942 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
943 | --syscon | --sysco | --sysc | --sys | --sy)
944 ac_prev=sysconfdir ;;
945 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
946 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
947 sysconfdir=$ac_optarg ;;
949 -target | --target | --targe | --targ | --tar | --ta | --t)
950 ac_prev=target_alias ;;
951 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
952 target_alias=$ac_optarg ;;
954 -v | -verbose | --verbose | --verbos | --verbo | --verb)
957 -version | --version | --versio | --versi | --vers | -V)
961 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
964 { echo "$as_me: error: invalid package name: $ac_package" >&2
965 { (exit 1); exit 1; }; }
966 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
967 eval with_$ac_package=\$ac_optarg ;;
969 -without-* | --without-*)
970 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
973 { echo "$as_me: error: invalid package name: $ac_package" >&2
974 { (exit 1); exit 1; }; }
975 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
976 eval with_$ac_package=no ;;
979 # Obsolete; use --with-x.
982 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
983 | --x-incl | --x-inc | --x-in | --x-i)
984 ac_prev=x_includes ;;
985 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
986 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
987 x_includes=$ac_optarg ;;
989 -x-libraries | --x-libraries | --x-librarie | --x-librari \
990 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
991 ac_prev=x_libraries ;;
992 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
993 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
994 x_libraries=$ac_optarg ;;
996 -*) { echo "$as_me: error: unrecognized option: $ac_option
997 Try \`$0 --help' for more information." >&2
998 { (exit 1); exit 1; }; }
1002 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1005 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1006 { (exit 1); exit 1; }; }
1007 eval $ac_envvar=\$ac_optarg
1008 export $ac_envvar ;;
1011 # FIXME: should be removed in autoconf 3.0.
1012 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1013 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1014 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1015 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1021 if test -n "$ac_prev"; then
1022 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1023 { echo "$as_me: error: missing argument to $ac_option" >&2
1024 { (exit 1); exit 1; }; }
1027 # Be sure to have absolute directory names.
1028 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1029 datadir sysconfdir sharedstatedir localstatedir includedir \
1030 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1031 libdir localedir mandir
1033 eval ac_val=\$$ac_var
1035 [\\/$]* | ?:[\\/]* ) continue;;
1036 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1038 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1039 { (exit 1); exit 1; }; }
1042 # There might be people who depend on the old broken behavior: `$host'
1043 # used to hold the argument of --host etc.
1044 # FIXME: To remove some day.
1047 target=$target_alias
1049 # FIXME: To remove some day.
1050 if test "x$host_alias" != x; then
1051 if test "x$build_alias" = x; then
1052 cross_compiling=maybe
1053 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1054 If a cross compiler is detected then cross compile mode will be used." >&2
1055 elif test "x$build_alias" != "x$host_alias"; then
1061 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1063 test "$silent" = yes && exec 6>/dev/null
1066 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1067 ac_ls_di=`ls -di .` &&
1068 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1069 { echo "$as_me: error: Working directory cannot be determined" >&2
1070 { (exit 1); exit 1; }; }
1071 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1072 { echo "$as_me: error: pwd does not report name of working directory" >&2
1073 { (exit 1); exit 1; }; }
1076 # Find the source files, if location was not specified.
1077 if test -z "$srcdir"; then
1078 ac_srcdir_defaulted=yes
1079 # Try the directory containing this script, then the parent directory.
1080 ac_confdir=`$as_dirname -- "$0" ||
1081 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1082 X"$0" : 'X\(//\)[^/]' \| \
1083 X"$0" : 'X\(//\)$' \| \
1084 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1104 if test ! -r "$srcdir/$ac_unique_file"; then
1108 ac_srcdir_defaulted=no
1110 if test ! -r "$srcdir/$ac_unique_file"; then
1111 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1112 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1113 { (exit 1); exit 1; }; }
1115 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1117 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1118 { (exit 1); exit 1; }; }
1120 # When building in place, set srcdir=.
1121 if test "$ac_abs_confdir" = "$ac_pwd"; then
1124 # Remove unnecessary trailing slashes from srcdir.
1125 # Double slashes in file names in object file debugging info
1126 # mess up M-x gdb in Emacs.
1128 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1130 for ac_var in $ac_precious_vars; do
1131 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1132 eval ac_env_${ac_var}_value=\$${ac_var}
1133 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1134 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1138 # Report the --help message.
1140 if test "$ac_init_help" = "long"; then
1141 # Omit some internal or obsolete options to make the list less imposing.
1142 # This message is too long to be a string in the A/UX 3.1 sh.
1144 \`configure' configures this package to adapt to many kinds of systems.
1146 Usage: $0 [OPTION]... [VAR=VALUE]...
1148 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1149 VAR=VALUE. See below for descriptions of some of the useful variables.
1151 Defaults for the options are specified in brackets.
1154 -h, --help display this help and exit
1155 --help=short display options specific to this package
1156 --help=recursive display the short help of all the included packages
1157 -V, --version display version information and exit
1158 -q, --quiet, --silent do not print \`checking...' messages
1159 --cache-file=FILE cache test results in FILE [disabled]
1160 -C, --config-cache alias for \`--cache-file=config.cache'
1161 -n, --no-create do not create output files
1162 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1164 Installation directories:
1165 --prefix=PREFIX install architecture-independent files in PREFIX
1166 [$ac_default_prefix]
1167 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1170 By default, \`make install' will install all the files in
1171 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1172 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1173 for instance \`--prefix=\$HOME'.
1175 For better control, use the options below.
1177 Fine tuning of the installation directories:
1178 --bindir=DIR user executables [EPREFIX/bin]
1179 --sbindir=DIR system admin executables [EPREFIX/sbin]
1180 --libexecdir=DIR program executables [EPREFIX/libexec]
1181 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1182 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1183 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1184 --libdir=DIR object code libraries [EPREFIX/lib]
1185 --includedir=DIR C header files [PREFIX/include]
1186 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1187 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1188 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1189 --infodir=DIR info documentation [DATAROOTDIR/info]
1190 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1191 --mandir=DIR man documentation [DATAROOTDIR/man]
1192 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1193 --htmldir=DIR html documentation [DOCDIR]
1194 --dvidir=DIR dvi documentation [DOCDIR]
1195 --pdfdir=DIR pdf documentation [DOCDIR]
1196 --psdir=DIR ps documentation [DOCDIR]
1203 if test -n "$ac_init_help"; then
1208 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1209 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1210 --with-rlm-python-lib-dir=DIR Directory for Python library files
1211 --with-rlm-python-include-dir=DIR Directory for Python include files
1213 Some influential environment variables:
1214 CC C compiler command
1215 CFLAGS C compiler flags
1216 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1217 nonstandard directory <lib dir>
1218 LIBS libraries to pass to the linker, e.g. -l<library>
1219 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1220 you have headers in a nonstandard directory <include dir>
1223 Use these variables to override the choices made by `configure' or to help
1224 it to find libraries and programs with nonstandard names/locations.
1230 if test "$ac_init_help" = "recursive"; then
1231 # If there are subdirs, report their specific --help.
1232 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1233 test -d "$ac_dir" || continue
1237 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1239 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1240 # A ".." for each directory in $ac_dir_suffix.
1241 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1242 case $ac_top_builddir_sub in
1243 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1244 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1247 ac_abs_top_builddir=$ac_pwd
1248 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1249 # for backward compatibility:
1250 ac_top_builddir=$ac_top_build_prefix
1253 .) # We are building in place.
1255 ac_top_srcdir=$ac_top_builddir_sub
1256 ac_abs_top_srcdir=$ac_pwd ;;
1257 [\\/]* | ?:[\\/]* ) # Absolute name.
1258 ac_srcdir=$srcdir$ac_dir_suffix;
1259 ac_top_srcdir=$srcdir
1260 ac_abs_top_srcdir=$srcdir ;;
1262 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1263 ac_top_srcdir=$ac_top_build_prefix$srcdir
1264 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1266 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1268 cd "$ac_dir" || { ac_status=$?; continue; }
1269 # Check for guested configure.
1270 if test -f "$ac_srcdir/configure.gnu"; then
1272 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1273 elif test -f "$ac_srcdir/configure"; then
1275 $SHELL "$ac_srcdir/configure" --help=recursive
1277 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1279 cd "$ac_pwd" || { ac_status=$?; break; }
1283 test -n "$ac_init_help" && exit $ac_status
1284 if $ac_init_version; then
1287 generated by GNU Autoconf 2.61
1289 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1290 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1291 This configure script is free software; the Free Software Foundation
1292 gives unlimited permission to copy, distribute and modify it.
1296 cat >config.log <<_ACEOF
1297 This file contains any messages produced by compilers while
1298 running configure, to aid debugging if configure makes a mistake.
1300 It was created by $as_me, which was
1301 generated by GNU Autoconf 2.61. Invocation command line was
1313 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1314 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1315 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1316 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1317 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1319 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1320 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1322 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1323 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1324 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1325 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1326 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1327 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1328 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1336 test -z "$as_dir" && as_dir=.
1337 echo "PATH: $as_dir"
1353 # Keep a trace of the command line.
1354 # Strip out --no-create and --no-recursion so they do not pile up.
1355 # Strip out --silent because we don't want to record it for future runs.
1356 # Also quote any args containing shell meta-characters.
1357 # Make two passes to allow for proper duplicate-argument suppression.
1361 ac_must_keep_next=false
1367 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1368 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1369 | -silent | --silent | --silen | --sile | --sil)
1372 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1375 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1377 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1378 if test $ac_must_keep_next = true; then
1379 ac_must_keep_next=false # Got value, back to normal.
1382 *=* | --config-cache | -C | -disable-* | --disable-* \
1383 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1384 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1385 | -with-* | --with-* | -without-* | --without-* | --x)
1386 case "$ac_configure_args0 " in
1387 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1390 -* ) ac_must_keep_next=true ;;
1393 ac_configure_args="$ac_configure_args '$ac_arg'"
1398 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1399 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1401 # When interrupted or exit'd, cleanup temporary files, and complete
1402 # config.log. We remove comments because anyway the quotes in there
1403 # would cause problems or look ugly.
1404 # WARNING: Use '\'' to represent an apostrophe within the trap.
1405 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1406 trap 'exit_status=$?
1407 # Save into config.log some information that might help in debugging.
1412 ## ---------------- ##
1413 ## Cache variables. ##
1414 ## ---------------- ##
1417 # The following way of writing the cache mishandles newlines in values,
1419 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1420 eval ac_val=\$$ac_var
1424 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1425 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1428 _ | IFS | as_nl) ;; #(
1429 *) $as_unset $ac_var ;;
1434 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1435 *${as_nl}ac_space=\ *)
1437 "s/'\''/'\''\\\\'\'''\''/g;
1438 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1441 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1449 ## ----------------- ##
1450 ## Output variables. ##
1451 ## ----------------- ##
1454 for ac_var in $ac_subst_vars
1456 eval ac_val=\$$ac_var
1458 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1460 echo "$ac_var='\''$ac_val'\''"
1464 if test -n "$ac_subst_files"; then
1466 ## ------------------- ##
1467 ## File substitutions. ##
1468 ## ------------------- ##
1471 for ac_var in $ac_subst_files
1473 eval ac_val=\$$ac_var
1475 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1477 echo "$ac_var='\''$ac_val'\''"
1482 if test -s confdefs.h; then
1492 test "$ac_signal" != 0 &&
1493 echo "$as_me: caught signal $ac_signal"
1494 echo "$as_me: exit $exit_status"
1496 rm -f core *.core core.conftest.* &&
1497 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1500 for ac_signal in 1 2 13 15; do
1501 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1505 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1506 rm -f -r conftest* confdefs.h
1508 # Predefined preprocessor variables.
1510 cat >>confdefs.h <<_ACEOF
1511 #define PACKAGE_NAME "$PACKAGE_NAME"
1515 cat >>confdefs.h <<_ACEOF
1516 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1520 cat >>confdefs.h <<_ACEOF
1521 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_STRING "$PACKAGE_STRING"
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1535 # Let the site file select an alternate cache file if it wants to.
1536 # Prefer explicitly selected file to automatically selected ones.
1537 if test -n "$CONFIG_SITE"; then
1538 set x "$CONFIG_SITE"
1539 elif test "x$prefix" != xNONE; then
1540 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1542 set x "$ac_default_prefix/share/config.site" \
1543 "$ac_default_prefix/etc/config.site"
1548 if test -r "$ac_site_file"; then
1549 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1550 echo "$as_me: loading site script $ac_site_file" >&6;}
1551 sed 's/^/| /' "$ac_site_file" >&5
1556 if test -r "$cache_file"; then
1557 # Some versions of bash will fail to source /dev/null (special
1558 # files actually), so we avoid doing that.
1559 if test -f "$cache_file"; then
1560 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1561 echo "$as_me: loading cache $cache_file" >&6;}
1563 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1564 *) . "./$cache_file";;
1568 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1569 echo "$as_me: creating cache $cache_file" >&6;}
1573 # Check that the precious variables saved in the cache have kept the same
1575 ac_cache_corrupted=false
1576 for ac_var in $ac_precious_vars; do
1577 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1578 eval ac_new_set=\$ac_env_${ac_var}_set
1579 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1580 eval ac_new_val=\$ac_env_${ac_var}_value
1581 case $ac_old_set,$ac_new_set in
1583 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1584 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1585 ac_cache_corrupted=: ;;
1587 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1588 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1589 ac_cache_corrupted=: ;;
1592 if test "x$ac_old_val" != "x$ac_new_val"; then
1593 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1594 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1595 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1596 echo "$as_me: former value: $ac_old_val" >&2;}
1597 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1598 echo "$as_me: current value: $ac_new_val" >&2;}
1599 ac_cache_corrupted=:
1602 # Pass precious variables to config.status.
1603 if test "$ac_new_set" = set; then
1605 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1606 *) ac_arg=$ac_var=$ac_new_val ;;
1608 case " $ac_configure_args " in
1609 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1610 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1614 if $ac_cache_corrupted; then
1615 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1616 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1617 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1618 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1619 { (exit 1); exit 1; }; }
1639 ac_cpp='$CPP $CPPFLAGS'
1640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1648 if test x$with_rlm_python != xno; then
1651 ac_cpp='$CPP $CPPFLAGS'
1652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1655 if test -n "$ac_tool_prefix"; then
1656 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1657 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1660 if test "${ac_cv_prog_CC+set}" = set; then
1661 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 if test -n "$CC"; then
1664 ac_cv_prog_CC="$CC" # Let the user override the test.
1666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670 test -z "$as_dir" && as_dir=.
1671 for ac_exec_ext in '' $ac_executable_extensions; do
1672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1673 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1684 if test -n "$CC"; then
1685 { echo "$as_me:$LINENO: result: $CC" >&5
1686 echo "${ECHO_T}$CC" >&6; }
1688 { echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6; }
1694 if test -z "$ac_cv_prog_CC"; then
1696 # Extract the first word of "gcc", so it can be a program name with args.
1697 set dummy gcc; ac_word=$2
1698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1700 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1701 echo $ECHO_N "(cached) $ECHO_C" >&6
1703 if test -n "$ac_ct_CC"; then
1704 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1710 test -z "$as_dir" && as_dir=.
1711 for ac_exec_ext in '' $ac_executable_extensions; do
1712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1713 ac_cv_prog_ac_ct_CC="gcc"
1714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1724 if test -n "$ac_ct_CC"; then
1725 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1726 echo "${ECHO_T}$ac_ct_CC" >&6; }
1728 { echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6; }
1732 if test "x$ac_ct_CC" = x; then
1735 case $cross_compiling:$ac_tool_warned in
1737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1738 whose name does not start with the host triplet. If you think this
1739 configuration is useful to you, please write to autoconf@gnu.org." >&5
1740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1741 whose name does not start with the host triplet. If you think this
1742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1743 ac_tool_warned=yes ;;
1751 if test -z "$CC"; then
1752 if test -n "$ac_tool_prefix"; then
1753 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1754 set dummy ${ac_tool_prefix}cc; ac_word=$2
1755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1757 if test "${ac_cv_prog_CC+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 if test -n "$CC"; then
1761 ac_cv_prog_CC="$CC" # Let the user override the test.
1763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1767 test -z "$as_dir" && as_dir=.
1768 for ac_exec_ext in '' $ac_executable_extensions; do
1769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1770 ac_cv_prog_CC="${ac_tool_prefix}cc"
1771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1781 if test -n "$CC"; then
1782 { echo "$as_me:$LINENO: result: $CC" >&5
1783 echo "${ECHO_T}$CC" >&6; }
1785 { echo "$as_me:$LINENO: result: no" >&5
1786 echo "${ECHO_T}no" >&6; }
1792 if test -z "$CC"; then
1793 # Extract the first word of "cc", so it can be a program name with args.
1794 set dummy cc; ac_word=$2
1795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1797 if test "${ac_cv_prog_CC+set}" = set; then
1798 echo $ECHO_N "(cached) $ECHO_C" >&6
1800 if test -n "$CC"; then
1801 ac_cv_prog_CC="$CC" # Let the user override the test.
1804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1808 test -z "$as_dir" && as_dir=.
1809 for ac_exec_ext in '' $ac_executable_extensions; do
1810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1811 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1812 ac_prog_rejected=yes
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1823 if test $ac_prog_rejected = yes; then
1824 # We found a bogon in the path, so make sure we never use it.
1825 set dummy $ac_cv_prog_CC
1827 if test $# != 0; then
1828 # We chose a different compiler from the bogus one.
1829 # However, it has the same basename, so the bogon will be chosen
1830 # first if we set CC to just the basename; use the full file name.
1832 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1838 if test -n "$CC"; then
1839 { echo "$as_me:$LINENO: result: $CC" >&5
1840 echo "${ECHO_T}$CC" >&6; }
1842 { echo "$as_me:$LINENO: result: no" >&5
1843 echo "${ECHO_T}no" >&6; }
1848 if test -z "$CC"; then
1849 if test -n "$ac_tool_prefix"; then
1850 for ac_prog in cl.exe
1852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1856 if test "${ac_cv_prog_CC+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1859 if test -n "$CC"; then
1860 ac_cv_prog_CC="$CC" # Let the user override the test.
1862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1866 test -z "$as_dir" && as_dir=.
1867 for ac_exec_ext in '' $ac_executable_extensions; do
1868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1869 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1880 if test -n "$CC"; then
1881 { echo "$as_me:$LINENO: result: $CC" >&5
1882 echo "${ECHO_T}$CC" >&6; }
1884 { echo "$as_me:$LINENO: result: no" >&5
1885 echo "${ECHO_T}no" >&6; }
1889 test -n "$CC" && break
1892 if test -z "$CC"; then
1894 for ac_prog in cl.exe
1896 # Extract the first word of "$ac_prog", so it can be a program name with args.
1897 set dummy $ac_prog; ac_word=$2
1898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 if test -n "$ac_ct_CC"; then
1904 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir=.
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1913 ac_cv_prog_ac_ct_CC="$ac_prog"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1923 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1924 if test -n "$ac_ct_CC"; then
1925 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1926 echo "${ECHO_T}$ac_ct_CC" >&6; }
1928 { echo "$as_me:$LINENO: result: no" >&5
1929 echo "${ECHO_T}no" >&6; }
1933 test -n "$ac_ct_CC" && break
1936 if test "x$ac_ct_CC" = x; then
1939 case $cross_compiling:$ac_tool_warned in
1941 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1942 whose name does not start with the host triplet. If you think this
1943 configuration is useful to you, please write to autoconf@gnu.org." >&5
1944 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1945 whose name does not start with the host triplet. If you think this
1946 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1947 ac_tool_warned=yes ;;
1956 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1957 See \`config.log' for more details." >&5
1958 echo "$as_me: error: no acceptable C compiler found in \$PATH
1959 See \`config.log' for more details." >&2;}
1960 { (exit 1); exit 1; }; }
1962 # Provide some information about the compiler.
1963 echo "$as_me:$LINENO: checking for C compiler version" >&5
1964 ac_compiler=`set X $ac_compile; echo $2`
1965 { (ac_try="$ac_compiler --version >&5"
1967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1968 *) ac_try_echo=$ac_try;;
1970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1971 (eval "$ac_compiler --version >&5") 2>&5
1973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1974 (exit $ac_status); }
1975 { (ac_try="$ac_compiler -v >&5"
1977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978 *) ac_try_echo=$ac_try;;
1980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1981 (eval "$ac_compiler -v >&5") 2>&5
1983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984 (exit $ac_status); }
1985 { (ac_try="$ac_compiler -V >&5"
1987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1988 *) ac_try_echo=$ac_try;;
1990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1991 (eval "$ac_compiler -V >&5") 2>&5
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); }
1996 cat >conftest.$ac_ext <<_ACEOF
1999 cat confdefs.h >>conftest.$ac_ext
2000 cat >>conftest.$ac_ext <<_ACEOF
2001 /* end confdefs.h. */
2011 ac_clean_files_save=$ac_clean_files
2012 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2013 # Try to create an executable without -o first, disregard a.out.
2014 # It will help us diagnose broken compilers, and finding out an intuition
2016 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2017 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2018 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2020 # List of possible output files, starting from the most likely.
2021 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2022 # only as a last resort. b.out is created by i960 compilers.
2023 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2025 # The IRIX 6 linker writes into existing files which may not be
2026 # executable, retaining their permissions. Remove them first so a
2027 # subsequent execution test works.
2029 for ac_file in $ac_files
2032 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2033 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2038 if { (ac_try="$ac_link_default"
2040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2041 *) ac_try_echo=$ac_try;;
2043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2044 (eval "$ac_link_default") 2>&5
2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2047 (exit $ac_status); }; then
2048 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2049 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2050 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2051 # so that the user can short-circuit this test for compilers unknown to
2053 for ac_file in $ac_files ''
2055 test -f "$ac_file" || continue
2057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2060 # We found the default executable, but exeext='' is most
2064 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2066 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2068 # We set ac_cv_exeext here because the later test for it is not
2069 # safe: cross compilers may not add the suffix if given an `-o'
2070 # argument, so we may need to know it at that point already.
2071 # Even if this section looks crufty: it has the advantage of
2078 test "$ac_cv_exeext" = no && ac_cv_exeext=
2084 { echo "$as_me:$LINENO: result: $ac_file" >&5
2085 echo "${ECHO_T}$ac_file" >&6; }
2086 if test -z "$ac_file"; then
2087 echo "$as_me: failed program was:" >&5
2088 sed 's/^/| /' conftest.$ac_ext >&5
2090 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2091 See \`config.log' for more details." >&5
2092 echo "$as_me: error: C compiler cannot create executables
2093 See \`config.log' for more details." >&2;}
2094 { (exit 77); exit 77; }; }
2097 ac_exeext=$ac_cv_exeext
2099 # Check that the compiler produces executables we can run. If not, either
2100 # the compiler is broken, or we cross compile.
2101 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2102 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2103 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2104 # If not cross compiling, check that we can run a simple program.
2105 if test "$cross_compiling" != yes; then
2106 if { ac_try='./$ac_file'
2107 { (case "(($ac_try" in
2108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2109 *) ac_try_echo=$ac_try;;
2111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2112 (eval "$ac_try") 2>&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); }; }; then
2118 if test "$cross_compiling" = maybe; then
2121 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2122 If you meant to cross compile, use \`--host'.
2123 See \`config.log' for more details." >&5
2124 echo "$as_me: error: cannot run C compiled programs.
2125 If you meant to cross compile, use \`--host'.
2126 See \`config.log' for more details." >&2;}
2127 { (exit 1); exit 1; }; }
2131 { echo "$as_me:$LINENO: result: yes" >&5
2132 echo "${ECHO_T}yes" >&6; }
2134 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2135 ac_clean_files=$ac_clean_files_save
2136 # Check that the compiler produces executables we can run. If not, either
2137 # the compiler is broken, or we cross compile.
2138 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2139 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2140 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2141 echo "${ECHO_T}$cross_compiling" >&6; }
2143 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2144 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2145 if { (ac_try="$ac_link"
2147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2148 *) ac_try_echo=$ac_try;;
2150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2151 (eval "$ac_link") 2>&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; then
2155 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2156 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2157 # work properly (i.e., refer to `conftest.exe'), while it won't with
2159 for ac_file in conftest.exe conftest conftest.*; do
2160 test -f "$ac_file" || continue
2162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2163 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2169 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2170 See \`config.log' for more details." >&5
2171 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2172 See \`config.log' for more details." >&2;}
2173 { (exit 1); exit 1; }; }
2176 rm -f conftest$ac_cv_exeext
2177 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2178 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2180 rm -f conftest.$ac_ext
2181 EXEEXT=$ac_cv_exeext
2183 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2184 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2185 if test "${ac_cv_objext+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 cat >conftest.$ac_ext <<_ACEOF
2191 cat confdefs.h >>conftest.$ac_ext
2192 cat >>conftest.$ac_ext <<_ACEOF
2193 /* end confdefs.h. */
2203 rm -f conftest.o conftest.obj
2204 if { (ac_try="$ac_compile"
2206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2207 *) ac_try_echo=$ac_try;;
2209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2210 (eval "$ac_compile") 2>&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; then
2214 for ac_file in conftest.o conftest.obj conftest.*; do
2215 test -f "$ac_file" || continue;
2217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2218 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2223 echo "$as_me: failed program was:" >&5
2224 sed 's/^/| /' conftest.$ac_ext >&5
2226 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2227 See \`config.log' for more details." >&5
2228 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2229 See \`config.log' for more details." >&2;}
2230 { (exit 1); exit 1; }; }
2233 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2235 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2236 echo "${ECHO_T}$ac_cv_objext" >&6; }
2237 OBJEXT=$ac_cv_objext
2239 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2240 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2241 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 cat >conftest.$ac_ext <<_ACEOF
2247 cat confdefs.h >>conftest.$ac_ext
2248 cat >>conftest.$ac_ext <<_ACEOF
2249 /* end confdefs.h. */
2262 rm -f conftest.$ac_objext
2263 if { (ac_try="$ac_compile"
2265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2266 *) ac_try_echo=$ac_try;;
2268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2269 (eval "$ac_compile") 2>conftest.er1
2271 grep -v '^ *+' conftest.er1 >conftest.err
2273 cat conftest.err >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); } && {
2276 test -z "$ac_c_werror_flag" ||
2277 test ! -s conftest.err
2278 } && test -s conftest.$ac_objext; then
2281 echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.$ac_ext >&5
2287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2288 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2291 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2292 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2293 GCC=`test $ac_compiler_gnu = yes && echo yes`
2294 ac_test_CFLAGS=${CFLAGS+set}
2295 ac_save_CFLAGS=$CFLAGS
2296 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2297 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2298 if test "${ac_cv_prog_cc_g+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 ac_save_c_werror_flag=$ac_c_werror_flag
2302 ac_c_werror_flag=yes
2305 cat >conftest.$ac_ext <<_ACEOF
2308 cat confdefs.h >>conftest.$ac_ext
2309 cat >>conftest.$ac_ext <<_ACEOF
2310 /* end confdefs.h. */
2320 rm -f conftest.$ac_objext
2321 if { (ac_try="$ac_compile"
2323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2324 *) ac_try_echo=$ac_try;;
2326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2327 (eval "$ac_compile") 2>conftest.er1
2329 grep -v '^ *+' conftest.er1 >conftest.err
2331 cat conftest.err >&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); } && {
2334 test -z "$ac_c_werror_flag" ||
2335 test ! -s conftest.err
2336 } && test -s conftest.$ac_objext; then
2339 echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.$ac_ext >&5
2343 cat >conftest.$ac_ext <<_ACEOF
2346 cat confdefs.h >>conftest.$ac_ext
2347 cat >>conftest.$ac_ext <<_ACEOF
2348 /* end confdefs.h. */
2358 rm -f conftest.$ac_objext
2359 if { (ac_try="$ac_compile"
2361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2362 *) ac_try_echo=$ac_try;;
2364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2365 (eval "$ac_compile") 2>conftest.er1
2367 grep -v '^ *+' conftest.er1 >conftest.err
2369 cat conftest.err >&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); } && {
2372 test -z "$ac_c_werror_flag" ||
2373 test ! -s conftest.err
2374 } && test -s conftest.$ac_objext; then
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.$ac_ext >&5
2380 ac_c_werror_flag=$ac_save_c_werror_flag
2382 cat >conftest.$ac_ext <<_ACEOF
2385 cat confdefs.h >>conftest.$ac_ext
2386 cat >>conftest.$ac_ext <<_ACEOF
2387 /* end confdefs.h. */
2397 rm -f conftest.$ac_objext
2398 if { (ac_try="$ac_compile"
2400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2401 *) ac_try_echo=$ac_try;;
2403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2404 (eval "$ac_compile") 2>conftest.er1
2406 grep -v '^ *+' conftest.er1 >conftest.err
2408 cat conftest.err >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); } && {
2411 test -z "$ac_c_werror_flag" ||
2412 test ! -s conftest.err
2413 } && test -s conftest.$ac_objext; then
2416 echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.$ac_ext >&5
2422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2429 ac_c_werror_flag=$ac_save_c_werror_flag
2431 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2432 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2433 if test "$ac_test_CFLAGS" = set; then
2434 CFLAGS=$ac_save_CFLAGS
2435 elif test $ac_cv_prog_cc_g = yes; then
2436 if test "$GCC" = yes; then
2442 if test "$GCC" = yes; then
2448 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2449 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2450 if test "${ac_cv_prog_cc_c89+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 ac_cv_prog_cc_c89=no
2455 cat >conftest.$ac_ext <<_ACEOF
2458 cat confdefs.h >>conftest.$ac_ext
2459 cat >>conftest.$ac_ext <<_ACEOF
2460 /* end confdefs.h. */
2463 #include <sys/types.h>
2464 #include <sys/stat.h>
2465 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2466 struct buf { int x; };
2467 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2468 static char *e (p, i)
2474 static char *f (char * (*g) (char **, int), char **p, ...)
2479 s = g (p, va_arg (v,int));
2484 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2485 function prototypes and stuff, but not '\xHH' hex character constants.
2486 These don't provoke an error unfortunately, instead are silently treated
2487 as 'x'. The following induces an error, until -std is added to get
2488 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2489 array size at least. It's necessary to write '\x00'==0 to get something
2490 that's true only with -std. */
2491 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2493 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2494 inside strings and character constants. */
2496 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2498 int test (int i, double x);
2499 struct s1 {int (*f) (int a);};
2500 struct s2 {int (*f) (double a);};
2501 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2507 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2512 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2513 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2515 CC="$ac_save_CC $ac_arg"
2516 rm -f conftest.$ac_objext
2517 if { (ac_try="$ac_compile"
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2523 (eval "$ac_compile") 2>conftest.er1
2525 grep -v '^ *+' conftest.er1 >conftest.err
2527 cat conftest.err >&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); } && {
2530 test -z "$ac_c_werror_flag" ||
2531 test ! -s conftest.err
2532 } && test -s conftest.$ac_objext; then
2533 ac_cv_prog_cc_c89=$ac_arg
2535 echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.$ac_ext >&5
2541 rm -f core conftest.err conftest.$ac_objext
2542 test "x$ac_cv_prog_cc_c89" != "xno" && break
2544 rm -f conftest.$ac_ext
2549 case "x$ac_cv_prog_cc_c89" in
2551 { echo "$as_me:$LINENO: result: none needed" >&5
2552 echo "${ECHO_T}none needed" >&6; } ;;
2554 { echo "$as_me:$LINENO: result: unsupported" >&5
2555 echo "${ECHO_T}unsupported" >&6; } ;;
2557 CC="$CC $ac_cv_prog_cc_c89"
2558 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2559 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2564 ac_cpp='$CPP $CPPFLAGS'
2565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2570 ac_cpp='$CPP $CPPFLAGS'
2571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2574 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2575 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2576 # On Suns, sometimes $CPP names a directory.
2577 if test -n "$CPP" && test -d "$CPP"; then
2580 if test -z "$CPP"; then
2581 if test "${ac_cv_prog_CPP+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 # Double quotes because CPP needs to be expanded
2585 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2588 for ac_c_preproc_warn_flag in '' yes
2590 # Use a header file that comes with gcc, so configuring glibc
2591 # with a fresh cross-compiler works.
2592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2593 # <limits.h> exists even on freestanding compilers.
2594 # On the NeXT, cc -E runs the code through the compiler's parser,
2595 # not just through cpp. "Syntax error" is here to catch this case.
2596 cat >conftest.$ac_ext <<_ACEOF
2599 cat confdefs.h >>conftest.$ac_ext
2600 cat >>conftest.$ac_ext <<_ACEOF
2601 /* end confdefs.h. */
2603 # include <limits.h>
2605 # include <assert.h>
2609 if { (ac_try="$ac_cpp conftest.$ac_ext"
2611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2612 *) ac_try_echo=$ac_try;;
2614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2617 grep -v '^ *+' conftest.er1 >conftest.err
2619 cat conftest.err >&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); } >/dev/null && {
2622 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2623 test ! -s conftest.err
2627 echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.$ac_ext >&5
2630 # Broken: fails on valid input.
2634 rm -f conftest.err conftest.$ac_ext
2636 # OK, works on sane cases. Now check whether nonexistent headers
2637 # can be detected and how.
2638 cat >conftest.$ac_ext <<_ACEOF
2641 cat confdefs.h >>conftest.$ac_ext
2642 cat >>conftest.$ac_ext <<_ACEOF
2643 /* end confdefs.h. */
2644 #include <ac_nonexistent.h>
2646 if { (ac_try="$ac_cpp conftest.$ac_ext"
2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2654 grep -v '^ *+' conftest.er1 >conftest.err
2656 cat conftest.err >&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); } >/dev/null && {
2659 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2660 test ! -s conftest.err
2662 # Broken: success on invalid input.
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2668 # Passes both tests.
2673 rm -f conftest.err conftest.$ac_ext
2676 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2677 rm -f conftest.err conftest.$ac_ext
2678 if $ac_preproc_ok; then
2690 { echo "$as_me:$LINENO: result: $CPP" >&5
2691 echo "${ECHO_T}$CPP" >&6; }
2693 for ac_c_preproc_warn_flag in '' yes
2695 # Use a header file that comes with gcc, so configuring glibc
2696 # with a fresh cross-compiler works.
2697 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2698 # <limits.h> exists even on freestanding compilers.
2699 # On the NeXT, cc -E runs the code through the compiler's parser,
2700 # not just through cpp. "Syntax error" is here to catch this case.
2701 cat >conftest.$ac_ext <<_ACEOF
2704 cat confdefs.h >>conftest.$ac_ext
2705 cat >>conftest.$ac_ext <<_ACEOF
2706 /* end confdefs.h. */
2708 # include <limits.h>
2710 # include <assert.h>
2714 if { (ac_try="$ac_cpp conftest.$ac_ext"
2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2717 *) ac_try_echo=$ac_try;;
2719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2720 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2722 grep -v '^ *+' conftest.er1 >conftest.err
2724 cat conftest.err >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); } >/dev/null && {
2727 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2728 test ! -s conftest.err
2732 echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.$ac_ext >&5
2735 # Broken: fails on valid input.
2739 rm -f conftest.err conftest.$ac_ext
2741 # OK, works on sane cases. Now check whether nonexistent headers
2742 # can be detected and how.
2743 cat >conftest.$ac_ext <<_ACEOF
2746 cat confdefs.h >>conftest.$ac_ext
2747 cat >>conftest.$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2749 #include <ac_nonexistent.h>
2751 if { (ac_try="$ac_cpp conftest.$ac_ext"
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2759 grep -v '^ *+' conftest.er1 >conftest.err
2761 cat conftest.err >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); } >/dev/null && {
2764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2765 test ! -s conftest.err
2767 # Broken: success on invalid input.
2770 echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.$ac_ext >&5
2773 # Passes both tests.
2778 rm -f conftest.err conftest.$ac_ext
2781 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2782 rm -f conftest.err conftest.$ac_ext
2783 if $ac_preproc_ok; then
2786 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2787 See \`config.log' for more details." >&5
2788 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2789 See \`config.log' for more details." >&2;}
2790 { (exit 1); exit 1; }; }
2794 ac_cpp='$CPP $CPPFLAGS'
2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2800 for ac_prog in python2.3 python2.2 python2.1 python1.5 python
2802 # Extract the first word of "$ac_prog", so it can be a program name with args.
2803 set dummy $ac_prog; ac_word=$2
2804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2806 if test "${ac_cv_prog_PYTHONBIN+set}" = set; then
2807 echo $ECHO_N "(cached) $ECHO_C" >&6
2809 if test -n "$PYTHONBIN"; then
2810 ac_cv_prog_PYTHONBIN="$PYTHONBIN" # Let the user override the test.
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 as_dummy="${PATH}:/usr/bin:/usr/local/bin"
2814 for as_dir in $as_dummy
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820 ac_cv_prog_PYTHONBIN="$ac_prog"
2821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 PYTHONBIN=$ac_cv_prog_PYTHONBIN
2831 if test -n "$PYTHONBIN"; then
2832 { echo "$as_me:$LINENO: result: $PYTHONBIN" >&5
2833 echo "${ECHO_T}$PYTHONBIN" >&6; }
2835 { echo "$as_me:$LINENO: result: no" >&5
2836 echo "${ECHO_T}no" >&6; }
2840 test -n "$PYTHONBIN" && break
2842 test -n "$PYTHONBIN" || PYTHONBIN="not-found"
2845 if test x$PYTHONBIN = xnot-found; then
2846 fail="python-binary"
2851 # Check whether --with-rlm-python-lib-dir was given.
2852 if test "${with_rlm_python_lib_dir+set}" = set; then
2853 withval=$with_rlm_python_lib_dir; case "$withval" in
2855 { { echo "$as_me:$LINENO: error: Need rlm-python-lib-dir" >&5
2856 echo "$as_me: error: Need rlm-python-lib-dir" >&2;}
2857 { (exit 1); exit 1; }; }
2862 PY_LIB_DIR="$withval"
2871 # Check whether --with-rlm-python-include-dir was given.
2872 if test "${with_rlm_python_include_dir+set}" = set; then
2873 withval=$with_rlm_python_include_dir; case "$withval" in
2875 { { echo "$as_me:$LINENO: error: Need rlm-python-include-dir" >&5
2876 echo "$as_me: error: Need rlm-python-include-dir" >&2;}
2877 { (exit 1); exit 1; }; }
2882 PY_INC_DIR="$withval"
2889 if test x$fail = x; then
2891 PY_PREFIX=`${PYTHONBIN} -c 'import sys ; print sys.prefix'`
2892 PY_EXEC_PREFIX=`${PYTHONBIN} -c 'import sys ; print sys.exec_prefix'`
2893 PY_VERSION=`${PYTHONBIN} -c 'import sys ; print sys.version[0:3]'`
2894 PY_LIBS="-lpython$PY_VERSION"
2895 PY_LIB_DIR="$PY_EXEC_PREFIX/lib/python$PY_VERSION/config"
2896 PY_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config"
2897 PY_INC_DIR="$PY_PREFIX/include/python$PY_VERSION"
2898 PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION"
2899 PY_MAKEFILE="$PY_EXEC_PREFIX/lib/python$PY_VERSION/config/Makefile"
2900 if test -f ${PY_MAKEFILE}; then
2901 PY_LOCALMODLIBS=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $PY_MAKEFILE`
2902 PY_BASEMODLIBS=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $PY_MAKEFILE`
2903 PY_OTHER_LIBS=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $PY_MAKEFILE`
2904 PY_OTHER_LDFLAGS=`sed -n -e 's/^LINKFORSHARED=\(.*\)/\1/p' $PY_MAKEFILE`
2906 PY_EXTRA_LIBS="$PY_LOCALMODLIBS $PY_BASEMODLIBS $PY_OTHER_LIBS"
2909 CFLAGS="$CFLAGS $PY_CFLAGS"
2910 smart_try_dir=$PY_INC_DIR
2914 ac_safe=`echo "Python.h" | sed 'y%./+-%__pm%'`
2915 { echo "$as_me:$LINENO: checking for Python.h" >&5
2916 echo $ECHO_N "checking for Python.h... $ECHO_C" >&6; }
2918 old_CFLAGS="$CFLAGS"
2922 if test "x$smart_try_dir" != "x"; then
2923 for try in $smart_try_dir; do
2924 CFLAGS="$old_CFLAGS -I$try"
2925 cat >conftest.$ac_ext <<_ACEOF
2928 cat confdefs.h >>conftest.$ac_ext
2929 cat >>conftest.$ac_ext <<_ACEOF
2930 /* end confdefs.h. */
2941 rm -f conftest.$ac_objext
2942 if { (ac_try="$ac_compile"
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2948 (eval "$ac_compile") 2>conftest.er1
2950 grep -v '^ *+' conftest.er1 >conftest.err
2952 cat conftest.err >&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); } && {
2955 test -z "$ac_c_werror_flag" ||
2956 test ! -s conftest.err
2957 } && test -s conftest.$ac_objext; then
2958 smart_include="-I$try"
2960 echo "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.$ac_ext >&5
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 if test "x$smart_include" != "x"; then
2971 CFLAGS="$old_CFLAGS"
2974 if test "x$smart_include" = "x"; then
2975 cat >conftest.$ac_ext <<_ACEOF
2978 cat confdefs.h >>conftest.$ac_ext
2979 cat >>conftest.$ac_ext <<_ACEOF
2980 /* end confdefs.h. */
2991 rm -f conftest.$ac_objext
2992 if { (ac_try="$ac_compile"
2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2995 *) ac_try_echo=$ac_try;;
2997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2998 (eval "$ac_compile") 2>conftest.er1
3000 grep -v '^ *+' conftest.er1 >conftest.err
3002 cat conftest.err >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); } && {
3005 test -z "$ac_c_werror_flag" ||
3006 test ! -s conftest.err
3007 } && test -s conftest.$ac_objext; then
3010 echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3019 if test "x$smart_include" = "x"; then
3022 if test "x$LOCATE" != "x"; then
3026 for x in `${LOCATE} $file 2>/dev/null`; do
3027 base=`echo $x | sed "s%/${file}%%"`
3028 if test "x$x" = "x$base"; then
3032 dir=`${DIRNAME} $x 2>/dev/null`
3033 exclude=`echo ${dir} | ${GREP} /home`
3034 if test "x$exclude" != "x"; then
3038 already=`echo \$smart_include_dir ${DIRS} | ${GREP} ${dir}`
3039 if test "x$already" = "x"; then
3045 eval "smart_include_dir=\"\$smart_include_dir $DIRS\""
3048 for try in $smart_include_dir /usr/local/include /opt/include; do
3049 CFLAGS="$old_CFLAGS -I$try"
3050 cat >conftest.$ac_ext <<_ACEOF
3053 cat confdefs.h >>conftest.$ac_ext
3054 cat >>conftest.$ac_ext <<_ACEOF
3055 /* end confdefs.h. */
3066 rm -f conftest.$ac_objext
3067 if { (ac_try="$ac_compile"
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3073 (eval "$ac_compile") 2>conftest.er1
3075 grep -v '^ *+' conftest.er1 >conftest.err
3077 cat conftest.err >&5
3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 (exit $ac_status); } && {
3080 test -z "$ac_c_werror_flag" ||
3081 test ! -s conftest.err
3082 } && test -s conftest.$ac_objext; then
3083 smart_include="-I$try"
3085 echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3092 if test "x$smart_include" != "x"; then
3096 CFLAGS="$old_CFLAGS"
3099 if test "x$smart_include" != "x"; then
3100 { echo "$as_me:$LINENO: result: yes" >&5
3101 echo "${ECHO_T}yes" >&6; }
3102 eval "ac_cv_header_$ac_safe=yes"
3103 CFLAGS="$old_CFLAGS $smart_include"
3104 SMART_CFLAGS="$SMART_CFLAGS $smart_include"
3106 { echo "$as_me:$LINENO: result: no" >&5
3107 echo "${ECHO_T}no" >&6; }
3112 if test "x$ac_cv_header_Python_h" = "xyes"; then
3113 python_cflags=$PY_CFLAGS
3115 fail="$fail Python.h"
3120 LIBS="$LIBS $PY_LIB_LOC $PY_EXTRA_LIBS -lm"
3121 smart_try_dir=$PY_LIB_DIR
3124 sm_lib_safe=`echo "python${PY_VERSION}" | sed 'y%./+-%__p_%'`
3125 sm_func_safe=`echo "Py_Initialize" | sed 'y%./+-%__p_%'`
3126 { echo "$as_me:$LINENO: checking for Py_Initialize in -lpython${PY_VERSION}" >&5
3127 echo $ECHO_N "checking for Py_Initialize in -lpython${PY_VERSION}... $ECHO_C" >&6; }
3133 if test "x$smart_try_dir" != "x"; then
3134 for try in $smart_try_dir; do
3135 LIBS="-L$try -lpython${PY_VERSION} $old_LIBS"
3136 cat >conftest.$ac_ext <<_ACEOF
3139 cat confdefs.h >>conftest.$ac_ext
3140 cat >>conftest.$ac_ext <<_ACEOF
3141 /* end confdefs.h. */
3142 extern char Py_Initialize();
3151 rm -f conftest.$ac_objext conftest$ac_exeext
3152 if { (ac_try="$ac_link"
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_link") 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_c_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest$ac_exeext &&
3168 $as_test_x conftest$ac_exeext; then
3169 smart_lib="-L$try -lpython${PY_VERSION}"
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3178 conftest$ac_exeext conftest.$ac_ext
3179 if test "x$smart_lib" != "x"; then
3186 if test "x$smart_lib" = "x"; then
3187 LIBS="-lpython${PY_VERSION} $old_LIBS"
3188 cat >conftest.$ac_ext <<_ACEOF
3191 cat confdefs.h >>conftest.$ac_ext
3192 cat >>conftest.$ac_ext <<_ACEOF
3193 /* end confdefs.h. */
3194 extern char Py_Initialize();
3203 rm -f conftest.$ac_objext conftest$ac_exeext
3204 if { (ac_try="$ac_link"
3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3210 (eval "$ac_link") 2>conftest.er1
3212 grep -v '^ *+' conftest.er1 >conftest.err
3214 cat conftest.err >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } && {
3217 test -z "$ac_c_werror_flag" ||
3218 test ! -s conftest.err
3219 } && test -s conftest$ac_exeext &&
3220 $as_test_x conftest$ac_exeext; then
3221 smart_lib="-lpython${PY_VERSION}"
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3230 conftest$ac_exeext conftest.$ac_ext
3234 if test "x$smart_lib" = "x"; then
3237 if test "x$LOCATE" != "x"; then
3239 file=libpython${PY_VERSION}${libltdl_cv_shlibext}
3241 for x in `${LOCATE} $file 2>/dev/null`; do
3242 base=`echo $x | sed "s%/${file}%%"`
3243 if test "x$x" = "x$base"; then
3247 dir=`${DIRNAME} $x 2>/dev/null`
3248 exclude=`echo ${dir} | ${GREP} /home`
3249 if test "x$exclude" != "x"; then
3253 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3254 if test "x$already" = "x"; then
3260 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3264 if test "x$LOCATE" != "x"; then
3266 file=libpython${PY_VERSION}.a
3268 for x in `${LOCATE} $file 2>/dev/null`; do
3269 base=`echo $x | sed "s%/${file}%%"`
3270 if test "x$x" = "x$base"; then
3274 dir=`${DIRNAME} $x 2>/dev/null`
3275 exclude=`echo ${dir} | ${GREP} /home`
3276 if test "x$exclude" != "x"; then
3280 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3281 if test "x$already" = "x"; then
3287 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3290 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
3291 LIBS="-L$try -lpython${PY_VERSION} $old_LIBS"
3292 cat >conftest.$ac_ext <<_ACEOF
3295 cat confdefs.h >>conftest.$ac_ext
3296 cat >>conftest.$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3298 extern char Py_Initialize();
3307 rm -f conftest.$ac_objext conftest$ac_exeext
3308 if { (ac_try="$ac_link"
3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3314 (eval "$ac_link") 2>conftest.er1
3316 grep -v '^ *+' conftest.er1 >conftest.err
3318 cat conftest.err >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } && {
3321 test -z "$ac_c_werror_flag" ||
3322 test ! -s conftest.err
3323 } && test -s conftest$ac_exeext &&
3324 $as_test_x conftest$ac_exeext; then
3325 smart_lib="-L$try -lpython${PY_VERSION}"
3327 echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.$ac_ext >&5
3333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3334 conftest$ac_exeext conftest.$ac_ext
3335 if test "x$smart_lib" != "x"; then
3342 if test "x$smart_lib" != "x"; then
3343 { echo "$as_me:$LINENO: result: yes" >&5
3344 echo "${ECHO_T}yes" >&6; }
3345 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
3346 LIBS="$smart_lib $old_LIBS"
3347 SMART_LIBS="$smart_lib $SMART_LIBS"
3349 { echo "$as_me:$LINENO: result: no" >&5
3350 echo "${ECHO_T}no" >&6; }
3355 eval t=\${ac_cv_lib_${sm_lib_safe}_${sm_func_safe}}
3356 if test "x$t" = "xyes"; then
3357 python_ldflags="$PY_LIB_LOC $PY_EXTRA_LIBS -lpython${PY_VERSION} -lm"
3358 targetname=rlm_python
3361 fail="$fail libpython$PY_VERSION"
3367 echo \*\*\* module rlm_python is disabled.
3370 if test x"$fail" != x""; then
3371 if test x"${enable_strict_dependencies}" = x"yes"; then
3372 { { echo "$as_me:$LINENO: error: set --without-rlm_python to disable it explicitly." >&5
3373 echo "$as_me: error: set --without-rlm_python to disable it explicitly." >&2;}
3374 { (exit 1); exit 1; }; }
3376 { echo "$as_me:$LINENO: WARNING: silently not building rlm_python." >&5
3377 echo "$as_me: WARNING: silently not building rlm_python." >&2;}
3378 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_python requires: $fail." >&5
3379 echo "$as_me: WARNING: FAILURE: rlm_python requires: $fail." >&2;};
3388 unset ac_cv_env_LIBS_set
3389 unset ac_cv_env_LIBS_value
3391 ac_config_files="$ac_config_files Makefile all.mk"
3393 cat >confcache <<\_ACEOF
3394 # This file is a shell script that caches the results of configure
3395 # tests run on this system so they can be shared between configure
3396 # scripts and configure runs, see configure's option --config-cache.
3397 # It is not useful on other systems. If it contains results you don't
3398 # want to keep, you may remove or edit it.
3400 # config.status only pays attention to the cache file if you give it
3401 # the --recheck option to rerun configure.
3403 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3404 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3409 # The following way of writing the cache mishandles newlines in values,
3410 # but we know of no workaround that is simple, portable, and efficient.
3411 # So, we kill variables containing newlines.
3412 # Ultrix sh set writes to stderr and can't be redirected directly,
3413 # and sets the high bit in the cache file unless we assign to the vars.
3415 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3416 eval ac_val=\$$ac_var
3420 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3421 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3424 _ | IFS | as_nl) ;; #(
3425 *) $as_unset $ac_var ;;
3431 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3432 *${as_nl}ac_space=\ *)
3433 # `set' does not quote correctly, so add quotes (double-quote
3434 # substitution turns \\\\ into \\, and sed turns \\ into \).
3437 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3440 # `set' quotes correctly as required by POSIX, so do not add quotes.
3441 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3450 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3452 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3454 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3455 if test -w "$cache_file"; then
3456 test "x$cache_file" != "x/dev/null" &&
3457 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3458 echo "$as_me: updating cache $cache_file" >&6;}
3459 cat confcache >$cache_file
3461 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3462 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3467 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3468 # Let make expand exec_prefix.
3469 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3471 # Transform confdefs.h into DEFS.
3472 # Protect against shell expansion while executing Makefile rules.
3473 # Protect against Makefile macro expansion.
3475 # If the first sed substitution is executed (which looks for macros that
3476 # take arguments), then branch to the quote section. Otherwise,
3477 # look for a macro that doesn't take arguments.
3481 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3483 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3487 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3500 DEFS=`sed -n "$ac_script" confdefs.h`
3505 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3506 # 1. Remove the extension, and $U if already installed.
3507 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3508 ac_i=`echo "$ac_i" | sed "$ac_script"`
3509 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3510 # will be set to the directory where LIBOBJS objects are built.
3511 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3512 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3516 LTLIBOBJS=$ac_ltlibobjs
3520 : ${CONFIG_STATUS=./config.status}
3521 ac_clean_files_save=$ac_clean_files
3522 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3523 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3524 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3525 cat >$CONFIG_STATUS <<_ACEOF
3527 # Generated by $as_me.
3528 # Run this file to recreate the current configuration.
3529 # Compiler output produced by configure, useful for debugging
3530 # configure, is in config.log if it exists.
3535 SHELL=\${CONFIG_SHELL-$SHELL}
3538 cat >>$CONFIG_STATUS <<\_ACEOF
3539 ## --------------------- ##
3540 ## M4sh Initialization. ##
3541 ## --------------------- ##
3543 # Be more Bourne compatible
3544 DUALCASE=1; export DUALCASE # for MKS sh
3545 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3548 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3549 # is contrary to our usage. Disable this feature.
3550 alias -g '${1+"$@"}'='"$@"'
3551 setopt NO_GLOB_SUBST
3553 case `(set -o) 2>/dev/null` in
3554 *posix*) set -o posix ;;
3563 # Avoid depending upon Character Ranges.
3564 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3565 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3566 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3567 as_cr_digits='0123456789'
3568 as_cr_alnum=$as_cr_Letters$as_cr_digits
3570 # The user is always right.
3571 if test "${PATH_SEPARATOR+set}" != set; then
3572 echo "#! /bin/sh" >conf$$.sh
3573 echo "exit 0" >>conf$$.sh
3575 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3583 # Support unset when possible.
3584 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3592 # We need space, tab and new line, in precisely that order. Quoting is
3593 # there to prevent editors from complaining about space-tab.
3594 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3595 # splitting by setting IFS to empty value.)
3600 # Find who we are. Look in the path if we contain no directory separator.
3602 *[\\/]* ) as_myself=$0 ;;
3603 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 test -z "$as_dir" && as_dir=.
3608 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3614 # We did not find ourselves, most probably we were run as `sh COMMAND'
3615 # in which case we are not to be found in the path.
3616 if test "x$as_myself" = x; then
3619 if test ! -f "$as_myself"; then
3620 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3621 { (exit 1); exit 1; }
3624 # Work around bugs in pre-3.0 UWIN ksh.
3625 for as_var in ENV MAIL MAILPATH
3626 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3634 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3635 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3636 LC_TELEPHONE LC_TIME
3638 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3639 eval $as_var=C; export $as_var
3641 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3645 # Required to use basename.
3646 if expr a : '\(a\)' >/dev/null 2>&1 &&
3647 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3653 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3654 as_basename=basename
3660 # Name of the executable.
3661 as_me=`$as_basename -- "$0" ||
3662 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3663 X"$0" : 'X\(//\)$' \| \
3664 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3666 sed '/^.*\/\([^/][^/]*\)\/*$/{
3687 test "x$as_lineno_1" != "x$as_lineno_2" &&
3688 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3690 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3691 # uniformly replaced by the line number. The first 'sed' inserts a
3692 # line-number line after each line using $LINENO; the second 'sed'
3693 # does the real work. The second script uses 'N' to pair each
3694 # line-number line with the line containing $LINENO, and appends
3695 # trailing '-' during substitution so that $LINENO is not a special
3697 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3698 # scripts with optimization help from Paolo Bonzini. Blame Lee
3699 # E. McMahon (1931-1989) for sed's syntax. :-)
3711 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3715 chmod +x "$as_me.lineno" ||
3716 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3717 { (exit 1); exit 1; }; }
3719 # Don't try to exec as it changes $[0], causing all sort of problems
3720 # (the dirname of $[0] is not the place where we might find the
3721 # original and so on. Autoconf is especially sensitive to this).
3723 # Exit status is that of the last command.
3728 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3734 ECHO_C= ECHO_N= ECHO_T=
3737 case `echo 'x\c'` in
3738 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3745 if expr a : '\(a\)' >/dev/null 2>&1 &&
3746 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3752 rm -f conf$$ conf$$.exe conf$$.file
3753 if test -d conf$$.dir; then
3754 rm -f conf$$.dir/conf$$.file
3760 if ln -s conf$$.file conf$$ 2>/dev/null; then
3762 # ... but there are two gotchas:
3763 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3764 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3765 # In both cases, we have to default to `cp -p'.
3766 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3768 elif ln conf$$.file conf$$ 2>/dev/null; then
3773 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3774 rmdir conf$$.dir 2>/dev/null
3776 if mkdir -p . 2>/dev/null; then
3779 test -d ./-p && rmdir ./-p
3783 if test -x / >/dev/null 2>&1; then
3786 if ls -dL / >/dev/null 2>&1; then
3793 if test -d "$1"; then
3799 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3800 ???[sx]*):;;*)false;;esac;fi
3804 as_executable_p=$as_test_x
3806 # Sed expression to map a string onto a valid CPP name.
3807 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3809 # Sed expression to map a string onto a valid variable name.
3810 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3815 # Save the log message, to keep $[0] and so on meaningful, and to
3816 # report actual input values of CONFIG_FILES etc. instead of their
3817 # values after options handling.
3819 This file was extended by $as_me, which was
3820 generated by GNU Autoconf 2.61. Invocation command line was
3822 CONFIG_FILES = $CONFIG_FILES
3823 CONFIG_HEADERS = $CONFIG_HEADERS
3824 CONFIG_LINKS = $CONFIG_LINKS
3825 CONFIG_COMMANDS = $CONFIG_COMMANDS
3828 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3833 cat >>$CONFIG_STATUS <<_ACEOF
3834 # Files that config.status was made for.
3835 config_files="$ac_config_files"
3839 cat >>$CONFIG_STATUS <<\_ACEOF
3841 \`$as_me' instantiates files from templates according to the
3842 current configuration.
3844 Usage: $0 [OPTIONS] [FILE]...
3846 -h, --help print this help, then exit
3847 -V, --version print version number and configuration settings, then exit
3848 -q, --quiet do not print progress messages
3849 -d, --debug don't remove temporary files
3850 --recheck update $as_me by reconfiguring in the same conditions
3851 --file=FILE[:TEMPLATE]
3852 instantiate the configuration file FILE
3854 Configuration files:
3857 Report bugs to <bug-autoconf@gnu.org>."
3860 cat >>$CONFIG_STATUS <<_ACEOF
3863 configured by $0, generated by GNU Autoconf 2.61,
3864 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3866 Copyright (C) 2006 Free Software Foundation, Inc.
3867 This config.status script is free software; the Free Software Foundation
3868 gives unlimited permission to copy, distribute and modify it."
3874 cat >>$CONFIG_STATUS <<\_ACEOF
3875 # If no file are specified by the user, then we need to provide default
3876 # value. By we need to know if files were specified by the user.
3882 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3883 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3894 # Handling of the options.
3895 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3897 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3898 echo "$ac_cs_version"; exit ;;
3899 --debug | --debu | --deb | --de | --d | -d )
3901 --file | --fil | --fi | --f )
3903 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3904 ac_need_defaults=false;;
3905 --he | --h | --help | --hel | -h )
3906 echo "$ac_cs_usage"; exit ;;
3907 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3908 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3912 -*) { echo "$as_me: error: unrecognized option: $1
3913 Try \`$0 --help' for more information." >&2
3914 { (exit 1); exit 1; }; } ;;
3916 *) ac_config_targets="$ac_config_targets $1"
3917 ac_need_defaults=false ;;
3923 ac_configure_extra_args=
3925 if $ac_cs_silent; then
3927 ac_configure_extra_args="$ac_configure_extra_args --silent"
3931 cat >>$CONFIG_STATUS <<_ACEOF
3932 if \$ac_cs_recheck; then
3933 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3936 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3940 cat >>$CONFIG_STATUS <<\_ACEOF
3944 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3945 ## Running $as_me. ##
3951 cat >>$CONFIG_STATUS <<_ACEOF
3954 cat >>$CONFIG_STATUS <<\_ACEOF
3956 # Handling of arguments.
3957 for ac_config_target in $ac_config_targets
3959 case $ac_config_target in
3960 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3962 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3963 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3964 { (exit 1); exit 1; }; };;
3969 # If the user did not use the arguments to specify the items to instantiate,
3970 # then the envvar interface is used. Set only those that are not.
3971 # We use the long form for the default assignment because of an extremely
3972 # bizarre bug on SunOS 4.1.3.
3973 if $ac_need_defaults; then
3974 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3977 # Have a temporary directory for convenience. Make it in the build tree
3978 # simply because there is no reason against having it here, and in addition,
3979 # creating and moving files from /tmp can sometimes cause problems.
3980 # Hook for its removal unless debugging.
3981 # Note that there is a small window in which the directory will not be cleaned:
3982 # after its creation but before its name has been assigned to `$tmp'.
3986 trap 'exit_status=$?
3987 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3989 trap '{ (exit 1); exit 1; }' 1 2 13 15
3991 # Create a (secure) tmp directory for tmp files.
3994 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3995 test -n "$tmp" && test -d "$tmp"
3998 tmp=./conf$$-$RANDOM
3999 (umask 077 && mkdir "$tmp")
4002 echo "$me: cannot create a temporary directory in ." >&2
4003 { (exit 1); exit 1; }
4007 # Set up the sed scripts for CONFIG_FILES section.
4010 # No need to generate the scripts if there are no CONFIG_FILES.
4011 # This happens for instance when ./config.status config.h
4012 if test -n "$CONFIG_FILES"; then
4019 for ac_last_try in false false false false false :; do
4020 cat >conf$$subs.sed <<_ACEOF
4021 SHELL!$SHELL$ac_delim
4022 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4023 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4024 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4025 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4026 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4027 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4028 exec_prefix!$exec_prefix$ac_delim
4029 prefix!$prefix$ac_delim
4030 program_transform_name!$program_transform_name$ac_delim
4031 bindir!$bindir$ac_delim
4032 sbindir!$sbindir$ac_delim
4033 libexecdir!$libexecdir$ac_delim
4034 datarootdir!$datarootdir$ac_delim
4035 datadir!$datadir$ac_delim
4036 sysconfdir!$sysconfdir$ac_delim
4037 sharedstatedir!$sharedstatedir$ac_delim
4038 localstatedir!$localstatedir$ac_delim
4039 includedir!$includedir$ac_delim
4040 oldincludedir!$oldincludedir$ac_delim
4041 docdir!$docdir$ac_delim
4042 infodir!$infodir$ac_delim
4043 htmldir!$htmldir$ac_delim
4044 dvidir!$dvidir$ac_delim
4045 pdfdir!$pdfdir$ac_delim
4046 psdir!$psdir$ac_delim
4047 libdir!$libdir$ac_delim
4048 localedir!$localedir$ac_delim
4049 mandir!$mandir$ac_delim
4051 ECHO_C!$ECHO_C$ac_delim
4052 ECHO_N!$ECHO_N$ac_delim
4053 ECHO_T!$ECHO_T$ac_delim
4055 build_alias!$build_alias$ac_delim
4056 host_alias!$host_alias$ac_delim
4057 target_alias!$target_alias$ac_delim
4059 CFLAGS!$CFLAGS$ac_delim
4060 LDFLAGS!$LDFLAGS$ac_delim
4061 CPPFLAGS!$CPPFLAGS$ac_delim
4062 ac_ct_CC!$ac_ct_CC$ac_delim
4063 EXEEXT!$EXEEXT$ac_delim
4064 OBJEXT!$OBJEXT$ac_delim
4066 PYTHONBIN!$PYTHONBIN$ac_delim
4067 python_ldflags!$python_ldflags$ac_delim
4068 python_cflags!$python_cflags$ac_delim
4069 targetname!$targetname$ac_delim
4070 LIBOBJS!$LIBOBJS$ac_delim
4071 LTLIBOBJS!$LTLIBOBJS$ac_delim
4074 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
4076 elif $ac_last_try; then
4077 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4078 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4079 { (exit 1); exit 1; }; }
4081 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4085 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4086 if test -n "$ac_eof"; then
4087 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4088 ac_eof=`expr $ac_eof + 1`
4091 cat >>$CONFIG_STATUS <<_ACEOF
4092 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4093 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4096 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4097 s/^/s,@/; s/!/@,|#_!!_#|/
4100 s/'"$ac_delim"'$/,g/; t
4102 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4103 ' >>$CONFIG_STATUS <conf$$subs.sed
4104 rm -f conf$$subs.sed
4105 cat >>$CONFIG_STATUS <<_ACEOF
4112 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4113 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4114 # trailing colons and then remove the whole line if VPATH becomes empty
4115 # (actually we leave an empty line to preserve line numbers).
4116 if test "x$srcdir" = x.; then
4117 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4121 s/^\([^=]*=[ ]*\):*/\1/
4127 cat >>$CONFIG_STATUS <<\_ACEOF
4128 fi # test -n "$CONFIG_FILES"
4131 for ac_tag in :F $CONFIG_FILES
4134 :[FHLC]) ac_mode=$ac_tag; continue;;
4136 case $ac_mode$ac_tag in
4138 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4139 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4140 { (exit 1); exit 1; }; };;
4141 :[FH]-) ac_tag=-:-;;
4142 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4159 -) ac_f="$tmp/stdin";;
4160 *) # Look for the file first in the build tree, then in the source tree
4161 # (if the path is not absolute). The absolute path cannot be DOS-style,
4162 # because $ac_f cannot contain `:'.
4166 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4168 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4169 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4170 { (exit 1); exit 1; }; };;
4172 ac_file_inputs="$ac_file_inputs $ac_f"
4175 # Let's still pretend it is `configure' which instantiates (i.e., don't
4176 # use $as_me), people would be surprised to read:
4177 # /* config.h. Generated by config.status. */
4178 configure_input="Generated from "`IFS=:
4179 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4180 if test x"$ac_file" != x-; then
4181 configure_input="$ac_file. $configure_input"
4182 { echo "$as_me:$LINENO: creating $ac_file" >&5
4183 echo "$as_me: creating $ac_file" >&6;}
4187 *:-:* | *:-) cat >"$tmp/stdin";;
4192 ac_dir=`$as_dirname -- "$ac_file" ||
4193 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4194 X"$ac_file" : 'X\(//\)[^/]' \| \
4195 X"$ac_file" : 'X\(//\)$' \| \
4196 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4217 -*) as_dir=./$as_dir;;
4219 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4223 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4224 *) as_qdir=$as_dir;;
4226 as_dirs="'$as_qdir' $as_dirs"
4227 as_dir=`$as_dirname -- "$as_dir" ||
4228 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4229 X"$as_dir" : 'X\(//\)[^/]' \| \
4230 X"$as_dir" : 'X\(//\)$' \| \
4231 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4250 test -d "$as_dir" && break
4252 test -z "$as_dirs" || eval "mkdir $as_dirs"
4253 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4254 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4255 { (exit 1); exit 1; }; }; }
4259 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4261 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4262 # A ".." for each directory in $ac_dir_suffix.
4263 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4264 case $ac_top_builddir_sub in
4265 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4266 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4269 ac_abs_top_builddir=$ac_pwd
4270 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4271 # for backward compatibility:
4272 ac_top_builddir=$ac_top_build_prefix
4275 .) # We are building in place.
4277 ac_top_srcdir=$ac_top_builddir_sub
4278 ac_abs_top_srcdir=$ac_pwd ;;
4279 [\\/]* | ?:[\\/]* ) # Absolute name.
4280 ac_srcdir=$srcdir$ac_dir_suffix;
4281 ac_top_srcdir=$srcdir
4282 ac_abs_top_srcdir=$srcdir ;;
4284 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4285 ac_top_srcdir=$ac_top_build_prefix$srcdir
4286 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4288 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4299 cat >>$CONFIG_STATUS <<\_ACEOF
4300 # If the template does not know about datarootdir, expand it.
4301 # FIXME: This hack should be removed a few years after 2.60.
4302 ac_datarootdir_hack=; ac_datarootdir_seen=
4304 case `sed -n '/datarootdir/ {
4313 ' $ac_file_inputs` in
4314 *datarootdir*) ac_datarootdir_seen=yes;;
4315 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4316 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4317 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4319 cat >>$CONFIG_STATUS <<_ACEOF
4320 ac_datarootdir_hack='
4321 s&@datadir@&$datadir&g
4322 s&@docdir@&$docdir&g
4323 s&@infodir@&$infodir&g
4324 s&@localedir@&$localedir&g
4325 s&@mandir@&$mandir&g
4326 s&\\\${datarootdir}&$datarootdir&g' ;;
4330 # Neutralize VPATH when `$srcdir' = `.'.
4331 # Shell code in configure.ac might set extrasub.
4332 # FIXME: do we really want to maintain this feature?
4333 cat >>$CONFIG_STATUS <<_ACEOF
4337 cat >>$CONFIG_STATUS <<\_ACEOF
4339 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4340 s&@configure_input@&$configure_input&;t t
4341 s&@top_builddir@&$ac_top_builddir_sub&;t t
4342 s&@srcdir@&$ac_srcdir&;t t
4343 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4344 s&@top_srcdir@&$ac_top_srcdir&;t t
4345 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4346 s&@builddir@&$ac_builddir&;t t
4347 s&@abs_builddir@&$ac_abs_builddir&;t t
4348 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4349 $ac_datarootdir_hack
4350 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4352 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4353 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4354 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4355 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4356 which seems to be undefined. Please make sure it is defined." >&5
4357 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4358 which seems to be undefined. Please make sure it is defined." >&2;}
4362 -) cat "$tmp/out"; rm -f "$tmp/out";;
4363 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4374 { (exit 0); exit 0; }
4376 chmod +x $CONFIG_STATUS
4377 ac_clean_files=$ac_clean_files_save
4380 # configure is writing to config.log, and then calls config.status.
4381 # config.status does its own redirection, appending to config.log.
4382 # Unfortunately, on DOS this fails, as config.log is still kept open
4383 # by configure, so config.status won't be able to write to it; its
4384 # output is simply discarded. So we exec the FD to /dev/null,
4385 # effectively closing config.log, so it can be properly (re)opened and
4386 # appended to by config.status. When coming back to configure, we
4387 # need to make the FD available again.
4388 if test "$no_create" != yes; then
4390 ac_config_status_args=
4391 test "$silent" = yes &&
4392 ac_config_status_args="$ac_config_status_args --quiet"
4394 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4396 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4397 # would make configure fail if this is the last instruction.
4398 $ac_cs_success || { (exit 1); exit 1; }