[vlc-devel] commit: Fix compile file to use gmake instead of make for OpenBSD. ( Rémi Duraffort )

git version control git at videolan.org
Tue Nov 24 17:52:05 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Nov 24 17:50:15 2009 +0100| [81715185e318289c6e2b06474ba1acd54df92a25] | committer: Rémi Duraffort 

Fix compile file to use gmake instead of make for OpenBSD.
(This is a really tiny fix but I'm used to use compile script).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=81715185e318289c6e2b06474ba1acd54df92a25
---

 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index ddea7da..875fc96 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5323,13 +5323,15 @@ chmod 0755 vlc-config
 /bin/echo -n "Enabled modules: "
 ./vlc-config --list plugin
 
+dnl Do we have to use make or gmake ?
+USE_MAKE_OR_GMAKE=`case "${SYS}" in openbsd*) echo "gmake";; *) echo "make";; esac`
 dnl Shortcut to nice compile message
 rm -f compile
 echo '#! /bin/sh' >compile
 echo rm -f .error\$\$ >>compile
 echo ERROR=0 >>compile
 echo export PATH=$PATH LANG=C >>compile
-echo "(make V=1 \$@ 2>&1 || touch .error\$\$)| \\" >>compile
+echo "($USE_MAKE_OR_GMAKE V=1 \$@ 2>&1 || touch .error\$\$)| \\" >>compile
 echo '`sed -ne "s/^top_srcdir *= *//p" < Makefile`/extras/buildsystem/make.pl' >>compile
 echo test -f .error\$\$ \&\& ERROR=1 >>compile
 echo rm -f .error\$\$ >>compile
@@ -5357,7 +5359,7 @@ fi
 echo "plugins/bindings      :${PLUGINS_BINDINGS}
 
 You can tune the compiler flags in vlc-config.
-To build vlc and its plugins, type \`./compile' or \`make'.
+To build vlc and its plugins, type \`./compile' or \`$USE_MAKE_OR_GMAKE'.
 "
 if test "x$ac_ld_does_not_support_text_reloc" = "xyes"; then
    echo ""




More information about the vlc-devel mailing list