aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>1998-03-10 08:13:02 +0800
committerRaja R Harinath <harinath@src.gnome.org>1998-03-10 08:13:02 +0800
commit2aae8047270a8343d59c2b225cf353aa56b938cf (patch)
tree39d8dd29b408590a1b2db1ca01d2a49aa7c84160 /macros
parent11d40d6493f2c8ac747d57153a4eb9d327198069 (diff)
downloadgsoc2013-evolution-2aae8047270a8343d59c2b225cf353aa56b938cf.tar
gsoc2013-evolution-2aae8047270a8343d59c2b225cf353aa56b938cf.tar.gz
gsoc2013-evolution-2aae8047270a8343d59c2b225cf353aa56b938cf.tar.bz2
gsoc2013-evolution-2aae8047270a8343d59c2b225cf353aa56b938cf.tar.lz
gsoc2013-evolution-2aae8047270a8343d59c2b225cf353aa56b938cf.tar.xz
gsoc2013-evolution-2aae8047270a8343d59c2b225cf353aa56b938cf.tar.zst
gsoc2013-evolution-2aae8047270a8343d59c2b225cf353aa56b938cf.zip
Add check for `vsnprintf'.
* gnome-support.m4: Add check for `vsnprintf'. - Hari svn path=/trunk/; revision=62
Diffstat (limited to 'macros')
-rw-r--r--macros/ChangeLog4
-rw-r--r--macros/gnome-support.m45
2 files changed, 9 insertions, 0 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 84fee605d1..fd53e3e604 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,7 @@
+1998-03-09 Raja R Harinath <harinath@cs.umn.edu>
+
+ * gnome-support.m4: Add check for `vsnprintf'.
+
Sun Mar 8 17:04:28 1998 Tom Tromey <tromey@cygnus.com>
* gnome-support.m4: Set need_gnome_support shell variable. Define
diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4
index 67478a8c1d..71463287c1 100644
--- a/macros/gnome-support.m4
+++ b/macros/gnome-support.m4
@@ -25,6 +25,11 @@ AC_DEFUN([GNOME_SUPPORT_CHECKS],[
AC_TRY_LINK([#include <errno.h>],[
char *foo = program_invocation_name], [
AC_DEFINE(HAVE_PROGRAM_INVOCATION_NAME)])
+
+ AC_CHECK_FUNCS(vsnprintf,,[
+ AC_CHECK_FUNCS(__vsnprintf,
+ LIBOBJS="$LIBOBJS easy-vsnprintf.o",LIBOBJS="$LIBOBJS vsnprint.o")])
+
AC_REPLACE_FUNCS(strtok_r strcasecmp strndup strnlen)
if test "$LIBOBJS" != ""; then