summaryrefslogtreecommitdiff
path: root/modules/getopt-gnu
diff options
context:
space:
mode:
Diffstat (limited to 'modules/getopt-gnu')
-rw-r--r--modules/getopt-gnu3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/getopt-gnu b/modules/getopt-gnu
index 6ad3643aa7..69fc7de1a7 100644
--- a/modules/getopt-gnu
+++ b/modules/getopt-gnu
@@ -14,7 +14,10 @@ if test $REPLACE_GETOPT = 1; then
AC_LIBOBJ([getopt])
AC_LIBOBJ([getopt1])
gl_PREREQ_GETOPT
+ dnl Arrange for unistd.h to include getopt.h.
+ GNULIB_${gl_include_guard_prefix}_UNISTD_H_GETOPT=1
fi
+AC_SUBST([GNULIB_${gl_include_guard_prefix}_UNISTD_H_GETOPT])
gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
Makefile.am: