summaryrefslogtreecommitdiffstats
path: root/contrib/repo-conf
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-10-24 06:46:33 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-10-24 06:46:33 +0000
commit5ac4461845724e7030416e6c83bfeaf42b3299c7 (patch)
tree74ed39ddefbc5519776b3844328d33c5ef87c7e2 /contrib/repo-conf
parentFix names. (diff)
downloadrtems-5ac4461845724e7030416e6c83bfeaf42b3299c7.tar.bz2
Bump version. Add OS_NAME
Diffstat (limited to 'contrib/repo-conf')
-rw-r--r--contrib/repo-conf/configure.ac13
1 files changed, 12 insertions, 1 deletions
diff --git a/contrib/repo-conf/configure.ac b/contrib/repo-conf/configure.ac
index 3157e163e3..eec0e47cd4 100644
--- a/contrib/repo-conf/configure.ac
+++ b/contrib/repo-conf/configure.ac
@@ -2,17 +2,28 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
-AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.11],[http://www.rtems.org/bugzilla],
+AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.12],[http://www.rtems.org/bugzilla],
[rtems-]_RTEMS_API[-repo-conf])
RTEMS_VERSIONING
AC_CONFIG_SRCDIR([gpg])
AC_CONFIG_AUX_DIR([.])
AC_SUBST([RTEMS_API],[_RTEMS_API])
AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip 1.10])
+
AC_ARG_ENABLE(os_subdir,AS_HELP_STRING(
[--enable-os-subdir=<dir> ... os subdirectory]),
[os_subdir="$enable_os_subdir"],
[os_subdir="fedora/"])
AC_SUBST([OS_SUBDIR],[$os_subdir])
+
+case "$os_subdir" in
+fedora/ ) os_name="Fedora";;
+redhat/el ) os_name="CentOS";;
+suse/ ) os_name="openSUSE";;
+*) AC_MSG_ERROR([Invalid os-name])
+ ;;
+esac
+AC_SUBST([OS_NAME],[$os_name])
+
AC_CONFIG_FILES([Makefile])
AC_OUTPUT