adamc@378: #! /bin/sh adamc@378: # Guess values for system-dependent variables and create Makefiles. adamc@378: # Generated by GNU Autoconf 2.61. adamc@378: # adamc@378: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, adamc@378: # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. adamc@378: # This configure script is free software; the Free Software Foundation adamc@378: # gives unlimited permission to copy, distribute and modify it. adamc@378: ## --------------------- ## adamc@378: ## M4sh Initialization. ## adamc@378: ## --------------------- ## adamc@378: adamc@378: # Be more Bourne compatible adamc@378: DUALCASE=1; export DUALCASE # for MKS sh adamc@378: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then adamc@378: emulate sh adamc@378: NULLCMD=: adamc@378: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which adamc@378: # is contrary to our usage. Disable this feature. adamc@378: alias -g '${1+"$@"}'='"$@"' adamc@378: setopt NO_GLOB_SUBST adamc@378: else adamc@378: case `(set -o) 2>/dev/null` in adamc@378: *posix*) set -o posix ;; adamc@378: esac adamc@378: adamc@378: fi adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: # PATH needs CR adamc@378: # Avoid depending upon Character Ranges. adamc@378: as_cr_letters='abcdefghijklmnopqrstuvwxyz' adamc@378: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' adamc@378: as_cr_Letters=$as_cr_letters$as_cr_LETTERS adamc@378: as_cr_digits='0123456789' adamc@378: as_cr_alnum=$as_cr_Letters$as_cr_digits adamc@378: adamc@378: # The user is always right. adamc@378: if test "${PATH_SEPARATOR+set}" != set; then adamc@378: echo "#! /bin/sh" >conf$$.sh adamc@378: echo "exit 0" >>conf$$.sh adamc@378: chmod +x conf$$.sh adamc@378: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then adamc@378: PATH_SEPARATOR=';' adamc@378: else adamc@378: PATH_SEPARATOR=: adamc@378: fi adamc@378: rm -f conf$$.sh adamc@378: fi adamc@378: adamc@378: # Support unset when possible. adamc@378: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then adamc@378: as_unset=unset adamc@378: else adamc@378: as_unset=false adamc@378: fi adamc@378: adamc@378: adamc@378: # IFS adamc@378: # We need space, tab and new line, in precisely that order. Quoting is adamc@378: # there to prevent editors from complaining about space-tab. adamc@378: # (If _AS_PATH_WALK were called with IFS unset, it would disable word adamc@378: # splitting by setting IFS to empty value.) adamc@378: as_nl=' adamc@378: ' adamc@378: IFS=" "" $as_nl" adamc@378: adamc@378: # Find who we are. Look in the path if we contain no directory separator. adamc@378: case $0 in adamc@378: *[\\/]* ) as_myself=$0 ;; adamc@378: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR adamc@378: for as_dir in $PATH adamc@378: do adamc@378: IFS=$as_save_IFS adamc@378: test -z "$as_dir" && as_dir=. adamc@378: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break adamc@378: done adamc@378: IFS=$as_save_IFS adamc@378: adamc@378: ;; adamc@378: esac adamc@378: # We did not find ourselves, most probably we were run as `sh COMMAND' adamc@378: # in which case we are not to be found in the path. adamc@378: if test "x$as_myself" = x; then adamc@378: as_myself=$0 adamc@378: fi adamc@378: if test ! -f "$as_myself"; then adamc@378: echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 adamc@378: { (exit 1); exit 1; } adamc@378: fi adamc@378: adamc@378: # Work around bugs in pre-3.0 UWIN ksh. adamc@378: for as_var in ENV MAIL MAILPATH adamc@378: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var adamc@378: done adamc@378: PS1='$ ' adamc@378: PS2='> ' adamc@378: PS4='+ ' adamc@378: adamc@378: # NLS nuisances. adamc@378: for as_var in \ adamc@378: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ adamc@378: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ adamc@378: LC_TELEPHONE LC_TIME adamc@378: do adamc@378: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then adamc@378: eval $as_var=C; export $as_var adamc@378: else adamc@378: ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var adamc@378: fi adamc@378: done adamc@378: adamc@378: # Required to use basename. adamc@378: if expr a : '\(a\)' >/dev/null 2>&1 && adamc@378: test "X`expr 00001 : '.*\(...\)'`" = X001; then adamc@378: as_expr=expr adamc@378: else adamc@378: as_expr=false adamc@378: fi adamc@378: adamc@378: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then adamc@378: as_basename=basename adamc@378: else adamc@378: as_basename=false adamc@378: fi adamc@378: adamc@378: adamc@378: # Name of the executable. adamc@378: as_me=`$as_basename -- "$0" || adamc@378: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ adamc@378: X"$0" : 'X\(//\)$' \| \ adamc@378: X"$0" : 'X\(/\)' \| . 2>/dev/null || adamc@378: echo X/"$0" | adamc@378: sed '/^.*\/\([^/][^/]*\)\/*$/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\/\(\/\/\)$/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\/\(\/\).*/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: s/.*/./; q'` adamc@378: adamc@378: # CDPATH. adamc@378: $as_unset CDPATH adamc@378: adamc@378: adamc@378: if test "x$CONFIG_SHELL" = x; then adamc@378: if (eval ":") 2>/dev/null; then adamc@378: as_have_required=yes adamc@378: else adamc@378: as_have_required=no adamc@378: fi adamc@378: adamc@378: if test $as_have_required = yes && (eval ": adamc@378: (as_func_return () { adamc@378: (exit \$1) adamc@378: } adamc@378: as_func_success () { adamc@378: as_func_return 0 adamc@378: } adamc@378: as_func_failure () { adamc@378: as_func_return 1 adamc@378: } adamc@378: as_func_ret_success () { adamc@378: return 0 adamc@378: } adamc@378: as_func_ret_failure () { adamc@378: return 1 adamc@378: } adamc@378: adamc@378: exitcode=0 adamc@378: if as_func_success; then adamc@378: : adamc@378: else adamc@378: exitcode=1 adamc@378: echo as_func_success failed. adamc@378: fi adamc@378: adamc@378: if as_func_failure; then adamc@378: exitcode=1 adamc@378: echo as_func_failure succeeded. adamc@378: fi adamc@378: adamc@378: if as_func_ret_success; then adamc@378: : adamc@378: else adamc@378: exitcode=1 adamc@378: echo as_func_ret_success failed. adamc@378: fi adamc@378: adamc@378: if as_func_ret_failure; then adamc@378: exitcode=1 adamc@378: echo as_func_ret_failure succeeded. adamc@378: fi adamc@378: adamc@378: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then adamc@378: : adamc@378: else adamc@378: exitcode=1 adamc@378: echo positional parameters were not saved. adamc@378: fi adamc@378: adamc@378: test \$exitcode = 0) || { (exit 1); exit 1; } adamc@378: adamc@378: ( adamc@378: as_lineno_1=\$LINENO adamc@378: as_lineno_2=\$LINENO adamc@378: test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && adamc@378: test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } adamc@378: ") 2> /dev/null; then adamc@378: : adamc@378: else adamc@378: as_candidate_shells= adamc@378: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR adamc@378: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH adamc@378: do adamc@378: IFS=$as_save_IFS adamc@378: test -z "$as_dir" && as_dir=. adamc@378: case $as_dir in adamc@378: /*) adamc@378: for as_base in sh bash ksh sh5; do adamc@378: as_candidate_shells="$as_candidate_shells $as_dir/$as_base" adamc@378: done;; adamc@378: esac adamc@378: done adamc@378: IFS=$as_save_IFS adamc@378: adamc@378: adamc@378: for as_shell in $as_candidate_shells $SHELL; do adamc@378: # Try only shells that exist, to save several forks. adamc@378: if { test -f "$as_shell" || test -f "$as_shell.exe"; } && adamc@378: { ("$as_shell") 2> /dev/null <<\_ASEOF adamc@378: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then adamc@378: emulate sh adamc@378: NULLCMD=: adamc@378: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which adamc@378: # is contrary to our usage. Disable this feature. adamc@378: alias -g '${1+"$@"}'='"$@"' adamc@378: setopt NO_GLOB_SUBST adamc@378: else adamc@378: case `(set -o) 2>/dev/null` in adamc@378: *posix*) set -o posix ;; adamc@378: esac adamc@378: adamc@378: fi adamc@378: adamc@378: adamc@378: : adamc@378: _ASEOF adamc@378: }; then adamc@378: CONFIG_SHELL=$as_shell adamc@378: as_have_required=yes adamc@378: if { "$as_shell" 2> /dev/null <<\_ASEOF adamc@378: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then adamc@378: emulate sh adamc@378: NULLCMD=: adamc@378: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which adamc@378: # is contrary to our usage. Disable this feature. adamc@378: alias -g '${1+"$@"}'='"$@"' adamc@378: setopt NO_GLOB_SUBST adamc@378: else adamc@378: case `(set -o) 2>/dev/null` in adamc@378: *posix*) set -o posix ;; adamc@378: esac adamc@378: adamc@378: fi adamc@378: adamc@378: adamc@378: : adamc@378: (as_func_return () { adamc@378: (exit $1) adamc@378: } adamc@378: as_func_success () { adamc@378: as_func_return 0 adamc@378: } adamc@378: as_func_failure () { adamc@378: as_func_return 1 adamc@378: } adamc@378: as_func_ret_success () { adamc@378: return 0 adamc@378: } adamc@378: as_func_ret_failure () { adamc@378: return 1 adamc@378: } adamc@378: adamc@378: exitcode=0 adamc@378: if as_func_success; then adamc@378: : adamc@378: else adamc@378: exitcode=1 adamc@378: echo as_func_success failed. adamc@378: fi adamc@378: adamc@378: if as_func_failure; then adamc@378: exitcode=1 adamc@378: echo as_func_failure succeeded. adamc@378: fi adamc@378: adamc@378: if as_func_ret_success; then adamc@378: : adamc@378: else adamc@378: exitcode=1 adamc@378: echo as_func_ret_success failed. adamc@378: fi adamc@378: adamc@378: if as_func_ret_failure; then adamc@378: exitcode=1 adamc@378: echo as_func_ret_failure succeeded. adamc@378: fi adamc@378: adamc@378: if ( set x; as_func_ret_success y && test x = "$1" ); then adamc@378: : adamc@378: else adamc@378: exitcode=1 adamc@378: echo positional parameters were not saved. adamc@378: fi adamc@378: adamc@378: test $exitcode = 0) || { (exit 1); exit 1; } adamc@378: adamc@378: ( adamc@378: as_lineno_1=$LINENO adamc@378: as_lineno_2=$LINENO adamc@378: test "x$as_lineno_1" != "x$as_lineno_2" && adamc@378: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } adamc@378: adamc@378: _ASEOF adamc@378: }; then adamc@378: break adamc@378: fi adamc@378: adamc@378: fi adamc@378: adamc@378: done adamc@378: adamc@378: if test "x$CONFIG_SHELL" != x; then adamc@378: for as_var in BASH_ENV ENV adamc@378: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var adamc@378: done adamc@378: export CONFIG_SHELL adamc@378: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} adamc@378: fi adamc@378: adamc@378: adamc@378: if test $as_have_required = no; then adamc@378: echo This script requires a shell more modern than all the adamc@378: echo shells that I found on your system. Please install a adamc@378: echo modern shell, or manually run the script under such a adamc@378: echo shell if you do have one. adamc@378: { (exit 1); exit 1; } adamc@378: fi adamc@378: adamc@378: adamc@378: fi adamc@378: adamc@378: fi adamc@378: adamc@378: adamc@378: adamc@378: (eval "as_func_return () { adamc@378: (exit \$1) adamc@378: } adamc@378: as_func_success () { adamc@378: as_func_return 0 adamc@378: } adamc@378: as_func_failure () { adamc@378: as_func_return 1 adamc@378: } adamc@378: as_func_ret_success () { adamc@378: return 0 adamc@378: } adamc@378: as_func_ret_failure () { adamc@378: return 1 adamc@378: } adamc@378: adamc@378: exitcode=0 adamc@378: if as_func_success; then adamc@378: : adamc@378: else adamc@378: exitcode=1 adamc@378: echo as_func_success failed. adamc@378: fi adamc@378: adamc@378: if as_func_failure; then adamc@378: exitcode=1 adamc@378: echo as_func_failure succeeded. adamc@378: fi adamc@378: adamc@378: if as_func_ret_success; then adamc@378: : adamc@378: else adamc@378: exitcode=1 adamc@378: echo as_func_ret_success failed. adamc@378: fi adamc@378: adamc@378: if as_func_ret_failure; then adamc@378: exitcode=1 adamc@378: echo as_func_ret_failure succeeded. adamc@378: fi adamc@378: adamc@378: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then adamc@378: : adamc@378: else adamc@378: exitcode=1 adamc@378: echo positional parameters were not saved. adamc@378: fi adamc@378: adamc@378: test \$exitcode = 0") || { adamc@378: echo No shell found that supports shell functions. adamc@378: echo Please tell autoconf@gnu.org about your system, adamc@378: echo including any error possibly output before this adamc@378: echo message adamc@378: } adamc@378: adamc@378: adamc@378: adamc@378: as_lineno_1=$LINENO adamc@378: as_lineno_2=$LINENO adamc@378: test "x$as_lineno_1" != "x$as_lineno_2" && adamc@378: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { adamc@378: adamc@378: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO adamc@378: # uniformly replaced by the line number. The first 'sed' inserts a adamc@378: # line-number line after each line using $LINENO; the second 'sed' adamc@378: # does the real work. The second script uses 'N' to pair each adamc@378: # line-number line with the line containing $LINENO, and appends adamc@378: # trailing '-' during substitution so that $LINENO is not a special adamc@378: # case at line end. adamc@378: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the adamc@378: # scripts with optimization help from Paolo Bonzini. Blame Lee adamc@378: # E. McMahon (1931-1989) for sed's syntax. :-) adamc@378: sed -n ' adamc@378: p adamc@378: /[$]LINENO/= adamc@378: ' <$as_myself | adamc@378: sed ' adamc@378: s/[$]LINENO.*/&-/ adamc@378: t lineno adamc@378: b adamc@378: :lineno adamc@378: N adamc@378: :loop adamc@378: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ adamc@378: t loop adamc@378: s/-\n.*// adamc@378: ' >$as_me.lineno && adamc@378: chmod +x "$as_me.lineno" || adamc@378: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: adamc@378: # Don't try to exec as it changes $[0], causing all sort of problems adamc@378: # (the dirname of $[0] is not the place where we might find the adamc@378: # original and so on. Autoconf is especially sensitive to this). adamc@378: . "./$as_me.lineno" adamc@378: # Exit status is that of the last command. adamc@378: exit adamc@378: } adamc@378: adamc@378: adamc@378: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then adamc@378: as_dirname=dirname adamc@378: else adamc@378: as_dirname=false adamc@378: fi adamc@378: adamc@378: ECHO_C= ECHO_N= ECHO_T= adamc@378: case `echo -n x` in adamc@378: -n*) adamc@378: case `echo 'x\c'` in adamc@378: *c*) ECHO_T=' ';; # ECHO_T is single tab character. adamc@378: *) ECHO_C='\c';; adamc@378: esac;; adamc@378: *) adamc@378: ECHO_N='-n';; adamc@378: esac adamc@378: adamc@378: if expr a : '\(a\)' >/dev/null 2>&1 && adamc@378: test "X`expr 00001 : '.*\(...\)'`" = X001; then adamc@378: as_expr=expr adamc@378: else adamc@378: as_expr=false adamc@378: fi adamc@378: adamc@378: rm -f conf$$ conf$$.exe conf$$.file adamc@378: if test -d conf$$.dir; then adamc@378: rm -f conf$$.dir/conf$$.file adamc@378: else adamc@378: rm -f conf$$.dir adamc@378: mkdir conf$$.dir adamc@378: fi adamc@378: echo >conf$$.file adamc@378: if ln -s conf$$.file conf$$ 2>/dev/null; then adamc@378: as_ln_s='ln -s' adamc@378: # ... but there are two gotchas: adamc@378: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. adamc@378: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. adamc@378: # In both cases, we have to default to `cp -p'. adamc@378: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || adamc@378: as_ln_s='cp -p' adamc@378: elif ln conf$$.file conf$$ 2>/dev/null; then adamc@378: as_ln_s=ln adamc@378: else adamc@378: as_ln_s='cp -p' adamc@378: fi adamc@378: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file adamc@378: rmdir conf$$.dir 2>/dev/null adamc@378: adamc@378: if mkdir -p . 2>/dev/null; then adamc@378: as_mkdir_p=: adamc@378: else adamc@378: test -d ./-p && rmdir ./-p adamc@378: as_mkdir_p=false adamc@378: fi adamc@378: adamc@378: if test -x / >/dev/null 2>&1; then adamc@378: as_test_x='test -x' adamc@378: else adamc@378: if ls -dL / >/dev/null 2>&1; then adamc@378: as_ls_L_option=L adamc@378: else adamc@378: as_ls_L_option= adamc@378: fi adamc@378: as_test_x=' adamc@378: eval sh -c '\'' adamc@378: if test -d "$1"; then adamc@378: test -d "$1/."; adamc@378: else adamc@378: case $1 in adamc@378: -*)set "./$1";; adamc@378: esac; adamc@378: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in adamc@378: ???[sx]*):;;*)false;;esac;fi adamc@378: '\'' sh adamc@378: ' adamc@378: fi adamc@378: as_executable_p=$as_test_x adamc@378: adamc@378: # Sed expression to map a string onto a valid CPP name. adamc@378: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" adamc@378: adamc@378: # Sed expression to map a string onto a valid variable name. adamc@378: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" adamc@378: adamc@378: adamc@378: adamc@378: exec 7<&0 &1 adamc@378: adamc@378: # Name of the host. adamc@378: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, adamc@378: # so uname gets run too. adamc@378: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` adamc@378: adamc@378: # adamc@378: # Initializations. adamc@378: # adamc@378: ac_default_prefix=/usr/local adamc@378: ac_clean_files= adamc@378: ac_config_libobj_dir=. adamc@378: LIBOBJS= adamc@378: cross_compiling=no adamc@378: subdirs= adamc@378: MFLAGS= adamc@378: MAKEFLAGS= adamc@378: SHELL=${CONFIG_SHELL-/bin/sh} adamc@378: adamc@378: # Identity of this package. adamc@378: PACKAGE_NAME= adamc@378: PACKAGE_TARNAME= adamc@378: PACKAGE_VERSION= adamc@378: PACKAGE_STRING= adamc@378: PACKAGE_BUGREPORT= adamc@378: adamc@378: ac_unique_file="THIS_IS_URWEB" adamc@378: ac_subst_vars='SHELL adamc@378: PATH_SEPARATOR adamc@378: PACKAGE_NAME adamc@378: PACKAGE_TARNAME adamc@378: PACKAGE_VERSION adamc@378: PACKAGE_STRING adamc@378: PACKAGE_BUGREPORT adamc@378: exec_prefix adamc@378: prefix adamc@378: program_transform_name adamc@378: bindir adamc@378: sbindir adamc@378: libexecdir adamc@378: datarootdir adamc@378: datadir adamc@378: sysconfdir adamc@378: sharedstatedir adamc@378: localstatedir adamc@378: includedir adamc@378: oldincludedir adamc@378: docdir adamc@378: infodir adamc@378: htmldir adamc@378: dvidir adamc@378: pdfdir adamc@378: psdir adamc@378: libdir adamc@378: localedir adamc@378: mandir adamc@378: DEFS adamc@378: ECHO_C adamc@378: ECHO_N adamc@378: ECHO_T adamc@378: LIBS adamc@378: build_alias adamc@378: host_alias adamc@378: target_alias adamc@378: BIN adamc@378: LIB adamc@378: INCLUDE adamc@378: SITELISP adamc@378: do_not_edit adamc@378: LIBOBJS adamc@378: LTLIBOBJS' adamc@378: ac_subst_files='' adamc@378: ac_precious_vars='build_alias adamc@378: host_alias adamc@378: target_alias' adamc@378: adamc@378: adamc@378: # Initialize some variables set by options. adamc@378: ac_init_help= adamc@378: ac_init_version=false adamc@378: # The variables have the same names as the options, with adamc@378: # dashes changed to underlines. adamc@378: cache_file=/dev/null adamc@378: exec_prefix=NONE adamc@378: no_create= adamc@378: no_recursion= adamc@378: prefix=NONE adamc@378: program_prefix=NONE adamc@378: program_suffix=NONE adamc@378: program_transform_name=s,x,x, adamc@378: silent= adamc@378: site= adamc@378: srcdir= adamc@378: verbose= adamc@378: x_includes=NONE adamc@378: x_libraries=NONE adamc@378: adamc@378: # Installation directory options. adamc@378: # These are left unexpanded so users can "make install exec_prefix=/foo" adamc@378: # and all the variables that are supposed to be based on exec_prefix adamc@378: # by default will actually change. adamc@378: # Use braces instead of parens because sh, perl, etc. also accept them. adamc@378: # (The list follows the same order as the GNU Coding Standards.) adamc@378: bindir='${exec_prefix}/bin' adamc@378: sbindir='${exec_prefix}/sbin' adamc@378: libexecdir='${exec_prefix}/libexec' adamc@378: datarootdir='${prefix}/share' adamc@378: datadir='${datarootdir}' adamc@378: sysconfdir='${prefix}/etc' adamc@378: sharedstatedir='${prefix}/com' adamc@378: localstatedir='${prefix}/var' adamc@378: includedir='${prefix}/include' adamc@378: oldincludedir='/usr/include' adamc@378: docdir='${datarootdir}/doc/${PACKAGE}' adamc@378: infodir='${datarootdir}/info' adamc@378: htmldir='${docdir}' adamc@378: dvidir='${docdir}' adamc@378: pdfdir='${docdir}' adamc@378: psdir='${docdir}' adamc@378: libdir='${exec_prefix}/lib' adamc@378: localedir='${datarootdir}/locale' adamc@378: mandir='${datarootdir}/man' adamc@378: adamc@378: ac_prev= adamc@378: ac_dashdash= adamc@378: for ac_option adamc@378: do adamc@378: # If the previous option needs an argument, assign it. adamc@378: if test -n "$ac_prev"; then adamc@378: eval $ac_prev=\$ac_option adamc@378: ac_prev= adamc@378: continue adamc@378: fi adamc@378: adamc@378: case $ac_option in adamc@378: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; adamc@378: *) ac_optarg=yes ;; adamc@378: esac adamc@378: adamc@378: # Accept the important Cygnus configure options, so we can diagnose typos. adamc@378: adamc@378: case $ac_dashdash$ac_option in adamc@378: --) adamc@378: ac_dashdash=yes ;; adamc@378: adamc@378: -bindir | --bindir | --bindi | --bind | --bin | --bi) adamc@378: ac_prev=bindir ;; adamc@378: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) adamc@378: bindir=$ac_optarg ;; adamc@378: adamc@378: -build | --build | --buil | --bui | --bu) adamc@378: ac_prev=build_alias ;; adamc@378: -build=* | --build=* | --buil=* | --bui=* | --bu=*) adamc@378: build_alias=$ac_optarg ;; adamc@378: adamc@378: -cache-file | --cache-file | --cache-fil | --cache-fi \ adamc@378: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) adamc@378: ac_prev=cache_file ;; adamc@378: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ adamc@378: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) adamc@378: cache_file=$ac_optarg ;; adamc@378: adamc@378: --config-cache | -C) adamc@378: cache_file=config.cache ;; adamc@378: adamc@378: -datadir | --datadir | --datadi | --datad) adamc@378: ac_prev=datadir ;; adamc@378: -datadir=* | --datadir=* | --datadi=* | --datad=*) adamc@378: datadir=$ac_optarg ;; adamc@378: adamc@378: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ adamc@378: | --dataroo | --dataro | --datar) adamc@378: ac_prev=datarootdir ;; adamc@378: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ adamc@378: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) adamc@378: datarootdir=$ac_optarg ;; adamc@378: adamc@378: -disable-* | --disable-*) adamc@378: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` adamc@378: # Reject names that are not valid shell variable names. adamc@378: expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && adamc@378: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` adamc@378: eval enable_$ac_feature=no ;; adamc@378: adamc@378: -docdir | --docdir | --docdi | --doc | --do) adamc@378: ac_prev=docdir ;; adamc@378: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) adamc@378: docdir=$ac_optarg ;; adamc@378: adamc@378: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) adamc@378: ac_prev=dvidir ;; adamc@378: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) adamc@378: dvidir=$ac_optarg ;; adamc@378: adamc@378: -enable-* | --enable-*) adamc@378: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` adamc@378: # Reject names that are not valid shell variable names. adamc@378: expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && adamc@378: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` adamc@378: eval enable_$ac_feature=\$ac_optarg ;; adamc@378: adamc@378: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ adamc@378: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ adamc@378: | --exec | --exe | --ex) adamc@378: ac_prev=exec_prefix ;; adamc@378: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ adamc@378: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ adamc@378: | --exec=* | --exe=* | --ex=*) adamc@378: exec_prefix=$ac_optarg ;; adamc@378: adamc@378: -gas | --gas | --ga | --g) adamc@378: # Obsolete; use --with-gas. adamc@378: with_gas=yes ;; adamc@378: adamc@378: -help | --help | --hel | --he | -h) adamc@378: ac_init_help=long ;; adamc@378: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) adamc@378: ac_init_help=recursive ;; adamc@378: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) adamc@378: ac_init_help=short ;; adamc@378: adamc@378: -host | --host | --hos | --ho) adamc@378: ac_prev=host_alias ;; adamc@378: -host=* | --host=* | --hos=* | --ho=*) adamc@378: host_alias=$ac_optarg ;; adamc@378: adamc@378: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) adamc@378: ac_prev=htmldir ;; adamc@378: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ adamc@378: | --ht=*) adamc@378: htmldir=$ac_optarg ;; adamc@378: adamc@378: -includedir | --includedir | --includedi | --included | --include \ adamc@378: | --includ | --inclu | --incl | --inc) adamc@378: ac_prev=includedir ;; adamc@378: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ adamc@378: | --includ=* | --inclu=* | --incl=* | --inc=*) adamc@378: includedir=$ac_optarg ;; adamc@378: adamc@378: -infodir | --infodir | --infodi | --infod | --info | --inf) adamc@378: ac_prev=infodir ;; adamc@378: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) adamc@378: infodir=$ac_optarg ;; adamc@378: adamc@378: -libdir | --libdir | --libdi | --libd) adamc@378: ac_prev=libdir ;; adamc@378: -libdir=* | --libdir=* | --libdi=* | --libd=*) adamc@378: libdir=$ac_optarg ;; adamc@378: adamc@378: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ adamc@378: | --libexe | --libex | --libe) adamc@378: ac_prev=libexecdir ;; adamc@378: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ adamc@378: | --libexe=* | --libex=* | --libe=*) adamc@378: libexecdir=$ac_optarg ;; adamc@378: adamc@378: -localedir | --localedir | --localedi | --localed | --locale) adamc@378: ac_prev=localedir ;; adamc@378: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) adamc@378: localedir=$ac_optarg ;; adamc@378: adamc@378: -localstatedir | --localstatedir | --localstatedi | --localstated \ adamc@378: | --localstate | --localstat | --localsta | --localst | --locals) adamc@378: ac_prev=localstatedir ;; adamc@378: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ adamc@378: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) adamc@378: localstatedir=$ac_optarg ;; adamc@378: adamc@378: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) adamc@378: ac_prev=mandir ;; adamc@378: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) adamc@378: mandir=$ac_optarg ;; adamc@378: adamc@378: -nfp | --nfp | --nf) adamc@378: # Obsolete; use --without-fp. adamc@378: with_fp=no ;; adamc@378: adamc@378: -no-create | --no-create | --no-creat | --no-crea | --no-cre \ adamc@378: | --no-cr | --no-c | -n) adamc@378: no_create=yes ;; adamc@378: adamc@378: -no-recursion | --no-recursion | --no-recursio | --no-recursi \ adamc@378: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) adamc@378: no_recursion=yes ;; adamc@378: adamc@378: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ adamc@378: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ adamc@378: | --oldin | --oldi | --old | --ol | --o) adamc@378: ac_prev=oldincludedir ;; adamc@378: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ adamc@378: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ adamc@378: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) adamc@378: oldincludedir=$ac_optarg ;; adamc@378: adamc@378: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) adamc@378: ac_prev=prefix ;; adamc@378: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) adamc@378: prefix=$ac_optarg ;; adamc@378: adamc@378: -program-prefix | --program-prefix | --program-prefi | --program-pref \ adamc@378: | --program-pre | --program-pr | --program-p) adamc@378: ac_prev=program_prefix ;; adamc@378: -program-prefix=* | --program-prefix=* | --program-prefi=* \ adamc@378: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) adamc@378: program_prefix=$ac_optarg ;; adamc@378: adamc@378: -program-suffix | --program-suffix | --program-suffi | --program-suff \ adamc@378: | --program-suf | --program-su | --program-s) adamc@378: ac_prev=program_suffix ;; adamc@378: -program-suffix=* | --program-suffix=* | --program-suffi=* \ adamc@378: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) adamc@378: program_suffix=$ac_optarg ;; adamc@378: adamc@378: -program-transform-name | --program-transform-name \ adamc@378: | --program-transform-nam | --program-transform-na \ adamc@378: | --program-transform-n | --program-transform- \ adamc@378: | --program-transform | --program-transfor \ adamc@378: | --program-transfo | --program-transf \ adamc@378: | --program-trans | --program-tran \ adamc@378: | --progr-tra | --program-tr | --program-t) adamc@378: ac_prev=program_transform_name ;; adamc@378: -program-transform-name=* | --program-transform-name=* \ adamc@378: | --program-transform-nam=* | --program-transform-na=* \ adamc@378: | --program-transform-n=* | --program-transform-=* \ adamc@378: | --program-transform=* | --program-transfor=* \ adamc@378: | --program-transfo=* | --program-transf=* \ adamc@378: | --program-trans=* | --program-tran=* \ adamc@378: | --progr-tra=* | --program-tr=* | --program-t=*) adamc@378: program_transform_name=$ac_optarg ;; adamc@378: adamc@378: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) adamc@378: ac_prev=pdfdir ;; adamc@378: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) adamc@378: pdfdir=$ac_optarg ;; adamc@378: adamc@378: -psdir | --psdir | --psdi | --psd | --ps) adamc@378: ac_prev=psdir ;; adamc@378: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) adamc@378: psdir=$ac_optarg ;; adamc@378: adamc@378: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ adamc@378: | -silent | --silent | --silen | --sile | --sil) adamc@378: silent=yes ;; adamc@378: adamc@378: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) adamc@378: ac_prev=sbindir ;; adamc@378: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ adamc@378: | --sbi=* | --sb=*) adamc@378: sbindir=$ac_optarg ;; adamc@378: adamc@378: -sharedstatedir | --sharedstatedir | --sharedstatedi \ adamc@378: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ adamc@378: | --sharedst | --shareds | --shared | --share | --shar \ adamc@378: | --sha | --sh) adamc@378: ac_prev=sharedstatedir ;; adamc@378: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ adamc@378: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ adamc@378: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ adamc@378: | --sha=* | --sh=*) adamc@378: sharedstatedir=$ac_optarg ;; adamc@378: adamc@378: -site | --site | --sit) adamc@378: ac_prev=site ;; adamc@378: -site=* | --site=* | --sit=*) adamc@378: site=$ac_optarg ;; adamc@378: adamc@378: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) adamc@378: ac_prev=srcdir ;; adamc@378: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) adamc@378: srcdir=$ac_optarg ;; adamc@378: adamc@378: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ adamc@378: | --syscon | --sysco | --sysc | --sys | --sy) adamc@378: ac_prev=sysconfdir ;; adamc@378: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ adamc@378: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) adamc@378: sysconfdir=$ac_optarg ;; adamc@378: adamc@378: -target | --target | --targe | --targ | --tar | --ta | --t) adamc@378: ac_prev=target_alias ;; adamc@378: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) adamc@378: target_alias=$ac_optarg ;; adamc@378: adamc@378: -v | -verbose | --verbose | --verbos | --verbo | --verb) adamc@378: verbose=yes ;; adamc@378: adamc@378: -version | --version | --versio | --versi | --vers | -V) adamc@378: ac_init_version=: ;; adamc@378: adamc@378: -with-* | --with-*) adamc@378: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` adamc@378: # Reject names that are not valid shell variable names. adamc@378: expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && adamc@378: { echo "$as_me: error: invalid package name: $ac_package" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: ac_package=`echo $ac_package | sed 's/[-.]/_/g'` adamc@378: eval with_$ac_package=\$ac_optarg ;; adamc@378: adamc@378: -without-* | --without-*) adamc@378: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` adamc@378: # Reject names that are not valid shell variable names. adamc@378: expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && adamc@378: { echo "$as_me: error: invalid package name: $ac_package" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: ac_package=`echo $ac_package | sed 's/[-.]/_/g'` adamc@378: eval with_$ac_package=no ;; adamc@378: adamc@378: --x) adamc@378: # Obsolete; use --with-x. adamc@378: with_x=yes ;; adamc@378: adamc@378: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ adamc@378: | --x-incl | --x-inc | --x-in | --x-i) adamc@378: ac_prev=x_includes ;; adamc@378: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ adamc@378: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) adamc@378: x_includes=$ac_optarg ;; adamc@378: adamc@378: -x-libraries | --x-libraries | --x-librarie | --x-librari \ adamc@378: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) adamc@378: ac_prev=x_libraries ;; adamc@378: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ adamc@378: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) adamc@378: x_libraries=$ac_optarg ;; adamc@378: adamc@378: -*) { echo "$as_me: error: unrecognized option: $ac_option adamc@378: Try \`$0 --help' for more information." >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: ;; adamc@378: adamc@378: *=*) adamc@378: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` adamc@378: # Reject names that are not valid shell variable names. adamc@378: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && adamc@378: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: eval $ac_envvar=\$ac_optarg adamc@378: export $ac_envvar ;; adamc@378: adamc@378: *) adamc@378: # FIXME: should be removed in autoconf 3.0. adamc@378: echo "$as_me: WARNING: you should use --build, --host, --target" >&2 adamc@378: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && adamc@378: echo "$as_me: WARNING: invalid host type: $ac_option" >&2 adamc@378: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} adamc@378: ;; adamc@378: adamc@378: esac adamc@378: done adamc@378: adamc@378: if test -n "$ac_prev"; then adamc@378: ac_option=--`echo $ac_prev | sed 's/_/-/g'` adamc@378: { echo "$as_me: error: missing argument to $ac_option" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: fi adamc@378: adamc@378: # Be sure to have absolute directory names. adamc@378: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ adamc@378: datadir sysconfdir sharedstatedir localstatedir includedir \ adamc@378: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ adamc@378: libdir localedir mandir adamc@378: do adamc@378: eval ac_val=\$$ac_var adamc@378: case $ac_val in adamc@378: [\\/$]* | ?:[\\/]* ) continue;; adamc@378: NONE | '' ) case $ac_var in *prefix ) continue;; esac;; adamc@378: esac adamc@378: { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: done adamc@378: adamc@378: # There might be people who depend on the old broken behavior: `$host' adamc@378: # used to hold the argument of --host etc. adamc@378: # FIXME: To remove some day. adamc@378: build=$build_alias adamc@378: host=$host_alias adamc@378: target=$target_alias adamc@378: adamc@378: # FIXME: To remove some day. adamc@378: if test "x$host_alias" != x; then adamc@378: if test "x$build_alias" = x; then adamc@378: cross_compiling=maybe adamc@378: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. adamc@378: If a cross compiler is detected then cross compile mode will be used." >&2 adamc@378: elif test "x$build_alias" != "x$host_alias"; then adamc@378: cross_compiling=yes adamc@378: fi adamc@378: fi adamc@378: adamc@378: ac_tool_prefix= adamc@378: test -n "$host_alias" && ac_tool_prefix=$host_alias- adamc@378: adamc@378: test "$silent" = yes && exec 6>/dev/null adamc@378: adamc@378: adamc@378: ac_pwd=`pwd` && test -n "$ac_pwd" && adamc@378: ac_ls_di=`ls -di .` && adamc@378: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || adamc@378: { echo "$as_me: error: Working directory cannot be determined" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: test "X$ac_ls_di" = "X$ac_pwd_ls_di" || adamc@378: { echo "$as_me: error: pwd does not report name of working directory" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: adamc@378: adamc@378: # Find the source files, if location was not specified. adamc@378: if test -z "$srcdir"; then adamc@378: ac_srcdir_defaulted=yes adamc@378: # Try the directory containing this script, then the parent directory. adamc@378: ac_confdir=`$as_dirname -- "$0" || adamc@378: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ adamc@378: X"$0" : 'X\(//\)[^/]' \| \ adamc@378: X"$0" : 'X\(//\)$' \| \ adamc@378: X"$0" : 'X\(/\)' \| . 2>/dev/null || adamc@378: echo X"$0" | adamc@378: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\(\/\/\)[^/].*/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\(\/\/\)$/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\(\/\).*/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: s/.*/./; q'` adamc@378: srcdir=$ac_confdir adamc@378: if test ! -r "$srcdir/$ac_unique_file"; then adamc@378: srcdir=.. adamc@378: fi adamc@378: else adamc@378: ac_srcdir_defaulted=no adamc@378: fi adamc@378: if test ! -r "$srcdir/$ac_unique_file"; then adamc@378: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." adamc@378: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: fi adamc@378: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" adamc@378: ac_abs_confdir=`( adamc@378: cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: pwd)` adamc@378: # When building in place, set srcdir=. adamc@378: if test "$ac_abs_confdir" = "$ac_pwd"; then adamc@378: srcdir=. adamc@378: fi adamc@378: # Remove unnecessary trailing slashes from srcdir. adamc@378: # Double slashes in file names in object file debugging info adamc@378: # mess up M-x gdb in Emacs. adamc@378: case $srcdir in adamc@378: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; adamc@378: esac adamc@378: for ac_var in $ac_precious_vars; do adamc@378: eval ac_env_${ac_var}_set=\${${ac_var}+set} adamc@378: eval ac_env_${ac_var}_value=\$${ac_var} adamc@378: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} adamc@378: eval ac_cv_env_${ac_var}_value=\$${ac_var} adamc@378: done adamc@378: adamc@378: # adamc@378: # Report the --help message. adamc@378: # adamc@378: if test "$ac_init_help" = "long"; then adamc@378: # Omit some internal or obsolete options to make the list less imposing. adamc@378: # This message is too long to be a string in the A/UX 3.1 sh. adamc@378: cat <<_ACEOF adamc@378: \`configure' configures this package to adapt to many kinds of systems. adamc@378: adamc@378: Usage: $0 [OPTION]... [VAR=VALUE]... adamc@378: adamc@378: To assign environment variables (e.g., CC, CFLAGS...), specify them as adamc@378: VAR=VALUE. See below for descriptions of some of the useful variables. adamc@378: adamc@378: Defaults for the options are specified in brackets. adamc@378: adamc@378: Configuration: adamc@378: -h, --help display this help and exit adamc@378: --help=short display options specific to this package adamc@378: --help=recursive display the short help of all the included packages adamc@378: -V, --version display version information and exit adamc@378: -q, --quiet, --silent do not print \`checking...' messages adamc@378: --cache-file=FILE cache test results in FILE [disabled] adamc@378: -C, --config-cache alias for \`--cache-file=config.cache' adamc@378: -n, --no-create do not create output files adamc@378: --srcdir=DIR find the sources in DIR [configure dir or \`..'] adamc@378: adamc@378: Installation directories: adamc@378: --prefix=PREFIX install architecture-independent files in PREFIX adamc@378: [$ac_default_prefix] adamc@378: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX adamc@378: [PREFIX] adamc@378: adamc@378: By default, \`make install' will install all the files in adamc@378: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify adamc@378: an installation prefix other than \`$ac_default_prefix' using \`--prefix', adamc@378: for instance \`--prefix=\$HOME'. adamc@378: adamc@378: For better control, use the options below. adamc@378: adamc@378: Fine tuning of the installation directories: adamc@378: --bindir=DIR user executables [EPREFIX/bin] adamc@378: --sbindir=DIR system admin executables [EPREFIX/sbin] adamc@378: --libexecdir=DIR program executables [EPREFIX/libexec] adamc@378: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] adamc@378: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] adamc@378: --localstatedir=DIR modifiable single-machine data [PREFIX/var] adamc@378: --libdir=DIR object code libraries [EPREFIX/lib] adamc@378: --includedir=DIR C header files [PREFIX/include] adamc@378: --oldincludedir=DIR C header files for non-gcc [/usr/include] adamc@378: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] adamc@378: --datadir=DIR read-only architecture-independent data [DATAROOTDIR] adamc@378: --infodir=DIR info documentation [DATAROOTDIR/info] adamc@378: --localedir=DIR locale-dependent data [DATAROOTDIR/locale] adamc@378: --mandir=DIR man documentation [DATAROOTDIR/man] adamc@378: --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] adamc@378: --htmldir=DIR html documentation [DOCDIR] adamc@378: --dvidir=DIR dvi documentation [DOCDIR] adamc@378: --pdfdir=DIR pdf documentation [DOCDIR] adamc@378: --psdir=DIR ps documentation [DOCDIR] adamc@378: _ACEOF adamc@378: adamc@378: cat <<\_ACEOF adamc@378: _ACEOF adamc@378: fi adamc@378: adamc@378: if test -n "$ac_init_help"; then adamc@378: adamc@378: cat <<\_ACEOF adamc@378: adamc@378: _ACEOF adamc@378: ac_status=$? adamc@378: fi adamc@378: adamc@378: if test "$ac_init_help" = "recursive"; then adamc@378: # If there are subdirs, report their specific --help. adamc@378: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue adamc@378: test -d "$ac_dir" || continue adamc@378: ac_builddir=. adamc@378: adamc@378: case "$ac_dir" in adamc@378: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; adamc@378: *) adamc@378: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` adamc@378: # A ".." for each directory in $ac_dir_suffix. adamc@378: ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` adamc@378: case $ac_top_builddir_sub in adamc@378: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; adamc@378: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; adamc@378: esac ;; adamc@378: esac adamc@378: ac_abs_top_builddir=$ac_pwd adamc@378: ac_abs_builddir=$ac_pwd$ac_dir_suffix adamc@378: # for backward compatibility: adamc@378: ac_top_builddir=$ac_top_build_prefix adamc@378: adamc@378: case $srcdir in adamc@378: .) # We are building in place. adamc@378: ac_srcdir=. adamc@378: ac_top_srcdir=$ac_top_builddir_sub adamc@378: ac_abs_top_srcdir=$ac_pwd ;; adamc@378: [\\/]* | ?:[\\/]* ) # Absolute name. adamc@378: ac_srcdir=$srcdir$ac_dir_suffix; adamc@378: ac_top_srcdir=$srcdir adamc@378: ac_abs_top_srcdir=$srcdir ;; adamc@378: *) # Relative name. adamc@378: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix adamc@378: ac_top_srcdir=$ac_top_build_prefix$srcdir adamc@378: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; adamc@378: esac adamc@378: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix adamc@378: adamc@378: cd "$ac_dir" || { ac_status=$?; continue; } adamc@378: # Check for guested configure. adamc@378: if test -f "$ac_srcdir/configure.gnu"; then adamc@378: echo && adamc@378: $SHELL "$ac_srcdir/configure.gnu" --help=recursive adamc@378: elif test -f "$ac_srcdir/configure"; then adamc@378: echo && adamc@378: $SHELL "$ac_srcdir/configure" --help=recursive adamc@378: else adamc@378: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 adamc@378: fi || ac_status=$? adamc@378: cd "$ac_pwd" || { ac_status=$?; break; } adamc@378: done adamc@378: fi adamc@378: adamc@378: test -n "$ac_init_help" && exit $ac_status adamc@378: if $ac_init_version; then adamc@378: cat <<\_ACEOF adamc@378: configure adamc@378: generated by GNU Autoconf 2.61 adamc@378: adamc@378: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, adamc@378: 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. adamc@378: This configure script is free software; the Free Software Foundation adamc@378: gives unlimited permission to copy, distribute and modify it. adamc@378: _ACEOF adamc@378: exit adamc@378: fi adamc@378: cat >config.log <<_ACEOF adamc@378: This file contains any messages produced by compilers while adamc@378: running configure, to aid debugging if configure makes a mistake. adamc@378: adamc@378: It was created by $as_me, which was adamc@378: generated by GNU Autoconf 2.61. Invocation command line was adamc@378: adamc@378: $ $0 $@ adamc@378: adamc@378: _ACEOF adamc@378: exec 5>>config.log adamc@378: { adamc@378: cat <<_ASUNAME adamc@378: ## --------- ## adamc@378: ## Platform. ## adamc@378: ## --------- ## adamc@378: adamc@378: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` adamc@378: uname -m = `(uname -m) 2>/dev/null || echo unknown` adamc@378: uname -r = `(uname -r) 2>/dev/null || echo unknown` adamc@378: uname -s = `(uname -s) 2>/dev/null || echo unknown` adamc@378: uname -v = `(uname -v) 2>/dev/null || echo unknown` adamc@378: adamc@378: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` adamc@378: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` adamc@378: adamc@378: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` adamc@378: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` adamc@378: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` adamc@378: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` adamc@378: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` adamc@378: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` adamc@378: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` adamc@378: adamc@378: _ASUNAME adamc@378: adamc@378: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR adamc@378: for as_dir in $PATH adamc@378: do adamc@378: IFS=$as_save_IFS adamc@378: test -z "$as_dir" && as_dir=. adamc@378: echo "PATH: $as_dir" adamc@378: done adamc@378: IFS=$as_save_IFS adamc@378: adamc@378: } >&5 adamc@378: adamc@378: cat >&5 <<_ACEOF adamc@378: adamc@378: adamc@378: ## ----------- ## adamc@378: ## Core tests. ## adamc@378: ## ----------- ## adamc@378: adamc@378: _ACEOF adamc@378: adamc@378: adamc@378: # Keep a trace of the command line. adamc@378: # Strip out --no-create and --no-recursion so they do not pile up. adamc@378: # Strip out --silent because we don't want to record it for future runs. adamc@378: # Also quote any args containing shell meta-characters. adamc@378: # Make two passes to allow for proper duplicate-argument suppression. adamc@378: ac_configure_args= adamc@378: ac_configure_args0= adamc@378: ac_configure_args1= adamc@378: ac_must_keep_next=false adamc@378: for ac_pass in 1 2 adamc@378: do adamc@378: for ac_arg adamc@378: do adamc@378: case $ac_arg in adamc@378: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; adamc@378: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ adamc@378: | -silent | --silent | --silen | --sile | --sil) adamc@378: continue ;; adamc@378: *\'*) adamc@378: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; adamc@378: esac adamc@378: case $ac_pass in adamc@378: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; adamc@378: 2) adamc@378: ac_configure_args1="$ac_configure_args1 '$ac_arg'" adamc@378: if test $ac_must_keep_next = true; then adamc@378: ac_must_keep_next=false # Got value, back to normal. adamc@378: else adamc@378: case $ac_arg in adamc@378: *=* | --config-cache | -C | -disable-* | --disable-* \ adamc@378: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ adamc@378: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ adamc@378: | -with-* | --with-* | -without-* | --without-* | --x) adamc@378: case "$ac_configure_args0 " in adamc@378: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; adamc@378: esac adamc@378: ;; adamc@378: -* ) ac_must_keep_next=true ;; adamc@378: esac adamc@378: fi adamc@378: ac_configure_args="$ac_configure_args '$ac_arg'" adamc@378: ;; adamc@378: esac adamc@378: done adamc@378: done adamc@378: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } adamc@378: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } adamc@378: adamc@378: # When interrupted or exit'd, cleanup temporary files, and complete adamc@378: # config.log. We remove comments because anyway the quotes in there adamc@378: # would cause problems or look ugly. adamc@378: # WARNING: Use '\'' to represent an apostrophe within the trap. adamc@378: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. adamc@378: trap 'exit_status=$? adamc@378: # Save into config.log some information that might help in debugging. adamc@378: { adamc@378: echo adamc@378: adamc@378: cat <<\_ASBOX adamc@378: ## ---------------- ## adamc@378: ## Cache variables. ## adamc@378: ## ---------------- ## adamc@378: _ASBOX adamc@378: echo adamc@378: # The following way of writing the cache mishandles newlines in values, adamc@378: ( adamc@378: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do adamc@378: eval ac_val=\$$ac_var adamc@378: case $ac_val in #( adamc@378: *${as_nl}*) adamc@378: case $ac_var in #( adamc@378: *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 adamc@378: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; adamc@378: esac adamc@378: case $ac_var in #( adamc@378: _ | IFS | as_nl) ;; #( adamc@378: *) $as_unset $ac_var ;; adamc@378: esac ;; adamc@378: esac adamc@378: done adamc@378: (set) 2>&1 | adamc@378: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( adamc@378: *${as_nl}ac_space=\ *) adamc@378: sed -n \ adamc@378: "s/'\''/'\''\\\\'\'''\''/g; adamc@378: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" adamc@378: ;; #( adamc@378: *) adamc@378: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" adamc@378: ;; adamc@378: esac | adamc@378: sort adamc@378: ) adamc@378: echo adamc@378: adamc@378: cat <<\_ASBOX adamc@378: ## ----------------- ## adamc@378: ## Output variables. ## adamc@378: ## ----------------- ## adamc@378: _ASBOX adamc@378: echo adamc@378: for ac_var in $ac_subst_vars adamc@378: do adamc@378: eval ac_val=\$$ac_var adamc@378: case $ac_val in adamc@378: *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; adamc@378: esac adamc@378: echo "$ac_var='\''$ac_val'\''" adamc@378: done | sort adamc@378: echo adamc@378: adamc@378: if test -n "$ac_subst_files"; then adamc@378: cat <<\_ASBOX adamc@378: ## ------------------- ## adamc@378: ## File substitutions. ## adamc@378: ## ------------------- ## adamc@378: _ASBOX adamc@378: echo adamc@378: for ac_var in $ac_subst_files adamc@378: do adamc@378: eval ac_val=\$$ac_var adamc@378: case $ac_val in adamc@378: *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; adamc@378: esac adamc@378: echo "$ac_var='\''$ac_val'\''" adamc@378: done | sort adamc@378: echo adamc@378: fi adamc@378: adamc@378: if test -s confdefs.h; then adamc@378: cat <<\_ASBOX adamc@378: ## ----------- ## adamc@378: ## confdefs.h. ## adamc@378: ## ----------- ## adamc@378: _ASBOX adamc@378: echo adamc@378: cat confdefs.h adamc@378: echo adamc@378: fi adamc@378: test "$ac_signal" != 0 && adamc@378: echo "$as_me: caught signal $ac_signal" adamc@378: echo "$as_me: exit $exit_status" adamc@378: } >&5 adamc@378: rm -f core *.core core.conftest.* && adamc@378: rm -f -r conftest* confdefs* conf$$* $ac_clean_files && adamc@378: exit $exit_status adamc@378: ' 0 adamc@378: for ac_signal in 1 2 13 15; do adamc@378: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal adamc@378: done adamc@378: ac_signal=0 adamc@378: adamc@378: # confdefs.h avoids OS command line length limits that DEFS can exceed. adamc@378: rm -f -r conftest* confdefs.h adamc@378: adamc@378: # Predefined preprocessor variables. adamc@378: adamc@378: cat >>confdefs.h <<_ACEOF adamc@378: #define PACKAGE_NAME "$PACKAGE_NAME" adamc@378: _ACEOF adamc@378: adamc@378: adamc@378: cat >>confdefs.h <<_ACEOF adamc@378: #define PACKAGE_TARNAME "$PACKAGE_TARNAME" adamc@378: _ACEOF adamc@378: adamc@378: adamc@378: cat >>confdefs.h <<_ACEOF adamc@378: #define PACKAGE_VERSION "$PACKAGE_VERSION" adamc@378: _ACEOF adamc@378: adamc@378: adamc@378: cat >>confdefs.h <<_ACEOF adamc@378: #define PACKAGE_STRING "$PACKAGE_STRING" adamc@378: _ACEOF adamc@378: adamc@378: adamc@378: cat >>confdefs.h <<_ACEOF adamc@378: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" adamc@378: _ACEOF adamc@378: adamc@378: adamc@378: # Let the site file select an alternate cache file if it wants to. adamc@378: # Prefer explicitly selected file to automatically selected ones. adamc@378: if test -n "$CONFIG_SITE"; then adamc@378: set x "$CONFIG_SITE" adamc@378: elif test "x$prefix" != xNONE; then adamc@378: set x "$prefix/share/config.site" "$prefix/etc/config.site" adamc@378: else adamc@378: set x "$ac_default_prefix/share/config.site" \ adamc@378: "$ac_default_prefix/etc/config.site" adamc@378: fi adamc@378: shift adamc@378: for ac_site_file adamc@378: do adamc@378: if test -r "$ac_site_file"; then adamc@378: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 adamc@378: echo "$as_me: loading site script $ac_site_file" >&6;} adamc@378: sed 's/^/| /' "$ac_site_file" >&5 adamc@378: . "$ac_site_file" adamc@378: fi adamc@378: done adamc@378: adamc@378: if test -r "$cache_file"; then adamc@378: # Some versions of bash will fail to source /dev/null (special adamc@378: # files actually), so we avoid doing that. adamc@378: if test -f "$cache_file"; then adamc@378: { echo "$as_me:$LINENO: loading cache $cache_file" >&5 adamc@378: echo "$as_me: loading cache $cache_file" >&6;} adamc@378: case $cache_file in adamc@378: [\\/]* | ?:[\\/]* ) . "$cache_file";; adamc@378: *) . "./$cache_file";; adamc@378: esac adamc@378: fi adamc@378: else adamc@378: { echo "$as_me:$LINENO: creating cache $cache_file" >&5 adamc@378: echo "$as_me: creating cache $cache_file" >&6;} adamc@378: >$cache_file adamc@378: fi adamc@378: adamc@378: # Check that the precious variables saved in the cache have kept the same adamc@378: # value. adamc@378: ac_cache_corrupted=false adamc@378: for ac_var in $ac_precious_vars; do adamc@378: eval ac_old_set=\$ac_cv_env_${ac_var}_set adamc@378: eval ac_new_set=\$ac_env_${ac_var}_set adamc@378: eval ac_old_val=\$ac_cv_env_${ac_var}_value adamc@378: eval ac_new_val=\$ac_env_${ac_var}_value adamc@378: case $ac_old_set,$ac_new_set in adamc@378: set,) adamc@378: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 adamc@378: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} adamc@378: ac_cache_corrupted=: ;; adamc@378: ,set) adamc@378: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 adamc@378: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} adamc@378: ac_cache_corrupted=: ;; adamc@378: ,);; adamc@378: *) adamc@378: if test "x$ac_old_val" != "x$ac_new_val"; then adamc@378: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 adamc@378: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} adamc@378: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 adamc@378: echo "$as_me: former value: $ac_old_val" >&2;} adamc@378: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 adamc@378: echo "$as_me: current value: $ac_new_val" >&2;} adamc@378: ac_cache_corrupted=: adamc@378: fi;; adamc@378: esac adamc@378: # Pass precious variables to config.status. adamc@378: if test "$ac_new_set" = set; then adamc@378: case $ac_new_val in adamc@378: *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; adamc@378: *) ac_arg=$ac_var=$ac_new_val ;; adamc@378: esac adamc@378: case " $ac_configure_args " in adamc@378: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. adamc@378: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; adamc@378: esac adamc@378: fi adamc@378: done adamc@378: if $ac_cache_corrupted; then adamc@378: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 adamc@378: echo "$as_me: error: changes in the environment can compromise the build" >&2;} adamc@378: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 adamc@378: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} adamc@378: { (exit 1); exit 1; }; } adamc@378: fi adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: ac_ext=c adamc@378: ac_cpp='$CPP $CPPFLAGS' adamc@378: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' adamc@378: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' adamc@378: ac_compiler_gnu=$ac_cv_c_compiler_gnu adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: # sm: require a late-enough autoconf; this is the version number adamc@378: # that's on manju, so I assume it's ok adamc@378: adamc@378: adamc@378: { echo "$as_me:$LINENO: Configuring Ur/Web" >&5 adamc@378: echo "$as_me: Configuring Ur/Web" >&6;} adamc@378: adamc@378: # make sure I haven't forgotten to run autoconf adamc@378: if test configure -ot configure.ac; then adamc@378: { { echo "$as_me:$LINENO: error: configure is older than configure.in; you forgot to run autoconf" >&5 adamc@378: echo "$as_me: error: configure is older than configure.in; you forgot to run autoconf" >&2;} adamc@378: { (exit 1); exit 1; }; } adamc@378: fi adamc@378: adamc@378: # ---------------- generic functions ----------------- adamc@378: # debugging diagnostic; set to 'echo' to debug or 'true' for production adamc@378: diagnostic() { adamc@378: #echo "$@" adamc@378: true "$@" adamc@378: } adamc@378: adamc@378: if test -z $BIN; then adamc@378: BIN=/usr/local/bin adamc@378: fi adamc@378: adamc@378: if test -z $LIB; then adamc@378: LIB=/usr/local/lib/urweb adamc@378: fi adamc@378: adamc@378: if test -z $INCLUDE; then adamc@378: INCLUDE=/usr/local/include/urweb adamc@378: fi adamc@378: adamc@378: if test -z $SITELISP; then adamc@378: SITELISP=/usr/local/share/emacs/site-lisp/urweb-mode adamc@378: fi adamc@378: adamc@378: adamc@378: do_not_edit="Do not edit this file. It was generated automatically from" adamc@378: adamc@378: adamc@378: # ----------------- finish up ------------------- adamc@378: # names of the variables that get substituted in files; for example, adamc@378: # write @ARCHOS@ somewhere in a written file to get it substituted adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: # finish the configure script and generate various files; ./configure adamc@378: # will apply variable substitutions to .in to generate ; adamc@378: # I find it useful to mark generated files as read-only so I don't adamc@378: # accidentally edit them (and then lose my changes when ./configure adamc@378: # runs again); I had originally done the chmod after AC_OUTPUT, but adamc@378: # the problem is then the chmod doesn't run inside ./config.status adamc@378: adamc@378: # MY_AC_CONFIG_FILES(filename) adamc@378: # do AC_CONFIG_FILES(filename, chmod a-w filename) adamc@378: adamc@378: adamc@378: { adamc@378: if test -f Makefile.in; then adamc@378: ac_config_files="$ac_config_files Makefile" adamc@378: adamc@378: else adamc@378: true adamc@378: #echo "skipping [Makefile] because it's not in this distribution" adamc@378: fi adamc@378: } adamc@378: { adamc@378: if test -f src/config.sml.in; then adamc@378: ac_config_files="$ac_config_files src/config.sml" adamc@378: adamc@378: else adamc@378: true adamc@378: #echo "skipping [src/config.sml] because it's not in this distribution" adamc@378: fi adamc@378: } adamc@378: adamc@378: cat >confcache <<\_ACEOF adamc@378: # This file is a shell script that caches the results of configure adamc@378: # tests run on this system so they can be shared between configure adamc@378: # scripts and configure runs, see configure's option --config-cache. adamc@378: # It is not useful on other systems. If it contains results you don't adamc@378: # want to keep, you may remove or edit it. adamc@378: # adamc@378: # config.status only pays attention to the cache file if you give it adamc@378: # the --recheck option to rerun configure. adamc@378: # adamc@378: # `ac_cv_env_foo' variables (set or unset) will be overridden when adamc@378: # loading this file, other *unset* `ac_cv_foo' will be assigned the adamc@378: # following values. adamc@378: adamc@378: _ACEOF adamc@378: adamc@378: # The following way of writing the cache mishandles newlines in values, adamc@378: # but we know of no workaround that is simple, portable, and efficient. adamc@378: # So, we kill variables containing newlines. adamc@378: # Ultrix sh set writes to stderr and can't be redirected directly, adamc@378: # and sets the high bit in the cache file unless we assign to the vars. adamc@378: ( adamc@378: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do adamc@378: eval ac_val=\$$ac_var adamc@378: case $ac_val in #( adamc@378: *${as_nl}*) adamc@378: case $ac_var in #( adamc@378: *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 adamc@378: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; adamc@378: esac adamc@378: case $ac_var in #( adamc@378: _ | IFS | as_nl) ;; #( adamc@378: *) $as_unset $ac_var ;; adamc@378: esac ;; adamc@378: esac adamc@378: done adamc@378: adamc@378: (set) 2>&1 | adamc@378: case $as_nl`(ac_space=' '; set) 2>&1` in #( adamc@378: *${as_nl}ac_space=\ *) adamc@378: # `set' does not quote correctly, so add quotes (double-quote adamc@378: # substitution turns \\\\ into \\, and sed turns \\ into \). adamc@378: sed -n \ adamc@378: "s/'/'\\\\''/g; adamc@378: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" adamc@378: ;; #( adamc@378: *) adamc@378: # `set' quotes correctly as required by POSIX, so do not add quotes. adamc@378: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" adamc@378: ;; adamc@378: esac | adamc@378: sort adamc@378: ) | adamc@378: sed ' adamc@378: /^ac_cv_env_/b end adamc@378: t clear adamc@378: :clear adamc@378: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ adamc@378: t end adamc@378: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ adamc@378: :end' >>confcache adamc@378: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else adamc@378: if test -w "$cache_file"; then adamc@378: test "x$cache_file" != "x/dev/null" && adamc@378: { echo "$as_me:$LINENO: updating cache $cache_file" >&5 adamc@378: echo "$as_me: updating cache $cache_file" >&6;} adamc@378: cat confcache >$cache_file adamc@378: else adamc@378: { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 adamc@378: echo "$as_me: not updating unwritable cache $cache_file" >&6;} adamc@378: fi adamc@378: fi adamc@378: rm -f confcache adamc@378: adamc@378: test "x$prefix" = xNONE && prefix=$ac_default_prefix adamc@378: # Let make expand exec_prefix. adamc@378: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' adamc@378: adamc@378: # Transform confdefs.h into DEFS. adamc@378: # Protect against shell expansion while executing Makefile rules. adamc@378: # Protect against Makefile macro expansion. adamc@378: # adamc@378: # If the first sed substitution is executed (which looks for macros that adamc@378: # take arguments), then branch to the quote section. Otherwise, adamc@378: # look for a macro that doesn't take arguments. adamc@378: ac_script=' adamc@378: t clear adamc@378: :clear adamc@378: s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g adamc@378: t quote adamc@378: s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g adamc@378: t quote adamc@378: b any adamc@378: :quote adamc@378: s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g adamc@378: s/\[/\\&/g adamc@378: s/\]/\\&/g adamc@378: s/\$/$$/g adamc@378: H adamc@378: :any adamc@378: ${ adamc@378: g adamc@378: s/^\n// adamc@378: s/\n/ /g adamc@378: p adamc@378: } adamc@378: ' adamc@378: DEFS=`sed -n "$ac_script" confdefs.h` adamc@378: adamc@378: adamc@378: ac_libobjs= adamc@378: ac_ltlibobjs= adamc@378: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue adamc@378: # 1. Remove the extension, and $U if already installed. adamc@378: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' adamc@378: ac_i=`echo "$ac_i" | sed "$ac_script"` adamc@378: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR adamc@378: # will be set to the directory where LIBOBJS objects are built. adamc@378: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" adamc@378: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' adamc@378: done adamc@378: LIBOBJS=$ac_libobjs adamc@378: adamc@378: LTLIBOBJS=$ac_ltlibobjs adamc@378: adamc@378: adamc@378: adamc@378: : ${CONFIG_STATUS=./config.status} adamc@378: ac_clean_files_save=$ac_clean_files adamc@378: ac_clean_files="$ac_clean_files $CONFIG_STATUS" adamc@378: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 adamc@378: echo "$as_me: creating $CONFIG_STATUS" >&6;} adamc@378: cat >$CONFIG_STATUS <<_ACEOF adamc@378: #! $SHELL adamc@378: # Generated by $as_me. adamc@378: # Run this file to recreate the current configuration. adamc@378: # Compiler output produced by configure, useful for debugging adamc@378: # configure, is in config.log if it exists. adamc@378: adamc@378: debug=false adamc@378: ac_cs_recheck=false adamc@378: ac_cs_silent=false adamc@378: SHELL=\${CONFIG_SHELL-$SHELL} adamc@378: _ACEOF adamc@378: adamc@378: cat >>$CONFIG_STATUS <<\_ACEOF adamc@378: ## --------------------- ## adamc@378: ## M4sh Initialization. ## adamc@378: ## --------------------- ## adamc@378: adamc@378: # Be more Bourne compatible adamc@378: DUALCASE=1; export DUALCASE # for MKS sh adamc@378: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then adamc@378: emulate sh adamc@378: NULLCMD=: adamc@378: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which adamc@378: # is contrary to our usage. Disable this feature. adamc@378: alias -g '${1+"$@"}'='"$@"' adamc@378: setopt NO_GLOB_SUBST adamc@378: else adamc@378: case `(set -o) 2>/dev/null` in adamc@378: *posix*) set -o posix ;; adamc@378: esac adamc@378: adamc@378: fi adamc@378: adamc@378: adamc@378: adamc@378: adamc@378: # PATH needs CR adamc@378: # Avoid depending upon Character Ranges. adamc@378: as_cr_letters='abcdefghijklmnopqrstuvwxyz' adamc@378: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' adamc@378: as_cr_Letters=$as_cr_letters$as_cr_LETTERS adamc@378: as_cr_digits='0123456789' adamc@378: as_cr_alnum=$as_cr_Letters$as_cr_digits adamc@378: adamc@378: # The user is always right. adamc@378: if test "${PATH_SEPARATOR+set}" != set; then adamc@378: echo "#! /bin/sh" >conf$$.sh adamc@378: echo "exit 0" >>conf$$.sh adamc@378: chmod +x conf$$.sh adamc@378: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then adamc@378: PATH_SEPARATOR=';' adamc@378: else adamc@378: PATH_SEPARATOR=: adamc@378: fi adamc@378: rm -f conf$$.sh adamc@378: fi adamc@378: adamc@378: # Support unset when possible. adamc@378: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then adamc@378: as_unset=unset adamc@378: else adamc@378: as_unset=false adamc@378: fi adamc@378: adamc@378: adamc@378: # IFS adamc@378: # We need space, tab and new line, in precisely that order. Quoting is adamc@378: # there to prevent editors from complaining about space-tab. adamc@378: # (If _AS_PATH_WALK were called with IFS unset, it would disable word adamc@378: # splitting by setting IFS to empty value.) adamc@378: as_nl=' adamc@378: ' adamc@378: IFS=" "" $as_nl" adamc@378: adamc@378: # Find who we are. Look in the path if we contain no directory separator. adamc@378: case $0 in adamc@378: *[\\/]* ) as_myself=$0 ;; adamc@378: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR adamc@378: for as_dir in $PATH adamc@378: do adamc@378: IFS=$as_save_IFS adamc@378: test -z "$as_dir" && as_dir=. adamc@378: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break adamc@378: done adamc@378: IFS=$as_save_IFS adamc@378: adamc@378: ;; adamc@378: esac adamc@378: # We did not find ourselves, most probably we were run as `sh COMMAND' adamc@378: # in which case we are not to be found in the path. adamc@378: if test "x$as_myself" = x; then adamc@378: as_myself=$0 adamc@378: fi adamc@378: if test ! -f "$as_myself"; then adamc@378: echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 adamc@378: { (exit 1); exit 1; } adamc@378: fi adamc@378: adamc@378: # Work around bugs in pre-3.0 UWIN ksh. adamc@378: for as_var in ENV MAIL MAILPATH adamc@378: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var adamc@378: done adamc@378: PS1='$ ' adamc@378: PS2='> ' adamc@378: PS4='+ ' adamc@378: adamc@378: # NLS nuisances. adamc@378: for as_var in \ adamc@378: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ adamc@378: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ adamc@378: LC_TELEPHONE LC_TIME adamc@378: do adamc@378: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then adamc@378: eval $as_var=C; export $as_var adamc@378: else adamc@378: ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var adamc@378: fi adamc@378: done adamc@378: adamc@378: # Required to use basename. adamc@378: if expr a : '\(a\)' >/dev/null 2>&1 && adamc@378: test "X`expr 00001 : '.*\(...\)'`" = X001; then adamc@378: as_expr=expr adamc@378: else adamc@378: as_expr=false adamc@378: fi adamc@378: adamc@378: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then adamc@378: as_basename=basename adamc@378: else adamc@378: as_basename=false adamc@378: fi adamc@378: adamc@378: adamc@378: # Name of the executable. adamc@378: as_me=`$as_basename -- "$0" || adamc@378: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ adamc@378: X"$0" : 'X\(//\)$' \| \ adamc@378: X"$0" : 'X\(/\)' \| . 2>/dev/null || adamc@378: echo X/"$0" | adamc@378: sed '/^.*\/\([^/][^/]*\)\/*$/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\/\(\/\/\)$/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\/\(\/\).*/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: s/.*/./; q'` adamc@378: adamc@378: # CDPATH. adamc@378: $as_unset CDPATH adamc@378: adamc@378: adamc@378: adamc@378: as_lineno_1=$LINENO adamc@378: as_lineno_2=$LINENO adamc@378: test "x$as_lineno_1" != "x$as_lineno_2" && adamc@378: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { adamc@378: adamc@378: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO adamc@378: # uniformly replaced by the line number. The first 'sed' inserts a adamc@378: # line-number line after each line using $LINENO; the second 'sed' adamc@378: # does the real work. The second script uses 'N' to pair each adamc@378: # line-number line with the line containing $LINENO, and appends adamc@378: # trailing '-' during substitution so that $LINENO is not a special adamc@378: # case at line end. adamc@378: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the adamc@378: # scripts with optimization help from Paolo Bonzini. Blame Lee adamc@378: # E. McMahon (1931-1989) for sed's syntax. :-) adamc@378: sed -n ' adamc@378: p adamc@378: /[$]LINENO/= adamc@378: ' <$as_myself | adamc@378: sed ' adamc@378: s/[$]LINENO.*/&-/ adamc@378: t lineno adamc@378: b adamc@378: :lineno adamc@378: N adamc@378: :loop adamc@378: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ adamc@378: t loop adamc@378: s/-\n.*// adamc@378: ' >$as_me.lineno && adamc@378: chmod +x "$as_me.lineno" || adamc@378: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 adamc@378: { (exit 1); exit 1; }; } adamc@378: adamc@378: # Don't try to exec as it changes $[0], causing all sort of problems adamc@378: # (the dirname of $[0] is not the place where we might find the adamc@378: # original and so on. Autoconf is especially sensitive to this). adamc@378: . "./$as_me.lineno" adamc@378: # Exit status is that of the last command. adamc@378: exit adamc@378: } adamc@378: adamc@378: adamc@378: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then adamc@378: as_dirname=dirname adamc@378: else adamc@378: as_dirname=false adamc@378: fi adamc@378: adamc@378: ECHO_C= ECHO_N= ECHO_T= adamc@378: case `echo -n x` in adamc@378: -n*) adamc@378: case `echo 'x\c'` in adamc@378: *c*) ECHO_T=' ';; # ECHO_T is single tab character. adamc@378: *) ECHO_C='\c';; adamc@378: esac;; adamc@378: *) adamc@378: ECHO_N='-n';; adamc@378: esac adamc@378: adamc@378: if expr a : '\(a\)' >/dev/null 2>&1 && adamc@378: test "X`expr 00001 : '.*\(...\)'`" = X001; then adamc@378: as_expr=expr adamc@378: else adamc@378: as_expr=false adamc@378: fi adamc@378: adamc@378: rm -f conf$$ conf$$.exe conf$$.file adamc@378: if test -d conf$$.dir; then adamc@378: rm -f conf$$.dir/conf$$.file adamc@378: else adamc@378: rm -f conf$$.dir adamc@378: mkdir conf$$.dir adamc@378: fi adamc@378: echo >conf$$.file adamc@378: if ln -s conf$$.file conf$$ 2>/dev/null; then adamc@378: as_ln_s='ln -s' adamc@378: # ... but there are two gotchas: adamc@378: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. adamc@378: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. adamc@378: # In both cases, we have to default to `cp -p'. adamc@378: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || adamc@378: as_ln_s='cp -p' adamc@378: elif ln conf$$.file conf$$ 2>/dev/null; then adamc@378: as_ln_s=ln adamc@378: else adamc@378: as_ln_s='cp -p' adamc@378: fi adamc@378: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file adamc@378: rmdir conf$$.dir 2>/dev/null adamc@378: adamc@378: if mkdir -p . 2>/dev/null; then adamc@378: as_mkdir_p=: adamc@378: else adamc@378: test -d ./-p && rmdir ./-p adamc@378: as_mkdir_p=false adamc@378: fi adamc@378: adamc@378: if test -x / >/dev/null 2>&1; then adamc@378: as_test_x='test -x' adamc@378: else adamc@378: if ls -dL / >/dev/null 2>&1; then adamc@378: as_ls_L_option=L adamc@378: else adamc@378: as_ls_L_option= adamc@378: fi adamc@378: as_test_x=' adamc@378: eval sh -c '\'' adamc@378: if test -d "$1"; then adamc@378: test -d "$1/."; adamc@378: else adamc@378: case $1 in adamc@378: -*)set "./$1";; adamc@378: esac; adamc@378: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in adamc@378: ???[sx]*):;;*)false;;esac;fi adamc@378: '\'' sh adamc@378: ' adamc@378: fi adamc@378: as_executable_p=$as_test_x adamc@378: adamc@378: # Sed expression to map a string onto a valid CPP name. adamc@378: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" adamc@378: adamc@378: # Sed expression to map a string onto a valid variable name. adamc@378: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" adamc@378: adamc@378: adamc@378: exec 6>&1 adamc@378: adamc@378: # Save the log message, to keep $[0] and so on meaningful, and to adamc@378: # report actual input values of CONFIG_FILES etc. instead of their adamc@378: # values after options handling. adamc@378: ac_log=" adamc@378: This file was extended by $as_me, which was adamc@378: generated by GNU Autoconf 2.61. Invocation command line was adamc@378: adamc@378: CONFIG_FILES = $CONFIG_FILES adamc@378: CONFIG_HEADERS = $CONFIG_HEADERS adamc@378: CONFIG_LINKS = $CONFIG_LINKS adamc@378: CONFIG_COMMANDS = $CONFIG_COMMANDS adamc@378: $ $0 $@ adamc@378: adamc@378: on `(hostname || uname -n) 2>/dev/null | sed 1q` adamc@378: " adamc@378: adamc@378: _ACEOF adamc@378: adamc@378: cat >>$CONFIG_STATUS <<_ACEOF adamc@378: # Files that config.status was made for. adamc@378: config_files="$ac_config_files" adamc@378: adamc@378: _ACEOF adamc@378: adamc@378: cat >>$CONFIG_STATUS <<\_ACEOF adamc@378: ac_cs_usage="\ adamc@378: \`$as_me' instantiates files from templates according to the adamc@378: current configuration. adamc@378: adamc@378: Usage: $0 [OPTIONS] [FILE]... adamc@378: adamc@378: -h, --help print this help, then exit adamc@378: -V, --version print version number and configuration settings, then exit adamc@378: -q, --quiet do not print progress messages adamc@378: -d, --debug don't remove temporary files adamc@378: --recheck update $as_me by reconfiguring in the same conditions adamc@378: --file=FILE[:TEMPLATE] adamc@378: instantiate the configuration file FILE adamc@378: adamc@378: Configuration files: adamc@378: $config_files adamc@378: adamc@378: Report bugs to ." adamc@378: adamc@378: _ACEOF adamc@378: cat >>$CONFIG_STATUS <<_ACEOF adamc@378: ac_cs_version="\\ adamc@378: config.status adamc@378: configured by $0, generated by GNU Autoconf 2.61, adamc@378: with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" adamc@378: adamc@378: Copyright (C) 2006 Free Software Foundation, Inc. adamc@378: This config.status script is free software; the Free Software Foundation adamc@378: gives unlimited permission to copy, distribute and modify it." adamc@378: adamc@378: ac_pwd='$ac_pwd' adamc@378: srcdir='$srcdir' adamc@378: _ACEOF adamc@378: adamc@378: cat >>$CONFIG_STATUS <<\_ACEOF adamc@378: # If no file are specified by the user, then we need to provide default adamc@378: # value. By we need to know if files were specified by the user. adamc@378: ac_need_defaults=: adamc@378: while test $# != 0 adamc@378: do adamc@378: case $1 in adamc@378: --*=*) adamc@378: ac_option=`expr "X$1" : 'X\([^=]*\)='` adamc@378: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` adamc@378: ac_shift=: adamc@378: ;; adamc@378: *) adamc@378: ac_option=$1 adamc@378: ac_optarg=$2 adamc@378: ac_shift=shift adamc@378: ;; adamc@378: esac adamc@378: adamc@378: case $ac_option in adamc@378: # Handling of the options. adamc@378: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) adamc@378: ac_cs_recheck=: ;; adamc@378: --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) adamc@378: echo "$ac_cs_version"; exit ;; adamc@378: --debug | --debu | --deb | --de | --d | -d ) adamc@378: debug=: ;; adamc@378: --file | --fil | --fi | --f ) adamc@378: $ac_shift adamc@378: CONFIG_FILES="$CONFIG_FILES $ac_optarg" adamc@378: ac_need_defaults=false;; adamc@378: --he | --h | --help | --hel | -h ) adamc@378: echo "$ac_cs_usage"; exit ;; adamc@378: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ adamc@378: | -silent | --silent | --silen | --sile | --sil | --si | --s) adamc@378: ac_cs_silent=: ;; adamc@378: adamc@378: # This is an error. adamc@378: -*) { echo "$as_me: error: unrecognized option: $1 adamc@378: Try \`$0 --help' for more information." >&2 adamc@378: { (exit 1); exit 1; }; } ;; adamc@378: adamc@378: *) ac_config_targets="$ac_config_targets $1" adamc@378: ac_need_defaults=false ;; adamc@378: adamc@378: esac adamc@378: shift adamc@378: done adamc@378: adamc@378: ac_configure_extra_args= adamc@378: adamc@378: if $ac_cs_silent; then adamc@378: exec 6>/dev/null adamc@378: ac_configure_extra_args="$ac_configure_extra_args --silent" adamc@378: fi adamc@378: adamc@378: _ACEOF adamc@378: cat >>$CONFIG_STATUS <<_ACEOF adamc@378: if \$ac_cs_recheck; then adamc@378: echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 adamc@378: CONFIG_SHELL=$SHELL adamc@378: export CONFIG_SHELL adamc@378: exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion adamc@378: fi adamc@378: adamc@378: _ACEOF adamc@378: cat >>$CONFIG_STATUS <<\_ACEOF adamc@378: exec 5>>config.log adamc@378: { adamc@378: echo adamc@378: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX adamc@378: ## Running $as_me. ## adamc@378: _ASBOX adamc@378: echo "$ac_log" adamc@378: } >&5 adamc@378: adamc@378: _ACEOF adamc@378: cat >>$CONFIG_STATUS <<_ACEOF adamc@378: _ACEOF adamc@378: adamc@378: cat >>$CONFIG_STATUS <<\_ACEOF adamc@378: adamc@378: # Handling of arguments. adamc@378: for ac_config_target in $ac_config_targets adamc@378: do adamc@378: case $ac_config_target in adamc@378: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; adamc@378: "src/config.sml") CONFIG_FILES="$CONFIG_FILES src/config.sml" ;; adamc@378: adamc@378: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 adamc@378: echo "$as_me: error: invalid argument: $ac_config_target" >&2;} adamc@378: { (exit 1); exit 1; }; };; adamc@378: esac adamc@378: done adamc@378: adamc@378: adamc@378: # If the user did not use the arguments to specify the items to instantiate, adamc@378: # then the envvar interface is used. Set only those that are not. adamc@378: # We use the long form for the default assignment because of an extremely adamc@378: # bizarre bug on SunOS 4.1.3. adamc@378: if $ac_need_defaults; then adamc@378: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files adamc@378: fi adamc@378: adamc@378: # Have a temporary directory for convenience. Make it in the build tree adamc@378: # simply because there is no reason against having it here, and in addition, adamc@378: # creating and moving files from /tmp can sometimes cause problems. adamc@378: # Hook for its removal unless debugging. adamc@378: # Note that there is a small window in which the directory will not be cleaned: adamc@378: # after its creation but before its name has been assigned to `$tmp'. adamc@378: $debug || adamc@378: { adamc@378: tmp= adamc@378: trap 'exit_status=$? adamc@378: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status adamc@378: ' 0 adamc@378: trap '{ (exit 1); exit 1; }' 1 2 13 15 adamc@378: } adamc@378: # Create a (secure) tmp directory for tmp files. adamc@378: adamc@378: { adamc@378: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && adamc@378: test -n "$tmp" && test -d "$tmp" adamc@378: } || adamc@378: { adamc@378: tmp=./conf$$-$RANDOM adamc@378: (umask 077 && mkdir "$tmp") adamc@378: } || adamc@378: { adamc@378: echo "$me: cannot create a temporary directory in ." >&2 adamc@378: { (exit 1); exit 1; } adamc@378: } adamc@378: adamc@378: # adamc@378: # Set up the sed scripts for CONFIG_FILES section. adamc@378: # adamc@378: adamc@378: # No need to generate the scripts if there are no CONFIG_FILES. adamc@378: # This happens for instance when ./config.status config.h adamc@378: if test -n "$CONFIG_FILES"; then adamc@378: adamc@378: _ACEOF adamc@378: adamc@378: adamc@378: adamc@378: ac_delim='%!_!# ' adamc@378: for ac_last_try in false false false false false :; do adamc@378: cat >conf$$subs.sed <<_ACEOF adamc@378: SHELL!$SHELL$ac_delim adamc@378: PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim adamc@378: PACKAGE_NAME!$PACKAGE_NAME$ac_delim adamc@378: PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim adamc@378: PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim adamc@378: PACKAGE_STRING!$PACKAGE_STRING$ac_delim adamc@378: PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim adamc@378: exec_prefix!$exec_prefix$ac_delim adamc@378: prefix!$prefix$ac_delim adamc@378: program_transform_name!$program_transform_name$ac_delim adamc@378: bindir!$bindir$ac_delim adamc@378: sbindir!$sbindir$ac_delim adamc@378: libexecdir!$libexecdir$ac_delim adamc@378: datarootdir!$datarootdir$ac_delim adamc@378: datadir!$datadir$ac_delim adamc@378: sysconfdir!$sysconfdir$ac_delim adamc@378: sharedstatedir!$sharedstatedir$ac_delim adamc@378: localstatedir!$localstatedir$ac_delim adamc@378: includedir!$includedir$ac_delim adamc@378: oldincludedir!$oldincludedir$ac_delim adamc@378: docdir!$docdir$ac_delim adamc@378: infodir!$infodir$ac_delim adamc@378: htmldir!$htmldir$ac_delim adamc@378: dvidir!$dvidir$ac_delim adamc@378: pdfdir!$pdfdir$ac_delim adamc@378: psdir!$psdir$ac_delim adamc@378: libdir!$libdir$ac_delim adamc@378: localedir!$localedir$ac_delim adamc@378: mandir!$mandir$ac_delim adamc@378: DEFS!$DEFS$ac_delim adamc@378: ECHO_C!$ECHO_C$ac_delim adamc@378: ECHO_N!$ECHO_N$ac_delim adamc@378: ECHO_T!$ECHO_T$ac_delim adamc@378: LIBS!$LIBS$ac_delim adamc@378: build_alias!$build_alias$ac_delim adamc@378: host_alias!$host_alias$ac_delim adamc@378: target_alias!$target_alias$ac_delim adamc@378: BIN!$BIN$ac_delim adamc@378: LIB!$LIB$ac_delim adamc@378: INCLUDE!$INCLUDE$ac_delim adamc@378: SITELISP!$SITELISP$ac_delim adamc@378: do_not_edit!$do_not_edit$ac_delim adamc@378: LIBOBJS!$LIBOBJS$ac_delim adamc@378: LTLIBOBJS!$LTLIBOBJS$ac_delim adamc@378: _ACEOF adamc@378: adamc@378: if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then adamc@378: break adamc@378: elif $ac_last_try; then adamc@378: { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 adamc@378: echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} adamc@378: { (exit 1); exit 1; }; } adamc@378: else adamc@378: ac_delim="$ac_delim!$ac_delim _$ac_delim!! " adamc@378: fi adamc@378: done adamc@378: adamc@378: ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` adamc@378: if test -n "$ac_eof"; then adamc@378: ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` adamc@378: ac_eof=`expr $ac_eof + 1` adamc@378: fi adamc@378: adamc@378: cat >>$CONFIG_STATUS <<_ACEOF adamc@378: cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof adamc@378: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end adamc@378: _ACEOF adamc@378: sed ' adamc@378: s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g adamc@378: s/^/s,@/; s/!/@,|#_!!_#|/ adamc@378: :n adamc@378: t n adamc@378: s/'"$ac_delim"'$/,g/; t adamc@378: s/$/\\/; p adamc@378: N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n adamc@378: ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF adamc@378: :end adamc@378: s/|#_!!_#|//g adamc@378: CEOF$ac_eof adamc@378: _ACEOF adamc@378: adamc@378: adamc@378: # VPATH may cause trouble with some makes, so we remove $(srcdir), adamc@378: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and adamc@378: # trailing colons and then remove the whole line if VPATH becomes empty adamc@378: # (actually we leave an empty line to preserve line numbers). adamc@378: if test "x$srcdir" = x.; then adamc@378: ac_vpsub='/^[ ]*VPATH[ ]*=/{ adamc@378: s/:*\$(srcdir):*/:/ adamc@378: s/:*\${srcdir}:*/:/ adamc@378: s/:*@srcdir@:*/:/ adamc@378: s/^\([^=]*=[ ]*\):*/\1/ adamc@378: s/:*$// adamc@378: s/^[^=]*=[ ]*$// adamc@378: }' adamc@378: fi adamc@378: adamc@378: cat >>$CONFIG_STATUS <<\_ACEOF adamc@378: fi # test -n "$CONFIG_FILES" adamc@378: adamc@378: adamc@378: for ac_tag in :F $CONFIG_FILES adamc@378: do adamc@378: case $ac_tag in adamc@378: :[FHLC]) ac_mode=$ac_tag; continue;; adamc@378: esac adamc@378: case $ac_mode$ac_tag in adamc@378: :[FHL]*:*);; adamc@378: :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 adamc@378: echo "$as_me: error: Invalid tag $ac_tag." >&2;} adamc@378: { (exit 1); exit 1; }; };; adamc@378: :[FH]-) ac_tag=-:-;; adamc@378: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; adamc@378: esac adamc@378: ac_save_IFS=$IFS adamc@378: IFS=: adamc@378: set x $ac_tag adamc@378: IFS=$ac_save_IFS adamc@378: shift adamc@378: ac_file=$1 adamc@378: shift adamc@378: adamc@378: case $ac_mode in adamc@378: :L) ac_source=$1;; adamc@378: :[FH]) adamc@378: ac_file_inputs= adamc@378: for ac_f adamc@378: do adamc@378: case $ac_f in adamc@378: -) ac_f="$tmp/stdin";; adamc@378: *) # Look for the file first in the build tree, then in the source tree adamc@378: # (if the path is not absolute). The absolute path cannot be DOS-style, adamc@378: # because $ac_f cannot contain `:'. adamc@378: test -f "$ac_f" || adamc@378: case $ac_f in adamc@378: [\\/$]*) false;; adamc@378: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; adamc@378: esac || adamc@378: { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 adamc@378: echo "$as_me: error: cannot find input file: $ac_f" >&2;} adamc@378: { (exit 1); exit 1; }; };; adamc@378: esac adamc@378: ac_file_inputs="$ac_file_inputs $ac_f" adamc@378: done adamc@378: adamc@378: # Let's still pretend it is `configure' which instantiates (i.e., don't adamc@378: # use $as_me), people would be surprised to read: adamc@378: # /* config.h. Generated by config.status. */ adamc@378: configure_input="Generated from "`IFS=: adamc@378: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." adamc@378: if test x"$ac_file" != x-; then adamc@378: configure_input="$ac_file. $configure_input" adamc@378: { echo "$as_me:$LINENO: creating $ac_file" >&5 adamc@378: echo "$as_me: creating $ac_file" >&6;} adamc@378: fi adamc@378: adamc@378: case $ac_tag in adamc@378: *:-:* | *:-) cat >"$tmp/stdin";; adamc@378: esac adamc@378: ;; adamc@378: esac adamc@378: adamc@378: ac_dir=`$as_dirname -- "$ac_file" || adamc@378: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ adamc@378: X"$ac_file" : 'X\(//\)[^/]' \| \ adamc@378: X"$ac_file" : 'X\(//\)$' \| \ adamc@378: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || adamc@378: echo X"$ac_file" | adamc@378: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\(\/\/\)[^/].*/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\(\/\/\)$/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\(\/\).*/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: s/.*/./; q'` adamc@378: { as_dir="$ac_dir" adamc@378: case $as_dir in #( adamc@378: -*) as_dir=./$as_dir;; adamc@378: esac adamc@378: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { adamc@378: as_dirs= adamc@378: while :; do adamc@378: case $as_dir in #( adamc@378: *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( adamc@378: *) as_qdir=$as_dir;; adamc@378: esac adamc@378: as_dirs="'$as_qdir' $as_dirs" adamc@378: as_dir=`$as_dirname -- "$as_dir" || adamc@378: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ adamc@378: X"$as_dir" : 'X\(//\)[^/]' \| \ adamc@378: X"$as_dir" : 'X\(//\)$' \| \ adamc@378: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || adamc@378: echo X"$as_dir" | adamc@378: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\(\/\/\)[^/].*/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\(\/\/\)$/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: /^X\(\/\).*/{ adamc@378: s//\1/ adamc@378: q adamc@378: } adamc@378: s/.*/./; q'` adamc@378: test -d "$as_dir" && break adamc@378: done adamc@378: test -z "$as_dirs" || eval "mkdir $as_dirs" adamc@378: } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 adamc@378: echo "$as_me: error: cannot create directory $as_dir" >&2;} adamc@378: { (exit 1); exit 1; }; }; } adamc@378: ac_builddir=. adamc@378: adamc@378: case "$ac_dir" in adamc@378: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; adamc@378: *) adamc@378: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` adamc@378: # A ".." for each directory in $ac_dir_suffix. adamc@378: ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` adamc@378: case $ac_top_builddir_sub in adamc@378: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; adamc@378: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; adamc@378: esac ;; adamc@378: esac adamc@378: ac_abs_top_builddir=$ac_pwd adamc@378: ac_abs_builddir=$ac_pwd$ac_dir_suffix adamc@378: # for backward compatibility: adamc@378: ac_top_builddir=$ac_top_build_prefix adamc@378: adamc@378: case $srcdir in adamc@378: .) # We are building in place. adamc@378: ac_srcdir=. adamc@378: ac_top_srcdir=$ac_top_builddir_sub adamc@378: ac_abs_top_srcdir=$ac_pwd ;; adamc@378: [\\/]* | ?:[\\/]* ) # Absolute name. adamc@378: ac_srcdir=$srcdir$ac_dir_suffix; adamc@378: ac_top_srcdir=$srcdir adamc@378: ac_abs_top_srcdir=$srcdir ;; adamc@378: *) # Relative name. adamc@378: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix adamc@378: ac_top_srcdir=$ac_top_build_prefix$srcdir adamc@378: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; adamc@378: esac adamc@378: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix adamc@378: adamc@378: adamc@378: case $ac_mode in adamc@378: :F) adamc@378: # adamc@378: # CONFIG_FILE adamc@378: # adamc@378: adamc@378: _ACEOF adamc@378: adamc@378: cat >>$CONFIG_STATUS <<\_ACEOF adamc@378: # If the template does not know about datarootdir, expand it. adamc@378: # FIXME: This hack should be removed a few years after 2.60. adamc@378: ac_datarootdir_hack=; ac_datarootdir_seen= adamc@378: adamc@378: case `sed -n '/datarootdir/ { adamc@378: p adamc@378: q adamc@378: } adamc@378: /@datadir@/p adamc@378: /@docdir@/p adamc@378: /@infodir@/p adamc@378: /@localedir@/p adamc@378: /@mandir@/p adamc@378: ' $ac_file_inputs` in adamc@378: *datarootdir*) ac_datarootdir_seen=yes;; adamc@378: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) adamc@378: { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 adamc@378: echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} adamc@378: _ACEOF adamc@378: cat >>$CONFIG_STATUS <<_ACEOF adamc@378: ac_datarootdir_hack=' adamc@378: s&@datadir@&$datadir&g adamc@378: s&@docdir@&$docdir&g adamc@378: s&@infodir@&$infodir&g adamc@378: s&@localedir@&$localedir&g adamc@378: s&@mandir@&$mandir&g adamc@378: s&\\\${datarootdir}&$datarootdir&g' ;; adamc@378: esac adamc@378: _ACEOF adamc@378: adamc@378: # Neutralize VPATH when `$srcdir' = `.'. adamc@378: # Shell code in configure.ac might set extrasub. adamc@378: # FIXME: do we really want to maintain this feature? adamc@378: cat >>$CONFIG_STATUS <<_ACEOF adamc@378: sed "$ac_vpsub adamc@378: $extrasub adamc@378: _ACEOF adamc@378: cat >>$CONFIG_STATUS <<\_ACEOF adamc@378: :t adamc@378: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b adamc@378: s&@configure_input@&$configure_input&;t t adamc@378: s&@top_builddir@&$ac_top_builddir_sub&;t t adamc@378: s&@srcdir@&$ac_srcdir&;t t adamc@378: s&@abs_srcdir@&$ac_abs_srcdir&;t t adamc@378: s&@top_srcdir@&$ac_top_srcdir&;t t adamc@378: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t adamc@378: s&@builddir@&$ac_builddir&;t t adamc@378: s&@abs_builddir@&$ac_abs_builddir&;t t adamc@378: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t adamc@378: $ac_datarootdir_hack adamc@378: " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out adamc@378: adamc@378: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && adamc@378: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && adamc@378: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && adamc@378: { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' adamc@378: which seems to be undefined. Please make sure it is defined." >&5 adamc@378: echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' adamc@378: which seems to be undefined. Please make sure it is defined." >&2;} adamc@378: adamc@378: rm -f "$tmp/stdin" adamc@378: case $ac_file in adamc@378: -) cat "$tmp/out"; rm -f "$tmp/out";; adamc@378: *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; adamc@378: esac adamc@378: ;; adamc@378: adamc@378: adamc@378: adamc@378: esac adamc@378: adamc@378: adamc@378: case $ac_file$ac_mode in adamc@378: "Makefile":F) chmod a-w Makefile ;; adamc@378: "src/config.sml":F) chmod a-w src/config.sml ;; adamc@378: adamc@378: esac adamc@378: done # for ac_tag adamc@378: adamc@378: adamc@378: { (exit 0); exit 0; } adamc@378: _ACEOF adamc@378: chmod +x $CONFIG_STATUS adamc@378: ac_clean_files=$ac_clean_files_save adamc@378: adamc@378: adamc@378: # configure is writing to config.log, and then calls config.status. adamc@378: # config.status does its own redirection, appending to config.log. adamc@378: # Unfortunately, on DOS this fails, as config.log is still kept open adamc@378: # by configure, so config.status won't be able to write to it; its adamc@378: # output is simply discarded. So we exec the FD to /dev/null, adamc@378: # effectively closing config.log, so it can be properly (re)opened and adamc@378: # appended to by config.status. When coming back to configure, we adamc@378: # need to make the FD available again. adamc@378: if test "$no_create" != yes; then adamc@378: ac_cs_success=: adamc@378: ac_config_status_args= adamc@378: test "$silent" = yes && adamc@378: ac_config_status_args="$ac_config_status_args --quiet" adamc@378: exec 5>/dev/null adamc@378: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false adamc@378: exec 5>>config.log adamc@378: # Use ||, not &&, to avoid exiting from the if with $? = 1, which adamc@378: # would make configure fail if this is the last instruction. adamc@378: $ac_cs_success || { (exit 1); exit 1; } adamc@378: fi adamc@378: adamc@378: adamc@378: # show the user what the variables have been set to adamc@378: cat <