mirror of
https://github.com/paulusmack/ppp.git
synced 2024-12-13 14:13:38 +08:00
define HAVE_CRYPT_H if we have a /usr/include/crypt.h
This commit is contained in:
parent
48e5c590d8
commit
07d7fbd622
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user