|
1 #! /bin/sh |
|
2 |
|
3 # Guess values for system-dependent variables and create Makefiles. |
|
4 # Generated automatically using autoconf version 2.13 |
|
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
|
6 # |
|
7 # This configure script is free software; the Free Software Foundation |
|
8 # gives unlimited permission to copy, distribute and modify it. |
|
9 |
|
10 # Defaults: |
|
11 ac_help= |
|
12 ac_default_prefix=/usr/local |
|
13 # Any additions from configure.in: |
|
14 ac_help="$ac_help |
|
15 --with-nspr[=path] specify location of NSPR" |
|
16 ac_help="$ac_help |
|
17 --with-nss-dist[=path] specify path to NSS dist directory" |
|
18 ac_help="$ac_help |
|
19 --with-nss-hdrs[=path] or, specify path to installed NSS headers" |
|
20 ac_help="$ac_help |
|
21 --with-rsa-hdrs[=path] if not using NSS, specify path to RSA headers" |
|
22 ac_help="$ac_help |
|
23 --disable-debug default is enabled" |
|
24 |
|
25 # Initialize some variables set by options. |
|
26 # The variables have the same names as the options, with |
|
27 # dashes changed to underlines. |
|
28 build=NONE |
|
29 cache_file=./config.cache |
|
30 exec_prefix=NONE |
|
31 host=NONE |
|
32 no_create= |
|
33 nonopt=NONE |
|
34 no_recursion= |
|
35 prefix=NONE |
|
36 program_prefix=NONE |
|
37 program_suffix=NONE |
|
38 program_transform_name=s,x,x, |
|
39 silent= |
|
40 site= |
|
41 srcdir= |
|
42 target=NONE |
|
43 verbose= |
|
44 x_includes=NONE |
|
45 x_libraries=NONE |
|
46 bindir='${exec_prefix}/bin' |
|
47 sbindir='${exec_prefix}/sbin' |
|
48 libexecdir='${exec_prefix}/libexec' |
|
49 datadir='${prefix}/share' |
|
50 sysconfdir='${prefix}/etc' |
|
51 sharedstatedir='${prefix}/com' |
|
52 localstatedir='${prefix}/var' |
|
53 libdir='${exec_prefix}/lib' |
|
54 includedir='${prefix}/include' |
|
55 oldincludedir='/usr/include' |
|
56 infodir='${prefix}/info' |
|
57 mandir='${prefix}/man' |
|
58 |
|
59 # Initialize some other variables. |
|
60 subdirs= |
|
61 MFLAGS= MAKEFLAGS= |
|
62 SHELL=${CONFIG_SHELL-/bin/sh} |
|
63 # Maximum number of lines to put in a shell here document. |
|
64 ac_max_here_lines=12 |
|
65 |
|
66 ac_prev= |
|
67 for ac_option |
|
68 do |
|
69 |
|
70 # If the previous option needs an argument, assign it. |
|
71 if test -n "$ac_prev"; then |
|
72 eval "$ac_prev=\$ac_option" |
|
73 ac_prev= |
|
74 continue |
|
75 fi |
|
76 |
|
77 case "$ac_option" in |
|
78 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
|
79 *) ac_optarg= ;; |
|
80 esac |
|
81 |
|
82 # Accept the important Cygnus configure options, so we can diagnose typos. |
|
83 |
|
84 case "$ac_option" in |
|
85 |
|
86 -bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
87 ac_prev=bindir ;; |
|
88 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
89 bindir="$ac_optarg" ;; |
|
90 |
|
91 -build | --build | --buil | --bui | --bu) |
|
92 ac_prev=build ;; |
|
93 -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
94 build="$ac_optarg" ;; |
|
95 |
|
96 -cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
97 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
98 ac_prev=cache_file ;; |
|
99 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
100 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
101 cache_file="$ac_optarg" ;; |
|
102 |
|
103 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
|
104 ac_prev=datadir ;; |
|
105 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
|
106 | --da=*) |
|
107 datadir="$ac_optarg" ;; |
|
108 |
|
109 -disable-* | --disable-*) |
|
110 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
|
111 # Reject names that are not valid shell variable names. |
|
112 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
|
113 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
|
114 fi |
|
115 ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
|
116 eval "enable_${ac_feature}=no" ;; |
|
117 |
|
118 -enable-* | --enable-*) |
|
119 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
|
120 # Reject names that are not valid shell variable names. |
|
121 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
|
122 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
|
123 fi |
|
124 ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
|
125 case "$ac_option" in |
|
126 *=*) ;; |
|
127 *) ac_optarg=yes ;; |
|
128 esac |
|
129 eval "enable_${ac_feature}='$ac_optarg'" ;; |
|
130 |
|
131 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
132 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
133 | --exec | --exe | --ex) |
|
134 ac_prev=exec_prefix ;; |
|
135 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
136 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
137 | --exec=* | --exe=* | --ex=*) |
|
138 exec_prefix="$ac_optarg" ;; |
|
139 |
|
140 -gas | --gas | --ga | --g) |
|
141 # Obsolete; use --with-gas. |
|
142 with_gas=yes ;; |
|
143 |
|
144 -help | --help | --hel | --he) |
|
145 # Omit some internal or obsolete options to make the list less imposing. |
|
146 # This message is too long to be a string in the A/UX 3.1 sh. |
|
147 cat << EOF |
|
148 Usage: configure [options] [host] |
|
149 Options: [defaults in brackets after descriptions] |
|
150 Configuration: |
|
151 --cache-file=FILE cache test results in FILE |
|
152 --help print this message |
|
153 --no-create do not create output files |
|
154 --quiet, --silent do not print \`checking...' messages |
|
155 --version print the version of autoconf that created configure |
|
156 Directory and file names: |
|
157 --prefix=PREFIX install architecture-independent files in PREFIX |
|
158 [$ac_default_prefix] |
|
159 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
160 [same as prefix] |
|
161 --bindir=DIR user executables in DIR [EPREFIX/bin] |
|
162 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
|
163 --libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
|
164 --datadir=DIR read-only architecture-independent data in DIR |
|
165 [PREFIX/share] |
|
166 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
|
167 --sharedstatedir=DIR modifiable architecture-independent data in DIR |
|
168 [PREFIX/com] |
|
169 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
|
170 --libdir=DIR object code libraries in DIR [EPREFIX/lib] |
|
171 --includedir=DIR C header files in DIR [PREFIX/include] |
|
172 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
|
173 --infodir=DIR info documentation in DIR [PREFIX/info] |
|
174 --mandir=DIR man documentation in DIR [PREFIX/man] |
|
175 --srcdir=DIR find the sources in DIR [configure dir or ..] |
|
176 --program-prefix=PREFIX prepend PREFIX to installed program names |
|
177 --program-suffix=SUFFIX append SUFFIX to installed program names |
|
178 --program-transform-name=PROGRAM |
|
179 run sed PROGRAM on installed program names |
|
180 EOF |
|
181 cat << EOF |
|
182 Host type: |
|
183 --build=BUILD configure for building on BUILD [BUILD=HOST] |
|
184 --host=HOST configure for HOST [guessed] |
|
185 --target=TARGET configure for TARGET [TARGET=HOST] |
|
186 Features and packages: |
|
187 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
188 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
189 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
190 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
191 --x-includes=DIR X include files are in DIR |
|
192 --x-libraries=DIR X library files are in DIR |
|
193 EOF |
|
194 if test -n "$ac_help"; then |
|
195 echo "--enable and --with options recognized:$ac_help" |
|
196 fi |
|
197 exit 0 ;; |
|
198 |
|
199 -host | --host | --hos | --ho) |
|
200 ac_prev=host ;; |
|
201 -host=* | --host=* | --hos=* | --ho=*) |
|
202 host="$ac_optarg" ;; |
|
203 |
|
204 -includedir | --includedir | --includedi | --included | --include \ |
|
205 | --includ | --inclu | --incl | --inc) |
|
206 ac_prev=includedir ;; |
|
207 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
208 | --includ=* | --inclu=* | --incl=* | --inc=*) |
|
209 includedir="$ac_optarg" ;; |
|
210 |
|
211 -infodir | --infodir | --infodi | --infod | --info | --inf) |
|
212 ac_prev=infodir ;; |
|
213 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
214 infodir="$ac_optarg" ;; |
|
215 |
|
216 -libdir | --libdir | --libdi | --libd) |
|
217 ac_prev=libdir ;; |
|
218 -libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
219 libdir="$ac_optarg" ;; |
|
220 |
|
221 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
222 | --libexe | --libex | --libe) |
|
223 ac_prev=libexecdir ;; |
|
224 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
225 | --libexe=* | --libex=* | --libe=*) |
|
226 libexecdir="$ac_optarg" ;; |
|
227 |
|
228 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
229 | --localstate | --localstat | --localsta | --localst \ |
|
230 | --locals | --local | --loca | --loc | --lo) |
|
231 ac_prev=localstatedir ;; |
|
232 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
233 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
|
234 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
|
235 localstatedir="$ac_optarg" ;; |
|
236 |
|
237 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
238 ac_prev=mandir ;; |
|
239 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
240 mandir="$ac_optarg" ;; |
|
241 |
|
242 -nfp | --nfp | --nf) |
|
243 # Obsolete; use --without-fp. |
|
244 with_fp=no ;; |
|
245 |
|
246 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
247 | --no-cr | --no-c) |
|
248 no_create=yes ;; |
|
249 |
|
250 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
251 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
252 no_recursion=yes ;; |
|
253 |
|
254 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
255 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
256 | --oldin | --oldi | --old | --ol | --o) |
|
257 ac_prev=oldincludedir ;; |
|
258 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
259 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
260 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
261 oldincludedir="$ac_optarg" ;; |
|
262 |
|
263 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
264 ac_prev=prefix ;; |
|
265 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
266 prefix="$ac_optarg" ;; |
|
267 |
|
268 -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
269 | --program-pre | --program-pr | --program-p) |
|
270 ac_prev=program_prefix ;; |
|
271 -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
272 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
273 program_prefix="$ac_optarg" ;; |
|
274 |
|
275 -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
276 | --program-suf | --program-su | --program-s) |
|
277 ac_prev=program_suffix ;; |
|
278 -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
279 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
280 program_suffix="$ac_optarg" ;; |
|
281 |
|
282 -program-transform-name | --program-transform-name \ |
|
283 | --program-transform-nam | --program-transform-na \ |
|
284 | --program-transform-n | --program-transform- \ |
|
285 | --program-transform | --program-transfor \ |
|
286 | --program-transfo | --program-transf \ |
|
287 | --program-trans | --program-tran \ |
|
288 | --progr-tra | --program-tr | --program-t) |
|
289 ac_prev=program_transform_name ;; |
|
290 -program-transform-name=* | --program-transform-name=* \ |
|
291 | --program-transform-nam=* | --program-transform-na=* \ |
|
292 | --program-transform-n=* | --program-transform-=* \ |
|
293 | --program-transform=* | --program-transfor=* \ |
|
294 | --program-transfo=* | --program-transf=* \ |
|
295 | --program-trans=* | --program-tran=* \ |
|
296 | --progr-tra=* | --program-tr=* | --program-t=*) |
|
297 program_transform_name="$ac_optarg" ;; |
|
298 |
|
299 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
300 | -silent | --silent | --silen | --sile | --sil) |
|
301 silent=yes ;; |
|
302 |
|
303 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
304 ac_prev=sbindir ;; |
|
305 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
306 | --sbi=* | --sb=*) |
|
307 sbindir="$ac_optarg" ;; |
|
308 |
|
309 -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
310 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
311 | --sharedst | --shareds | --shared | --share | --shar \ |
|
312 | --sha | --sh) |
|
313 ac_prev=sharedstatedir ;; |
|
314 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
315 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
316 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
317 | --sha=* | --sh=*) |
|
318 sharedstatedir="$ac_optarg" ;; |
|
319 |
|
320 -site | --site | --sit) |
|
321 ac_prev=site ;; |
|
322 -site=* | --site=* | --sit=*) |
|
323 site="$ac_optarg" ;; |
|
324 |
|
325 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
326 ac_prev=srcdir ;; |
|
327 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
328 srcdir="$ac_optarg" ;; |
|
329 |
|
330 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
331 | --syscon | --sysco | --sysc | --sys | --sy) |
|
332 ac_prev=sysconfdir ;; |
|
333 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
334 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
335 sysconfdir="$ac_optarg" ;; |
|
336 |
|
337 -target | --target | --targe | --targ | --tar | --ta | --t) |
|
338 ac_prev=target ;; |
|
339 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
340 target="$ac_optarg" ;; |
|
341 |
|
342 -v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
343 verbose=yes ;; |
|
344 |
|
345 -version | --version | --versio | --versi | --vers) |
|
346 echo "configure generated by autoconf version 2.13" |
|
347 exit 0 ;; |
|
348 |
|
349 -with-* | --with-*) |
|
350 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
|
351 # Reject names that are not valid shell variable names. |
|
352 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
|
353 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
|
354 fi |
|
355 ac_package=`echo $ac_package| sed 's/-/_/g'` |
|
356 case "$ac_option" in |
|
357 *=*) ;; |
|
358 *) ac_optarg=yes ;; |
|
359 esac |
|
360 eval "with_${ac_package}='$ac_optarg'" ;; |
|
361 |
|
362 -without-* | --without-*) |
|
363 ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
|
364 # Reject names that are not valid shell variable names. |
|
365 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
|
366 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
|
367 fi |
|
368 ac_package=`echo $ac_package| sed 's/-/_/g'` |
|
369 eval "with_${ac_package}=no" ;; |
|
370 |
|
371 --x) |
|
372 # Obsolete; use --with-x. |
|
373 with_x=yes ;; |
|
374 |
|
375 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
376 | --x-incl | --x-inc | --x-in | --x-i) |
|
377 ac_prev=x_includes ;; |
|
378 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
379 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
380 x_includes="$ac_optarg" ;; |
|
381 |
|
382 -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
383 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
384 ac_prev=x_libraries ;; |
|
385 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
386 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
387 x_libraries="$ac_optarg" ;; |
|
388 |
|
389 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
|
390 ;; |
|
391 |
|
392 *) |
|
393 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
|
394 echo "configure: warning: $ac_option: invalid host type" 1>&2 |
|
395 fi |
|
396 if test "x$nonopt" != xNONE; then |
|
397 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
|
398 fi |
|
399 nonopt="$ac_option" |
|
400 ;; |
|
401 |
|
402 esac |
|
403 done |
|
404 |
|
405 if test -n "$ac_prev"; then |
|
406 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
|
407 fi |
|
408 |
|
409 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
410 |
|
411 # File descriptor usage: |
|
412 # 0 standard input |
|
413 # 1 file creation |
|
414 # 2 errors and warnings |
|
415 # 3 some systems may open it to /dev/tty |
|
416 # 4 used on the Kubota Titan |
|
417 # 6 checking for... messages and results |
|
418 # 5 compiler messages saved in config.log |
|
419 if test "$silent" = yes; then |
|
420 exec 6>/dev/null |
|
421 else |
|
422 exec 6>&1 |
|
423 fi |
|
424 exec 5>./config.log |
|
425 |
|
426 echo "\ |
|
427 This file contains any messages produced by compilers while |
|
428 running configure, to aid debugging if configure makes a mistake. |
|
429 " 1>&5 |
|
430 |
|
431 # Strip out --no-create and --no-recursion so they do not pile up. |
|
432 # Also quote any args containing shell metacharacters. |
|
433 ac_configure_args= |
|
434 for ac_arg |
|
435 do |
|
436 case "$ac_arg" in |
|
437 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
438 | --no-cr | --no-c) ;; |
|
439 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
440 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
|
441 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
|
442 ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
443 *) ac_configure_args="$ac_configure_args $ac_arg" ;; |
|
444 esac |
|
445 done |
|
446 |
|
447 # NLS nuisances. |
|
448 # Only set these to C if already set. These must not be set unconditionally |
|
449 # because not all systems understand e.g. LANG=C (notably SCO). |
|
450 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
|
451 # Non-C LC_CTYPE values break the ctype check. |
|
452 if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
|
453 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
|
454 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
|
455 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
|
456 |
|
457 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
458 rm -rf conftest* confdefs.h |
|
459 # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
460 echo > confdefs.h |
|
461 |
|
462 # A filename unique to this package, relative to the directory that |
|
463 # configure is in, which we can look for to find out if srcdir is correct. |
|
464 ac_unique_file=trivial.c |
|
465 |
|
466 # Find the source files, if location was not specified. |
|
467 if test -z "$srcdir"; then |
|
468 ac_srcdir_defaulted=yes |
|
469 # Try the directory containing this script, then its parent. |
|
470 ac_prog=$0 |
|
471 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
|
472 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
|
473 srcdir=$ac_confdir |
|
474 if test ! -r $srcdir/$ac_unique_file; then |
|
475 srcdir=.. |
|
476 fi |
|
477 else |
|
478 ac_srcdir_defaulted=no |
|
479 fi |
|
480 if test ! -r $srcdir/$ac_unique_file; then |
|
481 if test "$ac_srcdir_defaulted" = yes; then |
|
482 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
|
483 else |
|
484 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
|
485 fi |
|
486 fi |
|
487 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
|
488 |
|
489 # Prefer explicitly selected file to automatically selected ones. |
|
490 if test -z "$CONFIG_SITE"; then |
|
491 if test "x$prefix" != xNONE; then |
|
492 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
|
493 else |
|
494 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
|
495 fi |
|
496 fi |
|
497 for ac_site_file in $CONFIG_SITE; do |
|
498 if test -r "$ac_site_file"; then |
|
499 echo "loading site script $ac_site_file" |
|
500 . "$ac_site_file" |
|
501 fi |
|
502 done |
|
503 |
|
504 if test -r "$cache_file"; then |
|
505 echo "loading cache $cache_file" |
|
506 . $cache_file |
|
507 else |
|
508 echo "creating cache $cache_file" |
|
509 > $cache_file |
|
510 fi |
|
511 |
|
512 ac_ext=c |
|
513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
514 ac_cpp='$CPP $CPPFLAGS' |
|
515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
517 cross_compiling=$ac_cv_prog_cc_cross |
|
518 |
|
519 ac_exeext= |
|
520 ac_objext=o |
|
521 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
|
522 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
|
523 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
|
524 ac_n= ac_c=' |
|
525 ' ac_t=' ' |
|
526 else |
|
527 ac_n=-n ac_c= ac_t= |
|
528 fi |
|
529 else |
|
530 ac_n= ac_c='\c' ac_t= |
|
531 fi |
|
532 |
|
533 |
|
534 |
|
535 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
|
536 echo "configure:537: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|
537 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
|
538 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
|
539 echo $ac_n "(cached) $ac_c" 1>&6 |
|
540 else |
|
541 cat > conftestmake <<\EOF |
|
542 all: |
|
543 @echo 'ac_maketemp="${MAKE}"' |
|
544 EOF |
|
545 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|
546 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
|
547 if test -n "$ac_maketemp"; then |
|
548 eval ac_cv_prog_make_${ac_make}_set=yes |
|
549 else |
|
550 eval ac_cv_prog_make_${ac_make}_set=no |
|
551 fi |
|
552 rm -f conftestmake |
|
553 fi |
|
554 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
|
555 echo "$ac_t""yes" 1>&6 |
|
556 SET_MAKE= |
|
557 else |
|
558 echo "$ac_t""no" 1>&6 |
|
559 SET_MAKE="MAKE=${MAKE-make}" |
|
560 fi |
|
561 |
|
562 |
|
563 # Check whether --with-nspr or --without-nspr was given. |
|
564 if test "${with_nspr+set}" = set; then |
|
565 withval="$with_nspr" |
|
566 case "$withval" in |
|
567 no) |
|
568 { echo "configure: error: NSPR is required" 1>&2; exit 1; };; |
|
569 yes) |
|
570 NSPR_INCLUDE="$includedir" |
|
571 NSPR_LIBPATH="$libdir" |
|
572 ;; |
|
573 *) |
|
574 NSPR_INCLUDE="$withval/include" |
|
575 NSPR_LIBPATH="$withval/lib" |
|
576 ;; |
|
577 esac |
|
578 else |
|
579 NSPR_INCLUDE="$includedir" |
|
580 NSPR_LIBPATH="$libdir" |
|
581 |
|
582 fi |
|
583 |
|
584 |
|
585 NSPR_CFLAGS="-I$NSPR_INCLUDE" |
|
586 NSPR_LDFLAGS="-L$NSPR_LIBPATH -lnspr4 -lplc4 -lplds4" |
|
587 |
|
588 |
|
589 # Check whether --with-nss-dist or --without-nss-dist was given. |
|
590 if test "${with_nss_dist+set}" = set; then |
|
591 withval="$with_nss_dist" |
|
592 case "$withval" in |
|
593 no) |
|
594 NSS_CFLAGS="" |
|
595 nss="0" |
|
596 ;; |
|
597 yes) |
|
598 { echo "configure: error: You have to specify a path for --with-nss-dist" 1>&2; exit 1; } |
|
599 ;; |
|
600 *) |
|
601 NSS_CFLAGS="-I$withval/private/security -I$withval/public/security" |
|
602 nss="1" |
|
603 ;; |
|
604 esac |
|
605 fi |
|
606 |
|
607 |
|
608 # Check whether --with-nss-hdrs or --without-nss-hdrs was given. |
|
609 if test "${with_nss_hdrs+set}" = set; then |
|
610 withval="$with_nss_hdrs" |
|
611 if test "x$nss" != "x"; then |
|
612 { echo "configure: error: Only specify --with-nss-hdrs or --with-nss-dist" 1>&2; exit 1; } |
|
613 fi |
|
614 case "$withval" in |
|
615 no) |
|
616 NSS_CFLAGS="" |
|
617 nss="0" |
|
618 ;; |
|
619 yes) |
|
620 NSS_CFLAGS="-I$includedir" |
|
621 nss="1" |
|
622 ;; |
|
623 *) |
|
624 NSS_CFLAGS="-I$withval" |
|
625 nss="1" |
|
626 ;; |
|
627 esac |
|
628 fi |
|
629 |
|
630 |
|
631 # Check whether --with-rsa-hdrs or --without-rsa-hdrs was given. |
|
632 if test "${with_rsa_hdrs+set}" = set; then |
|
633 withval="$with_rsa_hdrs" |
|
634 if test "x$nss" != "x"; then |
|
635 { echo "configure: error: Only specify --with-nss-{hdrs" 1>&2; exit 1; } |
|
636 fi |
|
637 case "$withval" in |
|
638 no) |
|
639 rsa="0" |
|
640 ;; |
|
641 yes) |
|
642 RSA_INCLUDE="$includedir" |
|
643 rsa="1" |
|
644 ;; |
|
645 *) |
|
646 RSA_INCLUDE="$withval" |
|
647 rsa="1" |
|
648 ;; |
|
649 esac |
|
650 fi |
|
651 |
|
652 |
|
653 if test "x$nss" = "x"; then |
|
654 if test "x$rsa" = "x"; then |
|
655 RSA_INCLUDE="$includedir" |
|
656 fi |
|
657 RSA_CFLAGS="-I$RSA_INCLUDE" |
|
658 fi |
|
659 |
|
660 if test "x$nss" = "x1"; then |
|
661 cat >> confdefs.h <<\EOF |
|
662 #define WITH_NSS 1 |
|
663 EOF |
|
664 |
|
665 fi |
|
666 |
|
667 |
|
668 |
|
669 if test "x$rsa" = "x1"; then |
|
670 RSA_CFLAGS-"-I$RSA_INCLUDE" |
|
671 fi |
|
672 |
|
673 # Check whether --enable-debug or --disable-debug was given. |
|
674 if test "${enable_debug+set}" = set; then |
|
675 enableval="$enable_debug" |
|
676 case "$enableval" in |
|
677 no) |
|
678 DEBUG_CFLAGS="";; |
|
679 yes) |
|
680 DEBUG_CFLAGS="-DDEBUG";; |
|
681 *) |
|
682 DEBUG_CFLAGS="-DDEBUG";; |
|
683 esac |
|
684 else |
|
685 DEBUG_CFLAGS="-DDEBUG" |
|
686 fi |
|
687 |
|
688 |
|
689 # Extract the first word of "gcc", so it can be a program name with args. |
|
690 set dummy gcc; ac_word=$2 |
|
691 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
692 echo "configure:693: checking for $ac_word" >&5 |
|
693 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
694 echo $ac_n "(cached) $ac_c" 1>&6 |
|
695 else |
|
696 if test -n "$CC"; then |
|
697 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
698 else |
|
699 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
700 ac_dummy="$PATH" |
|
701 for ac_dir in $ac_dummy; do |
|
702 test -z "$ac_dir" && ac_dir=. |
|
703 if test -f $ac_dir/$ac_word; then |
|
704 ac_cv_prog_CC="gcc" |
|
705 break |
|
706 fi |
|
707 done |
|
708 IFS="$ac_save_ifs" |
|
709 fi |
|
710 fi |
|
711 CC="$ac_cv_prog_CC" |
|
712 if test -n "$CC"; then |
|
713 echo "$ac_t""$CC" 1>&6 |
|
714 else |
|
715 echo "$ac_t""no" 1>&6 |
|
716 fi |
|
717 |
|
718 if test -z "$CC"; then |
|
719 # Extract the first word of "cc", so it can be a program name with args. |
|
720 set dummy cc; ac_word=$2 |
|
721 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
722 echo "configure:723: checking for $ac_word" >&5 |
|
723 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
724 echo $ac_n "(cached) $ac_c" 1>&6 |
|
725 else |
|
726 if test -n "$CC"; then |
|
727 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
728 else |
|
729 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
730 ac_prog_rejected=no |
|
731 ac_dummy="$PATH" |
|
732 for ac_dir in $ac_dummy; do |
|
733 test -z "$ac_dir" && ac_dir=. |
|
734 if test -f $ac_dir/$ac_word; then |
|
735 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
|
736 ac_prog_rejected=yes |
|
737 continue |
|
738 fi |
|
739 ac_cv_prog_CC="cc" |
|
740 break |
|
741 fi |
|
742 done |
|
743 IFS="$ac_save_ifs" |
|
744 if test $ac_prog_rejected = yes; then |
|
745 # We found a bogon in the path, so make sure we never use it. |
|
746 set dummy $ac_cv_prog_CC |
|
747 shift |
|
748 if test $# -gt 0; then |
|
749 # We chose a different compiler from the bogus one. |
|
750 # However, it has the same basename, so the bogon will be chosen |
|
751 # first if we set CC to just the basename; use the full file name. |
|
752 shift |
|
753 set dummy "$ac_dir/$ac_word" "$@" |
|
754 shift |
|
755 ac_cv_prog_CC="$@" |
|
756 fi |
|
757 fi |
|
758 fi |
|
759 fi |
|
760 CC="$ac_cv_prog_CC" |
|
761 if test -n "$CC"; then |
|
762 echo "$ac_t""$CC" 1>&6 |
|
763 else |
|
764 echo "$ac_t""no" 1>&6 |
|
765 fi |
|
766 |
|
767 if test -z "$CC"; then |
|
768 case "`uname -s`" in |
|
769 *win32* | *WIN32*) |
|
770 # Extract the first word of "cl", so it can be a program name with args. |
|
771 set dummy cl; ac_word=$2 |
|
772 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
773 echo "configure:774: checking for $ac_word" >&5 |
|
774 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
775 echo $ac_n "(cached) $ac_c" 1>&6 |
|
776 else |
|
777 if test -n "$CC"; then |
|
778 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
779 else |
|
780 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
781 ac_dummy="$PATH" |
|
782 for ac_dir in $ac_dummy; do |
|
783 test -z "$ac_dir" && ac_dir=. |
|
784 if test -f $ac_dir/$ac_word; then |
|
785 ac_cv_prog_CC="cl" |
|
786 break |
|
787 fi |
|
788 done |
|
789 IFS="$ac_save_ifs" |
|
790 fi |
|
791 fi |
|
792 CC="$ac_cv_prog_CC" |
|
793 if test -n "$CC"; then |
|
794 echo "$ac_t""$CC" 1>&6 |
|
795 else |
|
796 echo "$ac_t""no" 1>&6 |
|
797 fi |
|
798 ;; |
|
799 esac |
|
800 fi |
|
801 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
|
802 fi |
|
803 |
|
804 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|
805 echo "configure:806: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
806 |
|
807 ac_ext=c |
|
808 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
809 ac_cpp='$CPP $CPPFLAGS' |
|
810 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
811 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
812 cross_compiling=$ac_cv_prog_cc_cross |
|
813 |
|
814 cat > conftest.$ac_ext << EOF |
|
815 |
|
816 #line 817 "configure" |
|
817 #include "confdefs.h" |
|
818 |
|
819 main(){return(0);} |
|
820 EOF |
|
821 if { (eval echo configure:822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
822 ac_cv_prog_cc_works=yes |
|
823 # If we can't run a trivial program, we are probably using a cross compiler. |
|
824 if (./conftest; exit) 2>/dev/null; then |
|
825 ac_cv_prog_cc_cross=no |
|
826 else |
|
827 ac_cv_prog_cc_cross=yes |
|
828 fi |
|
829 else |
|
830 echo "configure: failed program was:" >&5 |
|
831 cat conftest.$ac_ext >&5 |
|
832 ac_cv_prog_cc_works=no |
|
833 fi |
|
834 rm -fr conftest* |
|
835 ac_ext=c |
|
836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
837 ac_cpp='$CPP $CPPFLAGS' |
|
838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
840 cross_compiling=$ac_cv_prog_cc_cross |
|
841 |
|
842 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
|
843 if test $ac_cv_prog_cc_works = no; then |
|
844 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
|
845 fi |
|
846 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|
847 echo "configure:848: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
848 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|
849 cross_compiling=$ac_cv_prog_cc_cross |
|
850 |
|
851 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|
852 echo "configure:853: checking whether we are using GNU C" >&5 |
|
853 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|
854 echo $ac_n "(cached) $ac_c" 1>&6 |
|
855 else |
|
856 cat > conftest.c <<EOF |
|
857 #ifdef __GNUC__ |
|
858 yes; |
|
859 #endif |
|
860 EOF |
|
861 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
862 ac_cv_prog_gcc=yes |
|
863 else |
|
864 ac_cv_prog_gcc=no |
|
865 fi |
|
866 fi |
|
867 |
|
868 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
|
869 |
|
870 if test $ac_cv_prog_gcc = yes; then |
|
871 GCC=yes |
|
872 else |
|
873 GCC= |
|
874 fi |
|
875 |
|
876 ac_test_CFLAGS="${CFLAGS+set}" |
|
877 ac_save_CFLAGS="$CFLAGS" |
|
878 CFLAGS= |
|
879 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
|
880 echo "configure:881: checking whether ${CC-cc} accepts -g" >&5 |
|
881 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
|
882 echo $ac_n "(cached) $ac_c" 1>&6 |
|
883 else |
|
884 echo 'void f(){}' > conftest.c |
|
885 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
|
886 ac_cv_prog_cc_g=yes |
|
887 else |
|
888 ac_cv_prog_cc_g=no |
|
889 fi |
|
890 rm -f conftest* |
|
891 |
|
892 fi |
|
893 |
|
894 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
|
895 if test "$ac_test_CFLAGS" = set; then |
|
896 CFLAGS="$ac_save_CFLAGS" |
|
897 elif test $ac_cv_prog_cc_g = yes; then |
|
898 if test "$GCC" = yes; then |
|
899 CFLAGS="-g -O2" |
|
900 else |
|
901 CFLAGS="-g" |
|
902 fi |
|
903 else |
|
904 if test "$GCC" = yes; then |
|
905 CFLAGS="-O2" |
|
906 else |
|
907 CFLAGS= |
|
908 fi |
|
909 fi |
|
910 |
|
911 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
|
912 echo "configure:913: checking how to run the C preprocessor" >&5 |
|
913 # On Suns, sometimes $CPP names a directory. |
|
914 if test -n "$CPP" && test -d "$CPP"; then |
|
915 CPP= |
|
916 fi |
|
917 if test -z "$CPP"; then |
|
918 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
|
919 echo $ac_n "(cached) $ac_c" 1>&6 |
|
920 else |
|
921 # This must be in double quotes, not single quotes, because CPP may get |
|
922 # substituted into the Makefile and "${CC-cc}" will confuse make. |
|
923 CPP="${CC-cc} -E" |
|
924 # On the NeXT, cc -E runs the code through the compiler's parser, |
|
925 # not just through cpp. |
|
926 cat > conftest.$ac_ext <<EOF |
|
927 #line 928 "configure" |
|
928 #include "confdefs.h" |
|
929 #include <assert.h> |
|
930 Syntax Error |
|
931 EOF |
|
932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
933 { (eval echo configure:934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
935 if test -z "$ac_err"; then |
|
936 : |
|
937 else |
|
938 echo "$ac_err" >&5 |
|
939 echo "configure: failed program was:" >&5 |
|
940 cat conftest.$ac_ext >&5 |
|
941 rm -rf conftest* |
|
942 CPP="${CC-cc} -E -traditional-cpp" |
|
943 cat > conftest.$ac_ext <<EOF |
|
944 #line 945 "configure" |
|
945 #include "confdefs.h" |
|
946 #include <assert.h> |
|
947 Syntax Error |
|
948 EOF |
|
949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
950 { (eval echo configure:951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
951 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
952 if test -z "$ac_err"; then |
|
953 : |
|
954 else |
|
955 echo "$ac_err" >&5 |
|
956 echo "configure: failed program was:" >&5 |
|
957 cat conftest.$ac_ext >&5 |
|
958 rm -rf conftest* |
|
959 CPP="${CC-cc} -nologo -E" |
|
960 cat > conftest.$ac_ext <<EOF |
|
961 #line 962 "configure" |
|
962 #include "confdefs.h" |
|
963 #include <assert.h> |
|
964 Syntax Error |
|
965 EOF |
|
966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
967 { (eval echo configure:968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
968 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
969 if test -z "$ac_err"; then |
|
970 : |
|
971 else |
|
972 echo "$ac_err" >&5 |
|
973 echo "configure: failed program was:" >&5 |
|
974 cat conftest.$ac_ext >&5 |
|
975 rm -rf conftest* |
|
976 CPP=/lib/cpp |
|
977 fi |
|
978 rm -f conftest* |
|
979 fi |
|
980 rm -f conftest* |
|
981 fi |
|
982 rm -f conftest* |
|
983 ac_cv_prog_CPP="$CPP" |
|
984 fi |
|
985 CPP="$ac_cv_prog_CPP" |
|
986 else |
|
987 ac_cv_prog_CPP="$CPP" |
|
988 fi |
|
989 echo "$ac_t""$CPP" 1>&6 |
|
990 |
|
991 ac_aux_dir= |
|
992 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
|
993 if test -f $ac_dir/install-sh; then |
|
994 ac_aux_dir=$ac_dir |
|
995 ac_install_sh="$ac_aux_dir/install-sh -c" |
|
996 break |
|
997 elif test -f $ac_dir/install.sh; then |
|
998 ac_aux_dir=$ac_dir |
|
999 ac_install_sh="$ac_aux_dir/install.sh -c" |
|
1000 break |
|
1001 fi |
|
1002 done |
|
1003 if test -z "$ac_aux_dir"; then |
|
1004 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
|
1005 fi |
|
1006 ac_config_guess=$ac_aux_dir/config.guess |
|
1007 ac_config_sub=$ac_aux_dir/config.sub |
|
1008 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
|
1009 |
|
1010 # Find a good install program. We prefer a C program (faster), |
|
1011 # so one script is as good as another. But avoid the broken or |
|
1012 # incompatible versions: |
|
1013 # SysV /etc/install, /usr/sbin/install |
|
1014 # SunOS /usr/etc/install |
|
1015 # IRIX /sbin/install |
|
1016 # AIX /bin/install |
|
1017 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
1018 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
1019 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
1020 # ./install, which can be erroneously created by make from ./install.sh. |
|
1021 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
|
1022 echo "configure:1023: checking for a BSD compatible install" >&5 |
|
1023 if test -z "$INSTALL"; then |
|
1024 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
|
1025 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1026 else |
|
1027 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
|
1028 for ac_dir in $PATH; do |
|
1029 # Account for people who put trailing slashes in PATH elements. |
|
1030 case "$ac_dir/" in |
|
1031 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
|
1032 *) |
|
1033 # OSF1 and SCO ODT 3.0 have their own names for install. |
|
1034 # Don't use installbsd from OSF since it installs stuff as root |
|
1035 # by default. |
|
1036 for ac_prog in ginstall scoinst install; do |
|
1037 if test -f $ac_dir/$ac_prog; then |
|
1038 if test $ac_prog = install && |
|
1039 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
|
1040 # AIX install. It has an incompatible calling convention. |
|
1041 : |
|
1042 else |
|
1043 ac_cv_path_install="$ac_dir/$ac_prog -c" |
|
1044 break 2 |
|
1045 fi |
|
1046 fi |
|
1047 done |
|
1048 ;; |
|
1049 esac |
|
1050 done |
|
1051 IFS="$ac_save_IFS" |
|
1052 |
|
1053 fi |
|
1054 if test "${ac_cv_path_install+set}" = set; then |
|
1055 INSTALL="$ac_cv_path_install" |
|
1056 else |
|
1057 # As a last resort, use the slow shell script. We don't cache a |
|
1058 # path for INSTALL within a source directory, because that will |
|
1059 # break other packages using the cache if that directory is |
|
1060 # removed, or if the path is relative. |
|
1061 INSTALL="$ac_install_sh" |
|
1062 fi |
|
1063 fi |
|
1064 echo "$ac_t""$INSTALL" 1>&6 |
|
1065 |
|
1066 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
1067 # It thinks the first close brace ends the variable substitution. |
|
1068 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
1069 |
|
1070 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
|
1071 |
|
1072 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
1073 |
|
1074 # Extract the first word of "ranlib", so it can be a program name with args. |
|
1075 set dummy ranlib; ac_word=$2 |
|
1076 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
1077 echo "configure:1078: checking for $ac_word" >&5 |
|
1078 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
|
1079 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1080 else |
|
1081 if test -n "$RANLIB"; then |
|
1082 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
1083 else |
|
1084 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
1085 ac_dummy="$PATH" |
|
1086 for ac_dir in $ac_dummy; do |
|
1087 test -z "$ac_dir" && ac_dir=. |
|
1088 if test -f $ac_dir/$ac_word; then |
|
1089 ac_cv_prog_RANLIB="ranlib" |
|
1090 break |
|
1091 fi |
|
1092 done |
|
1093 IFS="$ac_save_ifs" |
|
1094 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
|
1095 fi |
|
1096 fi |
|
1097 RANLIB="$ac_cv_prog_RANLIB" |
|
1098 if test -n "$RANLIB"; then |
|
1099 echo "$ac_t""$RANLIB" 1>&6 |
|
1100 else |
|
1101 echo "$ac_t""no" 1>&6 |
|
1102 fi |
|
1103 |
|
1104 # Extract the first word of "ar", so it can be a program name with args. |
|
1105 set dummy ar; ac_word=$2 |
|
1106 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
1107 echo "configure:1108: checking for $ac_word" >&5 |
|
1108 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then |
|
1109 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1110 else |
|
1111 if test -n "$AR"; then |
|
1112 ac_cv_prog_AR="$AR" # Let the user override the test. |
|
1113 else |
|
1114 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
1115 ac_dummy="$PATH" |
|
1116 for ac_dir in $ac_dummy; do |
|
1117 test -z "$ac_dir" && ac_dir=. |
|
1118 if test -f $ac_dir/$ac_word; then |
|
1119 ac_cv_prog_AR="ar" |
|
1120 break |
|
1121 fi |
|
1122 done |
|
1123 IFS="$ac_save_ifs" |
|
1124 fi |
|
1125 fi |
|
1126 AR="$ac_cv_prog_AR" |
|
1127 if test -n "$AR"; then |
|
1128 echo "$ac_t""$AR" 1>&6 |
|
1129 else |
|
1130 echo "$ac_t""no" 1>&6 |
|
1131 fi |
|
1132 |
|
1133 # Extract the first word of "ld", so it can be a program name with args. |
|
1134 set dummy ld; ac_word=$2 |
|
1135 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
1136 echo "configure:1137: checking for $ac_word" >&5 |
|
1137 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then |
|
1138 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1139 else |
|
1140 if test -n "$LD"; then |
|
1141 ac_cv_prog_LD="$LD" # Let the user override the test. |
|
1142 else |
|
1143 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
1144 ac_dummy="$PATH" |
|
1145 for ac_dir in $ac_dummy; do |
|
1146 test -z "$ac_dir" && ac_dir=. |
|
1147 if test -f $ac_dir/$ac_word; then |
|
1148 ac_cv_prog_LD="ld" |
|
1149 break |
|
1150 fi |
|
1151 done |
|
1152 IFS="$ac_save_ifs" |
|
1153 fi |
|
1154 fi |
|
1155 LD="$ac_cv_prog_LD" |
|
1156 if test -n "$LD"; then |
|
1157 echo "$ac_t""$LD" 1>&6 |
|
1158 else |
|
1159 echo "$ac_t""no" 1>&6 |
|
1160 fi |
|
1161 |
|
1162 # Extract the first word of "rm", so it can be a program name with args. |
|
1163 set dummy rm; ac_word=$2 |
|
1164 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
1165 echo "configure:1166: checking for $ac_word" >&5 |
|
1166 if eval "test \"`echo '$''{'ac_cv_prog_RM'+set}'`\" = set"; then |
|
1167 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1168 else |
|
1169 if test -n "$RM"; then |
|
1170 ac_cv_prog_RM="$RM" # Let the user override the test. |
|
1171 else |
|
1172 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
1173 ac_dummy="$PATH" |
|
1174 for ac_dir in $ac_dummy; do |
|
1175 test -z "$ac_dir" && ac_dir=. |
|
1176 if test -f $ac_dir/$ac_word; then |
|
1177 ac_cv_prog_RM="rm" |
|
1178 break |
|
1179 fi |
|
1180 done |
|
1181 IFS="$ac_save_ifs" |
|
1182 fi |
|
1183 fi |
|
1184 RM="$ac_cv_prog_RM" |
|
1185 if test -n "$RM"; then |
|
1186 echo "$ac_t""$RM" 1>&6 |
|
1187 else |
|
1188 echo "$ac_t""no" 1>&6 |
|
1189 fi |
|
1190 |
|
1191 # Extract the first word of "tar", so it can be a program name with args. |
|
1192 set dummy tar; ac_word=$2 |
|
1193 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
1194 echo "configure:1195: checking for $ac_word" >&5 |
|
1195 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then |
|
1196 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1197 else |
|
1198 if test -n "$TAR"; then |
|
1199 ac_cv_prog_TAR="$TAR" # Let the user override the test. |
|
1200 else |
|
1201 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
1202 ac_dummy="$PATH" |
|
1203 for ac_dir in $ac_dummy; do |
|
1204 test -z "$ac_dir" && ac_dir=. |
|
1205 if test -f $ac_dir/$ac_word; then |
|
1206 ac_cv_prog_TAR="tar" |
|
1207 break |
|
1208 fi |
|
1209 done |
|
1210 IFS="$ac_save_ifs" |
|
1211 fi |
|
1212 fi |
|
1213 TAR="$ac_cv_prog_TAR" |
|
1214 if test -n "$TAR"; then |
|
1215 echo "$ac_t""$TAR" 1>&6 |
|
1216 else |
|
1217 echo "$ac_t""no" 1>&6 |
|
1218 fi |
|
1219 |
|
1220 |
|
1221 |
|
1222 CPPFLAGS="$CFLAGS $NSPR_CFLAGS $NSS_CFLAGS $RSA_CFLAGS $DEBUG_CFLAGS" |
|
1223 LIBS="$NSPR_LDFLAGS $LIBS" |
|
1224 |
|
1225 |
|
1226 |
|
1227 echo $ac_n "checking for PR_Init in -lnspr4""... $ac_c" 1>&6 |
|
1228 echo "configure:1229: checking for PR_Init in -lnspr4" >&5 |
|
1229 ac_lib_var=`echo nspr4'_'PR_Init | sed 'y%./+-%__p_%'` |
|
1230 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
1231 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1232 else |
|
1233 ac_save_LIBS="$LIBS" |
|
1234 LIBS="-lnspr4 $LIBS" |
|
1235 cat > conftest.$ac_ext <<EOF |
|
1236 #line 1237 "configure" |
|
1237 #include "confdefs.h" |
|
1238 /* Override any gcc2 internal prototype to avoid an error. */ |
|
1239 /* We use char because int might match the return type of a gcc2 |
|
1240 builtin and then its argument prototype would still apply. */ |
|
1241 char PR_Init(); |
|
1242 |
|
1243 int main() { |
|
1244 PR_Init() |
|
1245 ; return 0; } |
|
1246 EOF |
|
1247 if { (eval echo configure:1248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
1248 rm -rf conftest* |
|
1249 eval "ac_cv_lib_$ac_lib_var=yes" |
|
1250 else |
|
1251 echo "configure: failed program was:" >&5 |
|
1252 cat conftest.$ac_ext >&5 |
|
1253 rm -rf conftest* |
|
1254 eval "ac_cv_lib_$ac_lib_var=no" |
|
1255 fi |
|
1256 rm -f conftest* |
|
1257 LIBS="$ac_save_LIBS" |
|
1258 |
|
1259 fi |
|
1260 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|
1261 echo "$ac_t""yes" 1>&6 |
|
1262 ac_tr_lib=HAVE_LIB`echo nspr4 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
|
1263 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
|
1264 cat >> confdefs.h <<EOF |
|
1265 #define $ac_tr_lib 1 |
|
1266 EOF |
|
1267 |
|
1268 LIBS="-lnspr4 $LIBS" |
|
1269 |
|
1270 else |
|
1271 echo "$ac_t""no" 1>&6 |
|
1272 fi |
|
1273 |
|
1274 |
|
1275 for ac_hdr in nspr.h |
|
1276 do |
|
1277 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|
1278 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|
1279 echo "configure:1280: checking for $ac_hdr" >&5 |
|
1280 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
1281 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1282 else |
|
1283 cat > conftest.$ac_ext <<EOF |
|
1284 #line 1285 "configure" |
|
1285 #include "confdefs.h" |
|
1286 #include <$ac_hdr> |
|
1287 EOF |
|
1288 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
1289 { (eval echo configure:1290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
1290 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
1291 if test -z "$ac_err"; then |
|
1292 rm -rf conftest* |
|
1293 eval "ac_cv_header_$ac_safe=yes" |
|
1294 else |
|
1295 echo "$ac_err" >&5 |
|
1296 echo "configure: failed program was:" >&5 |
|
1297 cat conftest.$ac_ext >&5 |
|
1298 rm -rf conftest* |
|
1299 eval "ac_cv_header_$ac_safe=no" |
|
1300 fi |
|
1301 rm -f conftest* |
|
1302 fi |
|
1303 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
|
1304 echo "$ac_t""yes" 1>&6 |
|
1305 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
|
1306 cat >> confdefs.h <<EOF |
|
1307 #define $ac_tr_hdr 1 |
|
1308 EOF |
|
1309 |
|
1310 else |
|
1311 echo "$ac_t""no" 1>&6 |
|
1312 fi |
|
1313 done |
|
1314 |
|
1315 |
|
1316 |
|
1317 if test "x$nss" = "x1"; then |
|
1318 for ac_hdr in ck.h |
|
1319 do |
|
1320 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|
1321 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|
1322 echo "configure:1323: checking for $ac_hdr" >&5 |
|
1323 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
1324 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1325 else |
|
1326 cat > conftest.$ac_ext <<EOF |
|
1327 #line 1328 "configure" |
|
1328 #include "confdefs.h" |
|
1329 #include <$ac_hdr> |
|
1330 EOF |
|
1331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
1332 { (eval echo configure:1333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
1333 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
1334 if test -z "$ac_err"; then |
|
1335 rm -rf conftest* |
|
1336 eval "ac_cv_header_$ac_safe=yes" |
|
1337 else |
|
1338 echo "$ac_err" >&5 |
|
1339 echo "configure: failed program was:" >&5 |
|
1340 cat conftest.$ac_ext >&5 |
|
1341 rm -rf conftest* |
|
1342 eval "ac_cv_header_$ac_safe=no" |
|
1343 fi |
|
1344 rm -f conftest* |
|
1345 fi |
|
1346 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
|
1347 echo "$ac_t""yes" 1>&6 |
|
1348 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
|
1349 cat >> confdefs.h <<EOF |
|
1350 #define $ac_tr_hdr 1 |
|
1351 EOF |
|
1352 |
|
1353 else |
|
1354 echo "$ac_t""no" 1>&6 |
|
1355 fi |
|
1356 done |
|
1357 |
|
1358 fi |
|
1359 |
|
1360 if test "x$rsa" = "x1"; then |
|
1361 for ac_hdr in pkcs11t.h pkcs11.h |
|
1362 do |
|
1363 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|
1364 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|
1365 echo "configure:1366: checking for $ac_hdr" >&5 |
|
1366 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
1367 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1368 else |
|
1369 cat > conftest.$ac_ext <<EOF |
|
1370 #line 1371 "configure" |
|
1371 #include "confdefs.h" |
|
1372 #include <$ac_hdr> |
|
1373 EOF |
|
1374 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
1375 { (eval echo configure:1376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
1376 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
1377 if test -z "$ac_err"; then |
|
1378 rm -rf conftest* |
|
1379 eval "ac_cv_header_$ac_safe=yes" |
|
1380 else |
|
1381 echo "$ac_err" >&5 |
|
1382 echo "configure: failed program was:" >&5 |
|
1383 cat conftest.$ac_ext >&5 |
|
1384 rm -rf conftest* |
|
1385 eval "ac_cv_header_$ac_safe=no" |
|
1386 fi |
|
1387 rm -f conftest* |
|
1388 fi |
|
1389 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
|
1390 echo "$ac_t""yes" 1>&6 |
|
1391 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
|
1392 cat >> confdefs.h <<EOF |
|
1393 #define $ac_tr_hdr 1 |
|
1394 EOF |
|
1395 |
|
1396 else |
|
1397 echo "$ac_t""no" 1>&6 |
|
1398 fi |
|
1399 done |
|
1400 |
|
1401 fi |
|
1402 |
|
1403 |
|
1404 |
|
1405 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
|
1406 echo "configure:1407: checking for working const" >&5 |
|
1407 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
|
1408 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1409 else |
|
1410 cat > conftest.$ac_ext <<EOF |
|
1411 #line 1412 "configure" |
|
1412 #include "confdefs.h" |
|
1413 |
|
1414 int main() { |
|
1415 |
|
1416 /* Ultrix mips cc rejects this. */ |
|
1417 typedef int charset[2]; const charset x; |
|
1418 /* SunOS 4.1.1 cc rejects this. */ |
|
1419 char const *const *ccp; |
|
1420 char **p; |
|
1421 /* NEC SVR4.0.2 mips cc rejects this. */ |
|
1422 struct point {int x, y;}; |
|
1423 static struct point const zero = {0,0}; |
|
1424 /* AIX XL C 1.02.0.0 rejects this. |
|
1425 It does not let you subtract one const X* pointer from another in an arm |
|
1426 of an if-expression whose if-part is not a constant expression */ |
|
1427 const char *g = "string"; |
|
1428 ccp = &g + (g ? g-g : 0); |
|
1429 /* HPUX 7.0 cc rejects these. */ |
|
1430 ++ccp; |
|
1431 p = (char**) ccp; |
|
1432 ccp = (char const *const *) p; |
|
1433 { /* SCO 3.2v4 cc rejects this. */ |
|
1434 char *t; |
|
1435 char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
1436 |
|
1437 *t++ = 0; |
|
1438 } |
|
1439 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
1440 int x[] = {25, 17}; |
|
1441 const int *foo = &x[0]; |
|
1442 ++foo; |
|
1443 } |
|
1444 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
1445 typedef const int *iptr; |
|
1446 iptr p = 0; |
|
1447 ++p; |
|
1448 } |
|
1449 { /* AIX XL C 1.02.0.0 rejects this saying |
|
1450 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
1451 struct s { int j; const int *ap[3]; }; |
|
1452 struct s *b; b->j = 5; |
|
1453 } |
|
1454 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
1455 const int foo = 10; |
|
1456 } |
|
1457 |
|
1458 ; return 0; } |
|
1459 EOF |
|
1460 if { (eval echo configure:1461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
1461 rm -rf conftest* |
|
1462 ac_cv_c_const=yes |
|
1463 else |
|
1464 echo "configure: failed program was:" >&5 |
|
1465 cat conftest.$ac_ext >&5 |
|
1466 rm -rf conftest* |
|
1467 ac_cv_c_const=no |
|
1468 fi |
|
1469 rm -f conftest* |
|
1470 fi |
|
1471 |
|
1472 echo "$ac_t""$ac_cv_c_const" 1>&6 |
|
1473 if test $ac_cv_c_const = no; then |
|
1474 cat >> confdefs.h <<\EOF |
|
1475 #define const |
|
1476 EOF |
|
1477 |
|
1478 fi |
|
1479 |
|
1480 |
|
1481 |
|
1482 for ac_func in memset strlen |
|
1483 do |
|
1484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|
1485 echo "configure:1486: checking for $ac_func" >&5 |
|
1486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|
1487 echo $ac_n "(cached) $ac_c" 1>&6 |
|
1488 else |
|
1489 cat > conftest.$ac_ext <<EOF |
|
1490 #line 1491 "configure" |
|
1491 #include "confdefs.h" |
|
1492 /* System header to define __stub macros and hopefully few prototypes, |
|
1493 which can conflict with char $ac_func(); below. */ |
|
1494 #include <assert.h> |
|
1495 /* Override any gcc2 internal prototype to avoid an error. */ |
|
1496 /* We use char because int might match the return type of a gcc2 |
|
1497 builtin and then its argument prototype would still apply. */ |
|
1498 char $ac_func(); |
|
1499 |
|
1500 int main() { |
|
1501 |
|
1502 /* The GNU C library defines this for functions which it implements |
|
1503 to always fail with ENOSYS. Some functions are actually named |
|
1504 something starting with __ and the normal name is an alias. */ |
|
1505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
1506 choke me |
|
1507 #else |
|
1508 $ac_func(); |
|
1509 #endif |
|
1510 |
|
1511 ; return 0; } |
|
1512 EOF |
|
1513 if { (eval echo configure:1514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
1514 rm -rf conftest* |
|
1515 eval "ac_cv_func_$ac_func=yes" |
|
1516 else |
|
1517 echo "configure: failed program was:" >&5 |
|
1518 cat conftest.$ac_ext >&5 |
|
1519 rm -rf conftest* |
|
1520 eval "ac_cv_func_$ac_func=no" |
|
1521 fi |
|
1522 rm -f conftest* |
|
1523 fi |
|
1524 |
|
1525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
1526 echo "$ac_t""yes" 1>&6 |
|
1527 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
1528 cat >> confdefs.h <<EOF |
|
1529 #define $ac_tr_func 1 |
|
1530 EOF |
|
1531 |
|
1532 else |
|
1533 echo "$ac_t""no" 1>&6 |
|
1534 fi |
|
1535 done |
|
1536 |
|
1537 |
|
1538 trap '' 1 2 15 |
|
1539 cat > confcache <<\EOF |
|
1540 # This file is a shell script that caches the results of configure |
|
1541 # tests run on this system so they can be shared between configure |
|
1542 # scripts and configure runs. It is not useful on other systems. |
|
1543 # If it contains results you don't want to keep, you may remove or edit it. |
|
1544 # |
|
1545 # By default, configure uses ./config.cache as the cache file, |
|
1546 # creating it if it does not exist already. You can give configure |
|
1547 # the --cache-file=FILE option to use a different cache file; that is |
|
1548 # what configure does when it calls configure scripts in |
|
1549 # subdirectories, so they share the cache. |
|
1550 # Giving --cache-file=/dev/null disables caching, for debugging configure. |
|
1551 # config.status only pays attention to the cache file if you give it the |
|
1552 # --recheck option to rerun configure. |
|
1553 # |
|
1554 EOF |
|
1555 # The following way of writing the cache mishandles newlines in values, |
|
1556 # but we know of no workaround that is simple, portable, and efficient. |
|
1557 # So, don't put newlines in cache variables' values. |
|
1558 # Ultrix sh set writes to stderr and can't be redirected directly, |
|
1559 # and sets the high bit in the cache file unless we assign to the vars. |
|
1560 (set) 2>&1 | |
|
1561 case `(ac_space=' '; set | grep ac_space) 2>&1` in |
|
1562 *ac_space=\ *) |
|
1563 # `set' does not quote correctly, so add quotes (double-quote substitution |
|
1564 # turns \\\\ into \\, and sed turns \\ into \). |
|
1565 sed -n \ |
|
1566 -e "s/'/'\\\\''/g" \ |
|
1567 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
|
1568 ;; |
|
1569 *) |
|
1570 # `set' quotes correctly as required by POSIX, so do not add quotes. |
|
1571 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
|
1572 ;; |
|
1573 esac >> confcache |
|
1574 if cmp -s $cache_file confcache; then |
|
1575 : |
|
1576 else |
|
1577 if test -w $cache_file; then |
|
1578 echo "updating cache $cache_file" |
|
1579 cat confcache > $cache_file |
|
1580 else |
|
1581 echo "not updating unwritable cache $cache_file" |
|
1582 fi |
|
1583 fi |
|
1584 rm -f confcache |
|
1585 |
|
1586 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
1587 |
|
1588 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
1589 # Let make expand exec_prefix. |
|
1590 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
1591 |
|
1592 # Any assignment to VPATH causes Sun make to only execute |
|
1593 # the first set of double-colon rules, so remove it if not needed. |
|
1594 # If there is a colon in the path, we need to keep it. |
|
1595 if test "x$srcdir" = x.; then |
|
1596 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
|
1597 fi |
|
1598 |
|
1599 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
|
1600 |
|
1601 DEFS=-DHAVE_CONFIG_H |
|
1602 |
|
1603 # Without the "./", some shells look in PATH for config.status. |
|
1604 : ${CONFIG_STATUS=./config.status} |
|
1605 |
|
1606 echo creating $CONFIG_STATUS |
|
1607 rm -f $CONFIG_STATUS |
|
1608 cat > $CONFIG_STATUS <<EOF |
|
1609 #! /bin/sh |
|
1610 # Generated automatically by configure. |
|
1611 # Run this file to recreate the current configuration. |
|
1612 # This directory was configured as follows, |
|
1613 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
1614 # |
|
1615 # $0 $ac_configure_args |
|
1616 # |
|
1617 # Compiler output produced by configure, useful for debugging |
|
1618 # configure, is in ./config.log if it exists. |
|
1619 |
|
1620 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
|
1621 for ac_option |
|
1622 do |
|
1623 case "\$ac_option" in |
|
1624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
1625 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
|
1626 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
|
1627 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
|
1628 echo "$CONFIG_STATUS generated by autoconf version 2.13" |
|
1629 exit 0 ;; |
|
1630 -help | --help | --hel | --he | --h) |
|
1631 echo "\$ac_cs_usage"; exit 0 ;; |
|
1632 *) echo "\$ac_cs_usage"; exit 1 ;; |
|
1633 esac |
|
1634 done |
|
1635 |
|
1636 ac_given_srcdir=$srcdir |
|
1637 ac_given_INSTALL="$INSTALL" |
|
1638 |
|
1639 trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
|
1640 EOF |
|
1641 cat >> $CONFIG_STATUS <<EOF |
|
1642 |
|
1643 # Protect against being on the right side of a sed subst in config.status. |
|
1644 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
|
1645 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
|
1646 $ac_vpsub |
|
1647 $extrasub |
|
1648 s%@SHELL@%$SHELL%g |
|
1649 s%@CFLAGS@%$CFLAGS%g |
|
1650 s%@CPPFLAGS@%$CPPFLAGS%g |
|
1651 s%@CXXFLAGS@%$CXXFLAGS%g |
|
1652 s%@FFLAGS@%$FFLAGS%g |
|
1653 s%@DEFS@%$DEFS%g |
|
1654 s%@LDFLAGS@%$LDFLAGS%g |
|
1655 s%@LIBS@%$LIBS%g |
|
1656 s%@exec_prefix@%$exec_prefix%g |
|
1657 s%@prefix@%$prefix%g |
|
1658 s%@program_transform_name@%$program_transform_name%g |
|
1659 s%@bindir@%$bindir%g |
|
1660 s%@sbindir@%$sbindir%g |
|
1661 s%@libexecdir@%$libexecdir%g |
|
1662 s%@datadir@%$datadir%g |
|
1663 s%@sysconfdir@%$sysconfdir%g |
|
1664 s%@sharedstatedir@%$sharedstatedir%g |
|
1665 s%@localstatedir@%$localstatedir%g |
|
1666 s%@libdir@%$libdir%g |
|
1667 s%@includedir@%$includedir%g |
|
1668 s%@oldincludedir@%$oldincludedir%g |
|
1669 s%@infodir@%$infodir%g |
|
1670 s%@mandir@%$mandir%g |
|
1671 s%@SET_MAKE@%$SET_MAKE%g |
|
1672 s%@WITH_NSS@%$WITH_NSS%g |
|
1673 s%@CC@%$CC%g |
|
1674 s%@CPP@%$CPP%g |
|
1675 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
|
1676 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
|
1677 s%@INSTALL_DATA@%$INSTALL_DATA%g |
|
1678 s%@RANLIB@%$RANLIB%g |
|
1679 s%@AR@%$AR%g |
|
1680 s%@LD@%$LD%g |
|
1681 s%@RM@%$RM%g |
|
1682 s%@TAR@%$TAR%g |
|
1683 s%@CC INSTALL RANLIB AR LD RM TAR@%$CC INSTALL RANLIB AR LD RM TAR%g |
|
1684 s%@HAVE_NSPR_H@%$HAVE_NSPR_H%g |
|
1685 s%@HAVE_CK_H HAVE_PKCS11T_H HAVE_PKCS11_H@%$HAVE_CK_H HAVE_PKCS11T_H HAVE_PKCS11_H%g |
|
1686 s%@const@%$const%g |
|
1687 s%@HAVE_MEMSET HAVE_STRLEN@%$HAVE_MEMSET HAVE_STRLEN%g |
|
1688 |
|
1689 CEOF |
|
1690 EOF |
|
1691 |
|
1692 cat >> $CONFIG_STATUS <<\EOF |
|
1693 |
|
1694 # Split the substitutions into bite-sized pieces for seds with |
|
1695 # small command number limits, like on Digital OSF/1 and HP-UX. |
|
1696 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
|
1697 ac_file=1 # Number of current file. |
|
1698 ac_beg=1 # First line for current file. |
|
1699 ac_end=$ac_max_sed_cmds # Line after last line for current file. |
|
1700 ac_more_lines=: |
|
1701 ac_sed_cmds="" |
|
1702 while $ac_more_lines; do |
|
1703 if test $ac_beg -gt 1; then |
|
1704 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
|
1705 else |
|
1706 sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
|
1707 fi |
|
1708 if test ! -s conftest.s$ac_file; then |
|
1709 ac_more_lines=false |
|
1710 rm -f conftest.s$ac_file |
|
1711 else |
|
1712 if test -z "$ac_sed_cmds"; then |
|
1713 ac_sed_cmds="sed -f conftest.s$ac_file" |
|
1714 else |
|
1715 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
|
1716 fi |
|
1717 ac_file=`expr $ac_file + 1` |
|
1718 ac_beg=$ac_end |
|
1719 ac_end=`expr $ac_end + $ac_max_sed_cmds` |
|
1720 fi |
|
1721 done |
|
1722 if test -z "$ac_sed_cmds"; then |
|
1723 ac_sed_cmds=cat |
|
1724 fi |
|
1725 EOF |
|
1726 |
|
1727 cat >> $CONFIG_STATUS <<EOF |
|
1728 |
|
1729 CONFIG_FILES=\${CONFIG_FILES-"Makefile"} |
|
1730 EOF |
|
1731 cat >> $CONFIG_STATUS <<\EOF |
|
1732 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
|
1733 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
1734 case "$ac_file" in |
|
1735 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
|
1736 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
|
1737 *) ac_file_in="${ac_file}.in" ;; |
|
1738 esac |
|
1739 |
|
1740 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
|
1741 |
|
1742 # Remove last slash and all that follows it. Not all systems have dirname. |
|
1743 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
|
1744 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
|
1745 # The file is in a subdirectory. |
|
1746 test ! -d "$ac_dir" && mkdir "$ac_dir" |
|
1747 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
|
1748 # A "../" for each directory in $ac_dir_suffix. |
|
1749 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
|
1750 else |
|
1751 ac_dir_suffix= ac_dots= |
|
1752 fi |
|
1753 |
|
1754 case "$ac_given_srcdir" in |
|
1755 .) srcdir=. |
|
1756 if test -z "$ac_dots"; then top_srcdir=. |
|
1757 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
|
1758 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
|
1759 *) # Relative path. |
|
1760 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
|
1761 top_srcdir="$ac_dots$ac_given_srcdir" ;; |
|
1762 esac |
|
1763 |
|
1764 case "$ac_given_INSTALL" in |
|
1765 [/$]*) INSTALL="$ac_given_INSTALL" ;; |
|
1766 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
|
1767 esac |
|
1768 |
|
1769 echo creating "$ac_file" |
|
1770 rm -f "$ac_file" |
|
1771 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
|
1772 case "$ac_file" in |
|
1773 *Makefile*) ac_comsub="1i\\ |
|
1774 # $configure_input" ;; |
|
1775 *) ac_comsub= ;; |
|
1776 esac |
|
1777 |
|
1778 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
|
1779 sed -e "$ac_comsub |
|
1780 s%@configure_input@%$configure_input%g |
|
1781 s%@srcdir@%$srcdir%g |
|
1782 s%@top_srcdir@%$top_srcdir%g |
|
1783 s%@INSTALL@%$INSTALL%g |
|
1784 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
|
1785 fi; done |
|
1786 rm -f conftest.s* |
|
1787 |
|
1788 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
|
1789 # NAME is the cpp macro being defined and VALUE is the value it is being given. |
|
1790 # |
|
1791 # ac_d sets the value in "#define NAME VALUE" lines. |
|
1792 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
|
1793 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
|
1794 ac_dC='\3' |
|
1795 ac_dD='%g' |
|
1796 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
|
1797 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
|
1798 ac_uB='\([ ]\)%\1#\2define\3' |
|
1799 ac_uC=' ' |
|
1800 ac_uD='\4%g' |
|
1801 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
|
1802 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
|
1803 ac_eB='$%\1#\2define\3' |
|
1804 ac_eC=' ' |
|
1805 ac_eD='%g' |
|
1806 |
|
1807 if test "${CONFIG_HEADERS+set}" != set; then |
|
1808 EOF |
|
1809 cat >> $CONFIG_STATUS <<EOF |
|
1810 CONFIG_HEADERS="config.h" |
|
1811 EOF |
|
1812 cat >> $CONFIG_STATUS <<\EOF |
|
1813 fi |
|
1814 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
|
1815 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
1816 case "$ac_file" in |
|
1817 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
|
1818 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
|
1819 *) ac_file_in="${ac_file}.in" ;; |
|
1820 esac |
|
1821 |
|
1822 echo creating $ac_file |
|
1823 |
|
1824 rm -f conftest.frag conftest.in conftest.out |
|
1825 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
|
1826 cat $ac_file_inputs > conftest.in |
|
1827 |
|
1828 EOF |
|
1829 |
|
1830 # Transform confdefs.h into a sed script conftest.vals that substitutes |
|
1831 # the proper values into config.h.in to produce config.h. And first: |
|
1832 # Protect against being on the right side of a sed subst in config.status. |
|
1833 # Protect against being in an unquoted here document in config.status. |
|
1834 rm -f conftest.vals |
|
1835 cat > conftest.hdr <<\EOF |
|
1836 s/[\\&%]/\\&/g |
|
1837 s%[\\$`]%\\&%g |
|
1838 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |
|
1839 s%ac_d%ac_u%gp |
|
1840 s%ac_u%ac_e%gp |
|
1841 EOF |
|
1842 sed -n -f conftest.hdr confdefs.h > conftest.vals |
|
1843 rm -f conftest.hdr |
|
1844 |
|
1845 # This sed command replaces #undef with comments. This is necessary, for |
|
1846 # example, in the case of _POSIX_SOURCE, which is predefined and required |
|
1847 # on some systems where configure will not decide to define it. |
|
1848 cat >> conftest.vals <<\EOF |
|
1849 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
|
1850 EOF |
|
1851 |
|
1852 # Break up conftest.vals because some shells have a limit on |
|
1853 # the size of here documents, and old seds have small limits too. |
|
1854 |
|
1855 rm -f conftest.tail |
|
1856 while : |
|
1857 do |
|
1858 ac_lines=`grep -c . conftest.vals` |
|
1859 # grep -c gives empty output for an empty file on some AIX systems. |
|
1860 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
|
1861 # Write a limited-size here document to conftest.frag. |
|
1862 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
|
1863 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
|
1864 echo 'CEOF |
|
1865 sed -f conftest.frag conftest.in > conftest.out |
|
1866 rm -f conftest.in |
|
1867 mv conftest.out conftest.in |
|
1868 ' >> $CONFIG_STATUS |
|
1869 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
|
1870 rm -f conftest.vals |
|
1871 mv conftest.tail conftest.vals |
|
1872 done |
|
1873 rm -f conftest.vals |
|
1874 |
|
1875 cat >> $CONFIG_STATUS <<\EOF |
|
1876 rm -f conftest.frag conftest.h |
|
1877 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
|
1878 cat conftest.in >> conftest.h |
|
1879 rm -f conftest.in |
|
1880 if cmp -s $ac_file conftest.h 2>/dev/null; then |
|
1881 echo "$ac_file is unchanged" |
|
1882 rm -f conftest.h |
|
1883 else |
|
1884 # Remove last slash and all that follows it. Not all systems have dirname. |
|
1885 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
|
1886 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
|
1887 # The file is in a subdirectory. |
|
1888 test ! -d "$ac_dir" && mkdir "$ac_dir" |
|
1889 fi |
|
1890 rm -f $ac_file |
|
1891 mv conftest.h $ac_file |
|
1892 fi |
|
1893 fi; done |
|
1894 |
|
1895 EOF |
|
1896 cat >> $CONFIG_STATUS <<EOF |
|
1897 |
|
1898 EOF |
|
1899 cat >> $CONFIG_STATUS <<\EOF |
|
1900 echo timestamp > stamp-h |
|
1901 exit 0 |
|
1902 EOF |
|
1903 chmod +x $CONFIG_STATUS |
|
1904 rm -fr confdefs* $ac_clean_files |
|
1905 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
|
1906 |