244 |
then |
then |
245 |
myopts+=" --target=${CTARGET}" |
myopts+=" --target=${CTARGET}" |
246 |
fi |
fi |
247 |
|
|
248 |
|
if [ -x ./configure ] |
249 |
|
then |
250 |
# if requested disable-static |
# if requested disable-static |
251 |
if [[ ! -z $(./configure --help | grep -- '--.*able-static') ]] |
if [[ ! -z $(./configure --help | grep -- '--.*able-static') ]] |
252 |
then |
then |
264 |
myopts+=" --enable-shared" |
myopts+=" --enable-shared" |
265 |
fi |
fi |
266 |
|
|
|
if [ -x ./configure ] |
|
|
then |
|
267 |
./configure \ |
./configure \ |
268 |
--prefix=/usr \ |
--prefix=/usr \ |
269 |
--host=${CHOST} \ |
--host=${CHOST} \ |