237 |
|
|
238 |
mconfigure() |
mconfigure() |
239 |
{ |
{ |
240 |
|
local myopts |
241 |
|
if [[ ! -z ${CTARGET} ]] |
242 |
|
then |
243 |
|
myopts="--target=${CTARGET}" |
244 |
|
fi |
245 |
|
|
246 |
if [ -x ./configure ] |
if [ -x ./configure ] |
247 |
then |
then |
248 |
./configure \ |
./configure \ |
255 |
--sysconfdir=/etc \ |
--sysconfdir=/etc \ |
256 |
--localstatedir=/var/lib \ |
--localstatedir=/var/lib \ |
257 |
--libdir=/usr/$(mlibdir) \ |
--libdir=/usr/$(mlibdir) \ |
258 |
|
${myopts} \ |
259 |
"$@" || die "mconfigure failed" |
"$@" || die "mconfigure failed" |
260 |
else |
else |
261 |
echo "configure is not an executable ..." |
echo "configure is not an executable ..." |