Magellan Linux

Diff of /trunk/mage/usr/lib/mage/smage2.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1630 by niro, Fri Jan 13 13:17:21 2012 UTC revision 1631 by niro, Fri Jan 13 13:20:22 2012 UTC
# Line 242  mconfigure() Line 242  mconfigure()
242   local myopts   local myopts
243   if [[ ! -z ${CTARGET} ]]   if [[ ! -z ${CTARGET} ]]
244   then   then
245   myopts="--target=${CTARGET}"   myopts+=" --target=${CTARGET}"
246   fi   fi
247     # if requested disable-static
248     if [[ ! -z $(./configure --help | grep -- '--.*able-static') ]]
249     then
250     if mqueryfeature '!static'
251     then
252     myopts+=" --disable-static"
253     else
254     myopts+=" --enable-static"
255     fi
256     fi
257    
258     # always enable shared by default
259     if [[ ! -z $(./configure --help | grep -- '--.*able-shared') ]]
260     then
261     myopts+=" --enable-shared"
262     fi
263    
264   if [ -x ./configure ]   if [ -x ./configure ]
265   then   then

Legend:
Removed from v.1630  
changed lines
  Added in v.1631