mirror of
https://github.com/python/cpython.git
synced 2025-11-29 14:31:30 +00:00
gh-128354: Consistently use LIBS over LDFLAGS in library build checks (#128359)
This commit is contained in:
parent
4974bbdb29
commit
b75ed951d4
2 changed files with 41 additions and 43 deletions
49
configure
generated
vendored
49
configure
generated
vendored
|
|
@ -14044,7 +14044,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $LIBUUID_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBUUID_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBUUID_LIBS"
|
LIBS="$LIBS $LIBUUID_LIBS"
|
||||||
for ac_header in uuid/uuid.h
|
for ac_header in uuid/uuid.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
|
||||||
|
|
@ -14186,7 +14186,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $LIBUUID_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBUUID_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBUUID_LIBS"
|
LIBS="$LIBS $LIBUUID_LIBS"
|
||||||
for ac_header in uuid/uuid.h
|
for ac_header in uuid/uuid.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
|
||||||
|
|
@ -15084,7 +15084,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $LIBFFI_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBFFI_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBFFI_LIBS"
|
LIBS="$LIBS $LIBFFI_LIBS"
|
||||||
ac_fn_c_check_header_compile "$LINENO" "ffi.h" "ac_cv_header_ffi_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "ffi.h" "ac_cv_header_ffi_h" "$ac_includes_default"
|
||||||
if test "x$ac_cv_header_ffi_h" = xyes
|
if test "x$ac_cv_header_ffi_h" = xyes
|
||||||
then :
|
then :
|
||||||
|
|
@ -15166,7 +15166,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $LIBFFI_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBFFI_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBFFI_LIBS"
|
LIBS="$LIBS $LIBFFI_LIBS"
|
||||||
ac_fn_c_check_header_compile "$LINENO" "ffi.h" "ac_cv_header_ffi_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "ffi.h" "ac_cv_header_ffi_h" "$ac_includes_default"
|
||||||
if test "x$ac_cv_header_ffi_h" = xyes
|
if test "x$ac_cv_header_ffi_h" = xyes
|
||||||
then :
|
then :
|
||||||
|
|
@ -15286,8 +15286,8 @@ save_LDFLAGS=$LDFLAGS
|
||||||
save_LIBS=$LIBS
|
save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CFLAGS="$LIBFFI_CFLAGS $CFLAGS"
|
CFLAGS="$CFLAGS $LIBFFI_CFLAGS"
|
||||||
LDFLAGS="$LIBFFI_LIBS $LDFLAGS"
|
LIBS="$LIBS $LIBFFI_LIBS"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -15439,9 +15439,8 @@ save_LDFLAGS=$LDFLAGS
|
||||||
save_LIBS=$LIBS
|
save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$LIBFFI_CFLAGS $CPPFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBFFI_CFLAGS"
|
||||||
LDFLAGS="$LIBFFI_LIBS $LDFLAGS"
|
LIBS="$LIBS $LIBFFI_LIBS"
|
||||||
LIBS="$LIBFFI_LIBS $LIBS"
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
ac_cv_ffi_complex_double_supported=no
|
ac_cv_ffi_complex_double_supported=no
|
||||||
|
|
@ -15614,8 +15613,8 @@ save_LDFLAGS=$LDFLAGS
|
||||||
save_LIBS=$LIBS
|
save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$LIBMPDEC_CFLAGS $CPPFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBMPDEC_CFLAGS"
|
||||||
LIBS="$LIBMPDEC_LIBS $LIBS"
|
LIBS="$LIBS $LIBMPDEC_LIBS"
|
||||||
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
|
@ -15885,7 +15884,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $LIBSQLITE3_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBSQLITE3_CFLAGS"
|
||||||
LIBS="$LIBSQLITE3_LIBS $LIBS"
|
LIBS="$LIBS $LIBSQLITE3_LIBS"
|
||||||
|
|
||||||
ac_fn_c_check_header_compile "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
|
||||||
if test "x$ac_cv_header_sqlite3_h" = xyes
|
if test "x$ac_cv_header_sqlite3_h" = xyes
|
||||||
|
|
@ -16875,7 +16874,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $TCLTK_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $TCLTK_CFLAGS"
|
||||||
LIBS="$TCLTK_LIBS $LDFLAGS"
|
LIBS="$LIBS $TCLTK_LIBS"
|
||||||
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
|
@ -16942,7 +16941,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $GDBM_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $GDBM_CFLAGS"
|
||||||
LDFLAGS="$GDBM_LIBS $LDFLAGS"
|
LIBS="$LIBS $GDBM_LIBS"
|
||||||
for ac_header in gdbm.h
|
for ac_header in gdbm.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
|
||||||
|
|
@ -21492,7 +21491,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $ZLIB_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $ZLIB_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $ZLIB_LIBS"
|
LIBS="$LIBS $ZLIB_LIBS"
|
||||||
for ac_header in zlib.h
|
for ac_header in zlib.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
|
||||||
|
|
@ -21639,7 +21638,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $ZLIB_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $ZLIB_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $ZLIB_LIBS"
|
LIBS="$LIBS $ZLIB_LIBS"
|
||||||
for ac_header in zlib.h
|
for ac_header in zlib.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
|
||||||
|
|
@ -21876,7 +21875,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $BZIP2_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $BZIP2_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $BZIP2_LIBS"
|
LIBS="$LIBS $BZIP2_LIBS"
|
||||||
for ac_header in bzlib.h
|
for ac_header in bzlib.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
|
||||||
|
|
@ -21968,7 +21967,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $BZIP2_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $BZIP2_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $BZIP2_LIBS"
|
LIBS="$LIBS $BZIP2_LIBS"
|
||||||
for ac_header in bzlib.h
|
for ac_header in bzlib.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
|
||||||
|
|
@ -22124,7 +22123,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $LIBLZMA_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBLZMA_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBLZMA_LIBS"
|
LIBS="$LIBS $LIBLZMA_LIBS"
|
||||||
for ac_header in lzma.h
|
for ac_header in lzma.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
|
||||||
|
|
@ -22216,7 +22215,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $LIBLZMA_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBLZMA_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBLZMA_LIBS"
|
LIBS="$LIBS $LIBLZMA_LIBS"
|
||||||
for ac_header in lzma.h
|
for ac_header in lzma.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
|
||||||
|
|
@ -26370,7 +26369,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $LIBREADLINE_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBREADLINE_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBREADLINE_LIBS"
|
LIBS="$LIBS $LIBREADLINE_LIBS"
|
||||||
for ac_header in readline/readline.h
|
for ac_header in readline/readline.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
|
||||||
|
|
@ -26459,7 +26458,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $LIBREADLINE_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBREADLINE_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBREADLINE_LIBS"
|
LIBS="$LIBS $LIBREADLINE_LIBS"
|
||||||
for ac_header in readline/readline.h
|
for ac_header in readline/readline.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
|
||||||
|
|
@ -26621,7 +26620,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $LIBEDIT_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBEDIT_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBEDIT_LIBS"
|
LIBS="$LIBS $LIBEDIT_LIBS"
|
||||||
for ac_header in editline/readline.h
|
for ac_header in editline/readline.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
|
||||||
|
|
@ -26712,7 +26711,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $LIBEDIT_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBEDIT_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBEDIT_LIBS"
|
LIBS="$LIBS $LIBEDIT_LIBS"
|
||||||
for ac_header in editline/readline.h
|
for ac_header in editline/readline.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_compile "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
|
ac_fn_c_check_header_compile "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
|
||||||
|
|
@ -26830,7 +26829,7 @@ save_LIBS=$LIBS
|
||||||
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $READLINE_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $READLINE_CFLAGS"
|
||||||
LIBS="$READLINE_LIBS $LIBS"
|
LIBS="$LIBS $READLINE_LIBS"
|
||||||
LIBS_SAVE=$LIBS
|
LIBS_SAVE=$LIBS
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
35
configure.ac
35
configure.ac
|
|
@ -3701,7 +3701,7 @@ AS_VAR_IF([have_uuid], [missing], [
|
||||||
], [
|
], [
|
||||||
WITH_SAVE_ENV([
|
WITH_SAVE_ENV([
|
||||||
CPPFLAGS="$CPPFLAGS $LIBUUID_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBUUID_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBUUID_LIBS"
|
LIBS="$LIBS $LIBUUID_LIBS"
|
||||||
AC_CHECK_HEADERS([uuid/uuid.h], [
|
AC_CHECK_HEADERS([uuid/uuid.h], [
|
||||||
PY_CHECK_LIB([uuid], [uuid_generate_time], [have_uuid=yes])
|
PY_CHECK_LIB([uuid], [uuid_generate_time], [have_uuid=yes])
|
||||||
PY_CHECK_LIB([uuid], [uuid_generate_time_safe],
|
PY_CHECK_LIB([uuid], [uuid_generate_time_safe],
|
||||||
|
|
@ -3971,7 +3971,7 @@ AS_VAR_IF([have_libffi], [missing], [
|
||||||
PKG_CHECK_MODULES([LIBFFI], [libffi], [have_libffi=yes], [
|
PKG_CHECK_MODULES([LIBFFI], [libffi], [have_libffi=yes], [
|
||||||
WITH_SAVE_ENV([
|
WITH_SAVE_ENV([
|
||||||
CPPFLAGS="$CPPFLAGS $LIBFFI_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBFFI_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBFFI_LIBS"
|
LIBS="$LIBS $LIBFFI_LIBS"
|
||||||
AC_CHECK_HEADER([ffi.h], [
|
AC_CHECK_HEADER([ffi.h], [
|
||||||
AC_CHECK_LIB([ffi], [ffi_call], [
|
AC_CHECK_LIB([ffi], [ffi_call], [
|
||||||
have_libffi=yes
|
have_libffi=yes
|
||||||
|
|
@ -4005,8 +4005,8 @@ AS_VAR_IF([have_libffi], [yes], [
|
||||||
AS_VAR_IF([ac_cv_lib_dl_dlopen], [yes], [AS_VAR_APPEND([LIBFFI_LIBS], [" -ldl"])])
|
AS_VAR_IF([ac_cv_lib_dl_dlopen], [yes], [AS_VAR_APPEND([LIBFFI_LIBS], [" -ldl"])])
|
||||||
|
|
||||||
WITH_SAVE_ENV([
|
WITH_SAVE_ENV([
|
||||||
CFLAGS="$LIBFFI_CFLAGS $CFLAGS"
|
CFLAGS="$CFLAGS $LIBFFI_CFLAGS"
|
||||||
LDFLAGS="$LIBFFI_LIBS $LDFLAGS"
|
LIBS="$LIBS $LIBFFI_LIBS"
|
||||||
|
|
||||||
PY_CHECK_FUNC([ffi_prep_cif_var], [@%:@include <ffi.h>])
|
PY_CHECK_FUNC([ffi_prep_cif_var], [@%:@include <ffi.h>])
|
||||||
PY_CHECK_FUNC([ffi_prep_closure_loc], [@%:@include <ffi.h>])
|
PY_CHECK_FUNC([ffi_prep_closure_loc], [@%:@include <ffi.h>])
|
||||||
|
|
@ -4021,9 +4021,8 @@ AS_VAR_IF([have_libffi], [yes], [
|
||||||
#
|
#
|
||||||
AC_CACHE_CHECK([libffi has complex type support], [ac_cv_ffi_complex_double_supported],
|
AC_CACHE_CHECK([libffi has complex type support], [ac_cv_ffi_complex_double_supported],
|
||||||
[WITH_SAVE_ENV([
|
[WITH_SAVE_ENV([
|
||||||
CPPFLAGS="$LIBFFI_CFLAGS $CPPFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBFFI_CFLAGS"
|
||||||
LDFLAGS="$LIBFFI_LIBS $LDFLAGS"
|
LIBS="$LIBS $LIBFFI_LIBS"
|
||||||
LIBS="$LIBFFI_LIBS $LIBS"
|
|
||||||
AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
||||||
#include <complex.h>
|
#include <complex.h>
|
||||||
#include <ffi.h>
|
#include <ffi.h>
|
||||||
|
|
@ -4086,8 +4085,8 @@ AS_VAR_IF(
|
||||||
|
|
||||||
AS_VAR_IF([with_system_libmpdec], [yes],
|
AS_VAR_IF([with_system_libmpdec], [yes],
|
||||||
[WITH_SAVE_ENV([
|
[WITH_SAVE_ENV([
|
||||||
CPPFLAGS="$LIBMPDEC_CFLAGS $CPPFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBMPDEC_CFLAGS"
|
||||||
LIBS="$LIBMPDEC_LIBS $LIBS"
|
LIBS="$LIBS $LIBMPDEC_LIBS"
|
||||||
|
|
||||||
AC_LINK_IFELSE([
|
AC_LINK_IFELSE([
|
||||||
AC_LANG_PROGRAM([
|
AC_LANG_PROGRAM([
|
||||||
|
|
@ -4220,7 +4219,7 @@ WITH_SAVE_ENV([
|
||||||
dnl bpo-45774/GH-29507: The CPP check in AC_CHECK_HEADER can fail on FreeBSD,
|
dnl bpo-45774/GH-29507: The CPP check in AC_CHECK_HEADER can fail on FreeBSD,
|
||||||
dnl hence CPPFLAGS instead of CFLAGS.
|
dnl hence CPPFLAGS instead of CFLAGS.
|
||||||
CPPFLAGS="$CPPFLAGS $LIBSQLITE3_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBSQLITE3_CFLAGS"
|
||||||
LIBS="$LIBSQLITE3_LIBS $LIBS"
|
LIBS="$LIBS $LIBSQLITE3_LIBS"
|
||||||
|
|
||||||
AC_CHECK_HEADER([sqlite3.h], [
|
AC_CHECK_HEADER([sqlite3.h], [
|
||||||
have_sqlite3=yes
|
have_sqlite3=yes
|
||||||
|
|
@ -4323,7 +4322,7 @@ AS_CASE([$ac_sys_system],
|
||||||
|
|
||||||
WITH_SAVE_ENV([
|
WITH_SAVE_ENV([
|
||||||
CPPFLAGS="$CPPFLAGS $TCLTK_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $TCLTK_CFLAGS"
|
||||||
LIBS="$TCLTK_LIBS $LDFLAGS"
|
LIBS="$LIBS $TCLTK_LIBS"
|
||||||
|
|
||||||
AC_LINK_IFELSE([
|
AC_LINK_IFELSE([
|
||||||
AC_LANG_PROGRAM([
|
AC_LANG_PROGRAM([
|
||||||
|
|
@ -4365,7 +4364,7 @@ AC_ARG_VAR([GDBM_CFLAGS], [C compiler flags for gdbm])
|
||||||
AC_ARG_VAR([GDBM_LIBS], [additional linker flags for gdbm])
|
AC_ARG_VAR([GDBM_LIBS], [additional linker flags for gdbm])
|
||||||
WITH_SAVE_ENV([
|
WITH_SAVE_ENV([
|
||||||
CPPFLAGS="$CPPFLAGS $GDBM_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $GDBM_CFLAGS"
|
||||||
LDFLAGS="$GDBM_LIBS $LDFLAGS"
|
LIBS="$LIBS $GDBM_LIBS"
|
||||||
AC_CHECK_HEADERS([gdbm.h], [
|
AC_CHECK_HEADERS([gdbm.h], [
|
||||||
AC_CHECK_LIB([gdbm], [gdbm_open], [
|
AC_CHECK_LIB([gdbm], [gdbm_open], [
|
||||||
have_gdbm=yes
|
have_gdbm=yes
|
||||||
|
|
@ -5310,7 +5309,7 @@ PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.0], [
|
||||||
], [
|
], [
|
||||||
WITH_SAVE_ENV([
|
WITH_SAVE_ENV([
|
||||||
CPPFLAGS="$CPPFLAGS $ZLIB_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $ZLIB_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $ZLIB_LIBS"
|
LIBS="$LIBS $ZLIB_LIBS"
|
||||||
AC_CHECK_HEADERS([zlib.h], [
|
AC_CHECK_HEADERS([zlib.h], [
|
||||||
PY_CHECK_LIB([z], [gzread], [have_zlib=yes], [have_zlib=no])
|
PY_CHECK_LIB([z], [gzread], [have_zlib=yes], [have_zlib=no])
|
||||||
], [have_zlib=no])
|
], [have_zlib=no])
|
||||||
|
|
@ -5334,7 +5333,7 @@ PY_CHECK_EMSCRIPTEN_PORT([BZIP2], [-sUSE_BZIP2])
|
||||||
PKG_CHECK_MODULES([BZIP2], [bzip2], [have_bzip2=yes], [
|
PKG_CHECK_MODULES([BZIP2], [bzip2], [have_bzip2=yes], [
|
||||||
WITH_SAVE_ENV([
|
WITH_SAVE_ENV([
|
||||||
CPPFLAGS="$CPPFLAGS $BZIP2_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $BZIP2_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $BZIP2_LIBS"
|
LIBS="$LIBS $BZIP2_LIBS"
|
||||||
AC_CHECK_HEADERS([bzlib.h], [
|
AC_CHECK_HEADERS([bzlib.h], [
|
||||||
AC_CHECK_LIB([bz2], [BZ2_bzCompress], [have_bzip2=yes], [have_bzip2=no])
|
AC_CHECK_LIB([bz2], [BZ2_bzCompress], [have_bzip2=yes], [have_bzip2=no])
|
||||||
], [have_bzip2=no])
|
], [have_bzip2=no])
|
||||||
|
|
@ -5348,7 +5347,7 @@ PKG_CHECK_MODULES([BZIP2], [bzip2], [have_bzip2=yes], [
|
||||||
PKG_CHECK_MODULES([LIBLZMA], [liblzma], [have_liblzma=yes], [
|
PKG_CHECK_MODULES([LIBLZMA], [liblzma], [have_liblzma=yes], [
|
||||||
WITH_SAVE_ENV([
|
WITH_SAVE_ENV([
|
||||||
CPPFLAGS="$CPPFLAGS $LIBLZMA_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBLZMA_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBLZMA_LIBS"
|
LIBS="$LIBS $LIBLZMA_LIBS"
|
||||||
AC_CHECK_HEADERS([lzma.h], [
|
AC_CHECK_HEADERS([lzma.h], [
|
||||||
AC_CHECK_LIB([lzma], [lzma_easy_encoder], [have_liblzma=yes], [have_liblzma=no])
|
AC_CHECK_LIB([lzma], [lzma_easy_encoder], [have_liblzma=yes], [have_liblzma=no])
|
||||||
], [have_liblzma=no])
|
], [have_liblzma=no])
|
||||||
|
|
@ -6342,7 +6341,7 @@ AS_VAR_IF([with_readline], [readline], [
|
||||||
], [
|
], [
|
||||||
WITH_SAVE_ENV([
|
WITH_SAVE_ENV([
|
||||||
CPPFLAGS="$CPPFLAGS $LIBREADLINE_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBREADLINE_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBREADLINE_LIBS"
|
LIBS="$LIBS $LIBREADLINE_LIBS"
|
||||||
AC_CHECK_HEADERS([readline/readline.h], [
|
AC_CHECK_HEADERS([readline/readline.h], [
|
||||||
AC_CHECK_LIB([readline], [readline], [
|
AC_CHECK_LIB([readline], [readline], [
|
||||||
LIBREADLINE=readline
|
LIBREADLINE=readline
|
||||||
|
|
@ -6363,7 +6362,7 @@ AS_VAR_IF([with_readline], [edit], [
|
||||||
], [
|
], [
|
||||||
WITH_SAVE_ENV([
|
WITH_SAVE_ENV([
|
||||||
CPPFLAGS="$CPPFLAGS $LIBEDIT_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBEDIT_CFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $LIBEDIT_LIBS"
|
LIBS="$LIBS $LIBEDIT_LIBS"
|
||||||
AC_CHECK_HEADERS([editline/readline.h], [
|
AC_CHECK_HEADERS([editline/readline.h], [
|
||||||
AC_CHECK_LIB([edit], [readline], [
|
AC_CHECK_LIB([edit], [readline], [
|
||||||
LIBREADLINE=edit
|
LIBREADLINE=edit
|
||||||
|
|
@ -6387,7 +6386,7 @@ AS_VAR_IF([with_readline], [no], [
|
||||||
|
|
||||||
WITH_SAVE_ENV([
|
WITH_SAVE_ENV([
|
||||||
CPPFLAGS="$CPPFLAGS $READLINE_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $READLINE_CFLAGS"
|
||||||
LIBS="$READLINE_LIBS $LIBS"
|
LIBS="$LIBS $READLINE_LIBS"
|
||||||
LIBS_SAVE=$LIBS
|
LIBS_SAVE=$LIBS
|
||||||
|
|
||||||
m4_define([readline_includes], [
|
m4_define([readline_includes], [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue