about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-09-27 13:22:33 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-09-27 13:22:33 +0000
commitb189876a10023325d28bc439b956ff83dbe51845 (patch)
tree28be118e81de09379c65899fd97a772c1f80c870 /configure
parentc043c47247dd6cb19e53ca44754b00f9db8ea2d9 (diff)
downloads6-b189876a10023325d28bc439b956ff83dbe51845.tar.gz
s6-b189876a10023325d28bc439b956ff83dbe51845.tar.xz
s6-b189876a10023325d28bc439b956ff83dbe51845.zip
configure: allow $CC to have several words
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f0b2653..0d5867a 100755
--- a/configure
+++ b/configure
@@ -78,7 +78,7 @@ cmdexists () {
 }
 
 trycc () {
-  test -z "$CC_AUTO" && cmdexists "$1" && CC_AUTO=$1
+  test -z "$CC_AUTO" && cmdexists "$1" && CC_AUTO="$*"
 }
 
 stripdir () {