Port xcrun configuration to GNU/Linux.
commit5eedd0b92daed0c4178a5bea79e95962edd0874b
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Dec 2013 19:14:10 +0000 (27 11:14 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Dec 2013 19:14:10 +0000 (27 11:14 -0800)
treeeee30bdb7d5bd10350c3d70c1771bfea3419f546
parent8a6212d71de51594bea1231c90152735615d7a38
Port xcrun configuration to GNU/Linux.

* configure.ac (xcsdkdir): Default to empty.
(XCRUN): Don't require Darwin for xcrun.  Move xcrun checking to
just before AM_INIT_AUTOMAKE, to make the dependency between it
and automake clearer.
(CC): Don't use AC_PROG_CC twice; only the first use expands to the
shell code that is wanted, which breaks 'configure' on non-Darwin
platforms.  Instead, fix CC by hand if it's not found.
ChangeLog
configure.ac