source: rtems/contrib/repo-conf/configure.ac @ e1be2b3

4.8
Last change on this file since e1be2b3 was e1be2b3, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/30/09 at 16:38:01

Merge changes from CVS-HEAD addressing Fedora 11 rpm regressions.

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[6f23e9e4]1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
[f2bcb61]4AC_PREREQ(2.61)
[e1be2b3]5AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.16],[http://www.rtems.org/bugzilla],
[6f23e9e4]6  [rtems-]_RTEMS_API[-repo-conf])
7RTEMS_VERSIONING
[712a3a2]8
[6f23e9e4]9AC_CONFIG_SRCDIR([gpg])
10AC_CONFIG_AUX_DIR([.])
11AC_SUBST([RTEMS_API],[_RTEMS_API])
12AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip 1.10])
[c3a99269]13
[712a3a2]14AC_ARG_ENABLE(osname,AS_HELP_STRING(
15[--enable-osname=<dir> ... os name]),
16[osname="$enable_osname"],
17[osname="fedora-10"])
[c3a99269]18
[712a3a2]19case $osname in
[72c7d3e]20fedora-9* | fedora-10* | fedora-11* )
[712a3a2]21  os_name="Fedora"
[e1be2b3]22  os_subdir="fedora"
23  os_vers=`echo $osname| sed -e 's,^.*-,,'`
[712a3a2]24  yum_verdir="\$\$releasever"
25  apt_verdir="\$\$(VERSION)"
26  ;;
[72c7d3e]27centos-5* | redhat-el5* | fedora-7* | fedora-8* )
[712a3a2]28  os_name="CentOS"
[e1be2b3]29  os_subdir="centos"
30  os_vers=`echo $osname| sed -e 's,^.*-,,'`
[712a3a2]31  yum_verdir="5"
32  apt_verdir="5"
33  ;;
[3b4bbc2]34centos-4* | redhat-el4* | fedora-5* | fedora-6* )
[712a3a2]35  os_name="CentOS"
[e1be2b3]36  os_subdir="centos"
37  os_vers=`echo $osname| sed -e 's,^.*-,,'`
[712a3a2]38  yum_verdir="4"
39  apt_verdir="4"
[c3a99269]40  ;;
[712a3a2]41suse-*)
42  os_name="openSUSE"
[e1be2b3]43  os_subdir="suse"
44  os_vers=`echo $osname| sed -e 's,^.*-,,'`
[712a3a2]45  yum_verdir="\$\$releasever"
46  apt_verdir="\$\$(VERSION)"
47  ;;
48*)
49  AC_MSG_ERROR([Unsupported OS])
[c3a99269]50esac
[712a3a2]51
[e1be2b3]52AC_SUBST([OS_NAME],[$os_name])
[712a3a2]53AC_SUBST([OS_SUBDIR],[$os_subdir])
[e1be2b3]54AC_SUBST([OS_VERS],[$os_vers])
[712a3a2]55AC_SUBST([YUM_VERDIR],[$yum_verdir])
56AC_SUBST([APT_VERDIR],[$apt_verdir])
[c3a99269]57
[6f23e9e4]58AC_CONFIG_FILES([Makefile])
59AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.