Changeset 12494
- Timestamp:
- 2006-08-22T14:58:18+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/packages/configure
r12007 r12494 19 19 USE_CORBA=false 20 20 MICO_DIR=default 21 21 # yaz compilation enabled by default, can switch it off with --disable-yaz 22 USE_YAZ=true 23 # z3950 server disabled by default, switch it on with --enable-z3950 24 USE_Z3950=false 22 25 # parse any arguments given from toplevel configure 23 26 while test $# -ne 0; do … … 39 42 --enable-z3950) 40 43 USE_Z3950=true 44 ;; 45 --disable-yaz) 46 USE_YAZ=false 41 47 ;; 42 48 --enable-corba) … … 160 166 161 167 162 # YAZ Z39.50 toolkit163 echo "" 164 echo "Configuring YAZ"168 # D2M stuff needed for z3950server 169 echo "" 170 echo "Configuring D2M" 165 171 if test x$USE_Z3950 = xtrue ; 166 172 then 173 USE_YAZ=true 174 echo "" 175 cd "$PACKAGES/d2m" 176 ./configure $CACHE_FILE --prefix="$PACKAGES/d2m" $HOSTTARGETFLAGS 177 else 178 echo "Z39.50 support disabled - D2M library not required." 179 echo " add '--enable-z3950' to the configure command to include z39.50 support." 180 echo "" 181 fi 182 183 # YAZ Z39.50 toolkit 184 echo "" 185 echo "Configuring YAZ" 186 if test x$USE_YAZ = xtrue ; 187 then 188 echo "YAZ library support enabled" 189 echo "add --disable-yaz to the configure command to disable this" 167 190 echo "" 168 191 cd "$PACKAGES/yaz" 169 192 gzip -dc yaz-2.1.4.tar.gz | tar -xf - 170 193 cd yaz-2.1.4 && \ 171 ./configure $CACHE_FILE --prefix="$PACKAGES/yaz" --with-xml2=no --with-iconv=no $HOSTTARGETFLAGS 172 cd "$PACKAGES/d2m" 173 ./configure $CACHE_FILE --prefix="$PACKAGES/d2m" $HOSTTARGETFLAGS 194 ./configure $CACHE_FILE --prefix="$PACKAGES/yaz" $HOSTTARGETFLAGS 174 195 else 175 echo "Z39.50 support disabled - YAZ library not required." 176 echo " add '--enable-z3950' to the configure command to include z39.50 support." 196 echo "YAZ support disabled" 177 197 echo "" 178 198 fi
Note:
See TracChangeset
for help on using the changeset viewer.