universe@48: #! /bin/sh universe@48: # Guess values for system-dependent variables and create Makefiles. universe@48: # Generated by GNU Autoconf 2.69 for cline 1.1. universe@48: # universe@48: # Report bugs to . universe@48: # universe@48: # universe@48: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. universe@48: # universe@48: # universe@48: # This configure script is free software; the Free Software Foundation universe@48: # gives unlimited permission to copy, distribute and modify it. universe@48: ## -------------------- ## universe@48: ## M4sh Initialization. ## universe@48: ## -------------------- ## universe@48: universe@48: # Be more Bourne compatible universe@48: DUALCASE=1; export DUALCASE # for MKS sh universe@48: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : universe@48: emulate sh universe@48: NULLCMD=: universe@48: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which universe@48: # is contrary to our usage. Disable this feature. universe@48: alias -g '${1+"$@"}'='"$@"' universe@48: setopt NO_GLOB_SUBST universe@48: else universe@48: case `(set -o) 2>/dev/null` in #( universe@48: *posix*) : universe@48: set -o posix ;; #( universe@48: *) : universe@48: ;; universe@48: esac universe@48: fi universe@48: universe@48: universe@48: as_nl=' universe@48: ' universe@48: export as_nl universe@48: # Printing a long string crashes Solaris 7 /usr/bin/printf. universe@48: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' universe@48: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo universe@48: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo universe@48: # Prefer a ksh shell builtin over an external printf program on Solaris, universe@48: # but without wasting forks for bash or zsh. universe@48: if test -z "$BASH_VERSION$ZSH_VERSION" \ universe@48: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then universe@48: as_echo='print -r --' universe@48: as_echo_n='print -rn --' universe@48: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then universe@48: as_echo='printf %s\n' universe@48: as_echo_n='printf %s' universe@48: else universe@48: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then universe@48: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' universe@48: as_echo_n='/usr/ucb/echo -n' universe@48: else universe@48: as_echo_body='eval expr "X$1" : "X\\(.*\\)"' universe@48: as_echo_n_body='eval universe@48: arg=$1; universe@48: case $arg in #( universe@48: *"$as_nl"*) universe@48: expr "X$arg" : "X\\(.*\\)$as_nl"; universe@48: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; universe@48: esac; universe@48: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" universe@48: ' universe@48: export as_echo_n_body universe@48: as_echo_n='sh -c $as_echo_n_body as_echo' universe@48: fi universe@48: export as_echo_body universe@48: as_echo='sh -c $as_echo_body as_echo' universe@48: fi universe@48: universe@48: # The user is always right. universe@48: if test "${PATH_SEPARATOR+set}" != set; then universe@48: PATH_SEPARATOR=: universe@48: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { universe@48: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || universe@48: PATH_SEPARATOR=';' universe@48: } universe@48: fi universe@48: universe@48: universe@48: # IFS universe@48: # We need space, tab and new line, in precisely that order. Quoting is universe@48: # there to prevent editors from complaining about space-tab. universe@48: # (If _AS_PATH_WALK were called with IFS unset, it would disable word universe@48: # splitting by setting IFS to empty value.) universe@48: IFS=" "" $as_nl" universe@48: universe@48: # Find who we are. Look in the path if we contain no directory separator. universe@48: as_myself= universe@48: case $0 in #(( universe@48: *[\\/]* ) as_myself=$0 ;; universe@48: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: ;; universe@48: esac universe@48: # We did not find ourselves, most probably we were run as `sh COMMAND' universe@48: # in which case we are not to be found in the path. universe@48: if test "x$as_myself" = x; then universe@48: as_myself=$0 universe@48: fi universe@48: if test ! -f "$as_myself"; then universe@48: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 universe@48: exit 1 universe@48: fi universe@48: universe@48: # Unset variables that we do not need and which cause bugs (e.g. in universe@48: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" universe@48: # suppresses any "Segmentation fault" message there. '((' could universe@48: # trigger a bug in pdksh 5.2.14. universe@48: for as_var in BASH_ENV ENV MAIL MAILPATH universe@48: do eval test x\${$as_var+set} = xset \ universe@48: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : universe@48: done universe@48: PS1='$ ' universe@48: PS2='> ' universe@48: PS4='+ ' universe@48: universe@48: # NLS nuisances. universe@48: LC_ALL=C universe@48: export LC_ALL universe@48: LANGUAGE=C universe@48: export LANGUAGE universe@48: universe@48: # CDPATH. universe@48: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH universe@48: universe@48: # Use a proper internal environment variable to ensure we don't fall universe@48: # into an infinite loop, continuously re-executing ourselves. universe@48: if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then universe@48: _as_can_reexec=no; export _as_can_reexec; universe@48: # We cannot yet assume a decent shell, so we have to provide a universe@48: # neutralization value for shells without unset; and this also universe@48: # works around shells that cannot unset nonexistent variables. universe@48: # Preserve -v and -x to the replacement shell. universe@48: BASH_ENV=/dev/null universe@48: ENV=/dev/null universe@48: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV universe@48: case $- in # (((( universe@48: *v*x* | *x*v* ) as_opts=-vx ;; universe@48: *v* ) as_opts=-v ;; universe@48: *x* ) as_opts=-x ;; universe@48: * ) as_opts= ;; universe@48: esac universe@48: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} universe@48: # Admittedly, this is quite paranoid, since all the known shells bail universe@48: # out after a failed `exec'. universe@48: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 universe@48: as_fn_exit 255 universe@48: fi universe@48: # We don't want this to propagate to other subprocesses. universe@48: { _as_can_reexec=; unset _as_can_reexec;} universe@48: if test "x$CONFIG_SHELL" = x; then universe@48: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : universe@48: emulate sh universe@48: NULLCMD=: universe@48: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which universe@48: # is contrary to our usage. Disable this feature. universe@48: alias -g '\${1+\"\$@\"}'='\"\$@\"' universe@48: setopt NO_GLOB_SUBST universe@48: else universe@48: case \`(set -o) 2>/dev/null\` in #( universe@48: *posix*) : universe@48: set -o posix ;; #( universe@48: *) : universe@48: ;; universe@48: esac universe@48: fi universe@48: " universe@48: as_required="as_fn_return () { (exit \$1); } universe@48: as_fn_success () { as_fn_return 0; } universe@48: as_fn_failure () { as_fn_return 1; } universe@48: as_fn_ret_success () { return 0; } universe@48: as_fn_ret_failure () { return 1; } universe@48: universe@48: exitcode=0 universe@48: as_fn_success || { exitcode=1; echo as_fn_success failed.; } universe@48: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } universe@48: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } universe@48: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } universe@48: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : universe@48: universe@48: else universe@48: exitcode=1; echo positional parameters were not saved. universe@48: fi universe@48: test x\$exitcode = x0 || exit 1 universe@48: test -x / || exit 1" universe@48: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO universe@48: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO universe@48: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && universe@48: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 universe@48: test \$(( 1 + 1 )) = 2 || exit 1" universe@48: if (eval "$as_required") 2>/dev/null; then : universe@48: as_have_required=yes universe@48: else universe@48: as_have_required=no universe@48: fi universe@48: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : universe@48: universe@48: else universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: as_found=false universe@48: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: as_found=: universe@48: case $as_dir in #( universe@48: /*) universe@48: for as_base in sh bash ksh sh5; do universe@48: # Try only shells that exist, to save several forks. universe@48: as_shell=$as_dir/$as_base universe@48: if { test -f "$as_shell" || test -f "$as_shell.exe"; } && universe@48: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : universe@48: CONFIG_SHELL=$as_shell as_have_required=yes universe@48: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : universe@48: break 2 universe@48: fi universe@48: fi universe@48: done;; universe@48: esac universe@48: as_found=false universe@48: done universe@48: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && universe@48: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : universe@48: CONFIG_SHELL=$SHELL as_have_required=yes universe@48: fi; } universe@48: IFS=$as_save_IFS universe@48: universe@48: universe@48: if test "x$CONFIG_SHELL" != x; then : universe@48: export CONFIG_SHELL universe@48: # We cannot yet assume a decent shell, so we have to provide a universe@48: # neutralization value for shells without unset; and this also universe@48: # works around shells that cannot unset nonexistent variables. universe@48: # Preserve -v and -x to the replacement shell. universe@48: BASH_ENV=/dev/null universe@48: ENV=/dev/null universe@48: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV universe@48: case $- in # (((( universe@48: *v*x* | *x*v* ) as_opts=-vx ;; universe@48: *v* ) as_opts=-v ;; universe@48: *x* ) as_opts=-x ;; universe@48: * ) as_opts= ;; universe@48: esac universe@48: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} universe@48: # Admittedly, this is quite paranoid, since all the known shells bail universe@48: # out after a failed `exec'. universe@48: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 universe@48: exit 255 universe@48: fi universe@48: universe@48: if test x$as_have_required = xno; then : universe@48: $as_echo "$0: This script requires a shell more modern than all" universe@48: $as_echo "$0: the shells that I found on your system." universe@48: if test x${ZSH_VERSION+set} = xset ; then universe@48: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" universe@48: $as_echo "$0: be upgraded to zsh 4.3.4 or later." universe@48: else universe@48: $as_echo "$0: Please tell bug-autoconf@gnu.org and universe@48: $0: universe@uap-core.de about your system, including any universe@48: $0: error possibly output before this message. Then install universe@48: $0: a modern shell, or manually run the script under such a universe@48: $0: shell if you do have one." universe@48: fi universe@48: exit 1 universe@48: fi universe@48: fi universe@48: fi universe@48: SHELL=${CONFIG_SHELL-/bin/sh} universe@48: export SHELL universe@48: # Unset more variables known to interfere with behavior of common tools. universe@48: CLICOLOR_FORCE= GREP_OPTIONS= universe@48: unset CLICOLOR_FORCE GREP_OPTIONS universe@48: universe@48: ## --------------------- ## universe@48: ## M4sh Shell Functions. ## universe@48: ## --------------------- ## universe@48: # as_fn_unset VAR universe@48: # --------------- universe@48: # Portably unset VAR. universe@48: as_fn_unset () universe@48: { universe@48: { eval $1=; unset $1;} universe@48: } universe@48: as_unset=as_fn_unset universe@48: universe@48: # as_fn_set_status STATUS universe@48: # ----------------------- universe@48: # Set $? to STATUS, without forking. universe@48: as_fn_set_status () universe@48: { universe@48: return $1 universe@48: } # as_fn_set_status universe@48: universe@48: # as_fn_exit STATUS universe@48: # ----------------- universe@48: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. universe@48: as_fn_exit () universe@48: { universe@48: set +e universe@48: as_fn_set_status $1 universe@48: exit $1 universe@48: } # as_fn_exit universe@48: universe@48: # as_fn_mkdir_p universe@48: # ------------- universe@48: # Create "$as_dir" as a directory, including parents if necessary. universe@48: as_fn_mkdir_p () universe@48: { universe@48: universe@48: case $as_dir in #( universe@48: -*) as_dir=./$as_dir;; universe@48: esac universe@48: test -d "$as_dir" || eval $as_mkdir_p || { universe@48: as_dirs= universe@48: while :; do universe@48: case $as_dir in #( universe@48: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( universe@48: *) as_qdir=$as_dir;; universe@48: esac universe@48: as_dirs="'$as_qdir' $as_dirs" universe@48: as_dir=`$as_dirname -- "$as_dir" || universe@48: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ universe@48: X"$as_dir" : 'X\(//\)[^/]' \| \ universe@48: X"$as_dir" : 'X\(//\)$' \| \ universe@48: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || universe@48: $as_echo X"$as_dir" | universe@48: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)[^/].*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\).*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: s/.*/./; q'` universe@48: test -d "$as_dir" && break universe@48: done universe@48: test -z "$as_dirs" || eval "mkdir $as_dirs" universe@48: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" universe@48: universe@48: universe@48: } # as_fn_mkdir_p universe@48: universe@48: # as_fn_executable_p FILE universe@48: # ----------------------- universe@48: # Test if FILE is an executable regular file. universe@48: as_fn_executable_p () universe@48: { universe@48: test -f "$1" && test -x "$1" universe@48: } # as_fn_executable_p universe@48: # as_fn_append VAR VALUE universe@48: # ---------------------- universe@48: # Append the text in VALUE to the end of the definition contained in VAR. Take universe@48: # advantage of any shell optimizations that allow amortized linear growth over universe@48: # repeated appends, instead of the typical quadratic growth present in naive universe@48: # implementations. universe@48: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : universe@48: eval 'as_fn_append () universe@48: { universe@48: eval $1+=\$2 universe@48: }' universe@48: else universe@48: as_fn_append () universe@48: { universe@48: eval $1=\$$1\$2 universe@48: } universe@48: fi # as_fn_append universe@48: universe@48: # as_fn_arith ARG... universe@48: # ------------------ universe@48: # Perform arithmetic evaluation on the ARGs, and store the result in the universe@48: # global $as_val. Take advantage of shells that can avoid forks. The arguments universe@48: # must be portable across $(()) and expr. universe@48: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : universe@48: eval 'as_fn_arith () universe@48: { universe@48: as_val=$(( $* )) universe@48: }' universe@48: else universe@48: as_fn_arith () universe@48: { universe@48: as_val=`expr "$@" || test $? -eq 1` universe@48: } universe@48: fi # as_fn_arith universe@48: universe@48: universe@48: # as_fn_error STATUS ERROR [LINENO LOG_FD] universe@48: # ---------------------------------------- universe@48: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are universe@48: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the universe@48: # script with STATUS, using 1 if that was 0. universe@48: as_fn_error () universe@48: { universe@48: as_status=$1; test $as_status -eq 0 && as_status=1 universe@48: if test "$4"; then universe@48: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 universe@48: fi universe@48: $as_echo "$as_me: error: $2" >&2 universe@48: as_fn_exit $as_status universe@48: } # as_fn_error universe@48: universe@48: if expr a : '\(a\)' >/dev/null 2>&1 && universe@48: test "X`expr 00001 : '.*\(...\)'`" = X001; then universe@48: as_expr=expr universe@48: else universe@48: as_expr=false universe@48: fi universe@48: universe@48: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then universe@48: as_basename=basename universe@48: else universe@48: as_basename=false universe@48: fi universe@48: universe@48: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then universe@48: as_dirname=dirname universe@48: else universe@48: as_dirname=false universe@48: fi universe@48: universe@48: as_me=`$as_basename -- "$0" || universe@48: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ universe@48: X"$0" : 'X\(//\)$' \| \ universe@48: X"$0" : 'X\(/\)' \| . 2>/dev/null || universe@48: $as_echo X/"$0" | universe@48: sed '/^.*\/\([^/][^/]*\)\/*$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\/\(\/\/\)$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\/\(\/\).*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: s/.*/./; q'` universe@48: universe@48: # Avoid depending upon Character Ranges. universe@48: as_cr_letters='abcdefghijklmnopqrstuvwxyz' universe@48: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' universe@48: as_cr_Letters=$as_cr_letters$as_cr_LETTERS universe@48: as_cr_digits='0123456789' universe@48: as_cr_alnum=$as_cr_Letters$as_cr_digits universe@48: universe@48: universe@48: as_lineno_1=$LINENO as_lineno_1a=$LINENO universe@48: as_lineno_2=$LINENO as_lineno_2a=$LINENO universe@48: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && universe@48: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { universe@48: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) universe@48: sed -n ' universe@48: p universe@48: /[$]LINENO/= universe@48: ' <$as_myself | universe@48: sed ' universe@48: s/[$]LINENO.*/&-/ universe@48: t lineno universe@48: b universe@48: :lineno universe@48: N universe@48: :loop universe@48: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ universe@48: t loop universe@48: s/-\n.*// universe@48: ' >$as_me.lineno && universe@48: chmod +x "$as_me.lineno" || universe@48: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } universe@48: universe@48: # If we had to re-execute with $CONFIG_SHELL, we're ensured to have universe@48: # already done that, so ensure we don't try to do so again and fall universe@48: # in an infinite loop. This has already happened in practice. universe@48: _as_can_reexec=no; export _as_can_reexec universe@48: # Don't try to exec as it changes $[0], causing all sort of problems universe@48: # (the dirname of $[0] is not the place where we might find the universe@48: # original and so on. Autoconf is especially sensitive to this). universe@48: . "./$as_me.lineno" universe@48: # Exit status is that of the last command. universe@48: exit universe@48: } universe@48: universe@48: ECHO_C= ECHO_N= ECHO_T= universe@48: case `echo -n x` in #((((( universe@48: -n*) universe@48: case `echo 'xy\c'` in universe@48: *c*) ECHO_T=' ';; # ECHO_T is single tab character. universe@48: xy) ECHO_C='\c';; universe@48: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null universe@48: ECHO_T=' ';; universe@48: esac;; universe@48: *) universe@48: ECHO_N='-n';; universe@48: esac universe@48: universe@48: rm -f conf$$ conf$$.exe conf$$.file universe@48: if test -d conf$$.dir; then universe@48: rm -f conf$$.dir/conf$$.file universe@48: else universe@48: rm -f conf$$.dir universe@48: mkdir conf$$.dir 2>/dev/null universe@48: fi universe@48: if (echo >conf$$.file) 2>/dev/null; then universe@48: if ln -s conf$$.file conf$$ 2>/dev/null; then universe@48: as_ln_s='ln -s' universe@48: # ... but there are two gotchas: universe@48: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. universe@48: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. universe@48: # In both cases, we have to default to `cp -pR'. universe@48: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || universe@48: as_ln_s='cp -pR' universe@48: elif ln conf$$.file conf$$ 2>/dev/null; then universe@48: as_ln_s=ln universe@48: else universe@48: as_ln_s='cp -pR' universe@48: fi universe@48: else universe@48: as_ln_s='cp -pR' universe@48: fi universe@48: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file universe@48: rmdir conf$$.dir 2>/dev/null universe@48: universe@48: if mkdir -p . 2>/dev/null; then universe@48: as_mkdir_p='mkdir -p "$as_dir"' universe@48: else universe@48: test -d ./-p && rmdir ./-p universe@48: as_mkdir_p=false universe@48: fi universe@48: universe@48: as_test_x='test -x' universe@48: as_executable_p=as_fn_executable_p universe@48: universe@48: # Sed expression to map a string onto a valid CPP name. universe@48: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" universe@48: universe@48: # Sed expression to map a string onto a valid variable name. universe@48: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" universe@48: universe@48: universe@48: test -n "$DJDIR" || exec 7<&0 &1 universe@48: universe@48: # Name of the host. universe@48: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, universe@48: # so uname gets run too. universe@48: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` universe@48: universe@48: # universe@48: # Initializations. universe@48: # universe@48: ac_default_prefix=/usr/local universe@48: ac_clean_files= universe@48: ac_config_libobj_dir=. universe@48: LIBOBJS= universe@48: cross_compiling=no universe@48: subdirs= universe@48: MFLAGS= universe@48: MAKEFLAGS= universe@48: universe@48: # Identity of this package. universe@48: PACKAGE_NAME='cline' universe@48: PACKAGE_TARNAME='cline' universe@48: PACKAGE_VERSION='1.1' universe@48: PACKAGE_STRING='cline 1.1' universe@48: PACKAGE_BUGREPORT='universe@uap-core.de' universe@48: PACKAGE_URL='' universe@48: universe@48: ac_unique_file="src/cline.c" universe@48: # Factoring default headers for most tests. universe@48: ac_includes_default="\ universe@48: #include universe@48: #ifdef HAVE_SYS_TYPES_H universe@48: # include universe@48: #endif universe@48: #ifdef HAVE_SYS_STAT_H universe@48: # include universe@48: #endif universe@48: #ifdef STDC_HEADERS universe@48: # include universe@48: # include universe@48: #else universe@48: # ifdef HAVE_STDLIB_H universe@48: # include universe@48: # endif universe@48: #endif universe@48: #ifdef HAVE_STRING_H universe@48: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H universe@48: # include universe@48: # endif universe@48: # include universe@48: #endif universe@48: #ifdef HAVE_STRINGS_H universe@48: # include universe@48: #endif universe@48: #ifdef HAVE_INTTYPES_H universe@48: # include universe@48: #endif universe@48: #ifdef HAVE_STDINT_H universe@48: # include universe@48: #endif universe@48: #ifdef HAVE_UNISTD_H universe@48: # include universe@48: #endif" universe@48: universe@48: ac_subst_vars='am__EXEEXT_FALSE universe@48: am__EXEEXT_TRUE universe@48: LTLIBOBJS universe@48: LIBOBJS universe@48: EGREP universe@48: GREP universe@48: CPP universe@48: am__fastdepCC_FALSE universe@48: am__fastdepCC_TRUE universe@48: CCDEPMODE universe@48: am__nodep universe@48: AMDEPBACKSLASH universe@48: AMDEP_FALSE universe@48: AMDEP_TRUE universe@48: am__quote universe@48: am__include universe@48: DEPDIR universe@48: OBJEXT universe@48: EXEEXT universe@48: ac_ct_CC universe@48: CPPFLAGS universe@48: LDFLAGS universe@48: CFLAGS universe@48: CC universe@48: DEBUG_FALSE universe@48: DEBUG_TRUE universe@48: AM_BACKSLASH universe@48: AM_DEFAULT_VERBOSITY universe@48: AM_DEFAULT_V universe@48: AM_V universe@48: am__untar universe@48: am__tar universe@48: AMTAR universe@48: am__leading_dot universe@48: SET_MAKE universe@48: AWK universe@48: mkdir_p universe@48: MKDIR_P universe@48: INSTALL_STRIP_PROGRAM universe@48: STRIP universe@48: install_sh universe@48: MAKEINFO universe@48: AUTOHEADER universe@48: AUTOMAKE universe@48: AUTOCONF universe@48: ACLOCAL universe@48: VERSION universe@48: PACKAGE universe@48: CYGPATH_W universe@48: am__isrc universe@48: INSTALL_DATA universe@48: INSTALL_SCRIPT universe@48: INSTALL_PROGRAM universe@48: target_alias universe@48: host_alias universe@48: build_alias universe@48: LIBS universe@48: ECHO_T universe@48: ECHO_N universe@48: ECHO_C universe@48: DEFS universe@48: mandir universe@48: localedir universe@48: libdir universe@48: psdir universe@48: pdfdir universe@48: dvidir universe@48: htmldir universe@48: infodir universe@48: docdir universe@48: oldincludedir universe@48: includedir universe@48: localstatedir universe@48: sharedstatedir universe@48: sysconfdir universe@48: datadir universe@48: datarootdir universe@48: libexecdir universe@48: sbindir universe@48: bindir universe@48: program_transform_name universe@48: prefix universe@48: exec_prefix universe@48: PACKAGE_URL universe@48: PACKAGE_BUGREPORT universe@48: PACKAGE_STRING universe@48: PACKAGE_VERSION universe@48: PACKAGE_TARNAME universe@48: PACKAGE_NAME universe@48: PATH_SEPARATOR universe@48: SHELL' universe@48: ac_subst_files='' universe@48: ac_user_opts=' universe@48: enable_option_checking universe@48: enable_silent_rules universe@48: enable_debug universe@48: enable_dependency_tracking universe@48: ' universe@48: ac_precious_vars='build_alias universe@48: host_alias universe@48: target_alias universe@48: CC universe@48: CFLAGS universe@48: LDFLAGS universe@48: LIBS universe@48: CPPFLAGS universe@48: CPP' universe@48: universe@48: universe@48: # Initialize some variables set by options. universe@48: ac_init_help= universe@48: ac_init_version=false universe@48: ac_unrecognized_opts= universe@48: ac_unrecognized_sep= universe@48: # The variables have the same names as the options, with universe@48: # dashes changed to underlines. universe@48: cache_file=/dev/null universe@48: exec_prefix=NONE universe@48: no_create= universe@48: no_recursion= universe@48: prefix=NONE universe@48: program_prefix=NONE universe@48: program_suffix=NONE universe@48: program_transform_name=s,x,x, universe@48: silent= universe@48: site= universe@48: srcdir= universe@48: verbose= universe@48: x_includes=NONE universe@48: x_libraries=NONE universe@48: universe@48: # Installation directory options. universe@48: # These are left unexpanded so users can "make install exec_prefix=/foo" universe@48: # and all the variables that are supposed to be based on exec_prefix universe@48: # by default will actually change. universe@48: # Use braces instead of parens because sh, perl, etc. also accept them. universe@48: # (The list follows the same order as the GNU Coding Standards.) universe@48: bindir='${exec_prefix}/bin' universe@48: sbindir='${exec_prefix}/sbin' universe@48: libexecdir='${exec_prefix}/libexec' universe@48: datarootdir='${prefix}/share' universe@48: datadir='${datarootdir}' universe@48: sysconfdir='${prefix}/etc' universe@48: sharedstatedir='${prefix}/com' universe@48: localstatedir='${prefix}/var' universe@48: includedir='${prefix}/include' universe@48: oldincludedir='/usr/include' universe@48: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' universe@48: infodir='${datarootdir}/info' universe@48: htmldir='${docdir}' universe@48: dvidir='${docdir}' universe@48: pdfdir='${docdir}' universe@48: psdir='${docdir}' universe@48: libdir='${exec_prefix}/lib' universe@48: localedir='${datarootdir}/locale' universe@48: mandir='${datarootdir}/man' universe@48: universe@48: ac_prev= universe@48: ac_dashdash= universe@48: for ac_option universe@48: do universe@48: # If the previous option needs an argument, assign it. universe@48: if test -n "$ac_prev"; then universe@48: eval $ac_prev=\$ac_option universe@48: ac_prev= universe@48: continue universe@48: fi universe@48: universe@48: case $ac_option in universe@48: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; universe@48: *=) ac_optarg= ;; universe@48: *) ac_optarg=yes ;; universe@48: esac universe@48: universe@48: # Accept the important Cygnus configure options, so we can diagnose typos. universe@48: universe@48: case $ac_dashdash$ac_option in universe@48: --) universe@48: ac_dashdash=yes ;; universe@48: universe@48: -bindir | --bindir | --bindi | --bind | --bin | --bi) universe@48: ac_prev=bindir ;; universe@48: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) universe@48: bindir=$ac_optarg ;; universe@48: universe@48: -build | --build | --buil | --bui | --bu) universe@48: ac_prev=build_alias ;; universe@48: -build=* | --build=* | --buil=* | --bui=* | --bu=*) universe@48: build_alias=$ac_optarg ;; universe@48: universe@48: -cache-file | --cache-file | --cache-fil | --cache-fi \ universe@48: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) universe@48: ac_prev=cache_file ;; universe@48: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ universe@48: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) universe@48: cache_file=$ac_optarg ;; universe@48: universe@48: --config-cache | -C) universe@48: cache_file=config.cache ;; universe@48: universe@48: -datadir | --datadir | --datadi | --datad) universe@48: ac_prev=datadir ;; universe@48: -datadir=* | --datadir=* | --datadi=* | --datad=*) universe@48: datadir=$ac_optarg ;; universe@48: universe@48: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ universe@48: | --dataroo | --dataro | --datar) universe@48: ac_prev=datarootdir ;; universe@48: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ universe@48: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) universe@48: datarootdir=$ac_optarg ;; universe@48: universe@48: -disable-* | --disable-*) universe@48: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` universe@48: # Reject names that are not valid shell variable names. universe@48: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && universe@48: as_fn_error $? "invalid feature name: $ac_useropt" universe@48: ac_useropt_orig=$ac_useropt universe@48: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` universe@48: case $ac_user_opts in universe@48: *" universe@48: "enable_$ac_useropt" universe@48: "*) ;; universe@48: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" universe@48: ac_unrecognized_sep=', ';; universe@48: esac universe@48: eval enable_$ac_useropt=no ;; universe@48: universe@48: -docdir | --docdir | --docdi | --doc | --do) universe@48: ac_prev=docdir ;; universe@48: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) universe@48: docdir=$ac_optarg ;; universe@48: universe@48: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) universe@48: ac_prev=dvidir ;; universe@48: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) universe@48: dvidir=$ac_optarg ;; universe@48: universe@48: -enable-* | --enable-*) universe@48: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` universe@48: # Reject names that are not valid shell variable names. universe@48: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && universe@48: as_fn_error $? "invalid feature name: $ac_useropt" universe@48: ac_useropt_orig=$ac_useropt universe@48: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` universe@48: case $ac_user_opts in universe@48: *" universe@48: "enable_$ac_useropt" universe@48: "*) ;; universe@48: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" universe@48: ac_unrecognized_sep=', ';; universe@48: esac universe@48: eval enable_$ac_useropt=\$ac_optarg ;; universe@48: universe@48: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ universe@48: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ universe@48: | --exec | --exe | --ex) universe@48: ac_prev=exec_prefix ;; universe@48: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ universe@48: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ universe@48: | --exec=* | --exe=* | --ex=*) universe@48: exec_prefix=$ac_optarg ;; universe@48: universe@48: -gas | --gas | --ga | --g) universe@48: # Obsolete; use --with-gas. universe@48: with_gas=yes ;; universe@48: universe@48: -help | --help | --hel | --he | -h) universe@48: ac_init_help=long ;; universe@48: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) universe@48: ac_init_help=recursive ;; universe@48: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) universe@48: ac_init_help=short ;; universe@48: universe@48: -host | --host | --hos | --ho) universe@48: ac_prev=host_alias ;; universe@48: -host=* | --host=* | --hos=* | --ho=*) universe@48: host_alias=$ac_optarg ;; universe@48: universe@48: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) universe@48: ac_prev=htmldir ;; universe@48: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ universe@48: | --ht=*) universe@48: htmldir=$ac_optarg ;; universe@48: universe@48: -includedir | --includedir | --includedi | --included | --include \ universe@48: | --includ | --inclu | --incl | --inc) universe@48: ac_prev=includedir ;; universe@48: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ universe@48: | --includ=* | --inclu=* | --incl=* | --inc=*) universe@48: includedir=$ac_optarg ;; universe@48: universe@48: -infodir | --infodir | --infodi | --infod | --info | --inf) universe@48: ac_prev=infodir ;; universe@48: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) universe@48: infodir=$ac_optarg ;; universe@48: universe@48: -libdir | --libdir | --libdi | --libd) universe@48: ac_prev=libdir ;; universe@48: -libdir=* | --libdir=* | --libdi=* | --libd=*) universe@48: libdir=$ac_optarg ;; universe@48: universe@48: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ universe@48: | --libexe | --libex | --libe) universe@48: ac_prev=libexecdir ;; universe@48: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ universe@48: | --libexe=* | --libex=* | --libe=*) universe@48: libexecdir=$ac_optarg ;; universe@48: universe@48: -localedir | --localedir | --localedi | --localed | --locale) universe@48: ac_prev=localedir ;; universe@48: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) universe@48: localedir=$ac_optarg ;; universe@48: universe@48: -localstatedir | --localstatedir | --localstatedi | --localstated \ universe@48: | --localstate | --localstat | --localsta | --localst | --locals) universe@48: ac_prev=localstatedir ;; universe@48: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ universe@48: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) universe@48: localstatedir=$ac_optarg ;; universe@48: universe@48: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) universe@48: ac_prev=mandir ;; universe@48: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) universe@48: mandir=$ac_optarg ;; universe@48: universe@48: -nfp | --nfp | --nf) universe@48: # Obsolete; use --without-fp. universe@48: with_fp=no ;; universe@48: universe@48: -no-create | --no-create | --no-creat | --no-crea | --no-cre \ universe@48: | --no-cr | --no-c | -n) universe@48: no_create=yes ;; universe@48: universe@48: -no-recursion | --no-recursion | --no-recursio | --no-recursi \ universe@48: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) universe@48: no_recursion=yes ;; universe@48: universe@48: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ universe@48: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ universe@48: | --oldin | --oldi | --old | --ol | --o) universe@48: ac_prev=oldincludedir ;; universe@48: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ universe@48: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ universe@48: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) universe@48: oldincludedir=$ac_optarg ;; universe@48: universe@48: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) universe@48: ac_prev=prefix ;; universe@48: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) universe@48: prefix=$ac_optarg ;; universe@48: universe@48: -program-prefix | --program-prefix | --program-prefi | --program-pref \ universe@48: | --program-pre | --program-pr | --program-p) universe@48: ac_prev=program_prefix ;; universe@48: -program-prefix=* | --program-prefix=* | --program-prefi=* \ universe@48: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) universe@48: program_prefix=$ac_optarg ;; universe@48: universe@48: -program-suffix | --program-suffix | --program-suffi | --program-suff \ universe@48: | --program-suf | --program-su | --program-s) universe@48: ac_prev=program_suffix ;; universe@48: -program-suffix=* | --program-suffix=* | --program-suffi=* \ universe@48: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) universe@48: program_suffix=$ac_optarg ;; universe@48: universe@48: -program-transform-name | --program-transform-name \ universe@48: | --program-transform-nam | --program-transform-na \ universe@48: | --program-transform-n | --program-transform- \ universe@48: | --program-transform | --program-transfor \ universe@48: | --program-transfo | --program-transf \ universe@48: | --program-trans | --program-tran \ universe@48: | --progr-tra | --program-tr | --program-t) universe@48: ac_prev=program_transform_name ;; universe@48: -program-transform-name=* | --program-transform-name=* \ universe@48: | --program-transform-nam=* | --program-transform-na=* \ universe@48: | --program-transform-n=* | --program-transform-=* \ universe@48: | --program-transform=* | --program-transfor=* \ universe@48: | --program-transfo=* | --program-transf=* \ universe@48: | --program-trans=* | --program-tran=* \ universe@48: | --progr-tra=* | --program-tr=* | --program-t=*) universe@48: program_transform_name=$ac_optarg ;; universe@48: universe@48: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) universe@48: ac_prev=pdfdir ;; universe@48: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) universe@48: pdfdir=$ac_optarg ;; universe@48: universe@48: -psdir | --psdir | --psdi | --psd | --ps) universe@48: ac_prev=psdir ;; universe@48: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) universe@48: psdir=$ac_optarg ;; universe@48: universe@48: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ universe@48: | -silent | --silent | --silen | --sile | --sil) universe@48: silent=yes ;; universe@48: universe@48: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) universe@48: ac_prev=sbindir ;; universe@48: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ universe@48: | --sbi=* | --sb=*) universe@48: sbindir=$ac_optarg ;; universe@48: universe@48: -sharedstatedir | --sharedstatedir | --sharedstatedi \ universe@48: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ universe@48: | --sharedst | --shareds | --shared | --share | --shar \ universe@48: | --sha | --sh) universe@48: ac_prev=sharedstatedir ;; universe@48: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ universe@48: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ universe@48: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ universe@48: | --sha=* | --sh=*) universe@48: sharedstatedir=$ac_optarg ;; universe@48: universe@48: -site | --site | --sit) universe@48: ac_prev=site ;; universe@48: -site=* | --site=* | --sit=*) universe@48: site=$ac_optarg ;; universe@48: universe@48: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) universe@48: ac_prev=srcdir ;; universe@48: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) universe@48: srcdir=$ac_optarg ;; universe@48: universe@48: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ universe@48: | --syscon | --sysco | --sysc | --sys | --sy) universe@48: ac_prev=sysconfdir ;; universe@48: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ universe@48: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) universe@48: sysconfdir=$ac_optarg ;; universe@48: universe@48: -target | --target | --targe | --targ | --tar | --ta | --t) universe@48: ac_prev=target_alias ;; universe@48: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) universe@48: target_alias=$ac_optarg ;; universe@48: universe@48: -v | -verbose | --verbose | --verbos | --verbo | --verb) universe@48: verbose=yes ;; universe@48: universe@48: -version | --version | --versio | --versi | --vers | -V) universe@48: ac_init_version=: ;; universe@48: universe@48: -with-* | --with-*) universe@48: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` universe@48: # Reject names that are not valid shell variable names. universe@48: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && universe@48: as_fn_error $? "invalid package name: $ac_useropt" universe@48: ac_useropt_orig=$ac_useropt universe@48: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` universe@48: case $ac_user_opts in universe@48: *" universe@48: "with_$ac_useropt" universe@48: "*) ;; universe@48: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" universe@48: ac_unrecognized_sep=', ';; universe@48: esac universe@48: eval with_$ac_useropt=\$ac_optarg ;; universe@48: universe@48: -without-* | --without-*) universe@48: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` universe@48: # Reject names that are not valid shell variable names. universe@48: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && universe@48: as_fn_error $? "invalid package name: $ac_useropt" universe@48: ac_useropt_orig=$ac_useropt universe@48: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` universe@48: case $ac_user_opts in universe@48: *" universe@48: "with_$ac_useropt" universe@48: "*) ;; universe@48: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" universe@48: ac_unrecognized_sep=', ';; universe@48: esac universe@48: eval with_$ac_useropt=no ;; universe@48: universe@48: --x) universe@48: # Obsolete; use --with-x. universe@48: with_x=yes ;; universe@48: universe@48: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ universe@48: | --x-incl | --x-inc | --x-in | --x-i) universe@48: ac_prev=x_includes ;; universe@48: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ universe@48: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) universe@48: x_includes=$ac_optarg ;; universe@48: universe@48: -x-libraries | --x-libraries | --x-librarie | --x-librari \ universe@48: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) universe@48: ac_prev=x_libraries ;; universe@48: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ universe@48: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) universe@48: x_libraries=$ac_optarg ;; universe@48: universe@48: -*) as_fn_error $? "unrecognized option: \`$ac_option' universe@48: Try \`$0 --help' for more information" universe@48: ;; universe@48: universe@48: *=*) universe@48: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` universe@48: # Reject names that are not valid shell variable names. universe@48: case $ac_envvar in #( universe@48: '' | [0-9]* | *[!_$as_cr_alnum]* ) universe@48: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; universe@48: esac universe@48: eval $ac_envvar=\$ac_optarg universe@48: export $ac_envvar ;; universe@48: universe@48: *) universe@48: # FIXME: should be removed in autoconf 3.0. universe@48: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 universe@48: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && universe@48: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 universe@48: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" universe@48: ;; universe@48: universe@48: esac universe@48: done universe@48: universe@48: if test -n "$ac_prev"; then universe@48: ac_option=--`echo $ac_prev | sed 's/_/-/g'` universe@48: as_fn_error $? "missing argument to $ac_option" universe@48: fi universe@48: universe@48: if test -n "$ac_unrecognized_opts"; then universe@48: case $enable_option_checking in universe@48: no) ;; universe@48: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; universe@48: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; universe@48: esac universe@48: fi universe@48: universe@48: # Check all directory arguments for consistency. universe@48: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ universe@48: datadir sysconfdir sharedstatedir localstatedir includedir \ universe@48: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ universe@48: libdir localedir mandir universe@48: do universe@48: eval ac_val=\$$ac_var universe@48: # Remove trailing slashes. universe@48: case $ac_val in universe@48: */ ) universe@48: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` universe@48: eval $ac_var=\$ac_val;; universe@48: esac universe@48: # Be sure to have absolute directory names. universe@48: case $ac_val in universe@48: [\\/$]* | ?:[\\/]* ) continue;; universe@48: NONE | '' ) case $ac_var in *prefix ) continue;; esac;; universe@48: esac universe@48: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" universe@48: done universe@48: universe@48: # There might be people who depend on the old broken behavior: `$host' universe@48: # used to hold the argument of --host etc. universe@48: # FIXME: To remove some day. universe@48: build=$build_alias universe@48: host=$host_alias universe@48: target=$target_alias universe@48: universe@48: # FIXME: To remove some day. universe@48: if test "x$host_alias" != x; then universe@48: if test "x$build_alias" = x; then universe@48: cross_compiling=maybe universe@48: elif test "x$build_alias" != "x$host_alias"; then universe@48: cross_compiling=yes universe@48: fi universe@48: fi universe@48: universe@48: ac_tool_prefix= universe@48: test -n "$host_alias" && ac_tool_prefix=$host_alias- universe@48: universe@48: test "$silent" = yes && exec 6>/dev/null universe@48: universe@48: universe@48: ac_pwd=`pwd` && test -n "$ac_pwd" && universe@48: ac_ls_di=`ls -di .` && universe@48: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || universe@48: as_fn_error $? "working directory cannot be determined" universe@48: test "X$ac_ls_di" = "X$ac_pwd_ls_di" || universe@48: as_fn_error $? "pwd does not report name of working directory" universe@48: universe@48: universe@48: # Find the source files, if location was not specified. universe@48: if test -z "$srcdir"; then universe@48: ac_srcdir_defaulted=yes universe@48: # Try the directory containing this script, then the parent directory. universe@48: ac_confdir=`$as_dirname -- "$as_myself" || universe@48: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ universe@48: X"$as_myself" : 'X\(//\)[^/]' \| \ universe@48: X"$as_myself" : 'X\(//\)$' \| \ universe@48: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || universe@48: $as_echo X"$as_myself" | universe@48: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)[^/].*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\).*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: s/.*/./; q'` universe@48: srcdir=$ac_confdir universe@48: if test ! -r "$srcdir/$ac_unique_file"; then universe@48: srcdir=.. universe@48: fi universe@48: else universe@48: ac_srcdir_defaulted=no universe@48: fi universe@48: if test ! -r "$srcdir/$ac_unique_file"; then universe@48: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." universe@48: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" universe@48: fi universe@48: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" universe@48: ac_abs_confdir=`( universe@48: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" universe@48: pwd)` universe@48: # When building in place, set srcdir=. universe@48: if test "$ac_abs_confdir" = "$ac_pwd"; then universe@48: srcdir=. universe@48: fi universe@48: # Remove unnecessary trailing slashes from srcdir. universe@48: # Double slashes in file names in object file debugging info universe@48: # mess up M-x gdb in Emacs. universe@48: case $srcdir in universe@48: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; universe@48: esac universe@48: for ac_var in $ac_precious_vars; do universe@48: eval ac_env_${ac_var}_set=\${${ac_var}+set} universe@48: eval ac_env_${ac_var}_value=\$${ac_var} universe@48: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} universe@48: eval ac_cv_env_${ac_var}_value=\$${ac_var} universe@48: done universe@48: universe@48: # universe@48: # Report the --help message. universe@48: # universe@48: if test "$ac_init_help" = "long"; then universe@48: # Omit some internal or obsolete options to make the list less imposing. universe@48: # This message is too long to be a string in the A/UX 3.1 sh. universe@48: cat <<_ACEOF universe@48: \`configure' configures cline 1.1 to adapt to many kinds of systems. universe@48: universe@48: Usage: $0 [OPTION]... [VAR=VALUE]... universe@48: universe@48: To assign environment variables (e.g., CC, CFLAGS...), specify them as universe@48: VAR=VALUE. See below for descriptions of some of the useful variables. universe@48: universe@48: Defaults for the options are specified in brackets. universe@48: universe@48: Configuration: universe@48: -h, --help display this help and exit universe@48: --help=short display options specific to this package universe@48: --help=recursive display the short help of all the included packages universe@48: -V, --version display version information and exit universe@48: -q, --quiet, --silent do not print \`checking ...' messages universe@48: --cache-file=FILE cache test results in FILE [disabled] universe@48: -C, --config-cache alias for \`--cache-file=config.cache' universe@48: -n, --no-create do not create output files universe@48: --srcdir=DIR find the sources in DIR [configure dir or \`..'] universe@48: universe@48: Installation directories: universe@48: --prefix=PREFIX install architecture-independent files in PREFIX universe@48: [$ac_default_prefix] universe@48: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX universe@48: [PREFIX] universe@48: universe@48: By default, \`make install' will install all the files in universe@48: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify universe@48: an installation prefix other than \`$ac_default_prefix' using \`--prefix', universe@48: for instance \`--prefix=\$HOME'. universe@48: universe@48: For better control, use the options below. universe@48: universe@48: Fine tuning of the installation directories: universe@48: --bindir=DIR user executables [EPREFIX/bin] universe@48: --sbindir=DIR system admin executables [EPREFIX/sbin] universe@48: --libexecdir=DIR program executables [EPREFIX/libexec] universe@48: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] universe@48: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] universe@48: --localstatedir=DIR modifiable single-machine data [PREFIX/var] universe@48: --libdir=DIR object code libraries [EPREFIX/lib] universe@48: --includedir=DIR C header files [PREFIX/include] universe@48: --oldincludedir=DIR C header files for non-gcc [/usr/include] universe@48: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] universe@48: --datadir=DIR read-only architecture-independent data [DATAROOTDIR] universe@48: --infodir=DIR info documentation [DATAROOTDIR/info] universe@48: --localedir=DIR locale-dependent data [DATAROOTDIR/locale] universe@48: --mandir=DIR man documentation [DATAROOTDIR/man] universe@48: --docdir=DIR documentation root [DATAROOTDIR/doc/cline] universe@48: --htmldir=DIR html documentation [DOCDIR] universe@48: --dvidir=DIR dvi documentation [DOCDIR] universe@48: --pdfdir=DIR pdf documentation [DOCDIR] universe@48: --psdir=DIR ps documentation [DOCDIR] universe@48: _ACEOF universe@48: universe@48: cat <<\_ACEOF universe@48: universe@48: Program names: universe@48: --program-prefix=PREFIX prepend PREFIX to installed program names universe@48: --program-suffix=SUFFIX append SUFFIX to installed program names universe@48: --program-transform-name=PROGRAM run sed PROGRAM on installed program names universe@48: _ACEOF universe@48: fi universe@48: universe@48: if test -n "$ac_init_help"; then universe@48: case $ac_init_help in universe@48: short | recursive ) echo "Configuration of cline 1.1:";; universe@48: esac universe@48: cat <<\_ACEOF universe@48: universe@48: Optional Features: universe@48: --disable-option-checking ignore unrecognized --enable/--with options universe@48: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) universe@48: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] universe@48: --enable-silent-rules less verbose build output (undo: "make V=1") universe@48: --disable-silent-rules verbose build output (undo: "make V=0") universe@48: --enable-debug Turn on debugging universe@48: --enable-dependency-tracking universe@48: do not reject slow dependency extractors universe@48: --disable-dependency-tracking universe@48: speeds up one-time build universe@48: universe@48: Some influential environment variables: universe@48: CC C compiler command universe@48: CFLAGS C compiler flags universe@48: LDFLAGS linker flags, e.g. -L if you have libraries in a universe@48: nonstandard directory universe@48: LIBS libraries to pass to the linker, e.g. -l universe@48: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if universe@48: you have headers in a nonstandard directory universe@48: CPP C preprocessor universe@48: universe@48: Use these variables to override the choices made by `configure' or to help universe@48: it to find libraries and programs with nonstandard names/locations. universe@48: universe@48: Report bugs to . universe@48: _ACEOF universe@48: ac_status=$? universe@48: fi universe@48: universe@48: if test "$ac_init_help" = "recursive"; then universe@48: # If there are subdirs, report their specific --help. universe@48: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue universe@48: test -d "$ac_dir" || universe@48: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || universe@48: continue universe@48: ac_builddir=. universe@48: universe@48: case "$ac_dir" in universe@48: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; universe@48: *) universe@48: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` universe@48: # A ".." for each directory in $ac_dir_suffix. universe@48: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` universe@48: case $ac_top_builddir_sub in universe@48: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; universe@48: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; universe@48: esac ;; universe@48: esac universe@48: ac_abs_top_builddir=$ac_pwd universe@48: ac_abs_builddir=$ac_pwd$ac_dir_suffix universe@48: # for backward compatibility: universe@48: ac_top_builddir=$ac_top_build_prefix universe@48: universe@48: case $srcdir in universe@48: .) # We are building in place. universe@48: ac_srcdir=. universe@48: ac_top_srcdir=$ac_top_builddir_sub universe@48: ac_abs_top_srcdir=$ac_pwd ;; universe@48: [\\/]* | ?:[\\/]* ) # Absolute name. universe@48: ac_srcdir=$srcdir$ac_dir_suffix; universe@48: ac_top_srcdir=$srcdir universe@48: ac_abs_top_srcdir=$srcdir ;; universe@48: *) # Relative name. universe@48: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix universe@48: ac_top_srcdir=$ac_top_build_prefix$srcdir universe@48: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; universe@48: esac universe@48: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix universe@48: universe@48: cd "$ac_dir" || { ac_status=$?; continue; } universe@48: # Check for guested configure. universe@48: if test -f "$ac_srcdir/configure.gnu"; then universe@48: echo && universe@48: $SHELL "$ac_srcdir/configure.gnu" --help=recursive universe@48: elif test -f "$ac_srcdir/configure"; then universe@48: echo && universe@48: $SHELL "$ac_srcdir/configure" --help=recursive universe@48: else universe@48: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 universe@48: fi || ac_status=$? universe@48: cd "$ac_pwd" || { ac_status=$?; break; } universe@48: done universe@48: fi universe@48: universe@48: test -n "$ac_init_help" && exit $ac_status universe@48: if $ac_init_version; then universe@48: cat <<\_ACEOF universe@48: cline configure 1.1 universe@48: generated by GNU Autoconf 2.69 universe@48: universe@48: Copyright (C) 2012 Free Software Foundation, Inc. universe@48: This configure script is free software; the Free Software Foundation universe@48: gives unlimited permission to copy, distribute and modify it. universe@48: _ACEOF universe@48: exit universe@48: fi universe@48: universe@48: ## ------------------------ ## universe@48: ## Autoconf initialization. ## universe@48: ## ------------------------ ## universe@48: universe@48: # ac_fn_c_try_compile LINENO universe@48: # -------------------------- universe@48: # Try to compile conftest.$ac_ext, and return whether this succeeded. universe@48: ac_fn_c_try_compile () universe@48: { universe@48: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack universe@48: rm -f conftest.$ac_objext universe@48: if { { ac_try="$ac_compile" universe@48: case "(($ac_try" in universe@48: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; universe@48: *) ac_try_echo=$ac_try;; universe@48: esac universe@48: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" universe@48: $as_echo "$ac_try_echo"; } >&5 universe@48: (eval "$ac_compile") 2>conftest.err universe@48: ac_status=$? universe@48: if test -s conftest.err; then universe@48: grep -v '^ *+' conftest.err >conftest.er1 universe@48: cat conftest.er1 >&5 universe@48: mv -f conftest.er1 conftest.err universe@48: fi universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 universe@48: test $ac_status = 0; } && { universe@48: test -z "$ac_c_werror_flag" || universe@48: test ! -s conftest.err universe@48: } && test -s conftest.$ac_objext; then : universe@48: ac_retval=0 universe@48: else universe@48: $as_echo "$as_me: failed program was:" >&5 universe@48: sed 's/^/| /' conftest.$ac_ext >&5 universe@48: universe@48: ac_retval=1 universe@48: fi universe@48: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno universe@48: as_fn_set_status $ac_retval universe@48: universe@48: } # ac_fn_c_try_compile universe@48: universe@48: # ac_fn_c_try_cpp LINENO universe@48: # ---------------------- universe@48: # Try to preprocess conftest.$ac_ext, and return whether this succeeded. universe@48: ac_fn_c_try_cpp () universe@48: { universe@48: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack universe@48: if { { ac_try="$ac_cpp conftest.$ac_ext" universe@48: case "(($ac_try" in universe@48: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; universe@48: *) ac_try_echo=$ac_try;; universe@48: esac universe@48: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" universe@48: $as_echo "$ac_try_echo"; } >&5 universe@48: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err universe@48: ac_status=$? universe@48: if test -s conftest.err; then universe@48: grep -v '^ *+' conftest.err >conftest.er1 universe@48: cat conftest.er1 >&5 universe@48: mv -f conftest.er1 conftest.err universe@48: fi universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 universe@48: test $ac_status = 0; } > conftest.i && { universe@48: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || universe@48: test ! -s conftest.err universe@48: }; then : universe@48: ac_retval=0 universe@48: else universe@48: $as_echo "$as_me: failed program was:" >&5 universe@48: sed 's/^/| /' conftest.$ac_ext >&5 universe@48: universe@48: ac_retval=1 universe@48: fi universe@48: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno universe@48: as_fn_set_status $ac_retval universe@48: universe@48: } # ac_fn_c_try_cpp universe@48: universe@48: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES universe@48: # ------------------------------------------------------- universe@48: # Tests whether HEADER exists, giving a warning if it cannot be compiled using universe@48: # the include files in INCLUDES and setting the cache variable VAR universe@48: # accordingly. universe@48: ac_fn_c_check_header_mongrel () universe@48: { universe@48: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack universe@48: if eval \${$3+:} false; then : universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 universe@48: $as_echo_n "checking for $2... " >&6; } universe@48: if eval \${$3+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: fi universe@48: eval ac_res=\$$3 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 universe@48: $as_echo "$ac_res" >&6; } universe@48: else universe@48: # Is the header compilable? universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 universe@48: $as_echo_n "checking $2 usability... " >&6; } universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: $4 universe@48: #include <$2> universe@48: _ACEOF universe@48: if ac_fn_c_try_compile "$LINENO"; then : universe@48: ac_header_compiler=yes universe@48: else universe@48: ac_header_compiler=no universe@48: fi universe@48: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 universe@48: $as_echo "$ac_header_compiler" >&6; } universe@48: universe@48: # Is the header present? universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 universe@48: $as_echo_n "checking $2 presence... " >&6; } universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #include <$2> universe@48: _ACEOF universe@48: if ac_fn_c_try_cpp "$LINENO"; then : universe@48: ac_header_preproc=yes universe@48: else universe@48: ac_header_preproc=no universe@48: fi universe@48: rm -f conftest.err conftest.i conftest.$ac_ext universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 universe@48: $as_echo "$ac_header_preproc" >&6; } universe@48: universe@48: # So? What about this header? universe@48: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( universe@48: yes:no: ) universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 universe@48: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 universe@48: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} universe@48: ;; universe@48: no:yes:* ) universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 universe@48: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 universe@48: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 universe@48: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 universe@48: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 universe@48: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} universe@48: ( $as_echo "## ----------------------------------- ## universe@48: ## Report this to universe@uap-core.de ## universe@48: ## ----------------------------------- ##" universe@48: ) | sed "s/^/$as_me: WARNING: /" >&2 universe@48: ;; universe@48: esac universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 universe@48: $as_echo_n "checking for $2... " >&6; } universe@48: if eval \${$3+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: eval "$3=\$ac_header_compiler" universe@48: fi universe@48: eval ac_res=\$$3 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 universe@48: $as_echo "$ac_res" >&6; } universe@48: fi universe@48: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno universe@48: universe@48: } # ac_fn_c_check_header_mongrel universe@48: universe@48: # ac_fn_c_try_run LINENO universe@48: # ---------------------- universe@48: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes universe@48: # that executables *can* be run. universe@48: ac_fn_c_try_run () universe@48: { universe@48: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack universe@48: if { { ac_try="$ac_link" universe@48: case "(($ac_try" in universe@48: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; universe@48: *) ac_try_echo=$ac_try;; universe@48: esac universe@48: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" universe@48: $as_echo "$ac_try_echo"; } >&5 universe@48: (eval "$ac_link") 2>&5 universe@48: ac_status=$? universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 universe@48: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' universe@48: { { case "(($ac_try" in universe@48: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; universe@48: *) ac_try_echo=$ac_try;; universe@48: esac universe@48: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" universe@48: $as_echo "$ac_try_echo"; } >&5 universe@48: (eval "$ac_try") 2>&5 universe@48: ac_status=$? universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 universe@48: test $ac_status = 0; }; }; then : universe@48: ac_retval=0 universe@48: else universe@48: $as_echo "$as_me: program exited with status $ac_status" >&5 universe@48: $as_echo "$as_me: failed program was:" >&5 universe@48: sed 's/^/| /' conftest.$ac_ext >&5 universe@48: universe@48: ac_retval=$ac_status universe@48: fi universe@48: rm -rf conftest.dSYM conftest_ipa8_conftest.oo universe@48: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno universe@48: as_fn_set_status $ac_retval universe@48: universe@48: } # ac_fn_c_try_run universe@48: universe@48: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES universe@48: # ------------------------------------------------------- universe@48: # Tests whether HEADER exists and can be compiled using the include files in universe@48: # INCLUDES, setting the cache variable VAR accordingly. universe@48: ac_fn_c_check_header_compile () universe@48: { universe@48: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 universe@48: $as_echo_n "checking for $2... " >&6; } universe@48: if eval \${$3+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: $4 universe@48: #include <$2> universe@48: _ACEOF universe@48: if ac_fn_c_try_compile "$LINENO"; then : universe@48: eval "$3=yes" universe@48: else universe@48: eval "$3=no" universe@48: fi universe@48: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext universe@48: fi universe@48: eval ac_res=\$$3 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 universe@48: $as_echo "$ac_res" >&6; } universe@48: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno universe@48: universe@48: } # ac_fn_c_check_header_compile universe@48: universe@48: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES universe@48: # ------------------------------------------- universe@48: # Tests whether TYPE exists after having included INCLUDES, setting cache universe@48: # variable VAR accordingly. universe@48: ac_fn_c_check_type () universe@48: { universe@48: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 universe@48: $as_echo_n "checking for $2... " >&6; } universe@48: if eval \${$3+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: eval "$3=no" universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: $4 universe@48: int universe@48: main () universe@48: { universe@48: if (sizeof ($2)) universe@48: return 0; universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: if ac_fn_c_try_compile "$LINENO"; then : universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: $4 universe@48: int universe@48: main () universe@48: { universe@48: if (sizeof (($2))) universe@48: return 0; universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: if ac_fn_c_try_compile "$LINENO"; then : universe@48: universe@48: else universe@48: eval "$3=yes" universe@48: fi universe@48: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext universe@48: fi universe@48: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext universe@48: fi universe@48: eval ac_res=\$$3 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 universe@48: $as_echo "$ac_res" >&6; } universe@48: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno universe@48: universe@48: } # ac_fn_c_check_type universe@48: universe@48: # ac_fn_c_try_link LINENO universe@48: # ----------------------- universe@48: # Try to link conftest.$ac_ext, and return whether this succeeded. universe@48: ac_fn_c_try_link () universe@48: { universe@48: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack universe@48: rm -f conftest.$ac_objext conftest$ac_exeext universe@48: if { { ac_try="$ac_link" universe@48: case "(($ac_try" in universe@48: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; universe@48: *) ac_try_echo=$ac_try;; universe@48: esac universe@48: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" universe@48: $as_echo "$ac_try_echo"; } >&5 universe@48: (eval "$ac_link") 2>conftest.err universe@48: ac_status=$? universe@48: if test -s conftest.err; then universe@48: grep -v '^ *+' conftest.err >conftest.er1 universe@48: cat conftest.er1 >&5 universe@48: mv -f conftest.er1 conftest.err universe@48: fi universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 universe@48: test $ac_status = 0; } && { universe@48: test -z "$ac_c_werror_flag" || universe@48: test ! -s conftest.err universe@48: } && test -s conftest$ac_exeext && { universe@48: test "$cross_compiling" = yes || universe@48: test -x conftest$ac_exeext universe@48: }; then : universe@48: ac_retval=0 universe@48: else universe@48: $as_echo "$as_me: failed program was:" >&5 universe@48: sed 's/^/| /' conftest.$ac_ext >&5 universe@48: universe@48: ac_retval=1 universe@48: fi universe@48: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information universe@48: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would universe@48: # interfere with the next link command; also delete a directory that is universe@48: # left behind by Apple's compiler. We do this before executing the actions. universe@48: rm -rf conftest.dSYM conftest_ipa8_conftest.oo universe@48: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno universe@48: as_fn_set_status $ac_retval universe@48: universe@48: } # ac_fn_c_try_link universe@48: universe@48: # ac_fn_c_check_func LINENO FUNC VAR universe@48: # ---------------------------------- universe@48: # Tests whether FUNC exists, setting the cache variable VAR accordingly universe@48: ac_fn_c_check_func () universe@48: { universe@48: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 universe@48: $as_echo_n "checking for $2... " >&6; } universe@48: if eval \${$3+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: /* Define $2 to an innocuous variant, in case declares $2. universe@48: For example, HP-UX 11i declares gettimeofday. */ universe@48: #define $2 innocuous_$2 universe@48: universe@48: /* System header to define __stub macros and hopefully few prototypes, universe@48: which can conflict with char $2 (); below. universe@48: Prefer to if __STDC__ is defined, since universe@48: exists even on freestanding compilers. */ universe@48: universe@48: #ifdef __STDC__ universe@48: # include universe@48: #else universe@48: # include universe@48: #endif universe@48: universe@48: #undef $2 universe@48: universe@48: /* Override any GCC internal prototype to avoid an error. universe@48: Use char because int might match the return type of a GCC universe@48: builtin and then its argument prototype would still apply. */ universe@48: #ifdef __cplusplus universe@48: extern "C" universe@48: #endif universe@48: char $2 (); universe@48: /* The GNU C library defines this for functions which it implements universe@48: to always fail with ENOSYS. Some functions are actually named universe@48: something starting with __ and the normal name is an alias. */ universe@48: #if defined __stub_$2 || defined __stub___$2 universe@48: choke me universe@48: #endif universe@48: universe@48: int universe@48: main () universe@48: { universe@48: return $2 (); universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: if ac_fn_c_try_link "$LINENO"; then : universe@48: eval "$3=yes" universe@48: else universe@48: eval "$3=no" universe@48: fi universe@48: rm -f core conftest.err conftest.$ac_objext \ universe@48: conftest$ac_exeext conftest.$ac_ext universe@48: fi universe@48: eval ac_res=\$$3 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 universe@48: $as_echo "$ac_res" >&6; } universe@48: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno universe@48: universe@48: } # ac_fn_c_check_func universe@48: cat >config.log <<_ACEOF universe@48: This file contains any messages produced by compilers while universe@48: running configure, to aid debugging if configure makes a mistake. universe@48: universe@48: It was created by cline $as_me 1.1, which was universe@48: generated by GNU Autoconf 2.69. Invocation command line was universe@48: universe@48: $ $0 $@ universe@48: universe@48: _ACEOF universe@48: exec 5>>config.log universe@48: { universe@48: cat <<_ASUNAME universe@48: ## --------- ## universe@48: ## Platform. ## universe@48: ## --------- ## universe@48: universe@48: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` universe@48: uname -m = `(uname -m) 2>/dev/null || echo unknown` universe@48: uname -r = `(uname -r) 2>/dev/null || echo unknown` universe@48: uname -s = `(uname -s) 2>/dev/null || echo unknown` universe@48: uname -v = `(uname -v) 2>/dev/null || echo unknown` universe@48: universe@48: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` universe@48: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` universe@48: universe@48: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` universe@48: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` universe@48: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` universe@48: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` universe@48: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` universe@48: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` universe@48: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` universe@48: universe@48: _ASUNAME universe@48: universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: $as_echo "PATH: $as_dir" universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: } >&5 universe@48: universe@48: cat >&5 <<_ACEOF universe@48: universe@48: universe@48: ## ----------- ## universe@48: ## Core tests. ## universe@48: ## ----------- ## universe@48: universe@48: _ACEOF universe@48: universe@48: universe@48: # Keep a trace of the command line. universe@48: # Strip out --no-create and --no-recursion so they do not pile up. universe@48: # Strip out --silent because we don't want to record it for future runs. universe@48: # Also quote any args containing shell meta-characters. universe@48: # Make two passes to allow for proper duplicate-argument suppression. universe@48: ac_configure_args= universe@48: ac_configure_args0= universe@48: ac_configure_args1= universe@48: ac_must_keep_next=false universe@48: for ac_pass in 1 2 universe@48: do universe@48: for ac_arg universe@48: do universe@48: case $ac_arg in universe@48: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; universe@48: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ universe@48: | -silent | --silent | --silen | --sile | --sil) universe@48: continue ;; universe@48: *\'*) universe@48: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; universe@48: esac universe@48: case $ac_pass in universe@48: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; universe@48: 2) universe@48: as_fn_append ac_configure_args1 " '$ac_arg'" universe@48: if test $ac_must_keep_next = true; then universe@48: ac_must_keep_next=false # Got value, back to normal. universe@48: else universe@48: case $ac_arg in universe@48: *=* | --config-cache | -C | -disable-* | --disable-* \ universe@48: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ universe@48: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ universe@48: | -with-* | --with-* | -without-* | --without-* | --x) universe@48: case "$ac_configure_args0 " in universe@48: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; universe@48: esac universe@48: ;; universe@48: -* ) ac_must_keep_next=true ;; universe@48: esac universe@48: fi universe@48: as_fn_append ac_configure_args " '$ac_arg'" universe@48: ;; universe@48: esac universe@48: done universe@48: done universe@48: { ac_configure_args0=; unset ac_configure_args0;} universe@48: { ac_configure_args1=; unset ac_configure_args1;} universe@48: universe@48: # When interrupted or exit'd, cleanup temporary files, and complete universe@48: # config.log. We remove comments because anyway the quotes in there universe@48: # would cause problems or look ugly. universe@48: # WARNING: Use '\'' to represent an apostrophe within the trap. universe@48: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. universe@48: trap 'exit_status=$? universe@48: # Save into config.log some information that might help in debugging. universe@48: { universe@48: echo universe@48: universe@48: $as_echo "## ---------------- ## universe@48: ## Cache variables. ## universe@48: ## ---------------- ##" universe@48: echo universe@48: # The following way of writing the cache mishandles newlines in values, universe@48: ( universe@48: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do universe@48: eval ac_val=\$$ac_var universe@48: case $ac_val in #( universe@48: *${as_nl}*) universe@48: case $ac_var in #( universe@48: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 universe@48: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; universe@48: esac universe@48: case $ac_var in #( universe@48: _ | IFS | as_nl) ;; #( universe@48: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( universe@48: *) { eval $ac_var=; unset $ac_var;} ;; universe@48: esac ;; universe@48: esac universe@48: done universe@48: (set) 2>&1 | universe@48: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( universe@48: *${as_nl}ac_space=\ *) universe@48: sed -n \ universe@48: "s/'\''/'\''\\\\'\'''\''/g; universe@48: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" universe@48: ;; #( universe@48: *) universe@48: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" universe@48: ;; universe@48: esac | universe@48: sort universe@48: ) universe@48: echo universe@48: universe@48: $as_echo "## ----------------- ## universe@48: ## Output variables. ## universe@48: ## ----------------- ##" universe@48: echo universe@48: for ac_var in $ac_subst_vars universe@48: do universe@48: eval ac_val=\$$ac_var universe@48: case $ac_val in universe@48: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; universe@48: esac universe@48: $as_echo "$ac_var='\''$ac_val'\''" universe@48: done | sort universe@48: echo universe@48: universe@48: if test -n "$ac_subst_files"; then universe@48: $as_echo "## ------------------- ## universe@48: ## File substitutions. ## universe@48: ## ------------------- ##" universe@48: echo universe@48: for ac_var in $ac_subst_files universe@48: do universe@48: eval ac_val=\$$ac_var universe@48: case $ac_val in universe@48: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; universe@48: esac universe@48: $as_echo "$ac_var='\''$ac_val'\''" universe@48: done | sort universe@48: echo universe@48: fi universe@48: universe@48: if test -s confdefs.h; then universe@48: $as_echo "## ----------- ## universe@48: ## confdefs.h. ## universe@48: ## ----------- ##" universe@48: echo universe@48: cat confdefs.h universe@48: echo universe@48: fi universe@48: test "$ac_signal" != 0 && universe@48: $as_echo "$as_me: caught signal $ac_signal" universe@48: $as_echo "$as_me: exit $exit_status" universe@48: } >&5 universe@48: rm -f core *.core core.conftest.* && universe@48: rm -f -r conftest* confdefs* conf$$* $ac_clean_files && universe@48: exit $exit_status universe@48: ' 0 universe@48: for ac_signal in 1 2 13 15; do universe@48: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal universe@48: done universe@48: ac_signal=0 universe@48: universe@48: # confdefs.h avoids OS command line length limits that DEFS can exceed. universe@48: rm -f -r conftest* confdefs.h universe@48: universe@48: $as_echo "/* confdefs.h */" > confdefs.h universe@48: universe@48: # Predefined preprocessor variables. universe@48: universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define PACKAGE_NAME "$PACKAGE_NAME" universe@48: _ACEOF universe@48: universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define PACKAGE_TARNAME "$PACKAGE_TARNAME" universe@48: _ACEOF universe@48: universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define PACKAGE_VERSION "$PACKAGE_VERSION" universe@48: _ACEOF universe@48: universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define PACKAGE_STRING "$PACKAGE_STRING" universe@48: _ACEOF universe@48: universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" universe@48: _ACEOF universe@48: universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define PACKAGE_URL "$PACKAGE_URL" universe@48: _ACEOF universe@48: universe@48: universe@48: # Let the site file select an alternate cache file if it wants to. universe@48: # Prefer an explicitly selected file to automatically selected ones. universe@48: ac_site_file1=NONE universe@48: ac_site_file2=NONE universe@48: if test -n "$CONFIG_SITE"; then universe@48: # We do not want a PATH search for config.site. universe@48: case $CONFIG_SITE in #(( universe@48: -*) ac_site_file1=./$CONFIG_SITE;; universe@48: */*) ac_site_file1=$CONFIG_SITE;; universe@48: *) ac_site_file1=./$CONFIG_SITE;; universe@48: esac universe@48: elif test "x$prefix" != xNONE; then universe@48: ac_site_file1=$prefix/share/config.site universe@48: ac_site_file2=$prefix/etc/config.site universe@48: else universe@48: ac_site_file1=$ac_default_prefix/share/config.site universe@48: ac_site_file2=$ac_default_prefix/etc/config.site universe@48: fi universe@48: for ac_site_file in "$ac_site_file1" "$ac_site_file2" universe@48: do universe@48: test "x$ac_site_file" = xNONE && continue universe@48: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 universe@48: $as_echo "$as_me: loading site script $ac_site_file" >&6;} universe@48: sed 's/^/| /' "$ac_site_file" >&5 universe@48: . "$ac_site_file" \ universe@48: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 universe@48: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} universe@48: as_fn_error $? "failed to load site script $ac_site_file universe@48: See \`config.log' for more details" "$LINENO" 5; } universe@48: fi universe@48: done universe@48: universe@48: if test -r "$cache_file"; then universe@48: # Some versions of bash will fail to source /dev/null (special files universe@48: # actually), so we avoid doing that. DJGPP emulates it as a regular file. universe@48: if test /dev/null != "$cache_file" && test -f "$cache_file"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 universe@48: $as_echo "$as_me: loading cache $cache_file" >&6;} universe@48: case $cache_file in universe@48: [\\/]* | ?:[\\/]* ) . "$cache_file";; universe@48: *) . "./$cache_file";; universe@48: esac universe@48: fi universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 universe@48: $as_echo "$as_me: creating cache $cache_file" >&6;} universe@48: >$cache_file universe@48: fi universe@48: universe@48: # Check that the precious variables saved in the cache have kept the same universe@48: # value. universe@48: ac_cache_corrupted=false universe@48: for ac_var in $ac_precious_vars; do universe@48: eval ac_old_set=\$ac_cv_env_${ac_var}_set universe@48: eval ac_new_set=\$ac_env_${ac_var}_set universe@48: eval ac_old_val=\$ac_cv_env_${ac_var}_value universe@48: eval ac_new_val=\$ac_env_${ac_var}_value universe@48: case $ac_old_set,$ac_new_set in universe@48: set,) universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 universe@48: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} universe@48: ac_cache_corrupted=: ;; universe@48: ,set) universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 universe@48: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} universe@48: ac_cache_corrupted=: ;; universe@48: ,);; universe@48: *) universe@48: if test "x$ac_old_val" != "x$ac_new_val"; then universe@48: # differences in whitespace do not lead to failure. universe@48: ac_old_val_w=`echo x $ac_old_val` universe@48: ac_new_val_w=`echo x $ac_new_val` universe@48: if test "$ac_old_val_w" != "$ac_new_val_w"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 universe@48: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} universe@48: ac_cache_corrupted=: universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 universe@48: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} universe@48: eval $ac_var=\$ac_old_val universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 universe@48: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 universe@48: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} universe@48: fi;; universe@48: esac universe@48: # Pass precious variables to config.status. universe@48: if test "$ac_new_set" = set; then universe@48: case $ac_new_val in universe@48: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; universe@48: *) ac_arg=$ac_var=$ac_new_val ;; universe@48: esac universe@48: case " $ac_configure_args " in universe@48: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. universe@48: *) as_fn_append ac_configure_args " '$ac_arg'" ;; universe@48: esac universe@48: fi universe@48: done universe@48: if $ac_cache_corrupted; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 universe@48: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 universe@48: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} universe@48: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 universe@48: fi universe@48: ## -------------------- ## universe@48: ## Main body of script. ## universe@48: ## -------------------- ## universe@48: universe@48: ac_ext=c universe@48: ac_cpp='$CPP $CPPFLAGS' universe@48: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' universe@48: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' universe@48: ac_compiler_gnu=$ac_cv_c_compiler_gnu universe@48: universe@48: universe@48: universe@48: ac_config_headers="$ac_config_headers config.h" universe@48: universe@48: am__api_version='1.13' universe@48: universe@48: ac_aux_dir= universe@48: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do universe@48: if test -f "$ac_dir/install-sh"; then universe@48: ac_aux_dir=$ac_dir universe@48: ac_install_sh="$ac_aux_dir/install-sh -c" universe@48: break universe@48: elif test -f "$ac_dir/install.sh"; then universe@48: ac_aux_dir=$ac_dir universe@48: ac_install_sh="$ac_aux_dir/install.sh -c" universe@48: break universe@48: elif test -f "$ac_dir/shtool"; then universe@48: ac_aux_dir=$ac_dir universe@48: ac_install_sh="$ac_aux_dir/shtool install -c" universe@48: break universe@48: fi universe@48: done universe@48: if test -z "$ac_aux_dir"; then universe@48: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 universe@48: fi universe@48: universe@48: # These three variables are undocumented and unsupported, universe@48: # and are intended to be withdrawn in a future Autoconf release. universe@48: # They can cause serious problems if a builder's source tree is in a directory universe@48: # whose full name contains unusual characters. universe@48: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. universe@48: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. universe@48: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. universe@48: universe@48: universe@48: # Find a good install program. We prefer a C program (faster), universe@48: # so one script is as good as another. But avoid the broken or universe@48: # incompatible versions: universe@48: # SysV /etc/install, /usr/sbin/install universe@48: # SunOS /usr/etc/install universe@48: # IRIX /sbin/install universe@48: # AIX /bin/install universe@48: # AmigaOS /C/install, which installs bootblocks on floppy discs universe@48: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag universe@48: # AFS /usr/afsws/bin/install, which mishandles nonexistent args universe@48: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" universe@48: # OS/2's system install, which has a completely different semantic universe@48: # ./install, which can be erroneously created by make from ./install.sh. universe@48: # Reject install programs that cannot install multiple files. universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 universe@48: $as_echo_n "checking for a BSD-compatible install... " >&6; } universe@48: if test -z "$INSTALL"; then universe@48: if ${ac_cv_path_install+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: # Account for people who put trailing slashes in PATH elements. universe@48: case $as_dir/ in #(( universe@48: ./ | .// | /[cC]/* | \ universe@48: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ universe@48: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ universe@48: /usr/ucb/* ) ;; universe@48: *) universe@48: # OSF1 and SCO ODT 3.0 have their own names for install. universe@48: # Don't use installbsd from OSF since it installs stuff as root universe@48: # by default. universe@48: for ac_prog in ginstall scoinst install; do universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then universe@48: if test $ac_prog = install && universe@48: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then universe@48: # AIX install. It has an incompatible calling convention. universe@48: : universe@48: elif test $ac_prog = install && universe@48: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then universe@48: # program-specific install script used by HP pwplus--don't use. universe@48: : universe@48: else universe@48: rm -rf conftest.one conftest.two conftest.dir universe@48: echo one > conftest.one universe@48: echo two > conftest.two universe@48: mkdir conftest.dir universe@48: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && universe@48: test -s conftest.one && test -s conftest.two && universe@48: test -s conftest.dir/conftest.one && universe@48: test -s conftest.dir/conftest.two universe@48: then universe@48: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" universe@48: break 3 universe@48: fi universe@48: fi universe@48: fi universe@48: done universe@48: done universe@48: ;; universe@48: esac universe@48: universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: rm -rf conftest.one conftest.two conftest.dir universe@48: universe@48: fi universe@48: if test "${ac_cv_path_install+set}" = set; then universe@48: INSTALL=$ac_cv_path_install universe@48: else universe@48: # As a last resort, use the slow shell script. Don't cache a universe@48: # value for INSTALL within a source directory, because that will universe@48: # break other packages using the cache if that directory is universe@48: # removed, or if the value is a relative name. universe@48: INSTALL=$ac_install_sh universe@48: fi universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 universe@48: $as_echo "$INSTALL" >&6; } universe@48: universe@48: # Use test -z because SunOS4 sh mishandles braces in ${var-val}. universe@48: # It thinks the first close brace ends the variable substitution. universe@48: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' universe@48: universe@48: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' universe@48: universe@48: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' universe@48: universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 universe@48: $as_echo_n "checking whether build environment is sane... " >&6; } universe@48: # Reject unsafe characters in $srcdir or the absolute working directory universe@48: # name. Accept space and tab only in the latter. universe@48: am_lf=' universe@48: ' universe@48: case `pwd` in universe@48: *[\\\"\#\$\&\'\`$am_lf]*) universe@48: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; universe@48: esac universe@48: case $srcdir in universe@48: *[\\\"\#\$\&\'\`$am_lf\ \ ]*) universe@48: as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; universe@48: esac universe@48: universe@48: # Do 'set' in a subshell so we don't clobber the current shell's universe@48: # arguments. Must try -L first in case configure is actually a universe@48: # symlink; some systems play weird games with the mod time of symlinks universe@48: # (eg FreeBSD returns the mod time of the symlink's containing universe@48: # directory). universe@48: if ( universe@48: am_has_slept=no universe@48: for am_try in 1 2; do universe@48: echo "timestamp, slept: $am_has_slept" > conftest.file universe@48: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` universe@48: if test "$*" = "X"; then universe@48: # -L didn't work. universe@48: set X `ls -t "$srcdir/configure" conftest.file` universe@48: fi universe@48: if test "$*" != "X $srcdir/configure conftest.file" \ universe@48: && test "$*" != "X conftest.file $srcdir/configure"; then universe@48: universe@48: # If neither matched, then we have a broken ls. This can happen universe@48: # if, for instance, CONFIG_SHELL is bash and it inherits a universe@48: # broken ls alias from the environment. This has actually universe@48: # happened. Such a system could not be considered "sane". universe@48: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken universe@48: alias in your environment" "$LINENO" 5 universe@48: fi universe@48: if test "$2" = conftest.file || test $am_try -eq 2; then universe@48: break universe@48: fi universe@48: # Just in case. universe@48: sleep 1 universe@48: am_has_slept=yes universe@48: done universe@48: test "$2" = conftest.file universe@48: ) universe@48: then universe@48: # Ok. universe@48: : universe@48: else universe@48: as_fn_error $? "newly created file is older than distributed files! universe@48: Check your system clock" "$LINENO" 5 universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 universe@48: $as_echo "yes" >&6; } universe@48: # If we didn't sleep, we still need to ensure time stamps of config.status and universe@48: # generated files are strictly newer. universe@48: am_sleep_pid= universe@48: if grep 'slept: no' conftest.file >/dev/null 2>&1; then universe@48: ( sleep 1 ) & universe@48: am_sleep_pid=$! universe@48: fi universe@48: universe@48: rm -f conftest.file universe@48: universe@48: test "$program_prefix" != NONE && universe@48: program_transform_name="s&^&$program_prefix&;$program_transform_name" universe@48: # Use a double $ so make ignores it. universe@48: test "$program_suffix" != NONE && universe@48: program_transform_name="s&\$&$program_suffix&;$program_transform_name" universe@48: # Double any \ or $. universe@48: # By default was `s,x,x', remove it if useless. universe@48: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' universe@48: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` universe@48: universe@48: # expand $ac_aux_dir to an absolute path universe@48: am_aux_dir=`cd $ac_aux_dir && pwd` universe@48: universe@48: if test x"${MISSING+set}" != xset; then universe@48: case $am_aux_dir in universe@48: *\ * | *\ *) universe@48: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; universe@48: *) universe@48: MISSING="\${SHELL} $am_aux_dir/missing" ;; universe@48: esac universe@48: fi universe@48: # Use eval to expand $SHELL universe@48: if eval "$MISSING --is-lightweight"; then universe@48: am_missing_run="$MISSING " universe@48: else universe@48: am_missing_run= universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 universe@48: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} universe@48: fi universe@48: universe@48: if test x"${install_sh}" != xset; then universe@48: case $am_aux_dir in universe@48: *\ * | *\ *) universe@48: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; universe@48: *) universe@48: install_sh="\${SHELL} $am_aux_dir/install-sh" universe@48: esac universe@48: fi universe@48: universe@48: # Installed binaries are usually stripped using 'strip' when the user universe@48: # run "make install-strip". However 'strip' might not be the right universe@48: # tool to use in cross-compilation environments, therefore Automake universe@48: # will honor the 'STRIP' environment variable to overrule this program. universe@48: if test "$cross_compiling" != no; then universe@48: if test -n "$ac_tool_prefix"; then universe@48: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. universe@48: set dummy ${ac_tool_prefix}strip; ac_word=$2 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 universe@48: $as_echo_n "checking for $ac_word... " >&6; } universe@48: if ${ac_cv_prog_STRIP+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test -n "$STRIP"; then universe@48: ac_cv_prog_STRIP="$STRIP" # Let the user override the test. universe@48: else universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then universe@48: ac_cv_prog_STRIP="${ac_tool_prefix}strip" universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 universe@48: break 2 universe@48: fi universe@48: done universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: fi universe@48: fi universe@48: STRIP=$ac_cv_prog_STRIP universe@48: if test -n "$STRIP"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 universe@48: $as_echo "$STRIP" >&6; } universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 universe@48: $as_echo "no" >&6; } universe@48: fi universe@48: universe@48: universe@48: fi universe@48: if test -z "$ac_cv_prog_STRIP"; then universe@48: ac_ct_STRIP=$STRIP universe@48: # Extract the first word of "strip", so it can be a program name with args. universe@48: set dummy strip; ac_word=$2 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 universe@48: $as_echo_n "checking for $ac_word... " >&6; } universe@48: if ${ac_cv_prog_ac_ct_STRIP+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test -n "$ac_ct_STRIP"; then universe@48: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. universe@48: else universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then universe@48: ac_cv_prog_ac_ct_STRIP="strip" universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 universe@48: break 2 universe@48: fi universe@48: done universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: fi universe@48: fi universe@48: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP universe@48: if test -n "$ac_ct_STRIP"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 universe@48: $as_echo "$ac_ct_STRIP" >&6; } universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 universe@48: $as_echo "no" >&6; } universe@48: fi universe@48: universe@48: if test "x$ac_ct_STRIP" = x; then universe@48: STRIP=":" universe@48: else universe@48: case $cross_compiling:$ac_tool_warned in universe@48: yes:) universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 universe@48: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} universe@48: ac_tool_warned=yes ;; universe@48: esac universe@48: STRIP=$ac_ct_STRIP universe@48: fi universe@48: else universe@48: STRIP="$ac_cv_prog_STRIP" universe@48: fi universe@48: universe@48: fi universe@48: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" universe@48: universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 universe@48: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } universe@48: if test -z "$MKDIR_P"; then universe@48: if ${ac_cv_path_mkdir+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: for ac_prog in mkdir gmkdir; do universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue universe@48: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( universe@48: 'mkdir (GNU coreutils) '* | \ universe@48: 'mkdir (coreutils) '* | \ universe@48: 'mkdir (fileutils) '4.1*) universe@48: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext universe@48: break 3;; universe@48: esac universe@48: done universe@48: done universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: fi universe@48: universe@48: test -d ./--version && rmdir ./--version universe@48: if test "${ac_cv_path_mkdir+set}" = set; then universe@48: MKDIR_P="$ac_cv_path_mkdir -p" universe@48: else universe@48: # As a last resort, use the slow shell script. Don't cache a universe@48: # value for MKDIR_P within a source directory, because that will universe@48: # break other packages using the cache if that directory is universe@48: # removed, or if the value is a relative name. universe@48: MKDIR_P="$ac_install_sh -d" universe@48: fi universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 universe@48: $as_echo "$MKDIR_P" >&6; } universe@48: universe@48: for ac_prog in gawk mawk nawk awk universe@48: do universe@48: # Extract the first word of "$ac_prog", so it can be a program name with args. universe@48: set dummy $ac_prog; ac_word=$2 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 universe@48: $as_echo_n "checking for $ac_word... " >&6; } universe@48: if ${ac_cv_prog_AWK+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test -n "$AWK"; then universe@48: ac_cv_prog_AWK="$AWK" # Let the user override the test. universe@48: else universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then universe@48: ac_cv_prog_AWK="$ac_prog" universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 universe@48: break 2 universe@48: fi universe@48: done universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: fi universe@48: fi universe@48: AWK=$ac_cv_prog_AWK universe@48: if test -n "$AWK"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 universe@48: $as_echo "$AWK" >&6; } universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 universe@48: $as_echo "no" >&6; } universe@48: fi universe@48: universe@48: universe@48: test -n "$AWK" && break universe@48: done universe@48: universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 universe@48: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } universe@48: set x ${MAKE-make} universe@48: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` universe@48: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: cat >conftest.make <<\_ACEOF universe@48: SHELL = /bin/sh universe@48: all: universe@48: @echo '@@@%%%=$(MAKE)=@@@%%%' universe@48: _ACEOF universe@48: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. universe@48: case `${MAKE-make} -f conftest.make 2>/dev/null` in universe@48: *@@@%%%=?*=@@@%%%*) universe@48: eval ac_cv_prog_make_${ac_make}_set=yes;; universe@48: *) universe@48: eval ac_cv_prog_make_${ac_make}_set=no;; universe@48: esac universe@48: rm -f conftest.make universe@48: fi universe@48: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 universe@48: $as_echo "yes" >&6; } universe@48: SET_MAKE= universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 universe@48: $as_echo "no" >&6; } universe@48: SET_MAKE="MAKE=${MAKE-make}" universe@48: fi universe@48: universe@48: rm -rf .tst 2>/dev/null universe@48: mkdir .tst 2>/dev/null universe@48: if test -d .tst; then universe@48: am__leading_dot=. universe@48: else universe@48: am__leading_dot=_ universe@48: fi universe@48: rmdir .tst 2>/dev/null universe@48: universe@48: # Check whether --enable-silent-rules was given. universe@48: if test "${enable_silent_rules+set}" = set; then : universe@48: enableval=$enable_silent_rules; universe@48: fi universe@48: universe@48: case $enable_silent_rules in # ((( universe@48: yes) AM_DEFAULT_VERBOSITY=0;; universe@48: no) AM_DEFAULT_VERBOSITY=1;; universe@48: *) AM_DEFAULT_VERBOSITY=1;; universe@48: esac universe@48: am_make=${MAKE-make} universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 universe@48: $as_echo_n "checking whether $am_make supports nested variables... " >&6; } universe@48: if ${am_cv_make_support_nested_variables+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if $as_echo 'TRUE=$(BAR$(V)) universe@48: BAR0=false universe@48: BAR1=true universe@48: V=1 universe@48: am__doit: universe@48: @$(TRUE) universe@48: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then universe@48: am_cv_make_support_nested_variables=yes universe@48: else universe@48: am_cv_make_support_nested_variables=no universe@48: fi universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 universe@48: $as_echo "$am_cv_make_support_nested_variables" >&6; } universe@48: if test $am_cv_make_support_nested_variables = yes; then universe@48: AM_V='$(V)' universe@48: AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' universe@48: else universe@48: AM_V=$AM_DEFAULT_VERBOSITY universe@48: AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY universe@48: fi universe@48: AM_BACKSLASH='\' universe@48: universe@48: if test "`cd $srcdir && pwd`" != "`pwd`"; then universe@48: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output universe@48: # is not polluted with repeated "-I." universe@48: am__isrc=' -I$(srcdir)' universe@48: # test to see if srcdir already configured universe@48: if test -f $srcdir/config.status; then universe@48: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 universe@48: fi universe@48: fi universe@48: universe@48: # test whether we have cygpath universe@48: if test -z "$CYGPATH_W"; then universe@48: if (cygpath --version) >/dev/null 2>/dev/null; then universe@48: CYGPATH_W='cygpath -w' universe@48: else universe@48: CYGPATH_W=echo universe@48: fi universe@48: fi universe@48: universe@48: universe@48: # Define the identity of the package. universe@48: PACKAGE='cline' universe@48: VERSION='1.1' universe@48: universe@48: universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define PACKAGE "$PACKAGE" universe@48: _ACEOF universe@48: universe@48: universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define VERSION "$VERSION" universe@48: _ACEOF universe@48: universe@48: # Some tools Automake needs. universe@48: universe@48: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} universe@48: universe@48: universe@48: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} universe@48: universe@48: universe@48: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} universe@48: universe@48: universe@48: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} universe@48: universe@48: universe@48: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} universe@48: universe@48: # For better backward compatibility. To be removed once Automake 1.9.x universe@48: # dies out for good. For more background, see: universe@48: # universe@48: # universe@48: mkdir_p='$(MKDIR_P)' universe@48: universe@48: # We need awk for the "check" target. The system "awk" is bad on universe@48: # some platforms. universe@48: # Always define AMTAR for backward compatibility. Yes, it's still used universe@48: # in the wild :-( We should find a proper way to deprecate it ... universe@48: AMTAR='$${TAR-tar}' universe@48: universe@48: universe@48: # We'll loop over all known methods to create a tar archive until one works. universe@48: _am_tools='gnutar pax cpio none' universe@48: universe@48: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' universe@48: universe@48: universe@48: universe@48: universe@48: universe@48: universe@48: universe@48: # Conditionals universe@48: # Check whether --enable-debug was given. universe@48: if test "${enable_debug+set}" = set; then : universe@48: enableval=$enable_debug; case "${enableval}" in universe@48: yes) debug=true ;; universe@48: no) debug=false ;; universe@48: *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;; universe@48: esac universe@48: else universe@48: debug=false universe@48: fi universe@48: universe@48: if test x$debug = xtrue; then universe@48: DEBUG_TRUE= universe@48: DEBUG_FALSE='#' universe@48: else universe@48: DEBUG_TRUE='#' universe@48: DEBUG_FALSE= universe@48: fi universe@48: universe@48: universe@48: # Checks for programs. universe@48: ac_ext=c universe@48: ac_cpp='$CPP $CPPFLAGS' universe@48: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' universe@48: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' universe@48: ac_compiler_gnu=$ac_cv_c_compiler_gnu universe@48: if test -n "$ac_tool_prefix"; then universe@48: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. universe@48: set dummy ${ac_tool_prefix}gcc; ac_word=$2 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 universe@48: $as_echo_n "checking for $ac_word... " >&6; } universe@48: if ${ac_cv_prog_CC+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test -n "$CC"; then universe@48: ac_cv_prog_CC="$CC" # Let the user override the test. universe@48: else universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then universe@48: ac_cv_prog_CC="${ac_tool_prefix}gcc" universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 universe@48: break 2 universe@48: fi universe@48: done universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: fi universe@48: fi universe@48: CC=$ac_cv_prog_CC universe@48: if test -n "$CC"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 universe@48: $as_echo "$CC" >&6; } universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 universe@48: $as_echo "no" >&6; } universe@48: fi universe@48: universe@48: universe@48: fi universe@48: if test -z "$ac_cv_prog_CC"; then universe@48: ac_ct_CC=$CC universe@48: # Extract the first word of "gcc", so it can be a program name with args. universe@48: set dummy gcc; ac_word=$2 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 universe@48: $as_echo_n "checking for $ac_word... " >&6; } universe@48: if ${ac_cv_prog_ac_ct_CC+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test -n "$ac_ct_CC"; then universe@48: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. universe@48: else universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then universe@48: ac_cv_prog_ac_ct_CC="gcc" universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 universe@48: break 2 universe@48: fi universe@48: done universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: fi universe@48: fi universe@48: ac_ct_CC=$ac_cv_prog_ac_ct_CC universe@48: if test -n "$ac_ct_CC"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 universe@48: $as_echo "$ac_ct_CC" >&6; } universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 universe@48: $as_echo "no" >&6; } universe@48: fi universe@48: universe@48: if test "x$ac_ct_CC" = x; then universe@48: CC="" universe@48: else universe@48: case $cross_compiling:$ac_tool_warned in universe@48: yes:) universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 universe@48: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} universe@48: ac_tool_warned=yes ;; universe@48: esac universe@48: CC=$ac_ct_CC universe@48: fi universe@48: else universe@48: CC="$ac_cv_prog_CC" universe@48: fi universe@48: universe@48: if test -z "$CC"; then universe@48: if test -n "$ac_tool_prefix"; then universe@48: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. universe@48: set dummy ${ac_tool_prefix}cc; ac_word=$2 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 universe@48: $as_echo_n "checking for $ac_word... " >&6; } universe@48: if ${ac_cv_prog_CC+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test -n "$CC"; then universe@48: ac_cv_prog_CC="$CC" # Let the user override the test. universe@48: else universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then universe@48: ac_cv_prog_CC="${ac_tool_prefix}cc" universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 universe@48: break 2 universe@48: fi universe@48: done universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: fi universe@48: fi universe@48: CC=$ac_cv_prog_CC universe@48: if test -n "$CC"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 universe@48: $as_echo "$CC" >&6; } universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 universe@48: $as_echo "no" >&6; } universe@48: fi universe@48: universe@48: universe@48: fi universe@48: fi universe@48: if test -z "$CC"; then universe@48: # Extract the first word of "cc", so it can be a program name with args. universe@48: set dummy cc; ac_word=$2 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 universe@48: $as_echo_n "checking for $ac_word... " >&6; } universe@48: if ${ac_cv_prog_CC+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test -n "$CC"; then universe@48: ac_cv_prog_CC="$CC" # Let the user override the test. universe@48: else universe@48: ac_prog_rejected=no universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then universe@48: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then universe@48: ac_prog_rejected=yes universe@48: continue universe@48: fi universe@48: ac_cv_prog_CC="cc" universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 universe@48: break 2 universe@48: fi universe@48: done universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: if test $ac_prog_rejected = yes; then universe@48: # We found a bogon in the path, so make sure we never use it. universe@48: set dummy $ac_cv_prog_CC universe@48: shift universe@48: if test $# != 0; then universe@48: # We chose a different compiler from the bogus one. universe@48: # However, it has the same basename, so the bogon will be chosen universe@48: # first if we set CC to just the basename; use the full file name. universe@48: shift universe@48: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" universe@48: fi universe@48: fi universe@48: fi universe@48: fi universe@48: CC=$ac_cv_prog_CC universe@48: if test -n "$CC"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 universe@48: $as_echo "$CC" >&6; } universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 universe@48: $as_echo "no" >&6; } universe@48: fi universe@48: universe@48: universe@48: fi universe@48: if test -z "$CC"; then universe@48: if test -n "$ac_tool_prefix"; then universe@48: for ac_prog in cl.exe universe@48: do universe@48: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. universe@48: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 universe@48: $as_echo_n "checking for $ac_word... " >&6; } universe@48: if ${ac_cv_prog_CC+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test -n "$CC"; then universe@48: ac_cv_prog_CC="$CC" # Let the user override the test. universe@48: else universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then universe@48: ac_cv_prog_CC="$ac_tool_prefix$ac_prog" universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 universe@48: break 2 universe@48: fi universe@48: done universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: fi universe@48: fi universe@48: CC=$ac_cv_prog_CC universe@48: if test -n "$CC"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 universe@48: $as_echo "$CC" >&6; } universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 universe@48: $as_echo "no" >&6; } universe@48: fi universe@48: universe@48: universe@48: test -n "$CC" && break universe@48: done universe@48: fi universe@48: if test -z "$CC"; then universe@48: ac_ct_CC=$CC universe@48: for ac_prog in cl.exe universe@48: do universe@48: # Extract the first word of "$ac_prog", so it can be a program name with args. universe@48: set dummy $ac_prog; ac_word=$2 universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 universe@48: $as_echo_n "checking for $ac_word... " >&6; } universe@48: if ${ac_cv_prog_ac_ct_CC+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test -n "$ac_ct_CC"; then universe@48: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. universe@48: else universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then universe@48: ac_cv_prog_ac_ct_CC="$ac_prog" universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 universe@48: break 2 universe@48: fi universe@48: done universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: fi universe@48: fi universe@48: ac_ct_CC=$ac_cv_prog_ac_ct_CC universe@48: if test -n "$ac_ct_CC"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 universe@48: $as_echo "$ac_ct_CC" >&6; } universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 universe@48: $as_echo "no" >&6; } universe@48: fi universe@48: universe@48: universe@48: test -n "$ac_ct_CC" && break universe@48: done universe@48: universe@48: if test "x$ac_ct_CC" = x; then universe@48: CC="" universe@48: else universe@48: case $cross_compiling:$ac_tool_warned in universe@48: yes:) universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 universe@48: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} universe@48: ac_tool_warned=yes ;; universe@48: esac universe@48: CC=$ac_ct_CC universe@48: fi universe@48: fi universe@48: universe@48: fi universe@48: universe@48: universe@48: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 universe@48: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} universe@48: as_fn_error $? "no acceptable C compiler found in \$PATH universe@48: See \`config.log' for more details" "$LINENO" 5; } universe@48: universe@48: # Provide some information about the compiler. universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 universe@48: set X $ac_compile universe@48: ac_compiler=$2 universe@48: for ac_option in --version -v -V -qversion; do universe@48: { { ac_try="$ac_compiler $ac_option >&5" universe@48: case "(($ac_try" in universe@48: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; universe@48: *) ac_try_echo=$ac_try;; universe@48: esac universe@48: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" universe@48: $as_echo "$ac_try_echo"; } >&5 universe@48: (eval "$ac_compiler $ac_option >&5") 2>conftest.err universe@48: ac_status=$? universe@48: if test -s conftest.err; then universe@48: sed '10a\ universe@48: ... rest of stderr output deleted ... universe@48: 10q' conftest.err >conftest.er1 universe@48: cat conftest.er1 >&5 universe@48: fi universe@48: rm -f conftest.er1 conftest.err universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 universe@48: test $ac_status = 0; } universe@48: done universe@48: universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: universe@48: int universe@48: main () universe@48: { universe@48: universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: ac_clean_files_save=$ac_clean_files universe@48: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" universe@48: # Try to create an executable without -o first, disregard a.out. universe@48: # It will help us diagnose broken compilers, and finding out an intuition universe@48: # of exeext. universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 universe@48: $as_echo_n "checking whether the C compiler works... " >&6; } universe@48: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` universe@48: universe@48: # The possible output files: universe@48: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" universe@48: universe@48: ac_rmfiles= universe@48: for ac_file in $ac_files universe@48: do universe@48: case $ac_file in universe@48: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; universe@48: * ) ac_rmfiles="$ac_rmfiles $ac_file";; universe@48: esac universe@48: done universe@48: rm -f $ac_rmfiles universe@48: universe@48: if { { ac_try="$ac_link_default" universe@48: case "(($ac_try" in universe@48: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; universe@48: *) ac_try_echo=$ac_try;; universe@48: esac universe@48: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" universe@48: $as_echo "$ac_try_echo"; } >&5 universe@48: (eval "$ac_link_default") 2>&5 universe@48: ac_status=$? universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 universe@48: test $ac_status = 0; }; then : universe@48: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. universe@48: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' universe@48: # in a Makefile. We should not override ac_cv_exeext if it was cached, universe@48: # so that the user can short-circuit this test for compilers unknown to universe@48: # Autoconf. universe@48: for ac_file in $ac_files '' universe@48: do universe@48: test -f "$ac_file" || continue universe@48: case $ac_file in universe@48: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) universe@48: ;; universe@48: [ab].out ) universe@48: # We found the default executable, but exeext='' is most universe@48: # certainly right. universe@48: break;; universe@48: *.* ) universe@48: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; universe@48: then :; else universe@48: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` universe@48: fi universe@48: # We set ac_cv_exeext here because the later test for it is not universe@48: # safe: cross compilers may not add the suffix if given an `-o' universe@48: # argument, so we may need to know it at that point already. universe@48: # Even if this section looks crufty: it has the advantage of universe@48: # actually working. universe@48: break;; universe@48: * ) universe@48: break;; universe@48: esac universe@48: done universe@48: test "$ac_cv_exeext" = no && ac_cv_exeext= universe@48: universe@48: else universe@48: ac_file='' universe@48: fi universe@48: if test -z "$ac_file"; then : universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 universe@48: $as_echo "no" >&6; } universe@48: $as_echo "$as_me: failed program was:" >&5 universe@48: sed 's/^/| /' conftest.$ac_ext >&5 universe@48: universe@48: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 universe@48: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} universe@48: as_fn_error 77 "C compiler cannot create executables universe@48: See \`config.log' for more details" "$LINENO" 5; } universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 universe@48: $as_echo "yes" >&6; } universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 universe@48: $as_echo_n "checking for C compiler default output file name... " >&6; } universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 universe@48: $as_echo "$ac_file" >&6; } universe@48: ac_exeext=$ac_cv_exeext universe@48: universe@48: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out universe@48: ac_clean_files=$ac_clean_files_save universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 universe@48: $as_echo_n "checking for suffix of executables... " >&6; } universe@48: if { { ac_try="$ac_link" universe@48: case "(($ac_try" in universe@48: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; universe@48: *) ac_try_echo=$ac_try;; universe@48: esac universe@48: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" universe@48: $as_echo "$ac_try_echo"; } >&5 universe@48: (eval "$ac_link") 2>&5 universe@48: ac_status=$? universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 universe@48: test $ac_status = 0; }; then : universe@48: # If both `conftest.exe' and `conftest' are `present' (well, observable) universe@48: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will universe@48: # work properly (i.e., refer to `conftest.exe'), while it won't with universe@48: # `rm'. universe@48: for ac_file in conftest.exe conftest conftest.*; do universe@48: test -f "$ac_file" || continue universe@48: case $ac_file in universe@48: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; universe@48: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` universe@48: break;; universe@48: * ) break;; universe@48: esac universe@48: done universe@48: else universe@48: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 universe@48: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} universe@48: as_fn_error $? "cannot compute suffix of executables: cannot compile and link universe@48: See \`config.log' for more details" "$LINENO" 5; } universe@48: fi universe@48: rm -f conftest conftest$ac_cv_exeext universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 universe@48: $as_echo "$ac_cv_exeext" >&6; } universe@48: universe@48: rm -f conftest.$ac_ext universe@48: EXEEXT=$ac_cv_exeext universe@48: ac_exeext=$EXEEXT universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #include universe@48: int universe@48: main () universe@48: { universe@48: FILE *f = fopen ("conftest.out", "w"); universe@48: return ferror (f) || fclose (f) != 0; universe@48: universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: ac_clean_files="$ac_clean_files conftest.out" universe@48: # Check that the compiler produces executables we can run. If not, either universe@48: # the compiler is broken, or we cross compile. universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 universe@48: $as_echo_n "checking whether we are cross compiling... " >&6; } universe@48: if test "$cross_compiling" != yes; then universe@48: { { ac_try="$ac_link" universe@48: case "(($ac_try" in universe@48: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; universe@48: *) ac_try_echo=$ac_try;; universe@48: esac universe@48: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" universe@48: $as_echo "$ac_try_echo"; } >&5 universe@48: (eval "$ac_link") 2>&5 universe@48: ac_status=$? universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 universe@48: test $ac_status = 0; } universe@48: if { ac_try='./conftest$ac_cv_exeext' universe@48: { { case "(($ac_try" in universe@48: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; universe@48: *) ac_try_echo=$ac_try;; universe@48: esac universe@48: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" universe@48: $as_echo "$ac_try_echo"; } >&5 universe@48: (eval "$ac_try") 2>&5 universe@48: ac_status=$? universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 universe@48: test $ac_status = 0; }; }; then universe@48: cross_compiling=no universe@48: else universe@48: if test "$cross_compiling" = maybe; then universe@48: cross_compiling=yes universe@48: else universe@48: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 universe@48: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} universe@48: as_fn_error $? "cannot run C compiled programs. universe@48: If you meant to cross compile, use \`--host'. universe@48: See \`config.log' for more details" "$LINENO" 5; } universe@48: fi universe@48: fi universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 universe@48: $as_echo "$cross_compiling" >&6; } universe@48: universe@48: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out universe@48: ac_clean_files=$ac_clean_files_save universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 universe@48: $as_echo_n "checking for suffix of object files... " >&6; } universe@48: if ${ac_cv_objext+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: universe@48: int universe@48: main () universe@48: { universe@48: universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: rm -f conftest.o conftest.obj universe@48: if { { ac_try="$ac_compile" universe@48: case "(($ac_try" in universe@48: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; universe@48: *) ac_try_echo=$ac_try;; universe@48: esac universe@48: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" universe@48: $as_echo "$ac_try_echo"; } >&5 universe@48: (eval "$ac_compile") 2>&5 universe@48: ac_status=$? universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 universe@48: test $ac_status = 0; }; then : universe@48: for ac_file in conftest.o conftest.obj conftest.*; do universe@48: test -f "$ac_file" || continue; universe@48: case $ac_file in universe@48: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; universe@48: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` universe@48: break;; universe@48: esac universe@48: done universe@48: else universe@48: $as_echo "$as_me: failed program was:" >&5 universe@48: sed 's/^/| /' conftest.$ac_ext >&5 universe@48: universe@48: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 universe@48: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} universe@48: as_fn_error $? "cannot compute suffix of object files: cannot compile universe@48: See \`config.log' for more details" "$LINENO" 5; } universe@48: fi universe@48: rm -f conftest.$ac_cv_objext conftest.$ac_ext universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 universe@48: $as_echo "$ac_cv_objext" >&6; } universe@48: OBJEXT=$ac_cv_objext universe@48: ac_objext=$OBJEXT universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 universe@48: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } universe@48: if ${ac_cv_c_compiler_gnu+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: universe@48: int universe@48: main () universe@48: { universe@48: #ifndef __GNUC__ universe@48: choke me universe@48: #endif universe@48: universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: if ac_fn_c_try_compile "$LINENO"; then : universe@48: ac_compiler_gnu=yes universe@48: else universe@48: ac_compiler_gnu=no universe@48: fi universe@48: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext universe@48: ac_cv_c_compiler_gnu=$ac_compiler_gnu universe@48: universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 universe@48: $as_echo "$ac_cv_c_compiler_gnu" >&6; } universe@48: if test $ac_compiler_gnu = yes; then universe@48: GCC=yes universe@48: else universe@48: GCC= universe@48: fi universe@48: ac_test_CFLAGS=${CFLAGS+set} universe@48: ac_save_CFLAGS=$CFLAGS universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 universe@48: $as_echo_n "checking whether $CC accepts -g... " >&6; } universe@48: if ${ac_cv_prog_cc_g+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: ac_save_c_werror_flag=$ac_c_werror_flag universe@48: ac_c_werror_flag=yes universe@48: ac_cv_prog_cc_g=no universe@48: CFLAGS="-g" universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: universe@48: int universe@48: main () universe@48: { universe@48: universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: if ac_fn_c_try_compile "$LINENO"; then : universe@48: ac_cv_prog_cc_g=yes universe@48: else universe@48: CFLAGS="" universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: universe@48: int universe@48: main () universe@48: { universe@48: universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: if ac_fn_c_try_compile "$LINENO"; then : universe@48: universe@48: else universe@48: ac_c_werror_flag=$ac_save_c_werror_flag universe@48: CFLAGS="-g" universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: universe@48: int universe@48: main () universe@48: { universe@48: universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: if ac_fn_c_try_compile "$LINENO"; then : universe@48: ac_cv_prog_cc_g=yes universe@48: fi universe@48: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext universe@48: fi universe@48: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext universe@48: fi universe@48: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext universe@48: ac_c_werror_flag=$ac_save_c_werror_flag universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 universe@48: $as_echo "$ac_cv_prog_cc_g" >&6; } universe@48: if test "$ac_test_CFLAGS" = set; then universe@48: CFLAGS=$ac_save_CFLAGS universe@48: elif test $ac_cv_prog_cc_g = yes; then universe@48: if test "$GCC" = yes; then universe@48: CFLAGS="-g -O2" universe@48: else universe@48: CFLAGS="-g" universe@48: fi universe@48: else universe@48: if test "$GCC" = yes; then universe@48: CFLAGS="-O2" universe@48: else universe@48: CFLAGS= universe@48: fi universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 universe@48: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } universe@48: if ${ac_cv_prog_cc_c89+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: ac_cv_prog_cc_c89=no universe@48: ac_save_CC=$CC universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #include universe@48: #include universe@48: struct stat; universe@48: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ universe@48: struct buf { int x; }; universe@48: FILE * (*rcsopen) (struct buf *, struct stat *, int); universe@48: static char *e (p, i) universe@48: char **p; universe@48: int i; universe@48: { universe@48: return p[i]; universe@48: } universe@48: static char *f (char * (*g) (char **, int), char **p, ...) universe@48: { universe@48: char *s; universe@48: va_list v; universe@48: va_start (v,p); universe@48: s = g (p, va_arg (v,int)); universe@48: va_end (v); universe@48: return s; universe@48: } universe@48: universe@48: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has universe@48: function prototypes and stuff, but not '\xHH' hex character constants. universe@48: These don't provoke an error unfortunately, instead are silently treated universe@48: as 'x'. The following induces an error, until -std is added to get universe@48: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an universe@48: array size at least. It's necessary to write '\x00'==0 to get something universe@48: that's true only with -std. */ universe@48: int osf4_cc_array ['\x00' == 0 ? 1 : -1]; universe@48: universe@48: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters universe@48: inside strings and character constants. */ universe@48: #define FOO(x) 'x' universe@48: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; universe@48: universe@48: int test (int i, double x); universe@48: struct s1 {int (*f) (int a);}; universe@48: struct s2 {int (*f) (double a);}; universe@48: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); universe@48: int argc; universe@48: char **argv; universe@48: int universe@48: main () universe@48: { universe@48: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ universe@48: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" universe@48: do universe@48: CC="$ac_save_CC $ac_arg" universe@48: if ac_fn_c_try_compile "$LINENO"; then : universe@48: ac_cv_prog_cc_c89=$ac_arg universe@48: fi universe@48: rm -f core conftest.err conftest.$ac_objext universe@48: test "x$ac_cv_prog_cc_c89" != "xno" && break universe@48: done universe@48: rm -f conftest.$ac_ext universe@48: CC=$ac_save_CC universe@48: universe@48: fi universe@48: # AC_CACHE_VAL universe@48: case "x$ac_cv_prog_cc_c89" in universe@48: x) universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 universe@48: $as_echo "none needed" >&6; } ;; universe@48: xno) universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 universe@48: $as_echo "unsupported" >&6; } ;; universe@48: *) universe@48: CC="$CC $ac_cv_prog_cc_c89" universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 universe@48: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; universe@48: esac universe@48: if test "x$ac_cv_prog_cc_c89" != xno; then : universe@48: universe@48: fi universe@48: universe@48: ac_ext=c universe@48: ac_cpp='$CPP $CPPFLAGS' universe@48: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' universe@48: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' universe@48: ac_compiler_gnu=$ac_cv_c_compiler_gnu universe@48: DEPDIR="${am__leading_dot}deps" universe@48: universe@48: ac_config_commands="$ac_config_commands depfiles" universe@48: universe@48: universe@48: am_make=${MAKE-make} universe@48: cat > confinc << 'END' universe@48: am__doit: universe@48: @echo this is the am__doit target universe@48: .PHONY: am__doit universe@48: END universe@48: # If we don't find an include directive, just comment out the code. universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 universe@48: $as_echo_n "checking for style of include used by $am_make... " >&6; } universe@48: am__include="#" universe@48: am__quote= universe@48: _am_result=none universe@48: # First try GNU make style include. universe@48: echo "include confinc" > confmf universe@48: # Ignore all kinds of additional output from 'make'. universe@48: case `$am_make -s -f confmf 2> /dev/null` in #( universe@48: *the\ am__doit\ target*) universe@48: am__include=include universe@48: am__quote= universe@48: _am_result=GNU universe@48: ;; universe@48: esac universe@48: # Now try BSD make style include. universe@48: if test "$am__include" = "#"; then universe@48: echo '.include "confinc"' > confmf universe@48: case `$am_make -s -f confmf 2> /dev/null` in #( universe@48: *the\ am__doit\ target*) universe@48: am__include=.include universe@48: am__quote="\"" universe@48: _am_result=BSD universe@48: ;; universe@48: esac universe@48: fi universe@48: universe@48: universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 universe@48: $as_echo "$_am_result" >&6; } universe@48: rm -f confinc confmf universe@48: universe@48: # Check whether --enable-dependency-tracking was given. universe@48: if test "${enable_dependency_tracking+set}" = set; then : universe@48: enableval=$enable_dependency_tracking; universe@48: fi universe@48: universe@48: if test "x$enable_dependency_tracking" != xno; then universe@48: am_depcomp="$ac_aux_dir/depcomp" universe@48: AMDEPBACKSLASH='\' universe@48: am__nodep='_no' universe@48: fi universe@48: if test "x$enable_dependency_tracking" != xno; then universe@48: AMDEP_TRUE= universe@48: AMDEP_FALSE='#' universe@48: else universe@48: AMDEP_TRUE='#' universe@48: AMDEP_FALSE= universe@48: fi universe@48: universe@48: universe@48: universe@48: depcc="$CC" am_compiler_list= universe@48: universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 universe@48: $as_echo_n "checking dependency style of $depcc... " >&6; } universe@48: if ${am_cv_CC_dependencies_compiler_type+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then universe@48: # We make a subdir and do the tests there. Otherwise we can end up universe@48: # making bogus files that we don't know about and never remove. For universe@48: # instance it was reported that on HP-UX the gcc test will end up universe@48: # making a dummy file named 'D' -- because '-MD' means "put the output universe@48: # in D". universe@48: rm -rf conftest.dir universe@48: mkdir conftest.dir universe@48: # Copy depcomp to subdir because otherwise we won't find it if we're universe@48: # using a relative directory. universe@48: cp "$am_depcomp" conftest.dir universe@48: cd conftest.dir universe@48: # We will build objects and dependencies in a subdirectory because universe@48: # it helps to detect inapplicable dependency modes. For instance universe@48: # both Tru64's cc and ICC support -MD to output dependencies as a universe@48: # side effect of compilation, but ICC will put the dependencies in universe@48: # the current directory while Tru64 will put them in the object universe@48: # directory. universe@48: mkdir sub universe@48: universe@48: am_cv_CC_dependencies_compiler_type=none universe@48: if test "$am_compiler_list" = ""; then universe@48: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` universe@48: fi universe@48: am__universal=false universe@48: case " $depcc " in #( universe@48: *\ -arch\ *\ -arch\ *) am__universal=true ;; universe@48: esac universe@48: universe@48: for depmode in $am_compiler_list; do universe@48: # Setup a source with many dependencies, because some compilers universe@48: # like to wrap large dependency lists on column 80 (with \), and universe@48: # we should not choose a depcomp mode which is confused by this. universe@48: # universe@48: # We need to recreate these files for each test, as the compiler may universe@48: # overwrite some of them when testing with obscure command lines. universe@48: # This happens at least with the AIX C compiler. universe@48: : > sub/conftest.c universe@48: for i in 1 2 3 4 5 6; do universe@48: echo '#include "conftst'$i'.h"' >> sub/conftest.c universe@48: # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with universe@48: # Solaris 10 /bin/sh. universe@48: echo '/* dummy */' > sub/conftst$i.h universe@48: done universe@48: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf universe@48: universe@48: # We check with '-c' and '-o' for the sake of the "dashmstdout" universe@48: # mode. It turns out that the SunPro C++ compiler does not properly universe@48: # handle '-M -o', and we need to detect this. Also, some Intel universe@48: # versions had trouble with output in subdirs. universe@48: am__obj=sub/conftest.${OBJEXT-o} universe@48: am__minus_obj="-o $am__obj" universe@48: case $depmode in universe@48: gcc) universe@48: # This depmode causes a compiler race in universal mode. universe@48: test "$am__universal" = false || continue universe@48: ;; universe@48: nosideeffect) universe@48: # After this tag, mechanisms are not by side-effect, so they'll universe@48: # only be used when explicitly requested. universe@48: if test "x$enable_dependency_tracking" = xyes; then universe@48: continue universe@48: else universe@48: break universe@48: fi universe@48: ;; universe@48: msvc7 | msvc7msys | msvisualcpp | msvcmsys) universe@48: # This compiler won't grok '-c -o', but also, the minuso test has universe@48: # not run yet. These depmodes are late enough in the game, and universe@48: # so weak that their functioning should not be impacted. universe@48: am__obj=conftest.${OBJEXT-o} universe@48: am__minus_obj= universe@48: ;; universe@48: none) break ;; universe@48: esac universe@48: if depmode=$depmode \ universe@48: source=sub/conftest.c object=$am__obj \ universe@48: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ universe@48: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ universe@48: >/dev/null 2>conftest.err && universe@48: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && universe@48: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && universe@48: grep $am__obj sub/conftest.Po > /dev/null 2>&1 && universe@48: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then universe@48: # icc doesn't choke on unknown options, it will just issue warnings universe@48: # or remarks (even with -Werror). So we grep stderr for any message universe@48: # that says an option was ignored or not supported. universe@48: # When given -MP, icc 7.0 and 7.1 complain thusly: universe@48: # icc: Command line warning: ignoring option '-M'; no argument required universe@48: # The diagnosis changed in icc 8.0: universe@48: # icc: Command line remark: option '-MP' not supported universe@48: if (grep 'ignoring option' conftest.err || universe@48: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else universe@48: am_cv_CC_dependencies_compiler_type=$depmode universe@48: break universe@48: fi universe@48: fi universe@48: done universe@48: universe@48: cd .. universe@48: rm -rf conftest.dir universe@48: else universe@48: am_cv_CC_dependencies_compiler_type=none universe@48: fi universe@48: universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 universe@48: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } universe@48: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type universe@48: universe@48: if universe@48: test "x$enable_dependency_tracking" != xno \ universe@48: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then universe@48: am__fastdepCC_TRUE= universe@48: am__fastdepCC_FALSE='#' universe@48: else universe@48: am__fastdepCC_TRUE='#' universe@48: am__fastdepCC_FALSE= universe@48: fi universe@48: universe@48: universe@48: universe@48: # Checks for libraries. universe@48: universe@48: # Checks for header files. universe@48: universe@48: ac_ext=c universe@48: ac_cpp='$CPP $CPPFLAGS' universe@48: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' universe@48: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' universe@48: ac_compiler_gnu=$ac_cv_c_compiler_gnu universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 universe@48: $as_echo_n "checking how to run the C preprocessor... " >&6; } universe@48: # On Suns, sometimes $CPP names a directory. universe@48: if test -n "$CPP" && test -d "$CPP"; then universe@48: CPP= universe@48: fi universe@48: if test -z "$CPP"; then universe@48: if ${ac_cv_prog_CPP+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: # Double quotes because CPP needs to be expanded universe@48: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" universe@48: do universe@48: ac_preproc_ok=false universe@48: for ac_c_preproc_warn_flag in '' yes universe@48: do universe@48: # Use a header file that comes with gcc, so configuring glibc universe@48: # with a fresh cross-compiler works. universe@48: # Prefer to if __STDC__ is defined, since universe@48: # exists even on freestanding compilers. universe@48: # On the NeXT, cc -E runs the code through the compiler's parser, universe@48: # not just through cpp. "Syntax error" is here to catch this case. universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #ifdef __STDC__ universe@48: # include universe@48: #else universe@48: # include universe@48: #endif universe@48: Syntax error universe@48: _ACEOF universe@48: if ac_fn_c_try_cpp "$LINENO"; then : universe@48: universe@48: else universe@48: # Broken: fails on valid input. universe@48: continue universe@48: fi universe@48: rm -f conftest.err conftest.i conftest.$ac_ext universe@48: universe@48: # OK, works on sane cases. Now check whether nonexistent headers universe@48: # can be detected and how. universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #include universe@48: _ACEOF universe@48: if ac_fn_c_try_cpp "$LINENO"; then : universe@48: # Broken: success on invalid input. universe@48: continue universe@48: else universe@48: # Passes both tests. universe@48: ac_preproc_ok=: universe@48: break universe@48: fi universe@48: rm -f conftest.err conftest.i conftest.$ac_ext universe@48: universe@48: done universe@48: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. universe@48: rm -f conftest.i conftest.err conftest.$ac_ext universe@48: if $ac_preproc_ok; then : universe@48: break universe@48: fi universe@48: universe@48: done universe@48: ac_cv_prog_CPP=$CPP universe@48: universe@48: fi universe@48: CPP=$ac_cv_prog_CPP universe@48: else universe@48: ac_cv_prog_CPP=$CPP universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 universe@48: $as_echo "$CPP" >&6; } universe@48: ac_preproc_ok=false universe@48: for ac_c_preproc_warn_flag in '' yes universe@48: do universe@48: # Use a header file that comes with gcc, so configuring glibc universe@48: # with a fresh cross-compiler works. universe@48: # Prefer to if __STDC__ is defined, since universe@48: # exists even on freestanding compilers. universe@48: # On the NeXT, cc -E runs the code through the compiler's parser, universe@48: # not just through cpp. "Syntax error" is here to catch this case. universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #ifdef __STDC__ universe@48: # include universe@48: #else universe@48: # include universe@48: #endif universe@48: Syntax error universe@48: _ACEOF universe@48: if ac_fn_c_try_cpp "$LINENO"; then : universe@48: universe@48: else universe@48: # Broken: fails on valid input. universe@48: continue universe@48: fi universe@48: rm -f conftest.err conftest.i conftest.$ac_ext universe@48: universe@48: # OK, works on sane cases. Now check whether nonexistent headers universe@48: # can be detected and how. universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #include universe@48: _ACEOF universe@48: if ac_fn_c_try_cpp "$LINENO"; then : universe@48: # Broken: success on invalid input. universe@48: continue universe@48: else universe@48: # Passes both tests. universe@48: ac_preproc_ok=: universe@48: break universe@48: fi universe@48: rm -f conftest.err conftest.i conftest.$ac_ext universe@48: universe@48: done universe@48: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. universe@48: rm -f conftest.i conftest.err conftest.$ac_ext universe@48: if $ac_preproc_ok; then : universe@48: universe@48: else universe@48: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 universe@48: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} universe@48: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check universe@48: See \`config.log' for more details" "$LINENO" 5; } universe@48: fi universe@48: universe@48: ac_ext=c universe@48: ac_cpp='$CPP $CPPFLAGS' universe@48: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' universe@48: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' universe@48: ac_compiler_gnu=$ac_cv_c_compiler_gnu universe@48: universe@48: universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 universe@48: $as_echo_n "checking for grep that handles long lines and -e... " >&6; } universe@48: if ${ac_cv_path_GREP+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test -z "$GREP"; then universe@48: ac_path_GREP_found=false universe@48: # Loop through the user's path and test for each of PROGNAME-LIST universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: for ac_prog in grep ggrep; do universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" universe@48: as_fn_executable_p "$ac_path_GREP" || continue universe@48: # Check for GNU ac_path_GREP and select it if it is found. universe@48: # Check for GNU $ac_path_GREP universe@48: case `"$ac_path_GREP" --version 2>&1` in universe@48: *GNU*) universe@48: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; universe@48: *) universe@48: ac_count=0 universe@48: $as_echo_n 0123456789 >"conftest.in" universe@48: while : universe@48: do universe@48: cat "conftest.in" "conftest.in" >"conftest.tmp" universe@48: mv "conftest.tmp" "conftest.in" universe@48: cp "conftest.in" "conftest.nl" universe@48: $as_echo 'GREP' >> "conftest.nl" universe@48: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break universe@48: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break universe@48: as_fn_arith $ac_count + 1 && ac_count=$as_val universe@48: if test $ac_count -gt ${ac_path_GREP_max-0}; then universe@48: # Best one so far, save it but keep looking for a better one universe@48: ac_cv_path_GREP="$ac_path_GREP" universe@48: ac_path_GREP_max=$ac_count universe@48: fi universe@48: # 10*(2^10) chars as input seems more than enough universe@48: test $ac_count -gt 10 && break universe@48: done universe@48: rm -f conftest.in conftest.tmp conftest.nl conftest.out;; universe@48: esac universe@48: universe@48: $ac_path_GREP_found && break 3 universe@48: done universe@48: done universe@48: done universe@48: IFS=$as_save_IFS universe@48: if test -z "$ac_cv_path_GREP"; then universe@48: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 universe@48: fi universe@48: else universe@48: ac_cv_path_GREP=$GREP universe@48: fi universe@48: universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 universe@48: $as_echo "$ac_cv_path_GREP" >&6; } universe@48: GREP="$ac_cv_path_GREP" universe@48: universe@48: universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 universe@48: $as_echo_n "checking for egrep... " >&6; } universe@48: if ${ac_cv_path_EGREP+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 universe@48: then ac_cv_path_EGREP="$GREP -E" universe@48: else universe@48: if test -z "$EGREP"; then universe@48: ac_path_EGREP_found=false universe@48: # Loop through the user's path and test for each of PROGNAME-LIST universe@48: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: for ac_prog in egrep; do universe@48: for ac_exec_ext in '' $ac_executable_extensions; do universe@48: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" universe@48: as_fn_executable_p "$ac_path_EGREP" || continue universe@48: # Check for GNU ac_path_EGREP and select it if it is found. universe@48: # Check for GNU $ac_path_EGREP universe@48: case `"$ac_path_EGREP" --version 2>&1` in universe@48: *GNU*) universe@48: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; universe@48: *) universe@48: ac_count=0 universe@48: $as_echo_n 0123456789 >"conftest.in" universe@48: while : universe@48: do universe@48: cat "conftest.in" "conftest.in" >"conftest.tmp" universe@48: mv "conftest.tmp" "conftest.in" universe@48: cp "conftest.in" "conftest.nl" universe@48: $as_echo 'EGREP' >> "conftest.nl" universe@48: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break universe@48: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break universe@48: as_fn_arith $ac_count + 1 && ac_count=$as_val universe@48: if test $ac_count -gt ${ac_path_EGREP_max-0}; then universe@48: # Best one so far, save it but keep looking for a better one universe@48: ac_cv_path_EGREP="$ac_path_EGREP" universe@48: ac_path_EGREP_max=$ac_count universe@48: fi universe@48: # 10*(2^10) chars as input seems more than enough universe@48: test $ac_count -gt 10 && break universe@48: done universe@48: rm -f conftest.in conftest.tmp conftest.nl conftest.out;; universe@48: esac universe@48: universe@48: $ac_path_EGREP_found && break 3 universe@48: done universe@48: done universe@48: done universe@48: IFS=$as_save_IFS universe@48: if test -z "$ac_cv_path_EGREP"; then universe@48: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 universe@48: fi universe@48: else universe@48: ac_cv_path_EGREP=$EGREP universe@48: fi universe@48: universe@48: fi universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 universe@48: $as_echo "$ac_cv_path_EGREP" >&6; } universe@48: EGREP="$ac_cv_path_EGREP" universe@48: universe@48: universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 universe@48: $as_echo_n "checking for ANSI C header files... " >&6; } universe@48: if ${ac_cv_header_stdc+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #include universe@48: #include universe@48: #include universe@48: #include universe@48: universe@48: int universe@48: main () universe@48: { universe@48: universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: if ac_fn_c_try_compile "$LINENO"; then : universe@48: ac_cv_header_stdc=yes universe@48: else universe@48: ac_cv_header_stdc=no universe@48: fi universe@48: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext universe@48: universe@48: if test $ac_cv_header_stdc = yes; then universe@48: # SunOS 4.x string.h does not declare mem*, contrary to ANSI. universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #include universe@48: universe@48: _ACEOF universe@48: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | universe@48: $EGREP "memchr" >/dev/null 2>&1; then : universe@48: universe@48: else universe@48: ac_cv_header_stdc=no universe@48: fi universe@48: rm -f conftest* universe@48: universe@48: fi universe@48: universe@48: if test $ac_cv_header_stdc = yes; then universe@48: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #include universe@48: universe@48: _ACEOF universe@48: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | universe@48: $EGREP "free" >/dev/null 2>&1; then : universe@48: universe@48: else universe@48: ac_cv_header_stdc=no universe@48: fi universe@48: rm -f conftest* universe@48: universe@48: fi universe@48: universe@48: if test $ac_cv_header_stdc = yes; then universe@48: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. universe@48: if test "$cross_compiling" = yes; then : universe@48: : universe@48: else universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #include universe@48: #include universe@48: #if ((' ' & 0x0FF) == 0x020) universe@48: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') universe@48: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) universe@48: #else universe@48: # define ISLOWER(c) \ universe@48: (('a' <= (c) && (c) <= 'i') \ universe@48: || ('j' <= (c) && (c) <= 'r') \ universe@48: || ('s' <= (c) && (c) <= 'z')) universe@48: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) universe@48: #endif universe@48: universe@48: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) universe@48: int universe@48: main () universe@48: { universe@48: int i; universe@48: for (i = 0; i < 256; i++) universe@48: if (XOR (islower (i), ISLOWER (i)) universe@48: || toupper (i) != TOUPPER (i)) universe@48: return 2; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: if ac_fn_c_try_run "$LINENO"; then : universe@48: universe@48: else universe@48: ac_cv_header_stdc=no universe@48: fi universe@48: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ universe@48: conftest.$ac_objext conftest.beam conftest.$ac_ext universe@48: fi universe@48: universe@48: fi universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 universe@48: $as_echo "$ac_cv_header_stdc" >&6; } universe@48: if test $ac_cv_header_stdc = yes; then universe@48: universe@48: $as_echo "#define STDC_HEADERS 1" >>confdefs.h universe@48: universe@48: fi universe@48: universe@48: # On IRIX 5.3, sys/types and inttypes.h are conflicting. universe@48: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ universe@48: inttypes.h stdint.h unistd.h universe@48: do : universe@48: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` universe@48: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default universe@48: " universe@48: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 universe@48: _ACEOF universe@48: universe@48: fi universe@48: universe@48: done universe@48: universe@48: universe@48: for ac_header in stdlib.h string.h universe@48: do : universe@48: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` universe@48: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" universe@48: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 universe@48: _ACEOF universe@48: universe@48: fi universe@48: universe@48: done universe@48: universe@48: universe@48: # Checks for typedefs, structures, and compiler characteristics. universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 universe@48: $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } universe@48: if ${ac_cv_header_stdbool_h+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: universe@48: #include universe@48: #ifndef bool universe@48: "error: bool is not defined" universe@48: #endif universe@48: #ifndef false universe@48: "error: false is not defined" universe@48: #endif universe@48: #if false universe@48: "error: false is not 0" universe@48: #endif universe@48: #ifndef true universe@48: "error: true is not defined" universe@48: #endif universe@48: #if true != 1 universe@48: "error: true is not 1" universe@48: #endif universe@48: #ifndef __bool_true_false_are_defined universe@48: "error: __bool_true_false_are_defined is not defined" universe@48: #endif universe@48: universe@48: struct s { _Bool s: 1; _Bool t; } s; universe@48: universe@48: char a[true == 1 ? 1 : -1]; universe@48: char b[false == 0 ? 1 : -1]; universe@48: char c[__bool_true_false_are_defined == 1 ? 1 : -1]; universe@48: char d[(bool) 0.5 == true ? 1 : -1]; universe@48: /* See body of main program for 'e'. */ universe@48: char f[(_Bool) 0.0 == false ? 1 : -1]; universe@48: char g[true]; universe@48: char h[sizeof (_Bool)]; universe@48: char i[sizeof s.t]; universe@48: enum { j = false, k = true, l = false * true, m = true * 256 }; universe@48: /* The following fails for universe@48: HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ universe@48: _Bool n[m]; universe@48: char o[sizeof n == m * sizeof n[0] ? 1 : -1]; universe@48: char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; universe@48: /* Catch a bug in an HP-UX C compiler. See universe@48: http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html universe@48: http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html universe@48: */ universe@48: _Bool q = true; universe@48: _Bool *pq = &q; universe@48: universe@48: int universe@48: main () universe@48: { universe@48: universe@48: bool e = &s; universe@48: *pq |= q; universe@48: *pq |= ! q; universe@48: /* Refer to every declared value, to avoid compiler optimizations. */ universe@48: return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l universe@48: + !m + !n + !o + !p + !q + !pq); universe@48: universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: if ac_fn_c_try_compile "$LINENO"; then : universe@48: ac_cv_header_stdbool_h=yes universe@48: else universe@48: ac_cv_header_stdbool_h=no universe@48: fi universe@48: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 universe@48: $as_echo "$ac_cv_header_stdbool_h" >&6; } universe@48: ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" universe@48: if test "x$ac_cv_type__Bool" = xyes; then : universe@48: universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define HAVE__BOOL 1 universe@48: _ACEOF universe@48: universe@48: universe@48: fi universe@48: universe@48: universe@48: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" universe@48: if test "x$ac_cv_type_size_t" = xyes; then : universe@48: universe@48: else universe@48: universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define size_t unsigned int universe@48: _ACEOF universe@48: universe@48: fi universe@48: universe@48: universe@48: # Checks for library functions. universe@48: for ac_header in stdlib.h universe@48: do : universe@48: ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" universe@48: if test "x$ac_cv_header_stdlib_h" = xyes; then : universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define HAVE_STDLIB_H 1 universe@48: _ACEOF universe@48: universe@48: fi universe@48: universe@48: done universe@48: universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 universe@48: $as_echo_n "checking for GNU libc compatible malloc... " >&6; } universe@48: if ${ac_cv_func_malloc_0_nonnull+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test "$cross_compiling" = yes; then : universe@48: ac_cv_func_malloc_0_nonnull=no universe@48: else universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #if defined STDC_HEADERS || defined HAVE_STDLIB_H universe@48: # include universe@48: #else universe@48: char *malloc (); universe@48: #endif universe@48: universe@48: int universe@48: main () universe@48: { universe@48: return ! malloc (0); universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: if ac_fn_c_try_run "$LINENO"; then : universe@48: ac_cv_func_malloc_0_nonnull=yes universe@48: else universe@48: ac_cv_func_malloc_0_nonnull=no universe@48: fi universe@48: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ universe@48: conftest.$ac_objext conftest.beam conftest.$ac_ext universe@48: fi universe@48: universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 universe@48: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } universe@48: if test $ac_cv_func_malloc_0_nonnull = yes; then : universe@48: universe@48: $as_echo "#define HAVE_MALLOC 1" >>confdefs.h universe@48: universe@48: else universe@48: $as_echo "#define HAVE_MALLOC 0" >>confdefs.h universe@48: universe@48: case " $LIBOBJS " in universe@48: *" malloc.$ac_objext "* ) ;; universe@48: *) LIBOBJS="$LIBOBJS malloc.$ac_objext" universe@48: ;; universe@48: esac universe@48: universe@48: universe@48: $as_echo "#define malloc rpl_malloc" >>confdefs.h universe@48: universe@48: fi universe@48: universe@48: universe@48: for ac_header in stdlib.h universe@48: do : universe@48: ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" universe@48: if test "x$ac_cv_header_stdlib_h" = xyes; then : universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define HAVE_STDLIB_H 1 universe@48: _ACEOF universe@48: universe@48: fi universe@48: universe@48: done universe@48: universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 universe@48: $as_echo_n "checking for GNU libc compatible realloc... " >&6; } universe@48: if ${ac_cv_func_realloc_0_nonnull+:} false; then : universe@48: $as_echo_n "(cached) " >&6 universe@48: else universe@48: if test "$cross_compiling" = yes; then : universe@48: ac_cv_func_realloc_0_nonnull=no universe@48: else universe@48: cat confdefs.h - <<_ACEOF >conftest.$ac_ext universe@48: /* end confdefs.h. */ universe@48: #if defined STDC_HEADERS || defined HAVE_STDLIB_H universe@48: # include universe@48: #else universe@48: char *realloc (); universe@48: #endif universe@48: universe@48: int universe@48: main () universe@48: { universe@48: return ! realloc (0, 0); universe@48: ; universe@48: return 0; universe@48: } universe@48: _ACEOF universe@48: if ac_fn_c_try_run "$LINENO"; then : universe@48: ac_cv_func_realloc_0_nonnull=yes universe@48: else universe@48: ac_cv_func_realloc_0_nonnull=no universe@48: fi universe@48: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ universe@48: conftest.$ac_objext conftest.beam conftest.$ac_ext universe@48: fi universe@48: universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 universe@48: $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } universe@48: if test $ac_cv_func_realloc_0_nonnull = yes; then : universe@48: universe@48: $as_echo "#define HAVE_REALLOC 1" >>confdefs.h universe@48: universe@48: else universe@48: $as_echo "#define HAVE_REALLOC 0" >>confdefs.h universe@48: universe@48: case " $LIBOBJS " in universe@48: *" realloc.$ac_objext "* ) ;; universe@48: *) LIBOBJS="$LIBOBJS realloc.$ac_objext" universe@48: ;; universe@48: esac universe@48: universe@48: universe@48: $as_echo "#define realloc rpl_realloc" >>confdefs.h universe@48: universe@48: fi universe@48: universe@48: universe@48: for ac_func in memset regcomp strcasecmp strchr universe@48: do : universe@48: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` universe@48: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" universe@48: if eval test \"x\$"$as_ac_var"\" = x"yes"; then : universe@48: cat >>confdefs.h <<_ACEOF universe@48: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 universe@48: _ACEOF universe@48: universe@48: fi universe@48: done universe@48: universe@48: universe@48: ac_config_files="$ac_config_files Makefile src/Makefile" universe@48: universe@48: cat >confcache <<\_ACEOF universe@48: # This file is a shell script that caches the results of configure universe@48: # tests run on this system so they can be shared between configure universe@48: # scripts and configure runs, see configure's option --config-cache. universe@48: # It is not useful on other systems. If it contains results you don't universe@48: # want to keep, you may remove or edit it. universe@48: # universe@48: # config.status only pays attention to the cache file if you give it universe@48: # the --recheck option to rerun configure. universe@48: # universe@48: # `ac_cv_env_foo' variables (set or unset) will be overridden when universe@48: # loading this file, other *unset* `ac_cv_foo' will be assigned the universe@48: # following values. universe@48: universe@48: _ACEOF universe@48: universe@48: # The following way of writing the cache mishandles newlines in values, universe@48: # but we know of no workaround that is simple, portable, and efficient. universe@48: # So, we kill variables containing newlines. universe@48: # Ultrix sh set writes to stderr and can't be redirected directly, universe@48: # and sets the high bit in the cache file unless we assign to the vars. universe@48: ( universe@48: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do universe@48: eval ac_val=\$$ac_var universe@48: case $ac_val in #( universe@48: *${as_nl}*) universe@48: case $ac_var in #( universe@48: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 universe@48: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; universe@48: esac universe@48: case $ac_var in #( universe@48: _ | IFS | as_nl) ;; #( universe@48: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( universe@48: *) { eval $ac_var=; unset $ac_var;} ;; universe@48: esac ;; universe@48: esac universe@48: done universe@48: universe@48: (set) 2>&1 | universe@48: case $as_nl`(ac_space=' '; set) 2>&1` in #( universe@48: *${as_nl}ac_space=\ *) universe@48: # `set' does not quote correctly, so add quotes: double-quote universe@48: # substitution turns \\\\ into \\, and sed turns \\ into \. universe@48: sed -n \ universe@48: "s/'/'\\\\''/g; universe@48: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" universe@48: ;; #( universe@48: *) universe@48: # `set' quotes correctly as required by POSIX, so do not add quotes. universe@48: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" universe@48: ;; universe@48: esac | universe@48: sort universe@48: ) | universe@48: sed ' universe@48: /^ac_cv_env_/b end universe@48: t clear universe@48: :clear universe@48: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ universe@48: t end universe@48: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ universe@48: :end' >>confcache universe@48: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else universe@48: if test -w "$cache_file"; then universe@48: if test "x$cache_file" != "x/dev/null"; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 universe@48: $as_echo "$as_me: updating cache $cache_file" >&6;} universe@48: if test ! -f "$cache_file" || test -h "$cache_file"; then universe@48: cat confcache >"$cache_file" universe@48: else universe@48: case $cache_file in #( universe@48: */* | ?:*) universe@48: mv -f confcache "$cache_file"$$ && universe@48: mv -f "$cache_file"$$ "$cache_file" ;; #( universe@48: *) universe@48: mv -f confcache "$cache_file" ;; universe@48: esac universe@48: fi universe@48: fi universe@48: else universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 universe@48: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} universe@48: fi universe@48: fi universe@48: rm -f confcache universe@48: universe@48: test "x$prefix" = xNONE && prefix=$ac_default_prefix universe@48: # Let make expand exec_prefix. universe@48: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' universe@48: universe@48: DEFS=-DHAVE_CONFIG_H universe@48: universe@48: ac_libobjs= universe@48: ac_ltlibobjs= universe@48: U= universe@48: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue universe@48: # 1. Remove the extension, and $U if already installed. universe@48: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' universe@48: ac_i=`$as_echo "$ac_i" | sed "$ac_script"` universe@48: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR universe@48: # will be set to the directory where LIBOBJS objects are built. universe@48: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" universe@48: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' universe@48: done universe@48: LIBOBJS=$ac_libobjs universe@48: universe@48: LTLIBOBJS=$ac_ltlibobjs universe@48: universe@48: universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 universe@48: $as_echo_n "checking that generated files are newer than configure... " >&6; } universe@48: if test -n "$am_sleep_pid"; then universe@48: # Hide warnings about reused PIDs. universe@48: wait $am_sleep_pid 2>/dev/null universe@48: fi universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 universe@48: $as_echo "done" >&6; } universe@48: if test -n "$EXEEXT"; then universe@48: am__EXEEXT_TRUE= universe@48: am__EXEEXT_FALSE='#' universe@48: else universe@48: am__EXEEXT_TRUE='#' universe@48: am__EXEEXT_FALSE= universe@48: fi universe@48: universe@48: if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then universe@48: as_fn_error $? "conditional \"DEBUG\" was never defined. universe@48: Usually this means the macro was only invoked conditionally." "$LINENO" 5 universe@48: fi universe@48: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then universe@48: as_fn_error $? "conditional \"AMDEP\" was never defined. universe@48: Usually this means the macro was only invoked conditionally." "$LINENO" 5 universe@48: fi universe@48: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then universe@48: as_fn_error $? "conditional \"am__fastdepCC\" was never defined. universe@48: Usually this means the macro was only invoked conditionally." "$LINENO" 5 universe@48: fi universe@48: universe@48: : "${CONFIG_STATUS=./config.status}" universe@48: ac_write_fail=0 universe@48: ac_clean_files_save=$ac_clean_files universe@48: ac_clean_files="$ac_clean_files $CONFIG_STATUS" universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 universe@48: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} universe@48: as_write_fail=0 universe@48: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 universe@48: #! $SHELL universe@48: # Generated by $as_me. universe@48: # Run this file to recreate the current configuration. universe@48: # Compiler output produced by configure, useful for debugging universe@48: # configure, is in config.log if it exists. universe@48: universe@48: debug=false universe@48: ac_cs_recheck=false universe@48: ac_cs_silent=false universe@48: universe@48: SHELL=\${CONFIG_SHELL-$SHELL} universe@48: export SHELL universe@48: _ASEOF universe@48: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 universe@48: ## -------------------- ## universe@48: ## M4sh Initialization. ## universe@48: ## -------------------- ## universe@48: universe@48: # Be more Bourne compatible universe@48: DUALCASE=1; export DUALCASE # for MKS sh universe@48: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : universe@48: emulate sh universe@48: NULLCMD=: universe@48: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which universe@48: # is contrary to our usage. Disable this feature. universe@48: alias -g '${1+"$@"}'='"$@"' universe@48: setopt NO_GLOB_SUBST universe@48: else universe@48: case `(set -o) 2>/dev/null` in #( universe@48: *posix*) : universe@48: set -o posix ;; #( universe@48: *) : universe@48: ;; universe@48: esac universe@48: fi universe@48: universe@48: universe@48: as_nl=' universe@48: ' universe@48: export as_nl universe@48: # Printing a long string crashes Solaris 7 /usr/bin/printf. universe@48: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' universe@48: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo universe@48: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo universe@48: # Prefer a ksh shell builtin over an external printf program on Solaris, universe@48: # but without wasting forks for bash or zsh. universe@48: if test -z "$BASH_VERSION$ZSH_VERSION" \ universe@48: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then universe@48: as_echo='print -r --' universe@48: as_echo_n='print -rn --' universe@48: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then universe@48: as_echo='printf %s\n' universe@48: as_echo_n='printf %s' universe@48: else universe@48: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then universe@48: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' universe@48: as_echo_n='/usr/ucb/echo -n' universe@48: else universe@48: as_echo_body='eval expr "X$1" : "X\\(.*\\)"' universe@48: as_echo_n_body='eval universe@48: arg=$1; universe@48: case $arg in #( universe@48: *"$as_nl"*) universe@48: expr "X$arg" : "X\\(.*\\)$as_nl"; universe@48: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; universe@48: esac; universe@48: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" universe@48: ' universe@48: export as_echo_n_body universe@48: as_echo_n='sh -c $as_echo_n_body as_echo' universe@48: fi universe@48: export as_echo_body universe@48: as_echo='sh -c $as_echo_body as_echo' universe@48: fi universe@48: universe@48: # The user is always right. universe@48: if test "${PATH_SEPARATOR+set}" != set; then universe@48: PATH_SEPARATOR=: universe@48: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { universe@48: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || universe@48: PATH_SEPARATOR=';' universe@48: } universe@48: fi universe@48: universe@48: universe@48: # IFS universe@48: # We need space, tab and new line, in precisely that order. Quoting is universe@48: # there to prevent editors from complaining about space-tab. universe@48: # (If _AS_PATH_WALK were called with IFS unset, it would disable word universe@48: # splitting by setting IFS to empty value.) universe@48: IFS=" "" $as_nl" universe@48: universe@48: # Find who we are. Look in the path if we contain no directory separator. universe@48: as_myself= universe@48: case $0 in #(( universe@48: *[\\/]* ) as_myself=$0 ;; universe@48: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR universe@48: for as_dir in $PATH universe@48: do universe@48: IFS=$as_save_IFS universe@48: test -z "$as_dir" && as_dir=. universe@48: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break universe@48: done universe@48: IFS=$as_save_IFS universe@48: universe@48: ;; universe@48: esac universe@48: # We did not find ourselves, most probably we were run as `sh COMMAND' universe@48: # in which case we are not to be found in the path. universe@48: if test "x$as_myself" = x; then universe@48: as_myself=$0 universe@48: fi universe@48: if test ! -f "$as_myself"; then universe@48: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 universe@48: exit 1 universe@48: fi universe@48: universe@48: # Unset variables that we do not need and which cause bugs (e.g. in universe@48: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" universe@48: # suppresses any "Segmentation fault" message there. '((' could universe@48: # trigger a bug in pdksh 5.2.14. universe@48: for as_var in BASH_ENV ENV MAIL MAILPATH universe@48: do eval test x\${$as_var+set} = xset \ universe@48: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : universe@48: done universe@48: PS1='$ ' universe@48: PS2='> ' universe@48: PS4='+ ' universe@48: universe@48: # NLS nuisances. universe@48: LC_ALL=C universe@48: export LC_ALL universe@48: LANGUAGE=C universe@48: export LANGUAGE universe@48: universe@48: # CDPATH. universe@48: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH universe@48: universe@48: universe@48: # as_fn_error STATUS ERROR [LINENO LOG_FD] universe@48: # ---------------------------------------- universe@48: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are universe@48: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the universe@48: # script with STATUS, using 1 if that was 0. universe@48: as_fn_error () universe@48: { universe@48: as_status=$1; test $as_status -eq 0 && as_status=1 universe@48: if test "$4"; then universe@48: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack universe@48: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 universe@48: fi universe@48: $as_echo "$as_me: error: $2" >&2 universe@48: as_fn_exit $as_status universe@48: } # as_fn_error universe@48: universe@48: universe@48: # as_fn_set_status STATUS universe@48: # ----------------------- universe@48: # Set $? to STATUS, without forking. universe@48: as_fn_set_status () universe@48: { universe@48: return $1 universe@48: } # as_fn_set_status universe@48: universe@48: # as_fn_exit STATUS universe@48: # ----------------- universe@48: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. universe@48: as_fn_exit () universe@48: { universe@48: set +e universe@48: as_fn_set_status $1 universe@48: exit $1 universe@48: } # as_fn_exit universe@48: universe@48: # as_fn_unset VAR universe@48: # --------------- universe@48: # Portably unset VAR. universe@48: as_fn_unset () universe@48: { universe@48: { eval $1=; unset $1;} universe@48: } universe@48: as_unset=as_fn_unset universe@48: # as_fn_append VAR VALUE universe@48: # ---------------------- universe@48: # Append the text in VALUE to the end of the definition contained in VAR. Take universe@48: # advantage of any shell optimizations that allow amortized linear growth over universe@48: # repeated appends, instead of the typical quadratic growth present in naive universe@48: # implementations. universe@48: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : universe@48: eval 'as_fn_append () universe@48: { universe@48: eval $1+=\$2 universe@48: }' universe@48: else universe@48: as_fn_append () universe@48: { universe@48: eval $1=\$$1\$2 universe@48: } universe@48: fi # as_fn_append universe@48: universe@48: # as_fn_arith ARG... universe@48: # ------------------ universe@48: # Perform arithmetic evaluation on the ARGs, and store the result in the universe@48: # global $as_val. Take advantage of shells that can avoid forks. The arguments universe@48: # must be portable across $(()) and expr. universe@48: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : universe@48: eval 'as_fn_arith () universe@48: { universe@48: as_val=$(( $* )) universe@48: }' universe@48: else universe@48: as_fn_arith () universe@48: { universe@48: as_val=`expr "$@" || test $? -eq 1` universe@48: } universe@48: fi # as_fn_arith universe@48: universe@48: universe@48: if expr a : '\(a\)' >/dev/null 2>&1 && universe@48: test "X`expr 00001 : '.*\(...\)'`" = X001; then universe@48: as_expr=expr universe@48: else universe@48: as_expr=false universe@48: fi universe@48: universe@48: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then universe@48: as_basename=basename universe@48: else universe@48: as_basename=false universe@48: fi universe@48: universe@48: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then universe@48: as_dirname=dirname universe@48: else universe@48: as_dirname=false universe@48: fi universe@48: universe@48: as_me=`$as_basename -- "$0" || universe@48: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ universe@48: X"$0" : 'X\(//\)$' \| \ universe@48: X"$0" : 'X\(/\)' \| . 2>/dev/null || universe@48: $as_echo X/"$0" | universe@48: sed '/^.*\/\([^/][^/]*\)\/*$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\/\(\/\/\)$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\/\(\/\).*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: s/.*/./; q'` universe@48: universe@48: # Avoid depending upon Character Ranges. universe@48: as_cr_letters='abcdefghijklmnopqrstuvwxyz' universe@48: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' universe@48: as_cr_Letters=$as_cr_letters$as_cr_LETTERS universe@48: as_cr_digits='0123456789' universe@48: as_cr_alnum=$as_cr_Letters$as_cr_digits universe@48: universe@48: ECHO_C= ECHO_N= ECHO_T= universe@48: case `echo -n x` in #((((( universe@48: -n*) universe@48: case `echo 'xy\c'` in universe@48: *c*) ECHO_T=' ';; # ECHO_T is single tab character. universe@48: xy) ECHO_C='\c';; universe@48: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null universe@48: ECHO_T=' ';; universe@48: esac;; universe@48: *) universe@48: ECHO_N='-n';; universe@48: esac universe@48: universe@48: rm -f conf$$ conf$$.exe conf$$.file universe@48: if test -d conf$$.dir; then universe@48: rm -f conf$$.dir/conf$$.file universe@48: else universe@48: rm -f conf$$.dir universe@48: mkdir conf$$.dir 2>/dev/null universe@48: fi universe@48: if (echo >conf$$.file) 2>/dev/null; then universe@48: if ln -s conf$$.file conf$$ 2>/dev/null; then universe@48: as_ln_s='ln -s' universe@48: # ... but there are two gotchas: universe@48: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. universe@48: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. universe@48: # In both cases, we have to default to `cp -pR'. universe@48: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || universe@48: as_ln_s='cp -pR' universe@48: elif ln conf$$.file conf$$ 2>/dev/null; then universe@48: as_ln_s=ln universe@48: else universe@48: as_ln_s='cp -pR' universe@48: fi universe@48: else universe@48: as_ln_s='cp -pR' universe@48: fi universe@48: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file universe@48: rmdir conf$$.dir 2>/dev/null universe@48: universe@48: universe@48: # as_fn_mkdir_p universe@48: # ------------- universe@48: # Create "$as_dir" as a directory, including parents if necessary. universe@48: as_fn_mkdir_p () universe@48: { universe@48: universe@48: case $as_dir in #( universe@48: -*) as_dir=./$as_dir;; universe@48: esac universe@48: test -d "$as_dir" || eval $as_mkdir_p || { universe@48: as_dirs= universe@48: while :; do universe@48: case $as_dir in #( universe@48: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( universe@48: *) as_qdir=$as_dir;; universe@48: esac universe@48: as_dirs="'$as_qdir' $as_dirs" universe@48: as_dir=`$as_dirname -- "$as_dir" || universe@48: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ universe@48: X"$as_dir" : 'X\(//\)[^/]' \| \ universe@48: X"$as_dir" : 'X\(//\)$' \| \ universe@48: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || universe@48: $as_echo X"$as_dir" | universe@48: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)[^/].*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\).*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: s/.*/./; q'` universe@48: test -d "$as_dir" && break universe@48: done universe@48: test -z "$as_dirs" || eval "mkdir $as_dirs" universe@48: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" universe@48: universe@48: universe@48: } # as_fn_mkdir_p universe@48: if mkdir -p . 2>/dev/null; then universe@48: as_mkdir_p='mkdir -p "$as_dir"' universe@48: else universe@48: test -d ./-p && rmdir ./-p universe@48: as_mkdir_p=false universe@48: fi universe@48: universe@48: universe@48: # as_fn_executable_p FILE universe@48: # ----------------------- universe@48: # Test if FILE is an executable regular file. universe@48: as_fn_executable_p () universe@48: { universe@48: test -f "$1" && test -x "$1" universe@48: } # as_fn_executable_p universe@48: as_test_x='test -x' universe@48: as_executable_p=as_fn_executable_p universe@48: universe@48: # Sed expression to map a string onto a valid CPP name. universe@48: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" universe@48: universe@48: # Sed expression to map a string onto a valid variable name. universe@48: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" universe@48: universe@48: universe@48: exec 6>&1 universe@48: ## ----------------------------------- ## universe@48: ## Main body of $CONFIG_STATUS script. ## universe@48: ## ----------------------------------- ## universe@48: _ASEOF universe@48: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 universe@48: universe@48: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 universe@48: # Save the log message, to keep $0 and so on meaningful, and to universe@48: # report actual input values of CONFIG_FILES etc. instead of their universe@48: # values after options handling. universe@48: ac_log=" universe@48: This file was extended by cline $as_me 1.1, which was universe@48: generated by GNU Autoconf 2.69. Invocation command line was universe@48: universe@48: CONFIG_FILES = $CONFIG_FILES universe@48: CONFIG_HEADERS = $CONFIG_HEADERS universe@48: CONFIG_LINKS = $CONFIG_LINKS universe@48: CONFIG_COMMANDS = $CONFIG_COMMANDS universe@48: $ $0 $@ universe@48: universe@48: on `(hostname || uname -n) 2>/dev/null | sed 1q` universe@48: " universe@48: universe@48: _ACEOF universe@48: universe@48: case $ac_config_files in *" universe@48: "*) set x $ac_config_files; shift; ac_config_files=$*;; universe@48: esac universe@48: universe@48: case $ac_config_headers in *" universe@48: "*) set x $ac_config_headers; shift; ac_config_headers=$*;; universe@48: esac universe@48: universe@48: universe@48: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 universe@48: # Files that config.status was made for. universe@48: config_files="$ac_config_files" universe@48: config_headers="$ac_config_headers" universe@48: config_commands="$ac_config_commands" universe@48: universe@48: _ACEOF universe@48: universe@48: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 universe@48: ac_cs_usage="\ universe@48: \`$as_me' instantiates files and other configuration actions universe@48: from templates according to the current configuration. Unless the files universe@48: and actions are specified as TAGs, all are instantiated by default. universe@48: universe@48: Usage: $0 [OPTION]... [TAG]... universe@48: universe@48: -h, --help print this help, then exit universe@48: -V, --version print version number and configuration settings, then exit universe@48: --config print configuration, then exit universe@48: -q, --quiet, --silent universe@48: do not print progress messages universe@48: -d, --debug don't remove temporary files universe@48: --recheck update $as_me by reconfiguring in the same conditions universe@48: --file=FILE[:TEMPLATE] universe@48: instantiate the configuration file FILE universe@48: --header=FILE[:TEMPLATE] universe@48: instantiate the configuration header FILE universe@48: universe@48: Configuration files: universe@48: $config_files universe@48: universe@48: Configuration headers: universe@48: $config_headers universe@48: universe@48: Configuration commands: universe@48: $config_commands universe@48: universe@48: Report bugs to ." universe@48: universe@48: _ACEOF universe@48: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 universe@48: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" universe@48: ac_cs_version="\\ universe@48: cline config.status 1.1 universe@48: configured by $0, generated by GNU Autoconf 2.69, universe@48: with options \\"\$ac_cs_config\\" universe@48: universe@48: Copyright (C) 2012 Free Software Foundation, Inc. universe@48: This config.status script is free software; the Free Software Foundation universe@48: gives unlimited permission to copy, distribute and modify it." universe@48: universe@48: ac_pwd='$ac_pwd' universe@48: srcdir='$srcdir' universe@48: INSTALL='$INSTALL' universe@48: MKDIR_P='$MKDIR_P' universe@48: AWK='$AWK' universe@48: test -n "\$AWK" || AWK=awk universe@48: _ACEOF universe@48: universe@48: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 universe@48: # The default lists apply if the user does not specify any file. universe@48: ac_need_defaults=: universe@48: while test $# != 0 universe@48: do universe@48: case $1 in universe@48: --*=?*) universe@48: ac_option=`expr "X$1" : 'X\([^=]*\)='` universe@48: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` universe@48: ac_shift=: universe@48: ;; universe@48: --*=) universe@48: ac_option=`expr "X$1" : 'X\([^=]*\)='` universe@48: ac_optarg= universe@48: ac_shift=: universe@48: ;; universe@48: *) universe@48: ac_option=$1 universe@48: ac_optarg=$2 universe@48: ac_shift=shift universe@48: ;; universe@48: esac universe@48: universe@48: case $ac_option in universe@48: # Handling of the options. universe@48: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) universe@48: ac_cs_recheck=: ;; universe@48: --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) universe@48: $as_echo "$ac_cs_version"; exit ;; universe@48: --config | --confi | --conf | --con | --co | --c ) universe@48: $as_echo "$ac_cs_config"; exit ;; universe@48: --debug | --debu | --deb | --de | --d | -d ) universe@48: debug=: ;; universe@48: --file | --fil | --fi | --f ) universe@48: $ac_shift universe@48: case $ac_optarg in universe@48: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; universe@48: '') as_fn_error $? "missing file argument" ;; universe@48: esac universe@48: as_fn_append CONFIG_FILES " '$ac_optarg'" universe@48: ac_need_defaults=false;; universe@48: --header | --heade | --head | --hea ) universe@48: $ac_shift universe@48: case $ac_optarg in universe@48: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; universe@48: esac universe@48: as_fn_append CONFIG_HEADERS " '$ac_optarg'" universe@48: ac_need_defaults=false;; universe@48: --he | --h) universe@48: # Conflict between --help and --header universe@48: as_fn_error $? "ambiguous option: \`$1' universe@48: Try \`$0 --help' for more information.";; universe@48: --help | --hel | -h ) universe@48: $as_echo "$ac_cs_usage"; exit ;; universe@48: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ universe@48: | -silent | --silent | --silen | --sile | --sil | --si | --s) universe@48: ac_cs_silent=: ;; universe@48: universe@48: # This is an error. universe@48: -*) as_fn_error $? "unrecognized option: \`$1' universe@48: Try \`$0 --help' for more information." ;; universe@48: universe@48: *) as_fn_append ac_config_targets " $1" universe@48: ac_need_defaults=false ;; universe@48: universe@48: esac universe@48: shift universe@48: done universe@48: universe@48: ac_configure_extra_args= universe@48: universe@48: if $ac_cs_silent; then universe@48: exec 6>/dev/null universe@48: ac_configure_extra_args="$ac_configure_extra_args --silent" universe@48: fi universe@48: universe@48: _ACEOF universe@48: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 universe@48: if \$ac_cs_recheck; then universe@48: set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion universe@48: shift universe@48: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 universe@48: CONFIG_SHELL='$SHELL' universe@48: export CONFIG_SHELL universe@48: exec "\$@" universe@48: fi universe@48: universe@48: _ACEOF universe@48: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 universe@48: exec 5>>config.log universe@48: { universe@48: echo universe@48: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX universe@48: ## Running $as_me. ## universe@48: _ASBOX universe@48: $as_echo "$ac_log" universe@48: } >&5 universe@48: universe@48: _ACEOF universe@48: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 universe@48: # universe@48: # INIT-COMMANDS universe@48: # universe@48: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" universe@48: universe@48: _ACEOF universe@48: universe@48: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 universe@48: universe@48: # Handling of arguments. universe@48: for ac_config_target in $ac_config_targets universe@48: do universe@48: case $ac_config_target in universe@48: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; universe@48: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; universe@48: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; universe@48: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; universe@48: universe@48: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; universe@48: esac universe@48: done universe@48: universe@48: universe@48: # If the user did not use the arguments to specify the items to instantiate, universe@48: # then the envvar interface is used. Set only those that are not. universe@48: # We use the long form for the default assignment because of an extremely universe@48: # bizarre bug on SunOS 4.1.3. universe@48: if $ac_need_defaults; then universe@48: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files universe@48: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers universe@48: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands universe@48: fi universe@48: universe@48: # Have a temporary directory for convenience. Make it in the build tree universe@48: # simply because there is no reason against having it here, and in addition, universe@48: # creating and moving files from /tmp can sometimes cause problems. universe@48: # Hook for its removal unless debugging. universe@48: # Note that there is a small window in which the directory will not be cleaned: universe@48: # after its creation but before its name has been assigned to `$tmp'. universe@48: $debug || universe@48: { universe@48: tmp= ac_tmp= universe@48: trap 'exit_status=$? universe@48: : "${ac_tmp:=$tmp}" universe@48: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status universe@48: ' 0 universe@48: trap 'as_fn_exit 1' 1 2 13 15 universe@48: } universe@48: # Create a (secure) tmp directory for tmp files. universe@48: universe@48: { universe@48: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && universe@48: test -d "$tmp" universe@48: } || universe@48: { universe@48: tmp=./conf$$-$RANDOM universe@48: (umask 077 && mkdir "$tmp") universe@48: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 universe@48: ac_tmp=$tmp universe@48: universe@48: # Set up the scripts for CONFIG_FILES section. universe@48: # No need to generate them if there are no CONFIG_FILES. universe@48: # This happens for instance with `./config.status config.h'. universe@48: if test -n "$CONFIG_FILES"; then universe@48: universe@48: universe@48: ac_cr=`echo X | tr X '\015'` universe@48: # On cygwin, bash can eat \r inside `` if the user requested igncr. universe@48: # But we know of no other shell where ac_cr would be empty at this universe@48: # point, so we can use a bashism as a fallback. universe@48: if test "x$ac_cr" = x; then universe@48: eval ac_cr=\$\'\\r\' universe@48: fi universe@48: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` universe@48: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then universe@48: ac_cs_awk_cr='\\r' universe@48: else universe@48: ac_cs_awk_cr=$ac_cr universe@48: fi universe@48: universe@48: echo 'BEGIN {' >"$ac_tmp/subs1.awk" && universe@48: _ACEOF universe@48: universe@48: universe@48: { universe@48: echo "cat >conf$$subs.awk <<_ACEOF" && universe@48: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && universe@48: echo "_ACEOF" universe@48: } >conf$$subs.sh || universe@48: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 universe@48: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` universe@48: ac_delim='%!_!# ' universe@48: for ac_last_try in false false false false false :; do universe@48: . ./conf$$subs.sh || universe@48: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 universe@48: universe@48: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` universe@48: if test $ac_delim_n = $ac_delim_num; then universe@48: break universe@48: elif $ac_last_try; then universe@48: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 universe@48: else universe@48: ac_delim="$ac_delim!$ac_delim _$ac_delim!! " universe@48: fi universe@48: done universe@48: rm -f conf$$subs.sh universe@48: universe@48: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 universe@48: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && universe@48: _ACEOF universe@48: sed -n ' universe@48: h universe@48: s/^/S["/; s/!.*/"]=/ universe@48: p universe@48: g universe@48: s/^[^!]*!// universe@48: :repl universe@48: t repl universe@48: s/'"$ac_delim"'$// universe@48: t delim universe@48: :nl universe@48: h universe@48: s/\(.\{148\}\)..*/\1/ universe@48: t more1 universe@48: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ universe@48: p universe@48: n universe@48: b repl universe@48: :more1 universe@48: s/["\\]/\\&/g; s/^/"/; s/$/"\\/ universe@48: p universe@48: g universe@48: s/.\{148\}// universe@48: t nl universe@48: :delim universe@48: h universe@48: s/\(.\{148\}\)..*/\1/ universe@48: t more2 universe@48: s/["\\]/\\&/g; s/^/"/; s/$/"/ universe@48: p universe@48: b universe@48: :more2 universe@48: s/["\\]/\\&/g; s/^/"/; s/$/"\\/ universe@48: p universe@48: g universe@48: s/.\{148\}// universe@48: t delim universe@48: ' >$CONFIG_STATUS || ac_write_fail=1 universe@48: rm -f conf$$subs.awk universe@48: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 universe@48: _ACAWK universe@48: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && universe@48: for (key in S) S_is_set[key] = 1 universe@48: FS = "" universe@48: universe@48: } universe@48: { universe@48: line = $ 0 universe@48: nfields = split(line, field, "@") universe@48: substed = 0 universe@48: len = length(field[1]) universe@48: for (i = 2; i < nfields; i++) { universe@48: key = field[i] universe@48: keylen = length(key) universe@48: if (S_is_set[key]) { universe@48: value = S[key] universe@48: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) universe@48: len += length(value) + length(field[++i]) universe@48: substed = 1 universe@48: } else universe@48: len += 1 + keylen universe@48: } universe@48: universe@48: print line universe@48: } universe@48: universe@48: _ACAWK universe@48: _ACEOF universe@48: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 universe@48: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then universe@48: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" universe@48: else universe@48: cat universe@48: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ universe@48: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 universe@48: _ACEOF universe@48: universe@48: # VPATH may cause trouble with some makes, so we remove sole $(srcdir), universe@48: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and universe@48: # trailing colons and then remove the whole line if VPATH becomes empty universe@48: # (actually we leave an empty line to preserve line numbers). universe@48: if test "x$srcdir" = x.; then universe@48: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ universe@48: h universe@48: s/// universe@48: s/^/:/ universe@48: s/[ ]*$/:/ universe@48: s/:\$(srcdir):/:/g universe@48: s/:\${srcdir}:/:/g universe@48: s/:@srcdir@:/:/g universe@48: s/^:*// universe@48: s/:*$// universe@48: x universe@48: s/\(=[ ]*\).*/\1/ universe@48: G universe@48: s/\n// universe@48: s/^[^=]*=[ ]*$// universe@48: }' universe@48: fi universe@48: universe@48: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 universe@48: fi # test -n "$CONFIG_FILES" universe@48: universe@48: # Set up the scripts for CONFIG_HEADERS section. universe@48: # No need to generate them if there are no CONFIG_HEADERS. universe@48: # This happens for instance with `./config.status Makefile'. universe@48: if test -n "$CONFIG_HEADERS"; then universe@48: cat >"$ac_tmp/defines.awk" <<\_ACAWK || universe@48: BEGIN { universe@48: _ACEOF universe@48: universe@48: # Transform confdefs.h into an awk script `defines.awk', embedded as universe@48: # here-document in config.status, that substitutes the proper values into universe@48: # config.h.in to produce config.h. universe@48: universe@48: # Create a delimiter string that does not exist in confdefs.h, to ease universe@48: # handling of long lines. universe@48: ac_delim='%!_!# ' universe@48: for ac_last_try in false false :; do universe@48: ac_tt=`sed -n "/$ac_delim/p" confdefs.h` universe@48: if test -z "$ac_tt"; then universe@48: break universe@48: elif $ac_last_try; then universe@48: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 universe@48: else universe@48: ac_delim="$ac_delim!$ac_delim _$ac_delim!! " universe@48: fi universe@48: done universe@48: universe@48: # For the awk script, D is an array of macro values keyed by name, universe@48: # likewise P contains macro parameters if any. Preserve backslash universe@48: # newline sequences. universe@48: universe@48: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* universe@48: sed -n ' universe@48: s/.\{148\}/&'"$ac_delim"'/g universe@48: t rset universe@48: :rset universe@48: s/^[ ]*#[ ]*define[ ][ ]*/ / universe@48: t def universe@48: d universe@48: :def universe@48: s/\\$// universe@48: t bsnl universe@48: s/["\\]/\\&/g universe@48: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ universe@48: D["\1"]=" \3"/p universe@48: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p universe@48: d universe@48: :bsnl universe@48: s/["\\]/\\&/g universe@48: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ universe@48: D["\1"]=" \3\\\\\\n"\\/p universe@48: t cont universe@48: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p universe@48: t cont universe@48: d universe@48: :cont universe@48: n universe@48: s/.\{148\}/&'"$ac_delim"'/g universe@48: t clear universe@48: :clear universe@48: s/\\$// universe@48: t bsnlc universe@48: s/["\\]/\\&/g; s/^/"/; s/$/"/p universe@48: d universe@48: :bsnlc universe@48: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p universe@48: b cont universe@48: ' >$CONFIG_STATUS || ac_write_fail=1 universe@48: universe@48: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 universe@48: for (key in D) D_is_set[key] = 1 universe@48: FS = "" universe@48: } universe@48: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { universe@48: line = \$ 0 universe@48: split(line, arg, " ") universe@48: if (arg[1] == "#") { universe@48: defundef = arg[2] universe@48: mac1 = arg[3] universe@48: } else { universe@48: defundef = substr(arg[1], 2) universe@48: mac1 = arg[2] universe@48: } universe@48: split(mac1, mac2, "(") #) universe@48: macro = mac2[1] universe@48: prefix = substr(line, 1, index(line, defundef) - 1) universe@48: if (D_is_set[macro]) { universe@48: # Preserve the white space surrounding the "#". universe@48: print prefix "define", macro P[macro] D[macro] universe@48: next universe@48: } else { universe@48: # Replace #undef with comments. This is necessary, for example, universe@48: # in the case of _POSIX_SOURCE, which is predefined and required universe@48: # on some systems where configure will not decide to define it. universe@48: if (defundef == "undef") { universe@48: print "/*", prefix defundef, macro, "*/" universe@48: next universe@48: } universe@48: } universe@48: } universe@48: { print } universe@48: _ACAWK universe@48: _ACEOF universe@48: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 universe@48: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 universe@48: fi # test -n "$CONFIG_HEADERS" universe@48: universe@48: universe@48: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" universe@48: shift universe@48: for ac_tag universe@48: do universe@48: case $ac_tag in universe@48: :[FHLC]) ac_mode=$ac_tag; continue;; universe@48: esac universe@48: case $ac_mode$ac_tag in universe@48: :[FHL]*:*);; universe@48: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; universe@48: :[FH]-) ac_tag=-:-;; universe@48: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; universe@48: esac universe@48: ac_save_IFS=$IFS universe@48: IFS=: universe@48: set x $ac_tag universe@48: IFS=$ac_save_IFS universe@48: shift universe@48: ac_file=$1 universe@48: shift universe@48: universe@48: case $ac_mode in universe@48: :L) ac_source=$1;; universe@48: :[FH]) universe@48: ac_file_inputs= universe@48: for ac_f universe@48: do universe@48: case $ac_f in universe@48: -) ac_f="$ac_tmp/stdin";; universe@48: *) # Look for the file first in the build tree, then in the source tree universe@48: # (if the path is not absolute). The absolute path cannot be DOS-style, universe@48: # because $ac_f cannot contain `:'. universe@48: test -f "$ac_f" || universe@48: case $ac_f in universe@48: [\\/$]*) false;; universe@48: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; universe@48: esac || universe@48: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; universe@48: esac universe@48: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac universe@48: as_fn_append ac_file_inputs " '$ac_f'" universe@48: done universe@48: universe@48: # Let's still pretend it is `configure' which instantiates (i.e., don't universe@48: # use $as_me), people would be surprised to read: universe@48: # /* config.h. Generated by config.status. */ universe@48: configure_input='Generated from '` universe@48: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' universe@48: `' by configure.' universe@48: if test x"$ac_file" != x-; then universe@48: configure_input="$ac_file. $configure_input" universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 universe@48: $as_echo "$as_me: creating $ac_file" >&6;} universe@48: fi universe@48: # Neutralize special characters interpreted by sed in replacement strings. universe@48: case $configure_input in #( universe@48: *\&* | *\|* | *\\* ) universe@48: ac_sed_conf_input=`$as_echo "$configure_input" | universe@48: sed 's/[\\\\&|]/\\\\&/g'`;; #( universe@48: *) ac_sed_conf_input=$configure_input;; universe@48: esac universe@48: universe@48: case $ac_tag in universe@48: *:-:* | *:-) cat >"$ac_tmp/stdin" \ universe@48: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; universe@48: esac universe@48: ;; universe@48: esac universe@48: universe@48: ac_dir=`$as_dirname -- "$ac_file" || universe@48: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ universe@48: X"$ac_file" : 'X\(//\)[^/]' \| \ universe@48: X"$ac_file" : 'X\(//\)$' \| \ universe@48: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || universe@48: $as_echo X"$ac_file" | universe@48: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)[^/].*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\).*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: s/.*/./; q'` universe@48: as_dir="$ac_dir"; as_fn_mkdir_p universe@48: ac_builddir=. universe@48: universe@48: case "$ac_dir" in universe@48: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; universe@48: *) universe@48: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` universe@48: # A ".." for each directory in $ac_dir_suffix. universe@48: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` universe@48: case $ac_top_builddir_sub in universe@48: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; universe@48: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; universe@48: esac ;; universe@48: esac universe@48: ac_abs_top_builddir=$ac_pwd universe@48: ac_abs_builddir=$ac_pwd$ac_dir_suffix universe@48: # for backward compatibility: universe@48: ac_top_builddir=$ac_top_build_prefix universe@48: universe@48: case $srcdir in universe@48: .) # We are building in place. universe@48: ac_srcdir=. universe@48: ac_top_srcdir=$ac_top_builddir_sub universe@48: ac_abs_top_srcdir=$ac_pwd ;; universe@48: [\\/]* | ?:[\\/]* ) # Absolute name. universe@48: ac_srcdir=$srcdir$ac_dir_suffix; universe@48: ac_top_srcdir=$srcdir universe@48: ac_abs_top_srcdir=$srcdir ;; universe@48: *) # Relative name. universe@48: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix universe@48: ac_top_srcdir=$ac_top_build_prefix$srcdir universe@48: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; universe@48: esac universe@48: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix universe@48: universe@48: universe@48: case $ac_mode in universe@48: :F) universe@48: # universe@48: # CONFIG_FILE universe@48: # universe@48: universe@48: case $INSTALL in universe@48: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; universe@48: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; universe@48: esac universe@48: ac_MKDIR_P=$MKDIR_P universe@48: case $MKDIR_P in universe@48: [\\/$]* | ?:[\\/]* ) ;; universe@48: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; universe@48: esac universe@48: _ACEOF universe@48: universe@48: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 universe@48: # If the template does not know about datarootdir, expand it. universe@48: # FIXME: This hack should be removed a few years after 2.60. universe@48: ac_datarootdir_hack=; ac_datarootdir_seen= universe@48: ac_sed_dataroot=' universe@48: /datarootdir/ { universe@48: p universe@48: q universe@48: } universe@48: /@datadir@/p universe@48: /@docdir@/p universe@48: /@infodir@/p universe@48: /@localedir@/p universe@48: /@mandir@/p' universe@48: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in universe@48: *datarootdir*) ac_datarootdir_seen=yes;; universe@48: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 universe@48: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} universe@48: _ACEOF universe@48: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 universe@48: ac_datarootdir_hack=' universe@48: s&@datadir@&$datadir&g universe@48: s&@docdir@&$docdir&g universe@48: s&@infodir@&$infodir&g universe@48: s&@localedir@&$localedir&g universe@48: s&@mandir@&$mandir&g universe@48: s&\\\${datarootdir}&$datarootdir&g' ;; universe@48: esac universe@48: _ACEOF universe@48: universe@48: # Neutralize VPATH when `$srcdir' = `.'. universe@48: # Shell code in configure.ac might set extrasub. universe@48: # FIXME: do we really want to maintain this feature? universe@48: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 universe@48: ac_sed_extra="$ac_vpsub universe@48: $extrasub universe@48: _ACEOF universe@48: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 universe@48: :t universe@48: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b universe@48: s|@configure_input@|$ac_sed_conf_input|;t t universe@48: s&@top_builddir@&$ac_top_builddir_sub&;t t universe@48: s&@top_build_prefix@&$ac_top_build_prefix&;t t universe@48: s&@srcdir@&$ac_srcdir&;t t universe@48: s&@abs_srcdir@&$ac_abs_srcdir&;t t universe@48: s&@top_srcdir@&$ac_top_srcdir&;t t universe@48: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t universe@48: s&@builddir@&$ac_builddir&;t t universe@48: s&@abs_builddir@&$ac_abs_builddir&;t t universe@48: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t universe@48: s&@INSTALL@&$ac_INSTALL&;t t universe@48: s&@MKDIR_P@&$ac_MKDIR_P&;t t universe@48: $ac_datarootdir_hack universe@48: " universe@48: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ universe@48: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 universe@48: universe@48: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && universe@48: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && universe@48: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ universe@48: "$ac_tmp/out"`; test -z "$ac_out"; } && universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' universe@48: which seems to be undefined. Please make sure it is defined" >&5 universe@48: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' universe@48: which seems to be undefined. Please make sure it is defined" >&2;} universe@48: universe@48: rm -f "$ac_tmp/stdin" universe@48: case $ac_file in universe@48: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; universe@48: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; universe@48: esac \ universe@48: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 universe@48: ;; universe@48: :H) universe@48: # universe@48: # CONFIG_HEADER universe@48: # universe@48: if test x"$ac_file" != x-; then universe@48: { universe@48: $as_echo "/* $configure_input */" \ universe@48: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" universe@48: } >"$ac_tmp/config.h" \ universe@48: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 universe@48: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 universe@48: $as_echo "$as_me: $ac_file is unchanged" >&6;} universe@48: else universe@48: rm -f "$ac_file" universe@48: mv "$ac_tmp/config.h" "$ac_file" \ universe@48: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 universe@48: fi universe@48: else universe@48: $as_echo "/* $configure_input */" \ universe@48: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ universe@48: || as_fn_error $? "could not create -" "$LINENO" 5 universe@48: fi universe@48: # Compute "$ac_file"'s index in $config_headers. universe@48: _am_arg="$ac_file" universe@48: _am_stamp_count=1 universe@48: for _am_header in $config_headers :; do universe@48: case $_am_header in universe@48: $_am_arg | $_am_arg:* ) universe@48: break ;; universe@48: * ) universe@48: _am_stamp_count=`expr $_am_stamp_count + 1` ;; universe@48: esac universe@48: done universe@48: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || universe@48: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ universe@48: X"$_am_arg" : 'X\(//\)[^/]' \| \ universe@48: X"$_am_arg" : 'X\(//\)$' \| \ universe@48: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || universe@48: $as_echo X"$_am_arg" | universe@48: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)[^/].*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\).*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: s/.*/./; q'`/stamp-h$_am_stamp_count universe@48: ;; universe@48: universe@48: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 universe@48: $as_echo "$as_me: executing $ac_file commands" >&6;} universe@48: ;; universe@48: esac universe@48: universe@48: universe@48: case $ac_file$ac_mode in universe@48: "depfiles":C) test x"$AMDEP_TRUE" != x"" || { universe@48: # Older Autoconf quotes --file arguments for eval, but not when files universe@48: # are listed without --file. Let's play safe and only enable the eval universe@48: # if we detect the quoting. universe@48: case $CONFIG_FILES in universe@48: *\'*) eval set x "$CONFIG_FILES" ;; universe@48: *) set x $CONFIG_FILES ;; universe@48: esac universe@48: shift universe@48: for mf universe@48: do universe@48: # Strip MF so we end up with the name of the file. universe@48: mf=`echo "$mf" | sed -e 's/:.*$//'` universe@48: # Check whether this is an Automake generated Makefile or not. universe@48: # We used to match only the files named 'Makefile.in', but universe@48: # some people rename them; so instead we look at the file content. universe@48: # Grep'ing the first line is not enough: some people post-process universe@48: # each Makefile.in and add a new line on top of each file to say so. universe@48: # Grep'ing the whole file is not good either: AIX grep has a line universe@48: # limit of 2048, but all sed's we know have understand at least 4000. universe@48: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then universe@48: dirpart=`$as_dirname -- "$mf" || universe@48: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ universe@48: X"$mf" : 'X\(//\)[^/]' \| \ universe@48: X"$mf" : 'X\(//\)$' \| \ universe@48: X"$mf" : 'X\(/\)' \| . 2>/dev/null || universe@48: $as_echo X"$mf" | universe@48: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)[^/].*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\).*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: s/.*/./; q'` universe@48: else universe@48: continue universe@48: fi universe@48: # Extract the definition of DEPDIR, am__include, and am__quote universe@48: # from the Makefile without running 'make'. universe@48: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` universe@48: test -z "$DEPDIR" && continue universe@48: am__include=`sed -n 's/^am__include = //p' < "$mf"` universe@48: test -z "$am__include" && continue universe@48: am__quote=`sed -n 's/^am__quote = //p' < "$mf"` universe@48: # Find all dependency output files, they are included files with universe@48: # $(DEPDIR) in their names. We invoke sed twice because it is the universe@48: # simplest approach to changing $(DEPDIR) to its actual value in the universe@48: # expansion. universe@48: for file in `sed -n " universe@48: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ universe@48: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do universe@48: # Make sure the directory exists. universe@48: test -f "$dirpart/$file" && continue universe@48: fdir=`$as_dirname -- "$file" || universe@48: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ universe@48: X"$file" : 'X\(//\)[^/]' \| \ universe@48: X"$file" : 'X\(//\)$' \| \ universe@48: X"$file" : 'X\(/\)' \| . 2>/dev/null || universe@48: $as_echo X"$file" | universe@48: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)[^/].*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\/\)$/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: /^X\(\/\).*/{ universe@48: s//\1/ universe@48: q universe@48: } universe@48: s/.*/./; q'` universe@48: as_dir=$dirpart/$fdir; as_fn_mkdir_p universe@48: # echo "creating $dirpart/$file" universe@48: echo '# dummy' > "$dirpart/$file" universe@48: done universe@48: done universe@48: } universe@48: ;; universe@48: universe@48: esac universe@48: done # for ac_tag universe@48: universe@48: universe@48: as_fn_exit 0 universe@48: _ACEOF universe@48: ac_clean_files=$ac_clean_files_save universe@48: universe@48: test $ac_write_fail = 0 || universe@48: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 universe@48: universe@48: universe@48: # configure is writing to config.log, and then calls config.status. universe@48: # config.status does its own redirection, appending to config.log. universe@48: # Unfortunately, on DOS this fails, as config.log is still kept open universe@48: # by configure, so config.status won't be able to write to it; its universe@48: # output is simply discarded. So we exec the FD to /dev/null, universe@48: # effectively closing config.log, so it can be properly (re)opened and universe@48: # appended to by config.status. When coming back to configure, we universe@48: # need to make the FD available again. universe@48: if test "$no_create" != yes; then universe@48: ac_cs_success=: universe@48: ac_config_status_args= universe@48: test "$silent" = yes && universe@48: ac_config_status_args="$ac_config_status_args --quiet" universe@48: exec 5>/dev/null universe@48: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false universe@48: exec 5>>config.log universe@48: # Use ||, not &&, to avoid exiting from the if with $? = 1, which universe@48: # would make configure fail if this is the last instruction. universe@48: $ac_cs_success || as_fn_exit 1 universe@48: fi universe@48: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then universe@48: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 universe@48: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} universe@48: fi universe@48: