INN commit: trunk (configure.ac m4/cc-c-o.m4 tests/lib/qio-t.c)

INN Commit Russ_Allbery at isc.org
Sat Apr 11 17:16:07 UTC 2009


    Date: Saturday, April 11, 2009 @ 10:16:06
  Author: iulius
Revision: 8407

Autoconf 2.61 uses HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE
and AS_MESSAGE_LOG_FD instead of AC_FD_CC.

Modified:
  trunk/configure.ac
  trunk/m4/cc-c-o.m4
  trunk/tests/lib/qio-t.c

-------------------+
 configure.ac      |    2 +-
 m4/cc-c-o.m4      |    2 +-
 tests/lib/qio-t.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Modified: configure.ac
===================================================================
--- configure.ac	2009-04-11 01:37:41 UTC (rev 8406)
+++ configure.ac	2009-04-11 17:16:06 UTC (rev 8407)
@@ -417,9 +417,9 @@
 INN_C_GNU_VAMACROS
 
 dnl Checks for structures.
-AC_STRUCT_ST_BLKSIZE
 AC_STRUCT_TM
 AC_STRUCT_TIMEZONE
+AC_CHECK_MEMBERS([struct stat.st_blksize]
 AC_CHECK_MEMBERS([struct tm.tm_gmtoff])
 AC_CHECK_MEMBERS([struct sockaddr.sa_len], , ,
 [#include <sys/types.h>

Modified: m4/cc-c-o.m4
===================================================================
--- m4/cc-c-o.m4	2009-04-11 01:37:41 UTC (rev 8406)
+++ m4/cc-c-o.m4	2009-04-11 17:16:06 UTC (rev 8407)
@@ -39,7 +39,7 @@
   fi
 else
   # Append any errors to the config.log.
-  cat out/conftest.err 1>&AC_FD_CC
+  cat out/conftest.err 1>&AS_MESSAGE_LOG_FD
   inn_cv_compiler_c_o=no
 fi
 CFLAGS="$save_CFLAGS"

Modified: tests/lib/qio-t.c
===================================================================
--- tests/lib/qio-t.c	2009-04-11 01:37:41 UTC (rev 8406)
+++ tests/lib/qio-t.c	2009-04-11 17:16:06 UTC (rev 8407)
@@ -56,7 +56,7 @@
 	    while(size < 8192)
 		size += st.st_blksize;
     }
-#endif /* HAVE_ST_BLKSIZE */
+#endif /* HAVE_STRUCT_STAT_ST_BLKSIZE */
 
     /* Start with small, equally sized lines exactly equal to the buffer.
        Then a line equal in size to the buffer, then a short line and




More information about the inn-committers mailing list