version 1.10, 2011/05/03 15:41:00
|
version 1.35.2.1, 2013/06/04 12:45:56
|
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.68 for libaitio 1.8. | # Generated by GNU Autoconf 2.69 for libaitio 5.4. |
# |
# |
# Report bugs to <misho@elwix.org>. |
# Report bugs to <misho@elwix.org>. |
# |
# |
# |
# |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
# Foundation, Inc. | |
# |
# |
# |
# |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
Line 136 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 169 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 214 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 |
# Preserve -v and -x to the replacement shell. | # works around shells that cannot unset nonexistent variables. |
BASH_ENV=/dev/null | # Preserve -v and -x to the replacement shell. |
ENV=/dev/null | BASH_ENV=/dev/null |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ENV=/dev/null |
export CONFIG_SHELL | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
case $- in # (((( | case $- in # (((( |
*v*x* | *x*v* ) as_opts=-vx ;; | *v*x* | *x*v* ) as_opts=-vx ;; |
*v* ) as_opts=-v ;; | *v* ) as_opts=-v ;; |
*x* ) as_opts=-x ;; | *x* ) as_opts=-x ;; |
* ) as_opts= ;; | * ) as_opts= ;; |
esac | esac |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | 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 331 $as_echo X"$as_dir" |
|
Line 359 $as_echo X"$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 452 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 486 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 507 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 560 MAKEFLAGS=
|
Line 580 MAKEFLAGS=
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='libaitio' |
PACKAGE_NAME='libaitio' |
PACKAGE_TARNAME='libaitio' |
PACKAGE_TARNAME='libaitio' |
PACKAGE_VERSION='1.8' | PACKAGE_VERSION='5.4' |
PACKAGE_STRING='libaitio 1.8' | PACKAGE_STRING='libaitio 5.4' |
PACKAGE_BUGREPORT='misho@elwix.org' |
PACKAGE_BUGREPORT='misho@elwix.org' |
PACKAGE_URL='' |
PACKAGE_URL='' |
|
|
Line 602 ac_includes_default="\
|
Line 622 ac_includes_default="\
|
# include <unistd.h> |
# include <unistd.h> |
#endif" |
#endif" |
|
|
|
ac_header_list= |
ac_subst_vars='LTLIBOBJS |
ac_subst_vars='LTLIBOBJS |
LIBOBJS |
LIBOBJS |
EGREP |
EGREP |
Line 682 CFLAGS
|
Line 703 CFLAGS
|
LDFLAGS |
LDFLAGS |
LIBS |
LIBS |
CPPFLAGS |
CPPFLAGS |
CPP | CPP' |
CPPFLAGS' | |
|
|
|
|
# Initialize some variables set by options. |
# Initialize some variables set by options. |
Line 1139 target=$target_alias
|
Line 1159 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 1226 if test "$ac_init_help" = "long"; then
|
Line 1244 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 libaitio 1.8 to adapt to many kinds of systems. | \`configure' configures libaitio 5.4 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1292 fi
|
Line 1310 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 libaitio 1.8:";; | short | recursive ) echo "Configuration of libaitio 5.4:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1379 fi
|
Line 1397 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 |
libaitio configure 1.8 | libaitio configure 5.4 |
generated by GNU Autoconf 2.68 | generated by GNU Autoconf 2.69 |
|
|
Copyright (C) 2010 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 1458 $as_echo "$ac_try_echo"; } >&5
|
Line 1476 $as_echo "$ac_try_echo"; } >&5
|
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest$ac_exeext && { |
} && test -s conftest$ac_exeext && { |
test "$cross_compiling" = yes || |
test "$cross_compiling" = yes || |
$as_test_x conftest$ac_exeext | test -x conftest$ac_exeext |
}; then : |
}; then : |
ac_retval=0 |
ac_retval=0 |
else |
else |
Line 1748 cat >config.log <<_ACEOF
|
Line 1766 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 libaitio $as_me 1.8, which was | It was created by libaitio $as_me 5.4, which was |
generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
|
|
Line 2028 $as_echo "$as_me: creating cache $cache_file" >&6;}
|
Line 2046 $as_echo "$as_me: creating cache $cache_file" >&6;}
|
>$cache_file |
>$cache_file |
fi |
fi |
|
|
|
as_fn_append ac_header_list " stdlib.h" |
|
as_fn_append ac_header_list " unistd.h" |
|
as_fn_append ac_header_list " sys/param.h" |
# Check that the precious variables saved in the cache have kept the same |
# Check that the precious variables saved in the cache have kept the same |
# value. |
# value. |
ac_cache_corrupted=false |
ac_cache_corrupted=false |
Line 2100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
Line 2121 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 2123 do
|
Line 2147 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 2163 do
|
Line 2187 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 2216 do
|
Line 2240 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 2257 do
|
Line 2281 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 2315 do
|
Line 2339 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 2359 do
|
Line 2383 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 2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 2829 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 2957 case $as_dir/ in #((
|
Line 2980 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 3142 do
|
Line 3165 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 3182 do
|
Line 3205 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 3268 _ACEOF
|
Line 3291 _ACEOF
|
|
|
fi |
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 |
|
$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } |
|
if ${ac_cv_lib_pthread_pthread_mutex_init+:} 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_mutex_init (); |
|
int |
|
main () |
|
{ |
|
return pthread_mutex_init (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_pthread_pthread_mutex_init=yes |
|
else |
|
ac_cv_lib_pthread_pthread_mutex_init=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_mutex_init" >&5 |
|
$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } |
|
if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBPTHREAD 1 |
|
_ACEOF |
|
|
|
LIBS="-lpthread $LIBS" |
|
|
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lutil" >&5 |
|
$as_echo_n "checking for forkpty in -lutil... " >&6; } |
|
if ${ac_cv_lib_util_forkpty+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lutil $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 forkpty (); |
|
int |
|
main () |
|
{ |
|
return forkpty (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_util_forkpty=yes |
|
else |
|
ac_cv_lib_util_forkpty=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_util_forkpty" >&5 |
|
$as_echo "$ac_cv_lib_util_forkpty" >&6; } |
|
if test "x$ac_cv_lib_util_forkpty" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBUTIL 1 |
|
_ACEOF |
|
|
|
LIBS="-lutil $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 |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crcFletcher16 in -lelwix" >&5 |
|
$as_echo_n "checking for crcFletcher16 in -lelwix... " >&6; } |
|
if ${ac_cv_lib_elwix_crcFletcher16+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lelwix $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 crcFletcher16 (); |
|
int |
|
main () |
|
{ |
|
return crcFletcher16 (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_elwix_crcFletcher16=yes |
|
else |
|
ac_cv_lib_elwix_crcFletcher16=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_elwix_crcFletcher16" >&5 |
|
$as_echo "$ac_cv_lib_elwix_crcFletcher16" >&6; } |
|
if test "x$ac_cv_lib_elwix_crcFletcher16" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBELWIX 1 |
|
_ACEOF |
|
|
|
LIBS="-lelwix $LIBS" |
|
|
|
fi |
|
|
|
|
# Checks for header files. |
# Checks for header files. |
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
Line 3424 do
|
Line 3627 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 3490 do
|
Line 3693 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 3726 esac
|
Line 3929 esac
|
|
|
|
|
# Checks for library functions. |
# Checks for library functions. |
for ac_header in stdlib.h | |
| |
| |
| for ac_header in $ac_header_list |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
if test "x$ac_cv_header_stdlib_h" = xyes; then : | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| " |
| if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_STDLIB_H 1 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
_ACEOF |
_ACEOF |
|
|
fi |
fi |
|
|
done |
done |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
|
$as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
|
if ${ac_cv_func_malloc_0_nonnull+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test "$cross_compiling" = yes; then : |
|
ac_cv_func_malloc_0_nonnull=no |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#if defined STDC_HEADERS || defined HAVE_STDLIB_H |
|
# include <stdlib.h> |
|
#else |
|
char *malloc (); |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return ! malloc (0); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_run "$LINENO"; then : |
|
ac_cv_func_malloc_0_nonnull=yes |
|
else |
|
ac_cv_func_malloc_0_nonnull=no |
|
fi |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 |
|
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } |
|
if test $ac_cv_func_malloc_0_nonnull = yes; then : |
|
|
|
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h |
|
|
|
else |
|
$as_echo "#define HAVE_MALLOC 0" >>confdefs.h |
|
|
|
case " $LIBOBJS " in |
|
*" malloc.$ac_objext "* ) ;; |
|
*) LIBOBJS="$LIBOBJS malloc.$ac_objext" |
|
;; |
|
esac |
|
|
|
|
|
$as_echo "#define malloc rpl_malloc" >>confdefs.h | for ac_func in getpagesize |
| |
fi | |
| |
| |
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_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" |
if test "x$ac_cv_header_stdlib_h" = xyes; then : | if test "x$ac_cv_func_getpagesize" = xyes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_STDLIB_H 1 | #define HAVE_GETPAGESIZE 1 |
_ACEOF |
_ACEOF |
|
|
fi |
fi |
|
|
done |
done |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 |
$as_echo_n "checking for GNU libc compatible realloc... " >&6; } | $as_echo_n "checking for working mmap... " >&6; } |
if ${ac_cv_func_realloc_0_nonnull+:} false; then : | if ${ac_cv_func_mmap_fixed_mapped+:} 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 : |
ac_cv_func_realloc_0_nonnull=no | ac_cv_func_mmap_fixed_mapped=no |
else |
else |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#if defined STDC_HEADERS || defined HAVE_STDLIB_H | $ac_includes_default |
# include <stdlib.h> | /* malloc might have been renamed as rpl_malloc. */ |
#else | #undef malloc |
char *realloc (); | |
| /* Thanks to Mike Haertel and Jim Avera for this test. |
| Here is a matrix of mmap possibilities: |
| mmap private not fixed |
| mmap private fixed at somewhere currently unmapped |
| mmap private fixed at somewhere already mapped |
| mmap shared not fixed |
| mmap shared fixed at somewhere currently unmapped |
| mmap shared fixed at somewhere already mapped |
| For private mappings, we should verify that changes cannot be read() |
| back from the file, nor mmap's back from the file at a different |
| address. (There have been systems where private was not correctly |
| implemented like the infamous i386 svr4.0, and systems where the |
| VM page cache was not coherent with the file system buffer cache |
| like early versions of FreeBSD and possibly contemporary NetBSD.) |
| For shared mappings, we should conversely verify that changes get |
| propagated back to all the places they're supposed to be. |
| |
| Grep wants private fixed already mapped. |
| The main things grep needs to know about mmap are: |
| * does it exist and is it safe to write into the mmap'd area |
| * how to use it (BSD variants) */ |
| |
| #include <fcntl.h> |
| #include <sys/mman.h> |
| |
| #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H |
| char *malloc (); |
#endif |
#endif |
|
|
|
/* This mess was copied from the GNU getpagesize.h. */ |
|
#ifndef HAVE_GETPAGESIZE |
|
# ifdef _SC_PAGESIZE |
|
# define getpagesize() sysconf(_SC_PAGESIZE) |
|
# else /* no _SC_PAGESIZE */ |
|
# ifdef HAVE_SYS_PARAM_H |
|
# include <sys/param.h> |
|
# ifdef EXEC_PAGESIZE |
|
# define getpagesize() EXEC_PAGESIZE |
|
# else /* no EXEC_PAGESIZE */ |
|
# ifdef NBPG |
|
# define getpagesize() NBPG * CLSIZE |
|
# ifndef CLSIZE |
|
# define CLSIZE 1 |
|
# endif /* no CLSIZE */ |
|
# else /* no NBPG */ |
|
# ifdef NBPC |
|
# define getpagesize() NBPC |
|
# else /* no NBPC */ |
|
# ifdef PAGESIZE |
|
# define getpagesize() PAGESIZE |
|
# endif /* PAGESIZE */ |
|
# endif /* no NBPC */ |
|
# endif /* no NBPG */ |
|
# endif /* no EXEC_PAGESIZE */ |
|
# else /* no HAVE_SYS_PARAM_H */ |
|
# define getpagesize() 8192 /* punt totally */ |
|
# endif /* no HAVE_SYS_PARAM_H */ |
|
# endif /* no _SC_PAGESIZE */ |
|
|
|
#endif /* no HAVE_GETPAGESIZE */ |
|
|
int |
int |
main () |
main () |
{ |
{ |
return ! realloc (0, 0); | char *data, *data2, *data3; |
; | const char *cdata2; |
| int i, pagesize; |
| int fd, fd2; |
| |
| pagesize = getpagesize (); |
| |
| /* First, make a file with some known garbage in it. */ |
| data = (char *) malloc (pagesize); |
| if (!data) |
| return 1; |
| for (i = 0; i < pagesize; ++i) |
| *(data + i) = rand (); |
| umask (0); |
| fd = creat ("conftest.mmap", 0600); |
| if (fd < 0) |
| return 2; |
| if (write (fd, data, pagesize) != pagesize) |
| return 3; |
| close (fd); |
| |
| /* Next, check that the tail of a page is zero-filled. File must have |
| non-zero length, otherwise we risk SIGBUS for entire page. */ |
| fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); |
| if (fd2 < 0) |
| return 4; |
| cdata2 = ""; |
| if (write (fd2, cdata2, 1) != 1) |
| return 5; |
| data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); |
| if (data2 == MAP_FAILED) |
| return 6; |
| for (i = 0; i < pagesize; ++i) |
| if (*(data2 + i)) |
| return 7; |
| close (fd2); |
| if (munmap (data2, pagesize)) |
| return 8; |
| |
| /* Next, try to mmap the file at a fixed address which already has |
| something else allocated at it. If we can, also make sure that |
| we see the same garbage. */ |
| fd = open ("conftest.mmap", O_RDWR); |
| if (fd < 0) |
| return 9; |
| if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
| MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
| return 10; |
| for (i = 0; i < pagesize; ++i) |
| if (*(data + i) != *(data2 + i)) |
| return 11; |
| |
| /* Finally, make sure that changes to the mapped area do not |
| percolate back to the file as seen by read(). (This is a bug on |
| some variants of i386 svr4.0.) */ |
| for (i = 0; i < pagesize; ++i) |
| *(data2 + i) = *(data2 + i) + 1; |
| data3 = (char *) malloc (pagesize); |
| if (!data3) |
| return 12; |
| if (read (fd, data3, pagesize) != pagesize) |
| return 13; |
| for (i = 0; i < pagesize; ++i) |
| if (*(data + i) != *(data3 + i)) |
| return 14; |
| close (fd); |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
if ac_fn_c_try_run "$LINENO"; then : |
if ac_fn_c_try_run "$LINENO"; then : |
ac_cv_func_realloc_0_nonnull=yes | ac_cv_func_mmap_fixed_mapped=yes |
else |
else |
ac_cv_func_realloc_0_nonnull=no | ac_cv_func_mmap_fixed_mapped=no |
fi |
fi |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
fi |
fi |
|
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } | $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } |
if test $ac_cv_func_realloc_0_nonnull = yes; then : | if test $ac_cv_func_mmap_fixed_mapped = yes; then |
|
|
$as_echo "#define HAVE_REALLOC 1" >>confdefs.h | $as_echo "#define HAVE_MMAP 1" >>confdefs.h |
|
|
else | fi |
$as_echo "#define HAVE_REALLOC 0" >>confdefs.h | rm -f conftest.mmap conftest.txt |
|
|
case " $LIBOBJS " in | for ac_func in bzero memset munmap |
*" realloc.$ac_objext "* ) ;; | do : |
*) LIBOBJS="$LIBOBJS realloc.$ac_objext" | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
;; | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
esac | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| cat >>confdefs.h <<_ACEOF |
| #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| _ACEOF |
|
|
|
fi |
|
done |
|
|
$as_echo "#define realloc rpl_realloc" >>confdefs.h | for ac_func in pthread_create pthread_exit |
| do : |
| as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| cat >>confdefs.h <<_ACEOF |
| #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| _ACEOF |
|
|
fi |
fi |
|
done |
|
|
| for ac_func in shm_open shm_unlink |
for ac_func in memset regcomp strchr strerror | |
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" |
Line 3873 fi
|
Line 4167 fi
|
done |
done |
|
|
|
|
|
# It's stupid, but not all platforms have union semun, even those that need it. |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking looking for union semun in sys/sem.h" >&5 |
|
$as_echo_n "checking looking for union semun in sys/sem.h... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
#include <sys/types.h> |
|
#include <sys/ipc.h> |
|
#include <sys/sem.h> |
|
|
|
int |
|
main () |
|
{ |
|
|
|
union semun arg; |
|
semctl(0, 0, 0, arg); |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
|
|
$as_echo "#define HAVE_UNION_SEMUN /**/" >>confdefs.h |
|
|
|
msg=yes |
|
else |
|
msg=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg" >&5 |
|
$as_echo "$msg" >&6; } |
|
|
DEBUG=no |
DEBUG=no |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Debug Build" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Debug Build" >&5 |
$as_echo_n "checking Debug Build... " >&6; } |
$as_echo_n "checking Debug Build... " >&6; } |
Line 3881 if test "${enable_debug+set}" = set; then :
|
Line 4209 if test "${enable_debug+set}" = set; then :
|
enableval=$enable_debug; DEBUG=$enableval |
enableval=$enable_debug; DEBUG=$enableval |
case "$enableval" in |
case "$enableval" in |
yes) |
yes) |
|
|
$as_echo "#define __DEBUG /**/" >>confdefs.h |
|
|
|
CFLAGS="-g ${CFLAGS}" |
CFLAGS="-g ${CFLAGS}" |
;; |
;; |
*) |
*) |
Line 4326 if (echo >conf$$.file) 2>/dev/null; then
|
Line 4651 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 4395 else
|
Line 4720 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 4437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 4750 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 libaitio $as_me 1.8, which was | This file was extended by libaitio $as_me 5.4, which was |
generated by GNU Autoconf 2.68. 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 4499 _ACEOF
|
Line 4812 _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_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_version="\\ |
ac_cs_version="\\ |
libaitio config.status 1.8 | libaitio config.status 5.4 |
configured by $0, generated by GNU Autoconf 2.68, | configured by $0, generated by GNU Autoconf 2.69, |
with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
|
|
Copyright (C) 2010 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 4592 fi
|
Line 4905 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' |