cvs commit: apache-1.3/src Configure

1998-12-09 Thread jim
jim 98/12/09 14:07:52

  Modified:src  Configure
  Log:
  Typo: lack of newline
  
  Revision  ChangesPath
  1.312 +2 -1  apache-1.3/src/Configure
  
  Index: Configure
  ===
  RCS file: /export/home/cvs/apache-1.3/src/Configure,v
  retrieving revision 1.311
  retrieving revision 1.312
  diff -u -r1.311 -r1.312
  --- Configure 1998/12/09 21:26:14 1.311
  +++ Configure 1998/12/09 22:07:51 1.312
  @@ -1801,7 +1801,8 @@
  sed -e 's;^EXTRA_CFLAGS=;;' -e 's;\`.*\`;;'`
   tmpstr=`echo $CFLAGS $TEXTRA_CFLAGS |\
   sed -e 's;[  ]-;!-;g' -e 's/\\\"/\"/g' -e 's/\([^\\]\)"/\1/g'`
  -OIFS="$IFS" IFS='!'
  +OIFS="$IFS"
  +IFS='!'
   for cflag in $tmpstr; do
   echo "$cflag" >>$tmpconfig
   done
  
  
  


cvs commit: apache-1.3/src/helpers TestCompile

1998-12-09 Thread randy
randy   98/12/09 13:26:20

  Modified:src  Configure
   src/helpers TestCompile
  Log:
  Fix a rare case where our use of 'make' would fail or yield bogus
  results if Configure was called from a Makefile shell. Default to 'make'
  if MAKE is not in the enviroment.
  
  Revision  ChangesPath
  1.311 +8 -1  apache-1.3/src/Configure
  
  Index: Configure
  ===
  RCS file: /home/cvs/apache-1.3/src/Configure,v
  retrieving revision 1.310
  retrieving revision 1.311
  diff -u -r1.310 -r1.311
  --- Configure 1998/12/06 16:14:17 1.310
  +++ Configure 1998/12/09 21:26:14 1.311
  @@ -744,6 +744,13 @@
   esac
   
   
  +## set this if we haven't
  +##
  +if [ ".${MAKE}" = . ]; then
  +MAKE='make'; export MAKE
  +fi
  +
  +
   ## Show user what OS we came up with
   ##
   echo " + configured for $OS platform"
  @@ -1725,7 +1732,7 @@
   ## it uses ugly looking built-in directory walk messages
   ## while we are already using our own messages
   ##
  -if [ "x`make -v 2>/dev/null | grep 'GNU Make'`" = "x" ]; then
  +if [ "x`${MAKE} -v 2>/dev/null | grep 'GNU Make'`" = "x" ]; then
MFLAGS_STATIC=
   else
MFLAGS_STATIC=--no-print-directory
  
  
  
  1.22  +1 -1  apache-1.3/src/helpers/TestCompile
  
  Index: TestCompile
  ===
  RCS file: /home/cvs/apache-1.3/src/helpers/TestCompile,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- TestCompile   1998/12/03 01:03:46 1.21
  +++ TestCompile   1998/12/09 21:26:19 1.22
  @@ -143,7 +143,7 @@
   EOF
   
   # Now run that Makefile
  -eval "make $TARGET >/dev/null $ERRDIR"
  +eval "${MAKE} ${TARGET} >/dev/null $ERRDIR"
   
   # And see if dummy exists and is executable, if so, then we
   # assume the condition we are testing for is good
  
  
  


cvs commit: apache-1.3 configure

1998-12-09 Thread randy
randy   98/12/09 12:51:41

  Modified:.configure
  Log:
  Modify recent --with-layout option to set these variables first from
  the config.layout file (or specified file) and allow the any other
  configuration arguments to override portions of that layout.
  ie. --prefix etc.
  
  Revision  ChangesPath
  1.58  +69 -44apache-1.3/configure
  
  Index: configure
  ===
  RCS file: /home/cvs/apache-1.3/configure,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- configure 1998/12/06 15:40:51 1.57
  +++ configure 1998/12/09 20:51:39 1.58
  @@ -263,10 +263,8 @@
   IFS="$OIFS"
   
   ##
  -##  parse argument line options
  +## preprocess path layout definititions so that these can be overriden
   ##
  -
  -addconf_created=0
   apc_prev=""
   OIFS1="$IFS" IFS="$DIFS"
   for apc_option
  @@ -283,6 +281,74 @@
  *) apc_optarg= ;;
   esac
   
  +case "$apc_option" in
  +--with-layout=*|--compat)
  + if [ ".$apc_option" = ".--compat" ]; then
  +apc_optarg="Apache"
  +fi
  +case $apc_optarg in
  +*:* ) 
  +file=`echo $apc_optarg | sed -e 's/:.*//'`
  +name=`echo $apc_optarg | sed -e 's/.*://'`
  +;;
  +* ) 
  +name=$apc_optarg
  +file=$configlayout
  +;;
  +esac
  +if [ ! -f "$file" ]; then
  +echo "configure:Error: Path layout definition file $file not 
found" 1>&2
  +exit 1
  +fi
  +sed -e "1,/[ ]*<[Ll]ayout[   ]*$name[]*>[]*/d" \
  +-e '/[   ]*<\/Layout>[   ]*/,$d' \
  +-e "s/^[ ]*//g" \
  +-e "s/:[ ]*/=\'/g" \
  +-e "s/[  ]*$/'/g" \
  +$file >$pldconf
  +. $pldconf
  +rm -f $pldconf 2>/dev/null
  +if [ ".$prefix" = .UNSET ]; then
  +echo "configure:Error: Path layout definition not found or 
incorrect" 1>&2
  +exit 1
  +fi
  +if [ ".$quiet" = .no ]; then
  +echo " + using installation path layout: $name ($file)"
  +fi
  +with_layout=1
  +;;
  + *)
  + args="$apc_option $args"
  +;;
  +esac
  +done
  +
  +if [ ".$with_layout" = .0 ]; then
  +echo "configure:Error: Please select an installation path layout with"
  +echo " the --with-layout=[FILE:]ID option. Use 'Apache' 
or"
  +echo " 'GNU' for ID to select the two predefined 
layouts."
  +exit 1
  +fi
  +
  +##
  +##  parse argument line options
  +##
  +addconf_created=0
  +apc_prev=""
  +OIFS1="$IFS" IFS="$DIFS"
  +for apc_option in $args
  +do
  +#   if previous option needs an argument, assign it.
  +if [ ".$apc_prev" != . ]; then
  +eval "$apc_prev=\$apc_option"
  +apc_prev=""
  +continue
  +fi
  +#   split out arguments
  +case "$apc_option" in
  +-*=*) apc_optarg=`echo "$apc_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  +   *) apc_optarg= ;;
  +esac
   #  accept only the most important GNU Autoconf-style options
   case "$apc_option" in
   --quiet | --silent) 
  @@ -415,41 +481,6 @@
   echo " --compat   backward compat only: use 
--with-layout=Apache"
   exit 0
   ;;
  ---with-layout=*|--compat)
  -if [ ".$apc_option" = ".--compat" ]; then
  -apc_optarg="Apache"
  -fi
  -case $apc_optarg in
  -*:* ) 
  -file=`echo $apc_optarg | sed -e 's/:.*//'`
  -name=`echo $apc_optarg | sed -e 's/.*://'`
  -;;
  -* ) 
  -name=$apc_optarg
  -file=$configlayout
  -;;
  -esac
  -if [ ! -f "$file" ]; then
  -echo "configure:Error: Path layout definition file $file not 
found" 1>&2
  -exit 1
  -fi
  -sed -e "1,/[ ]*<[Ll]ayout[   ]*$name[]*>[]*/d" \
  --e '/[   ]*<\/Layout>[   ]*/,$d' \
  --e "s/^[ ]*//g" \
  --e "s/:[ ]*/=\'/g" \
  --e "s/[  ]*$/'/g" \
  -$file >$pldconf
  -. $pldconf
  -rm -f $pldconf 2>/dev/null
  -if [ ".$prefix" = .UNSET ]; then
  -echo "configure:Error: Path layout definition not found or 
incorrect" 1>&2
  -exit 1
  -fi
  -if [ ".$quiet" = .no ]; then
  -echo " + using in