jim 99/11/30 07:52:05
Modified: src CHANGES Configure
Log:
Force verbose mode during the sanity check if
the check fails
Revision Changes Path
1.1463 +4 -0 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.1462
retrieving revision 1.1463
diff -u -r1.1462 -r1.1463
--- CHANGES 1999/11/28 15:46:59 1.1462
+++ CHANGES 1999/11/30 15:51:59 1.1463
@@ -1,5 +1,9 @@
Changes with Apache 1.3.10
+ *) If the compiler sanity check fails, force the verbose output
+ for TestCompile so people can have a clue what the problem
+ is. [Jim Jagielski]
+
*) Add --iconsdir, --htdocsdir, and --cgidir option to top-level
configure script to allow one to override the corresponding
variables from config.layout.
1.376 +17 -7 apache-1.3/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.375
retrieving revision 1.376
diff -u -r1.375 -r1.376
--- Configure 1999/11/28 13:21:48 1.375
+++ Configure 1999/11/30 15:52:00 1.376
@@ -2150,13 +2150,23 @@
if ./helpers/TestCompile $vflag sanity; then
:
else
- echo "** A test compilation with your Makefile configuration"
- 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
+ if [ "x$vflag" = "x-v" ] ; then
+ WHEREERR="above"
+ else
+ WHEREERR="below"
+ fi
+ echo "** A test compilation with your Makefile configuration"
+ echo "** failed. The $WHEREERR error output from the compilation"
+ echo "** test will give you an idea what is failing. Note that"
+ echo "** Apache requires an ANSI C Compiler, such as gcc. "
+ echo ""
+ echo "======== Error Output for sanity check ========"
+ (./helpers/TestCompile -v sanity)
+ echo "============= End of Error Report ============="
+ echo ""
+ echo " Aborting!"
+ exitcode=1
+ exit 1
fi
fi