projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 2.6.1
[debian/amanda]
/
config
/
amanda
/
debugging.m4
diff --git
a/config/amanda/debugging.m4
b/config/amanda/debugging.m4
index 4a499dc553469401ec7ee40d2321d4eef9635d65..a9acbd6edfc912726537565dd189615abbed2c86 100644
(file)
--- a/
config/amanda/debugging.m4
+++ b/
config/amanda/debugging.m4
@@
-4,10
+4,12
@@
#
# OVERVIEW
#
#
# OVERVIEW
#
-# Handles the --with-assertions flag. Defines ASSERTIONS if the flag is given.
+# Handles the --with-assertions flag. Defines and substitutes ASSERTIONS
+# if the flag is given.
#
AC_DEFUN([AMANDA_WITH_ASSERTIONS],
[
#
AC_DEFUN([AMANDA_WITH_ASSERTIONS],
[
+ ASSERTIONS=
AC_ARG_WITH(assertions,
AS_HELP_STRING([--with-assertions],
[compile assertions into code]),
AC_ARG_WITH(assertions,
AS_HELP_STRING([--with-assertions],
[compile assertions into code]),
@@
-15,6
+17,7
@@
AC_DEFUN([AMANDA_WITH_ASSERTIONS],
case "$withval" in
n | no) : ;;
y | ye | yes)
case "$withval" in
n | no) : ;;
y | ye | yes)
+ ASSERTIONS=1
AC_DEFINE(ASSERTIONS,1,
[Define if you want assertion checking. ])
;;
AC_DEFINE(ASSERTIONS,1,
[Define if you want assertion checking. ])
;;
@@
-23,6
+26,7
@@
AC_DEFUN([AMANDA_WITH_ASSERTIONS],
esac
]
)
esac
]
)
+ AC_SUBST(ASSERTIONS)
])
# SYNOPSIS
])
# SYNOPSIS