Ticket #25391: zzz_conf.patch
File zzz_conf.patch, 7.4 KB (added by , 3 years ago) |
---|
-
aclocal.m4
diff --git a/aclocal.m4 b/aclocal.m4 index 9a9cc55..df7895b 100644
a b 1 # generated automatically by aclocal 1.15 -*- Autoconf -*-1 # generated automatically by aclocal 1.15.1 -*- Autoconf -*- 2 2 3 # Copyright (C) 1996-201 4Free Software Foundation, Inc.3 # Copyright (C) 1996-2017 Free Software Foundation, Inc. 4 4 5 5 # This file is free software; the Free Software Foundation 6 6 # gives unlimited permission to copy and/or distribute it, … … 12 12 # PARTICULAR PURPOSE. 13 13 14 14 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) 15 dnlpkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-16 dnl serial 11 (pkg-config-0.29)17 dnl 15 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 16 # serial 11 (pkg-config-0.29.1) 17 18 18 dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 19 19 dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com> 20 20 dnl … … dnl 55 55 dnl See the "Since" comment for each macro you use to see what version 56 56 dnl of the macros you require. 57 57 m4_defun([PKG_PREREQ], 58 [m4_define([PKG_MACROS_VERSION], [0.29 ])58 [m4_define([PKG_MACROS_VERSION], [0.29.1]) 59 59 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, 60 60 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) 61 61 ])dnl PKG_PREREQ … … AS_VAR_COPY([$1], [pkg_cv_][$1]) 288 288 AS_VAR_IF([$1], [""], [$5], [$4])dnl 289 289 ])dnl PKG_CHECK_VAR 290 290 291 dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES, 292 dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND], 293 dnl [DESCRIPTION], [DEFAULT]) 294 dnl ------------------------------------------ 295 dnl 296 dnl Prepare a "--with-" configure option using the lowercase 297 dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and 298 dnl PKG_CHECK_MODULES in a single macro. 299 AC_DEFUN([PKG_WITH_MODULES], 300 [ 301 m4_pushdef([with_arg], m4_tolower([$1])) 302 303 m4_pushdef([description], 304 [m4_default([$5], [build with ]with_arg[ support])]) 305 306 m4_pushdef([def_arg], [m4_default([$6], [auto])]) 307 m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes]) 308 m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no]) 309 310 m4_case(def_arg, 311 [yes],[m4_pushdef([with_without], [--without-]with_arg)], 312 [m4_pushdef([with_without],[--with-]with_arg)]) 313 314 AC_ARG_WITH(with_arg, 315 AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),, 316 [AS_TR_SH([with_]with_arg)=def_arg]) 317 318 AS_CASE([$AS_TR_SH([with_]with_arg)], 319 [yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)], 320 [auto],[PKG_CHECK_MODULES([$1],[$2], 321 [m4_n([def_action_if_found]) $3], 322 [m4_n([def_action_if_not_found]) $4])]) 323 324 m4_popdef([with_arg]) 325 m4_popdef([description]) 326 m4_popdef([def_arg]) 327 328 ])dnl PKG_WITH_MODULES 329 330 dnl PKG_HAVE_WITH_MODULES(VARIABLE-PREFIX, MODULES, 331 dnl [DESCRIPTION], [DEFAULT]) 332 dnl ----------------------------------------------- 333 dnl 334 dnl Convenience macro to trigger AM_CONDITIONAL after PKG_WITH_MODULES 335 dnl check._[VARIABLE-PREFIX] is exported as make variable. 336 AC_DEFUN([PKG_HAVE_WITH_MODULES], 337 [ 338 PKG_WITH_MODULES([$1],[$2],,,[$3],[$4]) 339 340 AM_CONDITIONAL([HAVE_][$1], 341 [test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"]) 342 ])dnl PKG_HAVE_WITH_MODULES 343 344 dnl PKG_HAVE_DEFINE_WITH_MODULES(VARIABLE-PREFIX, MODULES, 345 dnl [DESCRIPTION], [DEFAULT]) 346 dnl ------------------------------------------------------ 347 dnl 348 dnl Convenience macro to run AM_CONDITIONAL and AC_DEFINE after 349 dnl PKG_WITH_MODULES check. HAVE_[VARIABLE-PREFIX] is exported as make 350 dnl and preprocessor variable. 351 AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES], 352 [ 353 PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4]) 354 355 AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"], 356 [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])]) 357 ])dnl PKG_HAVE_DEFINE_WITH_MODULES 358 -
configure
diff --git a/configure b/configure index 8fb95fd..ab4d12d 100755
a b $as_echo "#define STDC_HEADERS 1" >>confdefs.h 7766 7766 7767 7767 fi 7768 7768 7769 for ac_header in asm/types.h conio.h direct.h dlfcn.h errno.h \7769 for ac_header in asm/types.h conio.h crypt.h direct.h dlfcn.h errno.h \ 7770 7770 fcntl.h grp.h \ 7771 7771 ieeefp.h io.h langinfo.h libintl.h process.h pthread.h \ 7772 7772 sched.h shadow.h signal.h stropts.h termios.h \ … … _ACEOF 9576 9576 9577 9577 fi 9578 9578 # Dynamic linking for HP-UX 9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5 9580 $as_echo_n "checking for crypt in -lcrypt... " >&6; } 9581 if ${ac_cv_lib_crypt_crypt+:} false; then : 9582 $as_echo_n "(cached) " >&6 9583 else 9584 ac_check_lib_save_LIBS=$LIBS 9585 LIBS="-lcrypt $LIBS" 9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9587 /* end confdefs.h. */ 9588 9589 /* Override any GCC internal prototype to avoid an error. 9590 Use char because int might match the return type of a GCC 9591 builtin and then its argument prototype would still apply. */ 9592 #ifdef __cplusplus 9593 extern "C" 9594 #endif 9595 char crypt (); 9596 int 9597 main () 9598 { 9599 return crypt (); 9600 ; 9601 return 0; 9602 } 9603 _ACEOF 9604 if ac_fn_c_try_link "$LINENO"; then : 9605 ac_cv_lib_crypt_crypt=yes 9606 else 9607 ac_cv_lib_crypt_crypt=no 9608 fi 9609 rm -f core conftest.err conftest.$ac_objext \ 9610 conftest$ac_exeext conftest.$ac_ext 9611 LIBS=$ac_check_lib_save_LIBS 9612 fi 9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5 9614 $as_echo "$ac_cv_lib_crypt_crypt" >&6; } 9615 if test "x$ac_cv_lib_crypt_crypt" = xyes; then : 9616 cat >>confdefs.h <<_ACEOF 9617 #define HAVE_LIBCRYPT 1 9618 _ACEOF 9619 9620 LIBS="-lcrypt $LIBS" 9621 9622 fi 9623 # crypt() on Linux 9579 9624 9580 9625 # only check for sem_init if thread support is requested 9581 9626 if test "$with_threads" = "yes" -o -z "$with_threads"; then … … fi 11235 11280 11236 11281 # checks for library functions 11237 11282 for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \ 11238 clock confstr c termid dup3 execv faccessat fchmod fchmodat fchown fchownat\11239 f execve fdopendir fork fpathconf fstatat ftime ftruncate futimesat \11283 clock confstr crypt_r ctermid dup3 execv faccessat fchmod fchmodat fchown \ 11284 fchownat fexecve fdopendir fork fpathconf fstatat ftime ftruncate futimesat \ 11240 11285 futimens futimes gai_strerror getentropy \ 11241 11286 getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \ 11242 11287 getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \ … … cat >>confdefs.h <<_ACEOF 13163 13208 _ACEOF 13164 13209 13165 13210 13211 fi 13212 13213 # Issue #21085: In Cygwin, siginfo_t does not have si_band field. 13214 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_band" "ac_cv_member_siginfo_t_si_band" "#include <signal.h> 13215 " 13216 if test "x$ac_cv_member_siginfo_t_si_band" = xyes; then : 13217 13218 cat >>confdefs.h <<_ACEOF 13219 #define HAVE_SIGINFO_T_SI_BAND 1 13220 _ACEOF 13221 13222 13166 13223 fi 13167 13224 13168 13225 -
pyconfig.h.in
diff --git a/pyconfig.h.in b/pyconfig.h.in index c758915..760b157 100644
a b 140 140 /* Define to 1 if you have the `copysign' function. */ 141 141 #undef HAVE_COPYSIGN 142 142 143 /* Define to 1 if you have the <crypt.h> header file. */ 144 #undef HAVE_CRYPT_H 145 146 /* Define to 1 if you have the `crypt_r' function. */ 147 #undef HAVE_CRYPT_R 148 143 149 /* Define to 1 if you have the `ctermid' function. */ 144 150 #undef HAVE_CTERMID 145 151 … … 523 529 /* Define to 1 if you have the `lgamma' function. */ 524 530 #undef HAVE_LGAMMA 525 531 532 /* Define to 1 if you have the `crypt' library (-lcrypt). */ 533 #undef HAVE_LIBCRYPT 534 526 535 /* Define to 1 if you have the `dl' library (-ldl). */ 527 536 #undef HAVE_LIBDL 528 537