1 --- eel-2.6.1/configure.in 2004-04-19 03:54:15.000000000 -0700
2 +++ eel-2.6.1.new/configure.in 2004-11-12 17:48:40.272719976 -0700
4 dnl ===========================================================================
7 +dnl grrrr... this doesn't work for cross compiling
10 -AC_TRY_RUN([#include <time.h>
16 - if (strftime(buf, 100, "%EY", &tm) == 4 &&
17 - strcmp (buf, "1999")==0)
22 - AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.])
24 +AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.])
26 +dnl AC_TRY_RUN([#include <time.h>
30 +dnl struct tm tm = {0};
32 +dnl if (strftime(buf, 100, "%EY", &tm) == 4 &&
33 +dnl strcmp (buf, "1999")==0)
38 +dnl AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.])
41 dnl ===========================================================================