|
version 1.1, 2011/08/05 15:52:00
|
version 1.26, 2013/08/26 13:36:45
|
|
Line 1
|
Line 1
|
| #! /bin/sh |
#! /bin/sh |
| # Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
| # Generated by GNU Autoconf 2.64 for libaitsched 1.0. | # Generated by GNU Autoconf 2.69 for libaitsched 4.1. |
| # |
# |
| # Report bugs to <misho@openbsd-bg.org>. | # Report bugs to <misho@elwix.org>. |
| # |
# |
| # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
| # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
|
| # Foundation, Inc. |
|
| # |
# |
| |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| |
# |
| |
# |
| # This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
| # gives unlimited permission to copy, distribute and modify it. |
# gives unlimited permission to copy, distribute and modify it. |
| ## -------------------- ## |
## -------------------- ## |
|
Line 89 fi
|
Line 89 fi
|
| IFS=" "" $as_nl" |
IFS=" "" $as_nl" |
| |
|
| # Find who we are. Look in the path if we contain no directory separator. |
# Find who we are. Look in the path if we contain no directory separator. |
| |
as_myself= |
| case $0 in #(( |
case $0 in #(( |
| *[\\/]* ) as_myself=$0 ;; |
*[\\/]* ) as_myself=$0 ;; |
| *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
Line 133 export LANGUAGE
|
Line 134 export LANGUAGE
|
| # CDPATH. |
# CDPATH. |
| (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| |
|
| |
# Use a proper internal environment variable to ensure we don't fall |
| |
# into an infinite loop, continuously re-executing ourselves. |
| |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
| |
_as_can_reexec=no; export _as_can_reexec; |
| |
# We cannot yet assume a decent shell, so we have to provide a |
| |
# neutralization value for shells without unset; and this also |
| |
# works around shells that cannot unset nonexistent variables. |
| |
# Preserve -v and -x to the replacement shell. |
| |
BASH_ENV=/dev/null |
| |
ENV=/dev/null |
| |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| |
case $- in # (((( |
| |
*v*x* | *x*v* ) as_opts=-vx ;; |
| |
*v* ) as_opts=-v ;; |
| |
*x* ) as_opts=-x ;; |
| |
* ) as_opts= ;; |
| |
esac |
| |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| |
# Admittedly, this is quite paranoid, since all the known shells bail |
| |
# out after a failed `exec'. |
| |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| |
as_fn_exit 255 |
| |
fi |
| |
# We don't want this to propagate to other subprocesses. |
| |
{ _as_can_reexec=; unset _as_can_reexec;} |
| if test "x$CONFIG_SHELL" = x; then |
if test "x$CONFIG_SHELL" = x; then |
| as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| emulate sh |
emulate sh |
|
Line 166 if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
Line 192 if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
| else |
else |
| exitcode=1; echo positional parameters were not saved. |
exitcode=1; echo positional parameters were not saved. |
| fi |
fi |
| test x\$exitcode = x0 || exit 1" | test x\$exitcode = x0 || exit 1 |
| | test -x / || exit 1" |
| as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
|
Line 211 IFS=$as_save_IFS
|
Line 238 IFS=$as_save_IFS
|
| |
|
| |
|
| if test "x$CONFIG_SHELL" != x; then : |
if test "x$CONFIG_SHELL" != x; then : |
| # We cannot yet assume a decent shell, so we have to provide a | export CONFIG_SHELL |
| # neutralization value for shells without unset; and this also | # We cannot yet assume a decent shell, so we have to provide a |
| # works around shells that cannot unset nonexistent variables. | # neutralization value for shells without unset; and this also |
| BASH_ENV=/dev/null | # works around shells that cannot unset nonexistent variables. |
| ENV=/dev/null | # Preserve -v and -x to the replacement shell. |
| (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | BASH_ENV=/dev/null |
| export CONFIG_SHELL | ENV=/dev/null |
| exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| | case $- in # (((( |
| | *v*x* | *x*v* ) as_opts=-vx ;; |
| | *v* ) as_opts=-v ;; |
| | *x* ) as_opts=-x ;; |
| | * ) as_opts= ;; |
| | esac |
| | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| | # Admittedly, this is quite paranoid, since all the known shells bail |
| | # out after a failed `exec'. |
| | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| | exit 255 |
| fi |
fi |
| |
|
| if test x$as_have_required = xno; then : |
if test x$as_have_required = xno; then : |
|
Line 228 fi
|
Line 266 fi
|
| $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
| else |
else |
| $as_echo "$0: Please tell bug-autoconf@gnu.org and | $as_echo "$0: Please tell bug-autoconf@gnu.org and misho@elwix.org |
| $0: misho@openbsd-bg.org about your system, including any | $0: about your system, including any error possibly output |
| $0: error possibly output before this message. Then install | $0: before this message. Then install a modern shell, or |
| $0: a modern shell, or manually run the script under such a | $0: manually run the script under such a shell if you do |
| $0: shell if you do have one." | $0: have one." |
| fi |
fi |
| exit 1 |
exit 1 |
| fi |
fi |
|
Line 317 $as_echo X"$as_dir" |
|
Line 355 $as_echo X"$as_dir" |
|
| test -d "$as_dir" && break |
test -d "$as_dir" && break |
| done |
done |
| test -z "$as_dirs" || eval "mkdir $as_dirs" |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| |
|
| |
|
| } # as_fn_mkdir_p |
} # as_fn_mkdir_p |
| |
|
| |
# as_fn_executable_p FILE |
| |
# ----------------------- |
| |
# Test if FILE is an executable regular file. |
| |
as_fn_executable_p () |
| |
{ |
| |
test -f "$1" && test -x "$1" |
| |
} # as_fn_executable_p |
| # as_fn_append VAR VALUE |
# as_fn_append VAR VALUE |
| # ---------------------- |
# ---------------------- |
| # Append the text in VALUE to the end of the definition contained in VAR. Take |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
Line 357 else
|
Line 403 else
|
| fi # as_fn_arith |
fi # as_fn_arith |
| |
|
| |
|
| # as_fn_error ERROR [LINENO LOG_FD] | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| # --------------------------------- | # ---------------------------------------- |
| # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| # script with status $?, using 1 if that was 0. | # script with STATUS, using 1 if that was 0. |
| as_fn_error () |
as_fn_error () |
| { |
{ |
| as_status=$?; test $as_status -eq 0 && as_status=1 | as_status=$1; test $as_status -eq 0 && as_status=1 |
| if test "$3"; then | if test "$4"; then |
| as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| fi |
fi |
| $as_echo "$as_me: error: $1" >&2 | $as_echo "$as_me: error: $2" >&2 |
| as_fn_exit $as_status |
as_fn_exit $as_status |
| } # as_fn_error |
} # as_fn_error |
| |
|
|
Line 442 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
Line 488 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
| chmod +x "$as_me.lineno" || |
chmod +x "$as_me.lineno" || |
| { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| |
|
| |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| |
# already done that, so ensure we don't try to do so again and fall |
| |
# in an infinite loop. This has already happened in practice. |
| |
_as_can_reexec=no; export _as_can_reexec |
| # Don't try to exec as it changes $[0], causing all sort of problems |
# Don't try to exec as it changes $[0], causing all sort of problems |
| # (the dirname of $[0] is not the place where we might find the |
# (the dirname of $[0] is not the place where we might find the |
| # original and so on. Autoconf is especially sensitive to this). |
# original and so on. Autoconf is especially sensitive to this). |
|
Line 476 if (echo >conf$$.file) 2>/dev/null; then
|
Line 526 if (echo >conf$$.file) 2>/dev/null; then
|
| # ... but there are two gotchas: |
# ... but there are two gotchas: |
| # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| # In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
| ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| as_ln_s='cp -p' | as_ln_s='cp -pR' |
| elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| as_ln_s=ln |
as_ln_s=ln |
| else |
else |
| as_ln_s='cp -p' | as_ln_s='cp -pR' |
| fi |
fi |
| else |
else |
| as_ln_s='cp -p' | as_ln_s='cp -pR' |
| fi |
fi |
| rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
|
Line 497 else
|
Line 547 else
|
| as_mkdir_p=false |
as_mkdir_p=false |
| fi |
fi |
| |
|
| if test -x / >/dev/null 2>&1; then | as_test_x='test -x' |
| as_test_x='test -x' | as_executable_p=as_fn_executable_p |
| else | |
| if ls -dL / >/dev/null 2>&1; then | |
| as_ls_L_option=L | |
| else | |
| as_ls_L_option= | |
| fi | |
| as_test_x=' | |
| eval sh -c '\'' | |
| if test -d "$1"; then | |
| test -d "$1/."; | |
| else | |
| case $1 in #( | |
| -*)set "./$1";; | |
| esac; | |
| case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
| ???[sx]*):;;*)false;;esac;fi | |
| '\'' sh | |
| ' | |
| fi | |
| as_executable_p=$as_test_x | |
| |
|
| # Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
| as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
Line 527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS
|
Line 557 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS
|
| as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| |
|
| |
|
| exec 7<&0 </dev/null 6>&1 | test -n "$DJDIR" || exec 7<&0 </dev/null |
| | exec 6>&1 |
| |
|
| # Name of the host. |
# Name of the host. |
| # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| # so uname gets run too. |
# so uname gets run too. |
| ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| |
|
|
Line 549 MAKEFLAGS=
|
Line 580 MAKEFLAGS=
|
| # Identity of this package. |
# Identity of this package. |
| PACKAGE_NAME='libaitsched' |
PACKAGE_NAME='libaitsched' |
| PACKAGE_TARNAME='libaitsched' |
PACKAGE_TARNAME='libaitsched' |
| PACKAGE_VERSION='1.0' | PACKAGE_VERSION='4.1' |
| PACKAGE_STRING='libaitsched 1.0' | PACKAGE_STRING='libaitsched 4.1' |
| PACKAGE_BUGREPORT='misho@openbsd-bg.org' | PACKAGE_BUGREPORT='misho@elwix.org' |
| PACKAGE_URL='' |
PACKAGE_URL='' |
| |
|
| ac_unique_file="src/aitsched.c" |
ac_unique_file="src/aitsched.c" |
|
Line 662 ac_subst_files=''
|
Line 693 ac_subst_files=''
|
| ac_user_opts=' |
ac_user_opts=' |
| enable_option_checking |
enable_option_checking |
| enable_debug |
enable_debug |
| |
enable_aio |
| |
with_kq_events |
| ' |
' |
| ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
| host_alias |
host_alias |
|
Line 734 do
|
Line 767 do
|
| fi |
fi |
| |
|
| case $ac_option in |
case $ac_option in |
| *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| *) ac_optarg=yes ;; | *=) ac_optarg= ;; |
| | *) ac_optarg=yes ;; |
| esac |
esac |
| |
|
| # Accept the important Cygnus configure options, so we can diagnose typos. |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
Line 780 do
|
Line 814 do
|
| ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| # Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
| expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| as_fn_error "invalid feature name: $ac_useropt" | as_fn_error $? "invalid feature name: $ac_useropt" |
| ac_useropt_orig=$ac_useropt |
ac_useropt_orig=$ac_useropt |
| ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| case $ac_user_opts in |
case $ac_user_opts in |
|
Line 806 do
|
Line 840 do
|
| ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| # Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
| expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| as_fn_error "invalid feature name: $ac_useropt" | as_fn_error $? "invalid feature name: $ac_useropt" |
| ac_useropt_orig=$ac_useropt |
ac_useropt_orig=$ac_useropt |
| ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| case $ac_user_opts in |
case $ac_user_opts in |
|
Line 1010 do
|
Line 1044 do
|
| ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| # Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
| expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| as_fn_error "invalid package name: $ac_useropt" | as_fn_error $? "invalid package name: $ac_useropt" |
| ac_useropt_orig=$ac_useropt |
ac_useropt_orig=$ac_useropt |
| ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| case $ac_user_opts in |
case $ac_user_opts in |
|
Line 1026 do
|
Line 1060 do
|
| ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| # Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
| expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| as_fn_error "invalid package name: $ac_useropt" | as_fn_error $? "invalid package name: $ac_useropt" |
| ac_useropt_orig=$ac_useropt |
ac_useropt_orig=$ac_useropt |
| ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| case $ac_user_opts in |
case $ac_user_opts in |
|
Line 1056 do
|
Line 1090 do
|
| | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| x_libraries=$ac_optarg ;; |
x_libraries=$ac_optarg ;; |
| |
|
| -*) as_fn_error "unrecognized option: \`$ac_option' | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
| Try \`$0 --help' for more information." | Try \`$0 --help' for more information" |
| ;; |
;; |
| |
|
| *=*) |
*=*) |
|
Line 1065 Try \`$0 --help' for more information."
|
Line 1099 Try \`$0 --help' for more information."
|
| # Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
| case $ac_envvar in #( |
case $ac_envvar in #( |
| '' | [0-9]* | *[!_$as_cr_alnum]* ) |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
| as_fn_error "invalid variable name: \`$ac_envvar'" ;; | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
| esac |
esac |
| eval $ac_envvar=\$ac_optarg |
eval $ac_envvar=\$ac_optarg |
| export $ac_envvar ;; |
export $ac_envvar ;; |
|
Line 1075 Try \`$0 --help' for more information."
|
Line 1109 Try \`$0 --help' for more information."
|
| $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| ;; |
;; |
| |
|
| esac |
esac |
|
Line 1083 done
|
Line 1117 done
|
| |
|
| if test -n "$ac_prev"; then |
if test -n "$ac_prev"; then |
| ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| as_fn_error "missing argument to $ac_option" | as_fn_error $? "missing argument to $ac_option" |
| fi |
fi |
| |
|
| if test -n "$ac_unrecognized_opts"; then |
if test -n "$ac_unrecognized_opts"; then |
| case $enable_option_checking in |
case $enable_option_checking in |
| no) ;; |
no) ;; |
| fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| esac |
esac |
| fi |
fi |
|
Line 1112 do
|
Line 1146 do
|
| [\\/$]* | ?:[\\/]* ) continue;; |
[\\/$]* | ?:[\\/]* ) continue;; |
| NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| esac |
esac |
| as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| done |
done |
| |
|
| # There might be people who depend on the old broken behavior: `$host' |
# There might be people who depend on the old broken behavior: `$host' |
|
Line 1126 target=$target_alias
|
Line 1160 target=$target_alias
|
| if test "x$host_alias" != x; then |
if test "x$host_alias" != x; then |
| if test "x$build_alias" = x; then |
if test "x$build_alias" = x; then |
| cross_compiling=maybe |
cross_compiling=maybe |
| $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|
| If a cross compiler is detected then cross compile mode will be used." >&2 |
|
| elif test "x$build_alias" != "x$host_alias"; then |
elif test "x$build_alias" != "x$host_alias"; then |
| cross_compiling=yes |
cross_compiling=yes |
| fi |
fi |
|
Line 1142 test "$silent" = yes && exec 6>/dev/null
|
Line 1174 test "$silent" = yes && exec 6>/dev/null
|
| ac_pwd=`pwd` && test -n "$ac_pwd" && |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
| ac_ls_di=`ls -di .` && |
ac_ls_di=`ls -di .` && |
| ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| as_fn_error "working directory cannot be determined" | as_fn_error $? "working directory cannot be determined" |
| test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| as_fn_error "pwd does not report name of working directory" | as_fn_error $? "pwd does not report name of working directory" |
| |
|
| |
|
| # Find the source files, if location was not specified. |
# Find the source files, if location was not specified. |
|
Line 1183 else
|
Line 1215 else
|
| fi |
fi |
| if test ! -r "$srcdir/$ac_unique_file"; then |
if test ! -r "$srcdir/$ac_unique_file"; then |
| test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| fi |
fi |
| ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| ac_abs_confdir=`( |
ac_abs_confdir=`( |
| cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| pwd)` |
pwd)` |
| # When building in place, set srcdir=. |
# When building in place, set srcdir=. |
| if test "$ac_abs_confdir" = "$ac_pwd"; then |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
Line 1213 if test "$ac_init_help" = "long"; then
|
Line 1245 if test "$ac_init_help" = "long"; then
|
| # Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
| # This message is too long to be a string in the A/UX 3.1 sh. |
# This message is too long to be a string in the A/UX 3.1 sh. |
| cat <<_ACEOF |
cat <<_ACEOF |
| \`configure' configures libaitsched 1.0 to adapt to many kinds of systems. | \`configure' configures libaitsched 4.1 to adapt to many kinds of systems. |
| |
|
| Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| |
|
|
Line 1227 Configuration:
|
Line 1259 Configuration:
|
| --help=short display options specific to this package |
--help=short display options specific to this package |
| --help=recursive display the short help of all the included packages |
--help=recursive display the short help of all the included packages |
| -V, --version display version information and exit |
-V, --version display version information and exit |
| -q, --quiet, --silent do not print \`checking...' messages | -q, --quiet, --silent do not print \`checking ...' messages |
| --cache-file=FILE cache test results in FILE [disabled] |
--cache-file=FILE cache test results in FILE [disabled] |
| -C, --config-cache alias for \`--cache-file=config.cache' |
-C, --config-cache alias for \`--cache-file=config.cache' |
| -n, --no-create do not create output files |
-n, --no-create do not create output files |
|
Line 1279 fi
|
Line 1311 fi
|
| |
|
| if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
| case $ac_init_help in |
case $ac_init_help in |
| short | recursive ) echo "Configuration of libaitsched 1.0:";; | short | recursive ) echo "Configuration of libaitsched 4.1:";; |
| esac |
esac |
| cat <<\_ACEOF |
cat <<\_ACEOF |
| |
|
|
Line 1288 Optional Features:
|
Line 1320 Optional Features:
|
| --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| --enable-debug Build library with debug information and additional messages |
--enable-debug Build library with debug information and additional messages |
| |
--enable-aio Build scheduler library with AIO operations |
| |
|
| |
Optional Packages: |
| |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| |
--with-kq_events Set how many kqueue events can scheduling at one time |
| |
|
| Some influential environment variables: |
Some influential environment variables: |
| CC C compiler command |
CC C compiler command |
| CFLAGS C compiler flags |
CFLAGS C compiler flags |
| LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| nonstandard directory <lib dir> |
nonstandard directory <lib dir> |
| LIBS libraries to pass to the linker, e.g. -l<library> |
LIBS libraries to pass to the linker, e.g. -l<library> |
| CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| you have headers in a nonstandard directory <include dir> |
you have headers in a nonstandard directory <include dir> |
| CPP C preprocessor |
CPP C preprocessor |
| |
|
| Use these variables to override the choices made by `configure' or to help |
Use these variables to override the choices made by `configure' or to help |
| it to find libraries and programs with nonstandard names/locations. |
it to find libraries and programs with nonstandard names/locations. |
| |
|
| Report bugs to <misho@openbsd-bg.org>. | Report bugs to <misho@elwix.org>. |
| _ACEOF |
_ACEOF |
| ac_status=$? |
ac_status=$? |
| fi |
fi |
|
Line 1365 fi
|
Line 1403 fi
|
| test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
| if $ac_init_version; then |
if $ac_init_version; then |
| cat <<\_ACEOF |
cat <<\_ACEOF |
| libaitsched configure 1.0 | libaitsched configure 4.1 |
| generated by GNU Autoconf 2.64 | generated by GNU Autoconf 2.69 |
| |
|
| Copyright (C) 2009 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. |
| This configure script is free software; the Free Software Foundation |
This configure script is free software; the Free Software Foundation |
| gives unlimited permission to copy, distribute and modify it. |
gives unlimited permission to copy, distribute and modify it. |
| _ACEOF |
_ACEOF |
|
Line 1412 sed 's/^/| /' conftest.$ac_ext >&5
|
Line 1450 sed 's/^/| /' conftest.$ac_ext >&5
|
| |
|
| ac_retval=1 |
ac_retval=1 |
| fi |
fi |
| eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| return $ac_retval | as_fn_set_status $ac_retval |
| |
|
| } # ac_fn_c_try_compile |
} # ac_fn_c_try_compile |
| |
|
| |
# ac_fn_c_try_link LINENO |
| |
# ----------------------- |
| |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
| |
ac_fn_c_try_link () |
| |
{ |
| |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| |
rm -f conftest.$ac_objext conftest$ac_exeext |
| |
if { { ac_try="$ac_link" |
| |
case "(($ac_try" in |
| |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| |
*) ac_try_echo=$ac_try;; |
| |
esac |
| |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| |
$as_echo "$ac_try_echo"; } >&5 |
| |
(eval "$ac_link") 2>conftest.err |
| |
ac_status=$? |
| |
if test -s conftest.err; then |
| |
grep -v '^ *+' conftest.err >conftest.er1 |
| |
cat conftest.er1 >&5 |
| |
mv -f conftest.er1 conftest.err |
| |
fi |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| |
test $ac_status = 0; } && { |
| |
test -z "$ac_c_werror_flag" || |
| |
test ! -s conftest.err |
| |
} && test -s conftest$ac_exeext && { |
| |
test "$cross_compiling" = yes || |
| |
test -x conftest$ac_exeext |
| |
}; then : |
| |
ac_retval=0 |
| |
else |
| |
$as_echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
ac_retval=1 |
| |
fi |
| |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| |
# interfere with the next link command; also delete a directory that is |
| |
# left behind by Apple's compiler. We do this before executing the actions. |
| |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| |
as_fn_set_status $ac_retval |
| |
|
| |
} # ac_fn_c_try_link |
| |
|
| # ac_fn_c_try_cpp LINENO |
# ac_fn_c_try_cpp LINENO |
| # ---------------------- |
# ---------------------- |
| # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
Line 1438 $as_echo "$ac_try_echo"; } >&5
|
Line 1522 $as_echo "$ac_try_echo"; } >&5
|
| mv -f conftest.er1 conftest.err |
mv -f conftest.er1 conftest.err |
| fi |
fi |
| $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| test $ac_status = 0; } >/dev/null && { | test $ac_status = 0; } > conftest.i && { |
| test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| test ! -s conftest.err |
test ! -s conftest.err |
| }; then : |
}; then : |
|
Line 1449 sed 's/^/| /' conftest.$ac_ext >&5
|
Line 1533 sed 's/^/| /' conftest.$ac_ext >&5
|
| |
|
| ac_retval=1 |
ac_retval=1 |
| fi |
fi |
| eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| return $ac_retval | as_fn_set_status $ac_retval |
| |
|
| } # ac_fn_c_try_cpp |
} # ac_fn_c_try_cpp |
| |
|
|
Line 1462 fi
|
Line 1546 fi
|
| ac_fn_c_check_header_mongrel () |
ac_fn_c_check_header_mongrel () |
| { |
{ |
| as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | if eval \${$3+:} false; then : |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| $as_echo_n "checking for $2... " >&6; } |
$as_echo_n "checking for $2... " >&6; } |
| if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | if eval \${$3+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| fi |
fi |
| eval ac_res=\$$3 |
eval ac_res=\$$3 |
|
Line 1501 if ac_fn_c_try_cpp "$LINENO"; then :
|
Line 1585 if ac_fn_c_try_cpp "$LINENO"; then :
|
| else |
else |
| ac_header_preproc=no |
ac_header_preproc=no |
| fi |
fi |
| rm -f conftest.err conftest.$ac_ext | rm -f conftest.err conftest.i conftest.$ac_ext |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| $as_echo "$ac_header_preproc" >&6; } |
$as_echo "$ac_header_preproc" >&6; } |
| |
|
|
Line 1524 $as_echo "$as_me: WARNING: $2: see the Autoconf docume
|
Line 1608 $as_echo "$as_me: WARNING: $2: see the Autoconf docume
|
| $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| ( cat <<\_ASBOX | ( $as_echo "## ------------------------------ ## |
| ## ----------------------------------- ## | ## Report this to misho@elwix.org ## |
| ## Report this to misho@openbsd-bg.org ## | ## ------------------------------ ##" |
| ## ----------------------------------- ## | |
| _ASBOX | |
| ) | sed "s/^/$as_me: WARNING: /" >&2 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| ;; |
;; |
| esac |
esac |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| $as_echo_n "checking for $2... " >&6; } |
$as_echo_n "checking for $2... " >&6; } |
| if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | if eval \${$3+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| eval "$3=\$ac_header_compiler" |
eval "$3=\$ac_header_compiler" |
|
Line 1543 eval ac_res=\$$3
|
Line 1625 eval ac_res=\$$3
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| $as_echo "$ac_res" >&6; } |
$as_echo "$ac_res" >&6; } |
| fi |
fi |
| eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| |
|
| } # ac_fn_c_check_header_mongrel |
} # ac_fn_c_check_header_mongrel |
| |
|
|
Line 1584 sed 's/^/| /' conftest.$ac_ext >&5
|
Line 1666 sed 's/^/| /' conftest.$ac_ext >&5
|
| ac_retval=$ac_status |
ac_retval=$ac_status |
| fi |
fi |
| rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| return $ac_retval | as_fn_set_status $ac_retval |
| |
|
| } # ac_fn_c_try_run |
} # ac_fn_c_try_run |
| |
|
|
Line 1598 ac_fn_c_check_header_compile ()
|
Line 1680 ac_fn_c_check_header_compile ()
|
| as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| $as_echo_n "checking for $2... " >&6; } |
$as_echo_n "checking for $2... " >&6; } |
| if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | if eval \${$3+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
Line 1616 fi
|
Line 1698 fi
|
| eval ac_res=\$$3 |
eval ac_res=\$$3 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| $as_echo "$ac_res" >&6; } |
$as_echo "$ac_res" >&6; } |
| eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| |
|
| } # ac_fn_c_check_header_compile |
} # ac_fn_c_check_header_compile |
| |
|
|
Line 1629 ac_fn_c_check_type ()
|
Line 1711 ac_fn_c_check_type ()
|
| as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| $as_echo_n "checking for $2... " >&6; } |
$as_echo_n "checking for $2... " >&6; } |
| if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | if eval \${$3+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| eval "$3=no" |
eval "$3=no" |
|
Line 1670 fi
|
Line 1752 fi
|
| eval ac_res=\$$3 |
eval ac_res=\$$3 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| $as_echo "$ac_res" >&6; } |
$as_echo "$ac_res" >&6; } |
| eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| |
|
| } # ac_fn_c_check_type |
} # ac_fn_c_check_type |
| |
|
| # ac_fn_c_try_link LINENO |
|
| # ----------------------- |
|
| # Try to link conftest.$ac_ext, and return whether this succeeded. |
|
| ac_fn_c_try_link () |
|
| { |
|
| as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
| rm -f conftest.$ac_objext conftest$ac_exeext |
|
| if { { ac_try="$ac_link" |
|
| case "(($ac_try" in |
|
| *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
| *) ac_try_echo=$ac_try;; |
|
| esac |
|
| eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
| $as_echo "$ac_try_echo"; } >&5 |
|
| (eval "$ac_link") 2>conftest.err |
|
| ac_status=$? |
|
| if test -s conftest.err; then |
|
| grep -v '^ *+' conftest.err >conftest.er1 |
|
| cat conftest.er1 >&5 |
|
| mv -f conftest.er1 conftest.err |
|
| fi |
|
| $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
| test $ac_status = 0; } && { |
|
| test -z "$ac_c_werror_flag" || |
|
| test ! -s conftest.err |
|
| } && test -s conftest$ac_exeext && { |
|
| test "$cross_compiling" = yes || |
|
| $as_test_x conftest$ac_exeext |
|
| }; then : |
|
| ac_retval=0 |
|
| else |
|
| $as_echo "$as_me: failed program was:" >&5 |
|
| sed 's/^/| /' conftest.$ac_ext >&5 |
|
| |
|
| ac_retval=1 |
|
| fi |
|
| # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
| # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
| # interfere with the next link command; also delete a directory that is |
|
| # left behind by Apple's compiler. We do this before executing the actions. |
|
| rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
| eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
| return $ac_retval |
|
| |
|
| } # ac_fn_c_try_link |
|
| |
|
| # ac_fn_c_check_func LINENO FUNC VAR |
# ac_fn_c_check_func LINENO FUNC VAR |
| # ---------------------------------- |
# ---------------------------------- |
| # Tests whether FUNC exists, setting the cache variable VAR accordingly |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
Line 1728 ac_fn_c_check_func ()
|
Line 1764 ac_fn_c_check_func ()
|
| as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| $as_echo_n "checking for $2... " >&6; } |
$as_echo_n "checking for $2... " >&6; } |
| if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | if eval \${$3+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
Line 1783 fi
|
Line 1819 fi
|
| eval ac_res=\$$3 |
eval ac_res=\$$3 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| $as_echo "$ac_res" >&6; } |
$as_echo "$ac_res" >&6; } |
| eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| |
|
| } # ac_fn_c_check_func |
} # ac_fn_c_check_func |
| cat >config.log <<_ACEOF |
cat >config.log <<_ACEOF |
| This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
| running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
| |
|
| It was created by libaitsched $as_me 1.0, which was | It was created by libaitsched $as_me 4.1, which was |
| generated by GNU Autoconf 2.64. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
| |
|
| $ $0 $@ |
$ $0 $@ |
| |
|
|
Line 1901 trap 'exit_status=$?
|
Line 1937 trap 'exit_status=$?
|
| { |
{ |
| echo |
echo |
| |
|
| cat <<\_ASBOX | $as_echo "## ---------------- ## |
| ## ---------------- ## | |
| ## Cache variables. ## |
## Cache variables. ## |
| ## ---------------- ## | ## ---------------- ##" |
| _ASBOX | |
| echo |
echo |
| # The following way of writing the cache mishandles newlines in values, |
# The following way of writing the cache mishandles newlines in values, |
| ( |
( |
|
Line 1939 $as_echo "$as_me: WARNING: cache variable $ac_var cont
|
Line 1973 $as_echo "$as_me: WARNING: cache variable $ac_var cont
|
| ) |
) |
| echo |
echo |
| |
|
| cat <<\_ASBOX | $as_echo "## ----------------- ## |
| ## ----------------- ## | |
| ## Output variables. ## |
## Output variables. ## |
| ## ----------------- ## | ## ----------------- ##" |
| _ASBOX | |
| echo |
echo |
| for ac_var in $ac_subst_vars |
for ac_var in $ac_subst_vars |
| do |
do |
|
Line 1956 _ASBOX
|
Line 1988 _ASBOX
|
| echo |
echo |
| |
|
| if test -n "$ac_subst_files"; then |
if test -n "$ac_subst_files"; then |
| cat <<\_ASBOX | $as_echo "## ------------------- ## |
| ## ------------------- ## | |
| ## File substitutions. ## |
## File substitutions. ## |
| ## ------------------- ## | ## ------------------- ##" |
| _ASBOX | |
| echo |
echo |
| for ac_var in $ac_subst_files |
for ac_var in $ac_subst_files |
| do |
do |
|
Line 1974 _ASBOX
|
Line 2004 _ASBOX
|
| fi |
fi |
| |
|
| if test -s confdefs.h; then |
if test -s confdefs.h; then |
| cat <<\_ASBOX | $as_echo "## ----------- ## |
| ## ----------- ## | |
| ## confdefs.h. ## |
## confdefs.h. ## |
| ## ----------- ## | ## ----------- ##" |
| _ASBOX | |
| echo |
echo |
| cat confdefs.h |
cat confdefs.h |
| echo |
echo |
|
Line 2033 _ACEOF
|
Line 2061 _ACEOF
|
| ac_site_file1=NONE |
ac_site_file1=NONE |
| ac_site_file2=NONE |
ac_site_file2=NONE |
| if test -n "$CONFIG_SITE"; then |
if test -n "$CONFIG_SITE"; then |
| ac_site_file1=$CONFIG_SITE | # We do not want a PATH search for config.site. |
| | case $CONFIG_SITE in #(( |
| | -*) ac_site_file1=./$CONFIG_SITE;; |
| | */*) ac_site_file1=$CONFIG_SITE;; |
| | *) ac_site_file1=./$CONFIG_SITE;; |
| | esac |
| elif test "x$prefix" != xNONE; then |
elif test "x$prefix" != xNONE; then |
| ac_site_file1=$prefix/share/config.site |
ac_site_file1=$prefix/share/config.site |
| ac_site_file2=$prefix/etc/config.site |
ac_site_file2=$prefix/etc/config.site |
|
Line 2044 fi
|
Line 2077 fi
|
| for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| do |
do |
| test "x$ac_site_file" = xNONE && continue |
test "x$ac_site_file" = xNONE && continue |
| if test -r "$ac_site_file"; then | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| sed 's/^/| /' "$ac_site_file" >&5 |
sed 's/^/| /' "$ac_site_file" >&5 |
| . "$ac_site_file" | . "$ac_site_file" \ |
| | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | as_fn_error $? "failed to load site script $ac_site_file |
| | See \`config.log' for more details" "$LINENO" 5; } |
| fi |
fi |
| done |
done |
| |
|
| if test -r "$cache_file"; then |
if test -r "$cache_file"; then |
| # Some versions of bash will fail to source /dev/null (special | # Some versions of bash will fail to source /dev/null (special files |
| # files actually), so we avoid doing that. | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| if test -f "$cache_file"; then | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| $as_echo "$as_me: loading cache $cache_file" >&6;} |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
| case $cache_file in |
case $cache_file in |
|
Line 2124 if $ac_cache_corrupted; then
|
Line 2161 if $ac_cache_corrupted; then
|
| $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| fi |
fi |
| ## -------------------- ## |
## -------------------- ## |
| ## Main body of script. ## |
## Main body of script. ## |
|
Line 2141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
Line 2178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| ac_config_headers="$ac_config_headers inc/config.h" |
ac_config_headers="$ac_config_headers inc/config.h" |
| |
|
| |
|
| |
ac_cv_func_malloc_0_nonnull="yes" |
| |
ac_cv_func_realloc_0_nonnull="yes" |
| |
|
| # Checks for programs. |
# Checks for programs. |
| ac_ext=c |
ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
|
Line 2152 if test -n "$ac_tool_prefix"; then
|
Line 2192 if test -n "$ac_tool_prefix"; then
|
| set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
| if test "${ac_cv_prog_CC+set}" = set; then : | if ${ac_cv_prog_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test -n "$CC"; then |
if test -n "$CC"; then |
|
Line 2164 do
|
Line 2204 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_CC="${ac_tool_prefix}gcc" |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 2192 if test -z "$ac_cv_prog_CC"; then
|
Line 2232 if test -z "$ac_cv_prog_CC"; then
|
| set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
| if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
|
Line 2204 do
|
Line 2244 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_ac_ct_CC="gcc" |
ac_cv_prog_ac_ct_CC="gcc" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 2245 if test -z "$CC"; then
|
Line 2285 if test -z "$CC"; then
|
| set dummy ${ac_tool_prefix}cc; ac_word=$2 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
| if test "${ac_cv_prog_CC+set}" = set; then : | if ${ac_cv_prog_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test -n "$CC"; then |
if test -n "$CC"; then |
|
Line 2257 do
|
Line 2297 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_CC="${ac_tool_prefix}cc" |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 2285 if test -z "$CC"; then
|
Line 2325 if test -z "$CC"; then
|
| set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
| if test "${ac_cv_prog_CC+set}" = set; then : | if ${ac_cv_prog_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test -n "$CC"; then |
if test -n "$CC"; then |
|
Line 2298 do
|
Line 2338 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| ac_prog_rejected=yes |
ac_prog_rejected=yes |
| continue |
continue |
|
Line 2344 if test -z "$CC"; then
|
Line 2384 if test -z "$CC"; then
|
| set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
| if test "${ac_cv_prog_CC+set}" = set; then : | if ${ac_cv_prog_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test -n "$CC"; then |
if test -n "$CC"; then |
|
Line 2356 do
|
Line 2396 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 2388 do
|
Line 2428 do
|
| set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
| if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
|
Line 2400 do
|
Line 2440 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_ac_ct_CC="$ac_prog" |
ac_cv_prog_ac_ct_CC="$ac_prog" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 2442 fi
|
Line 2482 fi
|
| |
|
| test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| as_fn_error "no acceptable C compiler found in \$PATH | as_fn_error $? "no acceptable C compiler found in \$PATH |
| See \`config.log' for more details." "$LINENO" 5; } | See \`config.log' for more details" "$LINENO" 5; } |
| |
|
| # Provide some information about the compiler. |
# Provide some information about the compiler. |
| $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
Line 2464 $as_echo "$ac_try_echo"; } >&5
|
Line 2504 $as_echo "$ac_try_echo"; } >&5
|
| ... rest of stderr output deleted ... |
... rest of stderr output deleted ... |
| 10q' conftest.err >conftest.er1 |
10q' conftest.err >conftest.er1 |
| cat conftest.er1 >&5 |
cat conftest.er1 >&5 |
| rm -f conftest.er1 conftest.err |
|
| fi |
fi |
| |
rm -f conftest.er1 conftest.err |
| $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| test $ac_status = 0; } |
test $ac_status = 0; } |
| done |
done |
| |
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| #include <stdio.h> | |
| int |
int |
| main () |
main () |
| { |
{ |
| FILE *f = fopen ("conftest.out", "w"); |
|
| return ferror (f) || fclose (f) != 0; |
|
| |
|
| ; |
; |
| return 0; |
return 0; |
| } |
} |
| _ACEOF |
_ACEOF |
| ac_clean_files_save=$ac_clean_files |
ac_clean_files_save=$ac_clean_files |
| ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| # Try to create an executable without -o first, disregard a.out. |
# Try to create an executable without -o first, disregard a.out. |
| # It will help us diagnose broken compilers, and finding out an intuition |
# It will help us diagnose broken compilers, and finding out an intuition |
| # of exeext. |
# of exeext. |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| $as_echo_n "checking for C compiler default output file name... " >&6; } | $as_echo_n "checking whether the C compiler works... " >&6; } |
| ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| |
|
| # The possible output files: |
# The possible output files: |
|
Line 2551 test "$ac_cv_exeext" = no && ac_cv_exeext=
|
Line 2589 test "$ac_cv_exeext" = no && ac_cv_exeext=
|
| else |
else |
| ac_file='' |
ac_file='' |
| fi |
fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
| $as_echo "$ac_file" >&6; } |
|
| if test -z "$ac_file"; then : |
if test -z "$ac_file"; then : |
| $as_echo "$as_me: failed program was:" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| | $as_echo "no" >&6; } |
| | $as_echo "$as_me: failed program was:" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| { as_fn_set_status 77 | as_fn_error 77 "C compiler cannot create executables |
| as_fn_error "C compiler cannot create executables | See \`config.log' for more details" "$LINENO" 5; } |
| See \`config.log' for more details." "$LINENO" 5; }; } | else |
| | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| | $as_echo "yes" >&6; } |
| fi |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| |
$as_echo "$ac_file" >&6; } |
| ac_exeext=$ac_cv_exeext |
ac_exeext=$ac_cv_exeext |
| |
|
| # Check that the compiler produces executables we can run. If not, either | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| # the compiler is broken, or we cross compile. | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | |
| $as_echo_n "checking whether the C compiler works... " >&6; } | |
| # If not cross compiling, check that we can run a simple program. | |
| if test "$cross_compiling" != yes; then | |
| if { ac_try='./$ac_file' | |
| { { case "(($ac_try" in | |
| *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| *) ac_try_echo=$ac_try;; | |
| esac | |
| eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| $as_echo "$ac_try_echo"; } >&5 | |
| (eval "$ac_try") 2>&5 | |
| ac_status=$? | |
| $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| test $ac_status = 0; }; }; then | |
| cross_compiling=no | |
| else | |
| if test "$cross_compiling" = maybe; then | |
| cross_compiling=yes | |
| else | |
| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| as_fn_error "cannot run C compiled programs. | |
| If you meant to cross compile, use \`--host'. | |
| See \`config.log' for more details." "$LINENO" 5; } | |
| fi | |
| fi | |
| fi | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| $as_echo "yes" >&6; } | |
| |
| rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out | |
| ac_clean_files=$ac_clean_files_save |
ac_clean_files=$ac_clean_files_save |
| # Check that the compiler produces executables we can run. If not, either |
|
| # the compiler is broken, or we cross compile. |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
| $as_echo_n "checking whether we are cross compiling... " >&6; } |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
| $as_echo "$cross_compiling" >&6; } |
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| $as_echo_n "checking for suffix of executables... " >&6; } |
$as_echo_n "checking for suffix of executables... " >&6; } |
| if { { ac_try="$ac_link" |
if { { ac_try="$ac_link" |
|
Line 2636 done
|
Line 2640 done
|
| else |
else |
| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| as_fn_error "cannot compute suffix of executables: cannot compile and link | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| See \`config.log' for more details." "$LINENO" 5; } | See \`config.log' for more details" "$LINENO" 5; } |
| fi |
fi |
| rm -f conftest$ac_cv_exeext | rm -f conftest conftest$ac_cv_exeext |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| $as_echo "$ac_cv_exeext" >&6; } |
$as_echo "$ac_cv_exeext" >&6; } |
| |
|
| rm -f conftest.$ac_ext |
rm -f conftest.$ac_ext |
| EXEEXT=$ac_cv_exeext |
EXEEXT=$ac_cv_exeext |
| ac_exeext=$EXEEXT |
ac_exeext=$EXEEXT |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
#include <stdio.h> |
| |
int |
| |
main () |
| |
{ |
| |
FILE *f = fopen ("conftest.out", "w"); |
| |
return ferror (f) || fclose (f) != 0; |
| |
|
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
ac_clean_files="$ac_clean_files conftest.out" |
| |
# Check that the compiler produces executables we can run. If not, either |
| |
# the compiler is broken, or we cross compile. |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
| |
if test "$cross_compiling" != yes; then |
| |
{ { ac_try="$ac_link" |
| |
case "(($ac_try" in |
| |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| |
*) ac_try_echo=$ac_try;; |
| |
esac |
| |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| |
$as_echo "$ac_try_echo"; } >&5 |
| |
(eval "$ac_link") 2>&5 |
| |
ac_status=$? |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| |
test $ac_status = 0; } |
| |
if { ac_try='./conftest$ac_cv_exeext' |
| |
{ { case "(($ac_try" in |
| |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| |
*) ac_try_echo=$ac_try;; |
| |
esac |
| |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| |
$as_echo "$ac_try_echo"; } >&5 |
| |
(eval "$ac_try") 2>&5 |
| |
ac_status=$? |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| |
test $ac_status = 0; }; }; then |
| |
cross_compiling=no |
| |
else |
| |
if test "$cross_compiling" = maybe; then |
| |
cross_compiling=yes |
| |
else |
| |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| |
as_fn_error $? "cannot run C compiled programs. |
| |
If you meant to cross compile, use \`--host'. |
| |
See \`config.log' for more details" "$LINENO" 5; } |
| |
fi |
| |
fi |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| |
$as_echo "$cross_compiling" >&6; } |
| |
|
| |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| |
ac_clean_files=$ac_clean_files_save |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| $as_echo_n "checking for suffix of object files... " >&6; } |
$as_echo_n "checking for suffix of object files... " >&6; } |
| if test "${ac_cv_objext+set}" = set; then : | if ${ac_cv_objext+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
Line 2688 sed 's/^/| /' conftest.$ac_ext >&5
|
Line 2751 sed 's/^/| /' conftest.$ac_ext >&5
|
| |
|
| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| as_fn_error "cannot compute suffix of object files: cannot compile | as_fn_error $? "cannot compute suffix of object files: cannot compile |
| See \`config.log' for more details." "$LINENO" 5; } | See \`config.log' for more details" "$LINENO" 5; } |
| fi |
fi |
| rm -f conftest.$ac_cv_objext conftest.$ac_ext |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| fi |
fi |
|
Line 2699 OBJEXT=$ac_cv_objext
|
Line 2762 OBJEXT=$ac_cv_objext
|
| ac_objext=$OBJEXT |
ac_objext=$OBJEXT |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| if test "${ac_cv_c_compiler_gnu+set}" = set; then : | if ${ac_cv_c_compiler_gnu+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
Line 2736 ac_test_CFLAGS=${CFLAGS+set}
|
Line 2799 ac_test_CFLAGS=${CFLAGS+set}
|
| ac_save_CFLAGS=$CFLAGS |
ac_save_CFLAGS=$CFLAGS |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| $as_echo_n "checking whether $CC accepts -g... " >&6; } |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
| if test "${ac_cv_prog_cc_g+set}" = set; then : | if ${ac_cv_prog_cc_g+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| ac_save_c_werror_flag=$ac_c_werror_flag |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
Line 2814 else
|
Line 2877 else
|
| fi |
fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| if test "${ac_cv_prog_cc_c89+set}" = set; then : | if ${ac_cv_prog_cc_c89+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| ac_cv_prog_cc_c89=no |
ac_cv_prog_cc_c89=no |
|
Line 2823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| #include <stdarg.h> |
#include <stdarg.h> |
| #include <stdio.h> |
#include <stdio.h> |
| #include <sys/types.h> | struct stat; |
| #include <sys/stat.h> | |
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| struct buf { int x; }; |
struct buf { int x; }; |
| FILE * (*rcsopen) (struct buf *, struct stat *, int); |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
Line 2911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
Line 2973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| |
|
| ac_aux_dir= |
ac_aux_dir= |
| for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| for ac_t in install-sh install.sh shtool; do | if test -f "$ac_dir/install-sh"; then |
| if test -f "$ac_dir/$ac_t"; then | ac_aux_dir=$ac_dir |
| ac_aux_dir=$ac_dir | ac_install_sh="$ac_aux_dir/install-sh -c" |
| ac_install_sh="$ac_aux_dir/$ac_t -c" | break |
| break 2 | elif test -f "$ac_dir/install.sh"; then |
| fi | ac_aux_dir=$ac_dir |
| done | ac_install_sh="$ac_aux_dir/install.sh -c" |
| | break |
| | elif test -f "$ac_dir/shtool"; then |
| | ac_aux_dir=$ac_dir |
| | ac_install_sh="$ac_aux_dir/shtool install -c" |
| | break |
| | fi |
| done |
done |
| if test -z "$ac_aux_dir"; then |
if test -z "$ac_aux_dir"; then |
| as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| fi |
fi |
| |
|
| # These three variables are undocumented and unsupported, |
# These three variables are undocumented and unsupported, |
|
Line 2949 ac_configure="$SHELL $ac_aux_dir/configure" # Please
|
Line 3017 ac_configure="$SHELL $ac_aux_dir/configure" # Please
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| $as_echo_n "checking for a BSD-compatible install... " >&6; } |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
| if test -z "$INSTALL"; then |
if test -z "$INSTALL"; then |
| if test "${ac_cv_path_install+set}" = set; then : | if ${ac_cv_path_install+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
Line 2969 case $as_dir/ in #((
|
Line 3037 case $as_dir/ in #((
|
| # by default. |
# by default. |
| for ac_prog in ginstall scoinst install; do |
for ac_prog in ginstall scoinst install; do |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| if test $ac_prog = install && |
if test $ac_prog = install && |
| grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| # AIX install. It has an incompatible calling convention. |
# AIX install. It has an incompatible calling convention. |
|
Line 3030 if test -n "$ac_tool_prefix"; then
|
Line 3098 if test -n "$ac_tool_prefix"; then
|
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
| if test "${ac_cv_prog_RANLIB+set}" = set; then : | if ${ac_cv_prog_RANLIB+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
|
Line 3042 do
|
Line 3110 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 3070 if test -z "$ac_cv_prog_RANLIB"; then
|
Line 3138 if test -z "$ac_cv_prog_RANLIB"; then
|
| set dummy ranlib; ac_word=$2 |
set dummy ranlib; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
| if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test -n "$ac_ct_RANLIB"; then |
if test -n "$ac_ct_RANLIB"; then |
|
Line 3082 do
|
Line 3150 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_ac_ct_RANLIB="ranlib" |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 3120 fi
|
Line 3188 fi
|
| |
|
| # Make sure we can run config.sub. |
# Make sure we can run config.sub. |
| $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| $as_echo_n "checking build system type... " >&6; } |
$as_echo_n "checking build system type... " >&6; } |
| if test "${ac_cv_build+set}" = set; then : | if ${ac_cv_build+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| ac_build_alias=$build_alias |
ac_build_alias=$build_alias |
| test "x$ac_build_alias" = x && |
test "x$ac_build_alias" = x && |
| ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| test "x$ac_build_alias" = x && |
test "x$ac_build_alias" = x && |
| as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| |
|
| fi |
fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| $as_echo "$ac_cv_build" >&6; } |
$as_echo "$ac_cv_build" >&6; } |
| case $ac_cv_build in |
case $ac_cv_build in |
| *-*-*) ;; |
*-*-*) ;; |
| *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
| esac |
esac |
| build=$ac_cv_build |
build=$ac_cv_build |
| ac_save_IFS=$IFS; IFS='-' |
ac_save_IFS=$IFS; IFS='-' |
|
Line 3158 case $build_os in *\ *) build_os=`echo "$build_os" | s
|
Line 3226 case $build_os in *\ *) build_os=`echo "$build_os" | s
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| $as_echo_n "checking host system type... " >&6; } |
$as_echo_n "checking host system type... " >&6; } |
| if test "${ac_cv_host+set}" = set; then : | if ${ac_cv_host+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test "x$host_alias" = x; then |
if test "x$host_alias" = x; then |
| ac_cv_host=$ac_cv_build |
ac_cv_host=$ac_cv_build |
| else |
else |
| ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| fi |
fi |
| |
|
| fi |
fi |
|
Line 3173 fi
|
Line 3241 fi
|
| $as_echo "$ac_cv_host" >&6; } |
$as_echo "$ac_cv_host" >&6; } |
| case $ac_cv_host in |
case $ac_cv_host in |
| *-*-*) ;; |
*-*-*) ;; |
| *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
| esac |
esac |
| host=$ac_cv_host |
host=$ac_cv_host |
| ac_save_IFS=$IFS; IFS='-' |
ac_save_IFS=$IFS; IFS='-' |
|
Line 3191 case $host_os in *\ *) host_os=`echo "$host_os" | sed
|
Line 3259 case $host_os in *\ *) host_os=`echo "$host_os" | sed
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
| $as_echo_n "checking target system type... " >&6; } |
$as_echo_n "checking target system type... " >&6; } |
| if test "${ac_cv_target+set}" = set; then : | if ${ac_cv_target+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test "x$target_alias" = x; then |
if test "x$target_alias" = x; then |
| ac_cv_target=$ac_cv_host |
ac_cv_target=$ac_cv_host |
| else |
else |
| ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
| as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 |
| fi |
fi |
| |
|
| fi |
fi |
|
Line 3206 fi
|
Line 3274 fi
|
| $as_echo "$ac_cv_target" >&6; } |
$as_echo "$ac_cv_target" >&6; } |
| case $ac_cv_target in |
case $ac_cv_target in |
| *-*-*) ;; |
*-*-*) ;; |
| *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
| esac |
esac |
| target=$ac_cv_target |
target=$ac_cv_target |
| ac_save_IFS=$IFS; IFS='-' |
ac_save_IFS=$IFS; IFS='-' |
|
Line 3234 if test -n "$ac_tool_prefix"; then
|
Line 3302 if test -n "$ac_tool_prefix"; then
|
| set dummy ${ac_tool_prefix}mkdep; ac_word=$2 |
set dummy ${ac_tool_prefix}mkdep; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
| if test "${ac_cv_prog_MKDEP+set}" = set; then : | if ${ac_cv_prog_MKDEP+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test -n "$MKDEP"; then |
if test -n "$MKDEP"; then |
|
Line 3246 do
|
Line 3314 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_MKDEP="${ac_tool_prefix}mkdep" |
ac_cv_prog_MKDEP="${ac_tool_prefix}mkdep" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 3274 if test -z "$ac_cv_prog_MKDEP"; then
|
Line 3342 if test -z "$ac_cv_prog_MKDEP"; then
|
| set dummy mkdep; ac_word=$2 |
set dummy mkdep; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
| if test "${ac_cv_prog_ac_ct_MKDEP+set}" = set; then : | if ${ac_cv_prog_ac_ct_MKDEP+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test -n "$ac_ct_MKDEP"; then |
if test -n "$ac_ct_MKDEP"; then |
|
Line 3286 do
|
Line 3354 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_ac_ct_MKDEP="mkdep" |
ac_cv_prog_ac_ct_MKDEP="mkdep" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 3326 fi
|
Line 3394 fi
|
| CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" |
CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" |
| LDFLAGS="-L/usr/local/lib ${LDFLAGS}" |
LDFLAGS="-L/usr/local/lib ${LDFLAGS}" |
| |
|
| |
|
| # Checks for libraries. |
# Checks for libraries. |
| |
|
| # Checks for header files. | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 |
| | $as_echo_n "checking for pthread_create in -lpthread... " >&6; } |
| | if ${ac_cv_lib_pthread_pthread_create+:} false; then : |
| | $as_echo_n "(cached) " >&6 |
| | else |
| | ac_check_lib_save_LIBS=$LIBS |
| | LIBS="-lpthread $LIBS" |
| | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| | /* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char pthread_create (); |
| |
int |
| |
main () |
| |
{ |
| |
return pthread_create (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_lib_pthread_pthread_create=yes |
| |
else |
| |
ac_cv_lib_pthread_pthread_create=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| |
LIBS=$ac_check_lib_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 |
| |
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } |
| |
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_LIBPTHREAD 1 |
| |
_ACEOF |
| |
|
| |
LIBS="-lpthread $LIBS" |
| |
|
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for aio_read in -lrt" >&5 |
| |
$as_echo_n "checking for aio_read in -lrt... " >&6; } |
| |
if ${ac_cv_lib_rt_aio_read+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_check_lib_save_LIBS=$LIBS |
| |
LIBS="-lrt $LIBS" |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char aio_read (); |
| |
int |
| |
main () |
| |
{ |
| |
return aio_read (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_lib_rt_aio_read=yes |
| |
else |
| |
ac_cv_lib_rt_aio_read=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| |
LIBS=$ac_check_lib_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_aio_read" >&5 |
| |
$as_echo "$ac_cv_lib_rt_aio_read" >&6; } |
| |
if test "x$ac_cv_lib_rt_aio_read" = xyes; then : |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_LIBRT 1 |
| |
_ACEOF |
| |
|
| |
LIBS="-lrt $LIBS" |
| |
|
| |
fi |
| |
|
| |
|
| |
# Checks for header files. |
| ac_ext=c |
ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
Line 3342 if test -n "$CPP" && test -d "$CPP"; then
|
Line 3501 if test -n "$CPP" && test -d "$CPP"; then
|
| CPP= |
CPP= |
| fi |
fi |
| if test -z "$CPP"; then |
if test -z "$CPP"; then |
| if test "${ac_cv_prog_CPP+set}" = set; then : | if ${ac_cv_prog_CPP+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| # Double quotes because CPP needs to be expanded |
# Double quotes because CPP needs to be expanded |
|
Line 3372 else
|
Line 3531 else
|
| # Broken: fails on valid input. |
# Broken: fails on valid input. |
| continue |
continue |
| fi |
fi |
| rm -f conftest.err conftest.$ac_ext | rm -f conftest.err conftest.i conftest.$ac_ext |
| |
|
| # OK, works on sane cases. Now check whether nonexistent headers |
# OK, works on sane cases. Now check whether nonexistent headers |
| # can be detected and how. |
# can be detected and how. |
|
Line 3388 else
|
Line 3547 else
|
| ac_preproc_ok=: |
ac_preproc_ok=: |
| break |
break |
| fi |
fi |
| rm -f conftest.err conftest.$ac_ext | rm -f conftest.err conftest.i conftest.$ac_ext |
| |
|
| done |
done |
| # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| rm -f conftest.err conftest.$ac_ext | rm -f conftest.i conftest.err conftest.$ac_ext |
| if $ac_preproc_ok; then : |
if $ac_preproc_ok; then : |
| break |
break |
| fi |
fi |
|
Line 3431 else
|
Line 3590 else
|
| # Broken: fails on valid input. |
# Broken: fails on valid input. |
| continue |
continue |
| fi |
fi |
| rm -f conftest.err conftest.$ac_ext | rm -f conftest.err conftest.i conftest.$ac_ext |
| |
|
| # OK, works on sane cases. Now check whether nonexistent headers |
# OK, works on sane cases. Now check whether nonexistent headers |
| # can be detected and how. |
# can be detected and how. |
|
Line 3447 else
|
Line 3606 else
|
| ac_preproc_ok=: |
ac_preproc_ok=: |
| break |
break |
| fi |
fi |
| rm -f conftest.err conftest.$ac_ext | rm -f conftest.err conftest.i conftest.$ac_ext |
| |
|
| done |
done |
| # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| rm -f conftest.err conftest.$ac_ext | rm -f conftest.i conftest.err conftest.$ac_ext |
| if $ac_preproc_ok; then : |
if $ac_preproc_ok; then : |
| |
|
| else |
else |
| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| as_fn_error "C preprocessor \"$CPP\" fails sanity check | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| See \`config.log' for more details." "$LINENO" 5; } | See \`config.log' for more details" "$LINENO" 5; } |
| fi |
fi |
| |
|
| ac_ext=c |
ac_ext=c |
|
Line 3470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
Line 3629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| if test "${ac_cv_path_GREP+set}" = set; then : | if ${ac_cv_path_GREP+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test -z "$GREP"; then |
if test -z "$GREP"; then |
|
Line 3484 do
|
Line 3643 do
|
| for ac_prog in grep ggrep; do |
for ac_prog in grep ggrep; do |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | as_fn_executable_p "$ac_path_GREP" || continue |
| # Check for GNU ac_path_GREP and select it if it is found. |
# Check for GNU ac_path_GREP and select it if it is found. |
| # Check for GNU $ac_path_GREP |
# Check for GNU $ac_path_GREP |
| case `"$ac_path_GREP" --version 2>&1` in |
case `"$ac_path_GREP" --version 2>&1` in |
|
Line 3519 esac
|
Line 3678 esac
|
| done |
done |
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| if test -z "$ac_cv_path_GREP"; then |
if test -z "$ac_cv_path_GREP"; then |
| as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| fi |
fi |
| else |
else |
| ac_cv_path_GREP=$GREP |
ac_cv_path_GREP=$GREP |
|
Line 3533 $as_echo "$ac_cv_path_GREP" >&6; }
|
Line 3692 $as_echo "$ac_cv_path_GREP" >&6; }
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| $as_echo_n "checking for egrep... " >&6; } |
$as_echo_n "checking for egrep... " >&6; } |
| if test "${ac_cv_path_EGREP+set}" = set; then : | if ${ac_cv_path_EGREP+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
Line 3550 do
|
Line 3709 do
|
| for ac_prog in egrep; do |
for ac_prog in egrep; do |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | as_fn_executable_p "$ac_path_EGREP" || continue |
| # Check for GNU ac_path_EGREP and select it if it is found. |
# Check for GNU ac_path_EGREP and select it if it is found. |
| # Check for GNU $ac_path_EGREP |
# Check for GNU $ac_path_EGREP |
| case `"$ac_path_EGREP" --version 2>&1` in |
case `"$ac_path_EGREP" --version 2>&1` in |
|
Line 3585 esac
|
Line 3744 esac
|
| done |
done |
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| if test -z "$ac_cv_path_EGREP"; then |
if test -z "$ac_cv_path_EGREP"; then |
| as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| fi |
fi |
| else |
else |
| ac_cv_path_EGREP=$EGREP |
ac_cv_path_EGREP=$EGREP |
|
Line 3600 $as_echo "$ac_cv_path_EGREP" >&6; }
|
Line 3759 $as_echo "$ac_cv_path_EGREP" >&6; }
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| $as_echo_n "checking for ANSI C header files... " >&6; } |
$as_echo_n "checking for ANSI C header files... " >&6; } |
| if test "${ac_cv_header_stdc+set}" = set; then : | if ${ac_cv_header_stdc+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
Line 3717 do :
|
Line 3876 do :
|
| as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| " |
" |
| eval as_val=\$$as_ac_Header | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| if test "x$as_val" = x""yes; then : | |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| _ACEOF |
_ACEOF |
|
Line 3732 for ac_header in stdint.h stdlib.h string.h sys/time.h
|
Line 3890 for ac_header in stdint.h stdlib.h string.h sys/time.h
|
| do : |
do : |
| as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| eval as_val=\$$as_ac_Header | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| if test "x$as_val" = x""yes; then : | |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| _ACEOF |
_ACEOF |
|
Line 3746 done
|
Line 3903 done
|
| # Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
| $as_echo_n "checking for inline... " >&6; } |
$as_echo_n "checking for inline... " >&6; } |
| if test "${ac_cv_c_inline+set}" = set; then : | if ${ac_cv_c_inline+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| ac_cv_c_inline=no |
ac_cv_c_inline=no |
|
Line 3787 _ACEOF
|
Line 3944 _ACEOF
|
| esac |
esac |
| |
|
| ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| if test "x$ac_cv_type_size_t" = x""yes; then : | if test "x$ac_cv_type_size_t" = xyes; then : |
| |
|
| else |
else |
| |
|
|
Line 3802 fi
|
Line 3959 fi
|
| for ac_header in stdlib.h |
for ac_header in stdlib.h |
| do : |
do : |
| ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
| if test "x$ac_cv_header_stdlib_h" = x""yes; then : | if test "x$ac_cv_header_stdlib_h" = xyes; then : |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define HAVE_STDLIB_H 1 |
#define HAVE_STDLIB_H 1 |
| _ACEOF |
_ACEOF |
|
Line 3813 done
|
Line 3970 done
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
| $as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
$as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
| if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : | if ${ac_cv_func_malloc_0_nonnull+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test "$cross_compiling" = yes; then : |
if test "$cross_compiling" = yes; then : |
|
Line 3866 $as_echo "#define malloc rpl_malloc" >>confdefs.h
|
Line 4023 $as_echo "#define malloc rpl_malloc" >>confdefs.h
|
| fi |
fi |
| |
|
| |
|
| for ac_func in clock_gettime memset strerror | for ac_func in clock_gettime memset strerror timer_create timer_settime |
| do : |
do : |
| as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| eval as_val=\$$as_ac_var | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| if test "x$as_val" = x""yes; then : | |
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
| #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| _ACEOF |
_ACEOF |
|
Line 3908 fi
|
Line 4064 fi
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5 |
| $as_echo "$DEBUG" >&6; } |
$as_echo "$DEBUG" >&6; } |
| |
|
| |
AIO=no |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking AIO Builtin support" >&5 |
| |
$as_echo_n "checking AIO Builtin support... " >&6; } |
| |
# Check whether --enable-aio was given. |
| |
if test "${enable_aio+set}" = set; then : |
| |
enableval=$enable_aio; AIO=$enableval |
| |
case "$enableval" in |
| |
yes) |
| |
|
| |
$as_echo "#define AIO_SUPPORT /**/" >>confdefs.h |
| |
|
| |
;; |
| |
*) |
| |
;; |
| |
esac |
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIO" >&5 |
| |
$as_echo "$AIO" >&6; } |
| |
|
| |
KQ_EVENTS=24 |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking How many kqueue events can scheduling at one time" >&5 |
| |
$as_echo_n "checking How many kqueue events can scheduling at one time... " >&6; } |
| |
|
| |
# Check whether --with-kq_events was given. |
| |
if test "${with_kq_events+set}" = set; then : |
| |
withval=$with_kq_events; KQ_EVENTS=$withval |
| |
else |
| |
KQ_EVENTS=32 |
| |
fi |
| |
|
| |
|
| |
cat >>confdefs.h <<_ACEOF |
| |
#define KQ_EVENTS $KQ_EVENTS |
| |
_ACEOF |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $KQ_EVENTS" >&5 |
| |
$as_echo "$KQ_EVENTS" >&6; } |
| |
|
| ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile" |
ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile" |
| |
|
| cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
|
Line 3974 $as_echo "$as_me: WARNING: cache variable $ac_var cont
|
Line 4169 $as_echo "$as_me: WARNING: cache variable $ac_var cont
|
| :end' >>confcache |
:end' >>confcache |
| if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| if test -w "$cache_file"; then |
if test -w "$cache_file"; then |
| test "x$cache_file" != "x/dev/null" && | if test "x$cache_file" != "x/dev/null"; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| $as_echo "$as_me: updating cache $cache_file" >&6;} |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| cat confcache >$cache_file | if test ! -f "$cache_file" || test -h "$cache_file"; then |
| | cat confcache >"$cache_file" |
| | else |
| | case $cache_file in #( |
| | */* | ?:*) |
| | mv -f confcache "$cache_file"$$ && |
| | mv -f "$cache_file"$$ "$cache_file" ;; #( |
| | *) |
| | mv -f confcache "$cache_file" ;; |
| | esac |
| | fi |
| | fi |
| else |
else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
Line 3993 DEFS=-DHAVE_CONFIG_H
|
Line 4199 DEFS=-DHAVE_CONFIG_H
|
| |
|
| ac_libobjs= |
ac_libobjs= |
| ac_ltlibobjs= |
ac_ltlibobjs= |
| |
U= |
| for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| # 1. Remove the extension, and $U if already installed. |
# 1. Remove the extension, and $U if already installed. |
| ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
Line 4008 LTLIBOBJS=$ac_ltlibobjs
|
Line 4215 LTLIBOBJS=$ac_ltlibobjs
|
| |
|
| |
|
| |
|
| : ${CONFIG_STATUS=./config.status} | : "${CONFIG_STATUS=./config.status}" |
| ac_write_fail=0 |
ac_write_fail=0 |
| ac_clean_files_save=$ac_clean_files |
ac_clean_files_save=$ac_clean_files |
| ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
Line 4109 fi
|
Line 4316 fi
|
| IFS=" "" $as_nl" |
IFS=" "" $as_nl" |
| |
|
| # Find who we are. Look in the path if we contain no directory separator. |
# Find who we are. Look in the path if we contain no directory separator. |
| |
as_myself= |
| case $0 in #(( |
case $0 in #(( |
| *[\\/]* ) as_myself=$0 ;; |
*[\\/]* ) as_myself=$0 ;; |
| *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
Line 4154 export LANGUAGE
|
Line 4362 export LANGUAGE
|
| (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| |
|
| |
|
| # as_fn_error ERROR [LINENO LOG_FD] | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| # --------------------------------- | # ---------------------------------------- |
| # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| # script with status $?, using 1 if that was 0. | # script with STATUS, using 1 if that was 0. |
| as_fn_error () |
as_fn_error () |
| { |
{ |
| as_status=$?; test $as_status -eq 0 && as_status=1 | as_status=$1; test $as_status -eq 0 && as_status=1 |
| if test "$3"; then | if test "$4"; then |
| as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| fi |
fi |
| $as_echo "$as_me: error: $1" >&2 | $as_echo "$as_me: error: $2" >&2 |
| as_fn_exit $as_status |
as_fn_exit $as_status |
| } # as_fn_error |
} # as_fn_error |
| |
|
|
Line 4304 if (echo >conf$$.file) 2>/dev/null; then
|
Line 4512 if (echo >conf$$.file) 2>/dev/null; then
|
| # ... but there are two gotchas: |
# ... but there are two gotchas: |
| # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| # In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
| ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| as_ln_s='cp -p' | as_ln_s='cp -pR' |
| elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| as_ln_s=ln |
as_ln_s=ln |
| else |
else |
| as_ln_s='cp -p' | as_ln_s='cp -pR' |
| fi |
fi |
| else |
else |
| as_ln_s='cp -p' | as_ln_s='cp -pR' |
| fi |
fi |
| rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
|
Line 4362 $as_echo X"$as_dir" |
|
Line 4570 $as_echo X"$as_dir" |
|
| test -d "$as_dir" && break |
test -d "$as_dir" && break |
| done |
done |
| test -z "$as_dirs" || eval "mkdir $as_dirs" |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| |
|
| |
|
| } # as_fn_mkdir_p |
} # as_fn_mkdir_p |
|
Line 4373 else
|
Line 4581 else
|
| as_mkdir_p=false |
as_mkdir_p=false |
| fi |
fi |
| |
|
| if test -x / >/dev/null 2>&1; then |
|
| as_test_x='test -x' |
|
| else |
|
| if ls -dL / >/dev/null 2>&1; then |
|
| as_ls_L_option=L |
|
| else |
|
| as_ls_L_option= |
|
| fi |
|
| as_test_x=' |
|
| eval sh -c '\'' |
|
| if test -d "$1"; then |
|
| test -d "$1/."; |
|
| else |
|
| case $1 in #( |
|
| -*)set "./$1";; |
|
| esac; |
|
| case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
| ???[sx]*):;;*)false;;esac;fi |
|
| '\'' sh |
|
| ' |
|
| fi |
|
| as_executable_p=$as_test_x |
|
| |
|
| |
# as_fn_executable_p FILE |
| |
# ----------------------- |
| |
# Test if FILE is an executable regular file. |
| |
as_fn_executable_p () |
| |
{ |
| |
test -f "$1" && test -x "$1" |
| |
} # as_fn_executable_p |
| |
as_test_x='test -x' |
| |
as_executable_p=as_fn_executable_p |
| |
|
| # Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
| as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| |
|
|
Line 4415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 4611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
| # report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
| # values after options handling. |
# values after options handling. |
| ac_log=" |
ac_log=" |
| This file was extended by libaitsched $as_me 1.0, which was | This file was extended by libaitsched $as_me 4.1, which was |
| generated by GNU Autoconf 2.64. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
| |
|
| CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
| CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
Line 4455 Usage: $0 [OPTION]... [TAG]...
|
Line 4651 Usage: $0 [OPTION]... [TAG]...
|
| |
|
| -h, --help print this help, then exit |
-h, --help print this help, then exit |
| -V, --version print version number and configuration settings, then exit |
-V, --version print version number and configuration settings, then exit |
| |
--config print configuration, then exit |
| -q, --quiet, --silent |
-q, --quiet, --silent |
| do not print progress messages |
do not print progress messages |
| -d, --debug don't remove temporary files |
-d, --debug don't remove temporary files |
|
Line 4470 $config_files
|
Line 4667 $config_files
|
| Configuration headers: |
Configuration headers: |
| $config_headers |
$config_headers |
| |
|
| Report bugs to <misho@openbsd-bg.org>." | Report bugs to <misho@elwix.org>." |
| |
|
| _ACEOF |
_ACEOF |
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| ac_cs_version="\\ |
ac_cs_version="\\ |
| libaitsched config.status 1.0 | libaitsched config.status 4.1 |
| configured by $0, generated by GNU Autoconf 2.64, | configured by $0, generated by GNU Autoconf 2.69, |
| with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | with options \\"\$ac_cs_config\\" |
| |
|
| Copyright (C) 2009 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. |
| This config.status script is free software; the Free Software Foundation |
This config.status script is free software; the Free Software Foundation |
| gives unlimited permission to copy, distribute and modify it." |
gives unlimited permission to copy, distribute and modify it." |
| |
|
|
Line 4495 ac_need_defaults=:
|
Line 4693 ac_need_defaults=:
|
| while test $# != 0 |
while test $# != 0 |
| do |
do |
| case $1 in |
case $1 in |
| --*=*) | --*=?*) |
| ac_option=`expr "X$1" : 'X\([^=]*\)='` |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| ac_shift=: |
ac_shift=: |
| ;; |
;; |
| |
--*=) |
| |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| |
ac_optarg= |
| |
ac_shift=: |
| |
;; |
| *) |
*) |
| ac_option=$1 |
ac_option=$1 |
| ac_optarg=$2 |
ac_optarg=$2 |
|
Line 4513 do
|
Line 4716 do
|
| ac_cs_recheck=: ;; |
ac_cs_recheck=: ;; |
| --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| $as_echo "$ac_cs_version"; exit ;; |
$as_echo "$ac_cs_version"; exit ;; |
| |
--config | --confi | --conf | --con | --co | --c ) |
| |
$as_echo "$ac_cs_config"; exit ;; |
| --debug | --debu | --deb | --de | --d | -d ) |
--debug | --debu | --deb | --de | --d | -d ) |
| debug=: ;; |
debug=: ;; |
| --file | --fil | --fi | --f ) |
--file | --fil | --fi | --f ) |
| $ac_shift |
$ac_shift |
| case $ac_optarg in |
case $ac_optarg in |
| *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| |
'') as_fn_error $? "missing file argument" ;; |
| esac |
esac |
| as_fn_append CONFIG_FILES " '$ac_optarg'" |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
| ac_need_defaults=false;; |
ac_need_defaults=false;; |
|
Line 4531 do
|
Line 4737 do
|
| ac_need_defaults=false;; |
ac_need_defaults=false;; |
| --he | --h) |
--he | --h) |
| # Conflict between --help and --header |
# Conflict between --help and --header |
| as_fn_error "ambiguous option: \`$1' | as_fn_error $? "ambiguous option: \`$1' |
| Try \`$0 --help' for more information.";; |
Try \`$0 --help' for more information.";; |
| --help | --hel | -h ) |
--help | --hel | -h ) |
| $as_echo "$ac_cs_usage"; exit ;; |
$as_echo "$ac_cs_usage"; exit ;; |
|
Line 4540 Try \`$0 --help' for more information.";;
|
Line 4746 Try \`$0 --help' for more information.";;
|
| ac_cs_silent=: ;; |
ac_cs_silent=: ;; |
| |
|
| # This is an error. |
# This is an error. |
| -*) as_fn_error "unrecognized option: \`$1' | -*) as_fn_error $? "unrecognized option: \`$1' |
| Try \`$0 --help' for more information." ;; |
Try \`$0 --help' for more information." ;; |
| |
|
| *) as_fn_append ac_config_targets " $1" |
*) as_fn_append ac_config_targets " $1" |
|
Line 4560 fi
|
Line 4766 fi
|
| _ACEOF |
_ACEOF |
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| if \$ac_cs_recheck; then |
if \$ac_cs_recheck; then |
| set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| shift |
shift |
| \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| CONFIG_SHELL='$SHELL' |
CONFIG_SHELL='$SHELL' |
|
Line 4595 do
|
Line 4801 do
|
| "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
| "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| |
|
| *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| esac |
esac |
| done |
done |
| |
|
|
Line 4617 fi
|
Line 4823 fi
|
| # after its creation but before its name has been assigned to `$tmp'. |
# after its creation but before its name has been assigned to `$tmp'. |
| $debug || |
$debug || |
| { |
{ |
| tmp= | tmp= ac_tmp= |
| trap 'exit_status=$? |
trap 'exit_status=$? |
| { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | : "${ac_tmp:=$tmp}" |
| | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| ' 0 |
' 0 |
| trap 'as_fn_exit 1' 1 2 13 15 |
trap 'as_fn_exit 1' 1 2 13 15 |
| } |
} |
|
Line 4627 $debug ||
|
Line 4834 $debug ||
|
| |
|
| { |
{ |
| tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| test -n "$tmp" && test -d "$tmp" | test -d "$tmp" |
| } || |
} || |
| { |
{ |
| tmp=./conf$$-$RANDOM |
tmp=./conf$$-$RANDOM |
| (umask 077 && mkdir "$tmp") |
(umask 077 && mkdir "$tmp") |
| } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| | ac_tmp=$tmp |
| |
|
| # Set up the scripts for CONFIG_FILES section. |
# Set up the scripts for CONFIG_FILES section. |
| # No need to generate them if there are no CONFIG_FILES. |
# No need to generate them if there are no CONFIG_FILES. |
|
Line 4649 if test "x$ac_cr" = x; then
|
Line 4857 if test "x$ac_cr" = x; then
|
| fi |
fi |
| ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| ac_cs_awk_cr='\r' | ac_cs_awk_cr='\\r' |
| else |
else |
| ac_cs_awk_cr=$ac_cr |
ac_cs_awk_cr=$ac_cr |
| fi |
fi |
| |
|
| echo 'BEGIN {' >"$tmp/subs1.awk" && | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| _ACEOF |
_ACEOF |
| |
|
| |
|
|
Line 4663 _ACEOF
|
Line 4871 _ACEOF
|
| echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| echo "_ACEOF" |
echo "_ACEOF" |
| } >conf$$subs.sh || |
} >conf$$subs.sh || |
| as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| ac_delim='%!_!# ' |
ac_delim='%!_!# ' |
| for ac_last_try in false false false false false :; do |
for ac_last_try in false false false false false :; do |
| . ./conf$$subs.sh || |
. ./conf$$subs.sh || |
| as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| |
|
| ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| if test $ac_delim_n = $ac_delim_num; then |
if test $ac_delim_n = $ac_delim_num; then |
| break |
break |
| elif $ac_last_try; then |
elif $ac_last_try; then |
| as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| else |
else |
| ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| fi |
fi |
|
Line 4682 done
|
Line 4890 done
|
| rm -f conf$$subs.sh |
rm -f conf$$subs.sh |
| |
|
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| _ACEOF |
_ACEOF |
| sed -n ' |
sed -n ' |
| h |
h |
|
Line 4696 s/'"$ac_delim"'$//
|
Line 4904 s/'"$ac_delim"'$//
|
| t delim |
t delim |
| :nl |
:nl |
| h |
h |
| s/\(.\{148\}\).*/\1/ | s/\(.\{148\}\)..*/\1/ |
| t more1 |
t more1 |
| s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| p |
p |
|
Line 4710 s/.\{148\}//
|
Line 4918 s/.\{148\}//
|
| t nl |
t nl |
| :delim |
:delim |
| h |
h |
| s/\(.\{148\}\).*/\1/ | s/\(.\{148\}\)..*/\1/ |
| t more2 |
t more2 |
| s/["\\]/\\&/g; s/^/"/; s/$/"/ |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| p |
p |
|
Line 4730 t delim
|
Line 4938 t delim
|
| rm -f conf$$subs.awk |
rm -f conf$$subs.awk |
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| _ACAWK |
_ACAWK |
| cat >>"\$tmp/subs1.awk" <<_ACAWK && | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| for (key in S) S_is_set[key] = 1 |
for (key in S) S_is_set[key] = 1 |
| FS = "" |
FS = "" |
| |
|
|
Line 4762 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
Line 4970 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
| sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| else |
else |
| cat |
cat |
| fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| || as_fn_error "could not setup config files machinery" "$LINENO" 5 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| _ACEOF |
_ACEOF |
| |
|
| # VPATH may cause trouble with some makes, so we remove $(srcdir), | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| # trailing colons and then remove the whole line if VPATH becomes empty |
# trailing colons and then remove the whole line if VPATH becomes empty |
| # (actually we leave an empty line to preserve line numbers). |
# (actually we leave an empty line to preserve line numbers). |
| if test "x$srcdir" = x.; then |
if test "x$srcdir" = x.; then |
| ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| s/:*\$(srcdir):*/:/ | h |
| s/:*\${srcdir}:*/:/ | s/// |
| s/:*@srcdir@:*/:/ | s/^/:/ |
| s/^\([^=]*=[ ]*\):*/\1/ | s/[ ]*$/:/ |
| | s/:\$(srcdir):/:/g |
| | s/:\${srcdir}:/:/g |
| | s/:@srcdir@:/:/g |
| | s/^:*// |
| s/:*$// |
s/:*$// |
| |
x |
| |
s/\(=[ ]*\).*/\1/ |
| |
G |
| |
s/\n// |
| s/^[^=]*=[ ]*$// |
s/^[^=]*=[ ]*$// |
| }' |
}' |
| fi |
fi |
|
Line 4788 fi # test -n "$CONFIG_FILES"
|
Line 5004 fi # test -n "$CONFIG_FILES"
|
| # No need to generate them if there are no CONFIG_HEADERS. |
# No need to generate them if there are no CONFIG_HEADERS. |
| # This happens for instance with `./config.status Makefile'. |
# This happens for instance with `./config.status Makefile'. |
| if test -n "$CONFIG_HEADERS"; then |
if test -n "$CONFIG_HEADERS"; then |
| cat >"$tmp/defines.awk" <<\_ACAWK || | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| BEGIN { |
BEGIN { |
| _ACEOF |
_ACEOF |
| |
|
|
Line 4800 _ACEOF
|
Line 5016 _ACEOF
|
| # handling of long lines. |
# handling of long lines. |
| ac_delim='%!_!# ' |
ac_delim='%!_!# ' |
| for ac_last_try in false false :; do |
for ac_last_try in false false :; do |
| ac_t=`sed -n "/$ac_delim/p" confdefs.h` | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
| if test -z "$ac_t"; then | if test -z "$ac_tt"; then |
| break |
break |
| elif $ac_last_try; then |
elif $ac_last_try; then |
| as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| else |
else |
| ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| fi |
fi |
|
Line 4889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
Line 5105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
| _ACAWK |
_ACAWK |
| _ACEOF |
_ACEOF |
| cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| as_fn_error "could not setup config headers machinery" "$LINENO" 5 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
| fi # test -n "$CONFIG_HEADERS" |
fi # test -n "$CONFIG_HEADERS" |
| |
|
| |
|
|
Line 4902 do
|
Line 5118 do
|
| esac |
esac |
| case $ac_mode$ac_tag in |
case $ac_mode$ac_tag in |
| :[FHL]*:*);; |
:[FHL]*:*);; |
| :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| :[FH]-) ac_tag=-:-;; |
:[FH]-) ac_tag=-:-;; |
| :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| esac |
esac |
|
Line 4921 do
|
Line 5137 do
|
| for ac_f |
for ac_f |
| do |
do |
| case $ac_f in |
case $ac_f in |
| -) ac_f="$tmp/stdin";; | -) ac_f="$ac_tmp/stdin";; |
| *) # Look for the file first in the build tree, then in the source tree |
*) # Look for the file first in the build tree, then in the source tree |
| # (if the path is not absolute). The absolute path cannot be DOS-style, |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
| # because $ac_f cannot contain `:'. |
# because $ac_f cannot contain `:'. |
|
Line 4930 do
|
Line 5146 do
|
| [\\/$]*) false;; |
[\\/$]*) false;; |
| *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| esac || |
esac || |
| as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| esac |
esac |
| case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| as_fn_append ac_file_inputs " '$ac_f'" |
as_fn_append ac_file_inputs " '$ac_f'" |
|
Line 4956 $as_echo "$as_me: creating $ac_file" >&6;}
|
Line 5172 $as_echo "$as_me: creating $ac_file" >&6;}
|
| esac |
esac |
| |
|
| case $ac_tag in |
case $ac_tag in |
| *:-:* | *:-) cat >"$tmp/stdin" \ | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| esac |
esac |
| ;; |
;; |
| esac |
esac |
|
Line 5087 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
Line 5303 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
| s&@INSTALL@&$ac_INSTALL&;t t |
s&@INSTALL@&$ac_INSTALL&;t t |
| $ac_datarootdir_hack |
$ac_datarootdir_hack |
| " |
" |
| eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| || as_fn_error "could not create $ac_file" "$LINENO" 5 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| |
|
| test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| | "$ac_tmp/out"`; test -z "$ac_out"; } && |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| which seems to be undefined. Please make sure it is defined." >&5 | which seems to be undefined. Please make sure it is defined" >&5 |
| $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| which seems to be undefined. Please make sure it is defined." >&2;} | which seems to be undefined. Please make sure it is defined" >&2;} |
| |
|
| rm -f "$tmp/stdin" | rm -f "$ac_tmp/stdin" |
| case $ac_file in |
case $ac_file in |
| -) cat "$tmp/out" && rm -f "$tmp/out";; | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| esac \ |
esac \ |
| || as_fn_error "could not create $ac_file" "$LINENO" 5 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| ;; |
;; |
| :H) |
:H) |
| # |
# |
|
Line 5112 which seems to be undefined. Please make sure it is d
|
Line 5329 which seems to be undefined. Please make sure it is d
|
| if test x"$ac_file" != x-; then |
if test x"$ac_file" != x-; then |
| { |
{ |
| $as_echo "/* $configure_input */" \ |
$as_echo "/* $configure_input */" \ |
| && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| } >"$tmp/config.h" \ | } >"$ac_tmp/config.h" \ |
| || as_fn_error "could not create $ac_file" "$LINENO" 5 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| $as_echo "$as_me: $ac_file is unchanged" >&6;} |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
| else |
else |
| rm -f "$ac_file" |
rm -f "$ac_file" |
| mv "$tmp/config.h" "$ac_file" \ | mv "$ac_tmp/config.h" "$ac_file" \ |
| || as_fn_error "could not create $ac_file" "$LINENO" 5 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| fi |
fi |
| else |
else |
| $as_echo "/* $configure_input */" \ |
$as_echo "/* $configure_input */" \ |
| && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| || as_fn_error "could not create -" "$LINENO" 5 | || as_fn_error $? "could not create -" "$LINENO" 5 |
| fi |
fi |
| ;; |
;; |
| |
|
|
Line 5141 _ACEOF
|
Line 5358 _ACEOF
|
| ac_clean_files=$ac_clean_files_save |
ac_clean_files=$ac_clean_files_save |
| |
|
| test $ac_write_fail = 0 || |
test $ac_write_fail = 0 || |
| as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| |
|
| |
|
| # configure is writing to config.log, and then calls config.status. |
# configure is writing to config.log, and then calls config.status. |
|
Line 5162 if test "$no_create" != yes; then
|
Line 5379 if test "$no_create" != yes; then
|
| exec 5>>config.log |
exec 5>>config.log |
| # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| # would make configure fail if this is the last instruction. |
# would make configure fail if this is the last instruction. |
| $ac_cs_success || as_fn_exit $? | $ac_cs_success || as_fn_exit 1 |
| fi |
fi |
| if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |