[X2Go-User] [X2Go-Announcement] New X2Go releases: x2goclient, pyhoca-gui, pyhoca-cli, python-x2go

Jan Engelhardt jengelh at inai.de
Sat Jun 23 17:29:38 CEST 2012


Hooray for again no standardization between distributions.

---
 configure.ac |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Index: pinentry-x2go_0.7.5.4/configure.ac
===================================================================
--- pinentry-x2go_0.7.5.4.orig/configure.ac
+++ pinentry-x2go_0.7.5.4/configure.ac
@@ -158,7 +158,13 @@ Makefile
 
 AC_OUTPUT
 
-cd pinentry-x2go && qmake-qt4 PREFIX="$prefix" QMAKE_CFLAGS="$CFLAGS" QMAKE_LFLAGS="$LDFLAGS" QMAKE_CXXFLAGS="$CXXFLAGS $CPPFLAGS"
+for qmake in $(which qmake-qt4 qmake 2>/dev/null); do
+	break;
+done;
+if test -z "$qmake"; then
+	AC_MSG_ERROR([qmake not found])
+fi;
+cd pinentry-x2go && "$qmake" PREFIX="$prefix" QMAKE_CFLAGS="$CFLAGS" QMAKE_LFLAGS="$LDFLAGS" QMAKE_CXXFLAGS="$CXXFLAGS $CPPFLAGS"
 
 AC_MSG_NOTICE([
 	Pinentry-X2Go v${VERSION} has been configured.



More information about the x2go-user mailing list