]> sourceware.org Git - automake.git/commitdiff
* m4/winsz.m4 (AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Use
authorTom Tromey <tromey@redhat.com>
Fri, 9 Oct 1998 11:10:16 +0000 (11:10 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 9 Oct 1998 11:10:16 +0000 (11:10 +0000)
3-argument form of AC_DEFINE.
* m4/regex.m4 (AM_WITH_REGEX): Use 3-argument form of AC_DEFINE.
* m4/ptrdiff.m4 (AM_TYPE_PTRDIFF_T): Use 3-argument form of
AC_DEFINE.
* m4/protos.m4 (AM_C_PROTOTYPES):Use 3-argument form of
AC_DEFINE.
* m4/obstack.m4 (AM_FUNC_OBSTACK): Use 3-argument form of
AC_DEFINE.
* m4/init.m4 (AM_INIT_AUTOMAKE): Use 3-argument form of
AC_DEFINE.
* m4/dmalloc.m4 (AM_WITH_DMALLOC): Use 3-argument form of
AC_DEFINE.

m4/dmalloc.m4
m4/init.m4
m4/obstack.m4
m4/protos.m4
m4/ptrdiff.m4
m4/regex.m4
m4/winsz.m4

index 365ef8039ad346dc3b01a12abf91a076b8ce6b59..e1e3cdb17590db2aaad897e38c6dc959dd732092 100644 (file)
@@ -12,7 +12,8 @@ AC_ARG_WITH(dmalloc,
                           ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz],
 [if test "$withval" = yes; then
   AC_MSG_RESULT(yes)
-  AC_DEFINE(WITH_DMALLOC)
+  AC_DEFINE(WITH_DMALLOC,1,
+            [Define if using the dmalloc debugging malloc package])
   LIBS="$LIBS -ldmalloc"
   LDFLAGS="$LDFLAGS -g"
 else
index c91a2fb67ef1b9d91cbc5a6e47d9dcc3b1fa2c0a..9bfdd148c77483ec64a10c6287fc094ddc7541e9 100644 (file)
@@ -18,8 +18,8 @@ if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 fi
 ifelse([$3],,
-AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
-AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
+AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
 AC_REQUIRE([AM_SANITY_CHECK])
 AC_REQUIRE([AC_ARG_PROGRAM])
 dnl FIXME This is truly gross.
index b702aee43e2fb043ad6c01f465064822a08f4ad6..df6fcba6238a2d7dda4e4c280648cf6268583619 100644 (file)
@@ -8,7 +8,7 @@ AC_DEFUN(AM_FUNC_OBSTACK,
              am_cv_func_obstack=yes,
              am_cv_func_obstack=no)])
  if test $am_cv_func_obstack = yes; then
-   AC_DEFINE(HAVE_OBSTACK)
+   AC_DEFINE(HAVE_OBSTACK,1,[Define if libc includes obstacks])
  else
    LIBOBJS="$LIBOBJS obstack.o"
  fi
index b148d06232670894bf6fa5d8c689ed28c78d4701..0079f74d3cd0b9dbb4646c76b24cc2fafd8c2ad7 100644 (file)
@@ -11,7 +11,7 @@ AC_REQUIRE([AC_PROG_CPP])
 AC_MSG_CHECKING([for function prototypes])
 if test "$am_cv_prog_cc_stdc" != no; then
   AC_MSG_RESULT(yes)
-  AC_DEFINE(PROTOTYPES)
+  AC_DEFINE(PROTOTYPES,1,[Define if compiler has function prototypes])
   U= ANSI2KNR=
 else
   AC_MSG_RESULT(no)
index 85bf4aceb871506beb94a5660f68c5f5239d3b0b..9818ddfcaac50d00703ba261c9253a2bab626d96 100644 (file)
@@ -7,6 +7,6 @@ AC_DEFUN(AM_TYPE_PTRDIFF_T,
      [AC_TRY_COMPILE([#include <stddef.h>], [ptrdiff_t p],
                     am_cv_type_ptrdiff_t=yes, am_cv_type_ptrdiff_t=no)])
    if test $am_cv_type_ptrdiff_t = yes; then
-     AC_DEFINE(HAVE_PTRDIFF_T)
+     AC_DEFINE(HAVE_PTRDIFF_T,1,[Define if system has ptrdiff_t type])
    fi
 ])
index 007b166364f40b402cdf9953f302b0582ff58da4..309102ea300bcab71782680f382121e15fc8a33c 100644 (file)
@@ -22,7 +22,7 @@ AC_ARG_WITH(regex,
 [am_with_regex=1])
 if test -n "$am_with_regex"; then
   AC_MSG_RESULT(regex)
-  AC_DEFINE(WITH_REGEX)
+  AC_DEFINE(WITH_REGEX,1,[Define if using GNU regex])
   AC_CACHE_CHECK([for GNU regex in libc], am_cv_gnu_regex,
     AC_TRY_LINK([], [extern int re_max_failures; re_max_failures = 1],
                am_cv_gnu_regex=yes, am_cv_gnu_regex=no))
index 163e512bd8db8dd026e5cc53315f3240d16a2338..fa81c9d77faba505efa0d6a8c99469770133ec13 100644 (file)
@@ -30,6 +30,7 @@ AC_DEFUN(AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL,
   fi
   ])
   if test $am_cv_sys_tiocgwinsz_needs_sys_ioctl_h = yes; then
-    AC_DEFINE(GWINSZ_IN_SYS_IOCTL)
+    AC_DEFINE(GWINSZ_IN_SYS_IOCTL,1,
+              [Define if TIOCGWINSZ requires sys/ioctl.h])
   fi
 ])
This page took 0.032349 seconds and 5 git commands to generate.