File: ptrdiff.m4

package info (click to toggle)
shellutils 1.16-6.3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 3,284 kB
  • ctags: 2,158
  • sloc: ansic: 22,599; yacc: 1,034; sh: 612; makefile: 368; perl: 239; sed: 93
file content (12 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
# 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)
   fi
])