Artifact 96de82c7e797572b8007035bed5e9171560efe22:


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 50 52 4f 47 5f 43 50  EFUN([CL_PROG_CP
01e0: 5d 2c 0a 5b 41 43 5f 43 41 43 48 45 5f 43 48 45  ],.[AC_CACHE_CHE
01f0: 43 4b 28 68 6f 77 20 74 6f 20 63 6f 70 79 20 66  CK(how to copy f
0200: 69 6c 65 73 2c 20 63 6c 5f 63 76 5f 70 72 6f 67  iles, cl_cv_prog
0210: 5f 63 70 2c 20 5b 0a 65 63 68 6f 20 22 62 6c 61  _cp, [.echo "bla
0220: 62 6c 61 22 20 3e 20 63 6f 6e 66 74 65 73 74 2e  bla" > conftest.
0230: 78 0a 65 72 72 3d 60 2f 62 69 6e 2f 73 68 20 2d  x.err=`/bin/sh -
0240: 63 20 22 63 70 20 2d 70 20 63 6f 6e 66 74 65 73  c "cp -p conftes
0250: 74 2e 78 20 63 6f 6e 66 74 65 73 74 2e 79 20 32  t.x conftest.y 2
0260: 3e 26 31 22 60 0a 69 66 20 74 65 73 74 20 2d 7a  >&1"`.if test -z
0270: 20 22 24 65 72 72 22 3b 20 74 68 65 6e 0a 20 20   "$err"; then.  
0280: 63 6c 5f 63 76 5f 70 72 6f 67 5f 63 70 3d 27 63  cl_cv_prog_cp='c
0290: 70 20 2d 70 27 0a 65 6c 73 65 0a 20 20 63 6c 5f  p -p'.else.  cl_
02a0: 63 76 5f 70 72 6f 67 5f 63 70 3d 27 63 70 27 0a  cv_prog_cp='cp'.
02b0: 66 69 0a 72 6d 20 2d 66 20 63 6f 6e 66 74 65 73  fi.rm -f conftes
02c0: 74 2a 0a 5d 29 0a 43 50 3d 22 24 63 6c 5f 63 76  t*.]).CP="$cl_cv
02d0: 5f 70 72 6f 67 5f 63 70 22 0a 41 43 5f 53 55 42  _prog_cp".AC_SUB
02e0: 53 54 28 43 50 29 64 6e 6c 0a 5d 29 0a           ST(CP)dnl.]).