aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>1998-03-13 06:52:05 +0800
committerRaja R Harinath <harinath@src.gnome.org>1998-03-13 06:52:05 +0800
commit03b1949546038ec91236cd81d9a2d3dc6669a4c6 (patch)
tree780bfc59341e107861b823a68a41ea995f13df7f /macros
parentbf52e68d687a9ea8966c6050146de627c4553ecb (diff)
downloadgsoc2013-evolution-03b1949546038ec91236cd81d9a2d3dc6669a4c6.tar
gsoc2013-evolution-03b1949546038ec91236cd81d9a2d3dc6669a4c6.tar.gz
gsoc2013-evolution-03b1949546038ec91236cd81d9a2d3dc6669a4c6.tar.bz2
gsoc2013-evolution-03b1949546038ec91236cd81d9a2d3dc6669a4c6.tar.lz
gsoc2013-evolution-03b1949546038ec91236cd81d9a2d3dc6669a4c6.tar.xz
gsoc2013-evolution-03b1949546038ec91236cd81d9a2d3dc6669a4c6.tar.zst
gsoc2013-evolution-03b1949546038ec91236cd81d9a2d3dc6669a4c6.zip
Add a check for <linewrap.h> -- this enables some optimizations when
* gnome-support.m4: Add a check for <linewrap.h> -- this enables some optimizations when compiling `argp'. - Hari svn path=/trunk/; revision=67
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], [