diff options
author | Milan Broz <mbroz@redhat.com> | 2011-11-08 08:30:27 +0100 |
---|---|---|
committer | Milan Broz <mbroz@redhat.com> | 2011-11-08 08:30:27 +0100 |
commit | 526a5c046f68e53cf1ee66289397610a534535a5 (patch) | |
tree | eb8201d50f986449a24c8a9237b85fffafac8c58 | |
parent | 6c1d81a24a39bd8447f34164db99150ccee4c4c9 (diff) | |
download | libpwquality-git-526a5c046f68e53cf1ee66289397610a534535a5.tar.gz |
Fix autogen for newer automake.
-rwxr-xr-x | autogen.sh | 2 | ||||
-rw-r--r-- | configure.in | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,5 +1,7 @@ #!/bin/sh set -x +autopoint --force +libtoolize --force --copy aclocal -I m4 autoheader automake -a diff --git a/configure.in b/configure.in index bea905d..1faf793 100644 --- a/configure.in +++ b/configure.in @@ -44,7 +44,7 @@ dnl If we use /usr as prefix, use /usr/share/man for manual pages fi dnl Localization support -AM_GNU_GETTEXT_VERSION +AM_GNU_GETTEXT_VERSION([0.15]) AM_GNU_GETTEXT([external]) AC_CHECK_FUNCS(dngettext) AH_BOTTOM([#ifdef ENABLE_NLS @@ -100,10 +100,10 @@ AC_SUBST(PYTHONREV) dnl Check for cracklib AC_CHECK_HEADERS([crack.h], AC_CHECK_LIB([crack], [FascistCheck], LIBCRACK="-lcrack", LIBCRACK="")) -if test x$LIBCRACK = xno ; then +if test x$LIBCRACK = x ; then AC_MSG_ERROR([No or unusable cracklib library]) fi -AC_SUBST(LIBCRACK) +AC_SUBST([LIBCRACK]) AC_ARG_WITH([randomdev], AS_HELP_STRING([--with-randomdev=(<path>|yes)],[use specified random device instead of /dev/urandom]), opt_randomdev=$withval) if test "$opt_randomdev" = yes -o -z "$opt_randomdev"; then |