Fix a small bug in the musrfit configure script

This commit is contained in:
Bastian M. Wojek
2011-08-28 13:28:05 +00:00
parent a3bfa4e70b
commit b74a98c71c

View File

@ -14,6 +14,11 @@ dnl -----------------------------------------------
#The above macro does not work if pkg-config is not installed, therefore, for the moment we stay with the solution below: #The above macro does not work if pkg-config is not installed, therefore, for the moment we stay with the solution below:
m4_ifdef([PKG_CHECK_MODULES],[],AC_MSG_ERROR([Please install pkg-config before configuring musrfit!])) m4_ifdef([PKG_CHECK_MODULES],[],AC_MSG_ERROR([Please install pkg-config before configuring musrfit!]))
dnl -----------------------------------------------
dnl Save the configure command
dnl -----------------------------------------------
CONFIGCOMMAND="$0 $@"
dnl ----------------------------------------------- dnl -----------------------------------------------
dnl Package names and version numbers dnl Package names and version numbers
dnl ----------------------------------------------- dnl -----------------------------------------------
@ -776,7 +781,7 @@ if test "x$enable_editor" != "xno"; then
fi fi
done done
fi fi
if test -x "x${QMAKEBIN}" = "x"; then if test "x${QMAKEBIN}" = "x"; then
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
AC_MSG_ERROR([qmake for Qt3 cannot be found at ${QT3_PREFIX}/bin/qmake!]) AC_MSG_ERROR([qmake for Qt3 cannot be found at ${QT3_PREFIX}/bin/qmake!])
fi] fi]
@ -798,7 +803,7 @@ if test "x$enable_editor" != "xno"; then
fi fi
done done
fi fi
if test -x "x${QMAKEBIN}" = "x"; then if test "x${QMAKEBIN}" = "x"; then
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
AC_MSG_ERROR([qmake for Qt4 cannot be found at ${QT4_PREFIX}/bin/qmake!]) AC_MSG_ERROR([qmake for Qt4 cannot be found at ${QT4_PREFIX}/bin/qmake!])
fi fi
@ -1053,8 +1058,16 @@ echo "+
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo "" echo ""
echo " Invocation command line:"
echo " ------------------------"
echo ""
echo " $ ${CONFIGCOMMAND}"
echo ""
echo ""
echo " System:" echo " System:"
echo " -------" echo " -------"
echo ""
echo " $host" echo " $host"
echo "" echo ""
echo "" echo ""