]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/Makefile.linux
Assume that we have libcrypt if we have /usr/include/crypt.h.
[ppp.git] / pppd / Makefile.linux
index d75b20c7086988d717768b85beb0815599233b0b..306f8f3979b5b145e969880bb19f97a884c49421 100644 (file)
@@ -1,6 +1,6 @@
 #
 # pppd makefile for Linux
 #
 # pppd makefile for Linux
-# $Id: Makefile.linux,v 1.67 2005/07/10 11:19:10 paulus Exp $
+# $Id: Makefile.linux,v 1.68 2005/07/12 01:50:23 paulus Exp $
 #
 
 # Default installation locations
 #
 
 # Default installation locations
@@ -118,9 +118,7 @@ CFLAGS   += -DHAS_SHADOW
 endif
 
 ifneq ($(wildcard /usr/include/crypt.h),)
 endif
 
 ifneq ($(wildcard /usr/include/crypt.h),)
-CFLAGS   += -DHAVE_CRYPT_H=1
-endif
-ifneq ($(wildcard /usr/lib/libcrypt.*),)
+CFLAGS  += -DHAVE_CRYPT_H=1
 LIBS   += -lcrypt
 endif
 
 LIBS   += -lcrypt
 endif