aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gnome/gnome-utils/no-try-run-strftime.diff
blob: 6ea2680c48f26d97ac6a9470b1b2c380e72e668e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- gnome-utils-2.27.2/configure.ac-orig	2009-06-15 04:45:27.000000000 -0700
+++ gnome-utils-2.27.2/configure.ac	2009-08-08 15:45:23.000000000 -0700
@@ -228,24 +228,6 @@ AS_IF([test "x$have_ipv6" = "xyes"],
 )
 
 
-dnl strftime extension checks
-AC_TRY_RUN([
-  #include <time.h>
-  int main (void) {
-    char buf[100];
-    struct tm tm = {0};
-    tm.tm_year = 99;
-    if (strftime(buf, 100, "%EY", &tm) == 4 && strcmp (buf, "1999")==0)
-      return 0;
-    return 1;
-  }
-  ],
-  [
-    AC_DEFINE([HAVE_STRFTIME_EXTENSION], [1],
-              [Define if strftime supports %E and %O modifiers.])
-  ]
-)
-
 dnl gnome-search-tool checks
 withval=""
 AC_ARG_WITH([grep],