aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1998-03-19 15:24:22 +0800
committerTom Tromey <tromey@src.gnome.org>1998-03-19 15:24:22 +0800
commitdc8628becc1e9a03bc40dfcc7a06325d7be5cd55 (patch)
tree4f05d567d97a10d6f7467fb02f964bd50be319a3 /macros
parent40c9962c2e20dba309212f088db6962fcea4b99d (diff)
downloadgsoc2013-evolution-dc8628becc1e9a03bc40dfcc7a06325d7be5cd55.tar.gz
gsoc2013-evolution-dc8628becc1e9a03bc40dfcc7a06325d7be5cd55.tar.zst
gsoc2013-evolution-dc8628becc1e9a03bc40dfcc7a06325d7be5cd55.zip
Cache results of argp check.
Thu Mar 19 00:17:46 1998 Tom Tromey <tromey@cygnus.com> * gnome-support.m4: Cache results of argp check. svn path=/trunk/; revision=69
Diffstat (limited to 'macros')
-rw-r--r--macros/ChangeLog4
-rw-r--r--macros/gnome-support.m416
2 files changed, 16 insertions, 4 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 3ee6de5348..b35b2a564b 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,7 @@
+Thu Mar 19 00:17:46 1998 Tom Tromey <tromey@cygnus.com>
+
+ * gnome-support.m4: Cache results of argp check.
+
Sun Mar 15 15:54:43 1998 Owen Taylor <owt1@cornell.edu>
* gnome-x-checks.m4: Replaced checks for X and GTK
diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4
index d6645a3d89..d309f6deaf 100644
--- a/macros/gnome-support.m4
+++ b/macros/gnome-support.m4
@@ -14,10 +14,18 @@ AC_DEFUN([GNOME_SUPPORT_CHECKS],[
# We check for argp_domain because we use it, and it appears only in
# very recent versions of the argp library.
- AC_TRY_COMPILE([#include <argp.h>], [
- 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")
+ AC_CACHE_CHECK([for working argp code], gnome_cv_argp, [
+ AC_TRY_COMPILE([#include <argp.h>], [
+ struct argp foo;
+ extern char *foo2;
+ foo.argp_domain = foo2;],
+ gnome_cv_argp=yes,
+ gnome_cv_argp=no)])
+
+ if test "$gnome_cv_argp" = no; then
+ 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"
+ fi
+
# This header enables some optimizations inside argp.
AC_CHECK_HEADERS(linewrap.h)
dougb2010-03-271-1/+1 * - Fix dependency on curlamdmi32010-03-071-1/+2 * - Update to 3.0.16wen2010-02-245-24/+56 * - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-2/+1 * Fix a few "bad example" problems in the rc.d scripts that have beendougb2009-07-161-1/+0 * - Switch to using pre-su-install target to call pkg-install. The scriptwxs2009-04-081-1/+1 * - Update to 3.0.12pav2009-03-232-4/+4 * - Update to 3.0.11miwi2009-02-245-20/+28 * Conversion from (now defunct) autoconf-2.61 to autoconf-2.62ade2008-08-201-1/+1 * [MAINTAINER] Update www/privoxy to 3.0.10edwin2008-08-183-6/+6 * - Update to 3.0.8miwi2008-01-257-116/+77 * Switch autoconf dependencies from 2.53 or 2.59 to 2.61.linimon2007-09-301-2/+2 * - Copies the config file as example file andmiwi2006-12-116-26/+89 * - Update to 3.0.6miwi2006-12-063-17/+55 * - Remove old patch that disabled libc_r functions, not needed anymorepav2006-10-086-200/+66 * Reassign from old maintainer who did not respond to email queries aboutlinimon2006-09-041-1/+1 * Remove USE_REINPLACE from categories starting with Wedwin2006-05-131-1/+0 * - Don't create /var/log/jarfile, it's not usedpav2005-11-171-3/+0 * - Fix post-installpav2005-11-161-5/+5 * - Fix rc scriptpav2005-11-162-4/+7 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1 * - Run privoxy under user 'privoxy'pav2005-11-146-14/+47