From: Paul Mackerras Date: Wed, 1 Apr 1998 02:06:41 +0000 (+0000) Subject: define HAVE_CRYPT_H if we have a /usr/include/crypt.h X-Git-Tag: RELEASE_2_3_6~75 X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=07d7fbd6220956eed6b1dd278b05a4fcb099cff9;hp=48e5c590d846c6e56f4abc1a5338b62a092e4ca8 define HAVE_CRYPT_H if we have a /usr/include/crypt.h --- diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index 9a96c9a..04ef7e2 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -1,6 +1,6 @@ # # pppd makefile for Linux -# $Id: Makefile.linux,v 1.24 1998/03/25 01:27:01 paulus Exp $ +# $Id: Makefile.linux,v 1.25 1998/04/01 02:06:41 paulus Exp $ # # Default installation locations @@ -38,6 +38,10 @@ endif # MS-CHAP authentication protocol. CHAPMS=y USE_CRYPT=y +ifneq ($(wildcard /usr/lib/libcrypt*),) +HAVE_CRYPT_H=y +endif + HAS_SHADOW=y #USE_PAM=y @@ -54,6 +58,9 @@ ifndef USE_CRYPT LIBS := -ldes $(LIBS) else CFLAGS += -DUSE_CRYPT=1 +ifneq ($(wildcard /usr/include/crypt.h),) +CFLAGS += -DHAVE_CRYPT_H=1 +endif endif PPPDOBJS += md4.o chap_ms.o ifdef MSLANMAN