20
20
AC_PREREQ(2.59)dnl Minimum Autoconf version required.
21
21
dnl Version from the AC_INIT call below is overridden later
22
22
dnl So don't update it here
23
AC_INIT([drizzle7],[7],[http://bugs.launchpad.net/drizzle])
23
AC_INIT([drizzle],[7.1],[http://bugs.launchpad.net/drizzle],[drizzle],[http://drizzle.org/])
24
24
AC_CONFIG_SRCDIR([drizzled/drizzled.cc])
25
25
AC_CONFIG_AUX_DIR([config])
27
27
PANDORA_CANONICAL_TARGET(less-warnings, require-cxx, force-gcc42, version-from-vc)
29
LIBDRIZZLE_LIBRARY_VERSION=2:0:1
33
# current:revision:age
35
# | | +- increment if interfaces have been added
36
# | | set to zero if interfaces have been
37
# | | removed or changed
38
# | +- increment if source code has changed
39
# | set to zero if current is incremented
40
# +- increment if interfaces have been added, removed or
42
AC_SUBST(LIBDRIZZLE_LIBRARY_VERSION)
44
libdrizzleincludedir='${includedir}/libdrizzle-1.0'
45
AC_SUBST(libdrizzleincludedir)
47
# libdrizzle versioning when linked with GNU ld.
48
AS_IF([test "$lt_cv_prog_gnu_ld" = "yes"],[
49
LD_VERSION_SCRIPT="-Wl,--version-script=\$(top_srcdir)/config/drizzle.ver"
51
AC_SUBST(LD_VERSION_SCRIPT)
29
m4_include([m4/libdrizzle_version.m4])
53
31
dnl Set the default datadir location to /usr/local/var/drizzle. If a
54
32
dnl localstatedir is explicitly given, just use that.
59
37
AC_ARG_WITH([server],
60
38
[AS_HELP_STRING([--without-server],
61
[Don not build the drizzled server.])],
39
[Do not build the drizzled server.])],
62
40
[ pandora_cv_skip_requires="$withval" ]
63
41
[ pandora_cv_skip_requires=no ])
158
135
AC_CONFIG_FILES(Makefile dnl
159
136
tests/Makefile dnl
160
137
drizzled/plugin/version.h dnl
161
support-files/drizzle7.pc dnl
138
support-files/rpm/SPECS/drizzle.spec dnl
139
libdrizzle-1.0/version.h dnl
140
support-files/drizzle.pc dnl
141
support-files/libdrizzle.pc dnl
162
142
support-files/libdrizzle-1.0.pc dnl
163
143
support-files/smf/install.sh dnl
164
144
support-files/smf/drizzle.xml dnl
216
196
dnl libtoolize scans configure.ac and needs to see some text
217
197
m4_define([LIBTOOLIZE_AC_INIT], [])
198
m4_define([UNUSED_MACRO], [
200
AC_CONFIG_MACRO_DIR([m4])