diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-11-20 23:51:28 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-11-20 23:51:28 -0800 |
commit | b4f52e75fdd10db6148b868920a76934f8d42cb3 (patch) | |
tree | 63e39fdd250feceac0a7d3023abfa60f3b3a221f /Makefile | |
parent | d613cde8a2579f8e40248dc3839c39c89de4009e (diff) | |
download | txr-b4f52e75fdd10db6148b868920a76934f8d42cb3.tar.gz txr-b4f52e75fdd10db6148b868920a76934f8d42cb3.tar.bz2 txr-b4f52e75fdd10db6148b868920a76934f8d42cb3.zip |
configure: move Darwin check into Makefile.
* Makefile (conftest.darwin): New phony target.
* configure: Always do Darwin check via make conftest.darwin.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -469,6 +469,12 @@ conftest.yacc: conftest.ccver: $(V)$(TXR_CC) --version +.PHONY: conftest.darwin +conftest.darwin: + $(V)if echo | $(CC) -dM -E - | grep -s __APPLE__ > /dev/null 2>&1 ; then \ + echo yes ; \ + fi + .PHONY: conftest.clean conftest.clean: $(V)rm -f conftest$(EXE) conftest.[co] \ |