~brianaker/libmemcached/1164440

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Brian Aker
  • Date: 2012-10-11 06:34:58 UTC
  • mto: This revision was merged to the branch mainline in revision 1080.
  • Revision ID: brian@tangent.org-20121011063458-37t0j4fgztbn40f3
Remove dead pandora files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
LT_PREREQ([2.2])
46
46
LT_INIT
47
47
LT_LANG([C++])
 
48
 
 
49
AX_PLATFORM
 
50
 
48
51
gl_VISIBILITY
49
 
PANDORA_PLATFORM
50
52
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
51
53
 
52
54
AX_CXX_HEADER_STDCXX_98
196
198
              ])
197
199
 
198
200
# Check for the ability to call dlopen
199
 
AC_CHECK_LIB([dl], [dlopen],[
 
201
AC_CHECK_LIB([dl], [dlopen], [
200
202
              DL_LIB="-ldl"
201
 
              AC_SUBST(DL_LIB)
202
 
              AC_DEFINE([HAVE_LIBDL], [ 1 ], [Have dlopen])
 
203
              AC_SUBST([DL_LIB])
 
204
              AC_DEFINE([HAVE_LIBDL],[1],[Have dlopen])
203
205
              ],[
204
 
                 AC_DEFINE([HAVE_LIBDL], [ 0 ], [Have dlopen])
 
206
                 AC_DEFINE([HAVE_LIBDL], [0], [Have dlopen])
205
207
                 ])
206
208
 
207
209
AC_CHECK_LIB([m], [floor])
209
211
 
210
212
AC_CHECK_HEADERS([atomic.h])
211
213
AS_IF([test "x$ac_cv_header_atomic_h" = "xyes"],[
212
 
      AC_CHECK_FUNCS(atomic_add_64)
213
 
      AC_CHECK_FUNCS(atomic_add_32)
 
214
      AC_CHECK_FUNCS([atomic_add_64])
 
215
      AC_CHECK_FUNCS([atomic_add_32])
214
216
      AS_IF([test "x$ac_cv_func_atomic_add_64" = "xyes" -a "x$ac_cv_func_atomic_add_32" = "xyes"],[
215
217
            AC_DEFINE([USE_ATOMIC_H],
216
218
                      [1],
232
234
dnl your requirements, define HAVE_DROP_PRIVILEGES, and make sure you add
233
235
dnl the source file containing the implementation into memcached_SOURCE
234
236
dnl in Makefile.am
235
 
AC_CHECK_FUNCS(setppriv, [
236
 
   AC_CHECK_HEADER(priv.h, [
 
237
AC_CHECK_FUNCS([setppriv], [
 
238
   AC_CHECK_HEADER([priv.h], [
237
239
      AC_DEFINE([HAVE_DROP_PRIVILEGES], 1,
238
240
         [Define this if you have an implementation of drop_privileges()])
239
241
      build_solaris_privs=yes