linkat: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / linkat
index 1f097857179cca6506d2a52b00fe1b1d8ad6aeaa..3392e57d61242a5fbf0afa48203bc0fe06048031 100644 (file)
@@ -27,6 +27,12 @@ symlink          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 
 configure.ac:
 gl_FUNC_LINKAT
+if test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1; then
+  AC_LIBOBJ([linkat])
+fi
+if test $HAVE_LINKAT = 0; then
+  AC_LIBOBJ([at-func2])
+fi
 gl_UNISTD_MODULE_INDICATOR([linkat])
 
 Makefile.am: