squawk if attached to wrong DTOOL

This commit is contained in:
David Rose 2004-09-22 23:08:28 +00:00
parent 1704f805ba
commit 7117883a22

View File

@ -40,6 +40,9 @@
#if $[eq $[DTOOL],]
#error You seem to be attached to some trees, but not DTOOL!
#endif
#if $[ne $[canonical $[DTOOL]], $[canonical $[TOPDIR]]]
#error You are not attached to the right DTOOL!
#endif
#else
// Otherwise, if we are not attached, install in the standard place
// (unless the user specifies otherwise).