build: make the 'wrong version of waf' message even clearer
[samba.git] / buildtools / wafsamba / wafsamba.py
index de244e18fe539480cb6550310b5fe63d684c4e53..dd9cbd604cca9f8e5b7b55e368fc671f3a67c0e0 100644 (file)
@@ -40,7 +40,10 @@ if Constants.HEXVERSION < 0x105016:
     Logs.error('''
 Please use the version of waf that comes with Samba, not
 a system installed version. See http://wiki.samba.org/index.php/Waf
-for details
+for details.
+
+Alternatively, please use ./autogen-waf.sh, and then
+run ./configure and make as usual. That will call the right version of waf.
 ''')
     sys.exit(1)