Show
Ignore:
Timestamp:
14.12.2011 19:20:29 (8 years ago)
Author:
ak19
Message:

GSDLARCH used in Linux makefiles when working out the cgi-bin path (now cgi-bin\GSDL_OS_ARCH) to install the binaries into.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/configure.in

    r23356 r24901  
    224224  if test -z "$COMPAT32BITFLAGS" ; then 
    225225    COMPAT32BITFLAGS="-m32" 
     226    gsdlarch='64' 
    226227  fi 
    227228else 
     
    229230  if test -z "$COMPAT32BITFLAGS" ; then 
    230231    COMPAT32BITFLAGS= 
     232    gsdlarch='32' 
    231233  fi 
    232234fi 
     
    440442 fi 
    441443AC_SUBST(gsdlos) 
     444 
     445# Make gsdlarch empty if the OS bit value (32 or 64) is not used in naming  
     446# directories already or if runtime-src is compiled up on its own. 
     447# E.g. 32/64 bit won't be used in the SVN version if only bin/linux exists. 
     448if test -d "../bin/$gsdlos" -o ! -f "../setup.bash" ; then 
     449   gsdlarch="" 
     450fi 
     451AC_SUBST(gsdlarch) 
    442452 
    443453# check for endianness