- Added check for strftime() also in the timelib configure
])
dnl Check for strtoll, atoll
-AC_CHECK_FUNCS(strtoll atoll)
+AC_CHECK_FUNCS(strtoll atoll strftime)
PHP_FE(date, NULL)
PHP_FE(gmdate, NULL)
PHP_FE(mktime, NULL)
+ PHP_FE(gmmktime, NULL)
PHP_FE(checkdate, NULL)
- PHP_FE(gmstrftime, NULL)
-#if HAVE_STRFTIME
+#ifdef HAVE_STRFTIME
PHP_FE(strftime, NULL)
- PHP_FE(gmmktime, NULL)
+ PHP_FE(gmstrftime, NULL)
#endif
PHP_FE(time, NULL)
}
/* }}} */
-#if HAVE_STRFTIME
+#ifdef HAVE_STRFTIME
/* {{{ php_strftime
*/
PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gmt)
PHP_FUNCTION(checkdate);
-#if HAVE_STRFTIME
+#ifdef HAVE_STRFTIME
PHP_FUNCTION(strftime);
PHP_FUNCTION(gmstrftime);
#endif