[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bacula-devel] Configure ignores $MAKE in two places


Running configure on FreeBSD 5.4, I get a pile of errors during the "Cleaning
up" phase.  The problem is that the system make is not GNU make, but the files
in src/win32 are using GNU extensions such as "define".

I tried to resolve this by setting $MAKE to gmake, but that doesn't help
because configure uses make explicitly.

This patch fixes it to be like the "Doing make of dependencies" phase:

Index: configure
===================================================================
--- configure	(revision 8230)
+++ configure	(working copy)
@@ -44687,7 +44687,7 @@
    chmod 755 install_conf_file build-depkgs-qt-console
    echo "Creating bat Makefile"
    $QMAKEBIN
-   make clean
+   ${MAKE:-make} clean
    cd ${BUILD_DIR}
 fi
 
@@ -44751,7 +44751,7 @@
 echo " "
 echo "Cleaning up"
 echo " "
-make clean
+${MAKE:-make} clean
 
 if test "x${db_type}" = "xInternal" ; then
    echo " "

Index: autoconf/configure.in
===================================================================
--- autoconf/configure.in	(revision 8230)
+++ autoconf/configure.in	(working copy)
@@ -2846,7 +2846,7 @@
    chmod 755 install_conf_file build-depkgs-qt-console
    echo "Creating bat Makefile"
    $QMAKEBIN
-   make clean
+   ${MAKE:-make} clean
    cd ${BUILD_DIR}
 fi
 
@@ -2919,7 +2919,7 @@
 echo " "
 echo "Cleaning up"
 echo " "
-make clean
+${MAKE:-make} clean
 
 if test "x${db_type}" = "xInternal" ; then
    echo " "


__Martin

------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.