aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-support.m4
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/gnome-support.m4
parentbf52e68d687a9ea8966c6050146de627c4553ecb (diff)
downloadgsoc2013-evolution-03b1949546038ec91236cd81d9a2d3dc6669a4c6.tar.gz
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/gnome-support.m4')
-rw-r--r--macros/gnome-support.m42
1 files changed, 2 insertions, 0 deletions
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], [