adamc@378: #! /bin/sh adamc@378: # Guess values for system-dependent variables and create Makefiles. adamc@1095: # Generated by GNU Autoconf 2.65. adamc@1095: # adamc@378: # adamc@378: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, adamc@1095: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, adamc@1095: # Inc. adamc@1095: # adamc@1095: # adamc@378: # This configure script is free software; the Free Software Foundation adamc@378: # gives unlimited permission to copy, distribute and modify it. adamc@1095: ## -------------------- ## adamc@1095: ## M4sh Initialization. ## adamc@1095: ## -------------------- ## adamc@378: adamc@378: # Be more Bourne compatible adamc@378: DUALCASE=1; export DUALCASE # for MKS sh adamc@1095: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : adamc@378: emulate sh adamc@378: NULLCMD=: adamc@1095: # Pre-4.2 versions of Zsh do 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@1095: case `(set -o) 2>/dev/null` in #( adamc@1095: *posix*) : adamc@1095: set -o posix ;; #( adamc@1095: *) : adamc@1095: ;; adamc@378: esac adamc@378: fi adamc@378: adamc@378: adamc@1095: as_nl=' adamc@1095: ' adamc@1095: export as_nl adamc@1095: # Printing a long string crashes Solaris 7 /usr/bin/printf. adamc@1095: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' adamc@1095: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo adamc@1095: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo adamc@1095: # Prefer a ksh shell builtin over an external printf program on Solaris, adamc@1095: # but without wasting forks for bash or zsh. adamc@1095: if test -z "$BASH_VERSION$ZSH_VERSION" \ adamc@1095: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then adamc@1095: as_echo='print -r --' adamc@1095: as_echo_n='print -rn --' adamc@1095: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then adamc@1095: as_echo='printf %s\n' adamc@1095: as_echo_n='printf %s' adamc@1095: else adamc@1095: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then adamc@1095: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' adamc@1095: as_echo_n='/usr/ucb/echo -n' adamc@1095: else adamc@1095: as_echo_body='eval expr "X$1" : "X\\(.*\\)"' adamc@1095: as_echo_n_body='eval adamc@1095: arg=$1; adamc@1095: case $arg in #( adamc@1095: *"$as_nl"*) adamc@1095: expr "X$arg" : "X\\(.*\\)$as_nl"; adamc@1095: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; adamc@1095: esac; adamc@1095: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" adamc@1095: ' adamc@1095: export as_echo_n_body adamc@1095: as_echo_n='sh -c $as_echo_n_body as_echo' adamc@1095: fi adamc@1095: export as_echo_body adamc@1095: as_echo='sh -c $as_echo_body as_echo' adamc@1095: fi adamc@378: adamc@378: # The user is always right. adamc@378: if test "${PATH_SEPARATOR+set}" != set; then adamc@1095: PATH_SEPARATOR=: adamc@1095: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { adamc@1095: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || adamc@1095: PATH_SEPARATOR=';' adamc@1095: } 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: IFS=" "" $as_nl" adamc@378: adamc@378: # Find who we are. Look in the path if we contain no directory separator. adamc@1095: 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@1095: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break adamc@1095: 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@1095: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 adamc@1095: exit 1 adamc@378: fi adamc@378: adamc@1095: # Unset variables that we do not need and which cause bugs (e.g. in adamc@1095: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" adamc@1095: # suppresses any "Segmentation fault" message there. '((' could adamc@1095: # trigger a bug in pdksh 5.2.14. adamc@1095: for as_var in BASH_ENV ENV MAIL MAILPATH adamc@1095: do eval test x\${$as_var+set} = xset \ adamc@1095: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : adamc@378: done adamc@378: PS1='$ ' adamc@378: PS2='> ' adamc@378: PS4='+ ' adamc@378: adamc@378: # NLS nuisances. adamc@1095: LC_ALL=C adamc@1095: export LC_ALL adamc@1095: LANGUAGE=C adamc@1095: export LANGUAGE adamc@1095: adamc@1095: # CDPATH. adamc@1095: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH adamc@1095: adamc@1095: if test "x$CONFIG_SHELL" = x; then adamc@1095: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : adamc@1095: emulate sh adamc@1095: NULLCMD=: adamc@1095: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which adamc@1095: # is contrary to our usage. Disable this feature. adamc@1095: alias -g '\${1+\"\$@\"}'='\"\$@\"' adamc@1095: setopt NO_GLOB_SUBST adamc@1095: else adamc@1095: case \`(set -o) 2>/dev/null\` in #( adamc@1095: *posix*) : adamc@1095: set -o posix ;; #( adamc@1095: *) : adamc@1095: ;; adamc@1095: esac adamc@1095: fi adamc@1095: " adamc@1095: as_required="as_fn_return () { (exit \$1); } adamc@1095: as_fn_success () { as_fn_return 0; } adamc@1095: as_fn_failure () { as_fn_return 1; } adamc@1095: as_fn_ret_success () { return 0; } adamc@1095: as_fn_ret_failure () { return 1; } adamc@1095: adamc@1095: exitcode=0 adamc@1095: as_fn_success || { exitcode=1; echo as_fn_success failed.; } adamc@1095: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } adamc@1095: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } adamc@1095: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } adamc@1095: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : adamc@1095: adamc@1095: else adamc@1095: exitcode=1; echo positional parameters were not saved. adamc@1095: fi adamc@1095: test x\$exitcode = x0 || exit 1" adamc@1095: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO adamc@1095: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO adamc@1095: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && adamc@1095: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" adamc@1095: if (eval "$as_required") 2>/dev/null; then : adamc@1095: as_have_required=yes adamc@1095: else adamc@1095: as_have_required=no adamc@1095: fi adamc@1095: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : adamc@1095: adamc@1095: else adamc@1095: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR adamc@1095: as_found=false adamc@1095: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH adamc@378: do adamc@1095: IFS=$as_save_IFS adamc@1095: test -z "$as_dir" && as_dir=. adamc@1095: as_found=: adamc@1095: case $as_dir in #( adamc@1095: /*) adamc@1095: for as_base in sh bash ksh sh5; do adamc@1095: # Try only shells that exist, to save several forks. adamc@1095: as_shell=$as_dir/$as_base adamc@1095: if { test -f "$as_shell" || test -f "$as_shell.exe"; } && adamc@1095: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : adamc@1095: CONFIG_SHELL=$as_shell as_have_required=yes adamc@1095: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : adamc@1095: break 2 adamc@1095: fi adamc@1095: fi adamc@1095: done;; adamc@1095: esac adamc@1095: as_found=false adamc@1095: done adamc@1095: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && adamc@1095: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : adamc@1095: CONFIG_SHELL=$SHELL as_have_required=yes adamc@1095: fi; } adamc@1095: IFS=$as_save_IFS adamc@1095: adamc@1095: adamc@1095: if test "x$CONFIG_SHELL" != x; then : adamc@1095: # We cannot yet assume a decent shell, so we have to provide a adamc@1095: # neutralization value for shells without unset; and this also adamc@1095: # works around shells that cannot unset nonexistent variables. adamc@1095: BASH_ENV=/dev/null adamc@1095: ENV=/dev/null adamc@1095: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV adamc@1095: export CONFIG_SHELL adamc@1095: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} adamc@1095: fi adamc@1095: adamc@1095: if test x$as_have_required = xno; then : adamc@1095: $as_echo "$0: This script requires a shell more modern than all" adamc@1095: $as_echo "$0: the shells that I found on your system." adamc@1095: if test x${ZSH_VERSION+set} = xset ; then adamc@1095: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" adamc@1095: $as_echo "$0: be upgraded to zsh 4.3.4 or later." adamc@378: else adamc@1095: $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, adamc@1095: $0: including any error possibly output before this adamc@1095: $0: message. Then install a modern shell, or manually run adamc@1095: $0: the script under such a shell if you do have one." adamc@378: fi adamc@1095: exit 1 adamc@1095: fi adamc@1095: fi adamc@1095: fi adamc@1095: SHELL=${CONFIG_SHELL-/bin/sh} adamc@1095: export SHELL adamc@1095: # Unset more variables known to interfere with behavior of common tools. adamc@1095: CLICOLOR_FORCE= GREP_OPTIONS= adamc@1095: unset CLICOLOR_FORCE GREP_OPTIONS adamc@378: adamc@1095: ## --------------------- ## adamc@1095: ## M4sh Shell Functions. ## adamc@1095: ## --------------------- ## adamc@1095: # as_fn_unset VAR adamc@1095: # --------------- adamc@1095: # Portably unset VAR. adamc@1095: as_fn_unset () adamc@1095: { adamc@1095: { eval $1=; unset $1;} adamc@1095: } adamc@1095: as_unset=as_fn_unset adamc@1095: adamc@1095: # as_fn_set_status STATUS adamc@1095: # ----------------------- adamc@1095: # Set $? to STATUS, without forking. adamc@1095: as_fn_set_status () adamc@1095: { adamc@1095: return $1 adamc@1095: } # as_fn_set_status adamc@1095: adamc@1095: # as_fn_exit STATUS adamc@1095: # ----------------- adamc@1095: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. adamc@1095: as_fn_exit () adamc@1095: { adamc@1095: set +e adamc@1095: as_fn_set_status $1 adamc@1095: exit $1 adamc@1095: } # as_fn_exit adamc@1095: adamc@1095: # as_fn_mkdir_p adamc@1095: # ------------- adamc@1095: # Create "$as_dir" as a directory, including parents if necessary. adamc@1095: as_fn_mkdir_p () adamc@1095: { adamc@1095: adamc@1095: case $as_dir in #( adamc@1095: -*) as_dir=./$as_dir;; adamc@1095: esac adamc@1095: test -d "$as_dir" || eval $as_mkdir_p || { adamc@1095: as_dirs= adamc@1095: while :; do adamc@1095: case $as_dir in #( adamc@1095: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( adamc@1095: *) as_qdir=$as_dir;; adamc@1095: esac adamc@1095: as_dirs="'$as_qdir' $as_dirs" adamc@1095: as_dir=`$as_dirname -- "$as_dir" || adamc@1095: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ adamc@1095: X"$as_dir" : 'X\(//\)[^/]' \| \ adamc@1095: X"$as_dir" : 'X\(//\)$' \| \ adamc@1095: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || adamc@1095: $as_echo X"$as_dir" | adamc@1095: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ adamc@1095: s//\1/ adamc@1095: q adamc@1095: } adamc@1095: /^X\(\/\/\)[^/].*/{ adamc@1095: s//\1/ adamc@1095: q adamc@1095: } adamc@1095: /^X\(\/\/\)$/{ adamc@1095: s//\1/ adamc@1095: q adamc@1095: } adamc@1095: /^X\(\/\).*/{ adamc@1095: s//\1/ adamc@1095: q adamc@1095: } adamc@1095: s/.*/./; q'` adamc@1095: test -d "$as_dir" && break adamc@1095: done adamc@1095: test -z "$as_dirs" || eval "mkdir $as_dirs" adamc@1095: } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" adamc@1095: adamc@1095: adamc@1095: } # as_fn_mkdir_p adamc@1095: # as_fn_append VAR VALUE adamc@1095: # ---------------------- adamc@1095: # Append the text in VALUE to the end of the definition contained in VAR. Take adamc@1095: # advantage of any shell optimizations that allow amortized linear growth over adamc@1095: # repeated appends, instead of the typical quadratic growth present in naive adamc@1095: # implementations. adamc@1095: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : adamc@1095: eval 'as_fn_append () adamc@1095: { adamc@1095: eval $1+=\$2 adamc@1095: }' adamc@1095: else adamc@1095: as_fn_append () adamc@1095: { adamc@1095: eval $1=\$$1\$2 adamc@1095: } adamc@1095: fi # as_fn_append adamc@1095: adamc@1095: # as_fn_arith ARG... adamc@1095: # ------------------ adamc@1095: # Perform arithmetic evaluation on the ARGs, and store the result in the adamc@1095: # global $as_val. Take advantage of shells that can avoid forks. The arguments adamc@1095: # must be portable across $(()) and expr. adamc@1095: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : adamc@1095: eval 'as_fn_arith () adamc@1095: { adamc@1095: as_val=$(( $* )) adamc@1095: }' adamc@1095: else adamc@1095: as_fn_arith () adamc@1095: { adamc@1095: as_val=`expr "$@" || test $? -eq 1` adamc@1095: } adamc@1095: fi # as_fn_arith adamc@1095: adamc@1095: adamc@1095: # as_fn_error ERROR [LINENO LOG_FD] adamc@1095: # --------------------------------- adamc@1095: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are adamc@1095: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the adamc@1095: # script with status $?, using 1 if that was 0. adamc@1095: as_fn_error () adamc@1095: { adamc@1095: as_status=$?; test $as_status -eq 0 && as_status=1 adamc@1095: if test "$3"; then adamc@1095: as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack adamc@1095: $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 adamc@1095: fi adamc@1095: $as_echo "$as_me: error: $1" >&2 adamc@1095: as_fn_exit $as_status adamc@1095: } # as_fn_error adamc@1095: 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@1095: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then adamc@1095: as_dirname=dirname adamc@1095: else adamc@1095: as_dirname=false adamc@1095: fi adamc@378: 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@1095: $as_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@1095: # Avoid depending upon Character Ranges. adamc@1095: as_cr_letters='abcdefghijklmnopqrstuvwxyz' adamc@1095: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' adamc@1095: as_cr_Letters=$as_cr_letters$as_cr_LETTERS adamc@1095: as_cr_digits='0123456789' adamc@1095: as_cr_alnum=$as_cr_Letters$as_cr_digits adamc@378: adamc@378: adamc@1095: as_lineno_1=$LINENO as_lineno_1a=$LINENO adamc@1095: as_lineno_2=$LINENO as_lineno_2a=$LINENO adamc@1095: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && adamc@1095: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { adamc@1095: # Blame Lee 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@1095: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_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: ECHO_C= ECHO_N= ECHO_T= adamc@1095: case `echo -n x` in #((((( adamc@378: -n*) adamc@1095: case `echo 'xy\c'` in adamc@378: *c*) ECHO_T=' ';; # ECHO_T is single tab character. adamc@1095: xy) ECHO_C='\c';; adamc@1095: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null adamc@1095: ECHO_T=' ';; adamc@378: esac;; adamc@378: *) adamc@378: ECHO_N='-n';; adamc@378: esac 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@1095: mkdir conf$$.dir 2>/dev/null adamc@378: fi adamc@1095: if (echo >conf$$.file) 2>/dev/null; then adamc@1095: if ln -s conf$$.file conf$$ 2>/dev/null; then adamc@1095: as_ln_s='ln -s' adamc@1095: # ... but there are two gotchas: adamc@1095: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. adamc@1095: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. adamc@1095: # In both cases, we have to default to `cp -p'. adamc@1095: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || adamc@1095: as_ln_s='cp -p' adamc@1095: elif ln conf$$.file conf$$ 2>/dev/null; then adamc@1095: as_ln_s=ln adamc@1095: else adamc@378: as_ln_s='cp -p' adamc@1095: fi 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@1095: as_mkdir_p='mkdir -p "$as_dir"' 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@1095: test -d "$1/."; adamc@378: else adamc@1095: case $1 in #( adamc@1095: -*)set "./$1";; adamc@378: esac; adamc@1095: 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@1095: test -n "$DJDIR" || 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: 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@1095: PACKAGE_URL= adamc@378: adamc@378: ac_unique_file="THIS_IS_URWEB" adamc@1095: ac_subst_vars='LTLIBOBJS adamc@1095: LIBOBJS adamc@1095: do_not_edit adamc@1095: GCCARGS adamc@1095: SITELISP adamc@1095: INCLUDE adamc@1095: LIB adamc@1095: BIN adamc@1095: target_alias adamc@1095: host_alias adamc@1095: build_alias adamc@1095: LIBS adamc@1095: ECHO_T adamc@1095: ECHO_N adamc@1095: ECHO_C adamc@1095: DEFS adamc@1095: mandir adamc@1095: localedir adamc@1095: libdir adamc@1095: psdir adamc@1095: pdfdir adamc@1095: dvidir adamc@1095: htmldir adamc@1095: infodir adamc@1095: docdir adamc@1095: oldincludedir adamc@1095: includedir adamc@1095: localstatedir adamc@1095: sharedstatedir adamc@1095: sysconfdir adamc@1095: datadir adamc@1095: datarootdir adamc@1095: libexecdir adamc@1095: sbindir adamc@1095: bindir adamc@1095: program_transform_name adamc@1095: prefix adamc@1095: exec_prefix adamc@1095: PACKAGE_URL adamc@1095: PACKAGE_BUGREPORT adamc@1095: PACKAGE_STRING adamc@1095: PACKAGE_VERSION adamc@1095: PACKAGE_TARNAME adamc@1095: PACKAGE_NAME adamc@378: PATH_SEPARATOR adamc@1095: SHELL' adamc@378: ac_subst_files='' adamc@1095: ac_user_opts=' adamc@1095: enable_option_checking adamc@1095: ' 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@1095: ac_unrecognized_opts= adamc@1095: ac_unrecognized_sep= 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@1095: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` adamc@378: # Reject names that are not valid shell variable names. adamc@1095: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && adamc@1095: as_fn_error "invalid feature name: $ac_useropt" adamc@1095: ac_useropt_orig=$ac_useropt adamc@1095: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` adamc@1095: case $ac_user_opts in adamc@1095: *" adamc@1095: "enable_$ac_useropt" adamc@1095: "*) ;; adamc@1095: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" adamc@1095: ac_unrecognized_sep=', ';; adamc@1095: esac adamc@1095: eval enable_$ac_useropt=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@1095: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` adamc@378: # Reject names that are not valid shell variable names. adamc@1095: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && adamc@1095: as_fn_error "invalid feature name: $ac_useropt" adamc@1095: ac_useropt_orig=$ac_useropt adamc@1095: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` adamc@1095: case $ac_user_opts in adamc@1095: *" adamc@1095: "enable_$ac_useropt" adamc@1095: "*) ;; adamc@1095: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" adamc@1095: ac_unrecognized_sep=', ';; adamc@1095: esac adamc@1095: eval enable_$ac_useropt=\$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@1095: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` adamc@378: # Reject names that are not valid shell variable names. adamc@1095: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && adamc@1095: as_fn_error "invalid package name: $ac_useropt" adamc@1095: ac_useropt_orig=$ac_useropt adamc@1095: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` adamc@1095: case $ac_user_opts in adamc@1095: *" adamc@1095: "with_$ac_useropt" adamc@1095: "*) ;; adamc@1095: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" adamc@1095: ac_unrecognized_sep=', ';; adamc@1095: esac adamc@1095: eval with_$ac_useropt=\$ac_optarg ;; adamc@378: adamc@378: -without-* | --without-*) adamc@1095: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` adamc@378: # Reject names that are not valid shell variable names. adamc@1095: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && adamc@1095: as_fn_error "invalid package name: $ac_useropt" adamc@1095: ac_useropt_orig=$ac_useropt adamc@1095: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` adamc@1095: case $ac_user_opts in adamc@1095: *" adamc@1095: "with_$ac_useropt" adamc@1095: "*) ;; adamc@1095: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" adamc@1095: ac_unrecognized_sep=', ';; adamc@1095: esac adamc@1095: eval with_$ac_useropt=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@1095: -*) as_fn_error "unrecognized option: \`$ac_option' adamc@1095: Try \`$0 --help' for more information." 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@1095: case $ac_envvar in #( adamc@1095: '' | [0-9]* | *[!_$as_cr_alnum]* ) adamc@1095: as_fn_error "invalid variable name: \`$ac_envvar'" ;; adamc@1095: esac 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@1095: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 adamc@378: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && adamc@1095: $as_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@1095: as_fn_error "missing argument to $ac_option" adamc@378: fi adamc@378: adamc@1095: if test -n "$ac_unrecognized_opts"; then adamc@1095: case $enable_option_checking in adamc@1095: no) ;; adamc@1095: fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; adamc@1095: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; adamc@1095: esac adamc@1095: fi adamc@1095: adamc@1095: # Check all directory arguments for consistency. 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@1095: # Remove trailing slashes. adamc@1095: case $ac_val in adamc@1095: */ ) adamc@1095: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` adamc@1095: eval $ac_var=\$ac_val;; adamc@1095: esac adamc@1095: # Be sure to have absolute directory names. adamc@378: case $ac_val in adamc@378: [\\/$]* | ?:[\\/]* ) continue;; adamc@378: NONE | '' ) case $ac_var in *prefix ) continue;; esac;; adamc@378: esac adamc@1095: as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 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@1095: $as_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@1095: as_fn_error "working directory cannot be determined" adamc@378: test "X$ac_ls_di" = "X$ac_pwd_ls_di" || adamc@1095: as_fn_error "pwd does not report name of working directory" 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@1095: ac_confdir=`$as_dirname -- "$as_myself" || adamc@1095: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ adamc@1095: X"$as_myself" : 'X\(//\)[^/]' \| \ adamc@1095: X"$as_myself" : 'X\(//\)$' \| \ adamc@1095: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || adamc@1095: $as_echo X"$as_myself" | 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@1095: as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" adamc@378: fi adamc@378: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" adamc@378: ac_abs_confdir=`( adamc@1095: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 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@1095: [$ac_default_prefix] adamc@378: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX adamc@1095: [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@1095: --bindir=DIR user executables [EPREFIX/bin] adamc@1095: --sbindir=DIR system admin executables [EPREFIX/sbin] adamc@1095: --libexecdir=DIR program executables [EPREFIX/libexec] adamc@1095: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] adamc@1095: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] adamc@1095: --localstatedir=DIR modifiable single-machine data [PREFIX/var] adamc@1095: --libdir=DIR object code libraries [EPREFIX/lib] adamc@1095: --includedir=DIR C header files [PREFIX/include] adamc@1095: --oldincludedir=DIR C header files for non-gcc [/usr/include] adamc@1095: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] adamc@1095: --datadir=DIR read-only architecture-independent data [DATAROOTDIR] adamc@1095: --infodir=DIR info documentation [DATAROOTDIR/info] adamc@1095: --localedir=DIR locale-dependent data [DATAROOTDIR/locale] adamc@1095: --mandir=DIR man documentation [DATAROOTDIR/man] adamc@1095: --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] adamc@1095: --htmldir=DIR html documentation [DOCDIR] adamc@1095: --dvidir=DIR dvi documentation [DOCDIR] adamc@1095: --pdfdir=DIR pdf documentation [DOCDIR] adamc@1095: --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@1095: Report bugs to the package provider. 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@1095: test -d "$ac_dir" || adamc@1095: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || adamc@1095: 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@1095: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` adamc@378: # A ".." for each directory in $ac_dir_suffix. adamc@1095: ac_top_builddir_sub=`$as_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@1095: $as_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@1095: generated by GNU Autoconf 2.65 adamc@378: adamc@1095: Copyright (C) 2009 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@1095: adamc@1095: ## ------------------------ ## adamc@1095: ## Autoconf initialization. ## adamc@1095: ## ------------------------ ## 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@1095: generated by GNU Autoconf 2.65. 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@1095: $as_echo "PATH: $as_dir" adamc@1095: 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@1095: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; adamc@378: esac adamc@378: case $ac_pass in adamc@1095: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; adamc@378: 2) adamc@1095: as_fn_append 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@1095: as_fn_append ac_configure_args " '$ac_arg'" adamc@378: ;; adamc@378: esac adamc@378: done adamc@378: done adamc@1095: { ac_configure_args0=; unset ac_configure_args0;} adamc@1095: { ac_configure_args1=; unset 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@1095: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 adamc@1095: $as_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@1095: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( adamc@1095: *) { eval $ac_var=; 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@1095: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; adamc@378: esac adamc@1095: $as_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@1095: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; adamc@378: esac adamc@1095: $as_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@1095: $as_echo "$as_me: caught signal $ac_signal" adamc@1095: $as_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@1095: trap 'ac_signal='$ac_signal'; as_fn_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@1095: $as_echo "/* confdefs.h */" > confdefs.h adamc@1095: 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: cat >>confdefs.h <<_ACEOF adamc@378: #define PACKAGE_TARNAME "$PACKAGE_TARNAME" adamc@378: _ACEOF adamc@378: adamc@378: cat >>confdefs.h <<_ACEOF adamc@378: #define PACKAGE_VERSION "$PACKAGE_VERSION" adamc@378: _ACEOF adamc@378: adamc@378: cat >>confdefs.h <<_ACEOF adamc@378: #define PACKAGE_STRING "$PACKAGE_STRING" adamc@378: _ACEOF adamc@378: adamc@378: cat >>confdefs.h <<_ACEOF adamc@378: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" adamc@378: _ACEOF adamc@378: adamc@1095: cat >>confdefs.h <<_ACEOF adamc@1095: #define PACKAGE_URL "$PACKAGE_URL" adamc@1095: _ACEOF adamc@1095: adamc@378: adamc@378: # Let the site file select an alternate cache file if it wants to. adamc@1095: # Prefer an explicitly selected file to automatically selected ones. adamc@1095: ac_site_file1=NONE adamc@1095: ac_site_file2=NONE adamc@378: if test -n "$CONFIG_SITE"; then adamc@1095: ac_site_file1=$CONFIG_SITE adamc@378: elif test "x$prefix" != xNONE; then adamc@1095: ac_site_file1=$prefix/share/config.site adamc@1095: ac_site_file2=$prefix/etc/config.site adamc@378: else adamc@1095: ac_site_file1=$ac_default_prefix/share/config.site adamc@1095: ac_site_file2=$ac_default_prefix/etc/config.site adamc@378: fi adamc@1095: for ac_site_file in "$ac_site_file1" "$ac_site_file2" adamc@378: do adamc@1095: test "x$ac_site_file" = xNONE && continue adamc@1095: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 adamc@1095: $as_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@1095: # Some versions of bash will fail to source /dev/null (special files adamc@1095: # actually), so we avoid doing that. DJGPP emulates it as a regular file. adamc@1095: if test /dev/null != "$cache_file" && test -f "$cache_file"; then adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 adamc@1095: $as_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@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 adamc@1095: $as_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@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 adamc@1095: $as_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@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 adamc@1095: $as_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@1095: # differences in whitespace do not lead to failure. adamc@1095: ac_old_val_w=`echo x $ac_old_val` adamc@1095: ac_new_val_w=`echo x $ac_new_val` adamc@1095: if test "$ac_old_val_w" != "$ac_new_val_w"; then adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 adamc@1095: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} adamc@1095: ac_cache_corrupted=: adamc@1095: else adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 adamc@1095: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} adamc@1095: eval $ac_var=\$ac_old_val adamc@1095: fi adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 adamc@1095: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 adamc@1095: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 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@1095: *\'*) ac_arg=$ac_var=`$as_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@1095: *) as_fn_append ac_configure_args " '$ac_arg'" ;; adamc@378: esac adamc@378: fi adamc@378: done adamc@378: if $ac_cache_corrupted; then adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 adamc@1095: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 adamc@1095: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} adamc@1095: as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 adamc@378: fi adamc@1095: ## -------------------- ## adamc@1095: ## Main body of script. ## adamc@1095: ## -------------------- ## 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@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ur/Web" >&5 adamc@1095: $as_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@1095: as_fn_error "configure is older than configure.in; you forgot to run autoconf" "$LINENO" 5 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@429: if test $prefix = "NONE"; then adamc@429: prefix=/usr/local adamc@429: fi adamc@429: adamc@378: if test -z $BIN; then adamc@429: BIN=$prefix/bin adamc@378: fi adamc@378: adamc@378: if test -z $LIB; then adamc@429: LIB=$prefix/lib/urweb adamc@378: fi adamc@378: adamc@378: if test -z $INCLUDE; then adamc@429: INCLUDE=$prefix/include/urweb adamc@378: fi adamc@378: adamc@378: if test -z $SITELISP; then adamc@429: SITELISP=$prefix/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@435: 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@1095: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 adamc@1095: $as_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@1095: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( adamc@1095: *) { eval $ac_var=; 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@1095: # `set' does not quote correctly, so add quotes: double-quote adamc@1095: # 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@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 adamc@1095: $as_echo "$as_me: updating cache $cache_file" >&6;} adamc@378: cat confcache >$cache_file adamc@378: else adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 adamc@1095: $as_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@1095: :mline adamc@1095: /\\$/{ adamc@1095: N adamc@1095: s,\\\n,, adamc@1095: b mline adamc@1095: } 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@1095: ac_i=`$as_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@1095: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" adamc@1095: as_fn_append 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@1095: ac_write_fail=0 adamc@378: ac_clean_files_save=$ac_clean_files adamc@378: ac_clean_files="$ac_clean_files $CONFIG_STATUS" adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 adamc@1095: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} adamc@1095: as_write_fail=0 adamc@1095: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 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@1095: adamc@378: SHELL=\${CONFIG_SHELL-$SHELL} adamc@1095: export SHELL adamc@1095: _ASEOF adamc@1095: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 adamc@1095: ## -------------------- ## adamc@1095: ## M4sh Initialization. ## adamc@1095: ## -------------------- ## adamc@378: adamc@378: # Be more Bourne compatible adamc@378: DUALCASE=1; export DUALCASE # for MKS sh adamc@1095: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : adamc@378: emulate sh adamc@378: NULLCMD=: adamc@1095: # Pre-4.2 versions of Zsh do 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@1095: case `(set -o) 2>/dev/null` in #( adamc@1095: *posix*) : adamc@1095: set -o posix ;; #( adamc@1095: *) : adamc@1095: ;; adamc@378: esac adamc@378: fi adamc@378: adamc@378: adamc@1095: as_nl=' adamc@1095: ' adamc@1095: export as_nl adamc@1095: # Printing a long string crashes Solaris 7 /usr/bin/printf. adamc@1095: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' adamc@1095: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo adamc@1095: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo adamc@1095: # Prefer a ksh shell builtin over an external printf program on Solaris, adamc@1095: # but without wasting forks for bash or zsh. adamc@1095: if test -z "$BASH_VERSION$ZSH_VERSION" \ adamc@1095: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then adamc@1095: as_echo='print -r --' adamc@1095: as_echo_n='print -rn --' adamc@1095: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then adamc@1095: as_echo='printf %s\n' adamc@1095: as_echo_n='printf %s' adamc@1095: else adamc@1095: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then adamc@1095: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' adamc@1095: as_echo_n='/usr/ucb/echo -n' adamc@1095: else adamc@1095: as_echo_body='eval expr "X$1" : "X\\(.*\\)"' adamc@1095: as_echo_n_body='eval adamc@1095: arg=$1; adamc@1095: case $arg in #( adamc@1095: *"$as_nl"*) adamc@1095: expr "X$arg" : "X\\(.*\\)$as_nl"; adamc@1095: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; adamc@1095: esac; adamc@1095: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" adamc@1095: ' adamc@1095: export as_echo_n_body adamc@1095: as_echo_n='sh -c $as_echo_n_body as_echo' adamc@1095: fi adamc@1095: export as_echo_body adamc@1095: as_echo='sh -c $as_echo_body as_echo' adamc@1095: fi adamc@378: adamc@378: # The user is always right. adamc@378: if test "${PATH_SEPARATOR+set}" != set; then adamc@1095: PATH_SEPARATOR=: adamc@1095: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { adamc@1095: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || adamc@1095: PATH_SEPARATOR=';' adamc@1095: } 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: IFS=" "" $as_nl" adamc@378: adamc@378: # Find who we are. Look in the path if we contain no directory separator. adamc@1095: 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@1095: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break adamc@1095: 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@1095: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 adamc@1095: exit 1 adamc@378: fi adamc@378: adamc@1095: # Unset variables that we do not need and which cause bugs (e.g. in adamc@1095: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" adamc@1095: # suppresses any "Segmentation fault" message there. '((' could adamc@1095: # trigger a bug in pdksh 5.2.14. adamc@1095: for as_var in BASH_ENV ENV MAIL MAILPATH adamc@1095: do eval test x\${$as_var+set} = xset \ adamc@1095: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : adamc@378: done adamc@378: PS1='$ ' adamc@378: PS2='> ' adamc@378: PS4='+ ' adamc@378: adamc@378: # NLS nuisances. adamc@1095: LC_ALL=C adamc@1095: export LC_ALL adamc@1095: LANGUAGE=C adamc@1095: export LANGUAGE adamc@1095: adamc@1095: # CDPATH. adamc@1095: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH adamc@1095: adamc@1095: adamc@1095: # as_fn_error ERROR [LINENO LOG_FD] adamc@1095: # --------------------------------- adamc@1095: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are adamc@1095: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the adamc@1095: # script with status $?, using 1 if that was 0. adamc@1095: as_fn_error () adamc@1095: { adamc@1095: as_status=$?; test $as_status -eq 0 && as_status=1 adamc@1095: if test "$3"; then adamc@1095: as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack adamc@1095: $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 adamc@378: fi adamc@1095: $as_echo "$as_me: error: $1" >&2 adamc@1095: as_fn_exit $as_status adamc@1095: } # as_fn_error adamc@378: adamc@1095: adamc@1095: # as_fn_set_status STATUS adamc@1095: # ----------------------- adamc@1095: # Set $? to STATUS, without forking. adamc@1095: as_fn_set_status () adamc@1095: { adamc@1095: return $1 adamc@1095: } # as_fn_set_status adamc@1095: adamc@1095: # as_fn_exit STATUS adamc@1095: # ----------------- adamc@1095: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. adamc@1095: as_fn_exit () adamc@1095: { adamc@1095: set +e adamc@1095: as_fn_set_status $1 adamc@1095: exit $1 adamc@1095: } # as_fn_exit adamc@1095: adamc@1095: # as_fn_unset VAR adamc@1095: # --------------- adamc@1095: # Portably unset VAR. adamc@1095: as_fn_unset () adamc@1095: { adamc@1095: { eval $1=; unset $1;} adamc@1095: } adamc@1095: as_unset=as_fn_unset adamc@1095: # as_fn_append VAR VALUE adamc@1095: # ---------------------- adamc@1095: # Append the text in VALUE to the end of the definition contained in VAR. Take adamc@1095: # advantage of any shell optimizations that allow amortized linear growth over adamc@1095: # repeated appends, instead of the typical quadratic growth present in naive adamc@1095: # implementations. adamc@1095: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : adamc@1095: eval 'as_fn_append () adamc@1095: { adamc@1095: eval $1+=\$2 adamc@1095: }' adamc@1095: else adamc@1095: as_fn_append () adamc@1095: { adamc@1095: eval $1=\$$1\$2 adamc@1095: } adamc@1095: fi # as_fn_append adamc@1095: adamc@1095: # as_fn_arith ARG... adamc@1095: # ------------------ adamc@1095: # Perform arithmetic evaluation on the ARGs, and store the result in the adamc@1095: # global $as_val. Take advantage of shells that can avoid forks. The arguments adamc@1095: # must be portable across $(()) and expr. adamc@1095: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : adamc@1095: eval 'as_fn_arith () adamc@1095: { adamc@1095: as_val=$(( $* )) adamc@1095: }' adamc@1095: else adamc@1095: as_fn_arith () adamc@1095: { adamc@1095: as_val=`expr "$@" || test $? -eq 1` adamc@1095: } adamc@1095: fi # as_fn_arith adamc@1095: adamc@1095: 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@1095: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then adamc@1095: as_dirname=dirname adamc@1095: else adamc@1095: as_dirname=false adamc@1095: fi adamc@378: 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@1095: $as_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@1095: # Avoid depending upon Character Ranges. adamc@1095: as_cr_letters='abcdefghijklmnopqrstuvwxyz' adamc@1095: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' adamc@1095: as_cr_Letters=$as_cr_letters$as_cr_LETTERS adamc@1095: as_cr_digits='0123456789' adamc@1095: as_cr_alnum=$as_cr_Letters$as_cr_digits adamc@378: adamc@378: ECHO_C= ECHO_N= ECHO_T= adamc@1095: case `echo -n x` in #((((( adamc@378: -n*) adamc@1095: case `echo 'xy\c'` in adamc@378: *c*) ECHO_T=' ';; # ECHO_T is single tab character. adamc@1095: xy) ECHO_C='\c';; adamc@1095: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null adamc@1095: ECHO_T=' ';; adamc@378: esac;; adamc@378: *) adamc@378: ECHO_N='-n';; adamc@378: esac 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@1095: mkdir conf$$.dir 2>/dev/null adamc@378: fi adamc@1095: if (echo >conf$$.file) 2>/dev/null; then adamc@1095: if ln -s conf$$.file conf$$ 2>/dev/null; then adamc@1095: as_ln_s='ln -s' adamc@1095: # ... but there are two gotchas: adamc@1095: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. adamc@1095: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. adamc@1095: # In both cases, we have to default to `cp -p'. adamc@1095: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || adamc@1095: as_ln_s='cp -p' adamc@1095: elif ln conf$$.file conf$$ 2>/dev/null; then adamc@1095: as_ln_s=ln adamc@1095: else adamc@378: as_ln_s='cp -p' adamc@1095: fi 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@1095: adamc@1095: # as_fn_mkdir_p adamc@1095: # ------------- adamc@1095: # Create "$as_dir" as a directory, including parents if necessary. adamc@1095: as_fn_mkdir_p () adamc@1095: { adamc@1095: adamc@1095: case $as_dir in #( adamc@1095: -*) as_dir=./$as_dir;; adamc@1095: esac adamc@1095: test -d "$as_dir" || eval $as_mkdir_p || { adamc@1095: as_dirs= adamc@1095: while :; do adamc@1095: case $as_dir in #( adamc@1095: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( adamc@1095: *) as_qdir=$as_dir;; adamc@1095: esac adamc@1095: as_dirs="'$as_qdir' $as_dirs" adamc@1095: as_dir=`$as_dirname -- "$as_dir" || adamc@1095: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ adamc@1095: X"$as_dir" : 'X\(//\)[^/]' \| \ adamc@1095: X"$as_dir" : 'X\(//\)$' \| \ adamc@1095: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || adamc@1095: $as_echo X"$as_dir" | adamc@1095: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ adamc@1095: s//\1/ adamc@1095: q adamc@1095: } adamc@1095: /^X\(\/\/\)[^/].*/{ adamc@1095: s//\1/ adamc@1095: q adamc@1095: } adamc@1095: /^X\(\/\/\)$/{ adamc@1095: s//\1/ adamc@1095: q adamc@1095: } adamc@1095: /^X\(\/\).*/{ adamc@1095: s//\1/ adamc@1095: q adamc@1095: } adamc@1095: s/.*/./; q'` adamc@1095: test -d "$as_dir" && break adamc@1095: done adamc@1095: test -z "$as_dirs" || eval "mkdir $as_dirs" adamc@1095: } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" adamc@1095: adamc@1095: adamc@1095: } # as_fn_mkdir_p adamc@378: if mkdir -p . 2>/dev/null; then adamc@1095: as_mkdir_p='mkdir -p "$as_dir"' 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@1095: test -d "$1/."; adamc@378: else adamc@1095: case $1 in #( adamc@1095: -*)set "./$1";; adamc@378: esac; adamc@1095: 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@1095: ## ----------------------------------- ## adamc@1095: ## Main body of $CONFIG_STATUS script. ## adamc@1095: ## ----------------------------------- ## adamc@1095: _ASEOF adamc@1095: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 adamc@378: adamc@1095: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 adamc@1095: # 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@1095: generated by GNU Autoconf 2.65. 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@1095: case $ac_config_files in *" adamc@1095: "*) set x $ac_config_files; shift; ac_config_files=$*;; adamc@1095: esac adamc@1095: adamc@1095: adamc@1095: adamc@1095: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 adamc@378: # Files that config.status was made for. adamc@378: config_files="$ac_config_files" adamc@378: adamc@378: _ACEOF adamc@378: adamc@1095: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 adamc@378: ac_cs_usage="\ adamc@1095: \`$as_me' instantiates files and other configuration actions adamc@1095: from templates according to the current configuration. Unless the files adamc@1095: and actions are specified as TAGs, all are instantiated by default. adamc@378: adamc@1095: Usage: $0 [OPTION]... [TAG]... adamc@378: adamc@378: -h, --help print this help, then exit adamc@378: -V, --version print version number and configuration settings, then exit adamc@1095: --config print configuration, then exit adamc@1095: -q, --quiet, --silent adamc@1095: 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@1095: --file=FILE[:TEMPLATE] adamc@1095: instantiate the configuration file FILE adamc@378: adamc@378: Configuration files: adamc@378: $config_files adamc@378: adamc@1095: Report bugs to the package provider." adamc@378: adamc@378: _ACEOF adamc@1095: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 adamc@1095: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" adamc@378: ac_cs_version="\\ adamc@378: config.status adamc@1095: configured by $0, generated by GNU Autoconf 2.65, adamc@1095: with options \\"\$ac_cs_config\\" adamc@378: adamc@1095: Copyright (C) 2009 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@1095: test -n "\$AWK" || AWK=awk adamc@378: _ACEOF adamc@378: adamc@1095: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 adamc@1095: # The default lists apply if the user does not specify any file. 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@1095: $as_echo "$ac_cs_version"; exit ;; adamc@1095: --config | --confi | --conf | --con | --co | --c ) adamc@1095: $as_echo "$ac_cs_config"; exit ;; adamc@378: --debug | --debu | --deb | --de | --d | -d ) adamc@378: debug=: ;; adamc@378: --file | --fil | --fi | --f ) adamc@378: $ac_shift adamc@1095: case $ac_optarg in adamc@1095: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; adamc@1095: esac adamc@1095: as_fn_append CONFIG_FILES " '$ac_optarg'" adamc@378: ac_need_defaults=false;; adamc@378: --he | --h | --help | --hel | -h ) adamc@1095: $as_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@1095: -*) as_fn_error "unrecognized option: \`$1' adamc@1095: Try \`$0 --help' for more information." ;; adamc@378: adamc@1095: *) as_fn_append 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@1095: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 adamc@378: if \$ac_cs_recheck; then adamc@1095: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion adamc@1095: shift adamc@1095: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 adamc@1095: CONFIG_SHELL='$SHELL' adamc@378: export CONFIG_SHELL adamc@1095: exec "\$@" adamc@378: fi adamc@378: adamc@378: _ACEOF adamc@1095: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 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@1095: $as_echo "$ac_log" adamc@378: } >&5 adamc@378: adamc@378: _ACEOF adamc@1095: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 adamc@378: _ACEOF adamc@378: adamc@1095: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 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@1095: *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 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@1095: trap 'as_fn_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@1095: } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 adamc@378: adamc@1095: # Set up the scripts for CONFIG_FILES section. adamc@1095: # No need to generate them if there are no CONFIG_FILES. adamc@1095: # This happens for instance with `./config.status config.h'. adamc@378: if test -n "$CONFIG_FILES"; then adamc@378: adamc@1095: adamc@1095: ac_cr=`echo X | tr X '\015'` adamc@1095: # On cygwin, bash can eat \r inside `` if the user requested igncr. adamc@1095: # But we know of no other shell where ac_cr would be empty at this adamc@1095: # point, so we can use a bashism as a fallback. adamc@1095: if test "x$ac_cr" = x; then adamc@1095: eval ac_cr=\$\'\\r\' adamc@1095: fi adamc@1095: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` adamc@1095: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then adamc@1095: ac_cs_awk_cr='\r' adamc@1095: else adamc@1095: ac_cs_awk_cr=$ac_cr adamc@1095: fi adamc@1095: adamc@1095: echo 'BEGIN {' >"$tmp/subs1.awk" && adamc@378: _ACEOF adamc@378: adamc@378: adamc@1095: { adamc@1095: echo "cat >conf$$subs.awk <<_ACEOF" && adamc@1095: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && adamc@1095: echo "_ACEOF" adamc@1095: } >conf$$subs.sh || adamc@1095: as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 adamc@1095: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` adamc@378: ac_delim='%!_!# ' adamc@378: for ac_last_try in false false false false false :; do adamc@1095: . ./conf$$subs.sh || adamc@1095: as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 adamc@378: adamc@1095: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` adamc@1095: if test $ac_delim_n = $ac_delim_num; then adamc@378: break adamc@378: elif $ac_last_try; then adamc@1095: as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 adamc@378: else adamc@378: ac_delim="$ac_delim!$ac_delim _$ac_delim!! " adamc@378: fi adamc@378: done adamc@1095: rm -f conf$$subs.sh adamc@378: adamc@1095: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 adamc@1095: cat >>"\$tmp/subs1.awk" <<\\_ACAWK && adamc@1095: _ACEOF adamc@1095: sed -n ' adamc@1095: h adamc@1095: s/^/S["/; s/!.*/"]=/ adamc@1095: p adamc@1095: g adamc@1095: s/^[^!]*!// adamc@1095: :repl adamc@1095: t repl adamc@1095: s/'"$ac_delim"'$// adamc@1095: t delim adamc@1095: :nl adamc@1095: h adamc@1095: s/\(.\{148\}\)..*/\1/ adamc@1095: t more1 adamc@1095: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ adamc@1095: p adamc@1095: n adamc@1095: b repl adamc@1095: :more1 adamc@1095: s/["\\]/\\&/g; s/^/"/; s/$/"\\/ adamc@1095: p adamc@1095: g adamc@1095: s/.\{148\}// adamc@1095: t nl adamc@1095: :delim adamc@1095: h adamc@1095: s/\(.\{148\}\)..*/\1/ adamc@1095: t more2 adamc@1095: s/["\\]/\\&/g; s/^/"/; s/$/"/ adamc@1095: p adamc@1095: b adamc@1095: :more2 adamc@1095: s/["\\]/\\&/g; s/^/"/; s/$/"\\/ adamc@1095: p adamc@1095: g adamc@1095: s/.\{148\}// adamc@1095: t delim adamc@1095: ' >$CONFIG_STATUS || ac_write_fail=1 adamc@1095: rm -f conf$$subs.awk adamc@1095: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 adamc@1095: _ACAWK adamc@1095: cat >>"\$tmp/subs1.awk" <<_ACAWK && adamc@1095: for (key in S) S_is_set[key] = 1 adamc@1095: FS = "" adamc@378: adamc@1095: } adamc@1095: { adamc@1095: line = $ 0 adamc@1095: nfields = split(line, field, "@") adamc@1095: substed = 0 adamc@1095: len = length(field[1]) adamc@1095: for (i = 2; i < nfields; i++) { adamc@1095: key = field[i] adamc@1095: keylen = length(key) adamc@1095: if (S_is_set[key]) { adamc@1095: value = S[key] adamc@1095: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) adamc@1095: len += length(value) + length(field[++i]) adamc@1095: substed = 1 adamc@1095: } else adamc@1095: len += 1 + keylen adamc@1095: } adamc@1095: adamc@1095: print line adamc@1095: } adamc@1095: adamc@1095: _ACAWK adamc@378: _ACEOF adamc@1095: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 adamc@1095: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then adamc@1095: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" adamc@1095: else adamc@1095: cat adamc@1095: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ adamc@1095: || as_fn_error "could not setup config files machinery" "$LINENO" 5 adamc@378: _ACEOF 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@1095: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 adamc@378: fi # test -n "$CONFIG_FILES" adamc@378: adamc@378: adamc@1095: eval set X " :F $CONFIG_FILES " adamc@1095: shift adamc@1095: for ac_tag 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@1095: :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 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@1095: as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; adamc@378: esac adamc@1095: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac adamc@1095: as_fn_append 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@1095: configure_input='Generated from '` adamc@1095: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' adamc@1095: `' by configure.' adamc@378: if test x"$ac_file" != x-; then adamc@378: configure_input="$ac_file. $configure_input" adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 adamc@1095: $as_echo "$as_me: creating $ac_file" >&6;} adamc@378: fi adamc@1095: # Neutralize special characters interpreted by sed in replacement strings. adamc@1095: case $configure_input in #( adamc@1095: *\&* | *\|* | *\\* ) adamc@1095: ac_sed_conf_input=`$as_echo "$configure_input" | adamc@1095: sed 's/[\\\\&|]/\\\\&/g'`;; #( adamc@1095: *) ac_sed_conf_input=$configure_input;; adamc@1095: esac adamc@378: adamc@378: case $ac_tag in adamc@1095: *:-:* | *:-) cat >"$tmp/stdin" \ adamc@1095: || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 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@1095: $as_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@1095: as_dir="$ac_dir"; as_fn_mkdir_p 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@1095: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` adamc@378: # A ".." for each directory in $ac_dir_suffix. adamc@1095: ac_top_builddir_sub=`$as_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@1095: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 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@1095: ac_sed_dataroot=' adamc@1095: /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@1095: /@mandir@/p' adamc@1095: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in adamc@378: *datarootdir*) ac_datarootdir_seen=yes;; adamc@378: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 adamc@1095: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} adamc@378: _ACEOF adamc@1095: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 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@1095: 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@1095: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 adamc@1095: ac_sed_extra="$ac_vpsub adamc@378: $extrasub adamc@378: _ACEOF adamc@1095: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 adamc@378: :t adamc@378: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b adamc@1095: s|@configure_input@|$ac_sed_conf_input|;t t adamc@378: s&@top_builddir@&$ac_top_builddir_sub&;t t adamc@1095: s&@top_build_prefix@&$ac_top_build_prefix&;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@1095: " adamc@1095: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ adamc@1095: || as_fn_error "could not create $ac_file" "$LINENO" 5 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@1095: { $as_echo "$as_me:${as_lineno-$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@1095: $as_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@1095: -) cat "$tmp/out" && rm -f "$tmp/out";; adamc@1095: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; adamc@1095: esac \ adamc@1095: || as_fn_error "could not create $ac_file" "$LINENO" 5 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@1095: as_fn_exit 0 adamc@378: _ACEOF adamc@378: ac_clean_files=$ac_clean_files_save adamc@378: adamc@1095: test $ac_write_fail = 0 || adamc@1095: as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 adamc@1095: 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@1095: $ac_cs_success || as_fn_exit $? adamc@1095: fi adamc@1095: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then adamc@1095: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 adamc@1095: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} adamc@378: fi adamc@378: adamc@378: adamc@378: # show the user what the variables have been set to adamc@378: cat <