From 695fdfc1964a55141de9cf88c013b4c8aeffbdbc Mon Sep 17 00:00:00 2001
From: François Andriot <francois.andriot@free.fr>
Date: Sun, 28 Sep 2014 04:27:13 +0200
Subject: Fix FTBFS if no "-e" parameter is used

---
 configure.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.py b/configure.py
index aa29ae6..ebedf9a 100644
--- a/configure.py
+++ b/configure.py
@@ -108,7 +108,7 @@ def usage(rcode = 2):
     sys.stdout.write("  -a tag  explicitly enable the qtpe module\n")
     sys.stdout.write("  -b dir  where pyuic and pylupdate will be installed [default %s]\n" % opt_pyqtbindir)
     sys.stdout.write("  -c      concatenate each module's C/C++ source files\n")
-    sys.stdout.write("  -d dir  where the PyTQt modules will be installed [default %\ns]" % opt_pyqtmoddir)
+    sys.stdout.write("  -d dir  where the PyTQt modules will be installed [default %s]\n" % opt_pyqtmoddir)
     sys.stdout.write("  -e lib  explicitly specify the python library\n")
     sys.stdout.write("  -f      keep any existing features file (when cross-compiling) [default remove]\n")
     sys.stdout.write("  -g dir  where the TQt qconfig.h file can be found [default TQt include directory]\n")
@@ -1343,6 +1343,8 @@ def main(argv):
     global opt_vendorcheck, opt_vendincdir, opt_vendlibdir
     global opt_libpython
 
+    opt_libpython = None
+
     for opt, arg in optlist:
         if opt == "-h":
             usage(0)
-- 
cgit v1.2.3

