Develop and Download Open Source Software

Browse CVS Repository

Contents of /satellite/satellite2/src/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Fri Mar 26 14:57:14 2004 UTC (20 years ago) by orrisroot
Branch: MAIN, satellite2
CVS Tags: RELEASE_2_95, first, HEAD
Changes since 1.1: +0 -0 lines
Import satellite version 2.9x sources and documents into CVS.

1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53.
4 #
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9
10 if expr a : '\(a\)' >/dev/null 2>&1; then
11 as_expr=expr
12 else
13 as_expr=false
14 fi
15
16
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
20
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 emulate sh
24 NULLCMD=:
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 set -o posix
27 fi
28
29 # NLS nuisances.
30 # Support unset when possible.
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 as_unset=unset
33 else
34 as_unset=false
35 fi
36
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
61
62
63 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
69 echo X/"$0" |
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
73 s/.*/./; q'`
74
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
82
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
87 chmod +x conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89 PATH_SEPARATOR=';'
90 else
91 PATH_SEPARATOR=:
92 fi
93 rm -f conftest.sh
94 fi
95
96
97 as_lineno_1=$LINENO
98 as_lineno_2=$LINENO
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
103 # relative or not.
104 case $0 in
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107 for as_dir in $PATH
108 do
109 IFS=$as_save_IFS
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 done
113
114 ;;
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119 as_myself=$0
120 fi
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
124 fi
125 case $CONFIG_SHELL in
126 '')
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129 do
130 IFS=$as_save_IFS
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
133 case $as_dir in
134 /*)
135 if ("$as_dir/$as_base" -c '
136 as_lineno_1=$LINENO
137 as_lineno_2=$LINENO
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
142 export CONFIG_SHELL
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144 fi;;
145 esac
146 done
147 done
148 ;;
149 esac
150
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
160 sed '
161 N
162 s,$,-,
163 : loop
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165 t loop
166 s,-$,,
167 s,^['$as_cr_digits']*\n,,
168 ' >$as_me.lineno &&
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
172
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
176 . ./$as_me.lineno
177 # Exit status is that of the last command.
178 exit
179 }
180
181
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
184 ' ECHO_T=' ' ;;
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
187 esac
188
189 if expr a : '\(a\)' >/dev/null 2>&1; then
190 as_expr=expr
191 else
192 as_expr=false
193 fi
194
195 rm -f conf$$ conf$$.exe conf$$.file
196 echo >conf$$.file
197 if ln -s conf$$.file conf$$ 2>/dev/null; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe; then
201 # Don't use ln at all; we don't have any links
202 as_ln_s='cp -p'
203 else
204 as_ln_s='ln -s'
205 fi
206 elif ln conf$$.file conf$$ 2>/dev/null; then
207 as_ln_s=ln
208 else
209 as_ln_s='cp -p'
210 fi
211 rm -f conf$$ conf$$.exe conf$$.file
212
213 as_executable_p="test -f"
214
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
217
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
220
221
222 # IFS
223 # We need space, tab and new line, in precisely that order.
224 as_nl='
225 '
226 IFS=" $as_nl"
227
228 # CDPATH.
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230
231
232 # Name of the host.
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
236
237 exec 6>&1
238
239 #
240 # Initializations.
241 #
242 ac_default_prefix=/usr/local
243 cross_compiling=no
244 subdirs=
245 MFLAGS=
246 MAKEFLAGS=
247 SHELL=${CONFIG_SHELL-/bin/sh}
248
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
253
254 # Identity of this package.
255 PACKAGE_NAME=
256 PACKAGE_TARNAME=
257 PACKAGE_VERSION=
258 PACKAGE_STRING=
259 PACKAGE_BUGREPORT=
260
261 ac_default_prefix=/usr/local/satellite
262 ac_subdirs_all="$ac_subdirs_all include lib shell system util gpm bm rc xcut"
263 ac_subdirs_all="$ac_subdirs_all ispp"
264 ac_subdirs_all="$ac_subdirs_all bps"
265 ac_subdirs_all="$ac_subdirs_all npe"
266 ac_subdirs_all="$ac_subdirs_all ncs"
267 ac_subdirs_all="$ac_subdirs_all dcm"
268
269 # Initialize some variables set by options.
270 ac_init_help=
271 ac_init_version=false
272 # The variables have the same names as the options, with
273 # dashes changed to underlines.
274 cache_file=/dev/null
275 exec_prefix=NONE
276 no_create=
277 no_recursion=
278 prefix=NONE
279 program_prefix=NONE
280 program_suffix=NONE
281 program_transform_name=s,x,x,
282 silent=
283 site=
284 srcdir=
285 verbose=
286 x_includes=NONE
287 x_libraries=NONE
288
289 # Installation directory options.
290 # These are left unexpanded so users can "make install exec_prefix=/foo"
291 # and all the variables that are supposed to be based on exec_prefix
292 # by default will actually change.
293 # Use braces instead of parens because sh, perl, etc. also accept them.
294 bindir='${exec_prefix}/bin'
295 sbindir='${exec_prefix}/sbin'
296 libexecdir='${exec_prefix}/libexec'
297 datadir='${prefix}/share'
298 sysconfdir='${prefix}/etc'
299 sharedstatedir='${prefix}/com'
300 localstatedir='${prefix}/var'
301 libdir='${exec_prefix}/lib'
302 includedir='${prefix}/include'
303 oldincludedir='/usr/include'
304 infodir='${prefix}/info'
305 mandir='${prefix}/man'
306
307 ac_prev=
308 for ac_option
309 do
310 # If the previous option needs an argument, assign it.
311 if test -n "$ac_prev"; then
312 eval "$ac_prev=\$ac_option"
313 ac_prev=
314 continue
315 fi
316
317 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
318
319 # Accept the important Cygnus configure options, so we can diagnose typos.
320
321 case $ac_option in
322
323 -bindir | --bindir | --bindi | --bind | --bin | --bi)
324 ac_prev=bindir ;;
325 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
326 bindir=$ac_optarg ;;
327
328 -build | --build | --buil | --bui | --bu)
329 ac_prev=build_alias ;;
330 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
331 build_alias=$ac_optarg ;;
332
333 -cache-file | --cache-file | --cache-fil | --cache-fi \
334 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
335 ac_prev=cache_file ;;
336 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
337 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
338 cache_file=$ac_optarg ;;
339
340 --config-cache | -C)
341 cache_file=config.cache ;;
342
343 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
344 ac_prev=datadir ;;
345 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
346 | --da=*)
347 datadir=$ac_optarg ;;
348
349 -disable-* | --disable-*)
350 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
351 # Reject names that are not valid shell variable names.
352 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
353 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
354 { (exit 1); exit 1; }; }
355 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
356 eval "enable_$ac_feature=no" ;;
357
358 -enable-* | --enable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 case $ac_option in
366 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
367 *) ac_optarg=yes ;;
368 esac
369 eval "enable_$ac_feature='$ac_optarg'" ;;
370
371 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
372 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
373 | --exec | --exe | --ex)
374 ac_prev=exec_prefix ;;
375 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
376 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
377 | --exec=* | --exe=* | --ex=*)
378 exec_prefix=$ac_optarg ;;
379
380 -gas | --gas | --ga | --g)
381 # Obsolete; use --with-gas.
382 with_gas=yes ;;
383
384 -help | --help | --hel | --he | -h)
385 ac_init_help=long ;;
386 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
387 ac_init_help=recursive ;;
388 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
389 ac_init_help=short ;;
390
391 -host | --host | --hos | --ho)
392 ac_prev=host_alias ;;
393 -host=* | --host=* | --hos=* | --ho=*)
394 host_alias=$ac_optarg ;;
395
396 -includedir | --includedir | --includedi | --included | --include \
397 | --includ | --inclu | --incl | --inc)
398 ac_prev=includedir ;;
399 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
400 | --includ=* | --inclu=* | --incl=* | --inc=*)
401 includedir=$ac_optarg ;;
402
403 -infodir | --infodir | --infodi | --infod | --info | --inf)
404 ac_prev=infodir ;;
405 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
406 infodir=$ac_optarg ;;
407
408 -libdir | --libdir | --libdi | --libd)
409 ac_prev=libdir ;;
410 -libdir=* | --libdir=* | --libdi=* | --libd=*)
411 libdir=$ac_optarg ;;
412
413 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
414 | --libexe | --libex | --libe)
415 ac_prev=libexecdir ;;
416 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
417 | --libexe=* | --libex=* | --libe=*)
418 libexecdir=$ac_optarg ;;
419
420 -localstatedir | --localstatedir | --localstatedi | --localstated \
421 | --localstate | --localstat | --localsta | --localst \
422 | --locals | --local | --loca | --loc | --lo)
423 ac_prev=localstatedir ;;
424 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
425 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
426 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
427 localstatedir=$ac_optarg ;;
428
429 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
430 ac_prev=mandir ;;
431 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
432 mandir=$ac_optarg ;;
433
434 -nfp | --nfp | --nf)
435 # Obsolete; use --without-fp.
436 with_fp=no ;;
437
438 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
439 | --no-cr | --no-c | -n)
440 no_create=yes ;;
441
442 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
443 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
444 no_recursion=yes ;;
445
446 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
447 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
448 | --oldin | --oldi | --old | --ol | --o)
449 ac_prev=oldincludedir ;;
450 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
451 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
452 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
453 oldincludedir=$ac_optarg ;;
454
455 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
456 ac_prev=prefix ;;
457 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
458 prefix=$ac_optarg ;;
459
460 -program-prefix | --program-prefix | --program-prefi | --program-pref \
461 | --program-pre | --program-pr | --program-p)
462 ac_prev=program_prefix ;;
463 -program-prefix=* | --program-prefix=* | --program-prefi=* \
464 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
465 program_prefix=$ac_optarg ;;
466
467 -program-suffix | --program-suffix | --program-suffi | --program-suff \
468 | --program-suf | --program-su | --program-s)
469 ac_prev=program_suffix ;;
470 -program-suffix=* | --program-suffix=* | --program-suffi=* \
471 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
472 program_suffix=$ac_optarg ;;
473
474 -program-transform-name | --program-transform-name \
475 | --program-transform-nam | --program-transform-na \
476 | --program-transform-n | --program-transform- \
477 | --program-transform | --program-transfor \
478 | --program-transfo | --program-transf \
479 | --program-trans | --program-tran \
480 | --progr-tra | --program-tr | --program-t)
481 ac_prev=program_transform_name ;;
482 -program-transform-name=* | --program-transform-name=* \
483 | --program-transform-nam=* | --program-transform-na=* \
484 | --program-transform-n=* | --program-transform-=* \
485 | --program-transform=* | --program-transfor=* \
486 | --program-transfo=* | --program-transf=* \
487 | --program-trans=* | --program-tran=* \
488 | --progr-tra=* | --program-tr=* | --program-t=*)
489 program_transform_name=$ac_optarg ;;
490
491 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
492 | -silent | --silent | --silen | --sile | --sil)
493 silent=yes ;;
494
495 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
496 ac_prev=sbindir ;;
497 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
498 | --sbi=* | --sb=*)
499 sbindir=$ac_optarg ;;
500
501 -sharedstatedir | --sharedstatedir | --sharedstatedi \
502 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
503 | --sharedst | --shareds | --shared | --share | --shar \
504 | --sha | --sh)
505 ac_prev=sharedstatedir ;;
506 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
507 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
508 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
509 | --sha=* | --sh=*)
510 sharedstatedir=$ac_optarg ;;
511
512 -site | --site | --sit)
513 ac_prev=site ;;
514 -site=* | --site=* | --sit=*)
515 site=$ac_optarg ;;
516
517 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
518 ac_prev=srcdir ;;
519 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
520 srcdir=$ac_optarg ;;
521
522 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
523 | --syscon | --sysco | --sysc | --sys | --sy)
524 ac_prev=sysconfdir ;;
525 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
526 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
527 sysconfdir=$ac_optarg ;;
528
529 -target | --target | --targe | --targ | --tar | --ta | --t)
530 ac_prev=target_alias ;;
531 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
532 target_alias=$ac_optarg ;;
533
534 -v | -verbose | --verbose | --verbos | --verbo | --verb)
535 verbose=yes ;;
536
537 -version | --version | --versio | --versi | --vers | -V)
538 ac_init_version=: ;;
539
540 -with-* | --with-*)
541 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
542 # Reject names that are not valid shell variable names.
543 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
544 { echo "$as_me: error: invalid package name: $ac_package" >&2
545 { (exit 1); exit 1; }; }
546 ac_package=`echo $ac_package| sed 's/-/_/g'`
547 case $ac_option in
548 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
549 *) ac_optarg=yes ;;
550 esac
551 eval "with_$ac_package='$ac_optarg'" ;;
552
553 -without-* | --without-*)
554 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid package name: $ac_package" >&2
558 { (exit 1); exit 1; }; }
559 ac_package=`echo $ac_package | sed 's/-/_/g'`
560 eval "with_$ac_package=no" ;;
561
562 --x)
563 # Obsolete; use --with-x.
564 with_x=yes ;;
565
566 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
567 | --x-incl | --x-inc | --x-in | --x-i)
568 ac_prev=x_includes ;;
569 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
570 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
571 x_includes=$ac_optarg ;;
572
573 -x-libraries | --x-libraries | --x-librarie | --x-librari \
574 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
575 ac_prev=x_libraries ;;
576 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
577 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
578 x_libraries=$ac_optarg ;;
579
580 -*) { echo "$as_me: error: unrecognized option: $ac_option
581 Try \`$0 --help' for more information." >&2
582 { (exit 1); exit 1; }; }
583 ;;
584
585 *=*)
586 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
590 { (exit 1); exit 1; }; }
591 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
592 eval "$ac_envvar='$ac_optarg'"
593 export $ac_envvar ;;
594
595 *)
596 # FIXME: should be removed in autoconf 3.0.
597 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
598 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
599 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
600 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
601 ;;
602
603 esac
604 done
605
606 if test -n "$ac_prev"; then
607 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
608 { echo "$as_me: error: missing argument to $ac_option" >&2
609 { (exit 1); exit 1; }; }
610 fi
611
612 # Be sure to have absolute paths.
613 for ac_var in exec_prefix prefix
614 do
615 eval ac_val=$`echo $ac_var`
616 case $ac_val in
617 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
618 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
619 { (exit 1); exit 1; }; };;
620 esac
621 done
622
623 # Be sure to have absolute paths.
624 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
625 localstatedir libdir includedir oldincludedir infodir mandir
626 do
627 eval ac_val=$`echo $ac_var`
628 case $ac_val in
629 [\\/$]* | ?:[\\/]* ) ;;
630 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
631 { (exit 1); exit 1; }; };;
632 esac
633 done
634
635 # There might be people who depend on the old broken behavior: `$host'
636 # used to hold the argument of --host etc.
637 # FIXME: To remove some day.
638 build=$build_alias
639 host=$host_alias
640 target=$target_alias
641
642 # FIXME: To remove some day.
643 if test "x$host_alias" != x; then
644 if test "x$build_alias" = x; then
645 cross_compiling=maybe
646 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
647 If a cross compiler is detected then cross compile mode will be used." >&2
648 elif test "x$build_alias" != "x$host_alias"; then
649 cross_compiling=yes
650 fi
651 fi
652
653 ac_tool_prefix=
654 test -n "$host_alias" && ac_tool_prefix=$host_alias-
655
656 test "$silent" = yes && exec 6>/dev/null
657
658
659 # Find the source files, if location was not specified.
660 if test -z "$srcdir"; then
661 ac_srcdir_defaulted=yes
662 # Try the directory containing this script, then its parent.
663 ac_confdir=`(dirname "$0") 2>/dev/null ||
664 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
665 X"$0" : 'X\(//\)[^/]' \| \
666 X"$0" : 'X\(//\)$' \| \
667 X"$0" : 'X\(/\)' \| \
668 . : '\(.\)' 2>/dev/null ||
669 echo X"$0" |
670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
671 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
672 /^X\(\/\/\)$/{ s//\1/; q; }
673 /^X\(\/\).*/{ s//\1/; q; }
674 s/.*/./; q'`
675 srcdir=$ac_confdir
676 if test ! -r $srcdir/$ac_unique_file; then
677 srcdir=..
678 fi
679 else
680 ac_srcdir_defaulted=no
681 fi
682 if test ! -r $srcdir/$ac_unique_file; then
683 if test "$ac_srcdir_defaulted" = yes; then
684 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
685 { (exit 1); exit 1; }; }
686 else
687 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
688 { (exit 1); exit 1; }; }
689 fi
690 fi
691 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
692 ac_env_build_alias_set=${build_alias+set}
693 ac_env_build_alias_value=$build_alias
694 ac_cv_env_build_alias_set=${build_alias+set}
695 ac_cv_env_build_alias_value=$build_alias
696 ac_env_host_alias_set=${host_alias+set}
697 ac_env_host_alias_value=$host_alias
698 ac_cv_env_host_alias_set=${host_alias+set}
699 ac_cv_env_host_alias_value=$host_alias
700 ac_env_target_alias_set=${target_alias+set}
701 ac_env_target_alias_value=$target_alias
702 ac_cv_env_target_alias_set=${target_alias+set}
703 ac_cv_env_target_alias_value=$target_alias
704
705 #
706 # Report the --help message.
707 #
708 if test "$ac_init_help" = "long"; then
709 # Omit some internal or obsolete options to make the list less imposing.
710 # This message is too long to be a string in the A/UX 3.1 sh.
711 cat <<_ACEOF
712 \`configure' configures this package to adapt to many kinds of systems.
713
714 Usage: $0 [OPTION]... [VAR=VALUE]...
715
716 To assign environment variables (e.g., CC, CFLAGS...), specify them as
717 VAR=VALUE. See below for descriptions of some of the useful variables.
718
719 Defaults for the options are specified in brackets.
720
721 Configuration:
722 -h, --help display this help and exit
723 --help=short display options specific to this package
724 --help=recursive display the short help of all the included packages
725 -V, --version display version information and exit
726 -q, --quiet, --silent do not print \`checking...' messages
727 --cache-file=FILE cache test results in FILE [disabled]
728 -C, --config-cache alias for \`--cache-file=config.cache'
729 -n, --no-create do not create output files
730 --srcdir=DIR find the sources in DIR [configure dir or \`..']
731
732 _ACEOF
733
734 cat <<_ACEOF
735 Installation directories:
736 --prefix=PREFIX install architecture-independent files in PREFIX
737 [$ac_default_prefix]
738 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
739 [PREFIX]
740
741 By default, \`make install' will install all the files in
742 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
743 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
744 for instance \`--prefix=\$HOME'.
745
746 For better control, use the options below.
747
748 Fine tuning of the installation directories:
749 --bindir=DIR user executables [EPREFIX/bin]
750 --sbindir=DIR system admin executables [EPREFIX/sbin]
751 --libexecdir=DIR program executables [EPREFIX/libexec]
752 --datadir=DIR read-only architecture-independent data [PREFIX/share]
753 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
754 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
755 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
756 --libdir=DIR object code libraries [EPREFIX/lib]
757 --includedir=DIR C header files [PREFIX/include]
758 --oldincludedir=DIR C header files for non-gcc [/usr/include]
759 --infodir=DIR info documentation [PREFIX/info]
760 --mandir=DIR man documentation [PREFIX/man]
761 _ACEOF
762
763 cat <<\_ACEOF
764
765 System types:
766 --build=BUILD configure for building on BUILD [guessed]
767 --host=HOST cross-compile to build programs to run on HOST [BUILD]
768 --target=TARGET configure for building compilers for TARGET [HOST]
769 _ACEOF
770 fi
771
772 if test -n "$ac_init_help"; then
773
774 cat <<\_ACEOF
775
776 Optional Features:
777 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
778 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
779 --enable-ispp enable ISPP Module (default)
780 --disable-ispp disable ISPP Module
781 --enable-bps enable BPS Module (default)
782 --disable-bps disable BPS Module
783 --enable-npe enable NPE Module (default)
784 --disable-npe disable NPE Module
785 --enable-ncs enable NCS Module (default)
786 --disable-ncs disable NCS Module
787 --enable-dcm enable DCM Module (default)
788 --disable-dcm disable DCM Module
789
790 Optional Packages:
791 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
792 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
793 --with-motif-includes=PATH
794 use Motif includes in PATH
795 --with-motif-libraries=PATH
796 use Motif libraries in PATH
797 --with-helpviewer=\"help viewer command\"
798 set SATLLITE help viewer command strings
799 \"xdvi +%page% %dvi% -expert\" (default)
800 special keyword : %page% manual page
801 %dvi% dvi file
802 %ps% ps file
803 %pdf% pdf file
804
805 _ACEOF
806 fi
807
808 if test "$ac_init_help" = "recursive"; then
809 # If there are subdirs, report their specific --help.
810 ac_popdir=`pwd`
811 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
812 test -d $ac_dir || continue
813 ac_builddir=.
814
815 if test "$ac_dir" != .; then
816 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
817 # A "../" for each directory in $ac_dir_suffix.
818 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
819 else
820 ac_dir_suffix= ac_top_builddir=
821 fi
822
823 case $srcdir in
824 .) # No --srcdir option. We are building in place.
825 ac_srcdir=.
826 if test -z "$ac_top_builddir"; then
827 ac_top_srcdir=.
828 else
829 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
830 fi ;;
831 [\\/]* | ?:[\\/]* ) # Absolute path.
832 ac_srcdir=$srcdir$ac_dir_suffix;
833 ac_top_srcdir=$srcdir ;;
834 *) # Relative path.
835 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
836 ac_top_srcdir=$ac_top_builddir$srcdir ;;
837 esac
838 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
839 # absolute.
840 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
841 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
842 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
843 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
844
845 cd $ac_dir
846 # Check for guested configure; otherwise get Cygnus style configure.
847 if test -f $ac_srcdir/configure.gnu; then
848 echo
849 $SHELL $ac_srcdir/configure.gnu --help=recursive
850 elif test -f $ac_srcdir/configure; then
851 echo
852 $SHELL $ac_srcdir/configure --help=recursive
853 elif test -f $ac_srcdir/configure.ac ||
854 test -f $ac_srcdir/configure.in; then
855 echo
856 $ac_configure --help
857 else
858 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
859 fi
860 cd $ac_popdir
861 done
862 fi
863
864 test -n "$ac_init_help" && exit 0
865 if $ac_init_version; then
866 cat <<\_ACEOF
867
868 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
869 Free Software Foundation, Inc.
870 This configure script is free software; the Free Software Foundation
871 gives unlimited permission to copy, distribute and modify it.
872 _ACEOF
873 exit 0
874 fi
875 exec 5>config.log
876 cat >&5 <<_ACEOF
877 This file contains any messages produced by compilers while
878 running configure, to aid debugging if configure makes a mistake.
879
880 It was created by $as_me, which was
881 generated by GNU Autoconf 2.53. Invocation command line was
882
883 $ $0 $@
884
885 _ACEOF
886 {
887 cat <<_ASUNAME
888 ## --------- ##
889 ## Platform. ##
890 ## --------- ##
891
892 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
893 uname -m = `(uname -m) 2>/dev/null || echo unknown`
894 uname -r = `(uname -r) 2>/dev/null || echo unknown`
895 uname -s = `(uname -s) 2>/dev/null || echo unknown`
896 uname -v = `(uname -v) 2>/dev/null || echo unknown`
897
898 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
899 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
900
901 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
902 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
903 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
904 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
905 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
906 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
907 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
908
909 _ASUNAME
910
911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
912 for as_dir in $PATH
913 do
914 IFS=$as_save_IFS
915 test -z "$as_dir" && as_dir=.
916 echo "PATH: $as_dir"
917 done
918
919 } >&5
920
921 cat >&5 <<_ACEOF
922
923
924 ## ----------- ##
925 ## Core tests. ##
926 ## ----------- ##
927
928 _ACEOF
929
930
931 # Keep a trace of the command line.
932 # Strip out --no-create and --no-recursion so they do not pile up.
933 # Also quote any args containing shell meta-characters.
934 ac_configure_args=
935 ac_sep=
936 for ac_arg
937 do
938 case $ac_arg in
939 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
940 | --no-cr | --no-c | -n ) continue ;;
941 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
942 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
943 continue ;;
944 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
945 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
946 esac
947 case " $ac_configure_args " in
948 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
949 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
950 ac_sep=" " ;;
951 esac
952 # Get rid of the leading space.
953 done
954
955 # When interrupted or exit'd, cleanup temporary files, and complete
956 # config.log. We remove comments because anyway the quotes in there
957 # would cause problems or look ugly.
958 # WARNING: Be sure not to use single quotes in there, as some shells,
959 # such as our DU 5.0 friend, will then `close' the trap.
960 trap 'exit_status=$?
961 # Save into config.log some information that might help in debugging.
962 {
963 echo
964 cat <<\_ASBOX
965 ## ---------------- ##
966 ## Cache variables. ##
967 ## ---------------- ##
968 _ASBOX
969 echo
970 # The following way of writing the cache mishandles newlines in values,
971 {
972 (set) 2>&1 |
973 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
974 *ac_space=\ *)
975 sed -n \
976 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
978 ;;
979 *)
980 sed -n \
981 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
982 ;;
983 esac;
984 }
985 echo
986 if test -s confdefs.h; then
987 cat <<\_ASBOX
988 ## ----------- ##
989 ## confdefs.h. ##
990 ## ----------- ##
991 _ASBOX
992 echo
993 sed "/^$/d" confdefs.h
994 echo
995 fi
996 test "$ac_signal" != 0 &&
997 echo "$as_me: caught signal $ac_signal"
998 echo "$as_me: exit $exit_status"
999 } >&5
1000 rm -f core core.* *.core &&
1001 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1002 exit $exit_status
1003 ' 0
1004 for ac_signal in 1 2 13 15; do
1005 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1006 done
1007 ac_signal=0
1008
1009 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1010 rm -rf conftest* confdefs.h
1011 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1012 echo >confdefs.h
1013
1014 # Predefined preprocessor variables.
1015
1016 cat >>confdefs.h <<_ACEOF
1017 #define PACKAGE_NAME "$PACKAGE_NAME"
1018 _ACEOF
1019
1020
1021 cat >>confdefs.h <<_ACEOF
1022 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1023 _ACEOF
1024
1025
1026 cat >>confdefs.h <<_ACEOF
1027 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1028 _ACEOF
1029
1030
1031 cat >>confdefs.h <<_ACEOF
1032 #define PACKAGE_STRING "$PACKAGE_STRING"
1033 _ACEOF
1034
1035
1036 cat >>confdefs.h <<_ACEOF
1037 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1038 _ACEOF
1039
1040
1041 # Let the site file select an alternate cache file if it wants to.
1042 # Prefer explicitly selected file to automatically selected ones.
1043 if test -z "$CONFIG_SITE"; then
1044 if test "x$prefix" != xNONE; then
1045 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1046 else
1047 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1048 fi
1049 fi
1050 for ac_site_file in $CONFIG_SITE; do
1051 if test -r "$ac_site_file"; then
1052 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1053 echo "$as_me: loading site script $ac_site_file" >&6;}
1054 sed 's/^/| /' "$ac_site_file" >&5
1055 . "$ac_site_file"
1056 fi
1057 done
1058
1059 if test -r "$cache_file"; then
1060 # Some versions of bash will fail to source /dev/null (special
1061 # files actually), so we avoid doing that.
1062 if test -f "$cache_file"; then
1063 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1064 echo "$as_me: loading cache $cache_file" >&6;}
1065 case $cache_file in
1066 [\\/]* | ?:[\\/]* ) . $cache_file;;
1067 *) . ./$cache_file;;
1068 esac
1069 fi
1070 else
1071 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1072 echo "$as_me: creating cache $cache_file" >&6;}
1073 >$cache_file
1074 fi
1075
1076 # Check that the precious variables saved in the cache have kept the same
1077 # value.
1078 ac_cache_corrupted=false
1079 for ac_var in `(set) 2>&1 |
1080 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1081 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1082 eval ac_new_set=\$ac_env_${ac_var}_set
1083 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1084 eval ac_new_val="\$ac_env_${ac_var}_value"
1085 case $ac_old_set,$ac_new_set in
1086 set,)
1087 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1088 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1089 ac_cache_corrupted=: ;;
1090 ,set)
1091 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1092 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1093 ac_cache_corrupted=: ;;
1094 ,);;
1095 *)
1096 if test "x$ac_old_val" != "x$ac_new_val"; then
1097 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1098 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1099 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1100 echo "$as_me: former value: $ac_old_val" >&2;}
1101 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1102 echo "$as_me: current value: $ac_new_val" >&2;}
1103 ac_cache_corrupted=:
1104 fi;;
1105 esac
1106 # Pass precious variables to config.status.
1107 if test "$ac_new_set" = set; then
1108 case $ac_new_val in
1109 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1110 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1111 *) ac_arg=$ac_var=$ac_new_val ;;
1112 esac
1113 case " $ac_configure_args " in
1114 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1115 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1116 esac
1117 fi
1118 done
1119 if $ac_cache_corrupted; then
1120 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1121 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1122 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1123 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1124 { (exit 1); exit 1; }; }
1125 fi
1126
1127 ac_ext=c
1128 ac_cpp='$CPP $CPPFLAGS'
1129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150 ac_aux_dir=
1151 for ac_dir in config $srcdir/config; do
1152 if test -f $ac_dir/install-sh; then
1153 ac_aux_dir=$ac_dir
1154 ac_install_sh="$ac_aux_dir/install-sh -c"
1155 break
1156 elif test -f $ac_dir/install.sh; then
1157 ac_aux_dir=$ac_dir
1158 ac_install_sh="$ac_aux_dir/install.sh -c"
1159 break
1160 elif test -f $ac_dir/shtool; then
1161 ac_aux_dir=$ac_dir
1162 ac_install_sh="$ac_aux_dir/shtool install -c"
1163 break
1164 fi
1165 done
1166 if test -z "$ac_aux_dir"; then
1167 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1168 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1169 { (exit 1); exit 1; }; }
1170 fi
1171 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1172 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1173 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1174
1175
1176 # Make sure we can run config.sub.
1177 $ac_config_sub sun4 >/dev/null 2>&1 ||
1178 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1179 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1180 { (exit 1); exit 1; }; }
1181
1182 echo "$as_me:$LINENO: checking build system type" >&5
1183 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1184 if test "${ac_cv_build+set}" = set; then
1185 echo $ECHO_N "(cached) $ECHO_C" >&6
1186 else
1187 ac_cv_build_alias=$build_alias
1188 test -z "$ac_cv_build_alias" &&
1189 ac_cv_build_alias=`$ac_config_guess`
1190 test -z "$ac_cv_build_alias" &&
1191 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1192 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1193 { (exit 1); exit 1; }; }
1194 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1195 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1196 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1197 { (exit 1); exit 1; }; }
1198
1199 fi
1200 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1201 echo "${ECHO_T}$ac_cv_build" >&6
1202 build=$ac_cv_build
1203 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1204 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1205 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1206
1207
1208 echo "$as_me:$LINENO: checking host system type" >&5
1209 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1210 if test "${ac_cv_host+set}" = set; then
1211 echo $ECHO_N "(cached) $ECHO_C" >&6
1212 else
1213 ac_cv_host_alias=$host_alias
1214 test -z "$ac_cv_host_alias" &&
1215 ac_cv_host_alias=$ac_cv_build_alias
1216 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1217 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1218 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1219 { (exit 1); exit 1; }; }
1220
1221 fi
1222 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1223 echo "${ECHO_T}$ac_cv_host" >&6
1224 host=$ac_cv_host
1225 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1226 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1227 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1228
1229
1230 echo "$as_me:$LINENO: checking target system type" >&5
1231 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1232 if test "${ac_cv_target+set}" = set; then
1233 echo $ECHO_N "(cached) $ECHO_C" >&6
1234 else
1235 ac_cv_target_alias=$target_alias
1236 test "x$ac_cv_target_alias" = "x" &&
1237 ac_cv_target_alias=$ac_cv_host_alias
1238 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1239 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1240 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1241 { (exit 1); exit 1; }; }
1242
1243 fi
1244 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1245 echo "${ECHO_T}$ac_cv_target" >&6
1246 target=$ac_cv_target
1247 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1248 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1249 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1250
1251
1252 # The aliases save the names the user supplied, while $host etc.
1253 # will get canonicalized.
1254 test -n "$target_alias" &&
1255 test "$program_prefix$program_suffix$program_transform_name" = \
1256 NONENONEs,x,x, &&
1257 program_prefix=${target_alias}-
1258
1259 # Find a good install program. We prefer a C program (faster),
1260 # so one script is as good as another. But avoid the broken or
1261 # incompatible versions:
1262 # SysV /etc/install, /usr/sbin/install
1263 # SunOS /usr/etc/install
1264 # IRIX /sbin/install
1265 # AIX /bin/install
1266 # AmigaOS /C/install, which installs bootblocks on floppy discs
1267 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1268 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1269 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1270 # ./install, which can be erroneously created by make from ./install.sh.
1271 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1272 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1273 if test -z "$INSTALL"; then
1274 if test "${ac_cv_path_install+set}" = set; then
1275 echo $ECHO_N "(cached) $ECHO_C" >&6
1276 else
1277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1278 for as_dir in $PATH
1279 do
1280 IFS=$as_save_IFS
1281 test -z "$as_dir" && as_dir=.
1282 # Account for people who put trailing slashes in PATH elements.
1283 case $as_dir/ in
1284 ./ | .// | /cC/* | \
1285 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1286 /usr/ucb/* ) ;;
1287 *)
1288 # OSF1 and SCO ODT 3.0 have their own names for install.
1289 # Don't use installbsd from OSF since it installs stuff as root
1290 # by default.
1291 for ac_prog in ginstall scoinst install; do
1292 for ac_exec_ext in '' $ac_executable_extensions; do
1293 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1294 if test $ac_prog = install &&
1295 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1296 # AIX install. It has an incompatible calling convention.
1297 :
1298 elif test $ac_prog = install &&
1299 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1300 # program-specific install script used by HP pwplus--don't use.
1301 :
1302 else
1303 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1304 break 3
1305 fi
1306 fi
1307 done
1308 done
1309 ;;
1310 esac
1311 done
1312
1313
1314 fi
1315 if test "${ac_cv_path_install+set}" = set; then
1316 INSTALL=$ac_cv_path_install
1317 else
1318 # As a last resort, use the slow shell script. We don't cache a
1319 # path for INSTALL within a source directory, because that will
1320 # break other packages using the cache if that directory is
1321 # removed, or if the path is relative.
1322 INSTALL=$ac_install_sh
1323 fi
1324 fi
1325 echo "$as_me:$LINENO: result: $INSTALL" >&5
1326 echo "${ECHO_T}$INSTALL" >&6
1327
1328 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1329 # It thinks the first close brace ends the variable substitution.
1330 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1331
1332 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1333
1334 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1335
1336 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1337 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1338 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1339 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1340 echo $ECHO_N "(cached) $ECHO_C" >&6
1341 else
1342 cat >conftest.make <<\_ACEOF
1343 all:
1344 @echo 'ac_maketemp="${MAKE}"'
1345 _ACEOF
1346 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1347 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1348 if test -n "$ac_maketemp"; then
1349 eval ac_cv_prog_make_${ac_make}_set=yes
1350 else
1351 eval ac_cv_prog_make_${ac_make}_set=no
1352 fi
1353 rm -f conftest.make
1354 fi
1355 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1356 echo "$as_me:$LINENO: result: yes" >&5
1357 echo "${ECHO_T}yes" >&6
1358 SET_MAKE=
1359 else
1360 echo "$as_me:$LINENO: result: no" >&5
1361 echo "${ECHO_T}no" >&6
1362 SET_MAKE="MAKE=${MAKE-make}"
1363 fi
1364
1365
1366 SUBDIRS="include lib shell system util gpm bm rc xcut"
1367
1368 # Check whether --enable-ispp or --disable-ispp was given.
1369 if test "${enable_ispp+set}" = set; then
1370 enableval="$enable_ispp"
1371
1372 else
1373 test -z "$enable_ispp" && enable_ispp=yes
1374 fi;
1375 # Check whether --enable-bps or --disable-bps was given.
1376 if test "${enable_bps+set}" = set; then
1377 enableval="$enable_bps"
1378
1379 else
1380 test -z "$enable_bps" && enable_bps=yes
1381 fi;
1382 # Check whether --enable-npe or --disable-npe was given.
1383 if test "${enable_npe+set}" = set; then
1384 enableval="$enable_npe"
1385
1386 else
1387 test -z "$enable_npe" && enable_npe=yes
1388 fi;
1389 # Check whether --enable-ncs or --disable-ncs was given.
1390 if test "${enable_ncs+set}" = set; then
1391 enableval="$enable_ncs"
1392
1393 else
1394 test -z "$enable_ncs" && enable_ncs=yes
1395 fi;
1396 # Check whether --enable-dcm or --disable-dcm was given.
1397 if test "${enable_dcm+set}" = set; then
1398 enableval="$enable_dcm"
1399
1400 else
1401 test -z "$enable_dcm" && enable_dcm=yes
1402 fi;
1403
1404
1405 # Check whether --with-motif-includes or --without-motif-includes was given.
1406 if test "${with_motif_includes+set}" = set; then
1407 withval="$with_motif_includes"
1408
1409 else
1410 test -z "$with_motif_includes" && with_motif_includes=no
1411 fi;
1412
1413
1414 # Check whether --with-motif-libraries or --without-motif-libraries was given.
1415 if test "${with_motif_libraries+set}" = set; then
1416 withval="$with_motif_libraries"
1417
1418 else
1419 test -z "$with_motif_libraries" && with_motif_libraries=no
1420 fi;
1421
1422
1423
1424 # Check whether --with-helpviewer or --without-helpviewer was given.
1425 if test "${with_helpviewer+set}" = set; then
1426 withval="$with_helpviewer"
1427
1428 else
1429 test -z "$with_helpviewer" && with_helpviewer=no
1430 fi;
1431
1432
1433
1434 subdirs="$subdirs include lib shell system util gpm bm rc xcut"
1435
1436
1437 if test "$enable_ispp" = yes; then
1438 SUBDIRS="$SUBDIRS ispp"
1439
1440
1441 subdirs="$subdirs ispp"
1442
1443 fi
1444 if test "$enable_bps" = yes; then
1445 SUBDIRS="$SUBDIRS bps"
1446
1447
1448 subdirs="$subdirs bps"
1449
1450 fi
1451 if test "$enable_npe" = yes; then
1452 SUBDIRS="$SUBDIRS npe"
1453
1454
1455 subdirs="$subdirs npe"
1456
1457 fi
1458 if test "$enable_ncs" = yes; then
1459 SUBDIRS="$SUBDIRS ncs"
1460
1461
1462 subdirs="$subdirs ncs"
1463
1464 fi
1465 if test "$enable_dcm" = yes; then
1466 SUBDIRS="$SUBDIRS dcm"
1467
1468
1469 subdirs="$subdirs dcm"
1470
1471 fi
1472
1473
1474 ac_config_files="$ac_config_files Makefile"
1475 cat >confcache <<\_ACEOF
1476 # This file is a shell script that caches the results of configure
1477 # tests run on this system so they can be shared between configure
1478 # scripts and configure runs, see configure's option --config-cache.
1479 # It is not useful on other systems. If it contains results you don't
1480 # want to keep, you may remove or edit it.
1481 #
1482 # config.status only pays attention to the cache file if you give it
1483 # the --recheck option to rerun configure.
1484 #
1485 # `ac_cv_env_foo' variables (set or unset) will be overriden when
1486 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1487 # following values.
1488
1489 _ACEOF
1490
1491 # The following way of writing the cache mishandles newlines in values,
1492 # but we know of no workaround that is simple, portable, and efficient.
1493 # So, don't put newlines in cache variables' values.
1494 # Ultrix sh set writes to stderr and can't be redirected directly,
1495 # and sets the high bit in the cache file unless we assign to the vars.
1496 {
1497 (set) 2>&1 |
1498 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1499 *ac_space=\ *)
1500 # `set' does not quote correctly, so add quotes (double-quote
1501 # substitution turns \\\\ into \\, and sed turns \\ into \).
1502 sed -n \
1503 "s/'/'\\\\''/g;
1504 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1505 ;;
1506 *)
1507 # `set' quotes correctly as required by POSIX, so do not add quotes.
1508 sed -n \
1509 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1510 ;;
1511 esac;
1512 } |
1513 sed '
1514 t clear
1515 : clear
1516 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1517 t end
1518 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1519 : end' >>confcache
1520 if cmp -s $cache_file confcache; then :; else
1521 if test -w $cache_file; then
1522 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1523 cat confcache >$cache_file
1524 else
1525 echo "not updating unwritable cache $cache_file"
1526 fi
1527 fi
1528 rm -f confcache
1529
1530 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1531 # Let make expand exec_prefix.
1532 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1533
1534 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1535 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1536 # trailing colons and then remove the whole line if VPATH becomes empty
1537 # (actually we leave an empty line to preserve line numbers).
1538 if test "x$srcdir" = x.; then
1539 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1540 s/:*\$(srcdir):*/:/;
1541 s/:*\${srcdir}:*/:/;
1542 s/:*@srcdir@:*/:/;
1543 s/^\([^=]*=[ ]*\):*/\1/;
1544 s/:*$//;
1545 s/^[^=]*=[ ]*$//;
1546 }'
1547 fi
1548
1549 # Transform confdefs.h into DEFS.
1550 # Protect against shell expansion while executing Makefile rules.
1551 # Protect against Makefile macro expansion.
1552 #
1553 # If the first sed substitution is executed (which looks for macros that
1554 # take arguments), then we branch to the quote section. Otherwise,
1555 # look for a macro that doesn't take arguments.
1556 cat >confdef2opt.sed <<\_ACEOF
1557 t clear
1558 : clear
1559 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1560 t quote
1561 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1562 t quote
1563 d
1564 : quote
1565 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1566 s,\[,\\&,g
1567 s,\],\\&,g
1568 s,\$,$$,g
1569 p
1570 _ACEOF
1571 # We use echo to avoid assuming a particular line-breaking character.
1572 # The extra dot is to prevent the shell from consuming trailing
1573 # line-breaks from the sub-command output. A line-break within
1574 # single-quotes doesn't work because, if this script is created in a
1575 # platform that uses two characters for line-breaks (e.g., DOS), tr
1576 # would break.
1577 ac_LF_and_DOT=`echo; echo .`
1578 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1579 rm -f confdef2opt.sed
1580
1581
1582
1583 : ${CONFIG_STATUS=./config.status}
1584 ac_clean_files_save=$ac_clean_files
1585 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1586 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1587 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1588 cat >$CONFIG_STATUS <<_ACEOF
1589 #! $SHELL
1590 # Generated by $as_me.
1591 # Run this file to recreate the current configuration.
1592 # Compiler output produced by configure, useful for debugging
1593 # configure, is in config.log if it exists.
1594
1595 debug=false
1596 SHELL=\${CONFIG_SHELL-$SHELL}
1597 _ACEOF
1598
1599 cat >>$CONFIG_STATUS <<\_ACEOF
1600
1601 ## --------------------- ##
1602 ## M4sh Initialization. ##
1603 ## --------------------- ##
1604
1605 # Be Bourne compatible
1606 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1607 emulate sh
1608 NULLCMD=:
1609 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1610 set -o posix
1611 fi
1612
1613 # NLS nuisances.
1614 # Support unset when possible.
1615 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1616 as_unset=unset
1617 else
1618 as_unset=false
1619 fi
1620
1621 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
1622 { $as_unset LANG || test "${LANG+set}" != set; } ||
1623 { LANG=C; export LANG; }
1624 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
1625 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
1626 { LC_ALL=C; export LC_ALL; }
1627 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
1628 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
1629 { LC_TIME=C; export LC_TIME; }
1630 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
1631 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
1632 { LC_CTYPE=C; export LC_CTYPE; }
1633 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
1634 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
1635 { LANGUAGE=C; export LANGUAGE; }
1636 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
1637 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
1638 { LC_COLLATE=C; export LC_COLLATE; }
1639 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
1640 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
1641 { LC_NUMERIC=C; export LC_NUMERIC; }
1642 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
1643 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
1644 { LC_MESSAGES=C; export LC_MESSAGES; }
1645
1646
1647 # Name of the executable.
1648 as_me=`(basename "$0") 2>/dev/null ||
1649 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1650 X"$0" : 'X\(//\)$' \| \
1651 X"$0" : 'X\(/\)$' \| \
1652 . : '\(.\)' 2>/dev/null ||
1653 echo X/"$0" |
1654 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1655 /^X\/\(\/\/\)$/{ s//\1/; q; }
1656 /^X\/\(\/\).*/{ s//\1/; q; }
1657 s/.*/./; q'`
1658
1659 # PATH needs CR, and LINENO needs CR and PATH.
1660 # Avoid depending upon Character Ranges.
1661 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1662 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1663 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1664 as_cr_digits='0123456789'
1665 as_cr_alnum=$as_cr_Letters$as_cr_digits
1666
1667 # The user is always right.
1668 if test "${PATH_SEPARATOR+set}" != set; then
1669 echo "#! /bin/sh" >conftest.sh
1670 echo "exit 0" >>conftest.sh
1671 chmod +x conftest.sh
1672 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
1673 PATH_SEPARATOR=';'
1674 else
1675 PATH_SEPARATOR=:
1676 fi
1677 rm -f conftest.sh
1678 fi
1679
1680
1681 as_lineno_1=$LINENO
1682 as_lineno_2=$LINENO
1683 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1684 test "x$as_lineno_1" != "x$as_lineno_2" &&
1685 test "x$as_lineno_3" = "x$as_lineno_2" || {
1686 # Find who we are. Look in the path if we contain no path at all
1687 # relative or not.
1688 case $0 in
1689 *[\\/]* ) as_myself=$0 ;;
1690 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 for as_dir in $PATH
1692 do
1693 IFS=$as_save_IFS
1694 test -z "$as_dir" && as_dir=.
1695 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1696 done
1697
1698 ;;
1699 esac
1700 # We did not find ourselves, most probably we were run as `sh COMMAND'
1701 # in which case we are not to be found in the path.
1702 if test "x$as_myself" = x; then
1703 as_myself=$0
1704 fi
1705 if test ! -f "$as_myself"; then
1706 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1707 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1708 { (exit 1); exit 1; }; }
1709 fi
1710 case $CONFIG_SHELL in
1711 '')
1712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1714 do
1715 IFS=$as_save_IFS
1716 test -z "$as_dir" && as_dir=.
1717 for as_base in sh bash ksh sh5; do
1718 case $as_dir in
1719 /*)
1720 if ("$as_dir/$as_base" -c '
1721 as_lineno_1=$LINENO
1722 as_lineno_2=$LINENO
1723 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1724 test "x$as_lineno_1" != "x$as_lineno_2" &&
1725 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1726 CONFIG_SHELL=$as_dir/$as_base
1727 export CONFIG_SHELL
1728 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1729 fi;;
1730 esac
1731 done
1732 done
1733 ;;
1734 esac
1735
1736 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1737 # uniformly replaced by the line number. The first 'sed' inserts a
1738 # line-number line before each line; the second 'sed' does the real
1739 # work. The second script uses 'N' to pair each line-number line
1740 # with the numbered line, and appends trailing '-' during
1741 # substitution so that $LINENO is not a special case at line end.
1742 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1743 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1744 sed '=' <$as_myself |
1745 sed '
1746 N
1747 s,$,-,
1748 : loop
1749 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1750 t loop
1751 s,-$,,
1752 s,^['$as_cr_digits']*\n,,
1753 ' >$as_me.lineno &&
1754 chmod +x $as_me.lineno ||
1755 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1756 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1757 { (exit 1); exit 1; }; }
1758
1759 # Don't try to exec as it changes $[0], causing all sort of problems
1760 # (the dirname of $[0] is not the place where we might find the
1761 # original and so on. Autoconf is especially sensible to this).
1762 . ./$as_me.lineno
1763 # Exit status is that of the last command.
1764 exit
1765 }
1766
1767
1768 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1769 *c*,-n*) ECHO_N= ECHO_C='
1770 ' ECHO_T=' ' ;;
1771 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1772 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1773 esac
1774
1775 if expr a : '\(a\)' >/dev/null 2>&1; then
1776 as_expr=expr
1777 else
1778 as_expr=false
1779 fi
1780
1781 rm -f conf$$ conf$$.exe conf$$.file
1782 echo >conf$$.file
1783 if ln -s conf$$.file conf$$ 2>/dev/null; then
1784 # We could just check for DJGPP; but this test a) works b) is more generic
1785 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1786 if test -f conf$$.exe; then
1787 # Don't use ln at all; we don't have any links
1788 as_ln_s='cp -p'
1789 else
1790 as_ln_s='ln -s'
1791 fi
1792 elif ln conf$$.file conf$$ 2>/dev/null; then
1793 as_ln_s=ln
1794 else
1795 as_ln_s='cp -p'
1796 fi
1797 rm -f conf$$ conf$$.exe conf$$.file
1798
1799 as_executable_p="test -f"
1800
1801 # Sed expression to map a string onto a valid CPP name.
1802 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1803
1804 # Sed expression to map a string onto a valid variable name.
1805 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1806
1807
1808 # IFS
1809 # We need space, tab and new line, in precisely that order.
1810 as_nl='
1811 '
1812 IFS=" $as_nl"
1813
1814 # CDPATH.
1815 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
1816
1817 exec 6>&1
1818
1819 # Open the log real soon, to keep \$[0] and so on meaningful, and to
1820 # report actual input values of CONFIG_FILES etc. instead of their
1821 # values after options handling. Logging --version etc. is OK.
1822 exec 5>>config.log
1823 {
1824 echo
1825 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1826 ## Running $as_me. ##
1827 _ASBOX
1828 } >&5
1829 cat >&5 <<_CSEOF
1830
1831 This file was extended by $as_me, which was
1832 generated by GNU Autoconf 2.53. Invocation command line was
1833
1834 CONFIG_FILES = $CONFIG_FILES
1835 CONFIG_HEADERS = $CONFIG_HEADERS
1836 CONFIG_LINKS = $CONFIG_LINKS
1837 CONFIG_COMMANDS = $CONFIG_COMMANDS
1838 $ $0 $@
1839
1840 _CSEOF
1841 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1842 echo >&5
1843 _ACEOF
1844
1845 # Files that config.status was made for.
1846 if test -n "$ac_config_files"; then
1847 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1848 fi
1849
1850 if test -n "$ac_config_headers"; then
1851 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1852 fi
1853
1854 if test -n "$ac_config_links"; then
1855 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1856 fi
1857
1858 if test -n "$ac_config_commands"; then
1859 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1860 fi
1861
1862 cat >>$CONFIG_STATUS <<\_ACEOF
1863
1864 ac_cs_usage="\
1865 \`$as_me' instantiates files from templates according to the
1866 current configuration.
1867
1868 Usage: $0 [OPTIONS] [FILE]...
1869
1870 -h, --help print this help, then exit
1871 -V, --version print version number, then exit
1872 -d, --debug don't remove temporary files
1873 --recheck update $as_me by reconfiguring in the same conditions
1874 --file=FILE[:TEMPLATE]
1875 instantiate the configuration file FILE
1876
1877 Configuration files:
1878 $config_files
1879
1880 Report bugs to <bug-autoconf@gnu.org>."
1881 _ACEOF
1882
1883 cat >>$CONFIG_STATUS <<_ACEOF
1884 ac_cs_version="\\
1885 config.status
1886 configured by $0, generated by GNU Autoconf 2.53,
1887 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1888
1889 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1890 Free Software Foundation, Inc.
1891 This config.status script is free software; the Free Software Foundation
1892 gives unlimited permission to copy, distribute and modify it."
1893 srcdir=$srcdir
1894 INSTALL="$INSTALL"
1895 _ACEOF
1896
1897 cat >>$CONFIG_STATUS <<\_ACEOF
1898 # If no file are specified by the user, then we need to provide default
1899 # value. By we need to know if files were specified by the user.
1900 ac_need_defaults=:
1901 while test $# != 0
1902 do
1903 case $1 in
1904 --*=*)
1905 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1906 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1907 shift
1908 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
1909 shift
1910 ;;
1911 -*);;
1912 *) # This is not an option, so the user has probably given explicit
1913 # arguments.
1914 ac_need_defaults=false;;
1915 esac
1916
1917 case $1 in
1918 # Handling of the options.
1919 _ACEOF
1920 cat >>$CONFIG_STATUS <<_ACEOF
1921 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1922 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
1923 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
1924 _ACEOF
1925 cat >>$CONFIG_STATUS <<\_ACEOF
1926 --version | --vers* | -V )
1927 echo "$ac_cs_version"; exit 0 ;;
1928 --he | --h)
1929 # Conflict between --help and --header
1930 { { echo "$as_me:$LINENO: error: ambiguous option: $1
1931 Try \`$0 --help' for more information." >&5
1932 echo "$as_me: error: ambiguous option: $1
1933 Try \`$0 --help' for more information." >&2;}
1934 { (exit 1); exit 1; }; };;
1935 --help | --hel | -h )
1936 echo "$ac_cs_usage"; exit 0 ;;
1937 --debug | --d* | -d )
1938 debug=: ;;
1939 --file | --fil | --fi | --f )
1940 shift
1941 CONFIG_FILES="$CONFIG_FILES $1"
1942 ac_need_defaults=false;;
1943 --header | --heade | --head | --hea )
1944 shift
1945 CONFIG_HEADERS="$CONFIG_HEADERS $1"
1946 ac_need_defaults=false;;
1947
1948 # This is an error.
1949 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1950 Try \`$0 --help' for more information." >&5
1951 echo "$as_me: error: unrecognized option: $1
1952 Try \`$0 --help' for more information." >&2;}
1953 { (exit 1); exit 1; }; } ;;
1954
1955 *) ac_config_targets="$ac_config_targets $1" ;;
1956
1957 esac
1958 shift
1959 done
1960
1961 _ACEOF
1962
1963
1964
1965
1966
1967 cat >>$CONFIG_STATUS <<\_ACEOF
1968 for ac_config_target in $ac_config_targets
1969 do
1970 case "$ac_config_target" in
1971 # Handling of arguments.
1972 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1973 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1974 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1975 { (exit 1); exit 1; }; };;
1976 esac
1977 done
1978
1979 # If the user did not use the arguments to specify the items to instantiate,
1980 # then the envvar interface is used. Set only those that are not.
1981 # We use the long form for the default assignment because of an extremely
1982 # bizarre bug on SunOS 4.1.3.
1983 if $ac_need_defaults; then
1984 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1985 fi
1986
1987 # Create a temporary directory, and hook for its removal unless debugging.
1988 $debug ||
1989 {
1990 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1991 trap '{ (exit 1); exit 1; }' 1 2 13 15
1992 }
1993
1994 # Create a (secure) tmp directory for tmp files.
1995 : ${TMPDIR=/tmp}
1996 {
1997 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
1998 test -n "$tmp" && test -d "$tmp"
1999 } ||
2000 {
2001 tmp=$TMPDIR/cs$$-$RANDOM
2002 (umask 077 && mkdir $tmp)
2003 } ||
2004 {
2005 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2006 { (exit 1); exit 1; }
2007 }
2008
2009 _ACEOF
2010
2011 cat >>$CONFIG_STATUS <<_ACEOF
2012
2013 #
2014 # CONFIG_FILES section.
2015 #
2016
2017 # No need to generate the scripts if there are no CONFIG_FILES.
2018 # This happens for instance when ./config.status config.h
2019 if test -n "\$CONFIG_FILES"; then
2020 # Protect against being on the right side of a sed subst in config.status.
2021 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2022 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2023 s,@SHELL@,$SHELL,;t t
2024 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2025 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2026 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2027 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2028 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2029 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2030 s,@exec_prefix@,$exec_prefix,;t t
2031 s,@prefix@,$prefix,;t t
2032 s,@program_transform_name@,$program_transform_name,;t t
2033 s,@bindir@,$bindir,;t t
2034 s,@sbindir@,$sbindir,;t t
2035 s,@libexecdir@,$libexecdir,;t t
2036 s,@datadir@,$datadir,;t t
2037 s,@sysconfdir@,$sysconfdir,;t t
2038 s,@sharedstatedir@,$sharedstatedir,;t t
2039 s,@localstatedir@,$localstatedir,;t t
2040 s,@libdir@,$libdir,;t t
2041 s,@includedir@,$includedir,;t t
2042 s,@oldincludedir@,$oldincludedir,;t t
2043 s,@infodir@,$infodir,;t t
2044 s,@mandir@,$mandir,;t t
2045 s,@build_alias@,$build_alias,;t t
2046 s,@host_alias@,$host_alias,;t t
2047 s,@target_alias@,$target_alias,;t t
2048 s,@DEFS@,$DEFS,;t t
2049 s,@ECHO_C@,$ECHO_C,;t t
2050 s,@ECHO_N@,$ECHO_N,;t t
2051 s,@ECHO_T@,$ECHO_T,;t t
2052 s,@LIBS@,$LIBS,;t t
2053 s,@build@,$build,;t t
2054 s,@build_cpu@,$build_cpu,;t t
2055 s,@build_vendor@,$build_vendor,;t t
2056 s,@build_os@,$build_os,;t t
2057 s,@host@,$host,;t t
2058 s,@host_cpu@,$host_cpu,;t t
2059 s,@host_vendor@,$host_vendor,;t t
2060 s,@host_os@,$host_os,;t t
2061 s,@target@,$target,;t t
2062 s,@target_cpu@,$target_cpu,;t t
2063 s,@target_vendor@,$target_vendor,;t t
2064 s,@target_os@,$target_os,;t t
2065 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2066 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2067 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2068 s,@SET_MAKE@,$SET_MAKE,;t t
2069 s,@subdirs@,$subdirs,;t t
2070 s,@SUBDIRS@,$SUBDIRS,;t t
2071 CEOF
2072
2073 _ACEOF
2074
2075 cat >>$CONFIG_STATUS <<\_ACEOF
2076 # Split the substitutions into bite-sized pieces for seds with
2077 # small command number limits, like on Digital OSF/1 and HP-UX.
2078 ac_max_sed_lines=48
2079 ac_sed_frag=1 # Number of current file.
2080 ac_beg=1 # First line for current file.
2081 ac_end=$ac_max_sed_lines # Line after last line for current file.
2082 ac_more_lines=:
2083 ac_sed_cmds=
2084 while $ac_more_lines; do
2085 if test $ac_beg -gt 1; then
2086 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2087 else
2088 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2089 fi
2090 if test ! -s $tmp/subs.frag; then
2091 ac_more_lines=false
2092 else
2093 # The purpose of the label and of the branching condition is to
2094 # speed up the sed processing (if there are no `@' at all, there
2095 # is no need to browse any of the substitutions).
2096 # These are the two extra sed commands mentioned above.
2097 (echo ':t
2098 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2099 if test -z "$ac_sed_cmds"; then
2100 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2101 else
2102 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2103 fi
2104 ac_sed_frag=`expr $ac_sed_frag + 1`
2105 ac_beg=$ac_end
2106 ac_end=`expr $ac_end + $ac_max_sed_lines`
2107 fi
2108 done
2109 if test -z "$ac_sed_cmds"; then
2110 ac_sed_cmds=cat
2111 fi
2112 fi # test -n "$CONFIG_FILES"
2113
2114 _ACEOF
2115 cat >>$CONFIG_STATUS <<\_ACEOF
2116 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2117 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2118 case $ac_file in
2119 - | *:- | *:-:* ) # input from stdin
2120 cat >$tmp/stdin
2121 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2122 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2123 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2124 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2125 * ) ac_file_in=$ac_file.in ;;
2126 esac
2127
2128 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2129 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2130 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2131 X"$ac_file" : 'X\(//\)[^/]' \| \
2132 X"$ac_file" : 'X\(//\)$' \| \
2133 X"$ac_file" : 'X\(/\)' \| \
2134 . : '\(.\)' 2>/dev/null ||
2135 echo X"$ac_file" |
2136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2137 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2138 /^X\(\/\/\)$/{ s//\1/; q; }
2139 /^X\(\/\).*/{ s//\1/; q; }
2140 s/.*/./; q'`
2141 { case "$ac_dir" in
2142 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2143 *) as_incr_dir=.;;
2144 esac
2145 as_dummy="$ac_dir"
2146 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2147 case $as_mkdir_dir in
2148 # Skip DOS drivespec
2149 ?:) as_incr_dir=$as_mkdir_dir ;;
2150 *)
2151 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2152 test -d "$as_incr_dir" ||
2153 mkdir "$as_incr_dir" ||
2154 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
2155 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
2156 { (exit 1); exit 1; }; }
2157 ;;
2158 esac
2159 done; }
2160
2161 ac_builddir=.
2162
2163 if test "$ac_dir" != .; then
2164 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2165 # A "../" for each directory in $ac_dir_suffix.
2166 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2167 else
2168 ac_dir_suffix= ac_top_builddir=
2169 fi
2170
2171 case $srcdir in
2172 .) # No --srcdir option. We are building in place.
2173 ac_srcdir=.
2174 if test -z "$ac_top_builddir"; then
2175 ac_top_srcdir=.
2176 else
2177 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2178 fi ;;
2179 [\\/]* | ?:[\\/]* ) # Absolute path.
2180 ac_srcdir=$srcdir$ac_dir_suffix;
2181 ac_top_srcdir=$srcdir ;;
2182 *) # Relative path.
2183 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2184 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2185 esac
2186 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2187 # absolute.
2188 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2189 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
2190 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2191 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2192
2193
2194 case $INSTALL in
2195 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2196 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2197 esac
2198
2199 if test x"$ac_file" != x-; then
2200 { echo "$as_me:$LINENO: creating $ac_file" >&5
2201 echo "$as_me: creating $ac_file" >&6;}
2202 rm -f "$ac_file"
2203 fi
2204 # Let's still pretend it is `configure' which instantiates (i.e., don't
2205 # use $as_me), people would be surprised to read:
2206 # /* config.h. Generated by config.status. */
2207 if test x"$ac_file" = x-; then
2208 configure_input=
2209 else
2210 configure_input="$ac_file. "
2211 fi
2212 configure_input=$configure_input"Generated from `echo $ac_file_in |
2213 sed 's,.*/,,'` by configure."
2214
2215 # First look for the input files in the build tree, otherwise in the
2216 # src tree.
2217 ac_file_inputs=`IFS=:
2218 for f in $ac_file_in; do
2219 case $f in
2220 -) echo $tmp/stdin ;;
2221 [\\/$]*)
2222 # Absolute (can't be DOS-style, as IFS=:)
2223 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2224 echo "$as_me: error: cannot find input file: $f" >&2;}
2225 { (exit 1); exit 1; }; }
2226 echo $f;;
2227 *) # Relative
2228 if test -f "$f"; then
2229 # Build tree
2230 echo $f
2231 elif test -f "$srcdir/$f"; then
2232 # Source tree
2233 echo $srcdir/$f
2234 else
2235 # /dev/null tree
2236 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2237 echo "$as_me: error: cannot find input file: $f" >&2;}
2238 { (exit 1); exit 1; }; }
2239 fi;;
2240 esac
2241 done` || { (exit 1); exit 1; }
2242 _ACEOF
2243 cat >>$CONFIG_STATUS <<_ACEOF
2244 sed "$ac_vpsub
2245 $extrasub
2246 _ACEOF
2247 cat >>$CONFIG_STATUS <<\_ACEOF
2248 :t
2249 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2250 s,@configure_input@,$configure_input,;t t
2251 s,@srcdir@,$ac_srcdir,;t t
2252 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2253 s,@top_srcdir@,$ac_top_srcdir,;t t
2254 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2255 s,@builddir@,$ac_builddir,;t t
2256 s,@abs_builddir@,$ac_abs_builddir,;t t
2257 s,@top_builddir@,$ac_top_builddir,;t t
2258 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2259 s,@INSTALL@,$ac_INSTALL,;t t
2260 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2261 rm -f $tmp/stdin
2262 if test x"$ac_file" != x-; then
2263 mv $tmp/out $ac_file
2264 else
2265 cat $tmp/out
2266 rm -f $tmp/out
2267 fi
2268
2269 done
2270 _ACEOF
2271
2272 cat >>$CONFIG_STATUS <<\_ACEOF
2273
2274 { (exit 0); exit 0; }
2275 _ACEOF
2276 chmod +x $CONFIG_STATUS
2277 ac_clean_files=$ac_clean_files_save
2278
2279
2280 # configure is writing to config.log, and then calls config.status.
2281 # config.status does its own redirection, appending to config.log.
2282 # Unfortunately, on DOS this fails, as config.log is still kept open
2283 # by configure, so config.status won't be able to write to it; its
2284 # output is simply discarded. So we exec the FD to /dev/null,
2285 # effectively closing config.log, so it can be properly (re)opened and
2286 # appended to by config.status. When coming back to configure, we
2287 # need to make the FD available again.
2288 if test "$no_create" != yes; then
2289 ac_cs_success=:
2290 exec 5>/dev/null
2291 $SHELL $CONFIG_STATUS || ac_cs_success=false
2292 exec 5>>config.log
2293 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2294 # would make configure fail if this is the last instruction.
2295 $ac_cs_success || { (exit 1); exit 1; }
2296 fi
2297
2298 #
2299 # CONFIG_SUBDIRS section.
2300 #
2301 if test "$no_recursion" != yes; then
2302
2303 # Remove --cache-file and --srcdir arguments so they do not pile up.
2304 ac_sub_configure_args=
2305 ac_prev=
2306 for ac_arg in $ac_configure_args; do
2307 if test -n "$ac_prev"; then
2308 ac_prev=
2309 continue
2310 fi
2311 case $ac_arg in
2312 -cache-file | --cache-file | --cache-fil | --cache-fi \
2313 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2314 ac_prev=cache_file ;;
2315 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2316 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
2317 | --c=*)
2318 ;;
2319 --config-cache | -C)
2320 ;;
2321 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2322 ac_prev=srcdir ;;
2323 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2324 ;;
2325 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2326 ac_prev=prefix ;;
2327 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2328 ;;
2329 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
2330 esac
2331 done
2332
2333 # Always prepend --prefix to ensure using the same prefix
2334 # in subdir configurations.
2335 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
2336
2337 ac_popdir=`pwd`
2338 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
2339
2340 # Do not complain, so a configure script can configure whichever
2341 # parts of a large source tree are present.
2342 test -d $srcdir/$ac_dir || continue
2343
2344 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
2345 echo "$as_me: configuring in $ac_dir" >&6;}
2346 { case "$ac_dir" in
2347 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2348 *) as_incr_dir=.;;
2349 esac
2350 as_dummy="$ac_dir"
2351 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2352 case $as_mkdir_dir in
2353 # Skip DOS drivespec
2354 ?:) as_incr_dir=$as_mkdir_dir ;;
2355 *)
2356 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2357 test -d "$as_incr_dir" ||
2358 mkdir "$as_incr_dir" ||
2359 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
2360 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
2361 { (exit 1); exit 1; }; }
2362 ;;
2363 esac
2364 done; }
2365
2366 ac_builddir=.
2367
2368 if test "$ac_dir" != .; then
2369 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2370 # A "../" for each directory in $ac_dir_suffix.
2371 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2372 else
2373 ac_dir_suffix= ac_top_builddir=
2374 fi
2375
2376 case $srcdir in
2377 .) # No --srcdir option. We are building in place.
2378 ac_srcdir=.
2379 if test -z "$ac_top_builddir"; then
2380 ac_top_srcdir=.
2381 else
2382 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2383 fi ;;
2384 [\\/]* | ?:[\\/]* ) # Absolute path.
2385 ac_srcdir=$srcdir$ac_dir_suffix;
2386 ac_top_srcdir=$srcdir ;;
2387 *) # Relative path.
2388 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2389 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2390 esac
2391 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2392 # absolute.
2393 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2394 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
2395 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2396 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2397
2398
2399 cd $ac_dir
2400
2401 # Check for guested configure; otherwise get Cygnus style configure.
2402 if test -f $ac_srcdir/configure.gnu; then
2403 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
2404 elif test -f $ac_srcdir/configure; then
2405 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
2406 elif test -f $ac_srcdir/configure.in; then
2407 ac_sub_configure=$ac_configure
2408 else
2409 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
2410 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
2411 ac_sub_configure=
2412 fi
2413
2414 # The recursion is here.
2415 if test -n "$ac_sub_configure"; then
2416 # Make the cache file name correct relative to the subdirectory.
2417 case $cache_file in
2418 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
2419 *) # Relative path.
2420 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
2421 esac
2422
2423 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
2424 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
2425 # The eval makes quoting arguments work.
2426 eval $ac_sub_configure $ac_sub_configure_args \
2427 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
2428 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
2429 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
2430 { (exit 1); exit 1; }; }
2431 fi
2432
2433 cd $ac_popdir
2434 done
2435 fi
2436

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26