aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index adf9eb48..1b810158 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $Id: configure,v 1.54 2016/11/19 15:24:51 schwarze Exp $
+# $Id: configure,v 1.55 2017/01/12 15:45:05 schwarze Exp $
#
# Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org>
#
@@ -145,10 +145,10 @@ ismanual() {
singletest() {
cat 1>&3 << __HEREDOC__
${1}${3}: testing...
-${COMP} ${3} -o test-${1} test-${1}.c
+${COMP} -o test-${1} test-${1}.c ${3}
__HEREDOC__
- if ${COMP} ${3} -o "test-${1}" "test-${1}.c" 1>&3 2>&3; then
+ if ${COMP} -o "test-${1}" "test-${1}.c" ${3} 1>&3 2>&3; then
echo "${1}${3}: ${CC} succeeded" 1>&3
else
echo "${1}${3}: ${CC} failed with $?" 1>&3