1 dnl -*- Mode: Autoconf; tab-width: 4; indent-tabs-mode: nil; fill-column: 102 -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 AC_DEFUN([libo_ENABLE_VCLPLUG],[
10 dnl The $1 of enable_var is taken from the libo_ENABLE_VCLPLUG, so concat
11 dnl needs extra quoting and enable_var has no "magic" argument.
12 m4_pushdef([concat],[$][1][$][2])
13 m4_pushdef([enable_var],[concat(ENABLE_,m4_toupper($1))])
16 if test "$test_$1" != no -a "$enable_$1" = yes; then
23 m4_popdef([enable_var])
27 dnl vim:set shiftwidth=4 softtabstop=4 expandtab: