summaryrefslogtreecommitdiff
path: root/macros/gnome-support.m4
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>1998-03-12 22:52:05 +0000
committerRaja R Harinath <harinath@src.gnome.org>1998-03-12 22:52:05 +0000
commit1df3419e77c38dcec28b127b16996bda02adc99f (patch)
treec42d2907c05469625fe554b33a20383e3e3329e2 /macros/gnome-support.m4
parent276f15f2c2faaa9158661d9d899b8d689fb308dc (diff)
downloadshared-mime-info-1df3419e77c38dcec28b127b16996bda02adc99f.tar.gz
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=143
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 d05cad7f..d6645a3d 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], [