summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-03-13 00:02:19 +0000
committerYour Name <you@example.com>2021-03-13 00:02:19 +0000
commitd0e899ea83478a7eedd9d3f6c36dede7bba6a79a (patch)
treeb25062b93cc2979e87e9047feb7cef1d263fb11b /src
parent745a14152ea9d347c6b697a63f8e718aae96d6ad (diff)
downloadcracklib-d0e899ea83478a7eedd9d3f6c36dede7bba6a79a.tar.gz
Add changes generated by autoupdate from autoconf 2.71
Thise changes shoul be backward compatible and still older autoconf 2.69 can be used.
Diffstat (limited to 'src')
-rw-r--r--src/configure.ac13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/configure.ac b/src/configure.ac
index 370e984..7d6aa61 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([cracklib], [2.9.8-dev], [cracklib-devel@lists.sourceforge.net])
+AC_INIT([cracklib],[2.9.8-dev],[cracklib-devel@lists.sourceforge.net])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
@@ -8,7 +8,7 @@ dnl Set of available languages.
ALL_LINGUAS="as be bn_IN ca cs da de el es eu fi fr gu he hi hu id it ja kk kn ko lt ml mr nb nl or pa pl pt pt_BR ru sk sl sq sv ta te tr uk zh_CN zh_TW"
dnl Checks for programs.
-AC_PROG_LIBTOOL
+LT_INIT
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
@@ -61,7 +61,7 @@ AM_GNU_GETTEXT([external])
dnl Control default dictname
AC_MSG_CHECKING(default dict filename)
AC_ARG_WITH(default-dict,
-AC_HELP_STRING(--with-default-dict,[Specify default dict filename]),
+AS_HELP_STRING([--with-default-dict],[Specify default dict filename]),
default_cracklib_dict=$withval,
default_cracklib_dict='$(pkgdatadir)/pw_dict')
AC_SUBST(DEFAULT_CRACKLIB_DICT, $default_cracklib_dict)
@@ -69,7 +69,7 @@ AC_MSG_RESULT($default_cracklib_dict)
dnl Check for python, unless we were told to not try to build a python module
AC_ARG_WITH(python,
-AC_HELP_STRING(--without-python,[Build a python module @<:@default=auto@:>@]),
+AS_HELP_STRING([--without-python],[Build a python module @<:@default=auto@:>@]),
build_python=$withval,build_python=auto)
if test "$build_python" != no ; then
AM_PATH_PYTHON(,,
@@ -97,7 +97,8 @@ AM_CONDITIONAL(BUILD_PYTHON,[test "$build_python" = "yes"])
dnl Handle local dict compiling properly
AC_SUBST(CROSS_COMPILING, $cross_compiling)
-AC_OUTPUT(util/Makefile lib/Makefile doc/Makefile python/Makefile Makefile \
+AC_CONFIG_FILES([util/Makefile lib/Makefile doc/Makefile python/Makefile Makefile \
python/setup.py \
- po/Makefile.in m4/Makefile dicts/Makefile cracklib.spec)
+ po/Makefile.in m4/Makefile dicts/Makefile cracklib.spec])
+AC_OUTPUT