Changeset 2725 for trunk/gsdl


Ignore:
Timestamp:
2001-08-30T17:24:47+12:00 (23 years ago)
Author:
jrm21
Message:

we now pass --host and --target flags to the sub-packages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/configure

    r2642 r2725  
    88prefix=""
    99bindir=""
     10HOSTTARGETFLAGS=""
    1011
    1112USE_CORBA=false
     
    6061          true
    6162        fi
     63        ;;
     64    --host=* | --target=*)
     65        HOSTTARGETFLAGS="$HOSTTARGETFLAGS $1"
    6266        ;;
    6367    *)
     
    127131cd wv-gs
    128132# datadir is for default location of wvHtml.xml config file
    129 ./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir="$bindir" --datadir="$prefix/etc/packages"
     133./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir="$bindir" --datadir="$prefix/etc/packages" $HOSTTARGETFLAGS
    130134
    131135# configure the pdftohtml converter
     
    139143# following line is temporary...
    140144rm -f xpdf/config.h
    141 ./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir"
     145./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS
    142146
    143147# rtftohtml converter
     
    149153gzip -dc rtftohtml-gs.tar.gz | tar -xf -
    150154#cd rtftohtml_src
    151 #./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir"
     155#./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS
    152156
    153157
     
    159163  echo ""
    160164  cd "$PACKAGES/yaz"
    161   ./configure $CACHE_FILE
     165  ./configure $CACHE_FILE $HOSTTARGETFLAGS
    162166else
    163167  echo "Z39.50 support disabled - YAZ library not required."
     
    173177gzip -dc wget.tar.gz | tar -xf -
    174178cd $PACKAGES/wget/wget-1.5.3
    175 ./configure $CACHE_FILE --prefix=$PACKAGES/wget --bindir="$bindir"
     179./configure $CACHE_FILE --prefix=$PACKAGES/wget --bindir="$bindir" $HOSTTARGETFLAGS
    176180
    177181
Note: See TracChangeset for help on using the changeset viewer.