Edit

kc3-lang/automake/m4/ptrdiff.m4

Branch :

  • Show log

    Commit

  • Author : Akim Demaille
    Date : 2000-08-02 08:59:16
    Hash : 4b893ece
    Message : * m4: Quote properly the name of the macros being defined. Use `#' instead of `dnl' where appropriate. * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just quote. Don't quote passive characters. Pull the AC_PREREQ outside the macro. * m4/init.m4: Pull the AC_PREREQ outside the macro.

  • m4/ptrdiff.m4
  • # From Ulrich Drepper.
    
    # serial 1
    
    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],
    		     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,1,[Define if system has ptrdiff_t type])
       fi
    ])