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
父節點 059b4ae440
當前提交 cde40372ca
共有 4 個文件被更改,包括 11 次插入3 次删除

查看文件

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

查看文件

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

查看文件

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

查看文件

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