Removed getopt.c and getopt1.c from build process

httperf.c Wrapped call to getopt.h in pre-processor checks
This commit is contained in:
tbbulloc 2007-01-26 07:59:04 +00:00
bovenliggende 059b4ae440
commit cde40372ca
4 gewijzigde bestanden met toevoegingen van 11 en 3 verwijderingen

Bestand weergeven

@ -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

Bestand weergeven

@ -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" \

Bestand weergeven

@ -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>

Bestand weergeven

@ -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