[en-US] Added 13 words to autocorrect
[LibreOffice.git] / m4 / libo_check_extension.m4
blob785f78b9ca4c264454187a8fea4df751c4c5d28a
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_CHECK_EXTENSION],[
10 AC_ARG_ENABLE(ext-$4,
11     AS_HELP_STRING([--enable-ext-$4],
12         [Enable the $1 extension])
14 AC_MSG_CHECKING([for building the $1 extension])
15 $2_EXTENSION_PACK=
16 if test "x$enable_ext_$3" = "xyes" -a "x$enable_extension_integration" != "xno"; then
17     SCPDEFS="$SCPDEFS -DWITH_EXTENSION_$2"
18     $2_EXTENSION_PACK="$5"
19     BUILD_TYPE="$BUILD_TYPE $2"
20     WITH_EXTRA_EXTENSIONS=TRUE
21     AC_MSG_RESULT([yes])
22 else
23     AC_MSG_RESULT([no])
25 AC_SUBST($2_EXTENSION_PACK)
28 dnl vim:set shiftwidth=4 softtabstop=4 expandtab: