# HG changeset patch # User Paul Eggert # Date 852059403 0 # Node ID 1198304e87d8d59e476f0561d9227fb028528046 # Parent 2a9ae2be61ae644e00351ec2e7fe59f841144c64 (mktime): Use BROKEN_MKTIME instead of system-specific macros to determine whether mktime is broken. diff -r 2a9ae2be61ae -r 1198304e87d8 src/config.in --- a/src/config.in Tue Dec 31 18:31:13 1996 +0000 +++ b/src/config.in Tue Dec 31 19:10:03 1996 +0000 @@ -187,6 +187,7 @@ #undef HAVE_SETSID #undef HAVE_FPATHCONF #undef HAVE_SELECT +#undef HAVE_MKTIME #undef HAVE_EUIDACCESS #undef HAVE_GETPAGESIZE #undef HAVE_TZSET @@ -201,11 +202,6 @@ #undef HAVE_AIX_SMT_EXP -#undef HAVE_MKTIME -#if ! HAVE_MKTIME || defined (_NEXT_SOURCE) -#define mktime emacs_mktime -#endif - /* Define if you have the ANSI `strerror' function. Otherwise you must have the variable `char *sys_errlist[]'. */ #undef HAVE_STRERROR @@ -324,6 +320,11 @@ #define RE_TRANSLATE_TYPE Lisp_Object * #endif +/* Avoid link-time collision with system mktime if we will use our own. */ +#if ! HAVE_MKTIME || BROKEN_MKTIME +#define mktime emacs_mktime +#endif + /* The rest of the code currently tests the CPP symbol BSTRING. Override any claims made by the system-description files. Note that on some SCO version it is possible to have bcopy and not bcmp. */