Artifact 779f7333c142d7bad35f11096ca0a037cdb0ed99:


0000: 23 20 54 68 69 73 20 66 69 6c 65 20 69 73 20 61  # This file is a
0010: 20 73 68 65 6c 6c 20 73 63 72 69 70 74 20 74 68   shell script th
0020: 61 74 20 63 61 63 68 65 73 20 74 68 65 20 72 65  at caches the re
0030: 73 75 6c 74 73 20 6f 66 20 63 6f 6e 66 69 67 75  sults of configu
0040: 72 65 0a 23 20 74 65 73 74 73 20 72 75 6e 20 6f  re.# tests run o
0050: 6e 20 74 68 69 73 20 73 79 73 74 65 6d 20 73 6f  n this system so
0060: 20 74 68 65 79 20 63 61 6e 20 62 65 20 73 68 61   they can be sha
0070: 72 65 64 20 62 65 74 77 65 65 6e 20 63 6f 6e 66  red between conf
0080: 69 67 75 72 65 0a 23 20 73 63 72 69 70 74 73 20  igure.# scripts 
0090: 61 6e 64 20 63 6f 6e 66 69 67 75 72 65 20 72 75  and configure ru
00a0: 6e 73 2e 20 20 49 74 20 69 73 20 6e 6f 74 20 75  ns.  It is not u
00b0: 73 65 66 75 6c 20 6f 6e 20 6f 74 68 65 72 20 73  seful on other s
00c0: 79 73 74 65 6d 73 2e 0a 23 20 49 66 20 69 74 20  ystems..# If it 
00d0: 63 6f 6e 74 61 69 6e 73 20 72 65 73 75 6c 74 73  contains results
00e0: 20 79 6f 75 20 64 6f 6e 27 74 20 77 61 6e 74 20   you don't want 
00f0: 74 6f 20 6b 65 65 70 2c 20 79 6f 75 20 6d 61 79  to keep, you may
0100: 20 72 65 6d 6f 76 65 20 6f 72 20 65 64 69 74 20   remove or edit 
0110: 69 74 2e 0a 23 0a 23 20 42 79 20 64 65 66 61 75  it..#.# By defau
0120: 6c 74 2c 20 63 6f 6e 66 69 67 75 72 65 20 75 73  lt, configure us
0130: 65 73 20 2e 2f 63 6f 6e 66 69 67 2e 63 61 63 68  es ./config.cach
0140: 65 20 61 73 20 74 68 65 20 63 61 63 68 65 20 66  e as the cache f
0150: 69 6c 65 2c 0a 23 20 63 72 65 61 74 69 6e 67 20  ile,.# creating 
0160: 69 74 20 69 66 20 69 74 20 64 6f 65 73 20 6e 6f  it if it does no
0170: 74 20 65 78 69 73 74 20 61 6c 72 65 61 64 79 2e  t exist already.
0180: 20 20 59 6f 75 20 63 61 6e 20 67 69 76 65 20 63    You can give c
0190: 6f 6e 66 69 67 75 72 65 0a 23 20 74 68 65 20 2d  onfigure.# the -
01a0: 2d 63 61 63 68 65 2d 66 69 6c 65 3d 46 49 4c 45  -cache-file=FILE
01b0: 20 6f 70 74 69 6f 6e 20 74 6f 20 75 73 65 20 61   option to use a
01c0: 20 64 69 66 66 65 72 65 6e 74 20 63 61 63 68 65   different cache
01d0: 20 66 69 6c 65 3b 20 74 68 61 74 20 69 73 0a 23   file; that is.#
01e0: 20 77 68 61 74 20 63 6f 6e 66 69 67 75 72 65 20   what configure 
01f0: 64 6f 65 73 20 77 68 65 6e 20 69 74 20 63 61 6c  does when it cal
0200: 6c 73 20 63 6f 6e 66 69 67 75 72 65 20 73 63 72  ls configure scr
0210: 69 70 74 73 20 69 6e 0a 23 20 73 75 62 64 69 72  ipts in.# subdir
0220: 65 63 74 6f 72 69 65 73 2c 20 73 6f 20 74 68 65  ectories, so the
0230: 79 20 73 68 61 72 65 20 74 68 65 20 63 61 63 68  y share the cach
0240: 65 2e 0a 23 20 47 69 76 69 6e 67 20 2d 2d 63 61  e..# Giving --ca
0250: 63 68 65 2d 66 69 6c 65 3d 2f 64 65 76 2f 6e 75  che-file=/dev/nu
0260: 6c 6c 20 64 69 73 61 62 6c 65 73 20 63 61 63 68  ll disables cach
0270: 69 6e 67 2c 20 66 6f 72 20 64 65 62 75 67 67 69  ing, for debuggi
0280: 6e 67 20 63 6f 6e 66 69 67 75 72 65 2e 0a 23 20  ng configure..# 
0290: 63 6f 6e 66 69 67 2e 73 74 61 74 75 73 20 6f 6e  config.status on
02a0: 6c 79 20 70 61 79 73 20 61 74 74 65 6e 74 69 6f  ly pays attentio
02b0: 6e 20 74 6f 20 74 68 65 20 63 61 63 68 65 20 66  n to the cache f
02c0: 69 6c 65 20 69 66 20 79 6f 75 20 67 69 76 65 20  ile if you give 
02d0: 69 74 20 74 68 65 0a 23 20 2d 2d 72 65 63 68 65  it the.# --reche
02e0: 63 6b 20 6f 70 74 69 6f 6e 20 74 6f 20 72 65 72  ck option to rer
02f0: 75 6e 20 63 6f 6e 66 69 67 75 72 65 2e 0a 23 0a  un configure..#.
0300: 3a 20 24 7b 61 63 5f 63 76 5f 63 5f 63 68 61 72  : ${ac_cv_c_char
0310: 5f 75 6e 73 69 67 6e 65 64 3d 27 6e 6f 27 7d 0a  _unsigned='no'}.
0320: 3a 20 24 7b 61 63 5f 63 76 5f 63 5f 63 72 6f 73  : ${ac_cv_c_cros
0330: 73 3d 27 6e 6f 27 7d 0a 3a 20 24 7b 61 63 5f 63  s='no'}.: ${ac_c
0340: 76 5f 68 65 61 64 65 72 5f 73 74 64 6c 69 62 5f  v_header_stdlib_
0350: 68 3d 27 79 65 73 27 7d 0a 3a 20 24 7b 61 63 5f  h='yes'}.: ${ac_
0360: 63 76 5f 70 72 6f 67 5f 43 43 3d 27 63 63 20 2d  cv_prog_CC='cc -
0370: 4f 20 2d 74 72 61 64 69 74 69 6f 6e 61 6c 2d 63  O -traditional-c
0380: 70 70 27 7d 0a 3a 20 24 7b 61 63 5f 63 76 5f 70  pp'}.: ${ac_cv_p
0390: 72 6f 67 5f 43 50 50 3d 27 63 63 20 2d 4f 20 2d  rog_CPP='cc -O -
03a0: 45 20 2d 74 72 61 64 69 74 69 6f 6e 61 6c 2d 63  E -traditional-c
03b0: 70 70 27 7d 0a 3a 20 24 7b 61 63 5f 63 76 5f 70  pp'}.: ${ac_cv_p
03c0: 72 6f 67 5f 52 41 4e 4c 49 42 3d 27 72 61 6e 6c  rog_RANLIB='ranl
03d0: 69 62 27 7d 0a 3a 20 24 7b 61 63 5f 63 76 5f 70  ib'}.: ${ac_cv_p
03e0: 72 6f 67 5f 67 63 63 3d 27 79 65 73 27 7d 0a 3a  rog_gcc='yes'}.:
03f0: 20 24 7b 61 63 5f 63 76 5f 70 72 6f 67 5f 67 63   ${ac_cv_prog_gc
0400: 63 5f 74 72 61 64 69 74 69 6f 6e 61 6c 3d 27 6e  c_traditional='n
0410: 6f 27 7d 0a 3a 20 24 7b 61 63 5f 63 76 5f 70 72  o'}.: ${ac_cv_pr
0420: 6f 67 5f 6d 61 6b 65 5f 6d 61 6b 65 5f 73 65 74  og_make_make_set
0430: 3d 27 79 65 73 27 7d 0a 3a 20 24 7b 63 6c 5f 63  ='yes'}.: ${cl_c
0440: 76 5f 63 5f 73 74 72 75 63 74 5f 72 65 74 75 72  v_c_struct_retur
0450: 6e 5f 73 6d 61 6c 6c 3d 27 79 65 73 27 7d 0a 3a  n_small='yes'}.:
0460: 20 24 7b 63 6c 5f 63 76 5f 63 5f 73 74 72 75 63   ${cl_cv_c_struc
0470: 74 5f 72 65 74 75 72 6e 5f 73 74 61 74 69 63 3d  t_return_static=
0480: 27 6e 6f 27 7d 0a 3a 20 24 7b 63 6c 5f 63 76 5f  'no'}.: ${cl_cv_
0490: 68 6f 73 74 3d 27 6d 36 38 6b 2d 6e 65 78 74 2d  host='m68k-next-
04a0: 6e 65 78 74 73 74 65 70 33 27 7d 0a 3a 20 24 7b  nextstep3'}.: ${
04b0: 63 6c 5f 63 76 5f 70 61 74 68 5f 69 6e 73 74 61  cl_cv_path_insta
04c0: 6c 6c 3d 27 2f 75 73 72 2f 62 69 6e 2f 69 6e 73  ll='/usr/bin/ins
04d0: 74 61 6c 6c 20 2d 63 27 7d 0a 3a 20 24 7b 63 6c  tall -c'}.: ${cl
04e0: 5f 63 76 5f 70 72 6f 67 5f 61 73 5f 75 6e 64 65  _cv_prog_as_unde
04f0: 72 73 63 6f 72 65 3d 27 79 65 73 27 7d 0a 3a 20  rscore='yes'}.: 
0500: 24 7b 63 6c 5f 63 76 5f 70 72 6f 74 6f 5f 61 62  ${cl_cv_proto_ab
0510: 6f 72 74 3d 27 65 78 74 65 72 6e 20 20 76 6f 69  ort='extern  voi
0520: 64 20 61 62 6f 72 74 20 28 76 6f 69 64 29 3b 27  d abort (void);'
0530: 7d 0a 3a 20 24 7b 63 6c 5f 63 76 5f 70 72 6f 74  }.: ${cl_cv_prot
0540: 6f 5f 61 62 6f 72 74 5f 72 65 74 3d 27 76 6f 69  o_abort_ret='voi
0550: 64 27 7d 0a 3a 20 24 7b 63 6c 5f 63 76 5f 70 72  d'}.: ${cl_cv_pr
0560: 6f 74 6f 5f 61 62 6f 72 74 5f 76 6f 6c 3d 27 27  oto_abort_vol=''
0570: 7d 0a                                            }.