jim 97/08/25 17:13:52
Modified: src/helpers TestCompile Log: Document 'func' option of TestCompile and make it consistant as far as handling verbose and silent options Revision Changes Path 1.6 +9 -2 apachen/src/helpers/TestCompile Index: TestCompile =================================================================== RCS file: /export/home/cvs/apachen/src/helpers/TestCompile,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- TestCompile 1997/08/21 18:12:21 1.5 +++ TestCompile 1997/08/26 00:13:48 1.6 @@ -4,11 +4,14 @@ # # Yet another Apache Configure helper script. # This script tests certain aspects of the compilation -# process. Right now, it can perform 2 tests: +# process. Right now, it can perform 3 tests: # # ./helpers/TestCompile lib <libname> # Which checks to see if <libname> exists on this system # +# ./helpers/TestCompile func <function> +# Which checks to see if <function> exists +# # ./helpers/TestCompile sanity # Which does a simple sanity check/test compile # @@ -70,7 +73,11 @@ exit fi TLIB="" - ERRDIR='2>/dev/null' + if [ "$VERBOSE" = "yes" ]; then + ERRDIR="" + else + ERRDIR='2>/dev/null' + fi TARGET='testfunc' cat <<EOF >testfunc.c void main(void) {