Changeset 22130 for other-projects/cascade-make/trunk/lib/cascade-lib.bash
- Timestamp:
- 2010-05-20T01:12:26+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/cascade-make/trunk/lib/cascade-lib.bash
r22122 r22130 97 97 opt_run_configure() 98 98 { 99 local force_config=$1 100 local auto_config=$2 101 local package=$3 102 local version=$4 103 local prefix=$5 104 local opt_args=""; 105 106 if [ ! -z "$6" ] ; then 107 opt_args=$6 108 fi 99 local force_config=$1; shift 100 local auto_config=$1; shift 101 local package=$1; shift 102 local version=$1; shift 103 local prefix=$1; shift 109 104 110 105 if [ $force_config = "1" ] ; then 111 106 echo "[pushd $package$version]" 112 107 ( cd $package$version ; \ 113 echo ./configure --prefix="$prefix" $ opt_args; \114 ./configure --prefix="$prefix" $ opt_args)108 echo ./configure --prefix="$prefix" $CROSSCOMPILE $@ ; \ 109 ./configure --prefix="$prefix" $CROSSCOMPILE $@ ) 115 110 if [ $? != 0 ] ; then 116 111 echo " Error encountered running *configure* stage of $progname"
Note:
See TracChangeset
for help on using the changeset viewer.