Author: cazfi
Date: Wed Jul 27 09:32:56 2016
New Revision: 33328

URL: http://svn.gna.org/viewcvs/freeciv?rev=33328&view=rev
Log:
Renamed AC_FUNC_VSNPRINTF as FC_FUNC_VSNPRINTF

See patch #7504

Modified:
    trunk/configure.ac
    trunk/m4/vsnprintf.m4

Modified: trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/configure.ac?rev=33328&r1=33327&r2=33328&view=diff
==============================================================================
--- trunk/configure.ac  (original)
+++ trunk/configure.ac  Wed Jul 27 09:32:56 2016
@@ -1373,7 +1373,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
 
@@ -1410,9 +1412,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: trunk/m4/vsnprintf.m4
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/m4/vsnprintf.m4?rev=33328&r1=33327&r2=33328&view=diff
==============================================================================
--- trunk/m4/vsnprintf.m4       (original)
+++ trunk/m4/vsnprintf.m4       Wed Jul 27 09:32:56 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

Reply via email to