From: Michal Sojka Date: Mon, 28 Oct 2013 19:28:13 +0000 (+0100) Subject: Perform compilation checks with --enable-orte-idl X-Git-Tag: v0.3.4~13 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/orte.git/commitdiff_plain/002d4723161d4d509b42685463d82c88104a9a3f Perform compilation checks with --enable-orte-idl --- diff --git a/Makefile.git b/Makefile.git index d70ea22..4ce96ef 100644 --- a/Makefile.git +++ b/Makefile.git @@ -14,6 +14,8 @@ all: VER=$(shell git describe --match='v[0-9]*' | sed -e 's/^v\(.*\)/\1/') +CONFIGURE_FLAGS = --enable-orte-idl + configure: git check: configure @@ -24,6 +26,7 @@ check-windows: $(MAKE) -C _check-win -f ../Makefile.git $@.real check-windows.real: +# We don't have libIDL for mingw, so we check without --enable-orte-idl ../configure --host=i586-mingw32msvc CC=i586-mingw32msvc-gcc || \ ../configure --host=i686-w64-mingw32 CC=i686-w64-mingw32-gcc $(MAKE) @@ -31,7 +34,7 @@ check-windows.real: check-autotools: mkdir -p _check-autotools - cd _check-autotools && ../configure + cd _check-autotools && ../configure $(CONFIGURE_FLAGS) cd _check-autotools && $(MAKE) check-java: JAVAC=$(shell readlink -f $(which javac)) @@ -69,7 +72,7 @@ dist-check: orte-$(VER).tar.gz tar xf $< # Check that we can compile the content of the tarball mkdir orte-$(VER)/_build - cd orte-$(VER)/_build && ../configure && make V=0 + cd orte-$(VER)/_build && ../configure $(CONFIGURE_FLAGS) && make V=0 mkdir orte-$(VER)/_win - cd orte-$(VER)/_win && ../configure --host=i686-w64-mingw32 CC=i686-w64-mingw32-gcc && make V=0 + cd orte-$(VER)/_win && ../configure --host=i686-w64-mingw32 CC=i686-w64-mingw32-gcc $(CONFIGURE_FLAGS) && make V=0 rm -rf orte-$(VER)