7
7
AC_CONFIG_SRCDIR([drizzled/drizzled.cc])
8
8
AC_CONFIG_AUX_DIR(config)
9
9
AC_CONFIG_HEADERS([config.h])
11
# Setting CFLAGS here prevents AC_CANONICAL_TARGET from injecting them
13
SAVE_CXXFLAGS=${CXXFLAGS}
10
17
AC_CANONICAL_TARGET
11
AM_INIT_AUTOMAKE(-Wall -Werror)
20
CXXFLAGS=${SAVE_CXXFLAGS}
22
AM_INIT_AUTOMAKE(nostdinc -Wall -Werror)
23
if test "x${enable_dependency_tracking}" = "x"
25
enable_dependency_tracking=yes
15
29
# See the libtool docs for information on how to do shared lib versions.
16
SHARED_LIB_MAJOR_VERSION=16
30
SHARED_LIB_MAJOR_VERSION=1
17
31
SHARED_LIB_VERSION=$SHARED_LIB_MAJOR_VERSION:0:0
32
AC_SUBST(SHARED_LIB_MAJOR_VERSION)
33
AC_SUBST(SHARED_LIB_VERSION)
36
dnl Checks for programs.
39
ACX_USE_SYSTEM_EXTENSIONS
41
AC_CXX_HEADER_STDCXX_98
42
if test "$ac_cv_cxx_stdcxx_98" = "no"
44
AC_MSG_ERROR([C++ Compiler required to compile Drizzle])
49
AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
50
ifdef([AC_PROG_CC_C99],[
51
AC_PROG_CC_C99([$1],[$2],[$3])
55
C99_SUPPORT_HACK="-std=gnu99"
59
C99_SUPPORT_HACK="-xc99"
33
77
DRIZZLE_BASE_VERSION=`echo $DRIZZLE_NUMERIC_VERSION | sed -e "s|\.[[^.]]*$||"`
34
78
DRIZZLE_VERSION_ID=`echo $DRIZZLE_NUMERIC_VERSION | \
35
79
awk -F. '{printf "%d%0.2d%0.2d", $1, $2, $3}'`
80
AC_DEFINE_UNQUOTED(DRIZZLE_BASE_VERSION,["$DRIZZLE_BASE_VERSION"],
81
[Major and minor version])
82
AC_DEFINE_UNQUOTED([DRIZZLE_VERSION_ID],[$DRIZZLE_VERSION_ID],
83
[Version ID that can be easily used for numeric comparison])
37
85
# The port should be constant for a LONG time
38
86
DRIZZLE_TCP_PORT_DEFAULT=4427
41
sinclude(m4/alloca.m4)
42
sinclude(m4/check_cpu.m4)
43
sinclude(m4/character_sets.m4)
44
sinclude(m4/compiler_flag.m4)
45
sinclude(m4/dtrace.m4)
46
sinclude(m4/plugins.m4)
47
sinclude(m4/large_file.m4)
49
sinclude(m4/readline.m4)
52
sinclude(m4/lib-link.m4)
53
sinclude(m4/lib-prefix.m4)
54
sinclude(m4/gettext.m4)
55
sinclude(m4/progtest.m4)
59
sinclude(m4/lib-ld.m4)
60
sinclude(m4/ac_cxx_header_stdcxx_98.m4)
88
m4_include(m4/dtrace.m4)
90
m4_include(m4/character_sets.m4)
91
AC_SUBST(AVAILABLE_LANGUAGES)
93
m4_include(m4/gettext.m4)
62
94
AM_GNU_GETTEXT([external])
63
AM_GNU_GETTEXT_VERSION(0.17)
65
AM_CONDITIONAL([BUILD_GETTEXT],[test "x$MSGMERGE" != "x"])
67
AC_SUBST(DRIZZLE_NO_DASH_VERSION)
68
AC_SUBST(DRIZZLE_BASE_VERSION)
69
AC_SUBST(DRIZZLE_VERSION_ID)
70
AC_SUBST(DRIZZLE_PREVIOUS_BASE_VERSION)
71
AC_SUBST(PROTOCOL_VERSION)
72
AC_DEFINE_UNQUOTED([PROTOCOL_VERSION], [$PROTOCOL_VERSION],
73
[mysql client protocol version])
74
AC_SUBST(DOT_FRM_VERSION)
75
AC_DEFINE_UNQUOTED([DOT_FRM_VERSION], [$DOT_FRM_VERSION],
76
[Version of .frm files])
77
AC_SUBST(SHARED_LIB_MAJOR_VERSION)
78
AC_SUBST(SHARED_LIB_VERSION)
79
AC_SUBST(AVAILABLE_LANGUAGES)
95
AM_CONDITIONAL([BUILD_GETTEXT],[test "x$MSGMERGE" != "x" -a "x$MSGMERGE" != "x:"])
97
# Set this for plugins to use
98
ac_build_drizzle="yes"
82
101
# Canonicalize the configuration name.
105
124
i?86) BASE_MACHINE_TYPE=i386 ;;
108
# Save some variables and the command line options for mysqlbug
111
SAVE_ASFLAGS="$ASFLAGS"
112
SAVE_CFLAGS="$CFLAGS"
113
SAVE_CXXFLAGS="$CXXFLAGS"
114
SAVE_LDFLAGS="$LDFLAGS"
115
SAVE_CXXLDFLAGS="$CXXLDFLAGS"
116
CONF_COMMAND="$0 $ac_configure_args"
117
AC_SUBST(CONF_COMMAND)
120
AC_SUBST(SAVE_ASFLAGS)
121
AC_SUBST(SAVE_CFLAGS)
122
AC_SUBST(SAVE_CXXFLAGS)
123
AC_SUBST(SAVE_LDFLAGS)
124
AC_SUBST(SAVE_CXXLDFLAGS)
128
128
# This is needed is SUBDIRS is set
131
##############################################################################
132
# The below section needs to be done before AC_PROG_CC
133
##############################################################################
135
if test "x${CFLAGS-}" = x ; then
141
if test "x${CPPFLAGS-}" = x ; then
147
if test "x${LDFLAGS-}" = x ; then
153
################ End of section to be done before AC_PROG_CC #################
155
# The following hack should ensure that configure doesn't add optimizing
156
# or debugging flags to CFLAGS or CXXFLAGS
157
# C_EXTRA_FLAGS are flags that are automaticly added to both
158
# CFLAGS and CXXFLAGS
159
CFLAGS="$CFLAGS $C_EXTRA_FLAGS "
160
CXXFLAGS="$CXXFLAGS $C_EXTRA_FLAGS "
162
dnl Checks for programs.
164
ifdef([AC_PROG_CC_C99],[
165
AC_PROG_CC_C99([],[AC_MSG_ERROR([C99 support required for compiling Drizzle])])
167
],[C99_SUPPORT_HACK="-std=gnu99"])
169
AC_CXX_HEADER_STDCXX_98
170
if test "$ac_cv_cxx_stdcxx_98" = "no"
172
AC_MSG_ERROR([C++ Compiler required to compile Drizzle])
177
# Print version of CC and CXX compiler (if they support --version)
135
AC_SUBST(TARGET_LINUX)
136
AC_DEFINE([TARGET_OS_LINUX], [1], [Whether we build for Linux])
180
141
AC_DEFINE([TARGET_OS_OSX], [1], [Whether we build for OSX])
144
TARGET_SOLARIS="true"
145
AC_SUBST(TARGET_SOLARIS)
146
AC_DEFINE([TARGET_OS_SOLARIS], [1], [Whether we are building for Solaris])
183
CC_VERSION=`$CC --version | sed 1q`
188
AC_MSG_CHECKING("C Compiler version")
189
AC_MSG_RESULT("$CC $CC_VERSION")
152
dnl AC_CANONICAL_HOST thinks it's a good idea to just set CFLAGS to
153
dnl -g -O2 if you're running gcc. We would like to use something else, thanks.
154
if test "x${CFLAGS}" = "x-g -O2"
158
if test "x${CXXFLAGS}" = "x-g -O2"
163
DRIZZLE_CHECK_C_VERSION
194
164
DRIZZLE_CHECK_CXX_VERSION
198
170
if test "$ac_cv_c_compiler_gnu" = "yes"
203
175
AC_PATH_PROG(AS, as, as)
178
dnl TODO: This needs to go away and be replaced with _ISOC99_SOURCE
179
if test "$ac_cv_c_compiler_gnu" = "yes" -o "$target_os" = "linux-gnu"
181
AC_DEFINE([_GNU_SOURCE],[1],[Fix problem with S_ISLNK() on Linux])
184
dnl Solaris 9 include file <sys/feature_tests.h> refers to X/Open document
186
dnl System Interfaces and Headers, Issue 5
188
dnl saying we should define _XOPEN_SOURCE=500 to get POSIX.1c prototypes,
189
dnl but apparently other systems (namely FreeBSD) don't agree.
191
dnl On a newer Solaris 10, the above file recognizes also _XOPEN_SOURCE=600.
192
dnl Furthermore, it tests that if a program requires older standard
193
dnl (_XOPEN_SOURCE<600 or _POSIX_C_SOURCE<200112L) it cannot be
194
dnl run on a new compiler (that defines _STDC_C99) and issues an #error.
195
dnl It's also an #error if a program requires new standard (_XOPEN_SOURCE=600
196
dnl or _POSIX_C_SOURCE=200112L) and a compiler does not define _STDC_C99.
198
dnl To add more to this mess, Sun Studio C compiler defines _STDC_C99 while
199
dnl C++ compiler does not!
201
dnl TODO: Can _ISOC99_SOURCE be defined on all platforms and remove the
202
dnl Need for all of this?
203
if test "$GCC" = "yes"
207
CFLAGS="${CFLAGS} -D_XOPEN_SOURCE=600"
208
CXXFLAGS="${CXXFLAGS} -D__C99FEATURES__"
207
#AC_LIBTOOL_WIN32_DLL
210
216
# Ensure that we have --preserve-dup-deps defines, otherwise we get link
218
224
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
220
# Not critical since the generated file is distributed
221
AC_CHECK_PROGS(YACC, ['bison -y -p MYSQL'])
226
# Look for "(group|user)add".
227
# TODO: If the programs do not exist, inform the DBA that the user
228
# was not created at the end of the install routine.
229
AC_CHECK_PROGS(GROUPADD, groupadd addgroup)
230
AC_CHECK_PROGS(USERADD, useradd adduser)
232
dnl Not critical since the generated file is distributed
233
AC_CHECK_PROGS(YACC, ['bison -y'])
222
234
if test -z "$YACC" && test -d ".bzr"
224
236
AC_MSG_ERROR(["bison is required for Drizzle to build from a bzr branch"])
268
# Build optimized or debug version ?
269
# First check for gcc and g++
273
DEBUG_OPTIMIZE_CXX=""
274
OPTIMIZE_CXXFLAGS="-O"
275
if test "$GCC" = "yes"
277
SYMBOLS_FLAGS="-ggdb3"
278
DEBUG_OPTIMIZE_CC="-O0"
279
OPTIMIZE_CFLAGS="-O3"
280
DEBUG_OPTIMIZE_CXX="-O0"
281
OPTIMIZE_CXXFLAGS="-O3"
283
if test "$SUNCC" = "yes"
285
dnl I'm cheating here and sticking C99 support in SYMBOLS_FLAGS
288
if test "$target_cpu" = "sparc"
290
MEMALIGN_FLAGS="-xmemalign=8s"
292
OPTIMIZE_CFLAGS="-xO4 -xlibmil -xdepend -Xa -mt -xstrconst -D_FORTEC_ ${MEMALIGN_FLAGS}"
293
DEBUG_OPTIMIZE_CXX=""
294
#Put back in once isnan is figured out
295
OPTIMIZE_CXXFLAGS="-xO4 -xlibmil -mt -D_FORTEC_ -xlang=c99 -compat=5 -library=stlport4 ${MEMALIGN_FLAGS}"
298
dnl TODO: Remove this define once we are using 2.61 across the board.
301
# Check whether to enable assertions.
302
AC_DEFUN([AX_HEADER_ASSERT],
304
AC_MSG_CHECKING([whether to enable assertions])
305
AC_ARG_ENABLE([assert],
306
[AS_HELP_STRING([--disable-assert],
307
[Turn off assertions])],
309
[ac_cv_assert="yes"])
310
AC_MSG_RESULT([$ac_cv_assert])
315
CFLAGS="${SYMBOLS_FLAGS} ${CFLAGS}"
316
CXXFLAGS="${SYMBOLS_FLAGS} ${CXXFLAGS}"
319
[AS_HELP_STRING([--with-debug],
320
[Add debug code/turns off optimizations (yes|no) @<:@default=no@:>@])],
321
[with_debug=$withval],
323
if test "$with_debug" = "yes"
326
CFLAGS="$DEBUG_OPTIMIZE_CC -DDEBUG $CFLAGS ${SAVE_CFLAGS}"
327
CXXFLAGS="$DEBUG_OPTIMIZE_CXX -DDEBUG $CXXFLAGS ${SAVE_CXXFLAGS}"
329
# Optimized version. No debug
330
CFLAGS="${OPTIMIZE_CFLAGS} ${CFLAGS} ${SAVE_CFLAGS}"
331
CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS ${SAVE_CXXFLAGS}"
274
343
export CC CXX CFLAGS LD LDFLAGS AR ARFLAGS
276
if test "$GCC" = "yes"
278
# Disable exceptions as they seams to create problems with gcc and threads.
279
# drizzled doesn't use run-time-type-checking, so we disable it.
280
AM_CXXFLAGS="${AM_CXXFLAGS} -fno-exceptions -fno-rtti"
285
352
# libdrizzle versioning when linked with GNU ld.
286
if $LD --version 2>/dev/null|grep -q GNU; then
287
LD_VERSION_SCRIPT="-Wl,--version-script=\$(top_srcdir)/libdrizzle/libdrizzle.ver"
353
if test "x$EGREP" != "x"
355
if test "$lt_cv_prog_gnu_ld" = "yes" -a $LD --version 2>/dev/null|${EGREP} -q GNU
357
LD_VERSION_SCRIPT="-Wl,--version-script=\$(top_srcdir)/libdrizzle/libdrizzle.ver"
289
360
AC_SUBST(LD_VERSION_SCRIPT)
293
364
#--------------------------------------------------------------------
295
366
AC_LANG_PUSH([C++])
296
AC_CHECK_HEADERS([google/protobuf/message.h])
297
if test "x$ac_cv_header_google_protobuf_message_h" != "xyes"
367
SEARCH_FOR_LIB(protobuf, printf, google/protobuf/message.h,
368
AC_MSG_ERROR([protobuf is required for Drizzle]))
370
AC_PATH_PROG([PROTOC],[protoc],[no],[$PROTOBUF_PATH])
371
if test "x$PROTOC" = "xno"
299
AC_MSG_ERROR([Couldn't find message.h. Try installing Google Protocol Buffer development packages])
373
AC_MSG_ERROR([Couldn't find protoc. Try installing Google Protocol Buffer.])
302
save_CFLAGS="$CFLAGS"
307
AC_CACHE_CHECK([for Message in libprotobuf], ac_libprotobuf_works, [
309
#include <google/protobuf/descriptor.pb.h>
311
google::protobuf::FileDescriptorProto testFdp;
312
], ac_libprotobuf_works=yes, [
313
AC_ERROR([could not find Google's libprotobuf])
318
PROTOBUF_LIBS="${LIBS}"
319
AC_SUBST(PROTOBUF_LIBS)
320
CFLAGS="$save_CFLAGS"
324
378
#--------------------------------------------------------------------
380
#--------------------------------------------------------------------
382
dnl Do this by hand instead of with SEARCH_FOR_LIB, because uuid is weird.
383
AC_CHECK_HEADERS(uuid/uuid.h)
384
if test "x$ac_cv_header_uuid_uuid_h" = "xno"
386
AC_MSG_ERROR([Couldn't find uuid/uuid.h. Try installing libuuid development packages])
388
AC_CHECK_LIB(uuid, uuid_generate)
390
#--------------------------------------------------------------------
325
391
# Check for libevent
326
392
#--------------------------------------------------------------------
328
AC_MSG_CHECKING(for libevent)
329
AC_ARG_WITH(libevent,
330
[AS_HELP_STRING([--with-libevent],
331
[Use libevent build directory])],
332
[ with_libevent=$withval ],
333
[ with_libevent=yes ])
335
if test "$with_libevent" = "yes"
337
AC_CHECK_HEADERS(event.h)
338
if test "x$ac_cv_header_event_h" != "xyes"
340
AC_MSG_ERROR([Couldn't find event.h. Try installing libevent development packages])
344
AC_CHECK_LIB(event, event_loop, [], [AC_MSG_ERROR(could not find libevent)])
345
LIBEVENT_LIBS="${LIBS}"
346
LIBS="${my_save_LIBS}"
349
AC_MSG_RESULT($withval)
350
if test -f $withval/event.h -a -f $withval/libevent.a; then
352
if cd $withval; then withval=`pwd`; cd $owd; fi
353
LIBEVENT_CFLAGS="-I$withval"
354
LIBEVENT_LIBS="-L$withval -levent"
355
elif test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then
357
if cd $withval; then withval=`pwd`; cd $owd; fi
358
LIBEVENT_CFLAGS="-I$withval/include"
359
LIBEVENT_LIBS="-L$withval/lib -levent"
361
AC_MSG_ERROR([event.h or libevent.a not found in $withval])
365
AC_SUBST(LIBEVENT_CFLAGS)
366
AC_SUBST(LIBEVENT_LIBS)
368
AC_CACHE_CHECK([for bufferevent in libevent], ac_libevent_works, [
369
save_CFLAGS="$CFLAGS"
394
SEARCH_FOR_LIB(event, event_loop, event.h,
395
AC_MSG_ERROR([libevent is required for Drizzle]))
398
AC_CACHE_CHECK([for bufferevent in libevent], ac_cv_libevent_works, [
399
save_CPPFLAGS="$CPPFLAGS"
370
400
save_LIBS="$LIBS"
371
CFLAGS="$LIBEVENT_CFLAGS"
372
LIBS="$LIBEVENT_LIBS"
401
CPPFLAGS="$EVENT_CFLAGS"
374
404
#include <sys/types.h>
375
405
#include <sys/time.h>
377
407
#include <event.h>],[
378
408
struct bufferevent bev;
379
409
bufferevent_settimeout(&bev, 1, 1);
380
], ac_libevent_works=yes, [
381
AC_ERROR([you need to install a more recent version of libevent,
410
], ac_cv_libevent_works=yes, [
411
AC_MSG_ERROR([you need to install a more recent version of libevent,
382
412
check http://www.monkey.org/~provos/libevent/])
385
CFLAGS="$save_CFLAGS"
415
CPPFLAGS="$save_CPPFLAGS"
386
416
LIBS="$save_LIBS"
408
438
[ac_enable_tcmalloc="$enableval"],
409
439
[ac_enable_tcmalloc="no"])
411
if test "x$ac_enable_tcmalloc" = "xyes"
441
if test "x$ac_enable_tcmalloc" != "xno"
413
443
AC_CHECK_LIB(tcmalloc,malloc,[],[])
446
if test "x$ac_cv_lib_tcmalloc_malloc" != "xyes"
448
AC_CHECK_LIB(mtmalloc,malloc,[],[])
416
451
#--------------------------------------------------------------------
418
453
#--------------------------------------------------------------------
422
AC_CHECK_HEADERS(zlib.h)
423
if test "x$ac_cv_header_zlib_h" != "xyes"
425
AC_MSG_ERROR([Couldn't find zlib.h. Try installing zlib development packages])
427
AC_CHECK_LIB(z, crc32, [], [AC_MSG_ERROR(could not find libz)])
455
SEARCH_FOR_LIB(z, crc32, zlib.h,
456
AC_MSG_ERROR([libz is required for Drizzle]))
458
#--------------------------------------------------------------------
459
# Check for libncurses
460
#--------------------------------------------------------------------
463
SEARCH_FOR_LIB(ncurses, tgetent, ncurses/ncurses.h, [
464
SEARCH_FOR_LIB(tinfo, tgetent, ncurses/ncurses.h,
465
AC_MSG_ERROR([Couldn't find ncurses])
433
470
#--------------------------------------------------------------------
434
471
# Check for libreadline or compatible (libedit on Mac OS X)
435
472
#--------------------------------------------------------------------
437
AC_CHECK_HEADERS(readline/history.h readline/readline.h)
438
if test "x$ac_cv_header_readline_readline_h" != "xyes"
440
AC_MSG_ERROR([Couldn't find readline/readline.h. Try installing readline development packages.])
475
SEARCH_FOR_LIB(readline, rl_initialize, readline/readline.h,
476
AC_MSG_ERROR([libreadline is required for Drizzle]),
479
save_CPPFLAGS="$CPPFLAGS"
480
CPPFLAGS="$CPPFLAGS $READLINE_CFLAGS"
481
AC_CHECK_HEADERS(readline/history.h)
442
482
AC_CHECK_TYPES([HIST_ENTRY], [], [], [AC_INCLUDES_DEFAULT[
443
483
#ifdef HAVE_READLINE_HISTORY_H
444
484
#include <readline/history.h>
455
495
DRIZZLE_CHECK_NEW_RL_INTERFACE
459
AC_CHECK_LIB(readline, rl_initialize, [],
460
[AC_CHECK_LIB(ncurses, tgetent, [], [AC_MSG_ERROR(Couldn't find ncurses)])
461
AC_SEARCH_LIBS(rl_initialize, readline, [],
462
[AC_MSG_ERROR(Couldn't find libreadline.)])])
463
READLINE_LIBS="$LIBS"
465
AC_SUBST(READLINE_LIBS)
496
CPPFLAGS="$save_CPPFLAGS"
468
499
#--------------------------------------------------------------------
469
500
# Check for libpcre
470
501
#--------------------------------------------------------------------
473
503
AC_PATH_PROG(PKG_CONFIG, pkg-config, AC_MSG_ERROR([pkg-config wasn't found.]))
474
PKG_CHECK_MODULES(PCRE, [libpcrecpp >= 3], [found_pcre="yes"],[found_pcre="no"])
504
PKG_CHECK_MODULES(PCRE, [libpcre >= 3], [found_pcre="yes"],[found_pcre="no"])
476
506
if test "$found_pcre" = "no"
478
dnl Only check the header here, because autoconf can't handle
479
dnl checking for C++ methods without C linkages
480
AC_CHECK_HEADERS(pcrecpp.h)
481
if test "x$ac_cv_header_pcrecpp_h" != "xyes"
483
AC_MSG_ERROR([Couldn't find pcrecpp.h. Try installing the development package associated with libpcre on your system.])
485
# Found headers, now see if we can link
486
AC_MSG_CHECKING(for libpcrecpp)
487
save_LDFLAGS="$LDFLAGS"
488
LDFLAGS="-lpcrecpp -lpcre"
492
[pcrecpp::RE_Options opt;],
494
[AC_MSG_ERROR([Couldn't link libpcrecpp])])
497
LDFLAGS="$save_LDFLAGS"
508
SEARCH_FOR_LIB(pcre, pcre_compile, pcre.h,
509
AC_MSG_ERROR([libpcre is required for Drizzle]))
502
511
AC_SUBST(PCRE_LIBS)
503
512
AC_SUBST(PCRE_CFLAGS)
683
693
AC_SUBST(DRIZZLE_TCP_PORT)
684
694
# We might want to document the assigned port in the manual.
685
695
AC_SUBST(DRIZZLE_TCP_PORT_DEFAULT)
696
AC_DEFINE_UNQUOTED([DRIZZLE_PORT],[$DRIZZLE_TCP_PORT],
697
[Drizzle port to use])
698
AC_DEFINE_UNQUOTED([DRIZZLE_PORT_DEFAULT],[$DRIZZLE_TCP_PORT_DEFAULT],
699
[If we defaulted to DRIZZLE_PORT, then this will be zero])
687
701
# Use this to set the place used for unix socket used to local communication.
688
AC_ARG_WITH([mysqld-user],
689
[AS_HELP_STRING([--with-mysqld-user=username],
690
[What user the mysqld daemon shall be run as.
691
@<:@default=mysql@:>@])],
692
[ MYSQLD_USER=$withval ],
693
[ MYSQLD_USER=mysql ]
702
AC_ARG_WITH([drizzled-user],
703
[AS_HELP_STRING([--with-drizzled-user=username],
704
[What user the drizzled daemon shall be run as.
705
@<:@default=drizzle@:>@])],
706
[ DRIZZLED_USER=$withval ],
707
[ DRIZZLED_USER=drizzle ]
695
AC_SUBST(MYSQLD_USER)
709
AC_SUBST(DRIZZLED_USER)
697
711
# If we should allow LOAD DATA LOCAL
698
712
AC_MSG_CHECKING(If we should should enable LOAD DATA LOCAL by default)
726
738
AC_CHECK_HEADERS(fcntl.h float.h fpu_control.h ieeefp.h)
727
739
AC_CHECK_HEADERS(limits.h pwd.h select.h linux/config.h)
728
740
AC_CHECK_HEADERS(sys/fpu.h utime.h sys/utime.h )
729
AC_CHECK_HEADERS(synch.h sys/mman.h sys/socket.h netinet/in.h arpa/inet.h)
730
AC_CHECK_HEADERS(sys/timeb.h sys/vadvise.h sys/wait.h term.h)
741
AC_CHECK_HEADERS(synch.h sys/mman.h sys/socket.h)
742
AC_CHECK_HEADERS([curses.h term.h],[],[],
743
[[#ifdef HAVE_CURSES_H
731
747
AC_CHECK_HEADERS(termio.h termios.h sched.h alloca.h)
732
AC_CHECK_HEADERS(sys/ioctl.h malloc.h sys/malloc.h sys/ipc.h sys/shm.h)
733
AC_CHECK_HEADERS(sys/prctl.h sys/resource.h sys/param.h port.h ieeefp.h)
748
AC_CHECK_HEADERS(sys/prctl.h ieeefp.h)
734
749
AC_CHECK_HEADERS(execinfo.h)
736
AC_CHECK_HEADERS([xfs/xfs.h])
738
751
#--------------------------------------------------------------------
739
752
# Check for system libraries. Adds the library to $LIBS
740
753
# and defines HAVE_LIBM etc
741
754
#--------------------------------------------------------------------
743
756
AC_CHECK_LIB(m, floor, [], AC_CHECK_LIB(m, __infinity))
746
758
AC_CHECK_FUNC(setsockopt, [], [AC_CHECK_LIB(socket, setsockopt)])
747
759
AC_CHECK_FUNC(yp_get_default_domain, [],
765
777
AC_CHECK_FUNC(gtty, [], [AC_CHECK_LIB(compat, gtty)])
768
AC_CHECK_TYPES([int8, uint8, int16, uint16, int32, uint32, int64, uint64,
769
uchar, uint, ulong],[],[], [
770
#include <sys/types.h>
772
780
AC_CHECK_TYPES([fp_except], [], [], [
773
781
#include <sys/types.h>
774
782
#include <ieeefp.h>
789
797
AC_CHECK_FUNCS(strtok_r)
791
# Build optimized or debug version ?
792
# First check for gcc and g++
793
if test "$ac_cv_c_compiler_gnu" = "yes"
795
SYMBOLS_CFLAGS="-ggdb3"
796
DEBUG_OPTIMIZE_CC="-O0"
797
OPTIMIZE_CFLAGS="-O2"
803
if test "$ac_cv_prog_cxx_g" = "yes"
805
SYMBOLS_CXXFLAGS="-ggdb3"
806
DEBUG_OPTIMIZE_CXX="-O0"
807
OPTIMIZE_CXXFLAGS="-O2"
809
SYMBOLS_CXXFLAGS="-g"
810
DEBUG_OPTIMIZE_CXX=""
811
OPTIMIZE_CXXFLAGS="-O"
814
# If the user specified CFLAGS, we won't add any optimizations
815
if test -n "$SAVE_CFLAGS"
821
if test -n "$SAVE_CXXFLAGS"
824
DEBUG_OPTIMIZE_CXX=""
827
dnl TODO: Remove this define once we are using 2.61 across the board.
830
# Check whether to enable assertions.
831
ifdef([AC_HEADER_ASSERT], [], [AC_DEFUN([AC_HEADER_ASSERT],
833
AC_MSG_CHECKING([whether to enable assertions])
834
AC_ARG_ENABLE([assert],
835
[ --disable-assert turn off assertions],
837
AC_DEFINE(NDEBUG, 1, [Define to 1 if assertions should be disabled.])],
838
[AC_MSG_RESULT(yes)])
843
CFLAGS="${SYMBOLS_CFLAGS} ${CFLAGS}"
844
CXXFLAGS="${SYMBOLS_CXXFLAGS} ${CXXFLAGS}"
847
[AS_HELP_STRING([--with-debug],
848
[Add debug code/turns off optimizations (yes|no) @<:@default=no@:>@])],
849
[with_debug=$withval],
851
if test "$with_debug" = "yes"
854
CFLAGS="$DEBUG_OPTIMIZE_CC $CFLAGS"
855
CXXFLAGS="$DEBUG_OPTIMIZE_CXX $CXXFLAGS"
857
# Optimized version. No debug
858
CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS"
859
CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS"
863
801
AC_ARG_WITH([fast-mutexes],
886
824
COMPILATION_COMMENT="Source distribution"
888
AC_SUBST(COMPILATION_COMMENT)
890
if expr "$target_os" : "[[Ll]]inux.*" > /dev/null
893
AC_DEFINE([TARGET_OS_LINUX], [1], [Whether we build for Linux])
826
AC_DEFINE_UNQUOTED([COMPILATION_COMMENT],["$COMPILATION_COMMENT"],
827
[Comment about compilation environment])
898
829
dnl Checks for typedefs, structures, and compiler characteristics.
904
# AC_CHECK_SIZEOF return 0 when it does not find the size of a
905
# type. We want a error instead.
906
AC_CHECK_SIZEOF(char, 1)
907
if test "$ac_cv_sizeof_char" -eq 0
909
AC_MSG_ERROR([No size for char type.])
911
AC_CHECK_SIZEOF(char*, 4)
912
AC_CHECK_SIZEOF(short, 2)
913
AC_CHECK_SIZEOF(int, 4)
914
if test "$ac_cv_sizeof_int" -eq 0
916
AC_MSG_ERROR("No size for int type.")
918
AC_CHECK_SIZEOF(long, 4)
919
if test "$ac_cv_sizeof_long" -eq 0
921
AC_MSG_ERROR("No size for long type.")
923
AC_CHECK_SIZEOF(long long, 8)
924
if test "$ac_cv_sizeof_long_long" -eq 0
926
AC_MSG_ERROR("Drizzle needs a long long type.")
928
836
# off_t is not a builtin type
929
837
AC_CHECK_SIZEOF(off_t, 4)
930
838
if test "$ac_cv_sizeof_off_t" -eq 0
939
847
DRIZZLE_CHECK_TIME_T
942
# do we need #pragma interface/#pragma implementation ?
943
# yes if it's gcc 2.x, and not icc pretending to be gcc, and not cygwin
944
AC_MSG_CHECKING(the need for @%:@pragma interface/implementation)
945
# instead of trying to match SYSTEM_TYPE and CC_VERSION (that doesn't
946
# follow any standard), we'll use well-defined preprocessor macros:
947
AC_PREPROC_IFELSE([AC_LANG_SOURCE([[
948
#if !defined(__CYGWIN__) && !defined(__INTEL_COMPILER) && defined(__GNUC__) && (__GNUC__ < 3)
949
#error USE_PRAGMA_IMPLEMENTATION
951
]])],[AC_MSG_RESULT(no) ],[AC_MSG_RESULT(yes) ; CXXFLAGS="$CXXFLAGS -DUSE_PRAGMA_IMPLEMENTATION"])
953
850
# This always gives a warning. Ignore it unless you are cross compiling
955
852
#---START: Used in for client configure
966
863
DRIZZLE_TIMESPEC_TS
967
864
# Do we have the tzname variable
969
# Do the c++ compiler have a bool type
971
866
AC_CHECK_TYPES([sigset_t, off_t], [], [], [#include <sys/types.h>])
972
AC_CHECK_TYPES([size_t], [], [], [#include <stdio.h>])
973
AC_CHECK_TYPES([u_int32_t])
867
AC_CHECK_TYPES([uint, ulong])
975
869
DRIZZLE_PTHREAD_YIELD
978
872
dnl Checks for header files.
979
AC_CHECK_HEADERS(malloc.h sys/cdefs.h)
873
AC_CHECK_HEADERS(malloc.h)
981
875
dnl Checks for library functions.
983
877
AC_PROG_GCC_TRADITIONAL
985
AC_CHECK_FUNCS(re_comp regcomp strdup)
987
dnl Sun compilers have their own vis.h that is about something
988
dnl totally different. So, not to change the libedit source, we
989
dnl do some additional checks before we define HAVE_VIS_H.
990
AC_CHECK_HEADER(vis.h,
991
[AC_CHECK_FUNC(strvis,
992
[AC_DEFINE([HAVE_VIS_H], [1],[Found vis.h and the strvis() function])])])
994
AC_CHECK_FUNCS(strlcat strlcpy)
995
880
AC_CHECK_FUNCS(issetugid)
996
AC_CHECK_FUNCS(getline flockfile)
998
882
# from old readline settting:
1001
885
AC_SUBST(MAKE_SHELL)
1003
887
# Already-done: stdlib.h string.h unistd.h termios.h
1004
AC_CHECK_HEADERS(varargs.h stdarg.h dirent.h locale.h ndir.h sys/dir.h \
1005
sys/file.h sys/ndir.h sys/ptem.h sys/pte.h sys/select.h sys/stream.h \
1006
sys/mman.h curses.h termcap.h termio.h termbits.h asm/termbits.h grp.h \
1007
paths.h semaphore.h)
888
AC_CHECK_HEADERS(stdarg.h dirent.h locale.h ndir.h sys/dir.h \
889
sys/ndir.h sys/select.h \
890
sys/mman.h termcap.h termio.h asm/termbits.h grp.h \
1009
893
# Already-done: strcasecmp
1010
AC_CHECK_FUNCS(lstat putenv select setenv setlocale strcoll tcgetattr)
894
AC_CHECK_FUNCS(lstat select)
1013
897
DRIZZLE_SIGNAL_CHECK
1014
898
DRIZZLE_CHECK_GETPW_FUNCS
1015
899
DRIZZLE_HAVE_TIOCGWINSZ
1016
DRIZZLE_HAVE_FIONREAD
1017
900
DRIZZLE_HAVE_TIOCSTAT
1018
DRIZZLE_STRUCT_DIRENT_D_INO
1019
DRIZZLE_STRUCT_DIRENT_D_NAMLEN
1020
901
DRIZZLE_TYPE_SIGHANDLER
1021
DRIZZLE_CHECK_MULTIBYTE
1022
902
if test "$with_named_curses" = "no"
1024
904
DRIZZLE_CHECK_LIB_TERMCAP
1070
937
AC_CONFIG_LIBOBJ_DIR([mystrings])
1071
AC_REPLACE_FUNCS([strtoll strstr strtoull stpcpy stpncpy getpagesize])
1073
AC_CHECK_FUNCS(bsearch \
1074
940
cuserid fchmod \
1075
fdatasync finite fpresetsticky fpsetmask fsync ftruncate \
1076
getcwd getpass getpassphrase getpwnam \
1077
getpwuid getrlimit getrusage getwd index initgroups isnan \
941
fdatasync fpresetsticky fpsetmask fsync \
942
getpassphrase getpwnam \
943
getpwuid getrlimit getrusage index initgroups isnan \
1078
944
localtime_r gethrtime gmtime_r \
1079
locking longjmp lrand48 madvise mallinfo \
1081
mkstemp mlockall perror poll pread pthread_attr_create mmap mmap64 \
946
mkstemp mlockall poll pread pthread_attr_create mmap mmap64 \
1082
947
pthread_attr_getstacksize pthread_attr_setprio pthread_attr_setschedparam \
1083
948
pthread_attr_setstacksize pthread_condattr_create pthread_getsequence_np \
1084
949
pthread_key_delete pthread_rwlock_rdlock pthread_setprio \
1085
950
pthread_setprio_np pthread_setschedparam pthread_sigmask readlink \
1086
realpath rename rint rwlock_init setupterm \
1087
shmget shmat shmdt shmctl sigaction sigemptyset sigaddset \
1088
sighold sigset sigthreadmask port_create sleep \
1089
snprintf socket strcasecmp strerror strsignal strpbrk \
1090
tell tempnam vidattr \
1091
posix_fallocate backtrace backtrace_symbols backtrace_symbols_fd)
951
realpath rename rwlock_init setupterm \
956
backtrace backtrace_symbols backtrace_symbols_fd)
1093
958
AC_LANG_PUSH(C++)
1094
959
# Test whether madvise() is declared in C++ code -- it is not on some
1095
960
# systems, such as Solaris
1096
AC_CHECK_DECLS(madvise, [], [], [#if HAVE_SYS_MMAN_H
961
AC_CHECK_DECLS([madvise], [], [], [AC_INCLUDES_DEFAULT[
1097
963
#include <sys/types.h>
1098
964
#include <sys/mman.h>
1103
970
AM_CONDITIONAL(BUILD_THR_RWLOCK,[test "$ac_cv_func_rwlock_init" -a "$ac_cv_funn_pthread_rwlock_rdlock"])
1105
# Check that isinf() is available in math.h and can be used in both C and C++
1107
AC_MSG_CHECKING(for isinf in math.h)
1108
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[
1114
AC_MSG_CHECKING(whether isinf() can be used in C++ code)
1116
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[
1122
AC_DEFINE(HAVE_ISINF, [1], [isinf() macro or function])
1131
973
CFLAGS="$ORG_CFLAGS"
1133
975
# Sanity check: We chould not have any fseeko symbol unless
1134
976
# large_file_support=yes
1135
977
AC_CHECK_FUNC(fseeko,
1136
[if test "$large_file_support" = no -a "$TARGET_LINUX" = "true";
978
[if test "$large_file_support" = no -a "x$TARGET_LINUX" = "xtrue";
1138
980
AC_MSG_ERROR("Found fseeko symbol but large_file_support is not enabled!")
1142
984
# Check definition of pthread_getspecific
1143
985
AC_CACHE_CHECK([args to pthread_getspecific], [mysql_cv_getspecific_args],
1144
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#if !defined(_REENTRANT)
986
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
987
#if !defined(_REENTRANT)
1145
988
#define _REENTRANT
990
#ifndef _POSIX_PTHREAD_SEMANTICS
1147
991
#define _POSIX_PTHREAD_SEMANTICS
1148
993
#include <pthread.h> ]], [[ void *pthread_getspecific(pthread_key_t key);
1149
994
pthread_getspecific((pthread_key_t) NULL); ]])],
1150
995
[mysql_cv_getspecific_args=POSIX],
1175
1025
#---START: Used in for client configure
1176
1026
# Check definition of readdir_r
1177
1027
AC_CACHE_CHECK([args to readdir_r], [mysql_cv_readdir_r],
1178
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define _REENTRANT
1028
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[
1032
#ifndef _POSIX_PTHREAD_SEMANTICS
1179
1033
#define _POSIX_PTHREAD_SEMANTICS
1180
1035
#include <pthread.h>
1181
1036
#include <dirent.h>]], [[ int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result);
1182
1037
readdir_r((DIR *) NULL, (struct dirent *) NULL, (struct dirent **) NULL); ]])],
1249
1116
AC_DEFINE([HAVE_PTHREAD_ATTR_SETSCOPE], [1], [pthread_attr_setscope])
1252
# Check for bad includes
1253
AC_MSG_CHECKING("can netinet files be included")
1254
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
1255
#include <sys/socket.h>
1256
#include <netinet/in_systm.h>
1257
#include <netinet/in.h>
1258
#include <netinet/ip.h>
1259
#include <netinet/tcp.h>]], [[ printf("1\n"); ]])],[netinet_inc=yes],[netinet_inc=no])
1260
if test "$netinet_inc" = "no"
1262
AC_DEFINE([HAVE_BROKEN_NETINET_INCLUDES], [1], [Can netinet be included])
1264
AC_MSG_RESULT("$netinet_inc")
1266
1119
AC_LANG_PUSH([C++])
1267
1120
AC_CHECK_HEADERS(cxxabi.h)
1268
1121
AC_CACHE_CHECK([checking for abi::__cxa_demangle], mysql_cv_cxa_demangle,
1339
1193
[ac_warn_strict_aliasing="$enableval"],
1340
1194
[ac_warn_strict_aliasing="no"])
1196
AC_ARG_ENABLE([cast-warnings],
1197
[AS_HELP_STRING([--enable-cast-warnings],
1198
[Enable warnings about use of old C-style casts @<:@default=off@:>@])],
1199
[ac_warn_cast="$enableval"],
1200
[ac_warn_cast="no"])
1202
AC_ARG_ENABLE([effective-style],
1203
[AS_HELP_STRING([--enable-effective-style],
1204
[Enable warnings violating Effective C++ Style Guidelines @<:@default=off@:>@])],
1205
[ac_warn_effc="$enableval"],
1206
[ac_warn_effc="no"])
1208
AC_ARG_ENABLE([go-crazy],
1209
[AS_HELP_STRING([--enable-go-crazy],
1210
[Enables extra little warnings that might be too much @<:@default=off@:>@])],
1211
[ac_warn_go_crazy="$enableval"],
1212
[ac_warn_go_crazy="no"])
1214
AC_ARG_ENABLE([datarace],
1215
[AS_HELP_STRING([--enable-datarace],
1216
[Enables Sun Studio data race detection @<:@default=off@:>@])],
1217
[ac_datarace="$enableval"],
1343
1221
if test "$GCC" = "yes"
1224
if test "$ac_warn_fail" = "yes"
1228
BASE_WARNINGS="-Wall -Wextra ${W_FAIL}"
1346
1230
if test "$ac_warn_longlong" = "yes"
1348
1232
W_LONGLONG="-Wlong-long"
1374
1258
if test "$ac_warn_pedantic" = "yes"
1260
save_CXXFLAGS="${CXXFLAGS}"
1261
CXXFLAGS="${CXXFLAGS} ${W_FAIL} -Wredundant-decls"
1262
AC_CACHE_CHECK([whether it is safe to use -Wredundant-decls],
1263
[ac_cv_safe_to_use_Wredundant_decls_],
1267
template <typename E> struct C { void foo(); };
1268
template <typename E> void C<E>::foo() { }
1269
template <> void C<int>::foo();
1270
AC_INCLUDES_DEFAULT])],
1271
[ac_cv_safe_to_use_Wredundant_decls_=yes],
1272
[ac_cv_safe_to_use_Wredundant_decls_=no])
1274
if test $ac_cv_safe_to_use_Wredundant_decls_ = yes
1276
GXX_W_REDUNDANT_DECLS="-Wredundant-decls"
1278
GXX_W_REDUNDANT_DECLS="-Wno-redundant-decls"
1376
1281
GCC_PEDANTIC="-pedantic -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls ${W_STRICT_ALIASING}"
1377
GXX_PEDANTIC="-pedantic -Wundef -Wredundant-decls ${W_LONGLONG} ${W_STRICT_ALIASING}"
1282
GXX_PEDANTIC="-pedantic -Wundef ${GXX_W_REDUNDANT_DECLS} ${W_LONGLONG} ${W_STRICT_ALIASING}"
1284
AC_CACHE_CHECK([whether __attribute__ visibility "hidden" is supported],
1285
[ac_cv_can_use_hidden_],
1290
__attribute__((visibility ("hidden")))
1291
void testme() { };],[
1293
[ac_cv_can_use_hidden_=yes],
1294
[ac_cv_can_use_hidden_=no])
1296
if test "$ac_cv_can_use_hidden_" = "yes"
1298
AC_DEFINE(HAVE_ATTR_HIDDEN, 1,
1299
[Define to 1 if you have support for __attribute__((visibility("hidden")))])
1302
CXXFLAGS="${save_CXXFLAGS}"
1380
1305
if test "$ac_warn_unreachable" = "yes"
1382
1307
W_UNREACHABLE="-Wunreachable-code"
1385
if test "$ac_warn_fail" = "yes"
1390
BASE_WARNINGS="-W -Wall -Wextra"
1391
GCC_WARNINGS="${C99_SUPPORT_HACK} ${BASE_WARNINGS} ${GCC_PEDANTIC} ${W_UNREACHABLE} ${W_FAIL} ${GPROF_PROFILING} ${GPROF_COVERAGE}"
1392
GXX_WARNINGS="${BASE_WARNINGS} ${GXX_PEDANTIC} ${W_UNREACHABLE} ${W_FAIL} ${GPROF_PROFILING} ${GPROF_COVERAGE}"
1394
AM_CXXFLAGS="${GXX_WARNINGS} ${AM_CXXFLAGS}"
1395
AM_CFLAGS="${GCC_WARNINGS} ${AM_CFLAGS}"
1309
if test "$ac_warn_cast" = "yes"
1311
W_CAST="-Wold-style-cast"
1314
if test "$ac_warn_effc" = "yes"
1319
if test "$ac_warn_gocrazy" = "yes"
1321
W_CRAZY="-Wshadow -Wconversion -Winvalid-pch"
1324
CC_WARNINGS="${C99_SUPPORT_HACK} ${BASE_WARNINGS} ${GCC_PEDANTIC} ${W_UNREACHABLE} ${GPROF_PROFILING} ${GPROF_COVERAGE} ${W_CRAZY}"
1325
CXX_WARNINGS="${BASE_WARNINGS} ${GXX_PEDANTIC} ${W_UNREACHABLE} ${GPROF_PROFILING} ${GPROF_COVERAGE} ${W_CAST} ${W_EFFC} ${W_CRAZY}"
1327
NO_EXCEPTIONS="-fno-exceptions"
1328
W_EXCEPTIONS="-fexceptions"
1329
NO_UNUSED_MACROS="-Wno-unused-macros"
1330
NO_REDUNDANT_DECLS="-Wno-redundant-decls"
1331
# Disable exceptions as they seams to create problems with gcc and threads.
1332
# drizzled doesn't use run-time-type-checking, so we disable it.
1333
AM_CXXFLAGS="${AM_CXXFLAGS} -fno-rtti"
1334
CPPFLAGS="${CPPFLAGS} -fpch-deps"
1336
if test "$SUNCC" = "yes"
1338
if test "$ac_datarace" = "yes"
1340
CFLAGS="${CFLAGS} -xinstrument=datarace"
1341
CXXFLAGS="${CXXFLAGS} -xinstrument=datarace"
1343
CC_WARNINGS="-v -xc99=all -errtags=yes"
1344
CXX_WARNINGS="+w +w2 -xport64 -errtags=yes -erroff=attrskipunsup -compat=5"
1345
NO_EXCEPTIONS="-features=no%except"
1346
W_EXCEPTIONS="-features=except"
1348
AM_CXXFLAGS="${CXX_WARNINGS} ${NO_EXCEPTIONS} ${AM_CXXFLAGS}"
1349
AM_CFLAGS="${CC_WARNINGS} ${AM_CFLAGS}"
1351
AC_SUBST(NO_EXCEPTIONS)
1352
AC_SUBST(W_EXCEPTIONS)
1353
AC_SUBST(NO_UNUSED_MACROS)
1354
AC_SUBST(NO_REDUNDANT_DECLS)
1398
1356
AC_SUBST([GLOBAL_CPPFLAGS],['-I$(top_srcdir) -I$(top_builddir)'])
1399
1357
AC_SUBST([AM_CPPFLAGS],['${GLOBAL_CPPFLAGS}'])
1416
1374
AC_SUBST(MAKE_BINARY_DISTRIBUTION_OPTIONS)
1376
AC_SUBST(pkgplugindir,"\$(pkglibdir)/plugin")
1378
dnl GCC Precompiled Header Support
1380
dnl AM_CONDITIONAL([BUILD_GCC_PCH],[test "$GCC" = "yes"])
1381
AM_CONDITIONAL([BUILD_GCC_PCH],[test "no" = "yes"])
1418
1383
AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile dnl
1419
1384
mystrings/Makefile storage/Makefile dnl
1420
vio/Makefile po/Makefile.in dnl
1421
1386
libdrizzle/Makefile client/Makefile dnl
1422
1387
drizzled/Makefile dnl
1423
drizzled/field/Makefile dnl
1424
1388
drizzled/serialize/Makefile dnl
1425
1389
drizzled/sql_builtin.cc dnl
1426
drizzled/share/Makefile dnl
1427
1390
support-files/Makefile dnl
1428
1391
tests/Makefile tests/install_test_db dnl
1429
drizzled/version.h plugin/Makefile dnl
1430
1393
drizzled/drizzled_safe support-files/libdrizzle.pc dnl
1431
1394
support-files/drizzle.server support-files/drizzle-log-rotate)
1436
1399
AC_CONFIG_COMMANDS_POST(ac_configure_args="$ac_configure_args CFLAGS='$CFLAGS' CXXFLAGS='$CXXFLAGS' AM_CFLAGS='$AM_CFLAGS' AM_CXXFLAGS='$AM_CXXFLAGS'")
1404
echo "Configuration summary for $PACKAGE_NAME version $VERSION"
1406
echo " * Installation prefix: $prefix"
1407
echo " * System type: $SYSTEM_TYPE"
1408
echo " * Host CPU: $host_cpu"
1409
echo " * C Compiler: $CC_VERSION"
1410
echo " * C++ Compiler: $CXX_VERSION"
1411
echo " * Build auth_pam: $ac_cv_header_security_pam_appl_h"
1412
echo " * Assertions enabled: $ac_cv_assert"
1413
echo " * Debug enabled: $with_debug"
1414
echo " * Profiling enabled: $ac_profiling"
1415
echo " * Coverage enabled: $ac_coverage"
1416
echo " * Warnings as failure: $ac_warn_fail"
1417
echo " * C++ cstdint location: $ac_cv_cxx_cstdint"
1418
echo " * C++ hash_map location: $ac_cv_cxx_hash_map"
1419
echo " * C++ hash namespace: $ac_cv_cxx_hash_namespace"
1420
echo " * C++ cmath location: $ac_cv_cxx_cmath"
1421
echo " * C++ cmath namespace: $ac_cv_cxx_cmath_namespace"