Artifact
ccaea1f3095b951992ff31a5da177d4078a34904:
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 43 43 5f 47 43 43 5d EFUN([CL_CC_GCC]
01e0: 2c 0a 5b 41 43 5f 52 45 51 55 49 52 45 28 5b 41 ,.[AC_REQUIRE([A
01f0: 43 5f 50 52 4f 47 5f 43 50 50 5d 29 0a 41 43 5f C_PROG_CPP]).AC_
0200: 43 41 43 48 45 5f 43 48 45 43 4b 28 77 68 65 74 CACHE_CHECK(whet
0210: 68 65 72 20 75 73 69 6e 67 20 47 4e 55 20 43 2c her using GNU C,
0220: 20 63 6c 5f 63 76 5f 70 72 6f 67 5f 63 63 5f 67 cl_cv_prog_cc_g
0230: 63 63 2c 20 5b 0a 41 43 5f 45 47 52 45 50 5f 43 cc, [.AC_EGREP_C
0240: 50 50 28 79 65 73 2c 5b 23 69 66 64 65 66 20 5f PP(yes,[#ifdef _
0250: 5f 47 4e 55 43 5f 5f 0a 20 20 79 65 73 0a 23 65 _GNUC__. yes.#e
0260: 6e 64 69 66 0a 5d 2c 20 63 6c 5f 63 76 5f 70 72 ndif.], cl_cv_pr
0270: 6f 67 5f 63 63 5f 67 63 63 3d 79 65 73 2c 20 63 og_cc_gcc=yes, c
0280: 6c 5f 63 76 5f 70 72 6f 67 5f 63 63 5f 67 63 63 l_cv_prog_cc_gcc
0290: 3d 6e 6f 29 0a 5d 29 0a 69 66 20 74 65 73 74 20 =no).]).if test
02a0: 24 63 6c 5f 63 76 5f 70 72 6f 67 5f 63 63 5f 67 $cl_cv_prog_cc_g
02b0: 63 63 20 3d 20 79 65 73 3b 20 74 68 65 6e 0a 20 cc = yes; then.
02c0: 20 43 43 5f 47 43 43 3d 74 72 75 65 0a 20 20 47 CC_GCC=true. G
02d0: 43 43 5f 58 5f 4e 4f 4e 45 3d 27 2d 78 20 6e 6f CC_X_NONE='-x no
02e0: 6e 65 27 0a 65 6c 73 65 0a 20 20 43 43 5f 47 43 ne'.else. CC_GC
02f0: 43 3d 66 61 6c 73 65 0a 20 20 47 43 43 5f 58 5f C=false. GCC_X_
0300: 4e 4f 4e 45 3d 27 27 0a 66 69 0a 41 43 5f 53 55 NONE=''.fi.AC_SU
0310: 42 53 54 28 43 43 5f 47 43 43 29 64 6e 6c 0a 41 BST(CC_GCC)dnl.A
0320: 43 5f 53 55 42 53 54 28 47 43 43 5f 58 5f 4e 4f C_SUBST(GCC_X_NO
0330: 4e 45 29 64 6e 6c 0a 5d 29 0a NE)dnl.]).