Branch: master

695fdfc1 2014-09-27 21:27:25 François Andriot
Fix FTBFS if no "-e" parameter is used
M configure.py
diff --git a/configure.py b/configure.py
index aa29ae6..ebedf9a 100644
--- a/configure.py
+++ b/configure.py
@@ -108,7 +108,7 @@
     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 @@
     global opt_vendorcheck, opt_vendincdir, opt_vendlibdir
     global opt_libpython
 
+    opt_libpython = None
+
     for opt, arg in optlist:
         if opt == "-h":
             usage(0)