[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r115794: * configure.ac: Fix CC detection for xcrun
From: |
Jan D. |
Subject: |
[Emacs-diffs] trunk r115794: * configure.ac: Fix CC detection for xcrun case. |
Date: |
Sat, 28 Dec 2013 10:13:00 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 115794
revision-id: address@hidden
parent: address@hidden
committer: Jan D. <address@hidden>
branch nick: trunk
timestamp: Sat 2013-12-28 11:12:43 +0100
message:
* configure.ac: Fix CC detection for xcrun case.
modified:
ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1538
configure.ac
configure.in-20091113204419-o5vbwnq5f7feedwu-783
=== modified file 'ChangeLog'
--- a/ChangeLog 2013-12-28 00:40:58 +0000
+++ b/ChangeLog 2013-12-28 10:12:43 +0000
@@ -1,3 +1,7 @@
+2013-12-28 Jan Djärv <address@hidden>
+
+ * configure.ac: Fix CC detection for xcrun case.
+
2013-12-28 Paul Eggert <address@hidden>
Fix problem with MAKE and xcrun configuration.
=== modified file 'configure.ac'
--- a/configure.ac 2013-12-28 00:40:58 +0000
+++ b/configure.ac 2013-12-28 10:12:43 +0000
@@ -654,17 +654,14 @@
#### Choose a compiler.
dnl Sets GCC=yes if using gcc.
-AC_PROG_CC
if test -n "$XCRUN"; then
if test -z "$CC"; then
- if $XCRUN gcc --version >/dev/null 2>&1; then
- CC="$XCRUN gcc"
- elif $XCRUN clang --version >/dev/null 2>&1; then
- CC="$XCRUN clang"
- fi
+ AC_PROG_CC([gcc cc cl clang "$XCRUN gcc" "$XCRUN clang"])
fi
AC_CHECK_PROGS(AR, [ar "$XCRUN ar"])
test -n "$AR" && export AR
+else
+ AC_PROG_CC
fi
AM_PROG_CC_C_O
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r115794: * configure.ac: Fix CC detection for xcrun case.,
Jan D. <=