diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-05-30 21:13:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-30 21:13:08 (GMT) |
commit | 2ea34cfb3a21182b4d16f57dd6c1cfce46362fe2 (patch) | |
tree | bccd8b3332d18a22fa02a5946c94dbc8c272251f /configure | |
parent | 68c75c31536e8c87901934f2d6da81f54f4334f9 (diff) | |
download | cpython-2ea34cfb3a21182b4d16f57dd6c1cfce46362fe2.zip cpython-2ea34cfb3a21182b4d16f57dd6c1cfce46362fe2.tar.gz cpython-2ea34cfb3a21182b4d16f57dd6c1cfce46362fe2.tar.bz2 |
gh-89886: Properly quote Autoconf macro arguments (#105062)
Autoconf 2.70 macros are picky about argument quotation.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 34 |
1 files changed, 11 insertions, 23 deletions
@@ -1829,8 +1829,8 @@ Optional Packages: select hash algorithm for use in Python/pyhash.c (default is SipHash13) --with-tzpath=<list of absolute paths separated by pathsep> - Select the default time zone search path for zoneinfo.TZPATH - + Select the default time zone search path for + zoneinfo.TZPATH --with-libs='lib1 ...' link against additional libs (default is no) --with-system-expat build pyexpat module using an installed expat library, see Doc/library/pyexpat.rst (default is no) @@ -7367,6 +7367,7 @@ if test "${with_trace_refs+set}" = set; then : withval=$with_trace_refs; else with_trace_refs=no + fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_trace_refs" >&5 @@ -11168,7 +11169,7 @@ case $ac_sys_system/$ac_sys_release in $as_echo "#define WITH_DYLD 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: result: always on for Darwin" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: always on for Darwin" >&5 $as_echo "always on for Darwin" >&6; } ;; *) @@ -11725,7 +11726,7 @@ _ACEOF LIBS="-ldl $LIBS" fi - # Dynamic linking for SunOS/Solaris and SYSV + # Dynamic linking for SunOS/Solaris and SYSV { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } if ${ac_cv_lib_dld_shl_load+:} false; then : @@ -11770,7 +11771,7 @@ _ACEOF LIBS="-ldld $LIBS" fi - # Dynamic linking for HP-UX + # Dynamic linking for HP-UX @@ -11785,8 +11786,7 @@ if test "x$ac_cv_header_uuid_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_UUID_H 1 _ACEOF - - for ac_func in uuid_create uuid_enc_be + for ac_func in uuid_create uuid_enc_be 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" @@ -11794,8 +11794,7 @@ 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 - - have_uuid=yes + have_uuid=yes LIBUUID_CFLAGS=${LIBUUID_CFLAGS-""} LIBUUID_LIBS=${LIBUUID_LIBS-""} @@ -11970,12 +11969,10 @@ if test "x$ac_cv_lib_uuid_uuid_generate_time_safe" = xyes; then : have_uuid=yes $as_echo "#define HAVE_UUID_GENERATE_TIME_SAFE 1" >>confdefs.h - fi LIBS=$py_check_lib_save_LIBS - fi done @@ -12099,12 +12096,10 @@ if test "x$ac_cv_lib_uuid_uuid_generate_time_safe" = xyes; then : have_uuid=yes $as_echo "#define HAVE_UUID_GENERATE_TIME_SAFE 1" >>confdefs.h - fi LIBS=$py_check_lib_save_LIBS - fi done @@ -12129,8 +12124,7 @@ else LIBUUID_LIBS=$pkg_cv_LIBUUID_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } - - have_uuid=yes + have_uuid=yes $as_echo "#define HAVE_UUID_H 1" >>confdefs.h $as_echo "#define HAVE_UUID_GENERATE_TIME_SAFE 1" >>confdefs.h @@ -15598,6 +15592,7 @@ if test "${with_valgrind+set}" = set; then : withval=$with_valgrind; else with_valgrind=no + fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_valgrind" >&5 @@ -15849,7 +15844,7 @@ done fi ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h> - #include <dirent.h> + #include <dirent.h> " if test "x$ac_cv_have_decl_dirfd" = xyes; then : @@ -18492,10 +18487,8 @@ if test "x$ac_cv_lib_bsd_openpty" = xyes; then : LIBS="$LIBS -lbsd" fi - fi - fi done @@ -18648,10 +18641,8 @@ if test "x$ac_cv_lib_bsd_forkpty" = xyes; then : LIBS="$LIBS -lbsd" fi - fi - fi done @@ -18708,7 +18699,6 @@ $as_echo "#define GETPGRP_HAVE_ARG 1" >>confdefs.h fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi done @@ -18736,7 +18726,6 @@ $as_echo "#define SETPGRP_HAVE_ARG 1" >>confdefs.h fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi done @@ -19865,7 +19854,6 @@ fi ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r" if test "x$ac_cv_func_gethostbyname_r" = xyes; then : - $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 6 args" >&5 |