randyk 2004/06/23 21:13:39
Modified: win32 Configure.pl
Log:
Submitted by: Markus Wichitill <[EMAIL PROTECTED]>
Reviewed by: randyk
check for availability of doxysearch, as well as doxygen, in
deciding on whether or not to build docs.
Revision Changes Path
1.32 +3 -2 httpd-apreq-2/win32/Configure.pl
Index: Configure.pl
===================================================================
RCS file: /home/cvs/httpd-apreq-2/win32/Configure.pl,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- Configure.pl 24 Jun 2004 03:41:11 -0000 1.31
+++ Configure.pl 24 Jun 2004 04:13:39 -0000 1.32
@@ -28,6 +28,7 @@
$apreq_home =~ s!/!\\!g;
my $doxygen = which('doxygen');
+my $doxysearch = which('doxysearch');
my $cfg = $debug ? 'Debug' : 'Release';
check_depends();
@@ -112,7 +113,7 @@
print $make "\n", $test, "\n";
print $make "\n", $clean, "\n";
-if ($doxygen) {
+if ($doxygen and $doxysearch) {
print $make <<"END";
docs: \$(DOXYGEN_CONF)
@@ -122,7 +123,7 @@
END
- my $bin_abspath = Win32::GetShortPathName(dirname(which('doxysearch')));
+ my $bin_abspath = Win32::GetShortPathName(dirname($doxysearch));
open(my $conf, "$apreq_home/build/doxygen.conf")
or die "Cannot read $apreq_home/build/doxygen.conf: $!";
open(my $win32_conf, ">$apreq_home/build/doxygen.conf.win32")