Changeset 1940


Ignore:
Timestamp:
2001-02-09T15:17:26+13:00 (23 years ago)
Author:
jrm21
Message:

Only configure/build YAZ if z3950 support is enabled in configure.

Location:
trunk/gsdl/packages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/Makefile.in

    r1936 r1940  
    3030# clean, and distclean.
    3131USE_Z3950=@USE_Z3950@
    32 ifeq ($(USE_Z3950, 1)
     32ifeq ($(USE_Z3950), 1)
    3333YAZ=yaz
    3434else
  • trunk/gsdl/packages/configure

    r1715 r1940  
    2424        fi
    2525        ;;
     26    --enable-z3950)
     27        USE_Z3950=true
     28        ;;
    2629    *)
    2730        # ignore all other options for now
     
    4548
    4649# YAZ Z39.50 toolkit
    47 echo ""
    48 echo "Configuring YAZ"
    49 echo ""
    50 cd "$PACKAGES/yaz"
    51 ./configure $CACHE_FILE
    52 
     50if test x"$USE_Z3950" = "xtrue";
     51then
     52  echo ""
     53  echo "Configuring YAZ"
     54  echo ""
     55  cd "$PACKAGES/yaz"
     56  ./configure $CACHE_FILE
     57else
     58  echo ""
     59  echo "Z39.50 support disabled - YAZ library not required"
     60  echo ""
     61fi
    5362
    5463# configure wget
Note: See TracChangeset for help on using the changeset viewer.