~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_canonical.m4

  • Committer: Monty Taylor
  • Date: 2011-03-07 21:37:51 UTC
  • mfrom: (2221.2.4 build)
  • Revision ID: mordred@inaugust.com-20110307213751-uhic4rghe4dmdi8d
Merge Monty - Pandora-build updates. Allow building of only libdrizzle.
Merge Andrew - libdrizzle result reuse problem.
Merge David - Slave plugin bugfixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
dnl with or without modifications, as long as this notice is preserved.
5
5
 
6
6
dnl Which version of the canonical setup we're using
7
 
AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.171])
 
7
AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.175])
 
8
 
 
9
AC_DEFUN([PANDORA_MSG_ERROR],[
 
10
  AS_IF([test "x${pandora_cv_skip_requires}" != "xno"],[
 
11
    AC_MSG_ERROR($1)
 
12
  ],[
 
13
    AC_MSG_WARN($1)
 
14
  ])
 
15
])
8
16
 
9
17
AC_DEFUN([PANDORA_FORCE_DEPEND_TRACKING],[
10
18
  AC_ARG_ENABLE([fat-binaries],
25
33
 
26
34
AC_DEFUN([PANDORA_BLOCK_BAD_OPTIONS],[
27
35
  AS_IF([test "x${prefix}" = "x"],[
28
 
    AC_MSG_ERROR([--prefix requires an argument])
 
36
    PANDORA_MSG_ERROR([--prefix requires an argument])
29
37
  ])
30
38
])
31
39
 
151
159
  PANDORA_CHECK_CXX_STANDARD
152
160
  m4_if(PCT_REQUIRE_CXX, [yes], [
153
161
    AS_IF([test "$ac_cv_cxx_stdcxx_98" = "no"],[
154
 
      AC_MSG_ERROR([No working C++ Compiler has been found. ${PACKAGE} requires a C++ compiler that can handle C++98])
 
162
      PANDORA_MSG_ERROR([No working C++ Compiler has been found. ${PACKAGE} requires a C++ compiler that can handle C++98])
155
163
    ])
156
164
  ])
157
165
  PANDORA_CXX_CSTDINT
182
190
  # off_t is not a builtin type
183
191
  AC_CHECK_SIZEOF(off_t, 4)
184
192
  AS_IF([test "$ac_cv_sizeof_off_t" -eq 0],[
185
 
    AC_MSG_ERROR("${PACKAGE} needs an off_t type.")
 
193
    PANDORA_MSG_ERROR("${PACKAGE} needs an off_t type.")
186
194
  ])
187
195
 
188
196
  AC_CHECK_SIZEOF(size_t)
189
197
  AS_IF([test "$ac_cv_sizeof_size_t" -eq 0],[
190
 
    AC_MSG_ERROR("${PACKAGE} needs an size_t type.")
 
198
    PANDORA_MSG_ERROR("${PACKAGE} needs an size_t type.")
191
199
  ])
192
200
 
193
201
  AC_DEFINE_UNQUOTED([SIZEOF_SIZE_T],[$ac_cv_sizeof_size_t],[Size of size_t as computed by sizeof()])
268
276
 
269
277
  AC_LIB_PREFIX
270
278
  PANDORA_HAVE_BETTER_MALLOC
 
279
  PANDORA_WITH_VALGRIND
271
280
 
272
281
  AC_CHECK_PROGS([DOXYGEN], [doxygen])
273
282
  AC_CHECK_PROGS([PERL], [perl])