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
This commit is contained in:
Raja R Harinath
1998-03-12 22:52:05 +00:00
parent bf52e68d68
commit 03b1949546
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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], [