Use expanded osnames.

This commit is contained in:
Ralf Corsepius
2008-11-18 06:07:23 +00:00
parent 712a3a2cd7
commit 3b4bbc277d

View File

@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61) AC_PREREQ(2.61)
AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.13],[http://www.rtems.org/bugzilla], AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.14],[http://www.rtems.org/bugzilla],
[rtems-]_RTEMS_API[-repo-conf]) [rtems-]_RTEMS_API[-repo-conf])
RTEMS_VERSIONING RTEMS_VERSIONING
@@ -17,19 +17,19 @@ AC_ARG_ENABLE(osname,AS_HELP_STRING(
[osname="fedora-10"]) [osname="fedora-10"])
case $osname in case $osname in
fedora-[89]* | fedora-10* ) fedora-8* | fedora-9* | fedora-10* )
os_name="Fedora" os_name="Fedora"
os_subdir="fedora/" os_subdir="fedora/"
yum_verdir="\$\$releasever" yum_verdir="\$\$releasever"
apt_verdir="\$\$(VERSION)" apt_verdir="\$\$(VERSION)"
;; ;;
centos-5* | redhat-el5* | fedora-[7]* ) centos-5* | redhat-el5* | fedora-7* )
os_name="CentOS" os_name="CentOS"
os_subdir="centos/" os_subdir="centos/"
yum_verdir="5" yum_verdir="5"
apt_verdir="5" apt_verdir="5"
;; ;;
centos-4* | redhat-el4* | fedora-[56]* ) centos-4* | redhat-el4* | fedora-5* | fedora-6* )
os_name="CentOS" os_name="CentOS"
os_subdir="centos/" os_subdir="centos/"
yum_verdir="4" yum_verdir="4"