From: Nicholas Clark Date: Mon, 13 Mar 2006 17:10:14 +0000 (+0000) Subject: The existing order of the checks for whether man1dir and man3dir were X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=477140ee87d4de70d22c41fe9cdb326baa1d9749;p=p5sagit%2Fp5-mst-13.2.git The existing order of the checks for whether man1dir and man3dir were ' ' were obviously buggy, because they set installman[13]dir only for the next if block to set it again. Reordering removes that daftness. p4raw-id: //depot/perl@27485 --- diff --git a/Configure b/Configure index 21bd06e..2cebb0c 100755 --- a/Configure +++ b/Configure @@ -8017,17 +8017,16 @@ if $test "X$man1direxp" != "X$ansexp"; then fi man1dir="$ans" man1direxp="$ansexp" -case "$man1dir" in -'') man1dir=' ' - installman1dir='';; -esac - : Change installation prefix, if necessary. if $test X"$prefix" != X"$installprefix"; then installman1dir=`echo $man1direxp | $sed "s#^$prefixexp#$installprefixexp#"` else installman1dir="$man1direxp" fi +case "$man1dir" in +'') man1dir=' ' + installman1dir='';; +esac : What suffix to use on installed man pages @@ -8142,17 +8141,16 @@ rp="Where do the $package library man pages (source) go?" . ./getfile man3dir="$ans" man3direxp="$ansexp" -case "$man3dir" in -'') man3dir=' ' - installman3dir='';; -esac - : Change installation prefix, if necessary. if $test X"$prefix" != X"$installprefix"; then installman3dir=`echo $man3direxp | $sed "s#^$prefixexp#$installprefixexp#"` else installman3dir="$man3direxp" fi +case "$man3dir" in +'') man3dir=' ' + installman3dir='';; +esac : What suffix to use on installed man pages case "$man3dir" in