From: Richard Stallman Date: Tue, 29 Jun 1993 15:31:19 +0000 (+0000) Subject: Recognize -sysv* after -sysvr4. X-Git-Tag: v1.10.2~4212 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d92fdc4c033dc12cfe22f8a840ce05339583629;p=platform%2Fupstream%2Fautomake.git Recognize -sysv* after -sysvr4. --- diff --git a/config.sub b/config.sub index f4a5213..6fd3fe5 100644 --- a/config.sub +++ b/config.sub @@ -501,7 +501,8 @@ case $os in # First accept the basic system types. # The portable systems comes first. # Each alternative must end in a *, to match a version number. - -bsd* | -sysv* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + # -sysv* is not here because it comes later, after sysvr4. + -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]* | -hpux* \ | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \ @@ -542,11 +543,14 @@ case $os in -svr4) os=-sysv4 ;; + -svr3) + os=-sysv3 + ;; -sysvr4) os=-sysv4 ;; - -svr3) - os=-sysv3 + # This must come after -sysvr4. + -sysv*) ;; -xenix) os=-xenix diff --git a/lib/config.sub b/lib/config.sub index f4a5213..6fd3fe5 100644 --- a/lib/config.sub +++ b/lib/config.sub @@ -501,7 +501,8 @@ case $os in # First accept the basic system types. # The portable systems comes first. # Each alternative must end in a *, to match a version number. - -bsd* | -sysv* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + # -sysv* is not here because it comes later, after sysvr4. + -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]* | -hpux* \ | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \ @@ -542,11 +543,14 @@ case $os in -svr4) os=-sysv4 ;; + -svr3) + os=-sysv3 + ;; -sysvr4) os=-sysv4 ;; - -svr3) - os=-sysv3 + # This must come after -sysvr4. + -sysv*) ;; -xenix) os=-xenix