Changeset 998


Ignore:
Timestamp:
2000-03-01T10:54:18+13:00 (24 years ago)
Author:
sjboddie
Message:

tidied up configuration a bit

Location:
trunk/gsdl
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/builddemo.sh

    r975 r998  
    77
    88# set some environment variables
    9 export GSDLHOME=`pwd`
    10 export GSDLOS=`uname -s | tr A-Z a-z`
    11 export PATH=$PATH:$GSDLHOME/bin/script:$GSDLHOME/bin/$GSDLOS
     9GSDLHOME=`pwd`
     10export GSDLHOME
     11GSDLOS=`uname -s | tr A-Z a-z`
     12export GSDLOS
     13PATH=$PATH:$GSDLHOME/bin/script:$GSDLHOME/bin/$GSDLOS
     14export PATH
    1215
    1316# do the import
    1417import.pl demo
    1518
    16 if test ! -e $GSDLHOME/collect/demo/archives/archives.inf; then
     19if (test ! -e $GSDLHOME/collect/demo/archives/archives.inf;) then
    1720    echo "import.pl failed"; exit 1;
    1821fi
     
    2124buildcol.pl demo
    2225
    23 if test ! -e $GSDLHOME/collect/demo/building/text/demo.ldb; then
    24     if test ! -e $GSDLHOME/collect/demo/building/text/demo.bdb; then
     26if (test ! -e $GSDLHOME/collect/demo/building/text/demo.ldb;) then
     27    if (test ! -e $GSDLHOME/collect/demo/building/text/demo.bdb;) then
    2528    echo "buildcol.pl failed"; exit 1;
    2629    fi
    2730fi
    2831
    29 if test ! -d $GSDLHOME/collect/demo/building/index; then
    30 #    rm -rf $GSDLHOME/collect/demo/index/*
    31 else
     32if (test ! -d $GSDLHOME/collect/demo/building/index;) then
    3233    mkdir $GSDLHOME/collect/demo/index
    3334fi
  • trunk/gsdl/config.h.in

    r816 r998  
    141141#undef HAVE_VALLOC
    142142
     143/* Define if you have the <crypt.h> header file.  */
     144#undef HAVE_CRYPT_H
     145
    143146/* Define if you have the <dirent.h> header file.  */
    144147#undef HAVE_DIRENT_H
     
    174177#undef HAVE_UNISTD_H
    175178
     179/* Define if you have the crypt library (-lcrypt).  */
     180#undef HAVE_LIBCRYPT
     181
    176182/* Define if you have the g library (-lg).  */
    177183#undef HAVE_LIBG
     
    183189#undef HAVE_LIBM
    184190
    185 /* Define if you have the stdc library (-lstdc).  */
    186 #undef HAVE_LIBSTDC
     191/* Define if you have the stdc++ library (-lstdc++).  */
     192#undef HAVE_LIBSTDC__
  • trunk/gsdl/configure

    r986 r998  
    21962196fi
    21972197
    2198 for ac_hdr in fcntl.h limits.h sys/time.h unistd.h string.h memory.h sys/procfs.h
     2198for ac_hdr in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h
    21992199do
    22002200ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  • trunk/gsdl/configure.in

    r986 r998  
    7474AC_HEADER_DIRENT
    7575AC_HEADER_STDC
    76 AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h string.h memory.h sys/procfs.h)
     76AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h)
    7777AC_EGREP_HEADER(fread, stdio.h, AC_DEFINE(HAVE_FREAD_DECL))
    7878AC_EGREP_HEADER(fgetc, stdio.h, AC_DEFINE(HAVE_FGETC_DECL))
Note: See TracChangeset for help on using the changeset viewer.