Make 'Configure -Dcf_by=...' work
Gisle Aas [Mon, 12 Jan 2004 02:35:27 +0000 (18:35 -0800)]
Message-ID: <lrvfnh315c.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@22120

Configure

index d1af579..1e59cb2 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
 
 # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
 #
-# Generated on Fri Dec  5 12:57:38 MET 2003 [metaconfig 3.0 PL70]
+# Generated on Mon Jan 12 14:18:05 MET 2004 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.org)
 
 cat >c1$$ <<EOF
@@ -3458,12 +3458,15 @@ esac
 
 : who configured the system
 cf_time=`LC_ALL=C; LANGUAGE=C; export LC_ALL; export LANGUAGE; $date 2>&1`
-cf_by=`(logname) 2>/dev/null`
 case "$cf_by" in
 "")
-       cf_by=`(whoami) 2>/dev/null`
+       cf_by=`(logname) 2>/dev/null`
        case "$cf_by" in
-       "") cf_by=unknown ;;
+       "")
+               cf_by=`(whoami) 2>/dev/null`
+               case "$cf_by" in
+               "") cf_by=unknown ;;
+               esac ;;
        esac ;;
 esac