X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fpandora_drizzle_build.m4;h=54f946f1cc0d05cd39d0a77584daa0b5bc6c74c7;hb=481efe3c437e1d87e0fabb987982cc1df2b2c35d;hp=fa132ccaab7aec11e163299cad75f6392eb71a10;hpb=55b5455291498ef63c1c34976552d58708a74732;p=m6w6%2Flibmemcached diff --git a/m4/pandora_drizzle_build.m4 b/m4/pandora_drizzle_build.m4 index fa132cca..54f946f1 100644 --- a/m4/pandora_drizzle_build.m4 +++ b/m4/pandora_drizzle_build.m4 @@ -1,5 +1,5 @@ -dnl Copyright (C) 2009 Sun Microsystems -dnl This file is free software; Sun Microsystems +dnl Copyright (C) 2009 Sun Microsystems, Inc. +dnl This file is free software; Sun Microsystems, Inc. dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -9,12 +9,6 @@ dnl are set. AC_DEFUN([PANDORA_DRIZZLE_BUILD],[ - dnl We need to turn on our CXXFLAGS to make sure it shows up correctly - PANDORA_CXX_STL_HASH - - PANDORA_CXX_CSTDINT - PANDORA_CXX_CINTTYPES - AC_STRUCT_TM AC_FUNC_ALLOCA @@ -39,7 +33,7 @@ AC_DEFUN([PANDORA_DRIZZLE_BUILD],[ AC_CHECK_HEADERS(sys/types.h sys/fpu.h fpu_control.h ieeefp.h) AC_CHECK_HEADERS(select.h sys/select.h) AC_CHECK_HEADERS(utime.h sys/utime.h ) - AC_CHECK_HEADERS(synch.h sys/mman.h sys/socket.h) + AC_CHECK_HEADERS(synch.h sys/mman.h) AC_CHECK_HEADERS(sched.h) AC_CHECK_HEADERS(sys/prctl.h) AC_CHECK_HEADERS(execinfo.h) @@ -69,42 +63,15 @@ AC_DEFUN([PANDORA_DRIZZLE_BUILD],[ ]]) AC_CHECK_TYPES([uint, ulong]) - PANDORA_CXX_DEMANGLE - - AH_TOP([ -#ifndef __CONFIG_H__ -#define __CONFIG_H__ - -#include "config/top.h" -]) - mkdir -p config - cat > config/top.h.stamp </dev/null 2>&1 || mv config/top.h.stamp config/top.h - rm -f config/top.h.stamp - + PANDORA_REQUIRE_BISON - AH_BOTTOM([ -#if defined(__cplusplus) -# include CSTDINT_H -# include CINTTYPES_H -#else -# include -# include -#endif - -#if !defined(HAVE_ULONG) && !defined(__USE_MISC) -typedef unsigned long int ulong; -#endif + PANDORA_CXX_DEMANGLE + PANDORA_REQUIRE_BOOST([1.38]) + PANDORA_REQUIRE_BOOST_PROGRAM_OPTIONS + PANDORA_REQUIRE_BOOST_THREAD + PANDORA_REQUIRE_BOOST_REGEX + PANDORA_REQUIRE_BOOST_DATE_TIME + PANDORA_REQUIRE_BOOST_FILESYSTEM + PANDORA_REQUIRE_BOOST_IOSTREAMS -#endif /* __CONFIG_H__ */ - ]) ])