2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file="dot.el"
589 program_transform_name
631 INSTALL_STRIP_PROGRAM
648 ac_precious_vars='build_alias
655 # Initialize some variables set by options.
657 ac_init_version=false
658 # The variables have the same names as the options, with
659 # dashes changed to underlines.
667 program_transform_name=s,x,x,
675 # Installation directory options.
676 # These are left unexpanded so users can "make install exec_prefix=/foo"
677 # and all the variables that are supposed to be based on exec_prefix
678 # by default will actually change.
679 # Use braces instead of parens because sh, perl, etc. also accept them.
680 # (The list follows the same order as the GNU Coding Standards.)
681 bindir='${exec_prefix}/bin'
682 sbindir='${exec_prefix}/sbin'
683 libexecdir='${exec_prefix}/libexec'
684 datarootdir='${prefix}/share'
685 datadir='${datarootdir}'
686 sysconfdir='${prefix}/etc'
687 sharedstatedir='${prefix}/com'
688 localstatedir='${prefix}/var'
689 includedir='${prefix}/include'
690 oldincludedir='/usr/include'
691 docdir='${datarootdir}/doc/${PACKAGE}'
692 infodir='${datarootdir}/info'
697 libdir='${exec_prefix}/lib'
698 localedir='${datarootdir}/locale'
699 mandir='${datarootdir}/man'
705 # If the previous option needs an argument, assign it.
706 if test -n "$ac_prev"; then
707 eval $ac_prev=\$ac_option
713 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
717 # Accept the important Cygnus configure options, so we can diagnose typos.
719 case $ac_dashdash$ac_option in
723 -bindir | --bindir | --bindi | --bind | --bin | --bi)
725 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
728 -build | --build | --buil | --bui | --bu)
729 ac_prev=build_alias ;;
730 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
731 build_alias=$ac_optarg ;;
733 -cache-file | --cache-file | --cache-fil | --cache-fi \
734 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
735 ac_prev=cache_file ;;
736 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
737 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
738 cache_file=$ac_optarg ;;
741 cache_file=config.cache ;;
743 -datadir | --datadir | --datadi | --datad)
745 -datadir=* | --datadir=* | --datadi=* | --datad=*)
746 datadir=$ac_optarg ;;
748 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
749 | --dataroo | --dataro | --datar)
750 ac_prev=datarootdir ;;
751 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
752 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
753 datarootdir=$ac_optarg ;;
755 -disable-* | --disable-*)
756 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
759 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
760 { (exit 1); exit 1; }; }
761 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
762 eval enable_$ac_feature=no ;;
764 -docdir | --docdir | --docdi | --doc | --do)
766 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
769 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
771 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
774 -enable-* | --enable-*)
775 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
776 # Reject names that are not valid shell variable names.
777 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
778 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
779 { (exit 1); exit 1; }; }
780 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
781 eval enable_$ac_feature=\$ac_optarg ;;
783 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
784 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
785 | --exec | --exe | --ex)
786 ac_prev=exec_prefix ;;
787 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
788 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
789 | --exec=* | --exe=* | --ex=*)
790 exec_prefix=$ac_optarg ;;
792 -gas | --gas | --ga | --g)
793 # Obsolete; use --with-gas.
796 -help | --help | --hel | --he | -h)
798 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
799 ac_init_help=recursive ;;
800 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
801 ac_init_help=short ;;
803 -host | --host | --hos | --ho)
804 ac_prev=host_alias ;;
805 -host=* | --host=* | --hos=* | --ho=*)
806 host_alias=$ac_optarg ;;
808 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
810 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
812 htmldir=$ac_optarg ;;
814 -includedir | --includedir | --includedi | --included | --include \
815 | --includ | --inclu | --incl | --inc)
816 ac_prev=includedir ;;
817 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
818 | --includ=* | --inclu=* | --incl=* | --inc=*)
819 includedir=$ac_optarg ;;
821 -infodir | --infodir | --infodi | --infod | --info | --inf)
823 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
824 infodir=$ac_optarg ;;
826 -libdir | --libdir | --libdi | --libd)
828 -libdir=* | --libdir=* | --libdi=* | --libd=*)
831 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
832 | --libexe | --libex | --libe)
833 ac_prev=libexecdir ;;
834 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
835 | --libexe=* | --libex=* | --libe=*)
836 libexecdir=$ac_optarg ;;
838 -localedir | --localedir | --localedi | --localed | --locale)
840 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
841 localedir=$ac_optarg ;;
843 -localstatedir | --localstatedir | --localstatedi | --localstated \
844 | --localstate | --localstat | --localsta | --localst | --locals)
845 ac_prev=localstatedir ;;
846 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
847 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
848 localstatedir=$ac_optarg ;;
850 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
852 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
856 # Obsolete; use --without-fp.
859 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
860 | --no-cr | --no-c | -n)
863 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
864 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
867 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
868 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
869 | --oldin | --oldi | --old | --ol | --o)
870 ac_prev=oldincludedir ;;
871 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
872 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
873 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
874 oldincludedir=$ac_optarg ;;
876 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
878 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
881 -program-prefix | --program-prefix | --program-prefi | --program-pref \
882 | --program-pre | --program-pr | --program-p)
883 ac_prev=program_prefix ;;
884 -program-prefix=* | --program-prefix=* | --program-prefi=* \
885 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
886 program_prefix=$ac_optarg ;;
888 -program-suffix | --program-suffix | --program-suffi | --program-suff \
889 | --program-suf | --program-su | --program-s)
890 ac_prev=program_suffix ;;
891 -program-suffix=* | --program-suffix=* | --program-suffi=* \
892 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
893 program_suffix=$ac_optarg ;;
895 -program-transform-name | --program-transform-name \
896 | --program-transform-nam | --program-transform-na \
897 | --program-transform-n | --program-transform- \
898 | --program-transform | --program-transfor \
899 | --program-transfo | --program-transf \
900 | --program-trans | --program-tran \
901 | --progr-tra | --program-tr | --program-t)
902 ac_prev=program_transform_name ;;
903 -program-transform-name=* | --program-transform-name=* \
904 | --program-transform-nam=* | --program-transform-na=* \
905 | --program-transform-n=* | --program-transform-=* \
906 | --program-transform=* | --program-transfor=* \
907 | --program-transfo=* | --program-transf=* \
908 | --program-trans=* | --program-tran=* \
909 | --progr-tra=* | --program-tr=* | --program-t=*)
910 program_transform_name=$ac_optarg ;;
912 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
914 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
917 -psdir | --psdir | --psdi | --psd | --ps)
919 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
923 | -silent | --silent | --silen | --sile | --sil)
926 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
928 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
930 sbindir=$ac_optarg ;;
932 -sharedstatedir | --sharedstatedir | --sharedstatedi \
933 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
934 | --sharedst | --shareds | --shared | --share | --shar \
936 ac_prev=sharedstatedir ;;
937 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
938 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
939 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
941 sharedstatedir=$ac_optarg ;;
943 -site | --site | --sit)
945 -site=* | --site=* | --sit=*)
948 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
950 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
953 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
954 | --syscon | --sysco | --sysc | --sys | --sy)
955 ac_prev=sysconfdir ;;
956 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
957 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
958 sysconfdir=$ac_optarg ;;
960 -target | --target | --targe | --targ | --tar | --ta | --t)
961 ac_prev=target_alias ;;
962 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
963 target_alias=$ac_optarg ;;
965 -v | -verbose | --verbose | --verbos | --verbo | --verb)
968 -version | --version | --versio | --versi | --vers | -V)
972 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
975 { echo "$as_me: error: invalid package name: $ac_package" >&2
976 { (exit 1); exit 1; }; }
977 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
978 eval with_$ac_package=\$ac_optarg ;;
980 -without-* | --without-*)
981 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
984 { echo "$as_me: error: invalid package name: $ac_package" >&2
985 { (exit 1); exit 1; }; }
986 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
987 eval with_$ac_package=no ;;
990 # Obsolete; use --with-x.
993 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
994 | --x-incl | --x-inc | --x-in | --x-i)
995 ac_prev=x_includes ;;
996 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
997 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
998 x_includes=$ac_optarg ;;
1000 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1001 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1002 ac_prev=x_libraries ;;
1003 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1004 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1005 x_libraries=$ac_optarg ;;
1007 -*) { echo "$as_me: error: unrecognized option: $ac_option
1008 Try \`$0 --help' for more information." >&2
1009 { (exit 1); exit 1; }; }
1013 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1016 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1017 { (exit 1); exit 1; }; }
1018 eval $ac_envvar=\$ac_optarg
1019 export $ac_envvar ;;
1022 # FIXME: should be removed in autoconf 3.0.
1023 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1024 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1025 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1026 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1032 if test -n "$ac_prev"; then
1033 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1034 { echo "$as_me: error: missing argument to $ac_option" >&2
1035 { (exit 1); exit 1; }; }
1038 # Be sure to have absolute directory names.
1039 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1040 datadir sysconfdir sharedstatedir localstatedir includedir \
1041 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1042 libdir localedir mandir
1044 eval ac_val=\$$ac_var
1046 [\\/$]* | ?:[\\/]* ) continue;;
1047 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1049 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1050 { (exit 1); exit 1; }; }
1053 # There might be people who depend on the old broken behavior: `$host'
1054 # used to hold the argument of --host etc.
1055 # FIXME: To remove some day.
1058 target=$target_alias
1060 # FIXME: To remove some day.
1061 if test "x$host_alias" != x; then
1062 if test "x$build_alias" = x; then
1063 cross_compiling=maybe
1064 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1065 If a cross compiler is detected then cross compile mode will be used." >&2
1066 elif test "x$build_alias" != "x$host_alias"; then
1072 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1074 test "$silent" = yes && exec 6>/dev/null
1077 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1078 ac_ls_di=`ls -di .` &&
1079 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1080 { echo "$as_me: error: Working directory cannot be determined" >&2
1081 { (exit 1); exit 1; }; }
1082 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1083 { echo "$as_me: error: pwd does not report name of working directory" >&2
1084 { (exit 1); exit 1; }; }
1087 # Find the source files, if location was not specified.
1088 if test -z "$srcdir"; then
1089 ac_srcdir_defaulted=yes
1090 # Try the directory containing this script, then the parent directory.
1091 ac_confdir=`$as_dirname -- "$0" ||
1092 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1093 X"$0" : 'X\(//\)[^/]' \| \
1094 X"$0" : 'X\(//\)$' \| \
1095 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1115 if test ! -r "$srcdir/$ac_unique_file"; then
1119 ac_srcdir_defaulted=no
1121 if test ! -r "$srcdir/$ac_unique_file"; then
1122 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1123 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1124 { (exit 1); exit 1; }; }
1126 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1128 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1129 { (exit 1); exit 1; }; }
1131 # When building in place, set srcdir=.
1132 if test "$ac_abs_confdir" = "$ac_pwd"; then
1135 # Remove unnecessary trailing slashes from srcdir.
1136 # Double slashes in file names in object file debugging info
1137 # mess up M-x gdb in Emacs.
1139 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1141 for ac_var in $ac_precious_vars; do
1142 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1143 eval ac_env_${ac_var}_value=\$${ac_var}
1144 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1145 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1149 # Report the --help message.
1151 if test "$ac_init_help" = "long"; then
1152 # Omit some internal or obsolete options to make the list less imposing.
1153 # This message is too long to be a string in the A/UX 3.1 sh.
1155 \`configure' configures this package to adapt to many kinds of systems.
1157 Usage: $0 [OPTION]... [VAR=VALUE]...
1159 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1160 VAR=VALUE. See below for descriptions of some of the useful variables.
1162 Defaults for the options are specified in brackets.
1165 -h, --help display this help and exit
1166 --help=short display options specific to this package
1167 --help=recursive display the short help of all the included packages
1168 -V, --version display version information and exit
1169 -q, --quiet, --silent do not print \`checking...' messages
1170 --cache-file=FILE cache test results in FILE [disabled]
1171 -C, --config-cache alias for \`--cache-file=config.cache'
1172 -n, --no-create do not create output files
1173 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1175 Installation directories:
1176 --prefix=PREFIX install architecture-independent files in PREFIX
1177 [$ac_default_prefix]
1178 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1181 By default, \`make install' will install all the files in
1182 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1183 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1184 for instance \`--prefix=\$HOME'.
1186 For better control, use the options below.
1188 Fine tuning of the installation directories:
1189 --bindir=DIR user executables [EPREFIX/bin]
1190 --sbindir=DIR system admin executables [EPREFIX/sbin]
1191 --libexecdir=DIR program executables [EPREFIX/libexec]
1192 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1193 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1194 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1195 --libdir=DIR object code libraries [EPREFIX/lib]
1196 --includedir=DIR C header files [PREFIX/include]
1197 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1198 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1199 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1200 --infodir=DIR info documentation [DATAROOTDIR/info]
1201 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1202 --mandir=DIR man documentation [DATAROOTDIR/man]
1203 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1204 --htmldir=DIR html documentation [DOCDIR]
1205 --dvidir=DIR dvi documentation [DOCDIR]
1206 --pdfdir=DIR pdf documentation [DOCDIR]
1207 --psdir=DIR ps documentation [DOCDIR]
1213 --program-prefix=PREFIX prepend PREFIX to installed program names
1214 --program-suffix=SUFFIX append SUFFIX to installed program names
1215 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1219 if test -n "$ac_init_help"; then
1224 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1225 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1226 --with-lispdir override the default lisp directory
1227 --without-lisp-files do not build emacs lisp files
1229 Some influential environment variables:
1230 EMACS the Emacs editor command
1232 the Emacs library search path
1234 Use these variables to override the choices made by `configure' or to help
1235 it to find libraries and programs with nonstandard names/locations.
1241 if test "$ac_init_help" = "recursive"; then
1242 # If there are subdirs, report their specific --help.
1243 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1244 test -d "$ac_dir" || continue
1248 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1250 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1251 # A ".." for each directory in $ac_dir_suffix.
1252 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1253 case $ac_top_builddir_sub in
1254 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1255 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1258 ac_abs_top_builddir=$ac_pwd
1259 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1260 # for backward compatibility:
1261 ac_top_builddir=$ac_top_build_prefix
1264 .) # We are building in place.
1266 ac_top_srcdir=$ac_top_builddir_sub
1267 ac_abs_top_srcdir=$ac_pwd ;;
1268 [\\/]* | ?:[\\/]* ) # Absolute name.
1269 ac_srcdir=$srcdir$ac_dir_suffix;
1270 ac_top_srcdir=$srcdir
1271 ac_abs_top_srcdir=$srcdir ;;
1273 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1274 ac_top_srcdir=$ac_top_build_prefix$srcdir
1275 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1277 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1279 cd "$ac_dir" || { ac_status=$?; continue; }
1280 # Check for guested configure.
1281 if test -f "$ac_srcdir/configure.gnu"; then
1283 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1284 elif test -f "$ac_srcdir/configure"; then
1286 $SHELL "$ac_srcdir/configure" --help=recursive
1288 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1290 cd "$ac_pwd" || { ac_status=$?; break; }
1294 test -n "$ac_init_help" && exit $ac_status
1295 if $ac_init_version; then
1298 generated by GNU Autoconf 2.61
1300 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1301 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1302 This configure script is free software; the Free Software Foundation
1303 gives unlimited permission to copy, distribute and modify it.
1307 cat >config.log <<_ACEOF
1308 This file contains any messages produced by compilers while
1309 running configure, to aid debugging if configure makes a mistake.
1311 It was created by $as_me, which was
1312 generated by GNU Autoconf 2.61. Invocation command line was
1324 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1325 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1326 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1327 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1328 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1330 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1331 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1333 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1334 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1335 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1336 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1337 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1338 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1339 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1347 test -z "$as_dir" && as_dir=.
1348 echo "PATH: $as_dir"
1364 # Keep a trace of the command line.
1365 # Strip out --no-create and --no-recursion so they do not pile up.
1366 # Strip out --silent because we don't want to record it for future runs.
1367 # Also quote any args containing shell meta-characters.
1368 # Make two passes to allow for proper duplicate-argument suppression.
1372 ac_must_keep_next=false
1378 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1380 | -silent | --silent | --silen | --sile | --sil)
1383 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1386 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1388 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1389 if test $ac_must_keep_next = true; then
1390 ac_must_keep_next=false # Got value, back to normal.
1393 *=* | --config-cache | -C | -disable-* | --disable-* \
1394 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1395 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1396 | -with-* | --with-* | -without-* | --without-* | --x)
1397 case "$ac_configure_args0 " in
1398 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1401 -* ) ac_must_keep_next=true ;;
1404 ac_configure_args="$ac_configure_args '$ac_arg'"
1409 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1410 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1412 # When interrupted or exit'd, cleanup temporary files, and complete
1413 # config.log. We remove comments because anyway the quotes in there
1414 # would cause problems or look ugly.
1415 # WARNING: Use '\'' to represent an apostrophe within the trap.
1416 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1417 trap 'exit_status=$?
1418 # Save into config.log some information that might help in debugging.
1423 ## ---------------- ##
1424 ## Cache variables. ##
1425 ## ---------------- ##
1428 # The following way of writing the cache mishandles newlines in values,
1430 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1431 eval ac_val=\$$ac_var
1435 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1436 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1439 _ | IFS | as_nl) ;; #(
1440 *) $as_unset $ac_var ;;
1445 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1446 *${as_nl}ac_space=\ *)
1448 "s/'\''/'\''\\\\'\'''\''/g;
1449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1452 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1460 ## ----------------- ##
1461 ## Output variables. ##
1462 ## ----------------- ##
1465 for ac_var in $ac_subst_vars
1467 eval ac_val=\$$ac_var
1469 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1471 echo "$ac_var='\''$ac_val'\''"
1475 if test -n "$ac_subst_files"; then
1477 ## ------------------- ##
1478 ## File substitutions. ##
1479 ## ------------------- ##
1482 for ac_var in $ac_subst_files
1484 eval ac_val=\$$ac_var
1486 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1488 echo "$ac_var='\''$ac_val'\''"
1493 if test -s confdefs.h; then
1503 test "$ac_signal" != 0 &&
1504 echo "$as_me: caught signal $ac_signal"
1505 echo "$as_me: exit $exit_status"
1507 rm -f core *.core core.conftest.* &&
1508 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1511 for ac_signal in 1 2 13 15; do
1512 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1516 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1517 rm -f -r conftest* confdefs.h
1519 # Predefined preprocessor variables.
1521 cat >>confdefs.h <<_ACEOF
1522 #define PACKAGE_NAME "$PACKAGE_NAME"
1526 cat >>confdefs.h <<_ACEOF
1527 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1536 cat >>confdefs.h <<_ACEOF
1537 #define PACKAGE_STRING "$PACKAGE_STRING"
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1546 # Let the site file select an alternate cache file if it wants to.
1547 # Prefer explicitly selected file to automatically selected ones.
1548 if test -n "$CONFIG_SITE"; then
1549 set x "$CONFIG_SITE"
1550 elif test "x$prefix" != xNONE; then
1551 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1553 set x "$ac_default_prefix/share/config.site" \
1554 "$ac_default_prefix/etc/config.site"
1559 if test -r "$ac_site_file"; then
1560 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1561 echo "$as_me: loading site script $ac_site_file" >&6;}
1562 sed 's/^/| /' "$ac_site_file" >&5
1567 if test -r "$cache_file"; then
1568 # Some versions of bash will fail to source /dev/null (special
1569 # files actually), so we avoid doing that.
1570 if test -f "$cache_file"; then
1571 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1572 echo "$as_me: loading cache $cache_file" >&6;}
1574 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1575 *) . "./$cache_file";;
1579 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1580 echo "$as_me: creating cache $cache_file" >&6;}
1584 # Check that the precious variables saved in the cache have kept the same
1586 ac_cache_corrupted=false
1587 for ac_var in $ac_precious_vars; do
1588 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1589 eval ac_new_set=\$ac_env_${ac_var}_set
1590 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1591 eval ac_new_val=\$ac_env_${ac_var}_value
1592 case $ac_old_set,$ac_new_set in
1594 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1595 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1596 ac_cache_corrupted=: ;;
1598 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1599 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1600 ac_cache_corrupted=: ;;
1603 if test "x$ac_old_val" != "x$ac_new_val"; then
1604 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1605 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1606 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1607 echo "$as_me: former value: $ac_old_val" >&2;}
1608 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1609 echo "$as_me: current value: $ac_new_val" >&2;}
1610 ac_cache_corrupted=:
1613 # Pass precious variables to config.status.
1614 if test "$ac_new_set" = set; then
1616 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1617 *) ac_arg=$ac_var=$ac_new_val ;;
1619 case " $ac_configure_args " in
1620 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1621 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1625 if $ac_cache_corrupted; then
1626 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1627 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1628 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1629 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1630 { (exit 1); exit 1; }; }
1650 ac_cpp='$CPP $CPPFLAGS'
1651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1658 PACKAGE=gnuplot-mode
1662 am__api_version="1.8"
1664 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1665 if test -f "$ac_dir/install-sh"; then
1667 ac_install_sh="$ac_aux_dir/install-sh -c"
1669 elif test -f "$ac_dir/install.sh"; then
1671 ac_install_sh="$ac_aux_dir/install.sh -c"
1673 elif test -f "$ac_dir/shtool"; then
1675 ac_install_sh="$ac_aux_dir/shtool install -c"
1679 if test -z "$ac_aux_dir"; then
1680 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1681 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1682 { (exit 1); exit 1; }; }
1685 # These three variables are undocumented and unsupported,
1686 # and are intended to be withdrawn in a future Autoconf release.
1687 # They can cause serious problems if a builder's source tree is in a directory
1688 # whose full name contains unusual characters.
1689 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1690 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1691 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1694 # Find a good install program. We prefer a C program (faster),
1695 # so one script is as good as another. But avoid the broken or
1696 # incompatible versions:
1697 # SysV /etc/install, /usr/sbin/install
1698 # SunOS /usr/etc/install
1699 # IRIX /sbin/install
1701 # AmigaOS /C/install, which installs bootblocks on floppy discs
1702 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1703 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1704 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1705 # OS/2's system install, which has a completely different semantic
1706 # ./install, which can be erroneously created by make from ./install.sh.
1707 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1708 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1709 if test -z "$INSTALL"; then
1710 if test "${ac_cv_path_install+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1717 test -z "$as_dir" && as_dir=.
1718 # Account for people who put trailing slashes in PATH elements.
1720 ./ | .// | /cC/* | \
1721 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1722 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1725 # OSF1 and SCO ODT 3.0 have their own names for install.
1726 # Don't use installbsd from OSF since it installs stuff as root
1728 for ac_prog in ginstall scoinst install; do
1729 for ac_exec_ext in '' $ac_executable_extensions; do
1730 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1731 if test $ac_prog = install &&
1732 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1733 # AIX install. It has an incompatible calling convention.
1735 elif test $ac_prog = install &&
1736 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1737 # program-specific install script used by HP pwplus--don't use.
1740 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1753 if test "${ac_cv_path_install+set}" = set; then
1754 INSTALL=$ac_cv_path_install
1756 # As a last resort, use the slow shell script. Don't cache a
1757 # value for INSTALL within a source directory, because that will
1758 # break other packages using the cache if that directory is
1759 # removed, or if the value is a relative name.
1760 INSTALL=$ac_install_sh
1763 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1764 echo "${ECHO_T}$INSTALL" >&6; }
1766 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1767 # It thinks the first close brace ends the variable substitution.
1768 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1770 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1772 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1774 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1775 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1778 echo timestamp > conftest.file
1779 # Do `set' in a subshell so we don't clobber the current shell's
1780 # arguments. Must try -L first in case configure is actually a
1781 # symlink; some systems play weird games with the mod time of symlinks
1782 # (eg FreeBSD returns the mod time of the symlink's containing
1785 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1786 if test "$*" = "X"; then
1788 set X `ls -t $srcdir/configure conftest.file`
1791 if test "$*" != "X $srcdir/configure conftest.file" \
1792 && test "$*" != "X conftest.file $srcdir/configure"; then
1794 # If neither matched, then we have a broken ls. This can happen
1795 # if, for instance, CONFIG_SHELL is bash and it inherits a
1796 # broken ls alias from the environment. This has actually
1797 # happened. Such a system could not be considered "sane".
1798 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1799 alias in your environment" >&5
1800 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1801 alias in your environment" >&2;}
1802 { (exit 1); exit 1; }; }
1805 test "$2" = conftest.file
1811 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1812 Check your system clock" >&5
1813 echo "$as_me: error: newly created file is older than distributed files!
1814 Check your system clock" >&2;}
1815 { (exit 1); exit 1; }; }
1817 { echo "$as_me:$LINENO: result: yes" >&5
1818 echo "${ECHO_T}yes" >&6; }
1819 test "$program_prefix" != NONE &&
1820 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1821 # Use a double $ so make ignores it.
1822 test "$program_suffix" != NONE &&
1823 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1824 # Double any \ or $. echo might interpret backslashes.
1825 # By default was `s,x,x', remove it if useless.
1826 cat <<\_ACEOF >conftest.sed
1827 s/[\\$]/&&/g;s/;s,x,x,$//
1829 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1832 # expand $ac_aux_dir to an absolute path
1833 am_aux_dir=`cd $ac_aux_dir && pwd`
1835 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1836 # Use eval to expand $SHELL
1837 if eval "$MISSING --run true"; then
1838 am_missing_run="$MISSING --run "
1841 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1842 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1845 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1846 # Keeping the `.' argument allows $(mkdir_p) to be used without
1847 # argument. Indeed, we sometimes output rules like
1848 # $(mkdir_p) $(somedir)
1849 # where $(somedir) is conditionally defined.
1850 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1851 # expensive solution, as it forces Make to start a sub-shell.)
1852 mkdir_p='mkdir -p -- .'
1854 # On NextStep and OpenStep, the `mkdir' command does not
1855 # recognize any option. It will interpret all options as
1856 # directories to create, and then abort because `.' already
1858 for d in ./-p ./--version;
1860 test -d $d && rmdir $d
1862 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1863 if test -f "$ac_aux_dir/mkinstalldirs"; then
1864 mkdir_p='$(mkinstalldirs)'
1866 mkdir_p='$(install_sh) -d'
1870 for ac_prog in gawk mawk nawk awk
1872 # Extract the first word of "$ac_prog", so it can be a program name with args.
1873 set dummy $ac_prog; ac_word=$2
1874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1876 if test "${ac_cv_prog_AWK+set}" = set; then
1877 echo $ECHO_N "(cached) $ECHO_C" >&6
1879 if test -n "$AWK"; then
1880 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1886 test -z "$as_dir" && as_dir=.
1887 for ac_exec_ext in '' $ac_executable_extensions; do
1888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1889 ac_cv_prog_AWK="$ac_prog"
1890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1900 if test -n "$AWK"; then
1901 { echo "$as_me:$LINENO: result: $AWK" >&5
1902 echo "${ECHO_T}$AWK" >&6; }
1904 { echo "$as_me:$LINENO: result: no" >&5
1905 echo "${ECHO_T}no" >&6; }
1909 test -n "$AWK" && break
1912 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1913 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1914 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1915 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 cat >conftest.make <<\_ACEOF
1921 @echo '@@@%%%=$(MAKE)=@@@%%%'
1923 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1924 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1926 eval ac_cv_prog_make_${ac_make}_set=yes;;
1928 eval ac_cv_prog_make_${ac_make}_set=no;;
1932 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1933 { echo "$as_me:$LINENO: result: yes" >&5
1934 echo "${ECHO_T}yes" >&6; }
1937 { echo "$as_me:$LINENO: result: no" >&5
1938 echo "${ECHO_T}no" >&6; }
1939 SET_MAKE="MAKE=${MAKE-make}"
1942 rm -rf .tst 2>/dev/null
1943 mkdir .tst 2>/dev/null
1944 if test -d .tst; then
1949 rmdir .tst 2>/dev/null
1951 # test to see if srcdir already configured
1952 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1953 test -f $srcdir/config.status; then
1954 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1955 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1956 { (exit 1); exit 1; }; }
1959 # test whether we have cygpath
1960 if test -z "$CYGPATH_W"; then
1961 if (cygpath --version) >/dev/null 2>/dev/null; then
1962 CYGPATH_W='cygpath -w'
1969 # Define the identity of the package.
1971 VERSION=$GPM_MAJOR.$GPM_MINOR.$GPM_REVISION
1974 cat >>confdefs.h <<_ACEOF
1975 #define PACKAGE "$PACKAGE"
1979 cat >>confdefs.h <<_ACEOF
1980 #define VERSION "$VERSION"
1983 # Some tools Automake needs.
1985 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1988 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1991 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1994 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1997 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2000 AMTAR=${AMTAR-"${am_missing_run}tar"}
2002 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2004 # Installed binaries are usually stripped using `strip' when the user
2005 # run `make install-strip'. However `strip' might not be the right
2006 # tool to use in cross-compilation environments, therefore Automake
2007 # will honor the `STRIP' environment variable to overrule this program.
2008 if test "$cross_compiling" != no; then
2009 if test -n "$ac_tool_prefix"; then
2010 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2011 set dummy ${ac_tool_prefix}strip; ac_word=$2
2012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2014 if test "${ac_cv_prog_STRIP+set}" = set; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 if test -n "$STRIP"; then
2018 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2024 test -z "$as_dir" && as_dir=.
2025 for ac_exec_ext in '' $ac_executable_extensions; do
2026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2027 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2037 STRIP=$ac_cv_prog_STRIP
2038 if test -n "$STRIP"; then
2039 { echo "$as_me:$LINENO: result: $STRIP" >&5
2040 echo "${ECHO_T}$STRIP" >&6; }
2042 { echo "$as_me:$LINENO: result: no" >&5
2043 echo "${ECHO_T}no" >&6; }
2048 if test -z "$ac_cv_prog_STRIP"; then
2050 # Extract the first word of "strip", so it can be a program name with args.
2051 set dummy strip; ac_word=$2
2052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2054 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 if test -n "$ac_ct_STRIP"; then
2058 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 test -z "$as_dir" && as_dir=.
2065 for ac_exec_ext in '' $ac_executable_extensions; do
2066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2067 ac_cv_prog_ac_ct_STRIP="strip"
2068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2077 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2078 if test -n "$ac_ct_STRIP"; then
2079 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2080 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2082 { echo "$as_me:$LINENO: result: no" >&5
2083 echo "${ECHO_T}no" >&6; }
2086 if test "x$ac_ct_STRIP" = x; then
2089 case $cross_compiling:$ac_tool_warned in
2091 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2092 whose name does not start with the host triplet. If you think this
2093 configuration is useful to you, please write to autoconf@gnu.org." >&5
2094 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2095 whose name does not start with the host triplet. If you think this
2096 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2097 ac_tool_warned=yes ;;
2102 STRIP="$ac_cv_prog_STRIP"
2106 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2108 # We need awk for the "check" target. The system "awk" is bad on
2114 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2115 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2116 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2117 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2118 echo $ECHO_N "(cached) $ECHO_C" >&6
2120 cat >conftest.make <<\_ACEOF
2123 @echo '@@@%%%=$(MAKE)=@@@%%%'
2125 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2126 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2128 eval ac_cv_prog_make_${ac_make}_set=yes;;
2130 eval ac_cv_prog_make_${ac_make}_set=no;;
2134 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2135 { echo "$as_me:$LINENO: result: yes" >&5
2136 echo "${ECHO_T}yes" >&6; }
2139 { echo "$as_me:$LINENO: result: no" >&5
2140 echo "${ECHO_T}no" >&6; }
2141 SET_MAKE="MAKE=${MAKE-make}"
2144 # Find a good install program. We prefer a C program (faster),
2145 # so one script is as good as another. But avoid the broken or
2146 # incompatible versions:
2147 # SysV /etc/install, /usr/sbin/install
2148 # SunOS /usr/etc/install
2149 # IRIX /sbin/install
2151 # AmigaOS /C/install, which installs bootblocks on floppy discs
2152 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2153 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2154 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2155 # OS/2's system install, which has a completely different semantic
2156 # ./install, which can be erroneously created by make from ./install.sh.
2157 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2158 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2159 if test -z "$INSTALL"; then
2160 if test "${ac_cv_path_install+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir=.
2168 # Account for people who put trailing slashes in PATH elements.
2170 ./ | .// | /cC/* | \
2171 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2172 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2175 # OSF1 and SCO ODT 3.0 have their own names for install.
2176 # Don't use installbsd from OSF since it installs stuff as root
2178 for ac_prog in ginstall scoinst install; do
2179 for ac_exec_ext in '' $ac_executable_extensions; do
2180 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2181 if test $ac_prog = install &&
2182 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2183 # AIX install. It has an incompatible calling convention.
2185 elif test $ac_prog = install &&
2186 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2187 # program-specific install script used by HP pwplus--don't use.
2190 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2203 if test "${ac_cv_path_install+set}" = set; then
2204 INSTALL=$ac_cv_path_install
2206 # As a last resort, use the slow shell script. Don't cache a
2207 # value for INSTALL within a source directory, because that will
2208 # break other packages using the cache if that directory is
2209 # removed, or if the value is a relative name.
2210 INSTALL=$ac_install_sh
2213 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2214 echo "${ECHO_T}$INSTALL" >&6; }
2216 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2217 # It thinks the first close brace ends the variable substitution.
2218 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2220 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2222 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2224 # If set to t, that means we are running in a shell under Emacs.
2225 # If you have an Emacs named "t", then use the full path.
2226 test x"$EMACS" = xt && EMACS=
2227 for ac_prog in emacs xemacs
2229 # Extract the first word of "$ac_prog", so it can be a program name with args.
2230 set dummy $ac_prog; ac_word=$2
2231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2233 if test "${ac_cv_prog_EMACS+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 if test -n "$EMACS"; then
2237 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir=.
2244 for ac_exec_ext in '' $ac_executable_extensions; do
2245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2246 ac_cv_prog_EMACS="$ac_prog"
2247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2256 EMACS=$ac_cv_prog_EMACS
2257 if test -n "$EMACS"; then
2258 { echo "$as_me:$LINENO: result: $EMACS" >&5
2259 echo "${ECHO_T}$EMACS" >&6; }
2261 { echo "$as_me:$LINENO: result: no" >&5
2262 echo "${ECHO_T}no" >&6; }
2266 test -n "$EMACS" && break
2268 test -n "$EMACS" || EMACS="no"
2273 # Check whether --with-lispdir was given.
2274 if test "${with_lispdir+set}" = set; then
2275 withval=$with_lispdir; lispdir="$withval"
2276 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2277 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2278 { echo "$as_me:$LINENO: result: $lispdir" >&5
2279 echo "${ECHO_T}$lispdir" >&6; }
2282 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2283 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2284 if test "${am_cv_lispdir+set}" = set; then
2285 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 if test $EMACS != "no"; then
2289 if test x${lispdir+set} != xset; then
2290 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2291 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2292 # which is non-obvious for non-emacs users.
2293 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2294 # emacsen earlier and avoid running this altogether.
2295 { (echo "$as_me:$LINENO: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out") >&5
2296 ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); }
2300 am_cv_lispdir=`sed -n \
2302 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2303 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2308 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2311 { echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2312 echo "${ECHO_T}$am_cv_lispdir" >&6; }
2313 lispdir="$am_cv_lispdir"
2320 EMACS=`basename $EMACS`
2322 for ac_prog in dvips
2324 # Extract the first word of "$ac_prog", so it can be a program name with args.
2325 set dummy $ac_prog; ac_word=$2
2326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2328 if test "${ac_cv_prog_DVIPS+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 if test -n "$DVIPS"; then
2332 ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test.
2334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 test -z "$as_dir" && as_dir=.
2339 for ac_exec_ext in '' $ac_executable_extensions; do
2340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2341 ac_cv_prog_DVIPS="$ac_prog"
2342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 DVIPS=$ac_cv_prog_DVIPS
2352 if test -n "$DVIPS"; then
2353 { echo "$as_me:$LINENO: result: $DVIPS" >&5
2354 echo "${ECHO_T}$DVIPS" >&6; }
2356 { echo "$as_me:$LINENO: result: no" >&5
2357 echo "${ECHO_T}no" >&6; }
2361 test -n "$DVIPS" && break
2363 test -n "$DVIPS" || DVIPS="no"
2365 for ac_prog in latex latex2e
2367 # Extract the first word of "$ac_prog", so it can be a program name with args.
2368 set dummy $ac_prog; ac_word=$2
2369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2371 if test "${ac_cv_prog_LATEX+set}" = set; then
2372 echo $ECHO_N "(cached) $ECHO_C" >&6
2374 if test -n "$LATEX"; then
2375 ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
2377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2381 test -z "$as_dir" && as_dir=.
2382 for ac_exec_ext in '' $ac_executable_extensions; do
2383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2384 ac_cv_prog_LATEX="$ac_prog"
2385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394 LATEX=$ac_cv_prog_LATEX
2395 if test -n "$LATEX"; then
2396 { echo "$as_me:$LINENO: result: $LATEX" >&5
2397 echo "${ECHO_T}$LATEX" >&6; }
2399 { echo "$as_me:$LINENO: result: no" >&5
2400 echo "${ECHO_T}no" >&6; }
2404 test -n "$LATEX" && break
2406 test -n "$LATEX" || LATEX="no"
2408 # Extract the first word of "makeinfo", so it can be a program name with args.
2409 set dummy makeinfo; ac_word=$2
2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2412 if test "${ac_cv_path_MAKEINFO+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2417 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
2420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2424 test -z "$as_dir" && as_dir=.
2425 for ac_exec_ext in '' $ac_executable_extensions; do
2426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2427 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
2428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2435 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no"
2439 MAKEINFO=$ac_cv_path_MAKEINFO
2440 if test -n "$MAKEINFO"; then
2441 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
2442 echo "${ECHO_T}$MAKEINFO" >&6; }
2444 { echo "$as_me:$LINENO: result: no" >&5
2445 echo "${ECHO_T}no" >&6; }
2450 for ac_prog in pdflatex
2452 # Extract the first word of "$ac_prog", so it can be a program name with args.
2453 set dummy $ac_prog; ac_word=$2
2454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2456 if test "${ac_cv_prog_PDFLATEX+set}" = set; then
2457 echo $ECHO_N "(cached) $ECHO_C" >&6
2459 if test -n "$PDFLATEX"; then
2460 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 test -z "$as_dir" && as_dir=.
2467 for ac_exec_ext in '' $ac_executable_extensions; do
2468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2469 ac_cv_prog_PDFLATEX="$ac_prog"
2470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 PDFLATEX=$ac_cv_prog_PDFLATEX
2480 if test -n "$PDFLATEX"; then
2481 { echo "$as_me:$LINENO: result: $PDFLATEX" >&5
2482 echo "${ECHO_T}$PDFLATEX" >&6; }
2484 { echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6; }
2489 test -n "$PDFLATEX" && break
2491 test -n "$PDFLATEX" || PDFLATEX="no"
2494 if test "$EMACS" = no; then
2496 INSTALL_LISP=install-nolisp
2499 INSTALL_LISP=install-lisp
2503 # Check whether --with-lisp-files was given.
2504 if test "${with_lisp_files+set}" = set; then
2505 withval=$with_lisp_files; if test "$with_lisp_files" = no; then
2507 INSTALL_LISP=install-nolisp
2512 # need to copy some stuff if we compile outside the source disrectory
2513 if test ! -f ./gnuplot.el ; then
2515 { echo "$as_me:$LINENO: result: Compiling outside source directory - copying needed .el files" >&5
2516 echo "${ECHO_T}Compiling outside source directory - copying needed .el files" >&6; }
2517 cp ${srcdir}/gnuplot.el ${srcdir}/gnuplot-gui.el ${srcdir}/info-look.20.2.el \
2518 ${srcdir}/info-look.20.3.el .
2519 cp ${srcdir}/gpelcard.tex .
2522 INFO_LOOK_ELC=info-look.elc
2523 { echo "$as_me:$LINENO: checking for emacs version" >&5
2524 echo $ECHO_N "checking for emacs version... $ECHO_C" >&6; }
2525 if test "$EMACS" = no; then
2526 emacs_version="none found"
2528 emacs_version=`$EMACS --version |sed 's/^GNU //' |awk '/Emacs [12]/{print $2}'`
2530 { echo "$as_me:$LINENO: result: $emacs_version" >&5
2531 echo "${ECHO_T}$emacs_version" >&6; }
2532 vnum=`echo $emacs_version |awk -F\. '{print 100*$1+$2}'`
2534 { echo "$as_me:$LINENO: checking whether info-look.el is needed" >&5
2535 echo $ECHO_N "checking whether info-look.el is needed... $ECHO_C" >&6; }
2536 if test "$EMACS" = emacs ; then
2537 if test "$vnum" -ge 2030 ; then
2538 info_look="not needed with emacs $emacs_version"
2541 info_look="using info-look.20.2.el"
2542 cp info-look.20.2.el info-look.el
2544 elif test "$EMACS" = xemacs ; then
2545 if test "$vnum" -ge 2000 ; then
2546 info_look="using info-look.20.3.el"
2547 cp info-look.20.3.el info-look.el
2549 info_look="using info-look.20.2.el"
2550 cp info-look.20.2.el info-look.el
2553 info_look="using none"
2555 { echo "$as_me:$LINENO: result: $info_look" >&5
2556 echo "${ECHO_T}$info_look" >&6; }
2562 ac_config_files="$ac_config_files Makefile"
2564 cat >confcache <<\_ACEOF
2565 # This file is a shell script that caches the results of configure
2566 # tests run on this system so they can be shared between configure
2567 # scripts and configure runs, see configure's option --config-cache.
2568 # It is not useful on other systems. If it contains results you don't
2569 # want to keep, you may remove or edit it.
2571 # config.status only pays attention to the cache file if you give it
2572 # the --recheck option to rerun configure.
2574 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2575 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2580 # The following way of writing the cache mishandles newlines in values,
2581 # but we know of no workaround that is simple, portable, and efficient.
2582 # So, we kill variables containing newlines.
2583 # Ultrix sh set writes to stderr and can't be redirected directly,
2584 # and sets the high bit in the cache file unless we assign to the vars.
2586 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2587 eval ac_val=\$$ac_var
2591 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2592 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2595 _ | IFS | as_nl) ;; #(
2596 *) $as_unset $ac_var ;;
2602 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2603 *${as_nl}ac_space=\ *)
2604 # `set' does not quote correctly, so add quotes (double-quote
2605 # substitution turns \\\\ into \\, and sed turns \\ into \).
2608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2611 # `set' quotes correctly as required by POSIX, so do not add quotes.
2612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2621 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2623 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2625 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2626 if test -w "$cache_file"; then
2627 test "x$cache_file" != "x/dev/null" &&
2628 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2629 echo "$as_me: updating cache $cache_file" >&6;}
2630 cat confcache >$cache_file
2632 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2633 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2638 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2639 # Let make expand exec_prefix.
2640 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2642 # Transform confdefs.h into DEFS.
2643 # Protect against shell expansion while executing Makefile rules.
2644 # Protect against Makefile macro expansion.
2646 # If the first sed substitution is executed (which looks for macros that
2647 # take arguments), then branch to the quote section. Otherwise,
2648 # look for a macro that doesn't take arguments.
2652 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2654 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2658 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2671 DEFS=`sed -n "$ac_script" confdefs.h`
2676 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2677 # 1. Remove the extension, and $U if already installed.
2678 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2679 ac_i=`echo "$ac_i" | sed "$ac_script"`
2680 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2681 # will be set to the directory where LIBOBJS objects are built.
2682 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2683 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2687 LTLIBOBJS=$ac_ltlibobjs
2691 : ${CONFIG_STATUS=./config.status}
2692 ac_clean_files_save=$ac_clean_files
2693 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2694 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2695 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2696 cat >$CONFIG_STATUS <<_ACEOF
2698 # Generated by $as_me.
2699 # Run this file to recreate the current configuration.
2700 # Compiler output produced by configure, useful for debugging
2701 # configure, is in config.log if it exists.
2706 SHELL=\${CONFIG_SHELL-$SHELL}
2709 cat >>$CONFIG_STATUS <<\_ACEOF
2710 ## --------------------- ##
2711 ## M4sh Initialization. ##
2712 ## --------------------- ##
2714 # Be more Bourne compatible
2715 DUALCASE=1; export DUALCASE # for MKS sh
2716 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2719 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2720 # is contrary to our usage. Disable this feature.
2721 alias -g '${1+"$@"}'='"$@"'
2722 setopt NO_GLOB_SUBST
2724 case `(set -o) 2>/dev/null` in
2725 *posix*) set -o posix ;;
2734 # Avoid depending upon Character Ranges.
2735 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2736 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2737 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2738 as_cr_digits='0123456789'
2739 as_cr_alnum=$as_cr_Letters$as_cr_digits
2741 # The user is always right.
2742 if test "${PATH_SEPARATOR+set}" != set; then
2743 echo "#! /bin/sh" >conf$$.sh
2744 echo "exit 0" >>conf$$.sh
2746 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2754 # Support unset when possible.
2755 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2763 # We need space, tab and new line, in precisely that order. Quoting is
2764 # there to prevent editors from complaining about space-tab.
2765 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2766 # splitting by setting IFS to empty value.)
2771 # Find who we are. Look in the path if we contain no directory separator.
2773 *[\\/]* ) as_myself=$0 ;;
2774 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir=.
2779 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2785 # We did not find ourselves, most probably we were run as `sh COMMAND'
2786 # in which case we are not to be found in the path.
2787 if test "x$as_myself" = x; then
2790 if test ! -f "$as_myself"; then
2791 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2792 { (exit 1); exit 1; }
2795 # Work around bugs in pre-3.0 UWIN ksh.
2796 for as_var in ENV MAIL MAILPATH
2797 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2805 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2806 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2807 LC_TELEPHONE LC_TIME
2809 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2810 eval $as_var=C; export $as_var
2812 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2816 # Required to use basename.
2817 if expr a : '\(a\)' >/dev/null 2>&1 &&
2818 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2824 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2825 as_basename=basename
2831 # Name of the executable.
2832 as_me=`$as_basename -- "$0" ||
2833 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2834 X"$0" : 'X\(//\)$' \| \
2835 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2837 sed '/^.*\/\([^/][^/]*\)\/*$/{
2858 test "x$as_lineno_1" != "x$as_lineno_2" &&
2859 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2861 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2862 # uniformly replaced by the line number. The first 'sed' inserts a
2863 # line-number line after each line using $LINENO; the second 'sed'
2864 # does the real work. The second script uses 'N' to pair each
2865 # line-number line with the line containing $LINENO, and appends
2866 # trailing '-' during substitution so that $LINENO is not a special
2868 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2869 # scripts with optimization help from Paolo Bonzini. Blame Lee
2870 # E. McMahon (1931-1989) for sed's syntax. :-)
2882 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2886 chmod +x "$as_me.lineno" ||
2887 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2888 { (exit 1); exit 1; }; }
2890 # Don't try to exec as it changes $[0], causing all sort of problems
2891 # (the dirname of $[0] is not the place where we might find the
2892 # original and so on. Autoconf is especially sensitive to this).
2894 # Exit status is that of the last command.
2899 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2905 ECHO_C= ECHO_N= ECHO_T=
2908 case `echo 'x\c'` in
2909 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2916 if expr a : '\(a\)' >/dev/null 2>&1 &&
2917 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2923 rm -f conf$$ conf$$.exe conf$$.file
2924 if test -d conf$$.dir; then
2925 rm -f conf$$.dir/conf$$.file
2931 if ln -s conf$$.file conf$$ 2>/dev/null; then
2933 # ... but there are two gotchas:
2934 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2935 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2936 # In both cases, we have to default to `cp -p'.
2937 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2939 elif ln conf$$.file conf$$ 2>/dev/null; then
2944 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2945 rmdir conf$$.dir 2>/dev/null
2947 if mkdir -p . 2>/dev/null; then
2950 test -d ./-p && rmdir ./-p
2954 if test -x / >/dev/null 2>&1; then
2957 if ls -dL / >/dev/null 2>&1; then
2964 if test -d "$1"; then
2970 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2971 ???[sx]*):;;*)false;;esac;fi
2975 as_executable_p=$as_test_x
2977 # Sed expression to map a string onto a valid CPP name.
2978 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2980 # Sed expression to map a string onto a valid variable name.
2981 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2986 # Save the log message, to keep $[0] and so on meaningful, and to
2987 # report actual input values of CONFIG_FILES etc. instead of their
2988 # values after options handling.
2990 This file was extended by $as_me, which was
2991 generated by GNU Autoconf 2.61. Invocation command line was
2993 CONFIG_FILES = $CONFIG_FILES
2994 CONFIG_HEADERS = $CONFIG_HEADERS
2995 CONFIG_LINKS = $CONFIG_LINKS
2996 CONFIG_COMMANDS = $CONFIG_COMMANDS
2999 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3004 cat >>$CONFIG_STATUS <<_ACEOF
3005 # Files that config.status was made for.
3006 config_files="$ac_config_files"
3010 cat >>$CONFIG_STATUS <<\_ACEOF
3012 \`$as_me' instantiates files from templates according to the
3013 current configuration.
3015 Usage: $0 [OPTIONS] [FILE]...
3017 -h, --help print this help, then exit
3018 -V, --version print version number and configuration settings, then exit
3019 -q, --quiet do not print progress messages
3020 -d, --debug don't remove temporary files
3021 --recheck update $as_me by reconfiguring in the same conditions
3022 --file=FILE[:TEMPLATE]
3023 instantiate the configuration file FILE
3025 Configuration files:
3028 Report bugs to <bug-autoconf@gnu.org>."
3031 cat >>$CONFIG_STATUS <<_ACEOF
3034 configured by $0, generated by GNU Autoconf 2.61,
3035 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3037 Copyright (C) 2006 Free Software Foundation, Inc.
3038 This config.status script is free software; the Free Software Foundation
3039 gives unlimited permission to copy, distribute and modify it."
3046 cat >>$CONFIG_STATUS <<\_ACEOF
3047 # If no file are specified by the user, then we need to provide default
3048 # value. By we need to know if files were specified by the user.
3054 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3055 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3066 # Handling of the options.
3067 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3069 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3070 echo "$ac_cs_version"; exit ;;
3071 --debug | --debu | --deb | --de | --d | -d )
3073 --file | --fil | --fi | --f )
3075 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3076 ac_need_defaults=false;;
3077 --he | --h | --help | --hel | -h )
3078 echo "$ac_cs_usage"; exit ;;
3079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3080 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3084 -*) { echo "$as_me: error: unrecognized option: $1
3085 Try \`$0 --help' for more information." >&2
3086 { (exit 1); exit 1; }; } ;;
3088 *) ac_config_targets="$ac_config_targets $1"
3089 ac_need_defaults=false ;;
3095 ac_configure_extra_args=
3097 if $ac_cs_silent; then
3099 ac_configure_extra_args="$ac_configure_extra_args --silent"
3103 cat >>$CONFIG_STATUS <<_ACEOF
3104 if \$ac_cs_recheck; then
3105 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3108 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3112 cat >>$CONFIG_STATUS <<\_ACEOF
3116 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3117 ## Running $as_me. ##
3123 cat >>$CONFIG_STATUS <<_ACEOF
3126 cat >>$CONFIG_STATUS <<\_ACEOF
3128 # Handling of arguments.
3129 for ac_config_target in $ac_config_targets
3131 case $ac_config_target in
3132 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3134 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3135 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3136 { (exit 1); exit 1; }; };;
3141 # If the user did not use the arguments to specify the items to instantiate,
3142 # then the envvar interface is used. Set only those that are not.
3143 # We use the long form for the default assignment because of an extremely
3144 # bizarre bug on SunOS 4.1.3.
3145 if $ac_need_defaults; then
3146 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3149 # Have a temporary directory for convenience. Make it in the build tree
3150 # simply because there is no reason against having it here, and in addition,
3151 # creating and moving files from /tmp can sometimes cause problems.
3152 # Hook for its removal unless debugging.
3153 # Note that there is a small window in which the directory will not be cleaned:
3154 # after its creation but before its name has been assigned to `$tmp'.
3158 trap 'exit_status=$?
3159 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3161 trap '{ (exit 1); exit 1; }' 1 2 13 15
3163 # Create a (secure) tmp directory for tmp files.
3166 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3167 test -n "$tmp" && test -d "$tmp"
3170 tmp=./conf$$-$RANDOM
3171 (umask 077 && mkdir "$tmp")
3174 echo "$me: cannot create a temporary directory in ." >&2
3175 { (exit 1); exit 1; }
3179 # Set up the sed scripts for CONFIG_FILES section.
3182 # No need to generate the scripts if there are no CONFIG_FILES.
3183 # This happens for instance when ./config.status config.h
3184 if test -n "$CONFIG_FILES"; then
3191 for ac_last_try in false false false false false :; do
3192 cat >conf$$subs.sed <<_ACEOF
3193 SHELL!$SHELL$ac_delim
3194 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3195 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3196 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3197 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3198 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3199 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3200 exec_prefix!$exec_prefix$ac_delim
3201 prefix!$prefix$ac_delim
3202 program_transform_name!$program_transform_name$ac_delim
3203 bindir!$bindir$ac_delim
3204 sbindir!$sbindir$ac_delim
3205 libexecdir!$libexecdir$ac_delim
3206 datarootdir!$datarootdir$ac_delim
3207 datadir!$datadir$ac_delim
3208 sysconfdir!$sysconfdir$ac_delim
3209 sharedstatedir!$sharedstatedir$ac_delim
3210 localstatedir!$localstatedir$ac_delim
3211 includedir!$includedir$ac_delim
3212 oldincludedir!$oldincludedir$ac_delim
3213 docdir!$docdir$ac_delim
3214 infodir!$infodir$ac_delim
3215 htmldir!$htmldir$ac_delim
3216 dvidir!$dvidir$ac_delim
3217 pdfdir!$pdfdir$ac_delim
3218 psdir!$psdir$ac_delim
3219 libdir!$libdir$ac_delim
3220 localedir!$localedir$ac_delim
3221 mandir!$mandir$ac_delim
3223 ECHO_C!$ECHO_C$ac_delim
3224 ECHO_N!$ECHO_N$ac_delim
3225 ECHO_T!$ECHO_T$ac_delim
3227 build_alias!$build_alias$ac_delim
3228 host_alias!$host_alias$ac_delim
3229 target_alias!$target_alias$ac_delim
3230 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3231 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3232 INSTALL_DATA!$INSTALL_DATA$ac_delim
3233 CYGPATH_W!$CYGPATH_W$ac_delim
3234 PACKAGE!$PACKAGE$ac_delim
3235 VERSION!$VERSION$ac_delim
3236 ACLOCAL!$ACLOCAL$ac_delim
3237 AUTOCONF!$AUTOCONF$ac_delim
3238 AUTOMAKE!$AUTOMAKE$ac_delim
3239 AUTOHEADER!$AUTOHEADER$ac_delim
3240 MAKEINFO!$MAKEINFO$ac_delim
3241 AMTAR!$AMTAR$ac_delim
3242 install_sh!$install_sh$ac_delim
3243 STRIP!$STRIP$ac_delim
3244 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3245 mkdir_p!$mkdir_p$ac_delim
3247 SET_MAKE!$SET_MAKE$ac_delim
3248 am__leading_dot!$am__leading_dot$ac_delim
3249 EMACS!$EMACS$ac_delim
3250 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3251 lispdir!$lispdir$ac_delim
3252 DVIPS!$DVIPS$ac_delim
3253 LATEX!$LATEX$ac_delim
3254 PDFLATEX!$PDFLATEX$ac_delim
3255 INFO_LOOK_ELC!$INFO_LOOK_ELC$ac_delim
3256 LISPFILES!$LISPFILES$ac_delim
3257 INSTALL_LISP!$INSTALL_LISP$ac_delim
3258 LIBOBJS!$LIBOBJS$ac_delim
3259 LTLIBOBJS!$LTLIBOBJS$ac_delim
3262 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
3264 elif $ac_last_try; then
3265 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3266 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3267 { (exit 1); exit 1; }; }
3269 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3273 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3274 if test -n "$ac_eof"; then
3275 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3276 ac_eof=`expr $ac_eof + 1`
3279 cat >>$CONFIG_STATUS <<_ACEOF
3280 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3281 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3284 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3285 s/^/s,@/; s/!/@,|#_!!_#|/
3288 s/'"$ac_delim"'$/,g/; t
3290 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3291 ' >>$CONFIG_STATUS <conf$$subs.sed
3292 rm -f conf$$subs.sed
3293 cat >>$CONFIG_STATUS <<_ACEOF
3300 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3301 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3302 # trailing colons and then remove the whole line if VPATH becomes empty
3303 # (actually we leave an empty line to preserve line numbers).
3304 if test "x$srcdir" = x.; then
3305 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3309 s/^\([^=]*=[ ]*\):*/\1/
3315 cat >>$CONFIG_STATUS <<\_ACEOF
3316 fi # test -n "$CONFIG_FILES"
3319 for ac_tag in :F $CONFIG_FILES
3322 :[FHLC]) ac_mode=$ac_tag; continue;;
3324 case $ac_mode$ac_tag in
3326 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3327 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3328 { (exit 1); exit 1; }; };;
3329 :[FH]-) ac_tag=-:-;;
3330 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3347 -) ac_f="$tmp/stdin";;
3348 *) # Look for the file first in the build tree, then in the source tree
3349 # (if the path is not absolute). The absolute path cannot be DOS-style,
3350 # because $ac_f cannot contain `:'.
3354 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3356 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3357 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3358 { (exit 1); exit 1; }; };;
3360 ac_file_inputs="$ac_file_inputs $ac_f"
3363 # Let's still pretend it is `configure' which instantiates (i.e., don't
3364 # use $as_me), people would be surprised to read:
3365 # /* config.h. Generated by config.status. */
3366 configure_input="Generated from "`IFS=:
3367 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3368 if test x"$ac_file" != x-; then
3369 configure_input="$ac_file. $configure_input"
3370 { echo "$as_me:$LINENO: creating $ac_file" >&5
3371 echo "$as_me: creating $ac_file" >&6;}
3375 *:-:* | *:-) cat >"$tmp/stdin";;
3380 ac_dir=`$as_dirname -- "$ac_file" ||
3381 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3382 X"$ac_file" : 'X\(//\)[^/]' \| \
3383 X"$ac_file" : 'X\(//\)$' \| \
3384 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3405 -*) as_dir=./$as_dir;;
3407 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3411 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3412 *) as_qdir=$as_dir;;
3414 as_dirs="'$as_qdir' $as_dirs"
3415 as_dir=`$as_dirname -- "$as_dir" ||
3416 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3417 X"$as_dir" : 'X\(//\)[^/]' \| \
3418 X"$as_dir" : 'X\(//\)$' \| \
3419 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3438 test -d "$as_dir" && break
3440 test -z "$as_dirs" || eval "mkdir $as_dirs"
3441 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3442 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3443 { (exit 1); exit 1; }; }; }
3447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3449 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3450 # A ".." for each directory in $ac_dir_suffix.
3451 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3452 case $ac_top_builddir_sub in
3453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3457 ac_abs_top_builddir=$ac_pwd
3458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3459 # for backward compatibility:
3460 ac_top_builddir=$ac_top_build_prefix
3463 .) # We are building in place.
3465 ac_top_srcdir=$ac_top_builddir_sub
3466 ac_abs_top_srcdir=$ac_pwd ;;
3467 [\\/]* | ?:[\\/]* ) # Absolute name.
3468 ac_srcdir=$srcdir$ac_dir_suffix;
3469 ac_top_srcdir=$srcdir
3470 ac_abs_top_srcdir=$srcdir ;;
3472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3473 ac_top_srcdir=$ac_top_build_prefix$srcdir
3474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3486 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3487 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3491 cat >>$CONFIG_STATUS <<\_ACEOF
3492 # If the template does not know about datarootdir, expand it.
3493 # FIXME: This hack should be removed a few years after 2.60.
3494 ac_datarootdir_hack=; ac_datarootdir_seen=
3496 case `sed -n '/datarootdir/ {
3505 ' $ac_file_inputs` in
3506 *datarootdir*) ac_datarootdir_seen=yes;;
3507 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3508 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3509 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3511 cat >>$CONFIG_STATUS <<_ACEOF
3512 ac_datarootdir_hack='
3513 s&@datadir@&$datadir&g
3514 s&@docdir@&$docdir&g
3515 s&@infodir@&$infodir&g
3516 s&@localedir@&$localedir&g
3517 s&@mandir@&$mandir&g
3518 s&\\\${datarootdir}&$datarootdir&g' ;;
3522 # Neutralize VPATH when `$srcdir' = `.'.
3523 # Shell code in configure.ac might set extrasub.
3524 # FIXME: do we really want to maintain this feature?
3525 cat >>$CONFIG_STATUS <<_ACEOF
3529 cat >>$CONFIG_STATUS <<\_ACEOF
3531 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3532 s&@configure_input@&$configure_input&;t t
3533 s&@top_builddir@&$ac_top_builddir_sub&;t t
3534 s&@srcdir@&$ac_srcdir&;t t
3535 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3536 s&@top_srcdir@&$ac_top_srcdir&;t t
3537 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3538 s&@builddir@&$ac_builddir&;t t
3539 s&@abs_builddir@&$ac_abs_builddir&;t t
3540 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3541 s&@INSTALL@&$ac_INSTALL&;t t
3542 $ac_datarootdir_hack
3543 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3545 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3546 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3547 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3548 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3549 which seems to be undefined. Please make sure it is defined." >&5
3550 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3551 which seems to be undefined. Please make sure it is defined." >&2;}
3555 -) cat "$tmp/out"; rm -f "$tmp/out";;
3556 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3567 { (exit 0); exit 0; }
3569 chmod +x $CONFIG_STATUS
3570 ac_clean_files=$ac_clean_files_save
3573 # configure is writing to config.log, and then calls config.status.
3574 # config.status does its own redirection, appending to config.log.
3575 # Unfortunately, on DOS this fails, as config.log is still kept open
3576 # by configure, so config.status won't be able to write to it; its
3577 # output is simply discarded. So we exec the FD to /dev/null,
3578 # effectively closing config.log, so it can be properly (re)opened and
3579 # appended to by config.status. When coming back to configure, we
3580 # need to make the FD available again.
3581 if test "$no_create" != yes; then
3583 ac_config_status_args=
3584 test "$silent" = yes &&
3585 ac_config_status_args="$ac_config_status_args --quiet"
3587 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3589 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3590 # would make configure fail if this is the last instruction.
3591 $ac_cs_success || { (exit 1); exit 1; }