projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: Update autoconf and libtool macro use to fix warnings.
[pspp]
/
configure.ac
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])