Module Name: othersrc
Committed By: lukem
Date: Sun May 5 13:50:50 UTC 2013
Modified Files:
othersrc/usr.bin/tnftp: configure.ac
Log Message:
tnftp-20130505:
* Support https:// fetch if OpenSSL is available and enabled.
* Allow -R to restart non-existent ftp:// URIs.
* Parse HTTP 'Date' entries in the `C' locale rather than the user's.
* When using the response to SYST to decide whether to default
to 'binary' be a lot less specific.
* Portability fixes.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 othersrc/usr.bin/tnftp/configure.ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/usr.bin/tnftp/configure.ac
diff -u othersrc/usr.bin/tnftp/configure.ac:1.24 othersrc/usr.bin/tnftp/configure.ac:1.25
--- othersrc/usr.bin/tnftp/configure.ac:1.24 Sun May 5 13:17:05 2013
+++ othersrc/usr.bin/tnftp/configure.ac Sun May 5 13:50:50 2013
@@ -1,17 +1,17 @@
-# $NetBSD: configure.ac,v 1.24 2013/05/05 13:17:05 lukem Exp $
+# $NetBSD: configure.ac,v 1.25 2013/05/05 13:50:50 lukem Exp $
#
# Process this file with autoconf to produce a configure script.
-AC_INIT([tnftp], [20100108], [[email protected]])
-AC_PREREQ([2.61])
+AC_INIT([tnftp], [20130505], [[email protected]])
+AC_PREREQ([2.69])
AC_COPYRIGHT([
-Copyright (c) 1999-2010 The NetBSD Foundation, Inc.
+Copyright (c) 1999-2013 The NetBSD Foundation, Inc.
All rights reserved.
])
-AC_REVISION([$Revision: 1.24 $])
+AC_REVISION([$Revision: 1.25 $])
-AS_SHELL_SANITIZE
+AS_SHELL_SANITIZE()
AC_CONFIG_SRCDIR([tnftp.h])
AC_CONFIG_AUX_DIR([buildaux])
@@ -20,7 +20,7 @@ AC_CONFIG_HEADERS([tnftp_config.h])
AC_CONFIG_LIBOBJ_DIR([libnetbsd])
AM_INIT_AUTOMAKE([-Wall -Werror foreign nostdinc silent-rules])
-AM_MAINTAINER_MODE
+AM_MAINTAINER_MODE()
#
# Arguments for which features are included.
@@ -71,9 +71,9 @@ AH_TEMPLATE([WITH_SSL],
#
# Checks for programs.
#
-AC_PROG_CC
-AC_PROG_AWK
-AC_PROG_LIBTOOL
+AC_PROG_CC()
+AC_PROG_AWK()
+AC_PROG_LIBTOOL()
#
# Checks for tool features.
@@ -231,12 +231,12 @@ accheck_includes='
AC_CHECK_HEADERS([sys/types.h sys/ioctl.h sys/param.h sys/stat.h \
sys/socket.h sys/syslimits.h sys/time.h sys/wait.h],
[], [], [$accheck_includes])
-AC_HEADER_DIRENT
-AC_HEADER_RESOLV
-AC_HEADER_STAT
-AC_HEADER_STDC
-AC_HEADER_TIME
-AC_HEADER_TIOCGWINSZ
+AC_HEADER_DIRENT()
+AC_HEADER_RESOLV()
+AC_HEADER_STAT()
+AC_HEADER_STDC()
+AC_HEADER_TIME()
+AC_HEADER_TIOCGWINSZ()
AC_CHECK_HEADERS([arpa/ftp.h arpa/inet.h arpa/nameser.h err.h \
fcntl.h libgen.h limits.h locale.h malloc.h \
netinet/in.h netinet/in_systm.h netinet/ip.h \
@@ -252,20 +252,20 @@ AC_CHECK_HEADERS([arpa/ftp.h arpa/inet.h
AC_CHECK_DECLS([AI_NUMERICHOST, dirname, fclose, getpass, h_errno, pclose,
optarg, optind],
[], [], [$accheck_includes])
-AC_TYPE_LONG_DOUBLE
-AC_TYPE_LONG_LONG_INT
-AC_TYPE_UINT32_T
-AC_TYPE_OFF_T
-AC_TYPE_PID_T
-AC_TYPE_SIGNAL
-AC_TYPE_SIZE_T
-AC_STRUCT_TM
+AC_TYPE_LONG_DOUBLE()
+AC_TYPE_LONG_LONG_INT()
+AC_TYPE_UINT32_T()
+AC_TYPE_OFF_T()
+AC_TYPE_PID_T()
+AC_TYPE_SIGNAL()
+AC_TYPE_SIZE_T()
+AC_STRUCT_TM()
AC_CHECK_MEMBERS([struct sockaddr.sa_len, struct sockaddr_in.sin_len,
struct dirent.d_namlen],
[], [], [$accheck_includes])
AC_CHECK_TYPES([in_port_t, sa_family_t, socklen_t, struct addrinfo],
[], [], [$accheck_includes])
-AC_SYS_LARGEFILE
+AC_SYS_LARGEFILE()
# If IPv6 is enabled, check for necessary items.
#
@@ -289,11 +289,11 @@ AS_IF([test "$opt_ipv6" = yes],
# Checks for library functions.
#
#XXX remove alloca use
-AC_FUNC_ALLOCA
-AC_FUNC_CLOSEDIR_VOID
-AC_FUNC_FORK
-AC_FUNC_FSEEKO
-AC_FUNC_STRCOLL
+AC_FUNC_ALLOCA()
+AC_FUNC_CLOSEDIR_VOID()
+AC_FUNC_FORK()
+AC_FUNC_FSEEKO()
+AC_FUNC_STRCOLL()
AC_REPLACE_FUNCS([dirname err fgetln getaddrinfo getnameinfo \
inet_ntop inet_pton mkstemp setprogname sl_init snprintf \
strdup strerror strlcat strlcpy strptime strsep strunvis \
@@ -426,7 +426,7 @@ AC_CONFIG_FILES([
src/Makefile
])
-AC_OUTPUT
+AC_OUTPUT()
# Display feature results.
#