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

4.104.115
Last change on this file since d11ea4eb was 5ac4461, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/24/08 at 06:46:33

Bump version. Add OS_NAME

  • Property mode set to 100644
File size: 815 bytes
Line 
1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ(2.61)
5AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.12],[http://www.rtems.org/bugzilla],
6  [rtems-]_RTEMS_API[-repo-conf])
7RTEMS_VERSIONING
8AC_CONFIG_SRCDIR([gpg])
9AC_CONFIG_AUX_DIR([.])
10AC_SUBST([RTEMS_API],[_RTEMS_API])
11AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip 1.10])
12
13AC_ARG_ENABLE(os_subdir,AS_HELP_STRING(
14[--enable-os-subdir=<dir> ... os subdirectory]),
15[os_subdir="$enable_os_subdir"],
16[os_subdir="fedora/"])
17AC_SUBST([OS_SUBDIR],[$os_subdir])
18
19case "$os_subdir" in
20fedora/ ) os_name="Fedora";;
21redhat/el ) os_name="CentOS";;
22suse/ ) os_name="openSUSE";;
23*) AC_MSG_ERROR([Invalid os-name])
24  ;;
25esac
26AC_SUBST([OS_NAME],[$os_name])
27
28AC_CONFIG_FILES([Makefile])
29AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.