~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Monty Taylor
  • Date: 2010-08-20 18:36:37 UTC
  • mto: (1723.2.1 staging)
  • mto: This revision was merged to the branch mainline in revision 1724.
  • Revision ID: mordred@inaugust.com-20100820183637-eqb93k9pqtg83v53
Fix doxygen config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl -*- bash -*-
2
2
dnl Process this file with autoconf to produce a configure script.
3
3
 
4
 
dnl  Copyright (C) 2009 Sun Microsystems, Inc.
 
4
dnl  Copyright (C) 2009 Sun Microsystems
5
5
dnl
6
6
dnl  This program is free software; you can redistribute it and/or modify
7
7
dnl  it under the terms of the GNU General Public License as published by
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],[http://bugs.launchpad.net/drizzle])
24
24
AC_CONFIG_SRCDIR([drizzled/drizzled.cc])
25
25
AC_CONFIG_AUX_DIR([config])
26
26
 
27
 
PANDORA_CANONICAL_TARGET(less-warnings, require-cxx, force-gcc42, version-from-vc) 
 
27
PANDORA_CANONICAL_TARGET(less-warnings, warnings-always-on, require-cxx, force-gcc42, version-from-vc, skip-visibility)
28
28
 
29
 
LIBDRIZZLE_LIBRARY_VERSION=1:0:0
 
29
LIBDRIZZLE_LIBRARY_VERSION=0:8:0
30
30
#                          | | |
31
31
#                   +------+ | +---+
32
32
#                   |        |     |
33
33
#                current:revision:age
34
34
#                   |        |     |
35
 
#                   |        |     +- increment if interfaces have been added
 
35
#                   |        |     +- increment if interfaces have been
 
36
added
36
37
#                   |        |        set to zero if interfaces have been
37
38
#                   |        |        removed or changed
38
39
#                   |        +- increment if source code has changed
43
44
 
44
45
# libdrizzle versioning when linked with GNU ld.
45
46
AS_IF([test "$lt_cv_prog_gnu_ld" = "yes"],[
46
 
  LD_VERSION_SCRIPT="-Wl,--version-script=\$(top_srcdir)/config/drizzle.ver"
 
47
  LD_VERSION_SCRIPT="-Wl,--version-script=\$(top_srcdir)/libdrizzle/libdrizzle.ver"
47
48
  ])
48
49
AC_SUBST(LD_VERSION_SCRIPT)
49
50
 
 
51
 
50
52
dnl Set the default datadir location to /usr/local/var/drizzle. If a
51
53
dnl localstatedir is explicitly given, just use that.
52
54
AS_IF([test "x${localstatedir}" = 'x${prefix}/var'],[
57
59
AS_IF([test "x$GPERF" = "x"],
58
60
      AC_MSG_ERROR("Drizzle requires gperf to build."))
59
61
 
 
62
AC_CHECK_PROGS(YACC, ['bison -y'])
 
63
AS_IF([test "x$YACC" = "x" -a "$pandora_building_from_bzr" = "yes"],[
 
64
  AC_MSG_ERROR(["bison is required for Drizzle to build from a bzr branch"])
 
65
])
 
66
 
60
67
# libexecinfo provides backtrace_symbols on FreeBSD
61
68
AC_SEARCH_LIBS(backtrace_symbols, [execinfo])
62
69
 
 
70
PANDORA_RUN_CPPLINT
 
71
 
63
72
PANDORA_REQUIRE_LIBPROTOBUF
64
73
PANDORA_PROTOBUF_REQUIRE_VERSION([2.1.0])
65
74
PANDORA_REQUIRE_PROTOC
72
81
PANDORA_REQUIRE_LIBREADLINE
73
82
PANDORA_REQUIRE_LIBDL
74
83
AC_LANG_POP
75
 
AC_FUNC_STRERROR_R
76
 
 
77
 
DRIZZLE_STACK_DIRECTION
78
84
 
79
85
PANDORA_USE_BETTER_MALLOC
80
86
 
82
88
AC_DEFINE([BUILDING_DRIZZLED],[1],
83
89
          [Define indicating we are building and not consuming drizzle.])
84
90
 
85
 
PANDORA_HAVE_BOOST_TEST
 
91
PANDORA_HAVE_LIBGTEST
86
92
PANDORA_HAVE_LIBSQLITE3
87
93
 
88
94
AC_CHECK_FUNC(inet_ntoa, [], [AC_CHECK_LIB(nsl, inet_ntoa)])
133
139
dnl AM_CONDITIONAL([BUILD_GCC_PCH],[test "$GCC" = "yes"])
134
140
AM_CONDITIONAL([BUILD_GCC_PCH],[test "no" = "yes"])
135
141
 
136
 
AS_IF([test "$lt_cv_prog_gnu_ld" = "yes"],[
137
 
  LDFLAGS="${LDFLAGS} ${LD_VERSION_SCRIPT}"
138
 
  ])
139
 
 
140
 
WITH_VALGRIND
141
 
AS_IF([test "x${ac_gcc_profile_mode}" = "xyes" -a "x${pandora_cv_boost_profile}" = "xyes"],[
142
 
    AC_DEFINE([_GLIBCXX_PROFILE],[1],[Enable GCC Profile Mode])
143
 
    ])
144
 
 
145
 
 
146
142
AC_CONFIG_FILES(Makefile dnl
147
143
 tests/Makefile dnl
148
144
 drizzled/plugin/version.h dnl
149
 
 support-files/drizzle7.pc dnl
150
145
 support-files/libdrizzle.pc dnl
 
146
 support-files/drizzle.server support-files/drizzle-log-rotate
151
147
 support-files/smf/install.sh dnl
 
148
 support-files/drizzle.spec dnl
152
149
 support-files/smf/drizzle.xml dnl
153
150
 support-files/smf/drizzle)
154
151