summaryrefslogtreecommitdiffstats
path: root/util/domd
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2001-08-03 20:45:35 +0200
committerBen Laurie <ben@openssl.org>2001-08-03 20:45:35 +0200
commit75e98d0563ccb7710b099678043d28cfc35cbb57 (patch)
treed9fabdc00396831975c79b317dc6e8f01c27822c /util/domd
parentOops, one SSL_OP_NON_EXPORT_FIRST was left. (diff)
downloadopenssl-75e98d0563ccb7710b099678043d28cfc35cbb57.tar.xz
openssl-75e98d0563ccb7710b099678043d28cfc35cbb57.zip
This ghastly hack prevents CVS wars over Kerberos (which is disabled by default).
Diffstat (limited to 'util/domd')
-rwxr-xr-xutil/domd8
1 files changed, 6 insertions, 2 deletions
diff --git a/util/domd b/util/domd
index c7e28341a6..aa99cb0523 100755
--- a/util/domd
+++ b/util/domd
@@ -12,14 +12,18 @@ fi
if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi
cp Makefile.ssl Makefile.save
+# fake the presence of Kerberos
+touch $TOP/krb5.h
if [ "$MAKEDEPEND" = "gcc" ]; then
sed -e '/^# DO NOT DELETE.*/,$d' < Makefile.ssl > Makefile.tmp
echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp
- gcc -M $@ >> Makefile.tmp
+ gcc -D OPENSSL_DOING_MAKEDEPEND -M $@ >> Makefile.tmp
perl $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new
rm -f Makefile.tmp
else
- ${MAKEDEPEND} -f Makefile.ssl $@
+ ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND -f Makefile.ssl $@
perl $TOP/util/clean-depend.pl < Makefile.ssl > Makefile.new
fi
mv Makefile.new Makefile.ssl
+# unfake the presence of Kerberos
+rm $TOP/krb5.h