diff options
author | jim <empty> | 1989-10-16 18:34:21 +0000 |
---|---|---|
committer | jim <empty> | 1989-10-16 18:34:21 +0000 |
commit | cefa8442df4c0c9c9dfdbe808e1dc4c68a4f70ac (patch) | |
tree | 4e2cc8a9d2b1389202a77b88b37efffea1f6baea /xc/config | |
parent | 4eddd517e7e212b0ab86ef640655ed2dde65a348 (diff) |
simplified arg processing
Diffstat (limited to 'xc/config')
-rw-r--r-- | xc/config/util/xmkmf.cpp | 14 |
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 |