Permalink
Browse files

define NO_{RC5,IDEA} if there's no rc5.h/idea.h

  • Loading branch information...
1 parent b4b7dee commit fad84126f84ffc833bc964c0453edf0e6fdd1d99 itojun committed Feb 14, 2000
Showing with 4 additions and 0 deletions.
  1. +4 −0 netbsd/usr.sbin/racoon/Makefile.inc
@@ -13,9 +13,13 @@ YFLAGS+=-d
.if exists(/usr/local/ssl/include/openssl/rc5.h) || exists(/usr/pkg/include/openssl/rc5.h)
CPPFLAGS+=-DHAVE_OPENSSL_RC5_H=1
+.else
+CPPFLAGS+=-DNO_RC5=1
.endif
.if exists(/usr/local/ssl/include/openssl/idea.h) || exists(/usr/pkg/include/openssl/idea.h)
CPPFLAGS+=-DHAVE_OPENSSL_IDEA_H=1
+.else
+CPPFLAGS+=-DNO_IDEA=1
.endif
.if exists(/usr/local/ssl/include/poenssl/cversion.h) || exists(/usr/pkg/include/openssl/cversion.h)
CPPFLAGS+=-DHAVE_OPENSSL_CVERSION_H=1

0 comments on commit fad8412

Please sign in to comment.