Remove typeof test; no longer needed.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Jul 2005 06:30:57 +0000 (06:30 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Jul 2005 06:30:57 +0000 (06:30 +0000)
m4/ChangeLog
m4/typeof.m4 [deleted file]

index 0fe7735..8dbd66e 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * prereq.m4 (gl_PREREQ): Don't require gl_TYPEOF; no longer needed.
+       * typeof.m4: Remove; no longer needed.
+
 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
 
        Remove the dependency of the strftime module on the tzset module.
diff --git a/m4/typeof.m4 b/m4/typeof.m4
deleted file mode 100644 (file)
index b1596b6..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#serial 1
-dnl Copyright (C) 2005 Free Software Foundation, Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-dnl Written by Jim Meyering.
-
-AC_DEFUN([gl_TYPEOF],
-[AC_CACHE_CHECK([for the __typeof__ operator], gl_cv_typeof,
-  [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
-    [[
-      int i;
-      __typeof__ i j;
-    ]])],
-    [gl_cv_typeof=yes],
-    [gl_cv_typeof=no])
-  ])
-  if test $gl_cv_typeof = no; then
-    AC_DEFINE(HAVE_TYPEOF, 1,
-             [Define to 1 if __typeof__ works with your compiler.])
-  fi
-])