build: make the 'wrong version of waf' message even clearer
authorAndrew Tridgell <tridge@samba.org>
Wed, 14 Apr 2010 23:14:10 +0000 (09:14 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 14 Apr 2010 23:22:24 +0000 (09:22 +1000)
suggest ./autogen-waf.sh

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)