summaryrefslogtreecommitdiff
path: root/rt/m4/rt_enable_layout.m4
diff options
context:
space:
mode:
authorcvs2git <cvs2git>2006-01-05 09:34:30 +0000
committercvs2git <cvs2git>2006-01-05 09:34:30 +0000
commit0c525f3ba7b2b6730b8939b950e4d76dd16802a9 (patch)
tree9d0c5411f52238759ca3484d5ecc036dc6905414 /rt/m4/rt_enable_layout.m4
parent8f5c91d6c7a8dc85a8b6768a149b4c7b3e144c38 (diff)
This commit was manufactured by cvs2svn to create tag 'SQL_LEDGER_2_4_4'.SQL_LEDGER_2_4_4
Diffstat (limited to 'rt/m4/rt_enable_layout.m4')
-rw-r--r--rt/m4/rt_enable_layout.m436
1 files changed, 0 insertions, 36 deletions
diff --git a/rt/m4/rt_enable_layout.m4 b/rt/m4/rt_enable_layout.m4
deleted file mode 100644
index cadec1cf2..000000000
--- a/rt/m4/rt_enable_layout.m4
+++ /dev/null
@@ -1,36 +0,0 @@
-dnl
-dnl @synopsis RT_ENABLE_LAYOUT()
-dnl
-dnl Enable a specific directory layout for the installation to use.
-dnl This configures a command-line parameter that can be specified
-dnl at ./configure invocation.
-dnl
-dnl The use of this feature in this way is a little hackish, but
-dnl better than a heap of options for every directory.
-dnl
-dnl This code is heavily borrowed *cough* from the Apache 2 code.
-dnl
-
-AC_DEFUN([RT_ENABLE_LAYOUT],[
-AC_ARG_ENABLE(layout,
- AC_HELP_STRING([--enable-layout=LAYOUT],
- [Use a specific directory layout (Default: RT3)]),
- LAYOUT=$enableval)
-
-if test "x$LAYOUT" = "x"; then
- LAYOUT="RT3"
-fi
-RT_LAYOUT($srcdir/config.layout, $LAYOUT)
-AC_MSG_CHECKING(for chosen layout)
-if test "x$rt_layout_name" = "xno"; then
- if test "x$LAYOUT" = "xno"; then
- AC_MSG_RESULT(none)
- else
- AC_MSG_RESULT($LAYOUT)
- fi
- AC_MSG_ERROR([a valid layout must be specified (or the default used)])
-else
- AC_SUBST(rt_layout_name)
- AC_MSG_RESULT($rt_layout_name)
-fi
-])