You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl-cvs@tcl.apache.org by da...@apache.org on 2001/03/14 12:44:10 UTC

cvs commit: mod_dtcl builddtcl.sh

davidw      01/03/14 03:44:09

  Modified:    .        builddtcl.sh
  Log:
  Modified builddtcl.sh for portability.
  
  Revision  Changes    Path
  1.8       +21 -19    mod_dtcl/builddtcl.sh
  
  Index: builddtcl.sh
  ===================================================================
  RCS file: /home/cvs/mod_dtcl/builddtcl.sh,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- builddtcl.sh	2001/03/08 16:49:59	1.7
  +++ builddtcl.sh	2001/03/14 11:44:05	1.8
  @@ -1,5 +1,5 @@
   #!/bin/sh
  -# $Id: builddtcl.sh,v 1.7 2001/03/08 16:49:59 davidw Exp $
  +# $Id: builddtcl.sh,v 1.8 2001/03/14 11:44:05 davidw Exp $
   
   # Name of tclsh - on FreeBSD, this is probably tclsh8.2
   TCLSH=tclsh  ######### CHANGEME ##########
  @@ -23,11 +23,13 @@
   
   # Location of Apache source install (for static installs - you can
   # comment this out for shared lib installs
  -export APACHE=$HOME/download/apache-1.3/  ######### CHANGEME ##########
  +APACHE=$HOME/download/apache-1.3/  ######### CHANGEME ##########
   # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   # APACHE=/usr/local/src/apache-1.3/
   APACHE=/
   
  +export APACHE
  +
   if [ -d $APACHE ]
       then
       echo "Apache in $APACHE"
  @@ -44,7 +46,7 @@
   if [ -f $INC/httpd.h ] 
       then
       echo "Apache includes in $INC"
  -    export INCLUDES="-I$INC"
  +    INCLUDES="-I$INC" ; export INCLUDES
       else
       echo "Apache include files *not* in $INC, please edit builddtcl.sh"
       exit 1
  @@ -53,26 +55,26 @@
   # find location of tclConfig.sh, source it, and export variables to
   # make them available to 'make'
   
  -export CONFIG=`$TCLSH ./findconfig.tcl`
  +CONFIG=`$TCLSH ./findconfig.tcl` ; export CONFIG
   echo "Using tclConfig.sh: $CONFIG"
   . $CONFIG
   
  -export TCL_CC
  -export TCL_CFLAGS_DEBUG 
  -export TCL_CFLAGS_OPTIMIZE 
  -export TCL_CFLAGS_WARNING 
  -export TCL_EXTRA_CFLAGS
  -export TCL_LIBS
  -export TCL_LIB_FLAG 
  -export TCL_LIB_SPEC
  -export TCL_PREFIX
  -export TCL_SHLIB_CFLAGS
  -export TCL_SHLIB_LD
  -export TCL_SHLIB_SUFFIX
  -export TCL_STLIB_LD 
  -export TCL_SRC_DIR
  +TCL_CC ; export TCL_CC
  +TCL_CFLAGS_DEBUG  ; export TCL_CFLAGS_DEBUG 
  +TCL_CFLAGS_OPTIMIZE  ; export TCL_CFLAGS_OPTIMIZE 
  +TCL_CFLAGS_WARNING  ; export TCL_CFLAGS_WARNING 
  +TCL_EXTRA_CFLAGS ; export TCL_EXTRA_CFLAGS
  +TCL_LIBS ; export TCL_LIBS
  +TCL_LIB_FLAG  ; export TCL_LIB_FLAG 
  +TCL_LIB_SPEC ; export TCL_LIB_SPEC
  +TCL_PREFIX ; export TCL_PREFIX
  +TCL_SHLIB_CFLAGS ; export TCL_SHLIB_CFLAGS
  +TCL_SHLIB_LD ; export TCL_SHLIB_LD
  +TCL_SHLIB_SUFFIX ; export TCL_SHLIB_SUFFIX
  +TCL_STLIB_LD  ; export TCL_STLIB_LD 
  +TCL_SRC_DIR ; export TCL_SRC_DIR
   
  -export BUILDDTCL="YES"
  +BUILDDTCL="YES" ; export BUILDDTCL
   #export C_INCLUDE_PATH
   
   # pass the first argument to make