Fixing for later automakes.
authormdw <mdw>
Thu, 15 Sep 2005 12:07:59 +0000 (12:07 +0000)
committermdw <mdw>
Thu, 15 Sep 2005 12:07:59 +0000 (12:07 +0000)
aclocal.glob

index b0cfd77..66358fa 100644 (file)
@@ -46,16 +46,16 @@ dnl         Finally, a check is made for the function `wresize' using
 dnl            AC_CHECK_FUNCS.
 
 AC_DEFUN([mdw_CURSES],
-[mdw_CHECK_MANYLIBS(newwin, ncurses curses,
-                    AC_DEFINE([HAVE_CURSES], [1], 
-                              [Define if you have a curses library.]))
+[mdw_CHECK_MANYLIBS([newwin], [ncurses curses],
+                    [AC_DEFINE([HAVE_CURSES], 
+                               [Define if you have a curses library.])])
 if test $mdw_cv_lib_newwin != no; then
 AC_CHECK_HEADERS([ncurses.h ncurses/ncurses.h curses.h], [break])
 if test "$ac_cv_header_ncurses_h" = "no" &&
    test "$ac_cv_header_ncurses_ncurses_h" = "no" &&
    test "$ac_cv_header_curses_h" = "no"; then
      AC_MSG_WARN([couldn't find a \`curses' header.  Assuming \`curses.h'.])
-     AC_DEFINE([HAVE_CURSES_H], [1], [Define if you have a curses.h header.])
+     AC_DEFINE([HAVE_CURSES_H], [1], [Define if you have a `curses.h' header.])
 fi
 AC_CHECK_FUNCS(wresize)
 fi])
@@ -85,7 +85,7 @@ AC_CACHE_CHECK(for ssize_t, mdw_cv_ssize_t,
 #endif],
 [mdw_cv_ssize_t=yes], [mdw_cv_ssize_t=no])])
 if test $mdw_cv_ssize_t = no; then
-  AC_DEFINE([ssize_t], [int], [Define as int if you don't have ssize_t.])
+  AC_DEFINE([ssize_t], [int], [Define to `int' if your system doesn't have ssize_t.])
 fi])
 
 dnl --- *@-mdw_DECL_ENVIRON-@* ---
@@ -112,8 +112,8 @@ AC_DEFUN([mdw_DECL_ENVIRON],
 #include <stddef.h>
 #endif], [mdw_cv_environ=yes], [mdw_cv_environ=no])])
 if test $mdw_cv_environ = yes; then
-  AC_DEFINE([DECL_ENVIRON], [1], 
-            [Define if environ is declared somewhere sensible.])
+  AC_DEFINE([DECL_ENVIRON], [1],
+            [Define if you have the `environ' vector of environment variables.])
 fi])
 
 dnl --- *@-mdw_CHECK_MANYLIBS-@* ---
@@ -540,7 +540,8 @@ AC_DEFUN([mdw_OPT_NDEBUG],
 [AC_ARG_ENABLE(debugging,
 [  --disable-debugging     spews vast swathes of useless information],
 [if test "$enableval" = "no"; then
-  AC_DEFINE([NDEBUG], [1], [Define to turn off debugging.])
+  AC_DEFINE([NDEBUG], [1],
+            [Define to turn off assertions and other debugging.  Not recommended.])
 fi])])
 
 dnl --- *@-mdw_OPT_EFENCE-@* ---
@@ -575,7 +576,7 @@ AC_DEFUN([mdw_OPT_TRACE],
 [AC_ARG_ENABLE(tracing,    
 [  --disable-tracing       disable output of trace information],
 [if test "$enableval" = "no"; then
-  AC_DEFINE([NTRACE], [1], [Define to disable tracing output.])
+  AC_DEFINE([NTRACE], [1], [Define to turn off tracing.])
 fi])])
 
 dnl --- *@-mdw_OPT_mLib_TRACK-@* ---
@@ -602,7 +603,8 @@ AC_DEFUN([mdw_OPT_mLib_TRACK],
 [AC_REQUIRE([mdw_OPT_TRACE])
 AC_ARG_ENABLE(track,
 [  --enable-track          enable tracking of malloc and free],
-[AC_DEFINE([TRACK_ENABLE], [1], [Define to enable malloc tracking.])])
+[AC_DEFINE([TRACK_ENABLE], [1], 
+           [Define to turn on memory tracking.  Doesn't work properly.])])
 AC_ARG_ENABLE(blame-$1,
 [  --enable-blame-$1
                           track malloc contexts while in $1],
@@ -627,7 +629,7 @@ dnl --- *@-mdw_DEFINE_PATHS-@*
 dnl
 dnl Author:    Mark Wooding
 dnl
-dnl Synopsis:  mdw_DEFINE_FILES(CODE)
+dnl Synopsis:  mdw_DEFINE_PATHS(CODE)
 dnl
 dnl Arguments: CODE = shell script code to execute
 dnl