projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2eaf2da
)
configure: Update autoconf and libtool macro use to fix warnings.
author
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 8 Jul 2022 22:22:24 +0000
(15:22 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 8 Jul 2022 22:47:59 +0000
(15:47 -0700)
acinclude.m4
patch
|
blob
|
history
configure.ac
patch
|
blob
|
history
diff --git
a/acinclude.m4
b/acinclude.m4
index 8fba32f945a69da11e6dd1093a8fdd596ca80d06..8c1d2fd851c7e3c082956054ed931548700fbebf 100644
(file)
--- a/
acinclude.m4
+++ b/
acinclude.m4
@@
-347,7
+347,7
@@
dnl PSPP_ENABLE_WERROR
AC_DEFUN([PSPP_ENABLE_WERROR],
[AC_ARG_ENABLE(
[Werror],
AC_DEFUN([PSPP_ENABLE_WERROR],
[AC_ARG_ENABLE(
[Werror],
- [A
C
_HELP_STRING([--enable-Werror], [Add -Werror to CFLAGS])],
+ [A
S
_HELP_STRING([--enable-Werror], [Add -Werror to CFLAGS])],
[], [enable_Werror=no])
AC_CONFIG_COMMANDS_PRE(
[if test "X$enable_Werror" = Xyes; then
[], [enable_Werror=no])
AC_CONFIG_COMMANDS_PRE(
[if test "X$enable_Werror" = Xyes; then
diff --git
a/configure.ac
b/configure.ac
index 9c6f57fe7cc220092cf9a0b89156bc05b17ec30c..b8e8b7ddce58d89d4cef4480ac643a45daefeae5 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-25,19
+25,17
@@
AC_CONFIG_TESTDIR([tests])
AM_INIT_AUTOMAKE([tar-ustar info-in-builddir])
dnl Checks for programs.
AM_INIT_AUTOMAKE([tar-ustar info-in-builddir])
dnl Checks for programs.
-AC_
GNU_SOURCE
+AC_
USE_SYSTEM_EXTENSIONS
AC_PROG_CC
gl_EARLY
if test x"$cross_compiling" = x"yes"; then
if test x"$srcdir" = x"."; then
AC_PROG_CC
gl_EARLY
if test x"$cross_compiling" = x"yes"; then
if test x"$srcdir" = x"."; then
- AC_ERROR([Cross compiling must be done out of source.])
+ AC_
MSG_
ERROR([Cross compiling must be done out of source.])
fi
fi
AM_PROG_CC_C_O
fi
fi
AM_PROG_CC_C_O
-AC_LIBTOOL_WIN32_DLL
-AC_LIBTOOL_DLOPEN
-AC_PROG_LIBTOOL
+LT_INIT([dlopen win32-dll])
AC_HEADER_TIOCGWINSZ
AC_CHECK_SIZEOF([ptrdiff_t])
AC_HEADER_TIOCGWINSZ
AC_CHECK_SIZEOF([ptrdiff_t])