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/build-src/configure

    r28328 r28509  
    19911991_ACEOF
    19921992
    1993 elif test -d $gshome/ext/gnome-lib-minimal ; then
     1993elif test -f $gshome/ext/gnome-lib-minimal/devel.bash ; then
    19941994   cat >>confdefs.h <<\_ACEOF
    19951995#define ENABLE_GNOMELIB_EXT $ENABLE_GNOMELIB_EXT
     
    19971997
    19981998else
    1999    echo "**** WARNING: No gnome-lib or gnome-lib-minimal in gs2build/ext folder. Disabling gnome-lib-ext"
     1999   echo "**** WARNING: No gnome-lib or gnome-lib-minimal(/devel.bash) in gs2build/ext folder. Disabling gnome-lib-ext"
    20002000   cat >>confdefs.h <<\_ACEOF
    20012001#define ENABLE_GNOMELIB_EXT 0
     
    84108410# For a gnome-lib that's already compiled, don't need to its source ./devel.bash to configure wvware
    84118411# If a gnome-lib is not yet compiled, we compile it first with CASCADE-MAKE.sh
     8412# Need to make sure that the gnome-lib-minimal is not the cut-down gnome-lib-minimal (which contains
     8413# only the linux/lib subfolder) that's included with linux and mac binaries, because we can't compile
     8414# wvware with the cut-down one, only run wvware with it. The test for the cut-down version is that
     8415# it does not contain devel.bash.
    84128416
    84138417if test $ENABLE_GNOMELIB_EXT = 1; then
     
    84218425   fi
    84228426
    8423    if test -d $gshome/ext/gnome-lib-minimal; then
     8427   if test -f $gshome/ext/gnome-lib-minimal/devel.bash; then
    84248428      echo "*** gnome-lib (minimal) detected. Sourcing the gnomelib env for configuring wvware..."
    84258429      cd $gshome/ext/gnome-lib-minimal
Note: See TracChangeset for help on using the changeset viewer.