diff options
author | Ben Laurie <ben@openssl.org> | 2001-08-03 18:45:35 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2001-08-03 18:45:35 +0000 |
commit | 75e98d0563ccb7710b099678043d28cfc35cbb57 (patch) | |
tree | d9fabdc00396831975c79b317dc6e8f01c27822c /util | |
parent | e9eb000c533058d2d39d71f6681b764a02f76ce9 (diff) | |
download | openssl-75e98d0563ccb7710b099678043d28cfc35cbb57.tar.gz |
This ghastly hack prevents CVS wars over Kerberos (which is disabled by default).
Diffstat (limited to 'util')
-rwxr-xr-x | util/clean-depend.pl | 2 | ||||
-rwxr-xr-x | util/domd | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/util/clean-depend.pl b/util/clean-depend.pl index 15ce8f0959..8e27aaae5e 100755 --- a/util/clean-depend.pl +++ b/util/clean-depend.pl @@ -23,6 +23,8 @@ while(<STDIN>) { @deps=grep(!/^\//,@deps); @deps=grep(!/^\\$/,@deps); @deps=grep(!/^$origfile$/,@deps); +# pull out the kludged kerberos header (if present). + @deps=grep(!/^[.\/]+\/krb5.h/,@deps); push @{$files{$thisfile}},@deps; } @@ -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 |