gcc484ntopperl-5.22
Last change
on this file since c5c522c was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | # $Id: split_configuration.m4,v 1.00 2009/12/22 12:25:59 sbajic Exp $ |
---|
2 | # m4/split_configuration.m4 |
---|
3 | # Hugo Monteiro <hugo.monteiro@fct.unl.pt> |
---|
4 | # |
---|
5 | # DS_SPLIT_CONFIG() |
---|
6 | # |
---|
7 | # Activate split configuration file support |
---|
8 | # |
---|
9 | AC_DEFUN([DS_SPLIT_CONFIG], |
---|
10 | [ |
---|
11 | |
---|
12 | AC_ARG_ENABLE(split-configuration, |
---|
13 | [AS_HELP_STRING(--enable-split-configuration, |
---|
14 | Enable split configuration file support |
---|
15 | )]) |
---|
16 | AC_MSG_CHECKING([whether to enable split configuration file support]) |
---|
17 | case x"$enable_split_configuration" in |
---|
18 | xyes) # split configuration file enabled explicity |
---|
19 | ;; |
---|
20 | xno) # split configuration file disabled explicity |
---|
21 | ;; |
---|
22 | x) # split configuration file disabled by default |
---|
23 | enable_split_configuration=no |
---|
24 | ;; |
---|
25 | *) AC_MSG_ERROR([unexpected value $enable_split_configuration for --{enable,disable}-split-configuration configure option]) |
---|
26 | ;; |
---|
27 | esac |
---|
28 | if test x"$enable_split_configuration" != xyes |
---|
29 | then |
---|
30 | enable_split_configuration=no |
---|
31 | else |
---|
32 | enable_split_configuration=yes # overkill, but convenient |
---|
33 | AC_DEFINE(SPLIT_CONFIG, 1, [Defined if split configuration is enabled]) |
---|
34 | fi |
---|
35 | AC_MSG_RESULT([$enable_split_configuration]) |
---|
36 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.