You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by ka...@apache.org on 2004/01/02 23:46:54 UTC
cvs commit: tcl-rivet/src/buildscripts findapxs.tcl
karl 2004/01/02 14:46:54
Modified: src/buildscripts findapxs.tcl
Log:
Changed findapxs::FindAPXS to generate an error if it couldn't find a
working apxs utility, rather than just returning an empty string.
Previously if apxs could not be found, the error message emitted by
configure.tcl was:
Error in CFLAGS test: couldn't execute "": no such file or directory
With this change, if apxs cannot be found, the error message is now:
Error in APXS test: could not find Apache Extension Tool apxs in
/usr/local/apache/bin
/usr/local/etc/apache/bin
/usr/bin/
/usr/sbin/
Revision Changes Path
1.7 +5 -1 tcl-rivet/src/buildscripts/findapxs.tcl
Index: findapxs.tcl
===================================================================
RCS file: /home/cvs/tcl-rivet/src/buildscripts/findapxs.tcl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- findapxs.tcl 26 Aug 2003 09:50:32 -0000 1.6
+++ findapxs.tcl 2 Jan 2004 22:46:54 -0000 1.7
@@ -24,6 +24,10 @@
break
}
+ if {$apxs == ""} {
+ error "could not find Apache Extension Tool apxs in $apxsDirList"
+ }
+
return $apxs
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org