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:52 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-09-27 13:22:52 +0000
commit25c26eaf0300575b6fba8c67233785bb0bde8c06 (patch)
tree53cd775c514b7b07b14c75bdeaf6b440feb86537 /configure
parentf15063b2bb3d5a59cc661f2f5f8fd2a3f1e25b39 (diff)
downloads6-portable-utils-25c26eaf0300575b6fba8c67233785bb0bde8c06.tar.gz
s6-portable-utils-25c26eaf0300575b6fba8c67233785bb0bde8c06.tar.xz
s6-portable-utils-25c26eaf0300575b6fba8c67233785bb0bde8c06.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 () {