chdir-long: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Thu, 5 May 2011 23:47:42 +0000 (01:47 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:05:54 +0000 (00:05 +0200)
* m4/chdir-long.m4 (gl_FUNC_CHDIR_LONG): Move AC_LIBOBJ and
gl_PREREQ_CHDIR_LONG invocations from here...
* modules/chdir-long (configure.ac): ... to here.

ChangeLog
m4/chdir-long.m4
modules/chdir-long

index 94648e1c07544870a2bd6535dab1447e9d3e1118..d8295ff786c9bba8333bbffeb11dc2587bdaecaf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-05  Bruno Haible  <bruno@clisp.org>
+
+       chdir-long: Move AC_LIBOBJ invocations to module description.
+       * m4/chdir-long.m4 (gl_FUNC_CHDIR_LONG): Move AC_LIBOBJ and
+       gl_PREREQ_CHDIR_LONG invocations from here...
+       * modules/chdir-long (configure.ac): ... to here.
+
 2011-05-05  Bruno Haible  <bruno@clisp.org>
 
        canonicalize-lgpl: Move AC_LIBOBJ invocations to module description.
index 27c61d25493eca37a3c17dce292f435151ca8a18..9a343ac9870c64182c791f08b229af18c3d6c86a 100644 (file)
@@ -1,4 +1,4 @@
-#serial 11
+#serial 12
 
 # Use Gnulib's robust chdir function.
 # It can handle arbitrarily long directory names, which means
@@ -25,11 +25,6 @@ have_arbitrary_file_name_length_limit
 #endif],
     gl_cv_have_arbitrary_file_name_length_limit=yes,
     gl_cv_have_arbitrary_file_name_length_limit=no)])
-
-  if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
-    AC_LIBOBJ([chdir-long])
-    gl_PREREQ_CHDIR_LONG
-  fi
 ])
 
 AC_DEFUN([gl_PREREQ_CHDIR_LONG],
index 0c8e7926ef5950c0098c93964fe5d5b4bf51143a..22236c6cc893022606aa0d4656aff2bfd2c13b59 100644 (file)
@@ -20,6 +20,10 @@ stdlib          [test $gl_cv_have_arbitrary_file_name_length_limit = yes]
 
 configure.ac:
 gl_FUNC_CHDIR_LONG
+if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
+  AC_LIBOBJ([chdir-long])
+  gl_PREREQ_CHDIR_LONG
+fi
 
 Makefile.am: