|
version 1.49.2.1, 2023/01/18 23:48:11
|
version 1.61.2.2, 2026/05/20 03:07:51
|
|
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.71 for libaitsched 7.4. | # Generated by GNU Autoconf 2.71 for libaitsched 8.6. |
| # |
# |
| # Report bugs to <misho@elwix.org>. |
# Report bugs to <misho@elwix.org>. |
| # |
# |
|
Line 610 MAKEFLAGS=
|
Line 610 MAKEFLAGS=
|
| # Identity of this package. |
# Identity of this package. |
| PACKAGE_NAME='libaitsched' |
PACKAGE_NAME='libaitsched' |
| PACKAGE_TARNAME='libaitsched' |
PACKAGE_TARNAME='libaitsched' |
| PACKAGE_VERSION='7.4' | PACKAGE_VERSION='8.6' |
| PACKAGE_STRING='libaitsched 7.4' | PACKAGE_STRING='libaitsched 8.6' |
| PACKAGE_BUGREPORT='misho@elwix.org' |
PACKAGE_BUGREPORT='misho@elwix.org' |
| PACKAGE_URL='' |
PACKAGE_URL='' |
| |
|
|
Line 649 ac_includes_default="\
|
Line 649 ac_includes_default="\
|
| |
|
| ac_header_c_list= |
ac_header_c_list= |
| ac_subst_vars='LTLIBOBJS |
ac_subst_vars='LTLIBOBJS |
| |
DEBIAN_ARCH |
| LIBOBJS |
LIBOBJS |
| MKDEP |
MKDEP |
| target_os |
target_os |
|
Line 722 enable_epoll
|
Line 723 enable_epoll
|
| enable_kqueue |
enable_kqueue |
| with_kq_events |
with_kq_events |
| with_elwix |
with_elwix |
| |
enable_atomic |
| ' |
' |
| ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
| host_alias |
host_alias |
|
Line 1279 if test "$ac_init_help" = "long"; then
|
Line 1281 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 7.4 to adapt to many kinds of systems. | \`configure' configures libaitsched 8.6 to adapt to many kinds of systems. |
| |
|
| Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| |
|
|
Line 1346 fi
|
Line 1348 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 7.4:";; | short | recursive ) echo "Configuration of libaitsched 8.6:";; |
| esac |
esac |
| cat <<\_ACEOF |
cat <<\_ACEOF |
| |
|
|
Line 1358 Optional Features:
|
Line 1360 Optional Features:
|
| --enable-aio Build scheduler library with AIO operations |
--enable-aio Build scheduler library with AIO operations |
| --enable-epoll Enable epoll support (only under Linux) |
--enable-epoll Enable epoll support (only under Linux) |
| --disable-kqueue Disable kqueue support |
--disable-kqueue Disable kqueue support |
| |
--enable-atomic Enable atomic lock support |
| |
|
| Optional Packages: |
Optional Packages: |
| --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
Line 1441 fi
|
Line 1444 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 7.4 | libaitsched configure 8.6 |
| generated by GNU Autoconf 2.71 |
generated by GNU Autoconf 2.71 |
| |
|
| Copyright (C) 2021 Free Software Foundation, Inc. |
Copyright (C) 2021 Free Software Foundation, Inc. |
|
Line 1759 cat >config.log <<_ACEOF
|
Line 1762 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 7.4, which was | It was created by libaitsched $as_me 8.6, which was |
| generated by GNU Autoconf 2.71. Invocation command line was |
generated by GNU Autoconf 2.71. Invocation command line was |
| |
|
| $ $0$ac_configure_args_raw |
$ $0$ac_configure_args_raw |
|
Line 3940 fi
|
Line 3943 fi
|
| |
|
| |
|
| |
|
| CFLAGS="-Wall -O2 -fPIC ${CFLAGS}" | if test "${ac_cv_env_CFLAGS_set}" != "set"; then |
| LDFLAGS="${LDFLAGS}" | 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${libdir}" |
| | fi |
| |
|
| |
|
| # Checks for libraries. |
# Checks for libraries. |
|
Line 4032 then :
|
Line 4043 then :
|
| |
|
| fi |
fi |
| |
|
| |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lelwix" >&5 |
| |
printf %s "checking for strlcpy in -lelwix... " >&6; } |
| |
if test ${ac_cv_lib_elwix_strlcpy+y} |
| |
then : |
| |
printf %s "(cached) " >&6 |
| |
else $as_nop |
| |
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. */ |
| |
char strlcpy (); |
| |
int |
| |
main (void) |
| |
{ |
| |
return strlcpy (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO" |
| |
then : |
| |
ac_cv_lib_elwix_strlcpy=yes |
| |
else $as_nop |
| |
ac_cv_lib_elwix_strlcpy=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| |
LIBS=$ac_check_lib_save_LIBS |
| |
fi |
| |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elwix_strlcpy" >&5 |
| |
printf "%s\n" "$ac_cv_lib_elwix_strlcpy" >&6; } |
| |
if test "x$ac_cv_lib_elwix_strlcpy" = xyes |
| |
then : |
| |
printf "%s\n" "#define HAVE_LIBELWIX 1" >>confdefs.h |
| |
|
| |
LIBS="-lelwix $LIBS" |
| |
|
| |
fi |
| |
|
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lbsd" >&5 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lbsd" >&5 |
| printf %s "checking for strlcpy in -lbsd... " >&6; } |
printf %s "checking for strlcpy in -lbsd... " >&6; } |
| if test ${ac_cv_lib_bsd_strlcpy+y} |
if test ${ac_cv_lib_bsd_strlcpy+y} |
|
Line 4137 then :
|
Line 4191 then :
|
| |
|
| fi |
fi |
| |
|
| ac_fn_c_check_header_compile "$LINENO" "bsd/string.h" "ac_cv_header_bsd_string_h" "$ac_includes_default" |
|
| if test "x$ac_cv_header_bsd_string_h" = xyes |
|
| then : |
|
| printf "%s\n" "#define HAVE_BSD_STRING_H 1" >>confdefs.h |
|
| |
|
| fi |
|
| |
|
| |
|
| # Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
| printf %s "checking for inline... " >&6; } |
printf %s "checking for inline... " >&6; } |
|
Line 4457 then :
|
Line 4504 then :
|
| |
|
| printf "%s\n" "#define __ELWIX /**/" >>confdefs.h |
printf "%s\n" "#define __ELWIX /**/" >>confdefs.h |
| |
|
| CFLAGS="-g ${CFLAGS}" |
|
| LIBS="${LIBS} -lelwix" |
LIBS="${LIBS} -lelwix" |
| ;; |
;; |
| *) |
*) |
|
Line 4468 fi
|
Line 4514 fi
|
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ELWIX" >&5 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ELWIX" >&5 |
| printf "%s\n" "$ELWIX" >&6; } |
printf "%s\n" "$ELWIX" >&6; } |
| |
|
| ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile" | ATOMIC=no |
| | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Enable atomic lock support" >&5 |
| | printf %s "checking Enable atomic lock support... " >&6; } |
| | # Check whether --enable-atomic was given. |
| | if test ${enable_atomic+y} |
| | then : |
| | enableval=$enable_atomic; ATOMIC=$enableval |
| | case "$enableval" in |
| | yes) |
| |
|
| |
printf "%s\n" "#define ATOMIC_SUPPORT /**/" >>confdefs.h |
| |
|
| |
;; |
| |
*) |
| |
;; |
| |
esac |
| |
fi |
| |
|
| |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ATOMIC" >&5 |
| |
printf "%s\n" "$ATOMIC" >&6; } |
| |
|
| |
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 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 4969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 5055 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 7.4, which was | This file was extended by libaitsched $as_me 8.6, which was |
| generated by GNU Autoconf 2.71. Invocation command line was |
generated by GNU Autoconf 2.71. Invocation command line was |
| |
|
| CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
|
Line 5033 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" |
|
Line 5119 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" |
|
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| ac_cs_config='$ac_cs_config_escaped' |
ac_cs_config='$ac_cs_config_escaped' |
| ac_cs_version="\\ |
ac_cs_version="\\ |
| libaitsched config.status 7.4 | libaitsched config.status 8.6 |
| configured by $0, generated by GNU Autoconf 2.71, |
configured by $0, generated by GNU Autoconf 2.71, |
| with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
| |
|
|
Line 5159 do
|
Line 5245 do
|
| "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES 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;; |