~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

Use List::begin()

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
 
4
dnl  Copyright (C) 2009 Sun Microsystems, Inc.
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
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, version-from-vc, skip-visibility)
 
27
PANDORA_CANONICAL_TARGET(less-warnings, require-cxx, force-gcc42, version-from-vc) 
28
28
 
29
29
LIBDRIZZLE_LIBRARY_VERSION=1:0:0
30
30
#                          | | |
60
60
# libexecinfo provides backtrace_symbols on FreeBSD
61
61
AC_SEARCH_LIBS(backtrace_symbols, [execinfo])
62
62
 
63
 
PANDORA_RUN_CPPLINT
64
 
 
65
63
PANDORA_REQUIRE_LIBPROTOBUF
66
64
PANDORA_PROTOBUF_REQUIRE_VERSION([2.1.0])
67
65
PANDORA_REQUIRE_PROTOC
74
72
PANDORA_REQUIRE_LIBREADLINE
75
73
PANDORA_REQUIRE_LIBDL
76
74
AC_LANG_POP
 
75
AC_FUNC_STRERROR_R
77
76
 
78
77
DRIZZLE_STACK_DIRECTION
79
78
 
83
82
AC_DEFINE([BUILDING_DRIZZLED],[1],
84
83
          [Define indicating we are building and not consuming drizzle.])
85
84
 
86
 
PANDORA_HAVE_LIBGTEST
 
85
PANDORA_HAVE_BOOST_TEST
87
86
PANDORA_HAVE_LIBSQLITE3
88
87
 
89
88
AC_CHECK_FUNC(inet_ntoa, [], [AC_CHECK_LIB(nsl, inet_ntoa)])
139
138
  ])
140
139
 
141
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
 
142
145
 
143
146
AC_CONFIG_FILES(Makefile dnl
144
147
 tests/Makefile dnl
145
148
 drizzled/plugin/version.h dnl
 
149
 support-files/drizzle7.pc dnl
146
150
 support-files/libdrizzle.pc dnl
147
 
 support-files/drizzle.server support-files/drizzle-log-rotate
148
151
 support-files/smf/install.sh dnl
149
 
 support-files/drizzle.spec dnl
150
152
 support-files/smf/drizzle.xml dnl
151
153
 support-files/smf/drizzle)
152
154