~drizzle-trunk/drizzle/development

1999.6.1 by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file
1
dnl  Copyright (C) 2009 Sun Microsystems, Inc.
2
dnl This file is free software; Sun Microsystems, Inc.
1085.1.4 by Monty Taylor
pandora-build v1
3
dnl gives unlimited permission to copy and/or distribute it,
4
dnl with or without modifications, as long as this notice is preserved.
5
1085.1.3 by Monty Taylor
Split out warnings - start using the pandora build system.
6
dnl PANDORA_HEADER_ASSERT
7
dnl ----------------
8
dnl Check whether to enable assertions.
9
AC_DEFUN([PANDORA_HEADER_ASSERT],
10
[
1192.3.47 by Monty Taylor
pandora-build v0.79
11
  AC_CHECK_HEADERS(assert.h)
1085.1.3 by Monty Taylor
Split out warnings - start using the pandora build system.
12
  AC_MSG_CHECKING([whether to enable assertions])
13
  AC_ARG_ENABLE([assert],
14
    [AS_HELP_STRING([--disable-assert],
15
       [Turn off assertions])],
16
    [ac_cv_assert="no"],
17
    [ac_cv_assert="yes"])
18
  AC_MSG_RESULT([$ac_cv_assert])
19
1192.3.47 by Monty Taylor
pandora-build v0.79
20
  AS_IF([test "$ac_cv_assert" = "no"], 
1085.1.3 by Monty Taylor
Split out warnings - start using the pandora build system.
21
    [AC_DEFINE(NDEBUG, 1, [Define to 1 if assertions should be disabled.])])
22
])
23