4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# Guess values for system-dependent variables and create Makefiles.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Generated by GNU Autoconf 2.68.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Foundation, Inc.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# This configure script is free software; the Free Software Foundation
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# gives unlimited permission to copy, distribute and modify it.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## -------------------- ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## M4sh Initialization. ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## -------------------- ##
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# Be more Bourne compatible
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews # is contrary to our usage. Disable this feature.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Printing a long string crashes Solaris 7 /usr/bin/printf.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Prefer a ksh shell builtin over an external printf program on Solaris,
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# but without wasting forks for bash or zsh.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test -z "$BASH_VERSION$ZSH_VERSION" \
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewselif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_echo_n_body='eval
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews export as_echo_n_body
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews export as_echo_body
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# The user is always right.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test "${PATH_SEPARATOR+set}" != set; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews PATH_SEPARATOR=:
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# We need space, tab and new line, in precisely that order. Quoting is
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# there to prevent editors from complaining about space-tab.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# (If _AS_PATH_WALK were called with IFS unset, it would disable word
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# splitting by setting IFS to empty value.)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark AndrewsIFS=" "" $as_nl"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# Find who we are. Look in the path if we contain no directory separator.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscase $0 in #((
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *[\\/]* ) as_myself=$0 ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsfor as_dir in $PATH
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews IFS=$as_save_IFS
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews test -z "$as_dir" && as_dir=.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark AndrewsIFS=$as_save_IFS
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# We did not find ourselves, most probably we were run as `sh COMMAND'
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# in which case we are not to be found in the path.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsif test "x$as_myself" = x; then
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsif test ! -f "$as_myself"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Unset variables that we do not need and which cause bugs (e.g. in
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# suppresses any "Segmentation fault" message there. '((' could
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# trigger a bug in pdksh 5.2.14.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews# NLS nuisances.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsif test "x$CONFIG_SHELL" = x; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # is contrary to our usage. Disable this feature.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews alias -g '\${1+\"\$@\"}'='\"\$@\"'
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews setopt NO_GLOB_SUBST
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews case \`(set -o) 2>/dev/null\` in #(
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews set -o posix ;; #(
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_success () { as_fn_return 0; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_failure () { as_fn_return 1; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_ret_success () { return 0; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_ret_failure () { return 1; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_success || { exitcode=1; echo as_fn_success failed.; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews exitcode=1; echo positional parameters were not saved.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewstest x\$exitcode = x0 || exit 1"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Try only shells that exist, to save several forks.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test "x$CONFIG_SHELL" != x; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # We cannot yet assume a decent shell, so we have to provide a
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # neutralization value for shells without unset; and this also
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # works around shells that cannot unset nonexistent variables.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Preserve -v and -x to the replacement shell.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$0: This script requires a shell more modern than all"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$0: the shells that I found on your system."
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$0: be upgraded to zsh 4.3.4 or later."
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$0: including any error possibly output before this
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$0: message. Then install a modern shell, or manually run
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$0: the script under such a shell if you do have one."
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Unset more variables known to interfere with behavior of common tools.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## --------------------- ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## M4sh Shell Functions. ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## --------------------- ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_unset VAR
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ---------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Portably unset VAR.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_set_status STATUS
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# -----------------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Set $? to STATUS, without forking.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_exit STATUS
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# -----------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_mkdir_p
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# -------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Create "$as_dir" as a directory, including parents if necessary.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews /^X\(\/\/\)[^/].*/{
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews /^X\(\/\/\)$/{
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews /^X\(\/\).*/{
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_append VAR VALUE
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ----------------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Append the text in VALUE to the end of the definition contained in VAR. Take
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# advantage of any shell optimizations that allow amortized linear growth over
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# repeated appends, instead of the typical quadratic growth present in naive
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# implementations.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval 'as_fn_append ()
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval $1+=\$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval $1=\$$1\$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsfi # as_fn_append
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_arith ARG...
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ------------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Perform arithmetic evaluation on the ARGs, and store the result in the
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# global $as_val. Take advantage of shells that can avoid forks. The arguments
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# must be portable across $(()) and expr.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval 'as_fn_arith ()
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_val=$(( $* ))
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsfi # as_fn_arith
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_error STATUS ERROR [LINENO LOG_FD]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ----------------------------------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# script with STATUS, using 1 if that was 0.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_status=$1; test $as_status -eq 0 && as_status=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test "X`expr 00001 : '.*\(...\)'`" = X001; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews /^X\/\(\/\/\)$/{
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews /^X\/\(\/\).*/{
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Avoid depending upon Character Ranges.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews /[$]LINENO/=
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews s/[$]LINENO.*/&-/
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # Don't try to exec as it changes $[0], causing all sort of problems
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # (the dirname of $[0] is not the place where we might find the
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # original and so on. Autoconf is especially sensitive to this).
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # Exit status is that of the last command.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # ... but there are two gotchas:
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # In both cases, we have to default to `cp -p'.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews test -d ./-p && rmdir ./-p
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews if test -d "$1"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test -d "$1/.";
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews case $1 in #(
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews -*)set "./$1";;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews ???[sx]*):;;*)false;;esac;fi
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Sed expression to map a string onto a valid CPP name.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Sed expression to map a string onto a valid variable name.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Name of the host.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# so uname gets run too.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Initializations.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Identity of this package.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsoldincludedir
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewslocalstatedir
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewssharedstatedir
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsprogram_transform_name
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsPACKAGE_BUGREPORT
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsPACKAGE_STRING
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsPACKAGE_VERSION
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsPACKAGE_TARNAME
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsPATH_SEPARATOR
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsenable_option_checking
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# Initialize some variables set by options.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# The variables have the same names as the options, with
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# dashes changed to underlines.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Installation directory options.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# These are left unexpanded so users can "make install exec_prefix=/foo"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# and all the variables that are supposed to be based on exec_prefix
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# by default will actually change.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Use braces instead of parens because sh, perl, etc. also accept them.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# (The list follows the same order as the GNU Coding Standards.)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson # If the previous option needs an argument, assign it.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson if test -n "$ac_prev"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson # Accept the important Cygnus configure options, so we can diagnose typos.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -bindir | --bindir | --bindi | --bind | --bin | --bi)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -build | --build | --buil | --bui | --bu)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -build=* | --build=* | --buil=* | --bui=* | --bu=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -cache-file | --cache-file | --cache-fil | --cache-fi \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -datadir=* | --datadir=* | --datadi=* | --datad=*)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson # Reject names that are not valid shell variable names.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "invalid feature name: $ac_useropt"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson # Reject names that are not valid shell variable names.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "invalid feature name: $ac_useropt"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson # Obsolete; use --with-gas.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -includedir | --includedir | --includedi | --included | --include \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --includ=* | --inclu=* | --incl=* | --inc=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -infodir | --infodir | --infodi | --infod | --info | --inf)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -libdir=* | --libdir=* | --libdi=* | --libd=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -localedir | --localedir | --localedi | --localed | --locale)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -localstatedir | --localstatedir | --localstatedi | --localstated \
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews | --localstate | --localstat | --localsta | --localst | --locals)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson # Obsolete; use --without-fp.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -no-create | --no-create | --no-creat | --no-crea | --no-cre \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -no-recursion | --no-recursion | --no-recursio | --no-recursi \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -program-prefix | --program-prefix | --program-prefi | --program-pref \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --program-pre | --program-pr | --program-p)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -program-prefix=* | --program-prefix=* | --program-prefi=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -program-suffix | --program-suffix | --program-suffi | --program-suff \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --program-suf | --program-su | --program-s)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -program-suffix=* | --program-suffix=* | --program-suffi=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -program-transform-name | --program-transform-name \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --program-transform-nam | --program-transform-na \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --program-transform-n | --program-transform- \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --program-transform | --program-transfor \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --progr-tra | --program-tr | --program-t)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -program-transform-name=* | --program-transform-name=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --program-transform-nam=* | --program-transform-na=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --program-transform-n=* | --program-transform-=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --program-transform=* | --program-transfor=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --program-transfo=* | --program-transf=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --progr-tra=* | --program-tr=* | --program-t=*)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | -silent | --silent | --silen | --sile | --sil)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -sharedstatedir | --sharedstatedir | --sharedstatedi \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --sharedst | --shareds | --shared | --share | --shar \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --syscon | --sysco | --sysc | --sys | --sy)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -target | --target | --targe | --targ | --tar | --ta | --t)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -v | -verbose | --verbose | --verbos | --verbo | --verb)
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 -version | --version | --versio | --versi | --vers | -V)
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson # Reject names that are not valid shell variable names.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "invalid package name: $ac_useropt"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson # Reject names that are not valid shell variable names.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "invalid package name: $ac_useropt"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson # Obsolete; use --with-x.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -x-libraries | --x-libraries | --x-librarie | --x-librari \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews -*) as_fn_error $? "unrecognized option: \`$ac_option'
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsTry \`$0 --help' for more information"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # Reject names that are not valid shell variable names.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # FIXME: should be removed in autoconf 3.0.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafssonif test -n "$ac_prev"; then
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "missing argument to $ac_option"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test -n "$ac_unrecognized_opts"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Check all directory arguments for consistency.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews datadir sysconfdir sharedstatedir localstatedir includedir \
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Remove trailing slashes.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Be sure to have absolute directory names.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews [\\/$]* | ?:[\\/]* ) continue;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# There might be people who depend on the old broken behavior: `$host'
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# used to hold the argument of --host etc.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# FIXME: To remove some day.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# FIXME: To remove some day.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉if test "x$host_alias" != x; then
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 if test "x$build_alias" = x; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews If a cross compiler is detected then cross compile mode will be used" >&2
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 elif test "x$build_alias" != "x$host_alias"; then
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉test -n "$host_alias" && ac_tool_prefix=$host_alias-
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "working directory cannot be determined"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "pwd does not report name of working directory"
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# Find the source files, if location was not specified.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafssonif test -z "$srcdir"; then
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # Try the directory containing this script, then the parent directory.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews /^X\(\/\/\)[^/].*/{
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews /^X\(\/\/\)$/{
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews /^X\(\/\).*/{
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews if test ! -r "$srcdir/$ac_unique_file"; then
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsif test ! -r "$srcdir/$ac_unique_file"; then
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# When building in place, set srcdir=.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# Remove unnecessary trailing slashes from srcdir.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# Double slashes in file names in object file debugging info
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# mess up M-x gdb in Emacs.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Report the --help message.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # Omit some internal or obsolete options to make the list less imposing.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # This message is too long to be a string in the A/UX 3.1 sh.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉\`configure' configures this package to adapt to many kinds of systems.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉Usage: $0 [OPTION]... [VAR=VALUE]...
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉To assign environment variables (e.g., CC, CFLAGS...), specify them as
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉VAR=VALUE. See below for descriptions of some of the useful variables.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉Defaults for the options are specified in brackets.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 -h, --help display this help and exit
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 --help=short display options specific to this package
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 --help=recursive display the short help of all the included packages
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 -V, --version display version information and exit
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews -q, --quiet, --silent do not print \`checking ...' messages
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 --cache-file=FILE cache test results in FILE [disabled]
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 -C, --config-cache alias for \`--cache-file=config.cache'
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 -n, --no-create do not create output files
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 --srcdir=DIR find the sources in DIR [configure dir or \`..']
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉Installation directories:
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 --prefix=PREFIX install architecture-independent files in PREFIX
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews [$ac_default_prefix]
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉By default, \`make install' will install all the files in
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉an installation prefix other than \`$ac_default_prefix' using \`--prefix',
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉for instance \`--prefix=\$HOME'.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉For better control, use the options below.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉Fine tuning of the installation directories:
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --bindir=DIR user executables [EPREFIX/bin]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --sbindir=DIR system admin executables [EPREFIX/sbin]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --libexecdir=DIR program executables [EPREFIX/libexec]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --localstatedir=DIR modifiable single-machine data [PREFIX/var]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --libdir=DIR object code libraries [EPREFIX/lib]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --includedir=DIR C header files [PREFIX/include]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --oldincludedir=DIR C header files for non-gcc [/usr/include]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --infodir=DIR info documentation [DATAROOTDIR/info]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --mandir=DIR man documentation [DATAROOTDIR/man]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --htmldir=DIR html documentation [DOCDIR]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --dvidir=DIR dvi documentation [DOCDIR]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --pdfdir=DIR pdf documentation [DOCDIR]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --psdir=DIR ps documentation [DOCDIR]
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉if test -n "$ac_init_help"; then
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews LIBS libraries to pass to the linker, e.g. -l<library>
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews you have headers in a nonstandard directory <include dir>
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉Use these variables to override the choices made by `configure' or to help
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉it to find libraries and programs with nonstandard names/locations.
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsReport bugs to the package provider.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉if test "$ac_init_help" = "recursive"; then
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # If there are subdirs, report their specific --help.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test -d "$ac_dir" ||
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewscase "$ac_dir" in
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # A ".." for each directory in $ac_dir_suffix.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews case $ac_top_builddir_sub in
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsac_abs_top_builddir=$ac_pwd
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsac_abs_builddir=$ac_pwd$ac_dir_suffix
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# for backward compatibility:
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsac_top_builddir=$ac_top_build_prefix
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉case $srcdir in
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews .) # We are building in place.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews ac_top_srcdir=$ac_top_builddir_sub
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews ac_abs_top_srcdir=$ac_pwd ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews [\\/]* | ?:[\\/]* ) # Absolute name.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 ac_srcdir=$srcdir$ac_dir_suffix;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews ac_top_srcdir=$srcdir
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews ac_abs_top_srcdir=$srcdir ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *) # Relative name.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews ac_top_srcdir=$ac_top_build_prefix$srcdir
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews cd "$ac_dir" || { ac_status=$?; continue; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Check for guested configure.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test -f "$ac_srcdir/configure.gnu"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $SHELL "$ac_srcdir/configure.gnu" --help=recursive
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews elif test -f "$ac_srcdir/configure"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $SHELL "$ac_srcdir/configure" --help=recursive
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews fi || ac_status=$?
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews cd "$ac_pwd" || { ac_status=$?; break; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewstest -n "$ac_init_help" && exit $ac_status
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif $ac_init_version; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews cat <<\_ACEOF
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsgenerated by GNU Autoconf 2.68
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsCopyright (C) 2010 Free Software Foundation, Inc.
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsThis configure script is free software; the Free Software Foundation
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsgives unlimited permission to copy, distribute and modify it.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## ------------------------ ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## Autoconf initialization. ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## ------------------------ ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ac_fn_c_try_compile LINENO
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# --------------------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Try to compile conftest.$ac_ext, and return whether this succeeded.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_fn_c_try_compile ()
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews rm -f conftest.$ac_objext
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if { { ac_try="$ac_compile"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscase "(($ac_try" in
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) ac_try_echo=$ac_try;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$ac_try_echo"; } >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews (eval "$ac_compile") 2>conftest.err
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_status=$?
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test -s conftest.err; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test $ac_status = 0; } && {
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test -z "$ac_c_werror_flag" ||
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews } && test -s conftest.$ac_objext; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me: failed program was:" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_set_status $ac_retval
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews} # ac_fn_c_try_compile
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ac_fn_c_try_link LINENO
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# -----------------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Try to link conftest.$ac_ext, and return whether this succeeded.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_fn_c_try_link ()
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews rm -f conftest.$ac_objext conftest$ac_exeext
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if { { ac_try="$ac_link"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscase "(($ac_try" in
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) ac_try_echo=$ac_try;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$ac_try_echo"; } >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews (eval "$ac_link") 2>conftest.err
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_status=$?
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test -s conftest.err; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test $ac_status = 0; } && {
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test -z "$ac_c_werror_flag" ||
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews } && test -s conftest$ac_exeext && {
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test "$cross_compiling" = yes ||
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_test_x conftest$ac_exeext
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me: failed program was:" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # interfere with the next link command; also delete a directory that is
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # left behind by Apple's compiler. We do this before executing the actions.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ac_fn_c_check_func LINENO FUNC VAR
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ----------------------------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Tests whether FUNC exists, setting the cache variable VAR accordingly
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif eval \${$3+:} false; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews/* end confdefs.h. */
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews For example, HP-UX 11i <limits.h> declares gettimeofday. */
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews#define $2 innocuous_$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews/* System header to define __stub macros and hopefully few prototypes,
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews which can conflict with char $2 (); below.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews <limits.h> exists even on freestanding compilers. */
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews#ifdef __STDC__
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# include <limits.h>
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# include <assert.h>
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews/* Override any GCC internal prototype to avoid an error.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews Use char because int might match the return type of a GCC
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews builtin and then its argument prototype would still apply. */
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews#ifdef __cplusplus
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews/* The GNU C library defines this for functions which it implements
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews to always fail with ENOSYS. Some functions are actually named
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews something starting with __ and the normal name is an alias. */
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews#if defined __stub_$2 || defined __stub___$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsreturn $2 ();
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉This file contains any messages produced by compilers while
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉running configure, to aid debugging if configure makes a mistake.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉It was created by $as_me, which was
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsgenerated by GNU Autoconf 2.68. Invocation command line was
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉## --------- ##
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉## Platform. ##
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉## --------- ##
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉uname -m = `(uname -m) 2>/dev/null || echo unknown`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉uname -r = `(uname -r) 2>/dev/null || echo unknown`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉uname -s = `(uname -s) 2>/dev/null || echo unknown`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉uname -v = `(uname -v) 2>/dev/null || echo unknown`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉## ----------- ##
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉## Core tests. ##
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉## ----------- ##
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Keep a trace of the command line.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Strip out --no-create and --no-recursion so they do not pile up.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews# Strip out --silent because we don't want to record it for future runs.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Also quote any args containing shell meta-characters.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews# Make two passes to allow for proper duplicate-argument suppression.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews -q | -quiet | --quiet | --quie | --qui | --qu | --q \
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews | -silent | --silent | --silen | --sile | --sil)
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews if test $ac_must_keep_next = true; then
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews ac_must_keep_next=false # Got value, back to normal.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews *=* | --config-cache | -C | -disable-* | --disable-* \
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews | -with-* | --with-* | -without-* | --without-* | --x)
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ ac_configure_args0=; unset ac_configure_args0;}
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ ac_configure_args1=; unset ac_configure_args1;}
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# When interrupted or exit'd, cleanup temporary files, and complete
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# config.log. We remove comments because anyway the quotes in there
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# would cause problems or look ugly.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# WARNING: Use '\'' to represent an apostrophe within the trap.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # Save into config.log some information that might help in debugging.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "## ---------------- ##
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉## Cache variables. ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## ---------------- ##"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # The following way of writing the cache mishandles newlines in values,
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews eval ac_val=\$$ac_var
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews case $ac_val in #(
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews case $ac_var in #(
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews case $ac_var in #(
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews _ | IFS | as_nl) ;; #(
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) { eval $ac_var=; unset $ac_var;} ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *${as_nl}ac_space=\ *)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews## Output variables. ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## ----------------- ##"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews## File substitutions. ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## ------------------- ##"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 if test -s confdefs.h; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## ----------- ##"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉for ac_signal in 1 2 13 15; do
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# confdefs.h avoids OS command line length limits that DEFS can exceed.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsrm -f -r conftest* confdefs.h
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "/* confdefs.h */" > confdefs.h
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Predefined preprocessor variables.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉#define PACKAGE_NAME "$PACKAGE_NAME"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉#define PACKAGE_VERSION "$PACKAGE_VERSION"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉#define PACKAGE_STRING "$PACKAGE_STRING"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews#define PACKAGE_URL "$PACKAGE_URL"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Let the site file select an alternate cache file if it wants to.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Prefer an explicitly selected file to automatically selected ones.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_site_file1=NONE
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_site_file2=NONE
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsif test -n "$CONFIG_SITE"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # We do not want a PATH search for config.site.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews case $CONFIG_SITE in #((
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews -*) ac_site_file1=./$CONFIG_SITE;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews */*) ac_site_file1=$CONFIG_SITE;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) ac_site_file1=./$CONFIG_SITE;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewselif test "x$prefix" != xNONE; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_site_file2=$prefix/etc/config.site
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_site_file1=$ac_default_prefix/share/config.site
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_site_file2=$ac_default_prefix/etc/config.site
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test "x$ac_site_file" = xNONE && continue
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: loading site script $ac_site_file" >&6;}
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews . "$ac_site_file" \
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_error $? "failed to load site script $ac_site_file
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsSee \`config.log' for more details" "$LINENO" 5; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Some versions of bash will fail to source /dev/null (special files
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # actually), so we avoid doing that. DJGPP emulates it as a regular file.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test /dev/null != "$cache_file" && test -f "$cache_file"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: loading cache $cache_file" >&6;}
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: creating cache $cache_file" >&6;}
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Check that the precious variables saved in the cache have kept the same
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉ac_cache_corrupted=false
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsfor ac_var in $ac_precious_vars; do
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 eval ac_old_set=\$ac_cv_env_${ac_var}_set
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 eval ac_new_set=\$ac_env_${ac_var}_set
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews eval ac_old_val=\$ac_cv_env_${ac_var}_value
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews eval ac_new_val=\$ac_env_${ac_var}_value
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 ac_cache_corrupted=: ;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 ac_cache_corrupted=: ;;
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 if test "x$ac_old_val" != "x$ac_new_val"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # differences in whitespace do not lead to failure.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test "$ac_old_val_w" != "$ac_new_val_w"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_cache_corrupted=:
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval $ac_var=\$ac_old_val
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # Pass precious variables to config.status.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) as_fn_append ac_configure_args " '$ac_arg'" ;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## -------------------- ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## Main body of script. ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## -------------------- ##
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉set dummy ${ac_tool_prefix}gcc; ac_word=$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_prog_CC+:} false; then :
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson ac_cv_prog_CC="$CC" # Let the user override the test.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews for ac_exec_ext in '' $ac_executable_extensions; do
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # Extract the first word of "gcc", so it can be a program name with args.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉set dummy gcc; ac_word=$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_prog_ac_ct_CC+:} false; then :
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews for ac_exec_ext in '' $ac_executable_extensions; do
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsac_tool_warned=yes ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉set dummy ${ac_tool_prefix}cc; ac_word=$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_prog_CC+:} false; then :
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson ac_cv_prog_CC="$CC" # Let the user override the test.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews for ac_exec_ext in '' $ac_executable_extensions; do
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # Extract the first word of "cc", so it can be a program name with args.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉set dummy cc; ac_word=$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_prog_CC+:} false; then :
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 ac_cv_prog_CC="$CC" # Let the user override the test.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 ac_prog_rejected=no
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews for ac_exec_ext in '' $ac_executable_extensions; do
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 ac_prog_rejected=yes
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉if test $ac_prog_rejected = yes; then
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # We found a bogon in the path, so make sure we never use it.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 if test $# != 0; then
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # We chose a different compiler from the bogus one.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # However, it has the same basename, so the bogon will be chosen
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # first if we set CC to just the basename; use the full file name.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews for ac_prog in cl.exe
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉set dummy $ac_tool_prefix$ac_prog; ac_word=$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_prog_CC+:} false; then :
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 ac_cv_prog_CC="$CC" # Let the user override the test.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews for ac_exec_ext in '' $ac_executable_extensions; do
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews for ac_prog in cl.exe
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # Extract the first word of "$ac_prog", so it can be a program name with args.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉set dummy $ac_prog; ac_word=$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_prog_ac_ct_CC+:} false; then :
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews for ac_exec_ext in '' $ac_executable_extensions; do
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsac_tool_warned=yes ;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewstest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_error $? "no acceptable C compiler found in \$PATH
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsSee \`config.log' for more details" "$LINENO" 5; }
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Provide some information about the compiler.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsset X $ac_compile
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_compiler=$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsfor ac_option in --version -v -V -qversion; do
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { { ac_try="$ac_compiler $ac_option >&5"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewscase "(($ac_try" in
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *) ac_try_echo=$ac_try;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$ac_try_echo"; } >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews (eval "$ac_compiler $ac_option >&5") 2>conftest.err
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test -s conftest.err; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test $ac_status = 0; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat confdefs.h - <<_ACEOF >conftest.$ac_ext
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉ac_clean_files_save=$ac_clean_files
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Try to create an executable without -o first, disregard a.out.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# It will help us diagnose broken compilers, and finding out an intuition
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking whether the C compiler works... " >&6; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# The possible output files:
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsfor ac_file in $ac_files
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews case $ac_file in
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews * ) ac_rmfiles="$ac_rmfiles $ac_file";;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsrm -f $ac_rmfiles
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif { { ac_try="$ac_link_default"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewscase "(($ac_try" in
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *) ac_try_echo=$ac_try;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$ac_try_echo"; } >&5
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews (eval "$ac_link_default") 2>&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test $ac_status = 0; }; then :
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# in a Makefile. We should not override ac_cv_exeext if it was cached,
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# so that the user can short-circuit this test for compilers unknown to
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews # We found the default executable, but exeext='' is most
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews then :; else
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # We set ac_cv_exeext here because the later test for it is not
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # safe: cross compilers may not add the suffix if given an `-o'
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # argument, so we may need to know it at that point already.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # Even if this section looks crufty: it has the advantage of
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_error 77 "C compiler cannot create executables
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsSee \`config.log' for more details" "$LINENO" 5; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking for C compiler default output file name... " >&6; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking for suffix of executables... " >&6; }
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # If both `conftest.exe' and `conftest' are `present' (well, observable)
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# work properly (i.e., refer to `conftest.exe'), while it won't with
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsfor ac_file in conftest.exe conftest conftest.*; do
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_error $? "cannot compute suffix of executables: cannot compile and link
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsSee \`config.log' for more details" "$LINENO" 5; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews/* end confdefs.h. */
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews#include <stdio.h>
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsFILE *f = fopen ("conftest.out", "w");
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews return ferror (f) || fclose (f) != 0;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Check that the compiler produces executables we can run. If not, either
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# the compiler is broken, or we cross compile.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking whether we are cross compiling... " >&6; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsIf you meant to cross compile, use \`--host'.
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsSee \`config.log' for more details" "$LINENO" 5; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking for suffix of object files... " >&6; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_objext+:} false; then :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* end confdefs.h. */
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews for ac_file in conftest.o conftest.obj conftest.*; do
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_fn_error $? "cannot compute suffix of object files: cannot compile
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsSee \`config.log' for more details" "$LINENO" 5; }
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉rm -f conftest.$ac_cv_objext conftest.$ac_ext
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_c_compiler_gnu+:} false; then :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* end confdefs.h. */
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉#ifndef __GNUC__
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking whether $CC accepts -g... " >&6; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_prog_cc_g+:} false; then :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* end confdefs.h. */
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews/* end confdefs.h. */
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews/* end confdefs.h. */
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_prog_cc_c89+:} false; then :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* end confdefs.h. */
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews#include <stdarg.h>
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews#include <stdio.h>
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews#include <sys/types.h>
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews#include <sys/stat.h>
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsstruct buf { int x; };
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark AndrewsFILE * (*rcsopen) (struct buf *, struct stat *, int);
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsstatic char *e (p, i)
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews return p[i];
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsstatic char *f (char * (*g) (char **, int), char **p, ...)
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews va_start (v,p);
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews s = g (p, va_arg (v,int));
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews function prototypes and stuff, but not '\xHH' hex character constants.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews These don't provoke an error unfortunately, instead are silently treated
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews as 'x'. The following induces an error, until -std is added to get
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews array size at least. It's necessary to write '\x00'==0 to get something
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews that's true only with -std. */
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsint osf4_cc_array ['\x00' == 0 ? 1 : -1];
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews inside strings and character constants. */
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews#define FOO(x) 'x'
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsint test (int i, double x);
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsstruct s1 {int (*f) (int a);};
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsstruct s2 {int (*f) (double a);};
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# AC_CACHE_VAL
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_mkquery" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking for library containing res_mkquery... " >&6; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_search_res_mkquery+:} false; then :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* end confdefs.h. */
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews/* Override any GCC internal prototype to avoid an error.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews Use char because int might match the return type of a GCC
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews builtin and then its argument prototype would still apply. */
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews#ifdef __cplusplus
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewschar res_mkquery ();
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsreturn res_mkquery ();
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if ${ac_cv_search_res_mkquery+:} false; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_search_res_mkquery+:} false; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_mkquery" >&5
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_mkquery" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking for library containing __res_mkquery... " >&6; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_search___res_mkquery+:} false; then :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* end confdefs.h. */
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews/* Override any GCC internal prototype to avoid an error.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews Use char because int might match the return type of a GCC
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews builtin and then its argument prototype would still apply. */
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews#ifdef __cplusplus
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewschar __res_mkquery ();
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsreturn __res_mkquery ();
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if ${ac_cv_search___res_mkquery+:} false; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_search___res_mkquery+:} false; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_mkquery" >&5
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_9_mkquery" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking for library containing res_9_mkquery... " >&6; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_search_res_9_mkquery+:} false; then :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* end confdefs.h. */
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews/* Override any GCC internal prototype to avoid an error.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews Use char because int might match the return type of a GCC
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews builtin and then its argument prototype would still apply. */
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉#ifdef __cplusplus
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewschar res_9_mkquery ();
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsreturn res_9_mkquery ();
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if ${ac_cv_search_res_9_mkquery+:} false; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_search_res_9_mkquery+:} false; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_9_mkquery" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking for socket in -lsocket... " >&6; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_lib_socket_socket+:} false; then :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* end confdefs.h. */
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews/* Override any GCC internal prototype to avoid an error.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews Use char because int might match the return type of a GCC
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews builtin and then its argument prototype would still apply. */
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉#ifdef __cplusplus
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewschar socket ();
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsreturn socket ();
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test "x$ac_cv_lib_socket_socket" = xyes; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews#define HAVE_LIBSOCKET 1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_lib_nsl_inet_ntoa+:} false; then :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* end confdefs.h. */
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews/* Override any GCC internal prototype to avoid an error.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews Use char because int might match the return type of a GCC
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews builtin and then its argument prototype would still apply. */
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉#ifdef __cplusplus
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewschar inet_ntoa ();
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsreturn inet_ntoa ();
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_ntoa" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test "x$ac_cv_lib_nsl_inet_ntoa" = xyes; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews#define HAVE_LIBNSL 1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_fn_c_check_func "$LINENO" "gethostbyname2" "ac_cv_func_gethostbyname2"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test "x$ac_cv_func_gethostbyname2" = xyes; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews#define HAVE_GETHOSTBYNAME2 1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test "x$ac_cv_func_getaddrinfo" = xyes; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test "x$ac_cv_func_getnameinfo" = xyes; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "#define HAVE_GETNAMEINFO 1" >>confdefs.h
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_type_socklen_t+:} false; then :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* end confdefs.h. */
f642eb7b9fbca01905a68bdbb22222ebc761f840Andreas Gustafsson#include <sys/types.h>
f642eb7b9fbca01905a68bdbb22222ebc761f840Andreas Gustafsson #include <sys/socket.h>
1123872a47604644f6d74d7d8929472201db96f3Andreas Gustafssonsocklen_t len = 42; return len;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5
1123872a47604644f6d74d7d8929472201db96f3Andreas Gustafsson if test $ac_cv_type_socklen_t != yes; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_len" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif ${ac_cv_sa_len+:} false; then :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews/* end confdefs.h. */
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉#include <sys/types.h>
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 #include <sys/socket.h>
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉struct sockaddr sa; sa.sa_len = 0;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sa_len" >&5
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# This file is a shell script that caches the results of configure
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# tests run on this system so they can be shared between configure
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# scripts and configure runs, see configure's option --config-cache.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# It is not useful on other systems. If it contains results you don't
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# want to keep, you may remove or edit it.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# config.status only pays attention to the cache file if you give it
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# the --recheck option to rerun configure.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews# `ac_cv_env_foo' variables (set or unset) will be overridden when
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# loading this file, other *unset* `ac_cv_foo' will be assigned the
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# following values.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# The following way of writing the cache mishandles newlines in values,
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# but we know of no workaround that is simple, portable, and efficient.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# So, we kill variables containing newlines.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# Ultrix sh set writes to stderr and can't be redirected directly,
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# and sets the high bit in the cache file unless we assign to the vars.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # `set' does not quote correctly, so add quotes: double-quote
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # substitution turns \\\\ into \\, and sed turns \\ into \.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # `set' quotes correctly as required by POSIX, so do not add quotes.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews /^ac_cv_env_/b end
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: updating cache $cache_file" >&6;}
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test ! -f "$cache_file" || test -h "$cache_file"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafssontest "x$prefix" = xNONE && prefix=$ac_default_prefix
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# Let make expand exec_prefix.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafssontest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews # 1. Remove the extension, and $U if already installed.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # will be set to the directory where LIBOBJS objects are built.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Generated by $as_me.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# Run this file to recreate the current configuration.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# Compiler output produced by configure, useful for debugging
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# configure, is in config.log if it exists.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsac_cs_recheck=false
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsac_cs_silent=false
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsSHELL=\${CONFIG_SHELL-$SHELL}
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## -------------------- ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## M4sh Initialization. ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## -------------------- ##
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# Be more Bourne compatible
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews # is contrary to our usage. Disable this feature.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Printing a long string crashes Solaris 7 /usr/bin/printf.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Prefer a ksh shell builtin over an external printf program on Solaris,
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# but without wasting forks for bash or zsh.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test -z "$BASH_VERSION$ZSH_VERSION" \
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewselif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews export as_echo_n_body
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews export as_echo_body
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# The user is always right.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test "${PATH_SEPARATOR+set}" != set; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews PATH_SEPARATOR=:
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# We need space, tab and new line, in precisely that order. Quoting is
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# there to prevent editors from complaining about space-tab.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# (If _AS_PATH_WALK were called with IFS unset, it would disable word
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# splitting by setting IFS to empty value.)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark AndrewsIFS=" "" $as_nl"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# Find who we are. Look in the path if we contain no directory separator.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscase $0 in #((
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *[\\/]* ) as_myself=$0 ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsfor as_dir in $PATH
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews IFS=$as_save_IFS
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews test -z "$as_dir" && as_dir=.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark AndrewsIFS=$as_save_IFS
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# We did not find ourselves, most probably we were run as `sh COMMAND'
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# in which case we are not to be found in the path.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Unset variables that we do not need and which cause bugs (e.g. in
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# suppresses any "Segmentation fault" message there. '((' could
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# trigger a bug in pdksh 5.2.14.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsdo eval test x\${$as_var+set} = xset \
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews# NLS nuisances.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_error STATUS ERROR [LINENO LOG_FD]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ----------------------------------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# script with STATUS, using 1 if that was 0.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_status=$1; test $as_status -eq 0 && as_status=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_set_status STATUS
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# -----------------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Set $? to STATUS, without forking.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_exit STATUS
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# -----------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_unset VAR
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ---------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Portably unset VAR.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_append VAR VALUE
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ----------------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Append the text in VALUE to the end of the definition contained in VAR. Take
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# advantage of any shell optimizations that allow amortized linear growth over
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# repeated appends, instead of the typical quadratic growth present in naive
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# implementations.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval $1+=\$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval $1=\$$1\$2
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_arith ARG...
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ------------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Perform arithmetic evaluation on the ARGs, and store the result in the
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# global $as_val. Take advantage of shells that can avoid forks. The arguments
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# must be portable across $(()) and expr.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_val=$(( $* ))
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews test "X`expr 00001 : '.*\(...\)'`" = X001; then
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews sed '/^.*\/\([^/][^/]*\)\/*$/{
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews /^X\/\(\/\/\)$/{
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews /^X\/\(\/\).*/{
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Avoid depending upon Character Ranges.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsif test -d conf$$.dir; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if ln -s conf$$.file conf$$ 2>/dev/null; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # In both cases, we have to default to `cp -p'.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews elif ln conf$$.file conf$$ 2>/dev/null; then
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# as_fn_mkdir_p
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# -------------
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Create "$as_dir" as a directory, including parents if necessary.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews /^X\(\/\/\)[^/].*/{
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews /^X\(\/\/\)$/{
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews /^X\(\/\).*/{
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsif mkdir -p . 2>/dev/null; then
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews test -d ./-p && rmdir ./-p
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsif test -x / >/dev/null 2>&1; then
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews if ls -dL / >/dev/null 2>&1; then
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews if test -d "$1"; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews test -d "$1/.";
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews case $1 in #(
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews -*)set "./$1";;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews ???[sx]*):;;*)false;;esac;fi
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Sed expression to map a string onto a valid CPP name.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Sed expression to map a string onto a valid variable name.
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## ----------------------------------- ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## Main body of $CONFIG_STATUS script. ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews## ----------------------------------- ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewstest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Save the log message, to keep $0 and so on meaningful, and to
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# report actual input values of CONFIG_FILES etc. instead of their
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# values after options handling.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉This file was extended by $as_me, which was
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsgenerated by GNU Autoconf 2.68. Invocation command line was
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 CONFIG_COMMANDS = $CONFIG_COMMANDS
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewson `(hostname || uname -n) 2>/dev/null | sed 1q`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews"*) set x $ac_config_files; shift; ac_config_files=$*;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Files that config.status was made for.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsconfig_files="$ac_config_files"
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsconfig_headers="$ac_config_headers"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews\`$as_me' instantiates files and other configuration actions
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsfrom templates according to the current configuration. Unless the files
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsand actions are specified as TAGs, all are instantiated by default.
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsUsage: $0 [OPTION]... [TAG]...
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 -h, --help print this help, then exit
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews -V, --version print version number and configuration settings, then exit
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --config print configuration, then exit
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews -q, --quiet, --silent
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews do not print progress messages
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 -d, --debug don't remove temporary files
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 --recheck update $as_me by reconfiguring in the same conditions
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --file=FILE[:TEMPLATE]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews instantiate the configuration file FILE
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --header=FILE[:TEMPLATE]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews instantiate the configuration header FILE
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉Configuration files:
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark AndrewsConfiguration headers:
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsReport bugs to the package provider."
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉ac_cs_version="\\
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsconfigured by $0, generated by GNU Autoconf 2.68,
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews with options \\"\$ac_cs_config\\"
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsCopyright (C) 2010 Free Software Foundation, Inc.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉This config.status script is free software; the Free Software Foundation
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉gives unlimited permission to copy, distribute and modify it."
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsac_pwd='$ac_pwd'
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewssrcdir='$srcdir'
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewstest -n "\$AWK" || AWK=awk
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# The default lists apply if the user does not specify any file.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉while test $# != 0
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews --config | --confi | --conf | --con | --co | --c )
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews --debug | --debu | --deb | --de | --d | -d )
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 --file | --fil | --fi | --f )
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 --header | --heade | --head | --hea )
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews --help | --hel | -h )
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews -q | -quiet | --quiet | --quie | --qui | --qu | --q \
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews | -silent | --silent | --silen | --sile | --sil | --si | --s)
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews ac_configure_extra_args="$ac_configure_extra_args --silent"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrewsif \$ac_cs_recheck; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews CONFIG_SHELL='$SHELL'
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews export CONFIG_SHELL
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews## Running $as_me. ##
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# Handling of arguments.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉for ac_config_target in $ac_config_targets
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# If the user did not use the arguments to specify the items to instantiate,
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# then the envvar interface is used. Set only those that are not.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# We use the long form for the default assignment because of an extremely
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# bizarre bug on SunOS 4.1.3.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews# Have a temporary directory for convenience. Make it in the build tree
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# simply because there is no reason against having it here, and in addition,
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews# creating and moving files from /tmp can sometimes cause problems.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# Hook for its removal unless debugging.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# Note that there is a small window in which the directory will not be cleaned:
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# after its creation but before its name has been assigned to `$tmp'.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews : "${ac_tmp:=$tmp}"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Create a (secure) tmp directory for tmp files.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Set up the scripts for CONFIG_FILES section.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# No need to generate them if there are no CONFIG_FILES.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# This happens for instance with `./config.status config.h'.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# On cygwin, bash can eat \r inside `` if the user requested igncr.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# But we know of no other shell where ac_cr would be empty at this
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# point, so we can use a bashism as a fallback.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews eval ac_cr=\$\'\\r\'
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsfor ac_last_try in false false false false false :; do
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/^/S["/; s/!.*/"]=/
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/\(.\{148\}\)..*/\1/
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/["\\]/\\&/g; s/^/"/; s/$/"\\/
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/\(.\{148\}\)..*/\1/
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/["\\]/\\&/g; s/^/"/; s/$/"/
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/["\\]/\\&/g; s/^/"/; s/$/"\\/
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews for (key in S) S_is_set[key] = 1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews nfields = split(line, field, "@")
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews len = length(field[1])
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews for (i = 2; i < nfields; i++) {
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews key = field[i]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews keylen = length(key)
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if (S_is_set[key]) {
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews value = S[key]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews len += length(value) + length(field[++i])
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews len += 1 + keylen
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# trailing colons and then remove the whole line if VPATH becomes empty
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# (actually we leave an empty line to preserve line numbers).
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/:\$(srcdir):/:/g
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/:\${srcdir}:/:/g
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/:@srcdir@:/:/g
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/\(=[ ]*\).*/\1/
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewss/^[^=]*=[ ]*$//
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Set up the scripts for CONFIG_HEADERS section.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# No need to generate them if there are no CONFIG_HEADERS.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# This happens for instance with `./config.status Makefile'.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Transform confdefs.h into an awk script `defines.awk', embedded as
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# here-document in config.status, that substitutes the proper values into
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# Create a delimiter string that does not exist in confdefs.h, to ease
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# handling of long lines.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsfor ac_last_try in false false :; do
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# For the awk script, D is an array of macro values keyed by name,
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# likewise P contains macro parameters if any. Preserve backslash
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews# newline sequences.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/^[ ]*#[ ]*define[ ][ ]*/ /
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/["\\]/\\&/g
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsD["\1"]=" \3"/p
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/["\\]/\\&/g
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
66f51d8678c8fcc7256354b599317f67455120fdMark AndrewsD["\1"]=" \3\\\\\\n"\\/p
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/["\\]/\\&/g; s/^/"/; s/$/"/p
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewss/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews for (key in D) D_is_set[key] = 1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews split(line, arg, " ")
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if (arg[1] == "#") {
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews defundef = arg[2]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews mac1 = arg[3]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews defundef = substr(arg[1], 2)
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews mac1 = arg[2]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews split(mac1, mac2, "(") #)
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews macro = mac2[1]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews prefix = substr(line, 1, index(line, defundef) - 1)
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if (D_is_set[macro]) {
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Preserve the white space surrounding the "#".
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews print prefix "define", macro P[macro] D[macro]
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Replace #undef with comments. This is necessary, for example,
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # in the case of _POSIX_SOURCE, which is predefined and required
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # on some systems where configure will not decide to define it.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if (defundef == "undef") {
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews print "/*", prefix defundef, macro, "*/"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewseval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews :[FHLC]) ac_mode=$ac_tag; continue;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *) # Look for the file first in the build tree, then in the source tree
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # (if the path is not absolute). The absolute path cannot be DOS-style,
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews [\\/$]*) false;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # Let's still pretend it is `configure' which instantiates (i.e., don't
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # use $as_me), people would be surprised to read:
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews # Neutralize special characters interpreted by sed in replacement strings.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *\&* | *\|* | *\\* )
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_sed_conf_input=`$as_echo "$configure_input" |
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews /^X\(\/\/\)[^/].*/{
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews /^X\(\/\/\)$/{
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews /^X\(\/\).*/{
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# for backward compatibility:
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# If the template does not know about datarootdir, expand it.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# FIXME: This hack should be removed a few years after 2.60.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews/datarootdir/ {
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews/@localedir@/p
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews ac_datarootdir_hack='
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews s&@datadir@&$datadir&g
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews s&@docdir@&$docdir&g
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews s&@infodir@&$infodir&g
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews s&@localedir@&$localedir&g
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews s&@mandir@&$mandir&g
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews s&\\\${datarootdir}&$datarootdir&g' ;;
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# Neutralize VPATH when `$srcdir' = `.'.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# Shell code in configure.ac might set extrasub.
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews# FIXME: do we really want to maintain this feature?
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsac_sed_extra="$ac_vpsub
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewseval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewstest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewswhich seems to be undefined. Please make sure it is defined" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewswhich seems to be undefined. Please make sure it is defined" >&2;}
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews || as_fn_error $? "could not create $ac_file" "$LINENO" 5
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrews # CONFIG_HEADER
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews || as_fn_error $? "could not create $ac_file" "$LINENO" 5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews || as_fn_error $? "could not create $ac_file" "$LINENO" 5
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews || as_fn_error $? "could not create -" "$LINENO" 5
30d6e6e907dfd7a254796c70f49ed11979c0cc3bMark Andrewsdone # for ac_tag
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# configure is writing to config.log, and then calls config.status.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# config.status does its own redirection, appending to config.log.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# Unfortunately, on DOS this fails, as config.log is still kept open
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# by configure, so config.status won't be able to write to it; its
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# output is simply discarded. So we exec the FD to /dev/null,
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# effectively closing config.log, so it can be properly (re)opened and
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# appended to by config.status. When coming back to configure, we
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉# need to make the FD available again.
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 ac_cs_success=:
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews ac_config_status_args=
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews ac_config_status_args="$ac_config_status_args --quiet"
ab6e5af4cd644b174709f95c2702ec4c442aa755Mark Andrews $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 # would make configure fail if this is the last instruction.
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews $ac_cs_success || as_fn_exit 1
66f51d8678c8fcc7256354b599317f67455120fdMark Andrewsif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
66f51d8678c8fcc7256354b599317f67455120fdMark Andrews { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5