mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Allow for 'USE_SSL = 0' and 'USE_CRYPT = 0'
SVN revision: 2298
This commit is contained in:
parent
58668e5e47
commit
63a9db1fd7
8
Makefile
8
Makefile
@ -25,7 +25,7 @@ RCDIR = $(ROOT)/etc/rc.d/init.d
|
||||
USE_SSL = 1
|
||||
|
||||
# flag for crypt() support
|
||||
USE_CRYPT =
|
||||
USE_CRYPT = 0
|
||||
|
||||
#############################################################
|
||||
|
||||
@ -74,14 +74,18 @@ CC = gcc
|
||||
endif
|
||||
|
||||
ifdef USE_SSL
|
||||
ifneq ($(USE_SSL),0)
|
||||
CFLAGS += -DHAVE_SSL
|
||||
LIBS += -lssl
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef USE_CRYPT
|
||||
ifneq ($(USE_CRYPT),0)
|
||||
CFLAGS += -DHAVE_CRYPT
|
||||
LIBS += -lcrypt
|
||||
endif
|
||||
endif
|
||||
|
||||
WHOAMI = $(shell whoami)
|
||||
ifeq ($(WHOAMI),root)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user