]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/Makefile.linux
MD4Update takes bytes not bits! Now the regression test of the README.MSCHAP80
[ppp.git] / pppd / Makefile.linux
index 9a96c9a1c13e2e138fbf6c4e3ab48cfbe50c46f3..132e768cc0b1d515dbfcf72c40455b5b7a8508fd 100644 (file)
@@ -1,6 +1,6 @@
 #
 # pppd makefile for Linux
 #
 # pppd makefile for Linux
-# $Id: Makefile.linux,v 1.24 1998/03/25 01:27:01 paulus Exp $
+# $Id: Makefile.linux,v 1.26 1998/05/04 06:10:29 paulus Exp $
 #
 
 # Default installation locations
 #
 
 # Default installation locations
@@ -27,7 +27,7 @@ endif
 # CC = gcc
 #
 COPTS = -O2 -pipe -Wall -g
 # CC = gcc
 #
 COPTS = -O2 -pipe -Wall -g
-VER = 2.3.4
+VER = 2.3.5
 LIBS =
 
 ifneq ($(wildcard /usr/lib/libcrypt*),)
 LIBS =
 
 ifneq ($(wildcard /usr/lib/libcrypt*),)
@@ -38,6 +38,10 @@ endif
 # MS-CHAP authentication protocol.
 CHAPMS=y
 USE_CRYPT=y
 # 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
 
 HAS_SHADOW=y
 #USE_PAM=y
@@ -54,6 +58,9 @@ ifndef USE_CRYPT
 LIBS     := -ldes $(LIBS)
 else
 CFLAGS   += -DUSE_CRYPT=1
 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
 endif
 PPPDOBJS += md4.o chap_ms.o
 ifdef MSLANMAN