~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_canonical.m4

merge lp:~linuxjedi/drizzle/trunk-remove-drizzleadmin

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
 
115
123
    vc_changelog=yes
116
124
  ])
117
125
  m4_if(PCT_VERSION_FROM_VC,yes,[
118
 
    PANDORA_VC_VERSION
 
126
    PANDORA_VC_INFO_HEADER
119
127
  ],[
120
128
    PANDORA_TEST_VC_DIR
121
129
 
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])
328
337
#error "You should include config.h as your first include file"
329
338
#endif
330
339
 
331
 
#include "config/top.h"
 
340
#include <config/top.h>
332
341
])
333
342
  mkdir -p config
334
343
  cat > config/top.h.stamp <<EOF_CONFIG_TOP