aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-support.m4
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1998-03-04 16:14:23 +0800
committerTom Tromey <tromey@src.gnome.org>1998-03-04 16:14:23 +0800
commitd98bf00fbddc94d4be97564725487cb6790f7a1b (patch)
tree24ec3bc720b1dae8e7beba0656fd644f1a05bc26 /macros/gnome-support.m4
parentc8ee176b4cedecc774afd0500e76099395f2b91c (diff)
downloadgsoc2013-evolution-d98bf00fbddc94d4be97564725487cb6790f7a1b.tar.gz
gsoc2013-evolution-d98bf00fbddc94d4be97564725487cb6790f7a1b.tar.zst
gsoc2013-evolution-d98bf00fbddc94d4be97564725487cb6790f7a1b.zip
Check for argp code, strndup, program_invocation_name,
Wed Mar 4 01:02:55 1998 Tom Tromey <tromey@cygnus.com> * gnome-support.m4 (GNOME_SUPPORT_CHECKS): Check for argp code, strndup, program_invocation_name, program_invocation_short_name. svn path=/trunk/; revision=58
Diffstat (limited to 'macros/gnome-support.m4')
-rw-r--r--macros/gnome-support.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4
index 28b8e116df..381bc98ca8 100644
--- a/macros/gnome-support.m4
+++ b/macros/gnome-support.m4
@@ -2,6 +2,13 @@ dnl libsupport stuff
dnl GNOME_SUPPORT_CHECKS
AC_DEFUN([GNOME_SUPPORT_CHECKS],[
AC_CHECK_FUNCS(getopt_long,,LIBOBJS="$LIBOBJS getopt.o getopt1.o")
- AC_REPLACE_FUNCS(strtok_r strcasecmp)
+ AC_CHECK_FUNCS(argp_parse,,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-xinl.o")
+ AC_TRY_LINK([#include <errno.h>],[
+ char *foo = program_invocation_short_name], [
+ AC_DEFINE(HAVE_PROGRAM_INVOCATION_SHORT_NAME)])
+ AC_TRY_LINK([#include <errno.h>],[
+ char *foo = program_invocation_name], [
+ AC_DEFINE(HAVE_PROGRAM_INVOCATION_NAME)])
+ AC_REPLACE_FUNCS(strtok_r strcasecmp strndup)
AC_SUBST(LIBOBJS)
])
place ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-1/+1 * The L-size dictionary size is wrongly written (dunno why), so sorry...matusita2005-11-121-1/+1 * Put SHA256 checksums.matusita2005-11-101-0/+3 * Update to 200511. As usual, only the large dictionary file (defaultmatusita2005-11-102-7/+7 * Update dictionary files as of March/01/2005.matusita2005-03-032-7/+7 * Backout rev 1.28.matusita2004-12-141-1/+1 * Update to 200412.matusita2004-12-022-7/+7 * Actually remove the directory upon deinstall (missing %D prefix)kris2004-11-241-1/+1 * Update to 200411. However previous update was happen a few days before,matusita2004-11-013-8/+8 * Quick workaround to unbreak INDEX: use PKGNAMESUFFIX if SKK_JISYO_SUFFIX.matusita2004-10-311-1/+1 * Take MAINTAINERship from ports@FreeBSD.org (again; I was the MAINTAINERmatusita2004-10-303-28/+78 * update to 200408 version (L dictionary has been updated)yoichi2004-08-242-8/+8 * large size dictionary has been updatedyoichi2004-03-242-4/+7 * Update to 200401 version.yoichi2004-01-032-4/+4