aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-support.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gnome-support.m4')
-rw-r--r--macros/gnome-support.m416
1 files changed, 12 insertions, 4 deletions
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)
Fix acl notifications.anray2007-09-122-0/+27 * Update to 5.1.7anray2007-01-314-34/+4 * Use libtool port instead of included version to avoid a.out objformat botchkris2007-01-302-0/+2 * Fix tossing, when `packet' in passwd defined.anray2007-01-292-1/+12 * Fix works `outb-kill' script.anray2007-01-091-0/+18 * Fix works `outb-kill' script.anray2007-01-091-0/+1 * Update to 5.1.6dsanray2006-12-318-131/+4 * Add WITH_NFS_LOCK - it's enable build with nfs safe locks.anray2006-12-171-0/+3 * Fix areafix and ftntick crashes.anray2006-11-153-0/+35 * Fix build in tinderbox(inn is not configured).anray2006-11-081-1/+1 * Update to 5.1.5anray2006-10-316-4/+96 * Update to 5.1.4anray2006-03-242-4/+4 * SHA256ifyedwin2006-01-241-0/+1 * Change email address for all my ports.anray2005-12-161-2/+2 * Fix non standart LOCALBASEmnag2005-10-201-0/+2 * Update to 5.1.3novel2005-04-243-4/+5 * At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1 * Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1 * [PATCH] change MAINTAINER email address for all my ports.edwin2004-12-301-1/+1 * - Update to 5.1.2sem2004-12-116-68/+8 * Fix security risk for setuid news programs.krion2004-08-212-0/+13 * Change maintainer's email.krion2004-08-081-1/+1 * files/patch-send-fidogate.in: fix send-fidogate warningssem2004-07-152-0/+50