lua: add reference counting for strings - this will need A LOT of testing, but it...
[openwrt.git] / package / ppp / patches / 200-makefile.patch
1 --- a/pppd/Makefile.linux
2 +++ b/pppd/Makefile.linux
3 @@ -48,21 +48,21 @@ MPPE=y
4  # Uncomment the next line to include support for PPP packet filtering.
5  # This requires that the libpcap library and headers be installed
6  # and that the kernel driver support PPP packet filtering.
7 -FILTER=y
8 +#FILTER=y
9  
10  # Uncomment the next line to enable multilink PPP (enabled by default)
11  # Linux distributions: Please leave multilink ENABLED in your builds
12  # of pppd!
13 -HAVE_MULTILINK=y
14 +#HAVE_MULTILINK=y
15  
16  # Uncomment the next line to enable the TDB database (enabled by default.)
17  # If you enable multilink, then TDB is automatically enabled also.
18  # Linux distributions: Please leave TDB ENABLED in your builds.
19 -USE_TDB=y
20 +#USE_TDB=y
21  
22 -HAS_SHADOW=y
23 +#HAS_SHADOW=y
24  #USE_PAM=y
25 -#HAVE_INET6=y
26 +HAVE_INET6=y
27  
28  # Enable plugins
29  PLUGIN=y
30 @@ -77,7 +77,7 @@ MAXOCTETS=y
31  
32  INCLUDE_DIRS= -I../include
33  
34 -COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
35 +COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP
36  
37  CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"'
38  
39 @@ -117,10 +117,10 @@ CFLAGS   += -DHAS_SHADOW
40  #LIBS     += -lshadow $(LIBS)
41  endif
42  
43 -ifneq ($(wildcard /usr/include/crypt.h),)
44 +#ifneq ($(wildcard /usr/include/crypt.h),)
45  CFLAGS  += -DHAVE_CRYPT_H=1
46  LIBS   += -lcrypt
47 -endif
48 +#endif
49  
50  ifdef NEEDDES
51  ifndef USE_CRYPT