aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/ChangeLog5
-rw-r--r--macros/gnome-support.m42
2 files changed, 7 insertions, 0 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 6c74d24e24..815ba5649f 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,8 @@
+1998-03-12 Raja R Harinath <harinath@cs.umn.edu>
+
+ * gnome-support.m4: Add a check for <linewrap.h> -- this enables
+ some optimizations when compiling `argp'.
+
Mon Mar 9 19:32:42 1998 Tom Tromey <tromey@cygnus.com>
* gnome-support.m4: Build vsnprintf.o, not vsnprint.o.
diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4
index d05cad7fa2..d6645a3d89 100644
--- a/macros/gnome-support.m4
+++ b/macros/gnome-support.m4
@@ -18,6 +18,8 @@ AC_DEFUN([GNOME_SUPPORT_CHECKS],[
struct argp foo;
extern char *foo2;
foo.argp_domain = foo2;],,LIBOBJS="$LIBOBJS argp-ba.o argp-eexst.o argp-fmtstream.o argp-fs-xinl.o argp-help.o argp-parse.o argp-pv.o argp-pvh.o argp-xinl.o")
+ # This header enables some optimizations inside argp.
+ AC_CHECK_HEADERS(linewrap.h)
AC_TRY_LINK([#include <errno.h>],[
char *foo = program_invocation_short_name], [