Skip to content

Commit

Permalink
2008-01-24 Roland McGrath <roland@redhat.com>
Browse files Browse the repository at this point in the history
	* configure.in: Let configure fragments set base_os.
	* configure: Regenerated.
  • Loading branch information
Roland McGrath committed Jan 24, 2008
1 parent b7e2688 commit b22d21b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -2299,6 +2299,7 @@ esac
machine=$config_machine
vendor=$config_vendor
os=$config_os
base_os=''
# config.guess on some IBM machines says `rs6000' instead of `powerpc'.
# Unify this here.
Expand Down Expand Up @@ -2554,7 +2555,7 @@ echo $ECHO_N "checking sysdep dirs... $ECHO_C" >&6; }
# Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
case "$os" in
test "x$base_os" != x || case "$os" in
gnu*)
base_os=mach/hurd ;;
netbsd* | 386bsd* | freebsd* | bsdi*)
Expand All @@ -2573,8 +2574,6 @@ aix4.3*)
base_os=unix/sysv/aix/aix4.3 ;;
none)
base_os=standalone ;;
*)
base_os='' ;;
esac
# For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
Expand Down
5 changes: 2 additions & 3 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ esac
machine=$config_machine
vendor=$config_vendor
os=$config_os
base_os=''

# config.guess on some IBM machines says `rs6000' instead of `powerpc'.
# Unify this here.
Expand Down Expand Up @@ -535,7 +536,7 @@ changequote(,)dnl
# Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"

case "$os" in
test "x$base_os" != x || case "$os" in
gnu*)
base_os=mach/hurd ;;
netbsd* | 386bsd* | freebsd* | bsdi*)
Expand All @@ -554,8 +555,6 @@ aix4.3*)
base_os=unix/sysv/aix/aix4.3 ;;
none)
base_os=standalone ;;
*)
base_os='' ;;
esac

# For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
Expand Down

0 comments on commit b22d21b

Please sign in to comment.