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