|
Check-in Number:
|
5468 | |
| Date: |
2006-Jul-22 18:47:14 (local)
2006-Jul-22 16:47:14 (UTC) |
| User: | rse |
| Branch: | |
| Comment: |
move NDEBUG into Autoconf stuff so it can be enabled/disabled |
| Tickets: |
|
| Inspections: |
|
| Files: |
|
ossp-pkg/js/aclocal.m4 1.2 -> 1.3
--- aclocal.m4 2006/07/22 14:14:48 1.2
+++ aclocal.m4 2006/07/22 16:47:14 1.3
@@ -91,6 +91,7 @@
fi
msg="enabled"
],[
+AC_COMPILER_OPTION(defnodbg, -DNDEBUG, -DNDEBUG, CFLAGS="$CFLAGS -DNDEBUG")
if test ".$ac_cv_prog_gcc" = ".yes"; then
case "$CFLAGS" in
*-pipe* ) ;;
|
|
ossp-pkg/js/src/jstypes.h 1.2 -> 1.3
--- jstypes.h 2006/07/22 13:48:03 1.2
+++ jstypes.h 2006/07/22 16:47:14 1.3
@@ -59,7 +59,6 @@
#ifdef OSSP
/* select functionality */
#define XP_UNIX
-#define NDEBUG
#define EXPORT_JS_API
#endif
|
|