]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/eel/eel/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / eel / eel / configure.patch
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
3 @@ -87,21 +87,25 @@
4  dnl ===========================================================================
5  
6  dnl strftime checks
7 +dnl grrrr...  this doesn't work for cross compiling
8 +dnl define it for OE
9  
10 -AC_TRY_RUN([#include <time.h>
11 -                int main ()
12 -                {
13 -                  char buf[100];
14 -                  struct tm tm = {0};
15 -                  tm.tm_year = 99;
16 -                  if (strftime(buf, 100, "%EY", &tm) == 4 &&
17 -                     strcmp (buf, "1999")==0)
18 -                    return 0;
19 -                  return 1;
20 -                }
21 -            ],
22 -           AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.])
23 -            )
24 +AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.])
25 +dnl            )
26 +dnl AC_TRY_RUN([#include <time.h>
27 +dnl                int main ()
28 +dnl                {
29 +dnl                  char buf[100];
30 +dnl                  struct tm tm = {0};
31 +dnl                  tm.tm_year = 99;
32 +dnl                  if (strftime(buf, 100, "%EY", &tm) == 4 &&
33 +dnl                  strcmp (buf, "1999")==0)
34 +dnl                    return 0;
35 +dnl                  return 1;
36 +dnl                }
37 +dnl            ],
38 +dnl        AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.])
39 +dnl            )
40  
41  dnl ===========================================================================
42