source: Sophya/trunk/ArchTOIPipe/configure@ 1793

Last change on this file since 1793 was 1788, checked in by aubourg, 24 years ago

darwin

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