1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
From: =?utf-8?b?0L3QsNCx?= <nabijaczleweli@nabijaczleweli.xyz>
Date: Wed, 12 Feb 2025 12:23:19 +0100
Subject: autoupdate
https://bugs.debian.org/1066410
configure.in | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/configure.in b/configure.in
index c3ef568..903855c 100644
@@ -1,8 +1,9 @@
dnl Process this file with autoconf to produce a configure script.
dnl
-AC_INIT(ncftp/main.c)
-AC_PREREQ(2.13)
-AC_CONFIG_HEADER(config.h)
+AC_INIT
+AC_CONFIG_SRCDIR([ncftp/main.c])
+AC_PREREQ([2.71])
+AC_CONFIG_HEADERS([config.h])
wi_ARG_DISABLE_CCDV
AC_ARG_WITH(curses,[ --without-curses do not try to find and use the curses library],nc_cv_curses=$withval,nc_cv_curses=yes)
wi_ARG_ENABLE_DEBUG
@@ -53,10 +54,11 @@ dnl ---------------------------------------------------------------------------
dnl Checks for header files.
dnl ---------------------------------------------------------------------------
dnl
-AC_HEADER_STDC
+AC_CHECK_INCLUDES_DEFAULT
+
dnl Readline headers #ifdefs for string.h, sio needs strings.h for AIX
AC_CHECK_HEADERS(arpa/nameser.h gnu/libc-version.h locale.h net/errno.h nserve.h resolv.h sgtty.h string.h strings.h sys/id.h sys/ioctl.h syslog.h sys/sendfile.h sys/socket.h sys/time.h sys/types.h sys/utsname.h sys/systeminfo.h termio.h termios.h time.h utime.h unistd.h gnu/libc-version.h)
-AC_TIME_WITH_SYS_TIME
+
dnl # sio
wi_UNIX_DOMAIN_SOCKETS
SIO_OBJS_U=''
@@ -303,5 +305,6 @@ AC_SUBST(STRN_VERSION)
AC_SUBST(VIS_DPROGS)
AC_SUBST(SIZEOF_OFF_T)
AC_SUBST(SIZEOF_ST_SIZE)
-AC_OUTPUT_COMMANDS([/bin/rm -f ./ncftp/readln.o])
-AC_OUTPUT([Makefile Makefile.bin ncftp/Makefile libncftp/Makefile Strn/Makefile sio/Makefile sh_util/Makefile vis/Makefile])
+AC_CONFIG_COMMANDS([default-1],[[/bin/rm -f ./ncftp/readln.o]],[[]])
+AC_CONFIG_FILES([Makefile Makefile.bin ncftp/Makefile libncftp/Makefile Strn/Makefile sio/Makefile sh_util/Makefile vis/Makefile])
+AC_OUTPUT
|