diff options
author | Raja R Harinath <harinath@src.gnome.org> | 1998-03-10 08:13:02 +0800 |
---|---|---|
committer | Raja R Harinath <harinath@src.gnome.org> | 1998-03-10 08:13:02 +0800 |
commit | 2aae8047270a8343d59c2b225cf353aa56b938cf (patch) | |
tree | 39d8dd29b408590a1b2db1ca01d2a49aa7c84160 /macros/gnome-support.m4 | |
parent | 11d40d6493f2c8ac747d57153a4eb9d327198069 (diff) | |
download | gsoc2013-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/gnome-support.m4')
-rw-r--r-- | macros/gnome-support.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
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 |