]> git.mxchange.org Git - flightgear.git/commitdiff
Enable release builds using the --without-logging option to the configure
authorcurt <curt>
Sat, 7 Nov 1998 19:06:59 +0000 (19:06 +0000)
committercurt <curt>
Sat, 7 Nov 1998 19:06:59 +0000 (19:06 +0000)
script.  Also a couple log message cleanups, plus some C to C++ comment
conversion.

acconfig.h
configure.in

index c566aaa9881e9c2536344f0fbe647eb19593091c..3ea6700b703771091cce329deef6a2787d9212c4 100644 (file)
 /* Define if you have <dirent.h>.  */
 #undef DIRENT
 
+/* Define to eliminate all trace of debugging messages such as for a 
+   release build */
+#undef FG_NDEBUG
+   
 /* Define to the type of elements in the array set by `getgroups'.
    Usually this is either `int' or `gid_t'.  */
 #undef GETGROUPS_T
index ae3d2d1c90502e36d9fe227a9948faf180c6b28e..d442da4fb6dde86802f01ffbfee9df8c15ef48e7 100644 (file)
@@ -28,6 +28,15 @@ dnl AC_ISC_POSIX
 dnl Check to see if this `configure' is being run in the `Cygwin32' environment
 dnl AM_CYGWIN32
 
+dnl Specify if we want logging (testing build) or not (release build)
+# set logging default value
+# with_logging=yes
+AC_ARG_WITH(logging, [  --with-logging          Include logging output (default)])
+if test "x$with_logging" = "xno" ; then
+    AC_DEFINE(FG_NDEBUG)
+fi
+
+
 dnl specify if we are building with "checker"
 AC_ARG_WITH(efence, [  --with-efence           Specify if we are building with "electric-fence"])