From bef8c30f553def8e1e8eb2a853d6523eaf02866a Mon Sep 17 00:00:00 2001 From: Pawel Krawczyk Date: Sat, 5 Nov 2022 12:35:30 +0000 Subject: [PATCH] Check for gnulib in $srcdir Fix https://github.com/kravietz/pam_tacplus/issues/189 --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 031816d..c5ec5e0 100644 --- a/configure.ac +++ b/configure.ac @@ -31,10 +31,9 @@ export PATH=\$PATH:\$HOME/gnulib ]) -if ! test -f "lib/malloca.c"; then -ls -l lib/ +if ! test -f "$srcdir/lib/malloca.c"; then AC_MSG_WARN([ -lib/malloca.c not found, you likely haven't run gnulib-tool: +$srcdir/lib/malloca.c not found, you likely haven't run gnulib-tool: $ac_cv_prog_GNULIB --makefile-name=Makefile.gnulib --libtool --import \ fcntl crypto/md5 array-list list xlist getrandom realloc-posix \