Skip to content

Commit

Permalink
define NO_{RC5,IDEA} if there's no rc5.h/idea.h
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Feb 14, 2000
1 parent b4b7dee commit fad8412
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions netbsd/usr.sbin/racoon/Makefile.inc
Expand Up @@ -13,9 +13,13 @@ YFLAGS+=-d


.if exists(/usr/local/ssl/include/openssl/rc5.h) || exists(/usr/pkg/include/openssl/rc5.h) .if exists(/usr/local/ssl/include/openssl/rc5.h) || exists(/usr/pkg/include/openssl/rc5.h)
CPPFLAGS+=-DHAVE_OPENSSL_RC5_H=1 CPPFLAGS+=-DHAVE_OPENSSL_RC5_H=1
.else
CPPFLAGS+=-DNO_RC5=1
.endif .endif
.if exists(/usr/local/ssl/include/openssl/idea.h) || exists(/usr/pkg/include/openssl/idea.h) .if exists(/usr/local/ssl/include/openssl/idea.h) || exists(/usr/pkg/include/openssl/idea.h)
CPPFLAGS+=-DHAVE_OPENSSL_IDEA_H=1 CPPFLAGS+=-DHAVE_OPENSSL_IDEA_H=1
.else
CPPFLAGS+=-DNO_IDEA=1
.endif .endif
.if exists(/usr/local/ssl/include/poenssl/cversion.h) || exists(/usr/pkg/include/openssl/cversion.h) .if exists(/usr/local/ssl/include/poenssl/cversion.h) || exists(/usr/pkg/include/openssl/cversion.h)
CPPFLAGS+=-DHAVE_OPENSSL_CVERSION_H=1 CPPFLAGS+=-DHAVE_OPENSSL_CVERSION_H=1
Expand Down

0 comments on commit fad8412

Please sign in to comment.