summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2021-02-02 17:02:55 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2021-02-02 17:02:55 +0000
commitf22a8280e641d3ae1797f52f88a5d94d5d7f0103 (patch)
tree0b05bfd73ed81082e0b5cbf20c219d9143a1e7e0
parent4699152d64d97dd4e52991eec7b0eec0f6907ecb (diff)
downloadpcre2-f22a8280e641d3ae1797f52f88a5d94d5d7f0103.tar.gz
Update configure.ac for latest version of autoconf.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1297 6239d852-aaf2-0410-a92c-79f79f948069
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac12
2 files changed, 11 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 2694119..2865f9a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -25,6 +25,12 @@ now the same as Perl.
(b) A sequence such as {65536 that has no terminating } so is not a
quantifier was nevertheless complaining that a quantifier number was too big.
+5. A run of autoconf suggested that configure.ac was out-of-date with respect
+to the lastest autoconf. Running autoupdate made some valid changes, some valid
+suggestions, and also some invalid changes, which were fixed by hand. Autoconf
+now runs clean and the resulting "configure" seems to work, so I hope nothing
+is broken.
+
Version 10.36 04-December-2020
------------------------------
diff --git a/configure.ac b/configure.ac
index 4013aa3..09356d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,8 +22,8 @@ m4_define(libpcre2_posix_version, [2:3:0])
# NOTE: The CMakeLists.txt file searches for the above variables in the first
# 50 lines of this file. Please update that if the variables above are moved.
-AC_PREREQ(2.57)
-AC_INIT(PCRE2, pcre2_major.pcre2_minor[]pcre2_prerelease, , pcre2)
+AC_PREREQ([2.70])
+AC_INIT([PCRE2],pcre2_major.pcre2_minor[]pcre2_prerelease,[],[pcre2])
AC_CONFIG_SRCDIR([src/pcre2.h.in])
AM_INIT_AUTOMAKE([dist-bzip2 dist-zip])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -64,8 +64,7 @@ m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AC_TYPE_INT64_T
AC_PROG_INSTALL
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
AC_PROG_LN_S
# Check for GCC visibility feature
@@ -424,7 +423,7 @@ case "$enable_newline" in
anycrlf) ac_pcre2_newline_value=5 ;;
nul) ac_pcre2_newline_value=6 ;;
*)
- AC_MSG_ERROR([invalid argument \"$enable_newline\" to --enable-newline option])
+ AC_MSG_ERROR([invalid argument "$enable_newline" to --enable-newline option])
;;
esac
@@ -453,7 +452,7 @@ fi
case "$with_link_size" in
2|3|4) ;;
*)
- AC_MSG_ERROR([invalid argument \"$with_link_size\" to --with-link-size option])
+ AC_MSG_ERROR([invalid argument "$with_link_size" to --with-link-size option])
;;
esac
@@ -486,7 +485,6 @@ HAVE_BCOPY is defined. If your system has neither bcopy() nor memmove(), make
sure both macros are undefined; an emulation function will then be used. */])
# Checks for header files.
-AC_HEADER_STDC
AC_CHECK_HEADERS(limits.h sys/types.h sys/stat.h dirent.h)
AC_CHECK_HEADERS([windows.h], [HAVE_WINDOWS_H=1])
AC_CHECK_HEADERS([sys/wait.h], [HAVE_SYS_WAIT_H=1])