This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
70 lines (63 loc) · 1.81 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
##########################################################################
#
# rfunc UDF library
#
##########################################################################
#
# <Copyright>
# Copyright 2009 PoleSoft Technologies Group
# http://www.polesoft.ru/project/rfunc
# mailto:support@polesoft.ru
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
# See license.txt for more details.
#
# <Unit> configure.ac
# <Purpose>
# <Effects>
# <Perfomance>
##########################################################################
# $Revision$ $Author$
# $Date$
##########################################################################
AC_PREREQ(2.57)
AC_INIT(rfunc,2.2.0.1)
AM_MAINTAINER_MODE
if test "$USE_MAINTAINER_MODE" = "yes" ; then
# Проверка того, что каталог сборки отличается от каталога
# исходных текстов.
if test "`cd ${srcdir} && pwd`" = "`cd . && pwd`" ; then
AC_MSG_ERROR([Building in the source directory not supported in maintainer mode.])
fi
fi
AM_INIT_AUTOMAKE([foreign 1.10])
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_SUBST(SED)
AC_FBA_CHECK
USE_RFUNC_ARGS
# generating output files
AC_CONFIG_FILES([
Makefile
doc/Makefile
doc/img/Makefile
doc/rus/Makefile
source/Makefile
sql/Makefile
])
if test "$USE_MAINTAINER_MODE" = "yes" ; then
AC_CONFIG_FILES([
testsuite/Makefile
testsuite/testutils/Makefile
testsuite/rblob/Makefile
testsuite/rdatetime/Makefile
testsuite/rstring/Makefile
testsuite/rmath/Makefile
])
fi
AC_OUTPUT