You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ben Laurie <be...@gonzo.ben.algroup.co.uk> on 1997/01/19 15:29:40 UTC

Configure patch

Index: src/Configure
===================================================================
RCS file: /export/home/cvs/apache/src/Configure,v
retrieving revision 1.70
diff -c -r1.70 Configure
*** Configure	1997/01/10 13:23:30	1.70
--- Configure	1997/01/19 15:34:51
***************
*** 17,22 ****
--- 17,23 ----
  file=Configuration
  tmpfile=htconf.$$
  makefile_tmpl=Makefile.tmpl
+ CONF_TEST_EXECUTABLE=-x
  
  while [ "x$1" != "x" ]; do
    if [ "x$1" = "x-file" ] ; then
***************
*** 358,363 ****
--- 359,365 ----
  	OS='ULTRIX'
  	CFLAGS="-DULTRIX"
  	DEF_WANTHSREGEX=yes
+ 	CONF_TEST_EXECUTABLE=-r
  	;;
      *powerpc-tenon-machten*)
      	OS='MachTen'
***************
*** 394,399 ****
--- 396,403 ----
  	;;
  esac
  
+ export CONF_TEST_EXECUTABLE
+ 
  #
  # See if we need to override WANTHSREGEX
  #
Index: src/helpers/PrintPath
===================================================================
RCS file: /export/home/cvs/apache/src/helpers/PrintPath,v
retrieving revision 1.5
diff -c -r1.5 PrintPath
*** PrintPath	1997/01/06 18:10:23	1.5
--- PrintPath	1997/01/19 15:35:04
***************
*** 3,8 ****
--- 3,9 ----
  #  will print out the full pathname unless
  #  called with the '-s' option
  #
+ 
  if [ "x$1" = "x-s" ]; then
      shift
  else
***************
*** 15,21 ****
        s/:$/:./
        s/:/ /g' `
  do
!     if [ -r $path/$1 ] && [ ! -d $path/$1 ]; then
          if [ "$echo" = "yes" ]; then
  	    echo $path/$1
  	fi
--- 16,22 ----
        s/:$/:./
        s/:/ /g' `
  do
!     if [ $CONF_TEST_EXECUTABLE $path/$1 ] && [ ! -d $path/$1 ]; then
          if [ "$echo" = "yes" ]; then
  	    echo $path/$1
  	fi

-- 
Ben Laurie                Phone: +44 (181) 994 6435  Email: ben@algroup.co.uk
Freelance Consultant and  Fax:   +44 (181) 994 6472
Technical Director        URL: http://www.algroup.co.uk/Apache-SSL
A.L. Digital Ltd,         Apache Group member (http://www.apache.org)
London, England.          Apache-SSL author