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

4.9
Last change on this file since 209fadea was 209fadea, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/23/09 at 03:29:58

Bump version.

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[6f23e9e4]1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
[98915674]4AC_PREREQ(2.61)
[209fadea]5AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.20],[http://www.rtems.org/bugzilla],
[6f23e9e4]6  [rtems-]_RTEMS_API[-repo-conf])
7RTEMS_VERSIONING
[73b019a0]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])
[349ca0c5]13
[73b019a0]14AC_ARG_ENABLE(osname,AS_HELP_STRING(
15[--enable-osname=<dir> ... os name]),
16[osname="$enable_osname"],
[8131a3d]17[osname="fedora-11"])
[349ca0c5]18
[73b019a0]19case $osname in
[62af225]20fedora-10* | fedora-11* | fedora-12* )
[73b019a0]21  os_name="Fedora"
[56e12a17]22  os_subdir="fedora"
23  os_vers=`echo $osname| sed -e 's,^.*-,,'`
[73b019a0]24  yum_verdir="\$\$releasever"
25  apt_verdir="\$\$(VERSION)"
26  ;;
[62af225]27centos-5* | redhat-el5* | fedora-7* | fedora-8* | fedora-9* )
[73b019a0]28  os_name="CentOS"
[56e12a17]29  os_subdir="centos"
30  os_vers=`echo $osname| sed -e 's,^.*-,,'`
[73b019a0]31  yum_verdir="5"
32  apt_verdir="5"
33  ;;
[6e813710]34suse-*)
[73b019a0]35  os_name="openSUSE"
[56e12a17]36  os_subdir="suse"
37  os_vers=`echo $osname| sed -e 's,^.*-,,'`
[73b019a0]38  yum_verdir="\$\$releasever"
39  apt_verdir="\$\$(VERSION)"
40  ;;
41*)
42  AC_MSG_ERROR([Unsupported OS])
[349ca0c5]43esac
[73b019a0]44
[56e12a17]45AC_SUBST([OS_NAME],[$os_name])
[73b019a0]46AC_SUBST([OS_SUBDIR],[$os_subdir])
[56e12a17]47AC_SUBST([OS_VERS],[$os_vers])
[73b019a0]48AC_SUBST([YUM_VERDIR],[$yum_verdir])
49AC_SUBST([APT_VERDIR],[$apt_verdir])
[349ca0c5]50
[6f23e9e4]51AC_CONFIG_FILES([Makefile])
52AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.