Ignore:
Timestamp:
2013-10-22T16:23:07+13:00 (11 years ago)
Author:
ak19
Message:

Bugfix to bug Kathy and I discovered when trying to compile source comp with GS2 binary: GS2 binary has a gnome-lib-minimal folder but it's cut down just to the lib subfolder to help wvware run. The cut down version doesn't help with compiling wvware however, so the test for an existing gnome-lib-minimal has to check for whether it is a cut-down version or the full version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/configure

    r28327 r28509  
    21072107_ACEOF
    21082108
    2109 elif test -d ext/gnome-lib-minimal ; then
     2109elif test -f ext/gnome-lib-minimal/devel.bash ; then
    21102110   cat >>confdefs.h <<\_ACEOF
    21112111#define ENABLE_GNOMELIB_EXT $ENABLE_GNOMELIB_EXT
     
    21282128
    21292129      else
    2130          echo "**** WARNING: No gnome-lib or gnome-lib-minimal in gs2build/ext folder. Unable to check out gnome-lib. Disabling gnome-lib-ext."
     2130         echo "**** WARNING: No gnome-lib or gnome-lib-minimal(/devel.bash) in gs2build/ext folder. Unable to check out gnome-lib. Disabling gnome-lib-ext."
    21312131     cat >>confdefs.h <<\_ACEOF
    21322132#define ENABLE_GNOMELIB_EXT 0
     
    78727872# For a gnome-lib that's already compiled, don't need to its source ./devel.bash to configure wvware
    78737873# If a gnome-lib is not yet compiled, we compile it first with CASCADE-MAKE.sh
    7874 
    7875 if test -d ext/gnome-lib-minimal; then
     7874# Need to make sure that the gnome-lib-minimal is not the cut-down gnome-lib-minimal (which contains
     7875# only the linux/lib subfolder) that's included with linux and mac binaries, because we can't compile
     7876# wvware with the cut-down one, only run wvware with it. The test for the cut-down version is that
     7877# it does not contain devel.bash.
     7878
     7879if test -f ext/gnome-lib-minimal/devel.bash; then
    78767880   echo "*** gnome-lib (minimal) detected. Sourcing the gnomelib env for configuring wvware..."
    78777881   cd ext/gnome-lib-minimal
Note: See TracChangeset for help on using the changeset viewer.