strptime: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 22 May 2011 11:42:00 +0000 (13:42 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:51 +0000 (00:06 +0200)
* m4/strptime.m4 (gl_FUNC_STRPTIME): Move AC_LIBOBJ and
gl_PREREQ_STRPTIME invocations from here...
* modules/strptime (configure.ac): ... to here.

ChangeLog
m4/strptime.m4
modules/strptime

index 5ab6346b768dab8865e02be6e7e1d4e5b65bbb90..f51c13206a3c33d0b5431fd5132ee0be90fc70e6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       strptime: Move AC_LIBOBJ invocations to module description.
+       * m4/strptime.m4 (gl_FUNC_STRPTIME): Move AC_LIBOBJ and
+       gl_PREREQ_STRPTIME invocations from here...
+       * modules/strptime (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        strpbrk: Move AC_LIBOBJ invocations to module description.
index d48cacd7e7a220aea60558096c35921cabba2f81..6ffefcad553bfafd0e754ae13f54a87d37881c1c 100644 (file)
@@ -1,4 +1,4 @@
-# strptime.m4 serial 6
+# strptime.m4 serial 7
 dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -11,8 +11,6 @@ AC_DEFUN([gl_FUNC_STRPTIME],
   AC_CHECK_FUNCS_ONCE([strptime])
   if test $ac_cv_func_strptime != yes; then
     HAVE_STRPTIME=0
-    AC_LIBOBJ([strptime])
-    gl_PREREQ_STRPTIME
   fi
 ])
 
index 763dca50314ba8ac50cb965fd6d5611da3cf8176..a69d583db82c5bd3ed8c6dc264270559c6e31431 100644 (file)
@@ -17,6 +17,10 @@ time_r          [test $HAVE_STRPTIME = 0]
 
 configure.ac:
 gl_FUNC_STRPTIME
+if test $HAVE_STRPTIME = 0; then
+  AC_LIBOBJ([strptime])
+  gl_PREREQ_STRPTIME
+fi
 gl_TIME_MODULE_INDICATOR([strptime])
 
 Makefile.am: