Browse Source

Removed getopt.c and getopt1.c from build process

httperf.c Wrapped call to getopt.h in pre-processor checks
ahc_fix_select
tbbulloc 18 years ago
parent
commit
cde40372ca
4 changed files with 11 additions and 3 deletions
  1. +6
    -0
      httperf/ChangeLog
  2. +1
    -1
      httperf/configure.ac
  3. +3
    -1
      httperf/src/httperf.c
  4. +1
    -1
      httperf/src/lib/Makefile.am

+ 6
- 0
httperf/ChangeLog View File

@@ -1,3 +1,9 @@
2007-01-26 Ted Bullock <tbullock@canada.com>

* Removed getopt.c and getopt1.c from build process

* httperf.c Wrapped call to getopt.h in pre-processor checks

2007-01-25 Ted Bullock <tbullock@canada.com>

* wsesslog.c changed a sprintf call to the more secure snprintf


+ 1
- 1
httperf/configure.ac View File

@@ -36,7 +36,7 @@ AC_CHECK_LIB(resolv, inet_aton)
# Checks for header files.
AC_FUNC_ALLOCA
AC_HEADER_STDC
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])
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" \
-a "$ac_cv_lib_ssl_SSL_version" = "yes" \


+ 3
- 1
httperf/src/httperf.c View File

@@ -61,7 +61,9 @@

#include <ctype.h>
#include <errno.h>
#include <getopt.h>
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>


+ 1
- 1
httperf/src/lib/Makefile.am View File

@@ -3,5 +3,5 @@ AM_CFLAGS = -Wall -O2 -I$(srcdir)/../ -I$(srcdir)/../../
AM_LDFLAGS =

noinst_LIBRARIES = libutil.a
libutil_a_SOURCES = getopt.c getopt1.c ssl_writev.c
libutil_a_SOURCES = ssl_writev.c


Loading…
Cancel
Save