From 88e1668735ec812df0ab96e4a05b001824613cd2 Mon Sep 17 00:00:00 2001 From: tbbulloc Date: Sun, 3 Jun 2007 22:22:23 +0000 Subject: [PATCH] configure.ac: Remove uneccessary configuration cruft and configure httperf to be built in c99 mode --- httperf/ChangeLog | 5 +++++ httperf/configure.ac | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/httperf/ChangeLog b/httperf/ChangeLog index ed296cc..743f06b 100755 --- a/httperf/ChangeLog +++ b/httperf/ChangeLog @@ -1,3 +1,8 @@ +2007-06-03 Ted Bullock + + * configure.ac: Remove uneccessary configuration cruft and configure httperf + to be built in c99 mode + 2007-05-27 Ted Bullock * man/httperf.1: Fixed man page typo for --wset option (needed --uri, not --wset) diff --git a/httperf/configure.ac b/httperf/configure.ac index 9315a0a..1aa6886 100755 --- a/httperf/configure.ac +++ b/httperf/configure.ac @@ -21,11 +21,13 @@ fi # Checks for programs. AC_GNU_SOURCE AC_PROG_CC([cc gcc]) +AC_PROG_CC_C99 + AC_PROG_INSTALL AC_PROG_LIBTOOL -AC_PROG_GCC_TRADITIONAL # Checks for libraries. +AC_CHECK_LIB(event, event_init) AC_CHECK_LIB(m, sqrt) AC_CHECK_LIB(crypto, main) AC_CHECK_LIB(ssl, SSL_version) @@ -36,7 +38,7 @@ AC_CHECK_LIB(resolv, inet_aton) # Checks for header files. AC_FUNC_ALLOCA -AC_HEADER_STDC +AC_HEADER_TIME AC_CHECK_HEADERS([arpa/inet.h fcntl.h float.h libintl.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h openssl/ssl.h getopt.h]) if test "$ac_cv_header_openssl_ssl_h" = "yes" \ @@ -50,7 +52,6 @@ fi AC_C_CONST AC_TYPE_SIZE_T AC_TYPE_SSIZE_T -AC_HEADER_TIME AC_CHECK_TYPE(u_char, unsigned char) AC_CHECK_TYPE(u_short, unsigned short) AC_CHECK_TYPE(u_int, unsigned int)