version 1.17.2.1, 2014/01/30 08:31:56
|
version 1.30.2.6, 2025/01/30 12:33:02
|
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.69 for libaitcfg 7.4. | # Generated by GNU Autoconf 2.69 for libaitcfg 9.5. |
# |
# |
# Report bugs to <misho@elwix.org>. |
# Report bugs to <misho@elwix.org>. |
# |
# |
Line 580 MAKEFLAGS=
|
Line 580 MAKEFLAGS=
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='libaitcfg' |
PACKAGE_NAME='libaitcfg' |
PACKAGE_TARNAME='libaitcfg' |
PACKAGE_TARNAME='libaitcfg' |
PACKAGE_VERSION='7.4' | PACKAGE_VERSION='9.5' |
PACKAGE_STRING='libaitcfg 7.4' | PACKAGE_STRING='libaitcfg 9.5' |
PACKAGE_BUGREPORT='misho@elwix.org' |
PACKAGE_BUGREPORT='misho@elwix.org' |
PACKAGE_URL='' |
PACKAGE_URL='' |
|
|
Line 623 ac_includes_default="\
|
Line 623 ac_includes_default="\
|
#endif" |
#endif" |
|
|
ac_subst_vars='LTLIBOBJS |
ac_subst_vars='LTLIBOBJS |
|
DEBIAN_ARCH |
LIBOBJS |
LIBOBJS |
EGREP |
EGREP |
GREP |
GREP |
Line 640 build_os
|
Line 641 build_os
|
build_vendor |
build_vendor |
build_cpu |
build_cpu |
build |
build |
|
RANLIB |
INSTALL_DATA |
INSTALL_DATA |
INSTALL_SCRIPT |
INSTALL_SCRIPT |
INSTALL_PROGRAM |
INSTALL_PROGRAM |
Line 669 infodir
|
Line 671 infodir
|
docdir |
docdir |
oldincludedir |
oldincludedir |
includedir |
includedir |
|
runstatedir |
localstatedir |
localstatedir |
sharedstatedir |
sharedstatedir |
sysconfdir |
sysconfdir |
Line 740 datadir='${datarootdir}'
|
Line 743 datadir='${datarootdir}'
|
sysconfdir='${prefix}/etc' |
sysconfdir='${prefix}/etc' |
sharedstatedir='${prefix}/com' |
sharedstatedir='${prefix}/com' |
localstatedir='${prefix}/var' |
localstatedir='${prefix}/var' |
|
runstatedir='${localstatedir}/run' |
includedir='${prefix}/include' |
includedir='${prefix}/include' |
oldincludedir='/usr/include' |
oldincludedir='/usr/include' |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
Line 992 do
|
Line 996 do
|
| -silent | --silent | --silen | --sile | --sil) |
| -silent | --silent | --silen | --sile | --sil) |
silent=yes ;; |
silent=yes ;; |
|
|
|
-runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
| --runstate | --runstat | --runsta | --runst | --runs \ |
|
| --run | --ru | --r) |
|
ac_prev=runstatedir ;; |
|
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
| --run=* | --ru=* | --r=*) |
|
runstatedir=$ac_optarg ;; |
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
ac_prev=sbindir ;; |
ac_prev=sbindir ;; |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
Line 1129 fi
|
Line 1142 fi
|
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
libdir localedir mandir | libdir localedir mandir runstatedir |
do |
do |
eval ac_val=\$$ac_var |
eval ac_val=\$$ac_var |
# Remove trailing slashes. |
# Remove trailing slashes. |
Line 1242 if test "$ac_init_help" = "long"; then
|
Line 1255 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 libaitcfg 7.4 to adapt to many kinds of systems. | \`configure' configures libaitcfg 9.5 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1282 Fine tuning of the installation directories:
|
Line 1295 Fine tuning of the installation directories:
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
--libdir=DIR object code libraries [EPREFIX/lib] |
--libdir=DIR object code libraries [EPREFIX/lib] |
--includedir=DIR C header files [PREFIX/include] |
--includedir=DIR C header files [PREFIX/include] |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
Line 1308 fi
|
Line 1322 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 libaitcfg 7.4:";; | short | recursive ) echo "Configuration of libaitcfg 9.5:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1394 fi
|
Line 1408 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 |
libaitcfg configure 7.4 | libaitcfg configure 9.5 |
generated by GNU Autoconf 2.69 |
generated by GNU Autoconf 2.69 |
|
|
Copyright (C) 2012 Free Software Foundation, Inc. |
Copyright (C) 2012 Free Software Foundation, Inc. |
Line 1529 fi
|
Line 1543 fi
|
|
|
} # ac_fn_c_try_cpp |
} # ac_fn_c_try_cpp |
|
|
# ac_fn_c_try_run LINENO |
|
# ---------------------- |
|
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
# that executables *can* be run. |
|
ac_fn_c_try_run () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
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>&5 |
|
ac_status=$? |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } && { ac_try='./conftest$ac_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 : |
|
ac_retval=0 |
|
else |
|
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_retval=$ac_status |
|
fi |
|
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_run |
|
|
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
# ------------------------------------------------------- |
# ------------------------------------------------------- |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
Line 1662 fi
|
Line 1634 fi
|
|
|
} # ac_fn_c_check_header_mongrel |
} # ac_fn_c_check_header_mongrel |
|
|
|
# ac_fn_c_try_run LINENO |
|
# ---------------------- |
|
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
# that executables *can* be run. |
|
ac_fn_c_try_run () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
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>&5 |
|
ac_status=$? |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } && { ac_try='./conftest$ac_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 : |
|
ac_retval=0 |
|
else |
|
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_retval=$ac_status |
|
fi |
|
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_run |
|
|
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
# ------------------------------------------------------- |
# ------------------------------------------------------- |
# Tests whether HEADER exists and can be compiled using the include files in |
# Tests whether HEADER exists and can be compiled using the include files in |
Line 1763 cat >config.log <<_ACEOF
|
Line 1777 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 libaitcfg $as_me 7.4, which was | It was created by libaitcfg $as_me 9.5, which was |
generated by GNU Autoconf 2.69. Invocation command line was |
generated by GNU Autoconf 2.69. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
Line 3030 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL
|
Line 3044 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
|
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_prog_RANLIB+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$RANLIB"; then |
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
RANLIB=$ac_cv_prog_RANLIB |
|
if test -n "$RANLIB"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
|
$as_echo "$RANLIB" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_RANLIB"; then |
|
ac_ct_RANLIB=$RANLIB |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
|
set dummy ranlib; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_RANLIB"; then |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
if test -n "$ac_ct_RANLIB"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
|
$as_echo "$ac_ct_RANLIB" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_RANLIB" = x; then |
|
RANLIB=":" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
RANLIB=$ac_ct_RANLIB |
|
fi |
|
else |
|
RANLIB="$ac_cv_prog_RANLIB" |
|
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 |
Line 3220 $as_echo "no" >&6; }
|
Line 3326 $as_echo "no" >&6; }
|
fi |
fi |
|
|
if test "x$ac_ct_MKDEP" = x; then |
if test "x$ac_ct_MKDEP" = x; then |
MKDEP="no" | MKDEP="../mkdep" |
else |
else |
case $cross_compiling:$ac_tool_warned in |
case $cross_compiling:$ac_tool_warned in |
yes:) |
yes:) |
Line 3236 fi
|
Line 3342 fi
|
|
|
|
|
|
|
CFLAGS="-Wall -O2 -fPIC ${CFLAGS}" | if test x"${prefix}" = x"NONE"; then |
LDFLAGS="${LDFLAGS}" | prefix="/usr/local" |
| fi |
| if test x"${exec_prefix}" = x"NONE"; then |
| exec_prefix=${prefix} |
| fi |
|
|
|
if test "${ac_cv_env_CFLAGS_set}" != "set"; then |
|
CFLAGS="-Wall -O2 -I${includedir}" |
|
else |
|
CFLAGS="${ac_cv_env_CFLAGS_value}" |
|
fi |
|
if test "${ac_cv_env_LDFLAGS_set}" = "set"; then |
|
LDFLAGS="${ac_cv_env_LDFLAGS_value}" |
|
else |
|
LDFLAGS="-L$(eval echo ${libdir})" |
|
fi |
|
|
|
|
# Checks for libraries. |
# Checks for libraries. |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5 |
Line 3333 fi
|
Line 3455 fi
|
|
|
|
|
# Checks for header files. |
# Checks for header files. |
|
|
# Checks for typedefs, structures, and compiler characteristics. |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
|
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
|
if ${ac_cv_c_const+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
#ifndef __cplusplus |
|
/* Ultrix mips cc rejects this sort of thing. */ |
|
typedef int charset[2]; |
|
const charset cs = { 0, 0 }; |
|
/* SunOS 4.1.1 cc rejects this. */ |
|
char const *const *pcpcc; |
|
char **ppc; |
|
/* NEC SVR4.0.2 mips cc rejects this. */ |
|
struct point {int x, y;}; |
|
static struct point const zero = {0,0}; |
|
/* AIX XL C 1.02.0.0 rejects this. |
|
It does not let you subtract one const X* pointer from another in |
|
an arm of an if-expression whose if-part is not a constant |
|
expression */ |
|
const char *g = "string"; |
|
pcpcc = &g + (g ? g-g : 0); |
|
/* HPUX 7.0 cc rejects these. */ |
|
++pcpcc; |
|
ppc = (char**) pcpcc; |
|
pcpcc = (char const *const *) ppc; |
|
{ /* SCO 3.2v4 cc rejects this sort of thing. */ |
|
char tx; |
|
char *t = &tx; |
|
char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
|
|
*t++ = 0; |
|
if (s) return 0; |
|
} |
|
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
int x[] = {25, 17}; |
|
const int *foo = &x[0]; |
|
++foo; |
|
} |
|
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
typedef const int *iptr; |
|
iptr p = 0; |
|
++p; |
|
} |
|
{ /* AIX XL C 1.02.0.0 rejects this sort of thing, saying |
|
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
struct s { int j; const int *ap[3]; } bx; |
|
struct s *b = &bx; b->j = 5; |
|
} |
|
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
const int foo = 10; |
|
if (!foo) return 0; |
|
} |
|
return !cs[0] && !zero.x; |
|
#endif |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_c_const=yes |
|
else |
|
ac_cv_c_const=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
|
$as_echo "$ac_cv_c_const" >&6; } |
|
if test $ac_cv_c_const = no; then |
|
|
|
$as_echo "#define const /**/" >>confdefs.h |
|
|
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
|
$as_echo_n "checking for inline... " >&6; } |
|
if ${ac_cv_c_inline+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_cv_c_inline=no |
|
for ac_kw in inline __inline__ __inline; do |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#ifndef __cplusplus |
|
typedef int foo_t; |
|
static $ac_kw foo_t static_foo () {return 0; } |
|
$ac_kw foo_t foo () {return 0; } |
|
#endif |
|
|
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_c_inline=$ac_kw |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
test "$ac_cv_c_inline" != no && break |
|
done |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
|
$as_echo "$ac_cv_c_inline" >&6; } |
|
|
|
case $ac_cv_c_inline in |
|
inline | yes) ;; |
|
*) |
|
case $ac_cv_c_inline in |
|
no) ac_val=;; |
|
*) ac_val=$ac_cv_c_inline;; |
|
esac |
|
cat >>confdefs.h <<_ACEOF |
|
#ifndef __cplusplus |
|
#define inline $ac_val |
|
#endif |
|
_ACEOF |
|
;; |
|
esac |
|
|
|
|
|
# Checks for library functions. |
|
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 3857 fi
|
Line 3852 fi
|
done |
done |
|
|
|
|
|
for ac_header in stdint.h stdlib.h string.h unistd.h |
|
do : |
|
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" |
|
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
done |
|
|
|
for ac_header in bsd/string.h |
|
do : |
|
ac_fn_c_check_header_mongrel "$LINENO" "bsd/string.h" "ac_cv_header_bsd_string_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_bsd_string_h" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_BSD_STRING_H 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics. |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
|
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
|
if ${ac_cv_c_const+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
#ifndef __cplusplus |
|
/* Ultrix mips cc rejects this sort of thing. */ |
|
typedef int charset[2]; |
|
const charset cs = { 0, 0 }; |
|
/* SunOS 4.1.1 cc rejects this. */ |
|
char const *const *pcpcc; |
|
char **ppc; |
|
/* NEC SVR4.0.2 mips cc rejects this. */ |
|
struct point {int x, y;}; |
|
static struct point const zero = {0,0}; |
|
/* AIX XL C 1.02.0.0 rejects this. |
|
It does not let you subtract one const X* pointer from another in |
|
an arm of an if-expression whose if-part is not a constant |
|
expression */ |
|
const char *g = "string"; |
|
pcpcc = &g + (g ? g-g : 0); |
|
/* HPUX 7.0 cc rejects these. */ |
|
++pcpcc; |
|
ppc = (char**) pcpcc; |
|
pcpcc = (char const *const *) ppc; |
|
{ /* SCO 3.2v4 cc rejects this sort of thing. */ |
|
char tx; |
|
char *t = &tx; |
|
char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
|
|
*t++ = 0; |
|
if (s) return 0; |
|
} |
|
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
int x[] = {25, 17}; |
|
const int *foo = &x[0]; |
|
++foo; |
|
} |
|
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
typedef const int *iptr; |
|
iptr p = 0; |
|
++p; |
|
} |
|
{ /* AIX XL C 1.02.0.0 rejects this sort of thing, saying |
|
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
struct s { int j; const int *ap[3]; } bx; |
|
struct s *b = &bx; b->j = 5; |
|
} |
|
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
const int foo = 10; |
|
if (!foo) return 0; |
|
} |
|
return !cs[0] && !zero.x; |
|
#endif |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_c_const=yes |
|
else |
|
ac_cv_c_const=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
|
$as_echo "$ac_cv_c_const" >&6; } |
|
if test $ac_cv_c_const = no; then |
|
|
|
$as_echo "#define const /**/" >>confdefs.h |
|
|
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
|
$as_echo_n "checking for inline... " >&6; } |
|
if ${ac_cv_c_inline+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_cv_c_inline=no |
|
for ac_kw in inline __inline__ __inline; do |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#ifndef __cplusplus |
|
typedef int foo_t; |
|
static $ac_kw foo_t static_foo () {return 0; } |
|
$ac_kw foo_t foo () {return 0; } |
|
#endif |
|
|
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_c_inline=$ac_kw |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
test "$ac_cv_c_inline" != no && break |
|
done |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
|
$as_echo "$ac_cv_c_inline" >&6; } |
|
|
|
case $ac_cv_c_inline in |
|
inline | yes) ;; |
|
*) |
|
case $ac_cv_c_inline in |
|
no) ac_val=;; |
|
*) ac_val=$ac_cv_c_inline;; |
|
esac |
|
cat >>confdefs.h <<_ACEOF |
|
#ifndef __cplusplus |
|
#define inline $ac_val |
|
#endif |
|
_ACEOF |
|
;; |
|
esac |
|
|
|
|
|
# Checks for library functions. |
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" |
Line 3991 $as_echo "#define realloc rpl_realloc" >>confdefs.h
|
Line 4138 $as_echo "#define realloc rpl_realloc" >>confdefs.h
|
fi |
fi |
|
|
|
|
for ac_func in bzero memmove memset strchr strspn | for ac_func in memmove memset strchr strspn |
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 4023 $as_echo "#define NDEBUG /**/" >>confdefs.h
|
Line 4170 $as_echo "#define NDEBUG /**/" >>confdefs.h
|
|
|
;; |
;; |
esac |
esac |
|
else |
|
|
|
$as_echo "#define NDEBUG /**/" >>confdefs.h |
|
|
fi |
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; } |
|
|
ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile" | DEBIAN_ARCH=$target_cpu |
| if test "x$target_cpu" = "xarm6l" -o "x$target_cpu" = "xarm7l" ; then : |
| DEBIAN_ARCH="armhf" |
| fi |
| if test "x$target_cpu" = "xaarch64" ; then : |
| DEBIAN_ARCH="arm64" |
| fi |
| if test "x$target_cpu" = "xi686" ; then : |
| DEBIAN_ARCH="i386" |
| fi |
| if test "x$target_cpu" = "xx86_64" ; then : |
| DEBIAN_ARCH="amd64" |
| fi |
|
|
|
|
|
ac_config_files="$ac_config_files Makefile bin/Makefile inc/Makefile lib/Makefile debian/Makefile debian/control src/Makefile" |
|
|
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
# tests run on this system so they can be shared between configure |
# tests run on this system so they can be shared between configure |
Line 4536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 4702 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 libaitcfg $as_me 7.4, which was | This file was extended by libaitcfg $as_me 9.5, which was |
generated by GNU Autoconf 2.69. Invocation command line was |
generated by GNU Autoconf 2.69. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
Line 4598 _ACEOF
|
Line 4764 _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="\\ |
libaitcfg config.status 7.4 | libaitcfg config.status 9.5 |
configured by $0, generated by GNU Autoconf 2.69, |
configured by $0, generated by GNU Autoconf 2.69, |
with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
|
|
Line 4722 do
|
Line 4888 do
|
case $ac_config_target in |
case $ac_config_target in |
"inc/config.h") CONFIG_HEADERS="$CONFIG_HEADERS inc/config.h" ;; |
"inc/config.h") CONFIG_HEADERS="$CONFIG_HEADERS inc/config.h" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
"bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;; |
"inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;; |
"inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;; |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
|
"debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;; |
|
"debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;; |
"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;; |