bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AM_TYPE_PTRDIFF_T


From: Golubev I. N.
Subject: AM_TYPE_PTRDIFF_T
Date: Fri, 13 Jul 2001 13:37:28 (GMT)

Version: 1.4-p4

autoconf-2.50 `actypes.m4' defines `AM_TYPE_PTRDIFF_T'.  `aclocal'
fails to detect this and includes `ptrdiff.m4' in `aclocal.m4'.  This
causes conflict of `AC_DEFUN''s during `autoconf' processing.

Q&D solution is commenting out `AC_DEFUN' in `ptrdiff.m4'.  It makes
`aclocal' that macro defn is found, but resulting `aclocal.m4' does
not conflicts with `actypes.m4'.

--- ptrdiff.m4  2001/07/11 15:39:19     1.1
+++ ptrdiff.m4  2001/07/11 15:49:41     1.2
@@ -2,6 +2,7 @@
 
 # serial 1
 
+ifelse([a],[b],[
 AC_DEFUN(AM_TYPE_PTRDIFF_T,
   [AC_CACHE_CHECK([for ptrdiff_t], am_cv_type_ptrdiff_t,
      [AC_TRY_COMPILE([#include <stddef.h>], [ptrdiff_t p],
@@ -9,4 +10,4 @@
    if test $am_cv_type_ptrdiff_t = yes; then
      AC_DEFINE(HAVE_PTRDIFF_T,1,[Define if system has ptrdiff_t type])
    fi
-])
+])])dnl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]