summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/openat.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/openat.m4 b/m4/openat.m4
index ae6a2289d..3c30d8ae3 100644
--- a/m4/openat.m4
+++ b/m4/openat.m4
@@ -21,6 +21,7 @@
AC_DEFUN([gl_FUNC_OPENAT],
[
+ AC_LIBSOURCES([openat.c, openat.h])
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
AC_REPLACE_FUNCS(openat)
case $ac_cv_func_openat in
@@ -34,5 +35,5 @@ AC_DEFUN([gl_FUNC_OPENAT],
AC_DEFUN([gl_PREREQ_OPENAT],
[
- gl_SAVE_CWD
+ AC_REQUIRE([gl_SAVE_CWD])
])