summaryrefslogtreecommitdiff
path: root/xc/config
diff options
context:
space:
mode:
Diffstat (limited to 'xc/config')
-rw-r--r--xc/config/util/xmkmf.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/xc/config/util/xmkmf.cpp b/xc/config/util/xmkmf.cpp
index 3ffc5fa3f..cff9ce1c7 100644
--- a/xc/config/util/xmkmf.cpp
+++ b/xc/config/util/xmkmf.cpp
@@ -23,16 +23,10 @@ if [ -f Makefile ]; then
fi
if [ "$topdir" = "" ]; then
- arginst=-DUseInstalled
- argtopdir=
- argcurdir=
- argdir=CONFIGDIRSPEC
+ args="-DUseInstalled "CONFIGDIRSPEC
else
- arginst=
- argtopdir=-DTOPDIR=$topdir
- argcurdir=-DCURDIR=$curdir
- argdir=-I$topdir/config
+ args="-DTOPDIR=$topdir -DCURDIR=$curdir -I$topdir/config"
fi
-echo imake $arginst $argtopdir $argcurdir $argdir
-imake $arginst $argtopdir $argcurdir $argdir
+echo imake $args
+imake $args