~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Monty Taylor
  • Date: 2010-08-20 15:05:54 UTC
  • mfrom: (1720.1.7 build)
  • Revision ID: mordred@inaugust.com-20100820150554-fuwf8zs8qpzhpx6y
Added libdrizzle to the tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
AC_CONFIG_SRCDIR([drizzled/drizzled.cc])
25
25
AC_CONFIG_AUX_DIR([config])
26
26
 
27
 
PANDORA_CANONICAL_TARGET(less-warnings, warnings-always-on, require-cxx, force-gcc42, skip-visibility, version-from-vc)
 
27
PANDORA_CANONICAL_TARGET(less-warnings, warnings-always-on, require-cxx, force-gcc42, version-from-vc, skip-visibility)
 
28
 
 
29
LIBDRIZZLE_LIBRARY_VERSION=0:8:0
 
30
#                          | | |
 
31
#                   +------+ | +---+
 
32
#                   |        |     |
 
33
#                current:revision:age
 
34
#                   |        |     |
 
35
#                   |        |     +- increment if interfaces have been
 
36
added
 
37
#                   |        |        set to zero if interfaces have been
 
38
#                   |        |        removed or changed
 
39
#                   |        +- increment if source code has changed
 
40
#                   |           set to zero if current is incremented
 
41
#                   +- increment if interfaces have been added, removed or
 
42
#                      changed
 
43
AC_SUBST(LIBDRIZZLE_LIBRARY_VERSION)
 
44
 
 
45
# libdrizzle versioning when linked with GNU ld.
 
46
AS_IF([test "$lt_cv_prog_gnu_ld" = "yes"],[
 
47
  LD_VERSION_SCRIPT="-Wl,--version-script=\$(top_srcdir)/libdrizzle/libdrizzle.ver"
 
48
  ])
 
49
AC_SUBST(LD_VERSION_SCRIPT)
 
50
 
28
51
 
29
52
dnl Set the default datadir location to /usr/local/var/drizzle. If a
30
53
dnl localstatedir is explicitly given, just use that.
53
76
AC_LANG_PUSH(C++)
54
77
PANDORA_REQUIRE_PTHREAD
55
78
PANDORA_REQUIRE_LIBUUID
56
 
PANDORA_REQUIRE_LIBDRIZZLE
57
79
PANDORA_REQUIRE_LIBZ
58
80
PANDORA_REQUIRE_LIBPCRE
59
81
PANDORA_REQUIRE_LIBREADLINE
67
89
          [Define indicating we are building and not consuming drizzle.])
68
90
 
69
91
PANDORA_HAVE_LIBGTEST
 
92
PANDORA_HAVE_LIBSQLITE3
 
93
 
 
94
AC_CHECK_FUNC(inet_ntoa, [], [AC_CHECK_LIB(nsl, inet_ntoa)])
 
95
 
70
96
 
71
97
AC_ARG_WITH([server-suffix],
72
98
    [AS_HELP_STRING([--with-server-suffix],
114
140
AM_CONDITIONAL([BUILD_GCC_PCH],[test "no" = "yes"])
115
141
 
116
142
AC_CONFIG_FILES(Makefile dnl
117
 
 po/Makefile.in dnl
118
143
 tests/Makefile dnl
119
144
 drizzled/plugin/version.h dnl
 
145
 support-files/libdrizzle.pc dnl
120
146
 support-files/drizzle.server support-files/drizzle-log-rotate
121
147
 support-files/smf/install.sh dnl
122
148
 support-files/drizzle.spec dnl