Artifact 05874f5454f53172229db3663181b4a21dca63d4:


0000: 64 6e 6c 20 43 6f 70 79 72 69 67 68 74 20 28 43  dnl Copyright (C
0010: 29 20 31 39 39 33 2d 32 30 30 32 20 46 72 65 65  ) 1993-2002 Free
0020: 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61   Software Founda
0030: 74 69 6f 6e 2c 20 49 6e 63 2e 0a 64 6e 6c 20 54  tion, Inc..dnl T
0040: 68 69 73 20 66 69 6c 65 20 69 73 20 66 72 65 65  his file is free
0050: 20 73 6f 66 74 77 61 72 65 2c 20 64 69 73 74 72   software, distr
0060: 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65  ibuted under the
0070: 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 47 4e   terms of the GN
0080: 55 0a 64 6e 6c 20 47 65 6e 65 72 61 6c 20 50 75  U.dnl General Pu
0090: 62 6c 69 63 20 4c 69 63 65 6e 73 65 2e 20 20 41  blic License.  A
00a0: 73 20 61 20 73 70 65 63 69 61 6c 20 65 78 63 65  s a special exce
00b0: 70 74 69 6f 6e 20 74 6f 20 74 68 65 20 47 4e 55  ption to the GNU
00c0: 20 47 65 6e 65 72 61 6c 0a 64 6e 6c 20 50 75 62   General.dnl Pub
00d0: 6c 69 63 20 4c 69 63 65 6e 73 65 2c 20 74 68 69  lic License, thi
00e0: 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 64 69  s file may be di
00f0: 73 74 72 69 62 75 74 65 64 20 61 73 20 70 61 72  stributed as par
0100: 74 20 6f 66 20 61 20 70 72 6f 67 72 61 6d 0a 64  t of a program.d
0110: 6e 6c 20 74 68 61 74 20 63 6f 6e 74 61 69 6e 73  nl that contains
0120: 20 61 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e   a configuration
0130: 20 73 63 72 69 70 74 20 67 65 6e 65 72 61 74 65   script generate
0140: 64 20 62 79 20 41 75 74 6f 63 6f 6e 66 2c 20 75  d by Autoconf, u
0150: 6e 64 65 72 0a 64 6e 6c 20 74 68 65 20 73 61 6d  nder.dnl the sam
0160: 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 74  e distribution t
0170: 65 72 6d 73 20 61 73 20 74 68 65 20 72 65 73 74  erms as the rest
0180: 20 6f 66 20 74 68 61 74 20 70 72 6f 67 72 61 6d   of that program
0190: 2e 0a 0a 64 6e 6c 20 46 72 6f 6d 20 42 72 75 6e  ...dnl From Brun
01a0: 6f 20 48 61 69 62 6c 65 2c 20 4d 61 72 63 75 73  o Haible, Marcus
01b0: 20 44 61 6e 69 65 6c 73 2e 0a 0a 41 43 5f 50 52   Daniels...AC_PR
01c0: 45 52 45 51 28 32 2e 31 33 29 0a 0a 41 43 5f 44  EREQ(2.13)..AC_D
01d0: 45 46 55 4e 28 5b 43 4c 5f 53 54 44 43 5f 48 45  EFUN([CL_STDC_HE
01e0: 41 44 45 52 53 5d 2c 0a 64 6e 6c 20 54 68 69 73  ADERS],.dnl This
01f0: 20 69 73 20 41 43 5f 53 54 44 43 5f 48 45 41 44   is AC_STDC_HEAD
0200: 45 52 53 20 66 72 6f 6d 20 41 75 74 6f 63 6f 6e  ERS from Autocon
0210: 66 20 31 2e 32 2e 20 54 68 65 20 41 43 5f 53 54  f 1.2. The AC_ST
0220: 44 43 5f 48 45 41 44 45 52 53 20 66 72 6f 6d 0a  DC_HEADERS from.
0230: 64 6e 6c 20 41 75 74 6f 63 6f 6e 66 20 31 2e 33  dnl Autoconf 1.3
0240: 20 66 61 69 6c 73 20 6f 6e 20 33 38 36 42 53 44   fails on 386BSD
0250: 20 62 65 63 61 75 73 65 20 69 74 20 63 68 65 63   because it chec
0260: 6b 73 20 66 6f 72 20 63 6f 72 72 65 63 74 20 41  ks for correct A
0270: 4e 53 49 20 63 74 79 70 65 0a 64 6e 6c 20 6d 61  NSI ctype.dnl ma
0280: 63 72 6f 73 20 61 6e 64 20 33 38 36 42 53 44 20  cros and 386BSD 
0290: 28 61 73 20 77 65 6c 6c 20 61 73 20 53 47 49 27  (as well as SGI'
02a0: 73 20 2f 62 69 6e 2f 63 63 20 66 72 6f 6d 20 49  s /bin/cc from I
02b0: 72 69 78 2d 34 2e 30 2e 35 29 20 64 6f 65 73 6e  rix-4.0.5) doesn
02c0: 27 74 0a 64 6e 6c 20 68 61 76 65 20 74 68 65 6d  't.dnl have them
02d0: 2e 20 42 75 74 20 77 65 20 64 6f 6e 27 74 20 6e  . But we don't n
02e0: 65 65 64 20 74 68 65 6d 21 0a 64 6e 6c 20 54 68  eed them!.dnl Th
02f0: 65 20 73 61 6d 65 20 68 6f 6c 64 73 20 66 6f 72  e same holds for
0300: 20 74 68 65 20 6d 65 6d 2a 20 66 75 6e 63 74 69   the mem* functi
0310: 6f 6e 73 20 69 6e 20 3c 73 74 72 69 6e 67 2e 68  ons in <string.h
0320: 3e 20 61 6e 64 20 53 75 6e 4f 53 2e 0a 5b 43 4c  > and SunOS..[CL
0330: 5f 43 50 50 5f 43 48 45 43 4b 28 5b 41 4e 53 49  _CPP_CHECK([ANSI
0340: 20 43 20 68 65 61 64 65 72 20 66 69 6c 65 73 5d   C header files]
0350: 2c 20 63 6c 5f 63 76 5f 68 65 61 64 65 72 5f 73  , cl_cv_header_s
0360: 74 64 63 2c 0a 5b 23 69 6e 63 6c 75 64 65 20 3c  tdc,.[#include <
0370: 73 74 64 6c 69 62 2e 68 3e 0a 23 69 6e 63 6c 75  stdlib.h>.#inclu
0380: 64 65 20 3c 73 74 64 61 72 67 2e 68 3e 0a 23 69  de <stdarg.h>.#i
0390: 6e 63 6c 75 64 65 20 3c 73 74 72 69 6e 67 2e 68  nclude <string.h
03a0: 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 66 6c 6f 61  >.#include <floa
03b0: 74 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 6c  t.h>.#include <l
03c0: 69 6d 69 74 73 2e 68 3e 5d 2c 20 41 43 5f 44 45  imits.h>], AC_DE
03d0: 46 49 4e 45 28 53 54 44 43 5f 48 45 41 44 45 52  FINE(STDC_HEADER
03e0: 53 29 29 0a 5d 29 0a                             S)).]).