Author: cazfi Date: Wed Jul 27 09:33:02 2016 New Revision: 33329 URL: http://svn.gna.org/viewcvs/freeciv?rev=33329&view=rev Log: Renamed AC_FUNC_VSNPRINTF as FC_FUNC_VSNPRINTF
See patch #7504 Modified: branches/S2_6/configure.ac branches/S2_6/m4/vsnprintf.m4 Modified: branches/S2_6/configure.ac URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/configure.ac?rev=33329&r1=33328&r2=33329&view=diff ============================================================================== --- branches/S2_6/configure.ac (original) +++ branches/S2_6/configure.ac Wed Jul 27 09:33:02 2016 @@ -1282,7 +1282,9 @@ dnl Windows vsnprintf doesn't support argument reordering (see PR#12932) if test "x$MINGW" != "xyes"; then -AC_FUNC_VSNPRINTF +dnl The use of both FC_FUNC_VSNPRINTF and AC_CHECK_FUNCS(vsnprintf) is +dnl deliberate. +FC_FUNC_VSNPRINTF AC_CHECK_FUNCS([vsnprintf]) fi @@ -1319,9 +1321,6 @@ if test $ac_cv_func_bind = no; then AC_CHECK_LIB(bind, gethostbyaddr, LIBS="-lbind $LIBS") fi - -dnl The use of both AC_FUNC_VSNPRINTF and AC_CHECK_FUNCS(vsnprintf) is -dnl deliberate. dnl Windows fdopen does not work with sockets. if test "x$MINGW" != "xyes"; then Modified: branches/S2_6/m4/vsnprintf.m4 URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/m4/vsnprintf.m4?rev=33329&r1=33328&r2=33329&view=diff ============================================================================== --- branches/S2_6/m4/vsnprintf.m4 (original) +++ branches/S2_6/m4/vsnprintf.m4 Wed Jul 27 09:33:02 2016 @@ -1,5 +1,5 @@ -dnl @synopsis AC_FUNC_VSNPRINTF +dnl @synopsis FC_FUNC_VSNPRINTF dnl dnl Check whether there is a reasonably sane vsnprintf() function installed. dnl "Reasonably sane" in this context means never clobbering memory beyond @@ -9,9 +9,9 @@ dnl @version $Id$ dnl @author Gaute Strokkenes <gs...@cam.ac.uk> dnl -AC_DEFUN([AC_FUNC_VSNPRINTF], -[AC_CACHE_CHECK(for working vsnprintf, - ac_cv_func_working_vsnprintf, +AC_DEFUN([FC_FUNC_VSNPRINTF], +[AC_CACHE_CHECK([for working vsnprintf], + [ac_cv_func_working_vsnprintf], [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h> #include <stdarg.h> @@ -63,4 +63,4 @@ [Define if you have a version of the 'vsnprintf' function that honours the size argument and has a proper return value.]) fi -])# AC_FUNC_VSNPRINTF +])# FC_FUNC_VSNPRINTF _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits