2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a.
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 Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24 BIN_SH=xpg4; export BIN_SH # for Tru64
25 DUALCASE=1; export DUALCASE # for MKS sh
29 # Avoid depending upon Character Ranges.
30 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits='0123456789'
34 as_cr_alnum=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 # Support unset when possible.
50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
66 # Find who we are. Look in the path if we contain no directory separator.
68 *[\\/]* ) as_myself=$0 ;;
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73 test -z "$as_dir" && as_dir=.
74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x; then
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C; export $as_var
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 # Required to use basename.
112 if expr a : '\(a\)' >/dev/null 2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001; then
119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 # Name of the executable.
127 as_me=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
150 if test "x$CONFIG_SHELL" = x; then
151 if (eval ":") 2>/dev/null; then
157 if test $as_have_required = yes && (eval ":
167 as_func_ret_success () {
170 as_func_ret_failure () {
175 if as_func_success; then
179 echo as_func_success failed.
182 if as_func_failure; then
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev/null; then
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
224 for as_base in sh bash ksh sh5; do
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 for as_shell in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev/null <<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247 BIN_SH=xpg4; export BIN_SH # for Tru64
248 DUALCASE=1; export DUALCASE # for MKS sh
253 CONFIG_SHELL=$as_shell
255 if { "$as_shell" 2> /dev/null <<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267 BIN_SH=xpg4; export BIN_SH # for Tru64
268 DUALCASE=1; export DUALCASE # for MKS sh
280 as_func_ret_success () {
283 as_func_ret_failure () {
288 if as_func_success; then
292 echo as_func_success failed.
295 if as_func_failure; then
297 echo as_func_failure succeeded.
300 if as_func_ret_success; then
304 echo as_func_ret_success failed.
307 if as_func_ret_failure; then
309 echo as_func_ret_failure succeeded.
312 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 echo positional parameters were not saved.
319 test $exitcode = 0) || { (exit 1); exit 1; }
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
336 if test "x$CONFIG_SHELL" != x; then
337 for as_var in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no; then
346 echo This script requires a shell more modern than all the
347 echo shells that I found on your system. Please install a
348 echo modern shell, or manually run the script under such a
349 echo shell if you do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
369 as_func_ret_success () {
372 as_func_ret_failure () {
377 if as_func_success; then
381 echo as_func_success failed.
384 if as_func_failure; then
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 echo positional parameters were not saved.
408 test \$exitcode = 0") || {
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system,
411 echo including any error possibly output before this
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466 ECHO_C= ECHO_N= ECHO_T=
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 if expr a : '\(a\)' >/dev/null 2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
511 test -d ./-p && rmdir ./-p
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.file <<_ASEOF
522 if test -x conf$$.file >/dev/null 2>&1; then
523 as_executable_p="test -x"
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
555 SHELL=${CONFIG_SHELL-/bin/sh}
557 # Identity of this package.
564 ac_unique_file="gMathView.ml"
574 program_transform_name
618 ac_precious_vars='build_alias
628 # Initialize some variables set by options.
630 ac_init_version=false
631 # The variables have the same names as the options, with
632 # dashes changed to underlines.
640 program_transform_name=s,x,x,
648 # Installation directory options.
649 # These are left unexpanded so users can "make install exec_prefix=/foo"
650 # and all the variables that are supposed to be based on exec_prefix
651 # by default will actually change.
652 # Use braces instead of parens because sh, perl, etc. also accept them.
653 # (The list follows the same order as the GNU Coding Standards.)
654 bindir='${exec_prefix}/bin'
655 sbindir='${exec_prefix}/sbin'
656 libexecdir='${exec_prefix}/libexec'
657 datarootdir='${prefix}/share'
658 datadir='${datarootdir}'
659 sysconfdir='${prefix}/etc'
660 sharedstatedir='${prefix}/com'
661 localstatedir='${prefix}/var'
662 includedir='${prefix}/include'
663 oldincludedir='/usr/include'
664 docdir='${datarootdir}/doc/${PACKAGE}'
665 infodir='${datarootdir}/info'
670 libdir='${exec_prefix}/lib'
671 localedir='${datarootdir}/locale'
672 mandir='${datarootdir}/man'
678 # If the previous option needs an argument, assign it.
679 if test -n "$ac_prev"; then
680 eval $ac_prev=\$ac_option
686 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
690 # Accept the important Cygnus configure options, so we can diagnose typos.
692 case $ac_dashdash$ac_option in
696 -bindir | --bindir | --bindi | --bind | --bin | --bi)
698 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
701 -build | --build | --buil | --bui | --bu)
702 ac_prev=build_alias ;;
703 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
704 build_alias=$ac_optarg ;;
706 -cache-file | --cache-file | --cache-fil | --cache-fi \
707 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
708 ac_prev=cache_file ;;
709 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
710 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
711 cache_file=$ac_optarg ;;
714 cache_file=config.cache ;;
716 -datadir | --datadir | --datadi | --datad)
718 -datadir=* | --datadir=* | --datadi=* | --datad=*)
719 datadir=$ac_optarg ;;
721 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
722 | --dataroo | --dataro | --datar)
723 ac_prev=datarootdir ;;
724 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
725 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
726 datarootdir=$ac_optarg ;;
728 -disable-* | --disable-*)
729 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
730 # Reject names that are not valid shell variable names.
731 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
732 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
733 { (exit 1); exit 1; }; }
734 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
735 eval enable_$ac_feature=no ;;
737 -docdir | --docdir | --docdi | --doc | --do)
739 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
742 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
744 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
747 -enable-* | --enable-*)
748 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
749 # Reject names that are not valid shell variable names.
750 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
751 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
752 { (exit 1); exit 1; }; }
753 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
754 eval enable_$ac_feature=\$ac_optarg ;;
756 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
757 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
758 | --exec | --exe | --ex)
759 ac_prev=exec_prefix ;;
760 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
761 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
762 | --exec=* | --exe=* | --ex=*)
763 exec_prefix=$ac_optarg ;;
765 -gas | --gas | --ga | --g)
766 # Obsolete; use --with-gas.
769 -help | --help | --hel | --he | -h)
771 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
772 ac_init_help=recursive ;;
773 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
774 ac_init_help=short ;;
776 -host | --host | --hos | --ho)
777 ac_prev=host_alias ;;
778 -host=* | --host=* | --hos=* | --ho=*)
779 host_alias=$ac_optarg ;;
781 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
783 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
785 htmldir=$ac_optarg ;;
787 -includedir | --includedir | --includedi | --included | --include \
788 | --includ | --inclu | --incl | --inc)
789 ac_prev=includedir ;;
790 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
791 | --includ=* | --inclu=* | --incl=* | --inc=*)
792 includedir=$ac_optarg ;;
794 -infodir | --infodir | --infodi | --infod | --info | --inf)
796 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
797 infodir=$ac_optarg ;;
799 -libdir | --libdir | --libdi | --libd)
801 -libdir=* | --libdir=* | --libdi=* | --libd=*)
804 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
805 | --libexe | --libex | --libe)
806 ac_prev=libexecdir ;;
807 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
808 | --libexe=* | --libex=* | --libe=*)
809 libexecdir=$ac_optarg ;;
811 -localedir | --localedir | --localedi | --localed | --locale)
813 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
814 localedir=$ac_optarg ;;
816 -localstatedir | --localstatedir | --localstatedi | --localstated \
817 | --localstate | --localstat | --localsta | --localst | --locals)
818 ac_prev=localstatedir ;;
819 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
820 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
821 localstatedir=$ac_optarg ;;
823 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
825 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
829 # Obsolete; use --without-fp.
832 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
833 | --no-cr | --no-c | -n)
836 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
837 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
840 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
841 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
842 | --oldin | --oldi | --old | --ol | --o)
843 ac_prev=oldincludedir ;;
844 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
845 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
846 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
847 oldincludedir=$ac_optarg ;;
849 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
851 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
854 -program-prefix | --program-prefix | --program-prefi | --program-pref \
855 | --program-pre | --program-pr | --program-p)
856 ac_prev=program_prefix ;;
857 -program-prefix=* | --program-prefix=* | --program-prefi=* \
858 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
859 program_prefix=$ac_optarg ;;
861 -program-suffix | --program-suffix | --program-suffi | --program-suff \
862 | --program-suf | --program-su | --program-s)
863 ac_prev=program_suffix ;;
864 -program-suffix=* | --program-suffix=* | --program-suffi=* \
865 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
866 program_suffix=$ac_optarg ;;
868 -program-transform-name | --program-transform-name \
869 | --program-transform-nam | --program-transform-na \
870 | --program-transform-n | --program-transform- \
871 | --program-transform | --program-transfor \
872 | --program-transfo | --program-transf \
873 | --program-trans | --program-tran \
874 | --progr-tra | --program-tr | --program-t)
875 ac_prev=program_transform_name ;;
876 -program-transform-name=* | --program-transform-name=* \
877 | --program-transform-nam=* | --program-transform-na=* \
878 | --program-transform-n=* | --program-transform-=* \
879 | --program-transform=* | --program-transfor=* \
880 | --program-transfo=* | --program-transf=* \
881 | --program-trans=* | --program-tran=* \
882 | --progr-tra=* | --program-tr=* | --program-t=*)
883 program_transform_name=$ac_optarg ;;
885 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
887 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
890 -psdir | --psdir | --psdi | --psd | --ps)
892 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
895 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
896 | -silent | --silent | --silen | --sile | --sil)
899 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
901 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
903 sbindir=$ac_optarg ;;
905 -sharedstatedir | --sharedstatedir | --sharedstatedi \
906 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
907 | --sharedst | --shareds | --shared | --share | --shar \
909 ac_prev=sharedstatedir ;;
910 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
911 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
912 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
914 sharedstatedir=$ac_optarg ;;
916 -site | --site | --sit)
918 -site=* | --site=* | --sit=*)
921 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
923 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
926 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
927 | --syscon | --sysco | --sysc | --sys | --sy)
928 ac_prev=sysconfdir ;;
929 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
930 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
931 sysconfdir=$ac_optarg ;;
933 -target | --target | --targe | --targ | --tar | --ta | --t)
934 ac_prev=target_alias ;;
935 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
936 target_alias=$ac_optarg ;;
938 -v | -verbose | --verbose | --verbos | --verbo | --verb)
941 -version | --version | --versio | --versi | --vers | -V)
945 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
948 { echo "$as_me: error: invalid package name: $ac_package" >&2
949 { (exit 1); exit 1; }; }
950 ac_package=`echo $ac_package| sed 's/-/_/g'`
951 eval with_$ac_package=\$ac_optarg ;;
953 -without-* | --without-*)
954 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
957 { echo "$as_me: error: invalid package name: $ac_package" >&2
958 { (exit 1); exit 1; }; }
959 ac_package=`echo $ac_package | sed 's/-/_/g'`
960 eval with_$ac_package=no ;;
963 # Obsolete; use --with-x.
966 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
967 | --x-incl | --x-inc | --x-in | --x-i)
968 ac_prev=x_includes ;;
969 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
970 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
971 x_includes=$ac_optarg ;;
973 -x-libraries | --x-libraries | --x-librarie | --x-librari \
974 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
975 ac_prev=x_libraries ;;
976 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
977 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
978 x_libraries=$ac_optarg ;;
980 -*) { echo "$as_me: error: unrecognized option: $ac_option
981 Try \`$0 --help' for more information." >&2
982 { (exit 1); exit 1; }; }
986 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
989 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
990 { (exit 1); exit 1; }; }
991 eval $ac_envvar=\$ac_optarg
995 # FIXME: should be removed in autoconf 3.0.
996 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
997 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
998 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
999 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1005 if test -n "$ac_prev"; then
1006 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1007 { echo "$as_me: error: missing argument to $ac_option" >&2
1008 { (exit 1); exit 1; }; }
1011 # Be sure to have absolute directory names.
1012 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1013 datadir sysconfdir sharedstatedir localstatedir includedir \
1014 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1015 libdir localedir mandir
1017 eval ac_val=\$$ac_var
1019 [\\/$]* | ?:[\\/]* ) continue;;
1020 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1022 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1023 { (exit 1); exit 1; }; }
1026 # There might be people who depend on the old broken behavior: `$host'
1027 # used to hold the argument of --host etc.
1028 # FIXME: To remove some day.
1031 target=$target_alias
1033 # FIXME: To remove some day.
1034 if test "x$host_alias" != x; then
1035 if test "x$build_alias" = x; then
1036 cross_compiling=maybe
1037 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1038 If a cross compiler is detected then cross compile mode will be used." >&2
1039 elif test "x$build_alias" != "x$host_alias"; then
1045 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1047 test "$silent" = yes && exec 6>/dev/null
1050 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1051 ac_ls_di=`ls -di .` &&
1052 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1053 { echo "$as_me: error: Working directory cannot be determined" >&2
1054 { (exit 1); exit 1; }; }
1055 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1056 { echo "$as_me: error: pwd does not report name of working directory" >&2
1057 { (exit 1); exit 1; }; }
1060 # Find the source files, if location was not specified.
1061 if test -z "$srcdir"; then
1062 ac_srcdir_defaulted=yes
1063 # Try the directory containing this script, then the parent directory.
1064 ac_confdir=`$as_dirname -- "$0" ||
1065 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1066 X"$0" : 'X\(//\)[^/]' \| \
1067 X"$0" : 'X\(//\)$' \| \
1068 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1088 if test ! -r "$srcdir/$ac_unique_file"; then
1092 ac_srcdir_defaulted=no
1094 if test ! -r "$srcdir/$ac_unique_file"; then
1095 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1096 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1097 { (exit 1); exit 1; }; }
1099 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1101 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1102 { (exit 1); exit 1; }; }
1104 # When building in place, set srcdir=.
1105 if test "$ac_abs_confdir" = "$ac_pwd"; then
1108 # Remove unnecessary trailing slashes from srcdir.
1109 # Double slashes in file names in object file debugging info
1110 # mess up M-x gdb in Emacs.
1112 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1114 for ac_var in $ac_precious_vars; do
1115 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1116 eval ac_env_${ac_var}_value=\$${ac_var}
1117 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1118 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1122 # Report the --help message.
1124 if test "$ac_init_help" = "long"; then
1125 # Omit some internal or obsolete options to make the list less imposing.
1126 # This message is too long to be a string in the A/UX 3.1 sh.
1128 \`configure' configures this package to adapt to many kinds of systems.
1130 Usage: $0 [OPTION]... [VAR=VALUE]...
1132 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1133 VAR=VALUE. See below for descriptions of some of the useful variables.
1135 Defaults for the options are specified in brackets.
1138 -h, --help display this help and exit
1139 --help=short display options specific to this package
1140 --help=recursive display the short help of all the included packages
1141 -V, --version display version information and exit
1142 -q, --quiet, --silent do not print \`checking...' messages
1143 --cache-file=FILE cache test results in FILE [disabled]
1144 -C, --config-cache alias for \`--cache-file=config.cache'
1145 -n, --no-create do not create output files
1146 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1148 Installation directories:
1149 --prefix=PREFIX install architecture-independent files in PREFIX
1150 [$ac_default_prefix]
1151 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1154 By default, \`make install' will install all the files in
1155 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1156 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1157 for instance \`--prefix=\$HOME'.
1159 For better control, use the options below.
1161 Fine tuning of the installation directories:
1162 --bindir=DIR user executables [EPREFIX/bin]
1163 --sbindir=DIR system admin executables [EPREFIX/sbin]
1164 --libexecdir=DIR program executables [EPREFIX/libexec]
1165 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1166 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1167 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1168 --libdir=DIR object code libraries [EPREFIX/lib]
1169 --includedir=DIR C header files [PREFIX/include]
1170 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1171 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1172 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1173 --infodir=DIR info documentation [DATAROOTDIR/info]
1174 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1175 --mandir=DIR man documentation [DATAROOTDIR/man]
1176 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1177 --htmldir=DIR html documentation [DOCDIR]
1178 --dvidir=DIR dvi documentation [DOCDIR]
1179 --pdfdir=DIR pdf documentation [DOCDIR]
1180 --psdir=DIR ps documentation [DOCDIR]
1187 if test -n "$ac_init_help"; then
1191 Some influential environment variables:
1192 PKG_CONFIG path to pkg-config utility
1194 C compiler flags for GDOME, overriding pkg-config
1195 GDOME_LIBS linker flags for GDOME, overriding pkg-config
1197 C compiler flags for GTKMATHVIEW, overriding pkg-config
1199 linker flags for GTKMATHVIEW, overriding pkg-config
1201 Use these variables to override the choices made by `configure' or to help
1202 it to find libraries and programs with nonstandard names/locations.
1208 if test "$ac_init_help" = "recursive"; then
1209 # If there are subdirs, report their specific --help.
1210 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1211 test -d "$ac_dir" || continue
1215 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1217 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1218 # A ".." for each directory in $ac_dir_suffix.
1219 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1220 case $ac_top_builddir_sub in
1221 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1222 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1225 ac_abs_top_builddir=$ac_pwd
1226 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1227 # for backward compatibility:
1228 ac_top_builddir=$ac_top_build_prefix
1231 .) # We are building in place.
1233 ac_top_srcdir=$ac_top_builddir_sub
1234 ac_abs_top_srcdir=$ac_pwd ;;
1235 [\\/]* | ?:[\\/]* ) # Absolute name.
1236 ac_srcdir=$srcdir$ac_dir_suffix;
1237 ac_top_srcdir=$srcdir
1238 ac_abs_top_srcdir=$srcdir ;;
1240 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1241 ac_top_srcdir=$ac_top_build_prefix$srcdir
1242 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1244 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1246 cd "$ac_dir" || { ac_status=$?; continue; }
1247 # Check for guested configure.
1248 if test -f "$ac_srcdir/configure.gnu"; then
1250 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1251 elif test -f "$ac_srcdir/configure"; then
1253 $SHELL "$ac_srcdir/configure" --help=recursive
1255 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1257 cd "$ac_pwd" || { ac_status=$?; break; }
1261 test -n "$ac_init_help" && exit $ac_status
1262 if $ac_init_version; then
1265 generated by GNU Autoconf 2.60a
1267 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1268 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1269 This configure script is free software; the Free Software Foundation
1270 gives unlimited permission to copy, distribute and modify it.
1274 cat >config.log <<_ACEOF
1275 This file contains any messages produced by compilers while
1276 running configure, to aid debugging if configure makes a mistake.
1278 It was created by $as_me, which was
1279 generated by GNU Autoconf 2.60a. Invocation command line was
1291 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1292 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1293 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1294 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1295 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1297 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1298 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1300 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1301 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1302 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1303 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1304 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1305 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1306 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1314 test -z "$as_dir" && as_dir=.
1315 echo "PATH: $as_dir"
1331 # Keep a trace of the command line.
1332 # Strip out --no-create and --no-recursion so they do not pile up.
1333 # Strip out --silent because we don't want to record it for future runs.
1334 # Also quote any args containing shell meta-characters.
1335 # Make two passes to allow for proper duplicate-argument suppression.
1339 ac_must_keep_next=false
1345 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1347 | -silent | --silent | --silen | --sile | --sil)
1350 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1353 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1355 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1356 if test $ac_must_keep_next = true; then
1357 ac_must_keep_next=false # Got value, back to normal.
1360 *=* | --config-cache | -C | -disable-* | --disable-* \
1361 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1362 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1363 | -with-* | --with-* | -without-* | --without-* | --x)
1364 case "$ac_configure_args0 " in
1365 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1368 -* ) ac_must_keep_next=true ;;
1371 ac_configure_args="$ac_configure_args '$ac_arg'"
1376 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1377 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1379 # When interrupted or exit'd, cleanup temporary files, and complete
1380 # config.log. We remove comments because anyway the quotes in there
1381 # would cause problems or look ugly.
1382 # WARNING: Use '\'' to represent an apostrophe within the trap.
1383 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1384 trap 'exit_status=$?
1385 # Save into config.log some information that might help in debugging.
1390 ## ---------------- ##
1391 ## Cache variables. ##
1392 ## ---------------- ##
1395 # The following way of writing the cache mishandles newlines in values,
1397 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1398 eval ac_val=\$$ac_var
1402 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1403 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1406 _ | IFS | as_nl) ;; #(
1407 *) $as_unset $ac_var ;;
1412 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1413 *${as_nl}ac_space=\ *)
1415 "s/'\''/'\''\\\\'\'''\''/g;
1416 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1419 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1427 ## ----------------- ##
1428 ## Output variables. ##
1429 ## ----------------- ##
1432 for ac_var in $ac_subst_vars
1434 eval ac_val=\$$ac_var
1436 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1438 echo "$ac_var='\''$ac_val'\''"
1442 if test -n "$ac_subst_files"; then
1444 ## ------------------- ##
1445 ## File substitutions. ##
1446 ## ------------------- ##
1449 for ac_var in $ac_subst_files
1451 eval ac_val=\$$ac_var
1453 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1455 echo "$ac_var='\''$ac_val'\''"
1460 if test -s confdefs.h; then
1470 test "$ac_signal" != 0 &&
1471 echo "$as_me: caught signal $ac_signal"
1472 echo "$as_me: exit $exit_status"
1474 rm -f core *.core core.conftest.* &&
1475 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1478 for ac_signal in 1 2 13 15; do
1479 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1483 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1484 rm -f -r conftest* confdefs.h
1486 # Predefined preprocessor variables.
1488 cat >>confdefs.h <<_ACEOF
1489 #define PACKAGE_NAME "$PACKAGE_NAME"
1493 cat >>confdefs.h <<_ACEOF
1494 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1498 cat >>confdefs.h <<_ACEOF
1499 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1503 cat >>confdefs.h <<_ACEOF
1504 #define PACKAGE_STRING "$PACKAGE_STRING"
1508 cat >>confdefs.h <<_ACEOF
1509 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1513 # Let the site file select an alternate cache file if it wants to.
1514 # Prefer explicitly selected file to automatically selected ones.
1515 if test -n "$CONFIG_SITE"; then
1516 set x "$CONFIG_SITE"
1517 elif test "x$prefix" != xNONE; then
1518 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1520 set x "$ac_default_prefix/share/config.site" \
1521 "$ac_default_prefix/etc/config.site"
1526 if test -r "$ac_site_file"; then
1527 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1528 echo "$as_me: loading site script $ac_site_file" >&6;}
1529 sed 's/^/| /' "$ac_site_file" >&5
1534 if test -r "$cache_file"; then
1535 # Some versions of bash will fail to source /dev/null (special
1536 # files actually), so we avoid doing that.
1537 if test -f "$cache_file"; then
1538 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1539 echo "$as_me: loading cache $cache_file" >&6;}
1541 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1542 *) . "./$cache_file";;
1546 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1547 echo "$as_me: creating cache $cache_file" >&6;}
1551 # Check that the precious variables saved in the cache have kept the same
1553 ac_cache_corrupted=false
1554 for ac_var in $ac_precious_vars; do
1555 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1556 eval ac_new_set=\$ac_env_${ac_var}_set
1557 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1558 eval ac_new_val=\$ac_env_${ac_var}_value
1559 case $ac_old_set,$ac_new_set in
1561 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1562 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1563 ac_cache_corrupted=: ;;
1565 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1566 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1567 ac_cache_corrupted=: ;;
1570 if test "x$ac_old_val" != "x$ac_new_val"; then
1571 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1572 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1573 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1574 echo "$as_me: former value: $ac_old_val" >&2;}
1575 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1576 echo "$as_me: current value: $ac_new_val" >&2;}
1577 ac_cache_corrupted=:
1580 # Pass precious variables to config.status.
1581 if test "$ac_new_set" = set; then
1583 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1584 *) ac_arg=$ac_var=$ac_new_val ;;
1586 case " $ac_configure_args " in
1587 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1588 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1592 if $ac_cache_corrupted; then
1593 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1594 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1595 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1596 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1597 { (exit 1); exit 1; }; }
1617 ac_cpp='$CPP $CPPFLAGS'
1618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1624 PACKAGE=lablgtkmathview
1626 LABLGTKMATHVIEW_MAJOR_VERSION=0
1627 LABLGTKMATHVIEW_MINOR_VERSION=7
1628 LABLGTKMATHVIEW_MICRO_VERSION=3
1629 LABLGTKMATHVIEW_VERSION=$LABLGTKMATHVIEW_MAJOR_VERSION.$LABLGTKMATHVIEW_MINOR_VERSION.$LABLGTKMATHVIEW_MICRO_VERSION
1630 VERSION=$LABLGTKMATHVIEW_VERSION
1634 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1635 if test -n "$ac_tool_prefix"; then
1636 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
1637 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
1638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1640 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1652 test -z "$as_dir" && as_dir=.
1653 for ac_exec_ext in '' $ac_executable_extensions; do
1654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1655 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1666 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1667 if test -n "$PKG_CONFIG"; then
1668 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
1669 echo "${ECHO_T}$PKG_CONFIG" >&6; }
1671 { echo "$as_me:$LINENO: result: no" >&5
1672 echo "${ECHO_T}no" >&6; }
1677 if test -z "$ac_cv_path_PKG_CONFIG"; then
1678 ac_pt_PKG_CONFIG=$PKG_CONFIG
1679 # Extract the first word of "pkg-config", so it can be a program name with args.
1680 set dummy pkg-config; ac_word=$2
1681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1683 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
1684 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 case $ac_pt_PKG_CONFIG in
1688 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
1691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1695 test -z "$as_dir" && as_dir=.
1696 for ac_exec_ext in '' $ac_executable_extensions; do
1697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1698 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1709 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
1710 if test -n "$ac_pt_PKG_CONFIG"; then
1711 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
1712 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
1714 { echo "$as_me:$LINENO: result: no" >&5
1715 echo "${ECHO_T}no" >&6; }
1718 if test "x$ac_pt_PKG_CONFIG" = x; then
1721 case $cross_compiling:$ac_tool_warned in
1723 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1724 whose name does not start with the host triplet. If you think this
1725 configuration is useful to you, please write to autoconf@gnu.org." >&5
1726 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1727 whose name does not start with the host triplet. If you think this
1728 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1729 ac_tool_warned=yes ;;
1731 PKG_CONFIG=$ac_pt_PKG_CONFIG
1734 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
1738 if test -n "$PKG_CONFIG"; then
1739 _pkg_min_version=0.9.0
1740 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
1741 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
1742 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1743 { echo "$as_me:$LINENO: result: yes" >&5
1744 echo "${ECHO_T}yes" >&6; }
1746 { echo "$as_me:$LINENO: result: no" >&5
1747 echo "${ECHO_T}no" >&6; }
1754 { echo "$as_me:$LINENO: checking for GDOME" >&5
1755 echo $ECHO_N "checking for GDOME... $ECHO_C" >&6; }
1757 if test -n "$PKG_CONFIG"; then
1758 if test -n "$GDOME_CFLAGS"; then
1759 pkg_cv_GDOME_CFLAGS="$GDOME_CFLAGS"
1761 if test -n "$PKG_CONFIG" && \
1762 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdome2 >= 0.7.0\"") >&5
1763 ($PKG_CONFIG --exists --print-errors "gdome2 >= 0.7.0") 2>&5
1765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1766 (exit $ac_status); }; then
1767 pkg_cv_GDOME_CFLAGS=`$PKG_CONFIG --cflags "gdome2 >= 0.7.0" 2>/dev/null`
1775 if test -n "$PKG_CONFIG"; then
1776 if test -n "$GDOME_LIBS"; then
1777 pkg_cv_GDOME_LIBS="$GDOME_LIBS"
1779 if test -n "$PKG_CONFIG" && \
1780 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdome2 >= 0.7.0\"") >&5
1781 ($PKG_CONFIG --exists --print-errors "gdome2 >= 0.7.0") 2>&5
1783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1784 (exit $ac_status); }; then
1785 pkg_cv_GDOME_LIBS=`$PKG_CONFIG --libs "gdome2 >= 0.7.0" 2>/dev/null`
1796 if test $pkg_failed = yes; then
1798 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1799 _pkg_short_errors_supported=yes
1801 _pkg_short_errors_supported=no
1803 if test $_pkg_short_errors_supported = yes; then
1804 GDOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdome2 >= 0.7.0"`
1806 GDOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdome2 >= 0.7.0"`
1808 # Put the nasty error message in config.log where it belongs
1809 echo "$GDOME_PKG_ERRORS" >&5
1811 { { echo "$as_me:$LINENO: error: could not find Gdome2" >&5
1812 echo "$as_me: error: could not find Gdome2" >&2;}
1813 { (exit 1); exit 1; }; }
1814 elif test $pkg_failed = untried; then
1815 { { echo "$as_me:$LINENO: error: could not find Gdome2" >&5
1816 echo "$as_me: error: could not find Gdome2" >&2;}
1817 { (exit 1); exit 1; }; }
1819 GDOME_CFLAGS=$pkg_cv_GDOME_CFLAGS
1820 GDOME_LIBS=$pkg_cv_GDOME_LIBS
1821 { echo "$as_me:$LINENO: result: yes" >&5
1822 echo "${ECHO_T}yes" >&6; }
1830 { echo "$as_me:$LINENO: checking for GTKMATHVIEW" >&5
1831 echo $ECHO_N "checking for GTKMATHVIEW... $ECHO_C" >&6; }
1833 if test -n "$PKG_CONFIG"; then
1834 if test -n "$GTKMATHVIEW_CFLAGS"; then
1835 pkg_cv_GTKMATHVIEW_CFLAGS="$GTKMATHVIEW_CFLAGS"
1837 if test -n "$PKG_CONFIG" && \
1838 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmathview-gmetadom >= 0.6.2\"") >&5
1839 ($PKG_CONFIG --exists --print-errors "gtkmathview-gmetadom >= 0.6.2") 2>&5
1841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1842 (exit $ac_status); }; then
1843 pkg_cv_GTKMATHVIEW_CFLAGS=`$PKG_CONFIG --cflags "gtkmathview-gmetadom >= 0.6.2" 2>/dev/null`
1851 if test -n "$PKG_CONFIG"; then
1852 if test -n "$GTKMATHVIEW_LIBS"; then
1853 pkg_cv_GTKMATHVIEW_LIBS="$GTKMATHVIEW_LIBS"
1855 if test -n "$PKG_CONFIG" && \
1856 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmathview-gmetadom >= 0.6.2\"") >&5
1857 ($PKG_CONFIG --exists --print-errors "gtkmathview-gmetadom >= 0.6.2") 2>&5
1859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1860 (exit $ac_status); }; then
1861 pkg_cv_GTKMATHVIEW_LIBS=`$PKG_CONFIG --libs "gtkmathview-gmetadom >= 0.6.2" 2>/dev/null`
1872 if test $pkg_failed = yes; then
1874 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1875 _pkg_short_errors_supported=yes
1877 _pkg_short_errors_supported=no
1879 if test $_pkg_short_errors_supported = yes; then
1880 GTKMATHVIEW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmathview-gmetadom >= 0.6.2"`
1882 GTKMATHVIEW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmathview-gmetadom >= 0.6.2"`
1884 # Put the nasty error message in config.log where it belongs
1885 echo "$GTKMATHVIEW_PKG_ERRORS" >&5
1887 { { echo "$as_me:$LINENO: error: could not find gtkmathview-gmetadom" >&5
1888 echo "$as_me: error: could not find gtkmathview-gmetadom" >&2;}
1889 { (exit 1); exit 1; }; }
1890 elif test $pkg_failed = untried; then
1891 { { echo "$as_me:$LINENO: error: could not find gtkmathview-gmetadom" >&5
1892 echo "$as_me: error: could not find gtkmathview-gmetadom" >&2;}
1893 { (exit 1); exit 1; }; }
1895 GTKMATHVIEW_CFLAGS=$pkg_cv_GTKMATHVIEW_CFLAGS
1896 GTKMATHVIEW_LIBS=$pkg_cv_GTKMATHVIEW_LIBS
1897 { echo "$as_me:$LINENO: result: yes" >&5
1898 echo "${ECHO_T}yes" >&6; }
1904 # Extract the first word of "ocamlc", so it can be a program name with args.
1905 set dummy ocamlc; ac_word=$2
1906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1908 if test "${ac_cv_prog_HAVE_OCAMLC+set}" = set; then
1909 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 if test -n "$HAVE_OCAMLC"; then
1912 ac_cv_prog_HAVE_OCAMLC="$HAVE_OCAMLC" # Let the user override the test.
1914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1918 test -z "$as_dir" && as_dir=.
1919 for ac_exec_ext in '' $ac_executable_extensions; do
1920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1921 ac_cv_prog_HAVE_OCAMLC="yes"
1922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1929 test -z "$ac_cv_prog_HAVE_OCAMLC" && ac_cv_prog_HAVE_OCAMLC="no"
1932 HAVE_OCAMLC=$ac_cv_prog_HAVE_OCAMLC
1933 if test -n "$HAVE_OCAMLC"; then
1934 { echo "$as_me:$LINENO: result: $HAVE_OCAMLC" >&5
1935 echo "${ECHO_T}$HAVE_OCAMLC" >&6; }
1937 { echo "$as_me:$LINENO: result: no" >&5
1938 echo "${ECHO_T}no" >&6; }
1942 if test $HAVE_OCAMLC = "no"; then
1943 { { echo "$as_me:$LINENO: error: could not find ocamlc in PATH" >&5
1944 echo "$as_me: error: could not find ocamlc in PATH" >&2;}
1945 { (exit please make sure ocaml is installed); exit please make sure ocaml is installed; }; }
1948 # Extract the first word of "ocamlopt", so it can be a program name with args.
1949 set dummy ocamlopt; ac_word=$2
1950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1952 if test "${ac_cv_prog_HAVE_OCAMLOPT+set}" = set; then
1953 echo $ECHO_N "(cached) $ECHO_C" >&6
1955 if test -n "$HAVE_OCAMLOPT"; then
1956 ac_cv_prog_HAVE_OCAMLOPT="$HAVE_OCAMLOPT" # Let the user override the test.
1958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1962 test -z "$as_dir" && as_dir=.
1963 for ac_exec_ext in '' $ac_executable_extensions; do
1964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1965 ac_cv_prog_HAVE_OCAMLOPT="yes"
1966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1973 test -z "$ac_cv_prog_HAVE_OCAMLOPT" && ac_cv_prog_HAVE_OCAMLOPT="no"
1976 HAVE_OCAMLOPT=$ac_cv_prog_HAVE_OCAMLOPT
1977 if test -n "$HAVE_OCAMLOPT"; then
1978 { echo "$as_me:$LINENO: result: $HAVE_OCAMLOPT" >&5
1979 echo "${ECHO_T}$HAVE_OCAMLOPT" >&6; }
1981 { echo "$as_me:$LINENO: result: no" >&5
1982 echo "${ECHO_T}no" >&6; }
1987 # Extract the first word of "ocamlfind", so it can be a program name with args.
1988 set dummy ocamlfind; ac_word=$2
1989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1991 if test "${ac_cv_prog_HAVE_OCAMLFIND+set}" = set; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 if test -n "$HAVE_OCAMLFIND"; then
1995 ac_cv_prog_HAVE_OCAMLFIND="$HAVE_OCAMLFIND" # Let the user override the test.
1997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001 test -z "$as_dir" && as_dir=.
2002 for ac_exec_ext in '' $ac_executable_extensions; do
2003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2004 ac_cv_prog_HAVE_OCAMLFIND="yes"
2005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2012 test -z "$ac_cv_prog_HAVE_OCAMLFIND" && ac_cv_prog_HAVE_OCAMLFIND="no"
2015 HAVE_OCAMLFIND=$ac_cv_prog_HAVE_OCAMLFIND
2016 if test -n "$HAVE_OCAMLFIND"; then
2017 { echo "$as_me:$LINENO: result: $HAVE_OCAMLFIND" >&5
2018 echo "${ECHO_T}$HAVE_OCAMLFIND" >&6; }
2020 { echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6; }
2025 if test $HAVE_OCAMLFIND = "no"; then
2026 { { echo "$as_me:$LINENO: error: could not find ocamlfind in PATH" >&5
2027 echo "$as_me: error: could not find ocamlfind in PATH" >&2;}
2028 { (exit please make sure findlib is installed); exit please make sure findlib is installed; }; }
2031 { echo "$as_me:$LINENO: checking \"for gdome2\"" >&5
2032 echo $ECHO_N "checking \"for gdome2\"... $ECHO_C" >&6; }
2033 ocamlfind query gdome2 ||
2034 { { echo "$as_me:$LINENO: error: gdome2 not installed (according to findlib)" >&5
2035 echo "$as_me: error: gdome2 not installed (according to findlib)" >&2;}
2036 { (exit 1); exit 1; }; }
2038 { echo "$as_me:$LINENO: checking \"for lablgtk2\"" >&5
2039 echo $ECHO_N "checking \"for lablgtk2\"... $ECHO_C" >&6; }
2040 ocamlfind query lablgtk2 ||
2041 { { echo "$as_me:$LINENO: error: lablgtk2 not installed (according to findlib)" >&5
2042 echo "$as_me: error: lablgtk2 not installed (according to findlib)" >&2;}
2043 { (exit 1); exit 1; }; }
2045 { echo "$as_me:$LINENO: checking \"for the ocaml library dir\"" >&5
2046 echo $ECHO_N "checking \"for the ocaml library dir\"... $ECHO_C" >&6; }
2047 OCAML_LIB_DIR=`ocamlc -where`
2048 OCAML_STUB_DIR="$OCAML_LIB_DIR/stublibs"
2049 { echo "$as_me:$LINENO: result: $OCAML_LIB_DIR" >&5
2050 echo "${ECHO_T}$OCAML_LIB_DIR" >&6; }
2052 { echo "$as_me:$LINENO: checking for /usr/include/caml/mlvalues.h" >&5
2053 echo $ECHO_N "checking for /usr/include/caml/mlvalues.h... $ECHO_C" >&6; }
2054 if test "${ac_cv_file__usr_include_caml_mlvalues_h+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 test "$cross_compiling" = yes &&
2058 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2059 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2060 { (exit 1); exit 1; }; }
2061 if test -r "/usr/include/caml/mlvalues.h"; then
2062 ac_cv_file__usr_include_caml_mlvalues_h=yes
2064 ac_cv_file__usr_include_caml_mlvalues_h=no
2067 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_caml_mlvalues_h" >&5
2068 echo "${ECHO_T}$ac_cv_file__usr_include_caml_mlvalues_h" >&6; }
2069 if test $ac_cv_file__usr_include_caml_mlvalues_h = yes; then
2070 OCAML_INCLUDE_DIR=/usr/include/caml
2072 OCAML_INCLUDE_DIR=$OCAML_LIB_DIR/caml
2084 ac_config_files="$ac_config_files test/Makefile Makefile META"
2086 cat >confcache <<\_ACEOF
2087 # This file is a shell script that caches the results of configure
2088 # tests run on this system so they can be shared between configure
2089 # scripts and configure runs, see configure's option --config-cache.
2090 # It is not useful on other systems. If it contains results you don't
2091 # want to keep, you may remove or edit it.
2093 # config.status only pays attention to the cache file if you give it
2094 # the --recheck option to rerun configure.
2096 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2097 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2102 # The following way of writing the cache mishandles newlines in values,
2103 # but we know of no workaround that is simple, portable, and efficient.
2104 # So, we kill variables containing newlines.
2105 # Ultrix sh set writes to stderr and can't be redirected directly,
2106 # and sets the high bit in the cache file unless we assign to the vars.
2108 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2109 eval ac_val=\$$ac_var
2113 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2114 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2117 _ | IFS | as_nl) ;; #(
2118 *) $as_unset $ac_var ;;
2124 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2125 *${as_nl}ac_space=\ *)
2126 # `set' does not quote correctly, so add quotes (double-quote
2127 # substitution turns \\\\ into \\, and sed turns \\ into \).
2130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2133 # `set' quotes correctly as required by POSIX, so do not add quotes.
2134 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2143 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2145 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2147 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2148 if test -w "$cache_file"; then
2149 test "x$cache_file" != "x/dev/null" &&
2150 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2151 echo "$as_me: updating cache $cache_file" >&6;}
2152 cat confcache >$cache_file
2154 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2155 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2160 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2161 # Let make expand exec_prefix.
2162 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2164 # Transform confdefs.h into DEFS.
2165 # Protect against shell expansion while executing Makefile rules.
2166 # Protect against Makefile macro expansion.
2168 # If the first sed substitution is executed (which looks for macros that
2169 # take arguments), then branch to the quote section. Otherwise,
2170 # look for a macro that doesn't take arguments.
2174 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2176 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2180 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2193 DEFS=`sed -n "$ac_script" confdefs.h`
2198 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2199 # 1. Remove the extension, and $U if already installed.
2200 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2201 ac_i=`echo "$ac_i" | sed "$ac_script"`
2202 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2203 # will be set to the directory where LIBOBJS objects are built.
2204 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2205 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2209 LTLIBOBJS=$ac_ltlibobjs
2213 : ${CONFIG_STATUS=./config.status}
2214 ac_clean_files_save=$ac_clean_files
2215 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2216 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2217 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2218 cat >$CONFIG_STATUS <<_ACEOF
2220 # Generated by $as_me.
2221 # Run this file to recreate the current configuration.
2222 # Compiler output produced by configure, useful for debugging
2223 # configure, is in config.log if it exists.
2228 SHELL=\${CONFIG_SHELL-$SHELL}
2231 cat >>$CONFIG_STATUS <<\_ACEOF
2232 ## --------------------- ##
2233 ## M4sh Initialization. ##
2234 ## --------------------- ##
2236 # Be Bourne compatible
2237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2241 # is contrary to our usage. Disable this feature.
2242 alias -g '${1+"$@"}'='"$@"'
2243 setopt NO_GLOB_SUBST
2245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2247 BIN_SH=xpg4; export BIN_SH # for Tru64
2248 DUALCASE=1; export DUALCASE # for MKS sh
2252 # Avoid depending upon Character Ranges.
2253 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2254 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2255 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2256 as_cr_digits='0123456789'
2257 as_cr_alnum=$as_cr_Letters$as_cr_digits
2259 # The user is always right.
2260 if test "${PATH_SEPARATOR+set}" != set; then
2261 echo "#! /bin/sh" >conf$$.sh
2262 echo "exit 0" >>conf$$.sh
2264 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2272 # Support unset when possible.
2273 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2281 # We need space, tab and new line, in precisely that order. Quoting is
2282 # there to prevent editors from complaining about space-tab.
2283 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2284 # splitting by setting IFS to empty value.)
2289 # Find who we are. Look in the path if we contain no directory separator.
2291 *[\\/]* ) as_myself=$0 ;;
2292 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 test -z "$as_dir" && as_dir=.
2297 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2303 # We did not find ourselves, most probably we were run as `sh COMMAND'
2304 # in which case we are not to be found in the path.
2305 if test "x$as_myself" = x; then
2308 if test ! -f "$as_myself"; then
2309 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2310 { (exit 1); exit 1; }
2313 # Work around bugs in pre-3.0 UWIN ksh.
2314 for as_var in ENV MAIL MAILPATH
2315 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2323 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2324 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2325 LC_TELEPHONE LC_TIME
2327 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2328 eval $as_var=C; export $as_var
2330 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2334 # Required to use basename.
2335 if expr a : '\(a\)' >/dev/null 2>&1 &&
2336 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2342 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2343 as_basename=basename
2349 # Name of the executable.
2350 as_me=`$as_basename -- "$0" ||
2351 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2352 X"$0" : 'X\(//\)$' \| \
2353 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2355 sed '/^.*\/\([^/][^/]*\)\/*$/{
2376 test "x$as_lineno_1" != "x$as_lineno_2" &&
2377 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2379 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2380 # uniformly replaced by the line number. The first 'sed' inserts a
2381 # line-number line after each line using $LINENO; the second 'sed'
2382 # does the real work. The second script uses 'N' to pair each
2383 # line-number line with the line containing $LINENO, and appends
2384 # trailing '-' during substitution so that $LINENO is not a special
2386 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2387 # scripts with optimization help from Paolo Bonzini. Blame Lee
2388 # E. McMahon (1931-1989) for sed's syntax. :-)
2400 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2404 chmod +x "$as_me.lineno" ||
2405 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2406 { (exit 1); exit 1; }; }
2408 # Don't try to exec as it changes $[0], causing all sort of problems
2409 # (the dirname of $[0] is not the place where we might find the
2410 # original and so on. Autoconf is especially sensitive to this).
2412 # Exit status is that of the last command.
2417 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2423 ECHO_C= ECHO_N= ECHO_T=
2426 case `echo 'x\c'` in
2427 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2434 if expr a : '\(a\)' >/dev/null 2>&1 &&
2435 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2441 rm -f conf$$ conf$$.exe conf$$.file
2442 if test -d conf$$.dir; then
2443 rm -f conf$$.dir/conf$$.file
2449 if ln -s conf$$.file conf$$ 2>/dev/null; then
2451 # ... but there are two gotchas:
2452 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2453 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2454 # In both cases, we have to default to `cp -p'.
2455 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2457 elif ln conf$$.file conf$$ 2>/dev/null; then
2462 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2463 rmdir conf$$.dir 2>/dev/null
2465 if mkdir -p . 2>/dev/null; then
2468 test -d ./-p && rmdir ./-p
2472 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
2473 # systems may use methods other than mode bits to determine executability.
2474 cat >conf$$.file <<_ASEOF
2478 chmod +x conf$$.file
2479 if test -x conf$$.file >/dev/null 2>&1; then
2480 as_executable_p="test -x"
2486 # Sed expression to map a string onto a valid CPP name.
2487 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2489 # Sed expression to map a string onto a valid variable name.
2490 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2495 # Save the log message, to keep $[0] and so on meaningful, and to
2496 # report actual input values of CONFIG_FILES etc. instead of their
2497 # values after options handling.
2499 This file was extended by $as_me, which was
2500 generated by GNU Autoconf 2.60a. Invocation command line was
2502 CONFIG_FILES = $CONFIG_FILES
2503 CONFIG_HEADERS = $CONFIG_HEADERS
2504 CONFIG_LINKS = $CONFIG_LINKS
2505 CONFIG_COMMANDS = $CONFIG_COMMANDS
2508 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2513 cat >>$CONFIG_STATUS <<_ACEOF
2514 # Files that config.status was made for.
2515 config_files="$ac_config_files"
2519 cat >>$CONFIG_STATUS <<\_ACEOF
2521 \`$as_me' instantiates files from templates according to the
2522 current configuration.
2524 Usage: $0 [OPTIONS] [FILE]...
2526 -h, --help print this help, then exit
2527 -V, --version print version number and configuration settings, then exit
2528 -q, --quiet do not print progress messages
2529 -d, --debug don't remove temporary files
2530 --recheck update $as_me by reconfiguring in the same conditions
2531 --file=FILE[:TEMPLATE]
2532 instantiate the configuration file FILE
2534 Configuration files:
2537 Report bugs to <bug-autoconf@gnu.org>."
2540 cat >>$CONFIG_STATUS <<_ACEOF
2543 configured by $0, generated by GNU Autoconf 2.60a,
2544 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2546 Copyright (C) 2006 Free Software Foundation, Inc.
2547 This config.status script is free software; the Free Software Foundation
2548 gives unlimited permission to copy, distribute and modify it."
2554 cat >>$CONFIG_STATUS <<\_ACEOF
2555 # If no file are specified by the user, then we need to provide default
2556 # value. By we need to know if files were specified by the user.
2562 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2563 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2574 # Handling of the options.
2575 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2577 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2578 echo "$ac_cs_version"; exit ;;
2579 --debug | --debu | --deb | --de | --d | -d )
2581 --file | --fil | --fi | --f )
2583 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2584 ac_need_defaults=false;;
2585 --he | --h | --help | --hel | -h )
2586 echo "$ac_cs_usage"; exit ;;
2587 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2588 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2592 -*) { echo "$as_me: error: unrecognized option: $1
2593 Try \`$0 --help' for more information." >&2
2594 { (exit 1); exit 1; }; } ;;
2596 *) ac_config_targets="$ac_config_targets $1"
2597 ac_need_defaults=false ;;
2603 ac_configure_extra_args=
2605 if $ac_cs_silent; then
2607 ac_configure_extra_args="$ac_configure_extra_args --silent"
2611 cat >>$CONFIG_STATUS <<_ACEOF
2612 if \$ac_cs_recheck; then
2613 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2616 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2620 cat >>$CONFIG_STATUS <<\_ACEOF
2624 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2625 ## Running $as_me. ##
2631 cat >>$CONFIG_STATUS <<_ACEOF
2634 cat >>$CONFIG_STATUS <<\_ACEOF
2636 # Handling of arguments.
2637 for ac_config_target in $ac_config_targets
2639 case $ac_config_target in
2640 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
2641 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2642 "META") CONFIG_FILES="$CONFIG_FILES META" ;;
2644 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2645 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2646 { (exit 1); exit 1; }; };;
2651 # If the user did not use the arguments to specify the items to instantiate,
2652 # then the envvar interface is used. Set only those that are not.
2653 # We use the long form for the default assignment because of an extremely
2654 # bizarre bug on SunOS 4.1.3.
2655 if $ac_need_defaults; then
2656 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2659 # Have a temporary directory for convenience. Make it in the build tree
2660 # simply because there is no reason against having it here, and in addition,
2661 # creating and moving files from /tmp can sometimes cause problems.
2662 # Hook for its removal unless debugging.
2663 # Note that there is a small window in which the directory will not be cleaned:
2664 # after its creation but before its name has been assigned to `$tmp'.
2668 trap 'exit_status=$?
2669 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2671 trap '{ (exit 1); exit 1; }' 1 2 13 15
2673 # Create a (secure) tmp directory for tmp files.
2676 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2677 test -n "$tmp" && test -d "$tmp"
2680 tmp=./conf$$-$RANDOM
2681 (umask 077 && mkdir "$tmp")
2684 echo "$me: cannot create a temporary directory in ." >&2
2685 { (exit 1); exit 1; }
2689 # Set up the sed scripts for CONFIG_FILES section.
2692 # No need to generate the scripts if there are no CONFIG_FILES.
2693 # This happens for instance when ./config.status config.h
2694 if test -n "$CONFIG_FILES"; then
2701 for ac_last_try in false false false false false :; do
2702 cat >conf$$subs.sed <<_ACEOF
2703 SHELL!$SHELL$ac_delim
2704 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2705 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2706 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2707 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2708 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2709 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2710 exec_prefix!$exec_prefix$ac_delim
2711 prefix!$prefix$ac_delim
2712 program_transform_name!$program_transform_name$ac_delim
2713 bindir!$bindir$ac_delim
2714 sbindir!$sbindir$ac_delim
2715 libexecdir!$libexecdir$ac_delim
2716 datarootdir!$datarootdir$ac_delim
2717 datadir!$datadir$ac_delim
2718 sysconfdir!$sysconfdir$ac_delim
2719 sharedstatedir!$sharedstatedir$ac_delim
2720 localstatedir!$localstatedir$ac_delim
2721 includedir!$includedir$ac_delim
2722 oldincludedir!$oldincludedir$ac_delim
2723 docdir!$docdir$ac_delim
2724 infodir!$infodir$ac_delim
2725 htmldir!$htmldir$ac_delim
2726 dvidir!$dvidir$ac_delim
2727 pdfdir!$pdfdir$ac_delim
2728 psdir!$psdir$ac_delim
2729 libdir!$libdir$ac_delim
2730 localedir!$localedir$ac_delim
2731 mandir!$mandir$ac_delim
2733 ECHO_C!$ECHO_C$ac_delim
2734 ECHO_N!$ECHO_N$ac_delim
2735 ECHO_T!$ECHO_T$ac_delim
2737 build_alias!$build_alias$ac_delim
2738 host_alias!$host_alias$ac_delim
2739 target_alias!$target_alias$ac_delim
2740 PKG_CONFIG!$PKG_CONFIG$ac_delim
2741 GDOME_CFLAGS!$GDOME_CFLAGS$ac_delim
2742 GDOME_LIBS!$GDOME_LIBS$ac_delim
2743 GTKMATHVIEW_CFLAGS!$GTKMATHVIEW_CFLAGS$ac_delim
2744 GTKMATHVIEW_LIBS!$GTKMATHVIEW_LIBS$ac_delim
2745 HAVE_OCAMLC!$HAVE_OCAMLC$ac_delim
2746 HAVE_OCAMLOPT!$HAVE_OCAMLOPT$ac_delim
2747 HAVE_OCAMLFIND!$HAVE_OCAMLFIND$ac_delim
2748 PACKAGE!$PACKAGE$ac_delim
2749 VERSION!$VERSION$ac_delim
2750 OCAML_INCLUDE_DIR!$OCAML_INCLUDE_DIR$ac_delim
2751 OCAML_LIB_DIR!$OCAML_LIB_DIR$ac_delim
2752 OCAML_STUB_DIR!$OCAML_STUB_DIR$ac_delim
2753 LIBOBJS!$LIBOBJS$ac_delim
2754 LTLIBOBJS!$LTLIBOBJS$ac_delim
2757 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
2759 elif $ac_last_try; then
2760 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2761 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2762 { (exit 1); exit 1; }; }
2764 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2768 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2769 if test -n "$ac_eof"; then
2770 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2771 ac_eof=`expr $ac_eof + 1`
2774 cat >>$CONFIG_STATUS <<_ACEOF
2775 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2776 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2779 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2780 s/^/s,@/; s/!/@,|#_!!_#|/
2783 s/'"$ac_delim"'$/,g/; t
2785 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2786 ' >>$CONFIG_STATUS <conf$$subs.sed
2787 rm -f conf$$subs.sed
2788 cat >>$CONFIG_STATUS <<_ACEOF
2795 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2796 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2797 # trailing colons and then remove the whole line if VPATH becomes empty
2798 # (actually we leave an empty line to preserve line numbers).
2799 if test "x$srcdir" = x.; then
2800 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2804 s/^\([^=]*=[ ]*\):*/\1/
2810 cat >>$CONFIG_STATUS <<\_ACEOF
2811 fi # test -n "$CONFIG_FILES"
2814 for ac_tag in :F $CONFIG_FILES
2817 :[FHLC]) ac_mode=$ac_tag; continue;;
2819 case $ac_mode$ac_tag in
2821 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2822 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2823 { (exit 1); exit 1; }; };;
2824 :[FH]-) ac_tag=-:-;;
2825 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2842 -) ac_f="$tmp/stdin";;
2843 *) # Look for the file first in the build tree, then in the source tree
2844 # (if the path is not absolute). The absolute path cannot be DOS-style,
2845 # because $ac_f cannot contain `:'.
2849 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2851 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2852 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2853 { (exit 1); exit 1; }; };;
2855 ac_file_inputs="$ac_file_inputs $ac_f"
2858 # Let's still pretend it is `configure' which instantiates (i.e., don't
2859 # use $as_me), people would be surprised to read:
2860 # /* config.h. Generated by config.status. */
2861 configure_input="Generated from "`IFS=:
2862 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2863 if test x"$ac_file" != x-; then
2864 configure_input="$ac_file. $configure_input"
2865 { echo "$as_me:$LINENO: creating $ac_file" >&5
2866 echo "$as_me: creating $ac_file" >&6;}
2870 *:-:* | *:-) cat >"$tmp/stdin";;
2875 ac_dir=`$as_dirname -- "$ac_file" ||
2876 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2877 X"$ac_file" : 'X\(//\)[^/]' \| \
2878 X"$ac_file" : 'X\(//\)$' \| \
2879 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2900 -*) as_dir=./$as_dir;;
2902 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2906 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2907 *) as_qdir=$as_dir;;
2909 as_dirs="'$as_qdir' $as_dirs"
2910 as_dir=`$as_dirname -- "$as_dir" ||
2911 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2912 X"$as_dir" : 'X\(//\)[^/]' \| \
2913 X"$as_dir" : 'X\(//\)$' \| \
2914 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2933 test -d "$as_dir" && break
2935 test -z "$as_dirs" || eval "mkdir $as_dirs"
2936 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2937 echo "$as_me: error: cannot create directory $as_dir" >&2;}
2938 { (exit 1); exit 1; }; }; }
2942 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2944 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2945 # A ".." for each directory in $ac_dir_suffix.
2946 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2947 case $ac_top_builddir_sub in
2948 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2949 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2952 ac_abs_top_builddir=$ac_pwd
2953 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2954 # for backward compatibility:
2955 ac_top_builddir=$ac_top_build_prefix
2958 .) # We are building in place.
2960 ac_top_srcdir=$ac_top_builddir_sub
2961 ac_abs_top_srcdir=$ac_pwd ;;
2962 [\\/]* | ?:[\\/]* ) # Absolute name.
2963 ac_srcdir=$srcdir$ac_dir_suffix;
2964 ac_top_srcdir=$srcdir
2965 ac_abs_top_srcdir=$srcdir ;;
2967 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2968 ac_top_srcdir=$ac_top_build_prefix$srcdir
2969 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2971 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2982 cat >>$CONFIG_STATUS <<\_ACEOF
2983 # If the template does not know about datarootdir, expand it.
2984 # FIXME: This hack should be removed a few years after 2.60.
2985 ac_datarootdir_hack=; ac_datarootdir_seen=
2987 case `sed -n '/datarootdir/ {
2996 ' $ac_file_inputs` in
2997 *datarootdir*) ac_datarootdir_seen=yes;;
2998 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2999 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3000 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3002 cat >>$CONFIG_STATUS <<_ACEOF
3003 ac_datarootdir_hack='
3004 s&@datadir@&$datadir&g
3005 s&@docdir@&$docdir&g
3006 s&@infodir@&$infodir&g
3007 s&@localedir@&$localedir&g
3008 s&@mandir@&$mandir&g
3009 s&\\\${datarootdir}&$datarootdir&g' ;;
3013 # Neutralize VPATH when `$srcdir' = `.'.
3014 # Shell code in configure.ac might set extrasub.
3015 # FIXME: do we really want to maintain this feature?
3016 cat >>$CONFIG_STATUS <<_ACEOF
3020 cat >>$CONFIG_STATUS <<\_ACEOF
3022 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3023 s&@configure_input@&$configure_input&;t t
3024 s&@top_builddir@&$ac_top_builddir_sub&;t t
3025 s&@srcdir@&$ac_srcdir&;t t
3026 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3027 s&@top_srcdir@&$ac_top_srcdir&;t t
3028 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3029 s&@builddir@&$ac_builddir&;t t
3030 s&@abs_builddir@&$ac_abs_builddir&;t t
3031 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3032 $ac_datarootdir_hack
3033 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3035 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3036 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3037 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3038 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3039 which seems to be undefined. Please make sure it is defined." >&5
3040 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3041 which seems to be undefined. Please make sure it is defined." >&2;}
3045 -) cat "$tmp/out"; rm -f "$tmp/out";;
3046 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3057 { (exit 0); exit 0; }
3059 chmod +x $CONFIG_STATUS
3060 ac_clean_files=$ac_clean_files_save
3063 # configure is writing to config.log, and then calls config.status.
3064 # config.status does its own redirection, appending to config.log.
3065 # Unfortunately, on DOS this fails, as config.log is still kept open
3066 # by configure, so config.status won't be able to write to it; its
3067 # output is simply discarded. So we exec the FD to /dev/null,
3068 # effectively closing config.log, so it can be properly (re)opened and
3069 # appended to by config.status. When coming back to configure, we
3070 # need to make the FD available again.
3071 if test "$no_create" != yes; then
3073 ac_config_status_args=
3074 test "$silent" = yes &&
3075 ac_config_status_args="$ac_config_status_args --quiet"
3077 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3079 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3080 # would make configure fail if this is the last instruction.
3081 $ac_cs_success || { (exit 1); exit 1; }