getgroups: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / 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: