1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: Do not link with libcrypt.
The test for libcrypt is only needed in cases
when USE_PAM is not set to active.
Author: Mats Erik Andersson <debian@gisladisker.se>
Forwarded: no
Last-Update: 2012-03-29
--- linux-ftpd-0.17.debian/configure
+++ linux-ftpd-0.17/configure
@@ -261,6 +261,11 @@
##################################################
+# libcrypt is only needed in the absence of libpam.
+
+if test -z "$USE_PAM"; then
+## Missing indentation in this clause!
+
echo -n 'Checking for crypt... '
cat <<EOF >__conftest.c
int main() { crypt("aa", "bb"); }
@@ -285,6 +290,8 @@
fi
rm -f __conftest*
+fi # test -z "$USE_PAM"
+
##################################################
echo -n 'Checking for socklen_t... '
|