memcached 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +2 -0
- data/Manifest +206 -12
- data/Rakefile +32 -1
- data/ext/extconf.rb +10 -35
- data/ext/libmemcached-0.32/AUTHORS +7 -0
- data/ext/libmemcached-0.32/COPYING +32 -0
- data/ext/libmemcached-0.32/ChangeLog +303 -0
- data/ext/libmemcached-0.32/INSTALL +302 -0
- data/ext/libmemcached-0.32/Makefile.am +36 -0
- data/ext/libmemcached-0.32/Makefile.in +828 -0
- data/ext/libmemcached-0.32/NEWS +1 -0
- data/ext/libmemcached-0.32/README +33 -0
- data/ext/libmemcached-0.32/THANKS +14 -0
- data/ext/libmemcached-0.32/TODO +11 -0
- data/ext/libmemcached-0.32/aclocal.m4 +1852 -0
- data/ext/libmemcached-0.32/clients/Makefile.am +73 -0
- data/ext/libmemcached-0.32/clients/Makefile.in +770 -0
- data/ext/libmemcached-0.32/clients/client_options.h +32 -0
- data/ext/libmemcached-0.32/clients/execute.c +64 -0
- data/ext/libmemcached-0.32/clients/execute.h +5 -0
- data/ext/libmemcached-0.32/clients/generator.c +74 -0
- data/ext/libmemcached-0.32/clients/generator.h +20 -0
- data/ext/libmemcached-0.32/clients/memcat.c +178 -0
- data/ext/libmemcached-0.32/clients/memcp.c +251 -0
- data/ext/libmemcached-0.32/clients/memdump.c +170 -0
- data/ext/libmemcached-0.32/clients/memerror.c +80 -0
- data/ext/libmemcached-0.32/clients/memflush.c +143 -0
- data/ext/libmemcached-0.32/clients/memrm.c +160 -0
- data/ext/libmemcached-0.32/clients/memslap.c +441 -0
- data/ext/libmemcached-0.32/clients/memstat.c +326 -0
- data/ext/libmemcached-0.32/clients/utilities.c +207 -0
- data/ext/libmemcached-0.32/clients/utilities.h +41 -0
- data/ext/libmemcached-0.32/config.h.in +252 -0
- data/ext/libmemcached-0.32/config/compile +143 -0
- data/ext/libmemcached-0.32/config/config.guess +1561 -0
- data/ext/libmemcached-0.32/config/config.rpath +666 -0
- data/ext/libmemcached-0.32/config/config.sub +1686 -0
- data/ext/libmemcached-0.32/config/depcomp +630 -0
- data/ext/libmemcached-0.32/config/install-sh +520 -0
- data/ext/libmemcached-0.32/config/ltmain.sh +8406 -0
- data/ext/libmemcached-0.32/config/missing +376 -0
- data/ext/libmemcached-0.32/configure +23048 -0
- data/ext/libmemcached-0.32/configure.ac +122 -0
- data/ext/libmemcached-0.32/docs/Makefile.am +415 -0
- data/ext/libmemcached-0.32/docs/Makefile.in +918 -0
- data/ext/libmemcached-0.32/docs/libmemcached.pod +123 -0
- data/ext/libmemcached-0.32/docs/libmemcached_examples.pod +115 -0
- data/ext/libmemcached-0.32/docs/libmemcachedutil.pod +40 -0
- data/ext/libmemcached-0.32/docs/memcached_analyze.pod +52 -0
- data/ext/libmemcached-0.32/docs/memcached_auto.pod +97 -0
- data/ext/libmemcached-0.32/docs/memcached_behavior.pod +224 -0
- data/ext/libmemcached-0.32/docs/memcached_callback.pod +123 -0
- data/ext/libmemcached-0.32/docs/memcached_create.pod +61 -0
- data/ext/libmemcached-0.32/docs/memcached_delete.pod +54 -0
- data/ext/libmemcached-0.32/docs/memcached_dump.pod +53 -0
- data/ext/libmemcached-0.32/docs/memcached_flush.pod +46 -0
- data/ext/libmemcached-0.32/docs/memcached_flush_buffers.pod +42 -0
- data/ext/libmemcached-0.32/docs/memcached_generate_hash_value.pod +57 -0
- data/ext/libmemcached-0.32/docs/memcached_get.pod +161 -0
- data/ext/libmemcached-0.32/docs/memcached_memory_allocators.pod +73 -0
- data/ext/libmemcached-0.32/docs/memcached_pool.pod +77 -0
- data/ext/libmemcached-0.32/docs/memcached_quit.pod +47 -0
- data/ext/libmemcached-0.32/docs/memcached_sasl.pod +63 -0
- data/ext/libmemcached-0.32/docs/memcached_server_st.pod +75 -0
- data/ext/libmemcached-0.32/docs/memcached_servers.pod +102 -0
- data/ext/libmemcached-0.32/docs/memcached_set.pod +187 -0
- data/ext/libmemcached-0.32/docs/memcached_stats.pod +82 -0
- data/ext/libmemcached-0.32/docs/memcached_strerror.pod +46 -0
- data/ext/libmemcached-0.32/docs/memcached_user_data.pod +49 -0
- data/ext/libmemcached-0.32/docs/memcached_verbosity.pod +41 -0
- data/ext/libmemcached-0.32/docs/memcached_version.pod +56 -0
- data/ext/libmemcached-0.32/docs/memcat.pod +37 -0
- data/ext/libmemcached-0.32/docs/memcp.pod +40 -0
- data/ext/libmemcached-0.32/docs/memdump.pod +31 -0
- data/ext/libmemcached-0.32/docs/memerror.pod +30 -0
- data/ext/libmemcached-0.32/docs/memflush.pod +35 -0
- data/ext/libmemcached-0.32/docs/memrm.pod +34 -0
- data/ext/libmemcached-0.32/docs/memslap.pod +33 -0
- data/ext/libmemcached-0.32/docs/memstat.pod +35 -0
- data/ext/libmemcached-0.32/libmemcached/Makefile.am +107 -0
- data/ext/libmemcached-0.32/libmemcached/Makefile.in +1050 -0
- data/ext/libmemcached-0.32/libmemcached/byteorder.c +31 -0
- data/ext/libmemcached-0.32/libmemcached/common.h +183 -0
- data/ext/libmemcached-0.32/libmemcached/crc.c +86 -0
- data/ext/libmemcached-0.32/libmemcached/hsieh_hash.c +68 -0
- data/ext/libmemcached-0.32/libmemcached/jenkins_hash.c +213 -0
- data/ext/libmemcached-0.32/libmemcached/libmemcached.ver +1 -0
- data/ext/libmemcached-0.32/libmemcached/libmemcached_probes.d +28 -0
- data/ext/libmemcached-0.32/libmemcached/libmemcached_probes.h +78 -0
- data/ext/libmemcached-0.32/libmemcached/md5.c +354 -0
- data/ext/libmemcached-0.32/libmemcached/memcached.c +152 -0
- data/ext/libmemcached-0.32/libmemcached/memcached.h +302 -0
- data/ext/libmemcached-0.32/libmemcached/memcached.hpp +799 -0
- data/ext/libmemcached-0.32/libmemcached/memcached/README.txt +7 -0
- data/ext/libmemcached-0.32/libmemcached/memcached/protocol_binary.h +366 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_allocators.c +72 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_analyze.c +100 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_auto.c +207 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_behavior.c +285 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_callback.c +175 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_configure.h.in +23 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_connect.c +361 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_constants.h +145 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_delete.c +0 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_do.c +34 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_dump.c +79 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_fetch.c +102 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_flush.c +89 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_flush_buffers.c +22 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_get.c +495 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_get.h +87 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_hash.c +252 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_hosts.c +510 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_internal.h +31 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_io.c +547 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_io.h +59 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_key.c +28 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_parse.c +74 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_pool.h +38 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_purge.c +76 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_quit.c +75 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_response.c +528 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_result.c +57 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_result.h +59 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_sasl.c +225 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_sasl.h +44 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_server.c +159 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_server.h +93 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_stats.c +454 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_storage.c +514 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_storage.h +107 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_strerror.c +92 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_string.c +138 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_string.h +53 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_types.h +44 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_util.h +15 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_verbosity.c +36 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_version.c +112 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_watchpoint.h +38 -0
- data/ext/libmemcached-0.32/libmemcached/murmur_hash.c +76 -0
- data/ext/libmemcached-0.32/libmemcached/visibility.h +51 -0
- data/ext/libmemcached-0.32/libmemcachedutil/Makefile.am +11 -0
- data/ext/libmemcached-0.32/libmemcachedutil/Makefile.in +602 -0
- data/ext/libmemcached-0.32/libmemcachedutil/libmemcachedutil.ver +1 -0
- data/ext/libmemcached-0.32/libmemcachedutil/memcached_pool.c +170 -0
- data/ext/libmemcached-0.32/m4/ac_cxx_compile_stdcxx_0x.m4 +103 -0
- data/ext/libmemcached-0.32/m4/ac_cxx_header_stdcxx_98.m4 +67 -0
- data/ext/libmemcached-0.32/m4/acx_pthread.m4 +276 -0
- data/ext/libmemcached-0.32/m4/byteorder.m4 +40 -0
- data/ext/libmemcached-0.32/m4/deprecated.m4 +17 -0
- data/ext/libmemcached-0.32/m4/enable_utillib.m4 +16 -0
- data/ext/libmemcached-0.32/m4/extensions.m4 +94 -0
- data/ext/libmemcached-0.32/m4/hsieh.m4 +18 -0
- data/ext/libmemcached-0.32/m4/lib-prefix.m4 +221 -0
- data/ext/libmemcached-0.32/m4/libtool.m4 +7360 -0
- data/ext/libmemcached-0.32/m4/ltoptions.m4 +368 -0
- data/ext/libmemcached-0.32/m4/ltsugar.m4 +123 -0
- data/ext/libmemcached-0.32/m4/ltversion.m4 +23 -0
- data/ext/libmemcached-0.32/m4/lt~obsolete.m4 +92 -0
- data/ext/libmemcached-0.32/m4/memcached.m4 +30 -0
- data/ext/libmemcached-0.32/m4/pandora_64bit.m4 +55 -0
- data/ext/libmemcached-0.32/m4/pandora_canonical.m4 +151 -0
- data/ext/libmemcached-0.32/m4/pandora_check_compiler_version.m4 +37 -0
- data/ext/libmemcached-0.32/m4/pandora_check_cxx_standard.m4 +16 -0
- data/ext/libmemcached-0.32/m4/pandora_enable_dtrace.m4 +41 -0
- data/ext/libmemcached-0.32/m4/pandora_ensure_gcc_version.m4 +36 -0
- data/ext/libmemcached-0.32/m4/pandora_have_better_malloc.m4 +54 -0
- data/ext/libmemcached-0.32/m4/pandora_have_sasl.m4 +133 -0
- data/ext/libmemcached-0.32/m4/pandora_header_assert.m4 +23 -0
- data/ext/libmemcached-0.32/m4/pandora_libtool.m4 +15 -0
- data/ext/libmemcached-0.32/m4/pandora_optimize.m4 +79 -0
- data/ext/libmemcached-0.32/m4/pandora_shared_ptr.m4 +56 -0
- data/ext/libmemcached-0.32/m4/pandora_vc_build.m4 +32 -0
- data/ext/libmemcached-0.32/m4/pandora_warnings.m4 +262 -0
- data/ext/libmemcached-0.32/m4/pod2man.m4 +7 -0
- data/ext/libmemcached-0.32/m4/protocol_binary.m4 +23 -0
- data/ext/libmemcached-0.32/m4/setsockopt.m4 +57 -0
- data/ext/libmemcached-0.32/m4/visibility.m4 +52 -0
- data/ext/libmemcached-0.32/support/Makefile.am +4 -0
- data/ext/libmemcached-0.32/support/Makefile.in +485 -0
- data/ext/libmemcached-0.32/support/libmemcached-fc.spec.in +105 -0
- data/ext/libmemcached-0.32/support/libmemcached.pc.in +10 -0
- data/ext/libmemcached-0.32/support/libmemcached.spec +105 -0
- data/ext/libmemcached-0.32/support/libmemcached.spec.in +105 -0
- data/ext/libmemcached-0.32/support/set_benchmark.sh +5 -0
- data/ext/libmemcached-0.32/tests/Makefile.am +105 -0
- data/ext/libmemcached-0.32/tests/Makefile.in +748 -0
- data/ext/libmemcached-0.32/tests/atomsmasher.c +245 -0
- data/ext/libmemcached-0.32/tests/function.c +4781 -0
- data/ext/libmemcached-0.32/tests/ketama_test_cases.h +108 -0
- data/ext/libmemcached-0.32/tests/output.cmp +7 -0
- data/ext/libmemcached-0.32/tests/output.res +7 -0
- data/ext/libmemcached-0.32/tests/output2.res +46 -0
- data/ext/libmemcached-0.32/tests/plus.cpp +293 -0
- data/ext/libmemcached-0.32/tests/r/memcat.res +19 -0
- data/ext/libmemcached-0.32/tests/r/memcp.res +27 -0
- data/ext/libmemcached-0.32/tests/r/memrm.res +19 -0
- data/ext/libmemcached-0.32/tests/r/memslap.res +33 -0
- data/ext/libmemcached-0.32/tests/r/memstat.res +33 -0
- data/ext/libmemcached-0.32/tests/server.c +118 -0
- data/ext/libmemcached-0.32/tests/server.h +25 -0
- data/ext/libmemcached-0.32/tests/start.c +16 -0
- data/ext/libmemcached-0.32/tests/t/memcat.test +4 -0
- data/ext/libmemcached-0.32/tests/t/memcp.test +3 -0
- data/ext/libmemcached-0.32/tests/t/memrm.test +3 -0
- data/ext/libmemcached-0.32/tests/t/memslap.test +5 -0
- data/ext/libmemcached-0.32/tests/t/memstat.test +3 -0
- data/ext/libmemcached-0.32/tests/test.c +137 -0
- data/ext/libmemcached-0.32/tests/test.h +46 -0
- data/ext/libmemcached-0.32/tests/udp.c +76 -0
- data/memcached.gemspec +4 -4
- data/test/unit/memcached_test.rb +30 -0
- metadata +213 -16
- data/ext/libmemcached-0.32.tar.gz +0 -0
- data/ext/libmemcached-1.patch +0 -270
- data/ext/libmemcached-10.patch +0 -12
- data/ext/libmemcached-2.patch +0 -116
- data/ext/libmemcached-3.patch +0 -8
- data/ext/libmemcached-4.patch +0 -40
- data/ext/libmemcached-5.patch +0 -832
- data/ext/libmemcached-6.patch +0 -20
- data/ext/libmemcached-7.patch +0 -2989
- data/ext/libmemcached-8.patch +0 -137
- data/ext/libmemcached-9.patch +0 -13
- data/ext/sasl.patch +0 -29283
@@ -0,0 +1,23 @@
|
|
1
|
+
# ltversion.m4 -- version numbers -*- Autoconf -*-
|
2
|
+
#
|
3
|
+
# Copyright (C) 2004 Free Software Foundation, Inc.
|
4
|
+
# Written by Scott James Remnant, 2004
|
5
|
+
#
|
6
|
+
# This file is free software; the Free Software Foundation gives
|
7
|
+
# unlimited permission to copy and/or distribute it, with or without
|
8
|
+
# modifications, as long as this notice is preserved.
|
9
|
+
|
10
|
+
# Generated from ltversion.in.
|
11
|
+
|
12
|
+
# serial 3012 ltversion.m4
|
13
|
+
# This file is part of GNU Libtool
|
14
|
+
|
15
|
+
m4_define([LT_PACKAGE_VERSION], [2.2.6])
|
16
|
+
m4_define([LT_PACKAGE_REVISION], [1.3012])
|
17
|
+
|
18
|
+
AC_DEFUN([LTVERSION_VERSION],
|
19
|
+
[macro_version='2.2.6'
|
20
|
+
macro_revision='1.3012'
|
21
|
+
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
22
|
+
_LT_DECL(, macro_revision, 0)
|
23
|
+
])
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
|
2
|
+
#
|
3
|
+
# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
|
4
|
+
# Written by Scott James Remnant, 2004.
|
5
|
+
#
|
6
|
+
# This file is free software; the Free Software Foundation gives
|
7
|
+
# unlimited permission to copy and/or distribute it, with or without
|
8
|
+
# modifications, as long as this notice is preserved.
|
9
|
+
|
10
|
+
# serial 4 lt~obsolete.m4
|
11
|
+
|
12
|
+
# These exist entirely to fool aclocal when bootstrapping libtool.
|
13
|
+
#
|
14
|
+
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
|
15
|
+
# which have later been changed to m4_define as they aren't part of the
|
16
|
+
# exported API, or moved to Autoconf or Automake where they belong.
|
17
|
+
#
|
18
|
+
# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
|
19
|
+
# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
|
20
|
+
# using a macro with the same name in our local m4/libtool.m4 it'll
|
21
|
+
# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
|
22
|
+
# and doesn't know about Autoconf macros at all.)
|
23
|
+
#
|
24
|
+
# So we provide this file, which has a silly filename so it's always
|
25
|
+
# included after everything else. This provides aclocal with the
|
26
|
+
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
|
27
|
+
# because those macros already exist, or will be overwritten later.
|
28
|
+
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
|
29
|
+
#
|
30
|
+
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
|
31
|
+
# Yes, that means every name once taken will need to remain here until
|
32
|
+
# we give up compatibility with versions before 1.7, at which point
|
33
|
+
# we need to keep only those names which we still refer to.
|
34
|
+
|
35
|
+
# This is to help aclocal find these macros, as it can't see m4_define.
|
36
|
+
AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
|
37
|
+
|
38
|
+
m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
|
39
|
+
m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
|
40
|
+
m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
|
41
|
+
m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
|
42
|
+
m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
|
43
|
+
m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
|
44
|
+
m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
|
45
|
+
m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
|
46
|
+
m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
|
47
|
+
m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
|
48
|
+
m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
|
49
|
+
m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
|
50
|
+
m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
|
51
|
+
m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
|
52
|
+
m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
|
53
|
+
m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
|
54
|
+
m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
|
55
|
+
m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
|
56
|
+
m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
|
57
|
+
m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
|
58
|
+
m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
|
59
|
+
m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
|
60
|
+
m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
|
61
|
+
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
|
62
|
+
m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
|
63
|
+
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
|
64
|
+
m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
|
65
|
+
m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
|
66
|
+
m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
|
67
|
+
m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
|
68
|
+
m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
|
69
|
+
m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
|
70
|
+
m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
|
71
|
+
m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
|
72
|
+
m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
|
73
|
+
m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
|
74
|
+
m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
|
75
|
+
m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
|
76
|
+
m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
|
77
|
+
m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
|
78
|
+
m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
|
79
|
+
m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
|
80
|
+
m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
|
81
|
+
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
|
82
|
+
m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
|
83
|
+
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
|
84
|
+
m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
|
85
|
+
m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
|
86
|
+
m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
|
87
|
+
m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
|
88
|
+
m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
|
89
|
+
m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
|
90
|
+
m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
|
91
|
+
m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
|
92
|
+
m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
|
@@ -0,0 +1,30 @@
|
|
1
|
+
AC_DEFUN([WITH_MEMCACHED],
|
2
|
+
[AC_ARG_WITH([memcached],
|
3
|
+
[AS_HELP_STRING([--with-memcached],
|
4
|
+
[Memcached binary to use for make test])],
|
5
|
+
[ac_cv_with_memcached="$withval"],
|
6
|
+
[ac_cv_with_memcached=memcached])
|
7
|
+
|
8
|
+
# just ignore the user if --without-memcached is passed.. it is
|
9
|
+
# only used by make test
|
10
|
+
AS_IF([test "x$withval" = "xno"],
|
11
|
+
[
|
12
|
+
ac_cv_with_memcached=memcached
|
13
|
+
MEMC_BINARY=memcached
|
14
|
+
],
|
15
|
+
[
|
16
|
+
AS_IF([test -f "$withval"],
|
17
|
+
[
|
18
|
+
ac_cv_with_memcached=$withval
|
19
|
+
MEMC_BINARY=$withval
|
20
|
+
],
|
21
|
+
[
|
22
|
+
AC_PATH_PROG([MEMC_BINARY], [$ac_cv_with_memcached], "no")
|
23
|
+
AS_IF([test "x$MEMC_BINARY" = "xno"],
|
24
|
+
AC_MSG_ERROR(["could not find memcached binary"]))
|
25
|
+
])
|
26
|
+
])
|
27
|
+
|
28
|
+
AC_DEFINE_UNQUOTED([MEMCACHED_BINARY], "$MEMC_BINARY",
|
29
|
+
[Name of the memcached binary used in make test])
|
30
|
+
])
|
@@ -0,0 +1,55 @@
|
|
1
|
+
dnl Copyright (C) 2009 Sun Microsystems
|
2
|
+
dnl This file is free software; Sun Microsystems
|
3
|
+
dnl gives unlimited permission to copy and/or distribute it,
|
4
|
+
dnl with or without modifications, as long as this notice is preserved.
|
5
|
+
|
6
|
+
dnl ---------------------------------------------------------------------------
|
7
|
+
dnl Macro: PANDORA_64BIT
|
8
|
+
dnl ---------------------------------------------------------------------------
|
9
|
+
AC_DEFUN([PANDORA_64BIT],[
|
10
|
+
AC_BEFORE([$0], [AC_LIB_PREFIX])
|
11
|
+
|
12
|
+
|
13
|
+
AC_ARG_ENABLE([64bit],[
|
14
|
+
AS_HELP_STRING([--disable-64bit],
|
15
|
+
[Build 64 bit binary @<:@default=on@:>@])],
|
16
|
+
[ac_enable_64bit="$enableval"],
|
17
|
+
[ac_enable_64bit="yes"])
|
18
|
+
|
19
|
+
AC_CHECK_PROGS(ISAINFO, [isainfo], [no])
|
20
|
+
AS_IF([test "x$ISAINFO" != "xno"],
|
21
|
+
[isainfo_b=`${ISAINFO} -b`],
|
22
|
+
[isainfo_b="x"])
|
23
|
+
|
24
|
+
AS_IF([test "$isainfo_b" != "x"],[
|
25
|
+
|
26
|
+
isainfo_k=`${ISAINFO} -k`
|
27
|
+
DTRACEFLAGS="${DTRACEFLAGS} -${isainfo_k}"
|
28
|
+
|
29
|
+
AS_IF([test "x${ac_cv_env_CPPFLAGS_set}" = "x"],[
|
30
|
+
CPPFLAGS="-I/usr/local ${CPPFLAGS}"
|
31
|
+
])
|
32
|
+
|
33
|
+
AS_IF([test "x${ac_cv_env_LDFLAGS_set}" = "x"],[
|
34
|
+
LDFLAGS="-L/usr/local/lib/${isainfo_k} ${LDFLAGS}"
|
35
|
+
])
|
36
|
+
|
37
|
+
AS_IF([test "x$ac_enable_64bit" = "xyes"],[
|
38
|
+
AS_IF([test "x$libdir" = "x\${exec_prefix}/lib"],[
|
39
|
+
dnl The user hasn't overridden the default libdir, so we'll
|
40
|
+
dnl the dir suffix to match solaris 32/64-bit policy
|
41
|
+
libdir="${libdir}/${isainfo_k}"
|
42
|
+
])
|
43
|
+
|
44
|
+
CPPFLAGS="-m64 ${CPPFLAGS}"
|
45
|
+
LDFLAGS="-m64 ${LDFLAGS}"
|
46
|
+
AS_IF([test "$target_cpu" = "sparc" -a "x$SUNCC" = "xyes"],[
|
47
|
+
AM_CFLAGS="-xmemalign=8s ${AM_CFLAGS}"
|
48
|
+
AM_CXXFLAGS="-xmemalign=8s ${AM_CXXFLAGS}"
|
49
|
+
])
|
50
|
+
])
|
51
|
+
])
|
52
|
+
])
|
53
|
+
dnl ---------------------------------------------------------------------------
|
54
|
+
dnl End Macro: PANDORA_64BIT
|
55
|
+
dnl ---------------------------------------------------------------------------
|
@@ -0,0 +1,151 @@
|
|
1
|
+
dnl Copyright (C) 2009 Sun Microsystems
|
2
|
+
dnl This file is free software; Sun Microsystems
|
3
|
+
dnl gives unlimited permission to copy and/or distribute it,
|
4
|
+
dnl with or without modifications, as long as this notice is preserved.
|
5
|
+
|
6
|
+
dnl Which version of the canonical setup we're using
|
7
|
+
AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.22])
|
8
|
+
|
9
|
+
AC_DEFUN([PANDORA_FORCE_DEPEND_TRACKING],[
|
10
|
+
dnl Force dependency tracking on for Sun Studio builds
|
11
|
+
AS_IF([test "x${enable_dependency_tracking}" = "x"],[
|
12
|
+
enable_dependency_tracking=yes
|
13
|
+
])
|
14
|
+
])
|
15
|
+
|
16
|
+
dnl The standard setup for how we build Pandora projects
|
17
|
+
AC_DEFUN([PANDORA_CANONICAL_TARGET],[
|
18
|
+
AC_REQUIRE([PANDORA_FORCE_DEPEND_TRACKING])
|
19
|
+
ifdef([m4_define],,[define([m4_define], defn([define]))])
|
20
|
+
ifdef([m4_undefine],,[define([m4_undefine], defn([undefine]))])
|
21
|
+
m4_define([PCT_ALL_ARGS],[$*])
|
22
|
+
m4_define([PCT_USE_GNULIB],[no])
|
23
|
+
m4_define([PCT_REQUIRE_CXX],[no])
|
24
|
+
m4_define([PCT_IGNORE_SHARED_PTR],[no])
|
25
|
+
m4_define([PCT_FORCE_GCC42],[no])
|
26
|
+
m4_foreach([pct_arg],[$*],[
|
27
|
+
m4_case(pct_arg,
|
28
|
+
[use-gnulib], [
|
29
|
+
m4_undefine([PCT_USE_GNULIB])
|
30
|
+
m4_define([PCT_USE_GNULIB],[yes])
|
31
|
+
],
|
32
|
+
[require-cxx], [
|
33
|
+
m4_undefine([PCT_REQUIRE_CXX])
|
34
|
+
m4_define([PCT_REQUIRE_CXX],[yes])
|
35
|
+
],
|
36
|
+
[ignore-shared-ptr], [
|
37
|
+
m4_undefine([PCT_IGNORE_SHARED_PTR])
|
38
|
+
m4_define([PCT_IGNORE_SHARED_PTR],[yes])
|
39
|
+
],
|
40
|
+
[force-gcc42], [
|
41
|
+
m4_undefine([PCT_FORCE_GCC42])
|
42
|
+
m4_define([PCT_FORCE_GCC42],[yes])
|
43
|
+
])
|
44
|
+
])
|
45
|
+
|
46
|
+
# We need to prevent canonical target
|
47
|
+
# from injecting -O2 into CFLAGS - but we won't modify anything if we have
|
48
|
+
# set CFLAGS on the command line, since that should take ultimate precedence
|
49
|
+
AS_IF([test "x${ac_cv_env_CFLAGS_set}" = "x"],
|
50
|
+
[CFLAGS=""])
|
51
|
+
AS_IF([test "x${ac_cv_env_CXXFLAGS_set}" = "x"],
|
52
|
+
[CXXFLAGS=""])
|
53
|
+
|
54
|
+
AC_CANONICAL_TARGET
|
55
|
+
|
56
|
+
AM_INIT_AUTOMAKE(-Wall -Werror nostdinc subdir-objects)
|
57
|
+
|
58
|
+
m4_if(PCT_USE_GNULIB,yes,[ gl_EARLY ])
|
59
|
+
|
60
|
+
AC_REQUIRE([AC_PROG_CC])
|
61
|
+
AC_REQUIRE([PANDORA_MAC_GCC42])
|
62
|
+
AC_REQUIRE([PANDORA_64BIT])
|
63
|
+
|
64
|
+
dnl Once we can use a modern autoconf, we can use this
|
65
|
+
dnl AC_PROG_CC_C99
|
66
|
+
AC_PROG_CXX
|
67
|
+
AC_PROG_CPP
|
68
|
+
AM_PROG_CC_C_O
|
69
|
+
|
70
|
+
|
71
|
+
gl_USE_SYSTEM_EXTENSIONS
|
72
|
+
m4_if(PCT_FORCE_GCC42, [yes], [
|
73
|
+
AS_IF([test "$GCC" = "yes"], PANDORA_ENSURE_GCC_VERSION)
|
74
|
+
])
|
75
|
+
|
76
|
+
AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
|
77
|
+
AC_CHECK_DECL([__ICC], [INTELCC="yes"], [INTELCC="no"])
|
78
|
+
AS_IF([test "x$INTELCC" = "xyes"], [enable_rpath=no])
|
79
|
+
|
80
|
+
PANDORA_LIBTOOL
|
81
|
+
|
82
|
+
dnl autoconf doesn't automatically provide a fail-if-no-C++ macro
|
83
|
+
dnl so we check c++98 features and fail if we don't have them, mainly
|
84
|
+
dnl for that reason
|
85
|
+
PANDORA_CHECK_CXX_STANDARD
|
86
|
+
m4_if(PCT_REQUIRE_CXX, [yes], [
|
87
|
+
AS_IF([test "$ac_cv_cxx_stdcxx_98" = "no"],[
|
88
|
+
AC_MSG_ERROR([No working C++ Compiler has been found. ${PACKAGE} requires a C++ compiler that can handle C++98])
|
89
|
+
])
|
90
|
+
])
|
91
|
+
|
92
|
+
PANDORA_SHARED_PTR
|
93
|
+
m4_if(PCT_IGNORE_SHARED_PTR, [no], [
|
94
|
+
AS_IF([test "$ac_cv_shared_ptr_namespace" = "missing"],[
|
95
|
+
AC_MSG_WARN([a usable shared_ptr implementation was not found. Let someone know what your platform is.])
|
96
|
+
])
|
97
|
+
])
|
98
|
+
|
99
|
+
m4_if(PCT_USE_GNULIB, [yes], [gl_INIT])
|
100
|
+
|
101
|
+
AC_C_BIGENDIAN
|
102
|
+
AC_C_CONST
|
103
|
+
AC_C_INLINE
|
104
|
+
AC_C_VOLATILE
|
105
|
+
AC_C_RESTRICT
|
106
|
+
|
107
|
+
AC_HEADER_TIME
|
108
|
+
AC_TYPE_SIZE_T
|
109
|
+
AC_SYS_LARGEFILE
|
110
|
+
|
111
|
+
|
112
|
+
PANDORA_CHECK_C_VERSION
|
113
|
+
PANDORA_CHECK_CXX_VERSION
|
114
|
+
|
115
|
+
PANDORA_OPTIMIZE
|
116
|
+
|
117
|
+
dnl We need to inject error into the cflags to test if visibility works or not
|
118
|
+
save_CFLAGS="${CFLAGS}"
|
119
|
+
CFLAGS="${CFLAGS} -Werror"
|
120
|
+
gl_VISIBILITY
|
121
|
+
CFLAGS="${save_CFLAGS}"
|
122
|
+
|
123
|
+
PANDORA_HEADER_ASSERT
|
124
|
+
|
125
|
+
PANDORA_WARNINGS(PCT_ALL_ARGS)
|
126
|
+
|
127
|
+
PANDORA_ENABLE_DTRACE
|
128
|
+
|
129
|
+
AC_LIB_PREFIX
|
130
|
+
PANDORA_HAVE_BETTER_MALLOC
|
131
|
+
|
132
|
+
AC_CHECK_PROGS([DOXYGEN], [doxygen])
|
133
|
+
AC_CHECK_PROGS([PERL], [perl])
|
134
|
+
|
135
|
+
AS_IF([test "x${gl_LIBOBJS}" != "x"],[
|
136
|
+
AS_IF([test "$GCC" = "yes"],[
|
137
|
+
AM_CPPFLAGS="-isystem \$(top_srcdir)/gnulib -isystem \$(top_builddir)/gnulib ${AM_CPPFLAGS}"
|
138
|
+
],[
|
139
|
+
AM_CPPFLAGS="-I\$(top_srcdir)/gnulib -I\$(top_builddir)/gnulib ${AM_CPPFLAGS}"
|
140
|
+
])
|
141
|
+
])
|
142
|
+
|
143
|
+
AM_CPPFLAGS="-I\${top_srcdir} -I\${top_builddir} ${AM_CPPFLAGS}"
|
144
|
+
AM_CFLAGS="${AM_CFLAGS} ${CC_WARNINGS} ${CC_PROFILING} ${CC_COVERAGE}"
|
145
|
+
AM_CXXFLAGS="${AM_CXXFLAGS} ${CXX_WARNINGS} ${CC_PROFILING} ${CC_COVERAGE}"
|
146
|
+
|
147
|
+
AC_SUBST([AM_CFLAGS])
|
148
|
+
AC_SUBST([AM_CXXFLAGS])
|
149
|
+
AC_SUBST([AM_CPPFLAGS])
|
150
|
+
|
151
|
+
])
|
@@ -0,0 +1,37 @@
|
|
1
|
+
dnl Copyright (C) 2009 Sun Microsystems
|
2
|
+
dnl This file is free software; Sun Microsystems
|
3
|
+
dnl gives unlimited permission to copy and/or distribute it,
|
4
|
+
dnl with or without modifications, as long as this notice is preserved.
|
5
|
+
|
6
|
+
|
7
|
+
AC_DEFUN([PANDORA_CHECK_C_VERSION],[
|
8
|
+
|
9
|
+
dnl Print version of C compiler
|
10
|
+
AC_MSG_CHECKING("C Compiler version--$GCC")
|
11
|
+
AS_IF([test "$GCC" = "yes"],[
|
12
|
+
CC_VERSION=`$CC --version | sed 1q`
|
13
|
+
],[AS_IF([test "$SUNCC" = "yes"],[
|
14
|
+
CC_VERSION=`$CC -V 2>&1 | sed 1q`
|
15
|
+
],[
|
16
|
+
CC_VERSION=""
|
17
|
+
])
|
18
|
+
])
|
19
|
+
AC_MSG_RESULT("$CC_VERSION")
|
20
|
+
AC_SUBST(CC_VERSION)
|
21
|
+
])
|
22
|
+
|
23
|
+
|
24
|
+
AC_DEFUN([PANDORA_CHECK_CXX_VERSION], [
|
25
|
+
dnl Print version of CXX compiler
|
26
|
+
AC_MSG_CHECKING("C++ Compiler version")
|
27
|
+
AS_IF([test "$GCC" = "yes"],[
|
28
|
+
CXX_VERSION=`$CXX --version | sed 1q`
|
29
|
+
],[AS_IF([test "$SUNCC" = "yes"],[
|
30
|
+
CXX_VERSION=`$CXX -V 2>&1 | sed 1q`
|
31
|
+
],[
|
32
|
+
CXX_VERSION=""
|
33
|
+
])
|
34
|
+
])
|
35
|
+
AC_MSG_RESULT("$CXX_VERSION")
|
36
|
+
AC_SUBST(CXX_VERSION)
|
37
|
+
])
|
@@ -0,0 +1,16 @@
|
|
1
|
+
dnl Copyright (C) 2009 Sun Microsystems
|
2
|
+
dnl This file is free software; Sun Microsystems
|
3
|
+
dnl gives unlimited permission to copy and/or distribute it,
|
4
|
+
dnl with or without modifications, as long as this notice is preserved.
|
5
|
+
|
6
|
+
AC_DEFUN([PANDORA_CHECK_CXX_STANDARD],[
|
7
|
+
AC_REQUIRE([AC_CXX_COMPILE_STDCXX_0X])
|
8
|
+
AS_IF([test "$GCC" = "yes"],
|
9
|
+
[AS_IF([test "$ac_cv_cxx_compile_cxx0x_native" = "yes"],[],
|
10
|
+
[AS_IF([test "$ac_cv_cxx_compile_cxx0x_gxx" = "yes"],
|
11
|
+
[CXXFLAGS="-std=gnu++0x ${CXXFLAGS}"],
|
12
|
+
[CXXFLAGS="-std=gnu++98"])
|
13
|
+
])
|
14
|
+
])
|
15
|
+
AC_CXX_HEADER_STDCXX_98
|
16
|
+
])
|
@@ -0,0 +1,41 @@
|
|
1
|
+
dnl Copyright (C) 2009 Sun Microsystems
|
2
|
+
dnl This file is free software; Sun Microsystems
|
3
|
+
dnl gives unlimited permission to copy and/or distribute it,
|
4
|
+
dnl with or without modifications, as long as this notice is preserved.
|
5
|
+
|
6
|
+
dnl ---------------------------------------------------------------------------
|
7
|
+
dnl Macro: PANDORA_ENABLE_DTRACE
|
8
|
+
dnl ---------------------------------------------------------------------------
|
9
|
+
AC_DEFUN([PANDORA_ENABLE_DTRACE],[
|
10
|
+
AC_ARG_ENABLE([dtrace],
|
11
|
+
[AS_HELP_STRING([--enable-dtrace],
|
12
|
+
[Build with support for the DTRACE. @<:@default=off@:>@])],
|
13
|
+
[ac_cv_enable_dtrace="yes"],
|
14
|
+
[ac_cv_enable_dtrace="no"])
|
15
|
+
|
16
|
+
AS_IF([test "$ac_cv_enable_dtrace" = "yes"],[
|
17
|
+
AC_CHECK_PROGS([DTRACE], [dtrace])
|
18
|
+
AS_IF([test "x$ac_cv_prog_DTRACE" = "xdtrace"],[
|
19
|
+
AC_DEFINE([HAVE_DTRACE], [1], [Enables DTRACE Support])
|
20
|
+
dnl DTrace on MacOSX does not use -G option
|
21
|
+
cat >conftest.d <<_ACEOF
|
22
|
+
provider Example {
|
23
|
+
probe increment(int);
|
24
|
+
};
|
25
|
+
_ACEOF
|
26
|
+
$DTRACE -G -o conftest.d.o -s conftest.d 2>/dev/zero
|
27
|
+
AS_IF([test $? -eq 0],[ac_cv_dtrace_needs_objects=yes])
|
28
|
+
rm -f conftest.d.o conftest.d
|
29
|
+
|
30
|
+
AC_SUBST(DTRACEFLAGS) dnl TODO: test for -G on OSX
|
31
|
+
ac_cv_have_dtrace=yes
|
32
|
+
])])
|
33
|
+
|
34
|
+
AM_CONDITIONAL([HAVE_DTRACE], [test "x$ac_cv_have_dtrace" = "xyes"])
|
35
|
+
AM_CONDITIONAL([DTRACE_NEEDS_OBJECTS],
|
36
|
+
[test "x$ac_cv_dtrace_needs_objects" = "xyes"])
|
37
|
+
|
38
|
+
])
|
39
|
+
dnl ---------------------------------------------------------------------------
|
40
|
+
dnl End Macro: PANDORA_ENABLE_DTRACE
|
41
|
+
dnl ---------------------------------------------------------------------------
|