version 1.3, 2013/03/07 23:04:48
|
version 1.64, 2023/03/14 22:36:13
|
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 libelwix 1.2. | # Generated by GNU Autoconf 2.69 for libelwix 5.7. |
# |
# |
# 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='libelwix' |
PACKAGE_NAME='libelwix' |
PACKAGE_TARNAME='libelwix' |
PACKAGE_TARNAME='libelwix' |
PACKAGE_VERSION='1.2' | PACKAGE_VERSION='5.7' |
PACKAGE_STRING='libelwix 1.2' | PACKAGE_STRING='libelwix 5.7' |
PACKAGE_BUGREPORT='misho@elwix.org' |
PACKAGE_BUGREPORT='misho@elwix.org' |
PACKAGE_URL='' |
PACKAGE_URL='' |
|
|
Line 670 infodir
|
Line 670 infodir
|
docdir |
docdir |
oldincludedir |
oldincludedir |
includedir |
includedir |
|
runstatedir |
localstatedir |
localstatedir |
sharedstatedir |
sharedstatedir |
sysconfdir |
sysconfdir |
Line 693 ac_subst_files=''
|
Line 694 ac_subst_files=''
|
ac_user_opts=' |
ac_user_opts=' |
enable_option_checking |
enable_option_checking |
enable_debug |
enable_debug |
|
with_memmgr |
' |
' |
ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
host_alias |
host_alias |
Line 741 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 993 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 1130 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 1243 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 libelwix 1.2 to adapt to many kinds of systems. | \`configure' configures libelwix 5.7 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1283 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 1309 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 libelwix 1.2:";; | short | recursive ) echo "Configuration of libelwix 5.7:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1319 Optional Features:
|
Line 1332 Optional Features:
|
--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 |
|
|
|
Optional Packages: |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
--with-memmgr=<mm> Memory manager for ELWIX (elwix|system) |
|
|
Some influential environment variables: |
Some influential environment variables: |
CC C compiler command |
CC C compiler command |
CFLAGS C compiler flags |
CFLAGS C compiler flags |
Line 1395 fi
|
Line 1413 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 |
libelwix configure 1.2 | libelwix configure 5.7 |
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 1764 cat >config.log <<_ACEOF
|
Line 1782 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 libelwix $as_me 1.2, which was | It was created by libelwix $as_me 5.7, 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 2116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
Line 2134 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 3310 $as_echo "no" >&6; }
|
Line 3331 $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 3326 fi
|
Line 3347 fi
|
|
|
|
|
|
|
CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" | CFLAGS="-Wall -O2 -fPIC ${CFLAGS}" |
LDFLAGS="-L/usr/local/lib ${LDFLAGS}" | LDFLAGS="${LDFLAGS}" |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 |
Line 3375 _ACEOF
|
Line 3396 _ACEOF
|
|
|
fi |
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lbsd" >&5 |
|
$as_echo_n "checking for strlcpy in -lbsd... " >&6; } |
|
if ${ac_cv_lib_bsd_strlcpy+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lbsd $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 strlcpy (); |
|
int |
|
main () |
|
{ |
|
return strlcpy (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_bsd_strlcpy=yes |
|
else |
|
ac_cv_lib_bsd_strlcpy=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_bsd_strlcpy" >&5 |
|
$as_echo "$ac_cv_lib_bsd_strlcpy" >&6; } |
|
if test "x$ac_cv_lib_bsd_strlcpy" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBBSD 1 |
|
_ACEOF |
|
|
|
LIBS="-lbsd $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 3787 fi
|
Line 3853 fi
|
|
|
done |
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. |
# 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; } |
Line 3967 $as_echo "#define realloc rpl_realloc" >>confdefs.h
|
Line 4045 $as_echo "#define realloc rpl_realloc" >>confdefs.h
|
fi |
fi |
|
|
|
|
for ac_func in memset regcomp strchr strerror | for ac_func in memset regcomp strchr strerror link_addr strlcpy |
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 4001 fi
|
Line 4079 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; } |
|
|
|
MEMMGR="elwix" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Memory management" >&5 |
|
$as_echo_n "checking Memory management... " >&6; } |
|
|
|
# Check whether --with-memmgr was given. |
|
if test "${with_memmgr+set}" = set; then : |
|
withval=$with_memmgr; case "$withval" in |
|
sys|system) |
|
MEMMGR="system" |
|
|
|
$as_echo "#define MEMMGR ELWIX_SYSM" >>confdefs.h |
|
|
|
;; |
|
*) |
|
MEMMGR="elwix" |
|
|
|
$as_echo "#define MEMMGR ELWIX_MPOOL" >>confdefs.h |
|
|
|
;; |
|
esac |
|
else |
|
|
|
$as_echo "#define MEMMGR ELWIX_MPOOL" >>confdefs.h |
|
|
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEMMGR" >&5 |
|
$as_echo "$MEMMGR" >&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 4509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 4616 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 libelwix $as_me 1.2, which was | This file was extended by libelwix $as_me 5.7, 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 4571 _ACEOF
|
Line 4678 _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="\\ |
libelwix config.status 1.2 | libelwix config.status 5.7 |
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\\" |
|
|