diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-09-23 17:05:54 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-09-23 17:07:24 +0200 |
commit | fcdf75d9460c933670a03b5d88de17838db23ee2 (patch) | |
tree | 547459cf1005a09eb64e33db02b92f111b854a04 /Makefile.in | |
parent | 7ac64b9afa00f5d8b7da94d48793cd6f70812730 (diff) |
Makefile.in: check JAVA_HOME/bin, not JAVA_HOME/include
On Mac OS X 10.8, the directory contains "bin" but not "include", so it
re-runs autogen.sh all the time.
JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Change-Id: I9065c8daef47df535f60267fc2c3e7cb23fc3910
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 15bbf4b9e873..4a16e462b357 100644 --- a/Makefile.in +++ b/Makefile.in @@ -47,7 +47,7 @@ $(BUILDDIR)/config_host.mk : $(wildcard \ $(BUILDDIR)/autogen.sh \ ) \ $(shell . $(SRCDIR)/bin/get_config_variables JAVA_HOME && \ - if test -n "$${JAVA_HOME}" -a ! -d "$${JAVA_HOME}/include"; then echo force-restart; fi) + if test -n "$${JAVA_HOME}" -a ! -d "$${JAVA_HOME}/bin"; then echo force-restart; fi) sh -c $(SRCDIR)/autogen.sh else # MAKE_RESTARTS |