aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros/ChangeLog3
-rw-r--r--macros/gnome-support.m42
2 files changed, 4 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 153fa249db..3ca403020b 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,7 +1,8 @@
1998-04-08 Raja R Harinath <harinath@cs.umn.edu>
* autogen.sh: Update to list newer versions of packages.
- * gnome-support.m4 (AC_REPLACE_FUNCS): Add `scandir'.
+ * gnome-support.m4: Add `scandir' to AC_REPLACE_FUNCS.
+ Also run AC_HEADER_DIRENT.
1998-03-31 Raja R Harinath <harinath@cs.umn.edu>
diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4
index c4b88b4ddb..afead5f833 100644
--- a/macros/gnome-support.m4
+++ b/macros/gnome-support.m4
@@ -35,6 +35,8 @@ AC_DEFUN([GNOME_SUPPORT_CHECKS],[
# This header enables some optimizations inside argp.
AC_CHECK_HEADERS(linewrap.h)
+ # for `scandir'
+ AC_HEADER_DIRENT
AC_CACHE_CHECK([for program_invocation_short_name], gnome_cv_short_name, [
AC_TRY_LINK([#include <errno.h>],[