2008-01-28 02:12:20 +00:00
|
|
|
# -*- Autoconf -*-
|
|
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
|
2008-03-05 20:28:22 +00:00
|
|
|
# Autoconf
|
2008-02-25 18:04:01 +00:00
|
|
|
AC_PREREQ(2.59)
|
2011-03-18 21:47:09 +00:00
|
|
|
|
|
|
|
# NOTE: This version is _only_ used for naming the tarball. The
|
|
|
|
# VERSION define is not used by the code. It gets a version string
|
|
|
|
# from 'git describe'; see src/ceph_ver.[ch]
|
|
|
|
AC_INIT([ceph], [0.26rc], [ceph-devel@vger.kernel.org])
|
|
|
|
|
Use Google Test framework for unit tests.
Use ``make check`` to run the tests.
The src/gtest directory comes from ``svn export
http://googletest.googlecode.com/svn/tags/release-1.5.0 src/gtest``
and running "git add -f src/gtest".
gtest is licensed under the New BSD license, see src/gtest/COPYING.
For more on Google Test, see http://code.google.com/p/googletest/
Changed autogen.sh regenerate gtest automake files too. Make sure to
run ``./autogen.sh && ./configure`` after merging this commit, or
incremental builds may fail. The automake integration is inspired
heavily by the protobuf project, and may still be problematic.
Make git ignore files generated by gtest compilation.
Currently putting in just one new-style unit test, refactoring old
tests to fit will come in separate commits.
Note: if you are starting daemons, listening on TCP ports, using
multiple machines, mounting filesystems, etc, it's not a unit test
and does not belong in this setup. A framework for system/integration
tests will be provided later.
2011-01-07 21:15:40 +00:00
|
|
|
AC_CONFIG_SUBDIRS([src/gtest])
|
2008-03-05 20:28:22 +00:00
|
|
|
|
|
|
|
# Environment
|
|
|
|
AC_CANONICAL_HOST
|
|
|
|
AC_CANONICAL_TARGET
|
|
|
|
|
|
|
|
# Automake
|
2011-02-24 15:41:23 +00:00
|
|
|
AM_INIT_AUTOMAKE
|
2008-03-22 18:38:08 +00:00
|
|
|
AM_PROG_CC_C_O
|
2009-05-12 04:06:14 +00:00
|
|
|
AM_PROG_LIBTOOL
|
2008-01-28 02:12:20 +00:00
|
|
|
|
2008-03-05 20:28:22 +00:00
|
|
|
# Platform
|
|
|
|
case "${target_os}" in
|
|
|
|
darwin*)
|
|
|
|
AC_DEFINE([DARWIN], [1], [Define if darwin/osx])
|
|
|
|
esac
|
|
|
|
|
2008-01-28 02:12:20 +00:00
|
|
|
# Checks for programs.
|
|
|
|
AC_PROG_CXX
|
2008-03-22 18:38:08 +00:00
|
|
|
#AC_PROG_CC
|
2009-05-12 04:06:14 +00:00
|
|
|
#AC_PROG_RANLIB
|
2008-01-28 19:05:29 +00:00
|
|
|
AC_PROG_MAKE_SET
|
2009-05-12 04:06:14 +00:00
|
|
|
AC_PROG_LIBTOOL
|
2008-01-28 19:05:29 +00:00
|
|
|
|
2008-01-28 02:12:20 +00:00
|
|
|
# Checks for libraries.
|
2009-10-28 21:47:08 +00:00
|
|
|
AC_CHECK_LIB([m], [pow], [true], AC_MSG_FAILURE([libm not found]))
|
|
|
|
AC_CHECK_LIB([pthread], [pthread_create], [true], AC_MSG_FAILURE([libpthread not found]))
|
2011-03-29 18:39:26 +00:00
|
|
|
AC_CHECK_LIB([keyutils], [add_key], [true], AC_MSG_FAILURE([libkeyutils not found]))
|
2011-03-11 18:28:58 +00:00
|
|
|
|
|
|
|
# Find some crypto library for us to use, while letting user to decide which one to use.
|
|
|
|
AC_ARG_WITH([cryptopp],
|
|
|
|
[AS_HELP_STRING([--with-cryptopp], [Use cryptographic functions from cryptopp])],
|
|
|
|
[],
|
|
|
|
[with_cryptopp=check])
|
|
|
|
have_cryptopp=no
|
|
|
|
# this looks clumsy but it's just if A then { success } else { if B then success }
|
|
|
|
AS_IF([test "x$with_cryptopp" != "xno"],
|
|
|
|
[PKG_CHECK_MODULES([CRYPTOPP],
|
|
|
|
[libcrypto++],
|
|
|
|
[have_cryptopp=yes],
|
|
|
|
[AC_SEARCH_LIBS([_ZTIN8CryptoPP14CBC_EncryptionE], [crypto++ cryptopp],
|
|
|
|
[have_cryptopp=yes],
|
|
|
|
[true],
|
|
|
|
[-lpthread])])])
|
|
|
|
# bail out if given explicit --with-cryptopp
|
|
|
|
if test "x$have_cryptopp" = "xno" -a "x$with_cryptopp" != "xcheck" -a "x$with_cryptopp" != "xno"; then
|
|
|
|
AC_MSG_FAILURE([--with-cryptopp was given, but library was not found])
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_ARG_WITH([nss],
|
|
|
|
[AS_HELP_STRING([--with-nss], [Use cryptographic functions from nss])],
|
|
|
|
[],
|
|
|
|
[with_nss=check])
|
|
|
|
have_nss=no
|
|
|
|
AS_IF([test "x$with_nss" != "xno"],
|
|
|
|
[PKG_CHECK_MODULES([NSS], [nss], [have_nss=yes], [true])])
|
|
|
|
# bail out if given explicit --with-nss
|
|
|
|
if test "x$have_nss" = "xno" -a "x$with_nss" != "xcheck" -a "x$with_nss" != "xno"; then
|
|
|
|
AC_MSG_FAILURE([--with-nss was given, but library was not found])
|
|
|
|
fi
|
|
|
|
|
|
|
|
# now decide which crypto library to really use
|
|
|
|
if test "x$have_cryptopp" = "xyes"; then
|
|
|
|
AC_MSG_NOTICE([using cryptopp for cryptography])
|
|
|
|
AC_DEFINE([USE_CRYPTOPP], [1], [Define if using CryptoPP.])
|
|
|
|
AC_SUBST([CRYPTO_CFLAGS], [$CRYPTOPP_CFLAGS])
|
|
|
|
AC_SUBST([CRYPTO_CXXFLAGS], [$CRYPTOPP_CXXFLAGS])
|
|
|
|
AC_SUBST([CRYPTO_LIBS], [$CRYPTOPP_LIBS])
|
|
|
|
elif test "x$have_nss" = "xyes"; then
|
|
|
|
AC_MSG_NOTICE([using nss for cryptography])
|
|
|
|
AC_DEFINE([USE_NSS], [1], [Define if using NSS.])
|
|
|
|
AC_SUBST([CRYPTO_CFLAGS], [$NSS_CFLAGS])
|
|
|
|
# this needs CFLAGS too in practise to get the includes right. ugly.
|
|
|
|
AC_SUBST([CRYPTO_CXXFLAGS], [$NSS_CFLAGS $NSS_CXXFLAGS])
|
|
|
|
AC_SUBST([CRYPTO_LIBS], [$NSS_LIBS])
|
|
|
|
else
|
|
|
|
AC_MSG_FAILURE([no suitable crypto library found])
|
|
|
|
fi
|
2008-01-28 19:05:29 +00:00
|
|
|
|
2011-02-24 14:00:27 +00:00
|
|
|
# profiler?
|
|
|
|
AC_ARG_WITH([profiler],
|
|
|
|
[AS_HELP_STRING([--with-profiler], [build extra profiler binaries])],
|
2011-03-11 22:08:15 +00:00
|
|
|
[case "${withval}" in
|
|
|
|
yes) with_profiler=yes ;;
|
|
|
|
no) with_profiler=no ;;
|
|
|
|
*) AC_MSG_ERROR([bad value ${withval} for --with-profiler]) ;;
|
|
|
|
esac],
|
2011-02-24 14:00:27 +00:00
|
|
|
[with_profiler=no])
|
2011-03-03 19:56:43 +00:00
|
|
|
AS_IF([test "x$with_profiler" = xyes],
|
2011-02-24 14:00:27 +00:00
|
|
|
[AC_CHECK_LIB([profiler], [ProfilerFlush], [],
|
|
|
|
[AC_MSG_FAILURE([--with-profiler was given but libprofiler (libgoogle-perftools-dev on debian) not found])])],
|
|
|
|
[])
|
|
|
|
AM_CONDITIONAL(WITH_PROFILER, test "$with_profiler" = "yes")
|
|
|
|
AS_IF([test "$with_profiler" = "yes"],
|
|
|
|
[AC_DEFINE([HAVE_PROFILER], [1], [Define if you have perftools profiler enabled])],
|
|
|
|
[])
|
|
|
|
|
2008-07-11 00:12:34 +00:00
|
|
|
# debug crap?
|
|
|
|
AC_ARG_WITH([debug],
|
|
|
|
[AS_HELP_STRING([--with-debug], [build extra debug binaries])],
|
2011-03-11 22:11:54 +00:00
|
|
|
[case "${withval}" in
|
|
|
|
yes) with_debug=yes ;;
|
|
|
|
no) with_debug=no ;;
|
|
|
|
*) AC_MSG_ERROR([bad value ${withval} for --with-debug]) ;;
|
|
|
|
esac],
|
2008-07-11 04:21:37 +00:00
|
|
|
[with_debug=no])
|
2008-10-31 18:52:25 +00:00
|
|
|
AM_CONDITIONAL(WITH_DEBUG, test "$with_debug" = "yes")
|
2008-07-11 00:12:34 +00:00
|
|
|
|
2011-01-15 00:12:32 +00:00
|
|
|
AC_DEFINE([DEBUG_GATHER], [1], [Define if you want C_Gather debugging])
|
|
|
|
|
2009-08-13 18:23:54 +00:00
|
|
|
# radosgw?
|
|
|
|
AC_ARG_WITH([radosgw],
|
|
|
|
[AS_HELP_STRING([--with-radosgw], [build RADOS gateway])],
|
|
|
|
[],
|
|
|
|
[with_radosgw=check])
|
2010-07-09 20:43:42 +00:00
|
|
|
RADOSGW=0
|
2009-08-13 18:23:54 +00:00
|
|
|
AS_IF([test "x$with_radosgw" != xno],
|
2009-07-09 23:28:18 +00:00
|
|
|
[AC_CHECK_LIB([fcgi], [FCGX_Init],
|
2010-07-09 20:43:42 +00:00
|
|
|
[AC_CHECK_LIB([expat], [XML_Parse],
|
2011-02-23 19:27:58 +00:00
|
|
|
[AC_CHECK_LIB([curl], [curl_easy_init],
|
|
|
|
[RADOSGW=1],
|
|
|
|
[if test "x$with_radosgw" != "xcheck"; then
|
|
|
|
AC_MSG_FAILURE([--with-radosgw was given but libcurl (libcurl-dev on debian) not found])
|
|
|
|
fi])
|
|
|
|
],
|
2010-07-09 20:43:42 +00:00
|
|
|
[if test "x$with_radosgw" != "xcheck"; then
|
|
|
|
AC_MSG_FAILURE([--with-radosgw was given but libexpat (libexpat1-dev on debian) not found])
|
|
|
|
fi])
|
|
|
|
],
|
|
|
|
[if test "x$with_radosgw" != "xcheck"; then
|
2009-09-25 16:06:30 +00:00
|
|
|
AC_MSG_FAILURE([--with-radosgw was given but libfcgi (libfcgi-dev on debian) not found])
|
2009-09-25 15:43:03 +00:00
|
|
|
fi])])
|
2009-08-20 23:02:46 +00:00
|
|
|
AM_CONDITIONAL(WITH_RADOSGW, test "$RADOSGW" = "1")
|
2009-07-09 23:28:18 +00:00
|
|
|
|
2008-01-28 19:05:29 +00:00
|
|
|
# fuse?
|
|
|
|
AC_ARG_WITH([fuse],
|
2011-03-11 20:39:22 +00:00
|
|
|
[AS_HELP_STRING([--without-fuse], [disable FUSE userspace client])],
|
2008-01-28 19:05:29 +00:00
|
|
|
[],
|
2011-03-11 20:39:22 +00:00
|
|
|
[with_fuse=yes])
|
2008-01-28 19:05:29 +00:00
|
|
|
LIBFUSE=
|
|
|
|
AS_IF([test "x$with_fuse" != xno],
|
|
|
|
[AC_CHECK_LIB([fuse], [fuse_main],
|
|
|
|
[AC_SUBST([LIBFUSE], ["-lfuse"])
|
|
|
|
AC_DEFINE([HAVE_LIBFUSE], [1],
|
|
|
|
[Define if you have fuse])
|
|
|
|
HAVE_LIBFUSE=1
|
|
|
|
],
|
2011-03-11 20:39:22 +00:00
|
|
|
[AC_MSG_FAILURE(
|
|
|
|
[no FUSE found (use --without-fuse to disable)])])])
|
2008-01-28 19:05:29 +00:00
|
|
|
AM_CONDITIONAL(WITH_FUSE, [test "$HAVE_LIBFUSE" = "1"])
|
|
|
|
|
2010-08-06 21:47:06 +00:00
|
|
|
# tcmalloc?
|
|
|
|
AC_ARG_WITH([tcmalloc],
|
2011-03-11 20:53:33 +00:00
|
|
|
[AS_HELP_STRING([--without-tcmalloc], [disable tcmalloc for memory allocations])],
|
2010-08-06 21:47:06 +00:00
|
|
|
[],
|
2011-03-11 20:53:33 +00:00
|
|
|
[with_tcmalloc=yes])
|
2010-08-06 21:47:06 +00:00
|
|
|
TCMALLOC=
|
|
|
|
AS_IF([test "x$with_tcmalloc" != xno],
|
|
|
|
[AC_CHECK_LIB([tcmalloc], [malloc],
|
|
|
|
[AC_SUBST([LIBTCMALLOC], ["-ltcmalloc"])
|
|
|
|
AC_DEFINE([HAVE_LIBTCMALLOC], [1],
|
|
|
|
[Define if you have tcmalloc])
|
|
|
|
HAVE_LIBTCMALLOC=1
|
|
|
|
],
|
2011-03-11 20:53:33 +00:00
|
|
|
[AC_MSG_FAILURE(
|
|
|
|
[no tcmalloc found (use --without-tcmalloc to disable)])])])
|
2010-08-06 21:47:06 +00:00
|
|
|
AM_CONDITIONAL(WITH_TCMALLOC, [test "$HAVE_LIBTCMALLOC" = "1"])
|
|
|
|
|
2009-07-23 23:17:41 +00:00
|
|
|
# jni?
|
|
|
|
AC_ARG_WITH([hadoop],
|
|
|
|
[AS_HELP_STRING([--with-hadoop], [build hadoop client])],
|
|
|
|
[],
|
|
|
|
[with_hadoop=check])
|
|
|
|
AS_IF([test "x$with_hadoop" != xno],
|
|
|
|
[AC_CHECK_HEADER([jni.h],
|
|
|
|
[HAVE_JNI=1],
|
|
|
|
[if test "x$with_hadoop" != xcheck; then
|
|
|
|
AC_MSG_FAILURE(
|
2009-09-25 16:06:30 +00:00
|
|
|
[--with-hadoop was given but jni.h not found])
|
2009-07-23 23:17:41 +00:00
|
|
|
fi
|
|
|
|
])])
|
|
|
|
AM_CONDITIONAL(WITH_HADOOPCLIENT, [test "$HAVE_JNI" = "1"])
|
|
|
|
|
2011-01-18 10:51:32 +00:00
|
|
|
PKG_CHECK_MODULES([LIBEDIT], [libedit >= 2.11],
|
|
|
|
[], AC_MSG_FAILURE([No usable version of libedit found.]))
|
|
|
|
|
2010-04-14 23:51:40 +00:00
|
|
|
#libatomic-ops? You want it!
|
|
|
|
AC_ARG_WITH([libatomic-ops],
|
2011-03-11 21:07:31 +00:00
|
|
|
[AS_HELP_STRING([--without-libatomic-ops],
|
|
|
|
[disable libatomic-ops for the atomic_t type])],
|
2008-01-28 19:05:29 +00:00
|
|
|
[],
|
2011-03-11 21:07:31 +00:00
|
|
|
[with_libatomic_ops=yes])
|
2010-04-14 23:51:40 +00:00
|
|
|
AS_IF([test "x$with_libatomic_ops" != xno],
|
|
|
|
[AC_CHECK_HEADER([atomic_ops.h],
|
|
|
|
[HAVE_ATOMIC_OPS=1],
|
2011-03-11 21:07:31 +00:00
|
|
|
[AC_MSG_FAILURE(
|
|
|
|
[no libatomic-ops found (use --without-libatomic-ops to disable)])
|
|
|
|
])])
|
2010-04-14 23:51:40 +00:00
|
|
|
AS_IF([test "$HAVE_ATOMIC_OPS" = "1"],
|
2010-04-23 22:13:35 +00:00
|
|
|
[],
|
|
|
|
AC_DEFINE([NO_ATOMIC_OPS], [1], [Defined if you don't have atomic_ops]))
|
2010-04-14 23:51:40 +00:00
|
|
|
AM_CONDITIONAL(WITH_LIBATOMIC, [test "$HAVE_ATOMIC_OPS" = "1"])
|
2008-01-28 19:05:29 +00:00
|
|
|
|
|
|
|
# newsyn? requires mpi.
|
2008-01-28 19:39:51 +00:00
|
|
|
#AC_ARG_WITH([newsyn],
|
2009-09-25 16:07:58 +00:00
|
|
|
# [AS_HELP_STRING([--with-newsyn], [build newsyn target requires mpi])],
|
2008-01-28 19:39:51 +00:00
|
|
|
# [],
|
|
|
|
# [with_newsyn=no])
|
2008-01-28 02:12:20 +00:00
|
|
|
|
|
|
|
# Checks for header files.
|
|
|
|
AC_HEADER_DIRENT
|
|
|
|
AC_HEADER_STDC
|
|
|
|
AC_HEADER_SYS_WAIT
|
2008-04-09 21:39:25 +00:00
|
|
|
|
|
|
|
# spirit?
|
|
|
|
AC_LANG([C++])
|
2011-01-24 00:09:14 +00:00
|
|
|
|
|
|
|
AC_CHECK_HEADER([boost/spirit/include/classic_core.hpp], [],
|
|
|
|
[AC_CHECK_HEADER([boost/spirit.hpp], [use_bspirit_old_hdr=yes],
|
|
|
|
AC_MSG_FAILURE(["Can't find boost spirit headers"]))])
|
|
|
|
AM_CONDITIONAL(USE_BOOST_SPIRIT_OLD_HDR, [test "$use_bspirit_old_hdr" = "yes"])
|
2008-04-09 21:39:25 +00:00
|
|
|
|
|
|
|
AC_LANG([C])
|
2009-03-17 17:26:16 +00:00
|
|
|
|
2010-11-17 20:39:52 +00:00
|
|
|
AC_CHECK_MEMBER([struct fiemap_extent.fe_logical],
|
2010-08-06 00:19:16 +00:00
|
|
|
[AC_DEFINE([HAVE_FIEMAP_H], [], [linux/fiemap.h was found, fiemap ioctl will be used])],
|
2010-11-17 20:39:52 +00:00
|
|
|
[AC_MSG_NOTICE([linux/fiemap.h was not found or not usable; using local Ceph copy])],
|
|
|
|
[[#include <linux/fiemap.h>]])
|
2010-08-06 00:19:16 +00:00
|
|
|
|
2009-03-04 00:45:58 +00:00
|
|
|
AC_CHECK_HEADERS([sys/xattr.h arpa/inet.h netdb.h netinet/in.h sys/file.h sys/ioctl.h sys/mount.h sys/param.h sys/socket.h sys/statvfs.h sys/time.h sys/vfs.h syslog.h utime.h])
|
2008-01-28 02:12:20 +00:00
|
|
|
|
2010-03-04 17:45:44 +00:00
|
|
|
# sync_file_range
|
|
|
|
AC_CHECK_FUNC([sync_file_range],
|
2010-04-16 22:25:49 +00:00
|
|
|
[AC_DEFINE([HAVE_SYNC_FILE_RANGE], [], [sync_file_range(2) is supported])],
|
2010-03-04 17:45:44 +00:00
|
|
|
[])
|
|
|
|
|
2011-01-18 10:51:32 +00:00
|
|
|
|
2008-01-28 02:12:20 +00:00
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
2009-03-04 00:45:58 +00:00
|
|
|
#AC_HEADER_STDBOOL
|
|
|
|
#AC_C_CONST
|
|
|
|
#AC_TYPE_UID_T
|
|
|
|
#AC_C_INLINE
|
|
|
|
#AC_TYPE_INT16_T
|
|
|
|
#AC_TYPE_INT32_T
|
|
|
|
#AC_TYPE_INT64_T
|
|
|
|
#AC_TYPE_INT8_T
|
|
|
|
#AC_TYPE_MODE_T
|
|
|
|
#AC_TYPE_OFF_T
|
|
|
|
#AC_TYPE_PID_T
|
|
|
|
#AC_TYPE_SIZE_T
|
|
|
|
#AC_TYPE_SSIZE_T
|
|
|
|
#AC_CHECK_MEMBERS([struct stat.st_blksize])
|
|
|
|
#AC_STRUCT_ST_BLOCKS
|
|
|
|
#AC_CHECK_MEMBERS([struct stat.st_rdev])
|
|
|
|
#AC_HEADER_TIME
|
|
|
|
#AC_STRUCT_TM
|
|
|
|
#AC_TYPE_UINT16_T
|
|
|
|
#AC_TYPE_UINT32_T
|
|
|
|
#AC_TYPE_UINT64_T
|
|
|
|
#AC_TYPE_UINT8_T
|
2008-01-28 02:12:20 +00:00
|
|
|
|
|
|
|
# Checks for library functions.
|
2008-03-13 02:36:54 +00:00
|
|
|
#AC_FUNC_CHOWN
|
|
|
|
#AC_FUNC_CLOSEDIR_VOID
|
|
|
|
#AC_FUNC_ERROR_AT_LINE
|
|
|
|
#AC_FUNC_FORK
|
|
|
|
#AC_PROG_GCC_TRADITIONAL
|
|
|
|
#AC_FUNC_LSTAT
|
|
|
|
#AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
|
2008-02-01 17:59:44 +00:00
|
|
|
#AC_FUNC_MALLOC # this causes annoying rpl_malloc error on some machines; skip it
|
2008-03-13 02:36:54 +00:00
|
|
|
#AC_FUNC_MEMCMP
|
|
|
|
#AC_FUNC_MMAP
|
|
|
|
#AC_FUNC_REALLOC
|
|
|
|
#AC_FUNC_SELECT_ARGTYPES
|
|
|
|
#AC_TYPE_SIGNAL
|
|
|
|
#AC_FUNC_STAT
|
|
|
|
#AC_FUNC_UTIME_NULL
|
|
|
|
#AC_CHECK_FUNCS([bzero fchdir fdatasync floor ftruncate getcwd gethostbyname gethostname gettimeofday inet_ntoa localtime_r memmove memset mkdir munmap pow rmdir select socket sqrt strcasecmp strchr strerror strstr utime])
|
2008-01-28 02:12:20 +00:00
|
|
|
|
2010-10-29 19:10:28 +00:00
|
|
|
AC_ARG_WITH([gtk2],
|
|
|
|
[AS_HELP_STRING([--with-gtk2], [Build the graphical tools. Default=yes.])],
|
2011-03-11 21:54:27 +00:00
|
|
|
[],
|
|
|
|
[with_gtk2=check])
|
|
|
|
have_gtk2=no
|
2011-03-11 22:46:22 +00:00
|
|
|
AS_IF([test "x$with_gtk2" != "xno"],
|
2011-03-18 00:50:07 +00:00
|
|
|
[PKG_CHECK_MODULES(GTKMM, [gtkmm-2.4 >= 2.13],
|
2011-03-11 21:54:27 +00:00
|
|
|
[have_gtk2=yes
|
|
|
|
AC_DEFINE([HAVE_GTK2], [1], [we have gtk2])
|
|
|
|
],
|
|
|
|
[if test "x$with_gtk2" != xcheck; then
|
|
|
|
AC_MSG_FAILURE(
|
|
|
|
[--with-gtk2 was given, but test for gtkmm failed])
|
|
|
|
fi
|
|
|
|
])])
|
|
|
|
AM_CONDITIONAL(WITH_GTK2, [test "x$have_gtk2" != "xno"])
|
2010-10-26 21:26:12 +00:00
|
|
|
|
2011-02-09 16:47:56 +00:00
|
|
|
AM_PATH_PYTHON([2.4],
|
|
|
|
[], [AC_MSG_FAILURE([Failed to find Python 2.4 or newer])])
|
|
|
|
|
2008-01-28 02:12:20 +00:00
|
|
|
AC_CONFIG_HEADERS([src/acconfig.h])
|
|
|
|
AC_CONFIG_FILES([Makefile
|
2008-07-11 22:56:28 +00:00
|
|
|
src/Makefile
|
2009-03-10 21:39:54 +00:00
|
|
|
man/Makefile
|
2011-01-20 18:46:55 +00:00
|
|
|
qa/Makefile
|
|
|
|
qa/workunits/Makefile
|
2008-07-11 22:56:28 +00:00
|
|
|
ceph.spec])
|
2008-01-28 02:12:20 +00:00
|
|
|
AC_OUTPUT
|