rasmus      99/09/09 13:14:38

  Modified:    .        configure
               src      Configure
  Log:
  A failure here is pretty much never due to the compiler not being ANSI
  compliant but nearly always because a required library is missing.  Since
  this message went in, my support load for PHP has gone way up.  Fix it
  to be sane and to propogate --verbose through to the TestCompile
  correctly.
  
  Revision  Changes    Path
  1.103     +5 -2      apache-1.3/configure
  
  Index: configure
  ===================================================================
  RCS file: /home/cvs/apache-1.3/configure,v
  retrieving revision 1.102
  retrieving revision 1.103
  diff -u -r1.102 -r1.103
  --- configure 1999/08/14 08:29:05     1.102
  +++ configure 1999/09/09 20:14:29     1.103
  @@ -1469,10 +1469,13 @@
   ##  create all other Makefiles by running the proprietary 
   ##  $src/Configure script with our custom Configuration.apaci file
   ##
  +if [ "x$verbose" = "xyes" ]; then
  +    vflag="-v";
  +fi
   if [ "x$quiet" = "xyes" ]; then
  -    (cd $src; ./Configure -file Configuration.apaci >/dev/null);
  +    (cd $src; ./Configure ${vflag} -file Configuration.apaci >/dev/null);
   else
  -    (cd $src; ./Configure -file Configuration.apaci |\
  +    (cd $src; ./Configure ${vflag} -file Configuration.apaci |\
        sed -e '/^Using config file:.*/d' \
            -e "s:Makefile in :Makefile in $src\\/:" \
            -e "s:Makefile\$:Makefile in $src:")
  
  
  
  1.372     +10 -6     apache-1.3/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/Configure,v
  retrieving revision 1.371
  retrieving revision 1.372
  diff -u -r1.371 -r1.372
  --- Configure 1999/09/05 18:04:41     1.371
  +++ Configure 1999/09/09 20:14:33     1.372
  @@ -82,9 +82,14 @@
   
   ####################################################################
   ## Now handle any arguments, which, for now, is -file
  -## to select an alternate Configuration file
  +## to select an alternate Configuration file and -v
  +## to turn on verbose mode
   ##
   while [ "x$1" != "x" ]; do
  +  if [ "x$1" = "x-v" ] ; then
  +    shift 1;
  +    vflag="-v";
  +  fi
     if [ "x$1" = "x-file" ] ; then
       shift 1; file=$1; shift 1
       if [ ! -r $file ]; then
  @@ -2138,14 +2143,13 @@
       :
   else
      echo " + doing sanity check on compiler and options"
  -   if ./helpers/TestCompile sanity; then
  +   if ./helpers/TestCompile $vflag sanity; then
         :
      else
      echo "** A test compilation with your Makefile configuration"
  -   echo "** failed. This is most likely because your C compiler"
  -   echo "** is not ANSI. Apache requires an ANSI C Compiler, such"
  -   echo "** as gcc. The above error message from your compiler"
  -   echo "** will also provide a clue."
  +   echo "** failed.  Re-run your configure script with --verbose"
  +   echo "** to get a better idea of what is failing.  Note that"
  +   echo "** Apache requires an ANSI C Compiler, such as gcc. "
      echo " Aborting!"
      exitcode=1
      exit 1
  
  
  

Reply via email to