comparison udis86-1.4/configure @ 1:4a9dcbd9e54f

-files of 0.13 beta -fixes so that it now compiles with the current dmd version
author marton@basel.hu
date Tue, 05 Apr 2011 20:44:01 +0200
parents
children
comparison
equal deleted inserted replaced
0:586e4a649642 1:4a9dcbd9e54f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for udis86 1.4.
4 #
5 # Report bugs to <vivek@sig9.com>.
6 #
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45 do
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99 fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
155 ;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 as_mkdir_p=false
224 fi
225
226 as_executable_p="test -f"
227
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233
234
235 # IFS
236 # We need space, tab and new line, in precisely that order.
237 as_nl='
238 '
239 IFS=" $as_nl"
240
241 # CDPATH.
242 $as_unset CDPATH
243
244
245 # Name of the host.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249
250 exec 6>&1
251
252 #
253 # Initializations.
254 #
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
257 cross_compiling=no
258 subdirs=
259 MFLAGS=
260 MAKEFLAGS=
261 SHELL=${CONFIG_SHELL-/bin/sh}
262
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
267
268 # Identity of this package.
269 PACKAGE_NAME='udis86'
270 PACKAGE_TARNAME='udis86'
271 PACKAGE_VERSION='1.4'
272 PACKAGE_STRING='udis86 1.4'
273 PACKAGE_BUGREPORT='vivek@sig9.com'
274
275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
276 ac_subst_files=''
277
278 # Initialize some variables set by options.
279 ac_init_help=
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
283 cache_file=/dev/null
284 exec_prefix=NONE
285 no_create=
286 no_recursion=
287 prefix=NONE
288 program_prefix=NONE
289 program_suffix=NONE
290 program_transform_name=s,x,x,
291 silent=
292 site=
293 srcdir=
294 verbose=
295 x_includes=NONE
296 x_libraries=NONE
297
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
315
316 ac_prev=
317 for ac_option
318 do
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
322 ac_prev=
323 continue
324 fi
325
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327
328 # Accept the important Cygnus configure options, so we can diagnose typos.
329
330 case $ac_option in
331
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 ac_prev=bindir ;;
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335 bindir=$ac_optarg ;;
336
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
341
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
348
349 --config-cache | -C)
350 cache_file=config.cache ;;
351
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353 ac_prev=datadir ;;
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355 | --da=*)
356 datadir=$ac_optarg ;;
357
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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 eval "enable_$ac_feature=no" ;;
366
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374 case $ac_option in
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376 *) ac_optarg=yes ;;
377 esac
378 eval "enable_$ac_feature='$ac_optarg'" ;;
379
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
388
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
391 with_gas=yes ;;
392
393 -help | --help | --hel | --he | -h)
394 ac_init_help=long ;;
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
399
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
404
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
411
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
413 ac_prev=infodir ;;
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
416
417 -libdir | --libdir | --libdi | --libd)
418 ac_prev=libdir ;;
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
420 libdir=$ac_optarg ;;
421
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
428
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
437
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439 ac_prev=mandir ;;
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441 mandir=$ac_optarg ;;
442
443 -nfp | --nfp | --nf)
444 # Obsolete; use --without-fp.
445 with_fp=no ;;
446
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
449 no_create=yes ;;
450
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453 no_recursion=yes ;;
454
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
463
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465 ac_prev=prefix ;;
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467 prefix=$ac_optarg ;;
468
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
475
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
482
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
499
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
502 silent=yes ;;
503
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505 ac_prev=sbindir ;;
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507 | --sbi=* | --sb=*)
508 sbindir=$ac_optarg ;;
509
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
513 | --sha | --sh)
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518 | --sha=* | --sh=*)
519 sharedstatedir=$ac_optarg ;;
520
521 -site | --site | --sit)
522 ac_prev=site ;;
523 -site=* | --site=* | --sit=*)
524 site=$ac_optarg ;;
525
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527 ac_prev=srcdir ;;
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529 srcdir=$ac_optarg ;;
530
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
537
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
542
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
544 verbose=yes ;;
545
546 -version | --version | --versio | --versi | --vers | -V)
547 ac_init_version=: ;;
548
549 -with-* | --with-*)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package| sed 's/-/_/g'`
556 case $ac_option in
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558 *) ac_optarg=yes ;;
559 esac
560 eval "with_$ac_package='$ac_optarg'" ;;
561
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
570
571 --x)
572 # Obsolete; use --with-x.
573 with_x=yes ;;
574
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
581
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
588
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
592 ;;
593
594 *=*)
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
602 export $ac_envvar ;;
603
604 *)
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
610 ;;
611
612 esac
613 done
614
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
619 fi
620
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
623 do
624 eval ac_val=$`echo $ac_var`
625 case $ac_val in
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
629 esac
630 done
631
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
635 do
636 eval ac_val=$`echo $ac_var`
637 case $ac_val in
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
641 esac
642 done
643
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
647 build=$build_alias
648 host=$host_alias
649 target=$target_alias
650
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
658 cross_compiling=yes
659 fi
660 fi
661
662 ac_tool_prefix=
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
665 test "$silent" = yes && exec 6>/dev/null
666
667
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
678 echo X"$0" |
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
683 s/.*/./; q'`
684 srcdir=$ac_confdir
685 if test ! -r $srcdir/$ac_unique_file; then
686 srcdir=..
687 fi
688 else
689 ac_srcdir_defaulted=no
690 fi
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
695 else
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
698 fi
699 fi
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CC_set=${CC+set}
717 ac_env_CC_value=$CC
718 ac_cv_env_CC_set=${CC+set}
719 ac_cv_env_CC_value=$CC
720 ac_env_CFLAGS_set=${CFLAGS+set}
721 ac_env_CFLAGS_value=$CFLAGS
722 ac_cv_env_CFLAGS_set=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value=$CFLAGS
724 ac_env_LDFLAGS_set=${LDFLAGS+set}
725 ac_env_LDFLAGS_value=$LDFLAGS
726 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value=$LDFLAGS
728 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732
733 #
734 # Report the --help message.
735 #
736 if test "$ac_init_help" = "long"; then
737 # Omit some internal or obsolete options to make the list less imposing.
738 # This message is too long to be a string in the A/UX 3.1 sh.
739 cat <<_ACEOF
740 \`configure' configures udis86 1.4 to adapt to many kinds of systems.
741
742 Usage: $0 [OPTION]... [VAR=VALUE]...
743
744 To assign environment variables (e.g., CC, CFLAGS...), specify them as
745 VAR=VALUE. See below for descriptions of some of the useful variables.
746
747 Defaults for the options are specified in brackets.
748
749 Configuration:
750 -h, --help display this help and exit
751 --help=short display options specific to this package
752 --help=recursive display the short help of all the included packages
753 -V, --version display version information and exit
754 -q, --quiet, --silent do not print \`checking...' messages
755 --cache-file=FILE cache test results in FILE [disabled]
756 -C, --config-cache alias for \`--cache-file=config.cache'
757 -n, --no-create do not create output files
758 --srcdir=DIR find the sources in DIR [configure dir or \`..']
759
760 _ACEOF
761
762 cat <<_ACEOF
763 Installation directories:
764 --prefix=PREFIX install architecture-independent files in PREFIX
765 [$ac_default_prefix]
766 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
767 [PREFIX]
768
769 By default, \`make install' will install all the files in
770 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772 for instance \`--prefix=\$HOME'.
773
774 For better control, use the options below.
775
776 Fine tuning of the installation directories:
777 --bindir=DIR user executables [EPREFIX/bin]
778 --sbindir=DIR system admin executables [EPREFIX/sbin]
779 --libexecdir=DIR program executables [EPREFIX/libexec]
780 --datadir=DIR read-only architecture-independent data [PREFIX/share]
781 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
784 --libdir=DIR object code libraries [EPREFIX/lib]
785 --includedir=DIR C header files [PREFIX/include]
786 --oldincludedir=DIR C header files for non-gcc [/usr/include]
787 --infodir=DIR info documentation [PREFIX/info]
788 --mandir=DIR man documentation [PREFIX/man]
789 _ACEOF
790
791 cat <<\_ACEOF
792 _ACEOF
793 fi
794
795 if test -n "$ac_init_help"; then
796 case $ac_init_help in
797 short | recursive ) echo "Configuration of udis86 1.4:";;
798 esac
799 cat <<\_ACEOF
800
801 Some influential environment variables:
802 CC C compiler command
803 CFLAGS C compiler flags
804 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
805 nonstandard directory <lib dir>
806 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
807 headers in a nonstandard directory <include dir>
808
809 Use these variables to override the choices made by `configure' or to help
810 it to find libraries and programs with nonstandard names/locations.
811
812 Report bugs to <vivek@sig9.com>.
813 _ACEOF
814 fi
815
816 if test "$ac_init_help" = "recursive"; then
817 # If there are subdirs, report their specific --help.
818 ac_popdir=`pwd`
819 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
820 test -d $ac_dir || continue
821 ac_builddir=.
822
823 if test "$ac_dir" != .; then
824 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
825 # A "../" for each directory in $ac_dir_suffix.
826 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
827 else
828 ac_dir_suffix= ac_top_builddir=
829 fi
830
831 case $srcdir in
832 .) # No --srcdir option. We are building in place.
833 ac_srcdir=.
834 if test -z "$ac_top_builddir"; then
835 ac_top_srcdir=.
836 else
837 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
838 fi ;;
839 [\\/]* | ?:[\\/]* ) # Absolute path.
840 ac_srcdir=$srcdir$ac_dir_suffix;
841 ac_top_srcdir=$srcdir ;;
842 *) # Relative path.
843 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
844 ac_top_srcdir=$ac_top_builddir$srcdir ;;
845 esac
846 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
847 # absolute.
848 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
849 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
850 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
851 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
852
853 cd $ac_dir
854 # Check for guested configure; otherwise get Cygnus style configure.
855 if test -f $ac_srcdir/configure.gnu; then
856 echo
857 $SHELL $ac_srcdir/configure.gnu --help=recursive
858 elif test -f $ac_srcdir/configure; then
859 echo
860 $SHELL $ac_srcdir/configure --help=recursive
861 elif test -f $ac_srcdir/configure.ac ||
862 test -f $ac_srcdir/configure.in; then
863 echo
864 $ac_configure --help
865 else
866 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
867 fi
868 cd $ac_popdir
869 done
870 fi
871
872 test -n "$ac_init_help" && exit 0
873 if $ac_init_version; then
874 cat <<\_ACEOF
875 udis86 configure 1.4
876 generated by GNU Autoconf 2.57
877
878 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
879 Free Software Foundation, Inc.
880 This configure script is free software; the Free Software Foundation
881 gives unlimited permission to copy, distribute and modify it.
882 _ACEOF
883 exit 0
884 fi
885 exec 5>config.log
886 cat >&5 <<_ACEOF
887 This file contains any messages produced by compilers while
888 running configure, to aid debugging if configure makes a mistake.
889
890 It was created by udis86 $as_me 1.4, which was
891 generated by GNU Autoconf 2.57. Invocation command line was
892
893 $ $0 $@
894
895 _ACEOF
896 {
897 cat <<_ASUNAME
898 ## --------- ##
899 ## Platform. ##
900 ## --------- ##
901
902 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
903 uname -m = `(uname -m) 2>/dev/null || echo unknown`
904 uname -r = `(uname -r) 2>/dev/null || echo unknown`
905 uname -s = `(uname -s) 2>/dev/null || echo unknown`
906 uname -v = `(uname -v) 2>/dev/null || echo unknown`
907
908 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
909 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
910
911 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
912 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
913 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
914 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
915 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
916 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
917 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
918
919 _ASUNAME
920
921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
922 for as_dir in $PATH
923 do
924 IFS=$as_save_IFS
925 test -z "$as_dir" && as_dir=.
926 echo "PATH: $as_dir"
927 done
928
929 } >&5
930
931 cat >&5 <<_ACEOF
932
933
934 ## ----------- ##
935 ## Core tests. ##
936 ## ----------- ##
937
938 _ACEOF
939
940
941 # Keep a trace of the command line.
942 # Strip out --no-create and --no-recursion so they do not pile up.
943 # Strip out --silent because we don't want to record it for future runs.
944 # Also quote any args containing shell meta-characters.
945 # Make two passes to allow for proper duplicate-argument suppression.
946 ac_configure_args=
947 ac_configure_args0=
948 ac_configure_args1=
949 ac_sep=
950 ac_must_keep_next=false
951 for ac_pass in 1 2
952 do
953 for ac_arg
954 do
955 case $ac_arg in
956 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
957 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
958 | -silent | --silent | --silen | --sile | --sil)
959 continue ;;
960 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
961 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
962 esac
963 case $ac_pass in
964 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
965 2)
966 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
967 if test $ac_must_keep_next = true; then
968 ac_must_keep_next=false # Got value, back to normal.
969 else
970 case $ac_arg in
971 *=* | --config-cache | -C | -disable-* | --disable-* \
972 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
973 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
974 | -with-* | --with-* | -without-* | --without-* | --x)
975 case "$ac_configure_args0 " in
976 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
977 esac
978 ;;
979 -* ) ac_must_keep_next=true ;;
980 esac
981 fi
982 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
983 # Get rid of the leading space.
984 ac_sep=" "
985 ;;
986 esac
987 done
988 done
989 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
990 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
991
992 # When interrupted or exit'd, cleanup temporary files, and complete
993 # config.log. We remove comments because anyway the quotes in there
994 # would cause problems or look ugly.
995 # WARNING: Be sure not to use single quotes in there, as some shells,
996 # such as our DU 5.0 friend, will then `close' the trap.
997 trap 'exit_status=$?
998 # Save into config.log some information that might help in debugging.
999 {
1000 echo
1001
1002 cat <<\_ASBOX
1003 ## ---------------- ##
1004 ## Cache variables. ##
1005 ## ---------------- ##
1006 _ASBOX
1007 echo
1008 # The following way of writing the cache mishandles newlines in values,
1009 {
1010 (set) 2>&1 |
1011 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1012 *ac_space=\ *)
1013 sed -n \
1014 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1015 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1016 ;;
1017 *)
1018 sed -n \
1019 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1020 ;;
1021 esac;
1022 }
1023 echo
1024
1025 cat <<\_ASBOX
1026 ## ----------------- ##
1027 ## Output variables. ##
1028 ## ----------------- ##
1029 _ASBOX
1030 echo
1031 for ac_var in $ac_subst_vars
1032 do
1033 eval ac_val=$`echo $ac_var`
1034 echo "$ac_var='"'"'$ac_val'"'"'"
1035 done | sort
1036 echo
1037
1038 if test -n "$ac_subst_files"; then
1039 cat <<\_ASBOX
1040 ## ------------- ##
1041 ## Output files. ##
1042 ## ------------- ##
1043 _ASBOX
1044 echo
1045 for ac_var in $ac_subst_files
1046 do
1047 eval ac_val=$`echo $ac_var`
1048 echo "$ac_var='"'"'$ac_val'"'"'"
1049 done | sort
1050 echo
1051 fi
1052
1053 if test -s confdefs.h; then
1054 cat <<\_ASBOX
1055 ## ----------- ##
1056 ## confdefs.h. ##
1057 ## ----------- ##
1058 _ASBOX
1059 echo
1060 sed "/^$/d" confdefs.h | sort
1061 echo
1062 fi
1063 test "$ac_signal" != 0 &&
1064 echo "$as_me: caught signal $ac_signal"
1065 echo "$as_me: exit $exit_status"
1066 } >&5
1067 rm -f core core.* *.core &&
1068 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1069 exit $exit_status
1070 ' 0
1071 for ac_signal in 1 2 13 15; do
1072 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1073 done
1074 ac_signal=0
1075
1076 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1077 rm -rf conftest* confdefs.h
1078 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1079 echo >confdefs.h
1080
1081 # Predefined preprocessor variables.
1082
1083 cat >>confdefs.h <<_ACEOF
1084 #define PACKAGE_NAME "$PACKAGE_NAME"
1085 _ACEOF
1086
1087
1088 cat >>confdefs.h <<_ACEOF
1089 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1090 _ACEOF
1091
1092
1093 cat >>confdefs.h <<_ACEOF
1094 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1095 _ACEOF
1096
1097
1098 cat >>confdefs.h <<_ACEOF
1099 #define PACKAGE_STRING "$PACKAGE_STRING"
1100 _ACEOF
1101
1102
1103 cat >>confdefs.h <<_ACEOF
1104 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1105 _ACEOF
1106
1107
1108 # Let the site file select an alternate cache file if it wants to.
1109 # Prefer explicitly selected file to automatically selected ones.
1110 if test -z "$CONFIG_SITE"; then
1111 if test "x$prefix" != xNONE; then
1112 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1113 else
1114 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1115 fi
1116 fi
1117 for ac_site_file in $CONFIG_SITE; do
1118 if test -r "$ac_site_file"; then
1119 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1120 echo "$as_me: loading site script $ac_site_file" >&6;}
1121 sed 's/^/| /' "$ac_site_file" >&5
1122 . "$ac_site_file"
1123 fi
1124 done
1125
1126 if test -r "$cache_file"; then
1127 # Some versions of bash will fail to source /dev/null (special
1128 # files actually), so we avoid doing that.
1129 if test -f "$cache_file"; then
1130 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1131 echo "$as_me: loading cache $cache_file" >&6;}
1132 case $cache_file in
1133 [\\/]* | ?:[\\/]* ) . $cache_file;;
1134 *) . ./$cache_file;;
1135 esac
1136 fi
1137 else
1138 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1139 echo "$as_me: creating cache $cache_file" >&6;}
1140 >$cache_file
1141 fi
1142
1143 # Check that the precious variables saved in the cache have kept the same
1144 # value.
1145 ac_cache_corrupted=false
1146 for ac_var in `(set) 2>&1 |
1147 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1148 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1149 eval ac_new_set=\$ac_env_${ac_var}_set
1150 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1151 eval ac_new_val="\$ac_env_${ac_var}_value"
1152 case $ac_old_set,$ac_new_set in
1153 set,)
1154 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1155 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1156 ac_cache_corrupted=: ;;
1157 ,set)
1158 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1159 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1160 ac_cache_corrupted=: ;;
1161 ,);;
1162 *)
1163 if test "x$ac_old_val" != "x$ac_new_val"; then
1164 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1165 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1166 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1167 echo "$as_me: former value: $ac_old_val" >&2;}
1168 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1169 echo "$as_me: current value: $ac_new_val" >&2;}
1170 ac_cache_corrupted=:
1171 fi;;
1172 esac
1173 # Pass precious variables to config.status.
1174 if test "$ac_new_set" = set; then
1175 case $ac_new_val in
1176 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1177 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1178 *) ac_arg=$ac_var=$ac_new_val ;;
1179 esac
1180 case " $ac_configure_args " in
1181 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1182 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1183 esac
1184 fi
1185 done
1186 if $ac_cache_corrupted; then
1187 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1188 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1189 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1190 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1191 { (exit 1); exit 1; }; }
1192 fi
1193
1194 ac_ext=c
1195 ac_cpp='$CPP $CPPFLAGS'
1196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226 ac_ext=c
1227 ac_cpp='$CPP $CPPFLAGS'
1228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1231 if test -n "$ac_tool_prefix"; then
1232 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1233 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1234 echo "$as_me:$LINENO: checking for $ac_word" >&5
1235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1236 if test "${ac_cv_prog_CC+set}" = set; then
1237 echo $ECHO_N "(cached) $ECHO_C" >&6
1238 else
1239 if test -n "$CC"; then
1240 ac_cv_prog_CC="$CC" # Let the user override the test.
1241 else
1242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1243 for as_dir in $PATH
1244 do
1245 IFS=$as_save_IFS
1246 test -z "$as_dir" && as_dir=.
1247 for ac_exec_ext in '' $ac_executable_extensions; do
1248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1249 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1251 break 2
1252 fi
1253 done
1254 done
1255
1256 fi
1257 fi
1258 CC=$ac_cv_prog_CC
1259 if test -n "$CC"; then
1260 echo "$as_me:$LINENO: result: $CC" >&5
1261 echo "${ECHO_T}$CC" >&6
1262 else
1263 echo "$as_me:$LINENO: result: no" >&5
1264 echo "${ECHO_T}no" >&6
1265 fi
1266
1267 fi
1268 if test -z "$ac_cv_prog_CC"; then
1269 ac_ct_CC=$CC
1270 # Extract the first word of "gcc", so it can be a program name with args.
1271 set dummy gcc; ac_word=$2
1272 echo "$as_me:$LINENO: checking for $ac_word" >&5
1273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1275 echo $ECHO_N "(cached) $ECHO_C" >&6
1276 else
1277 if test -n "$ac_ct_CC"; then
1278 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1279 else
1280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1281 for as_dir in $PATH
1282 do
1283 IFS=$as_save_IFS
1284 test -z "$as_dir" && as_dir=.
1285 for ac_exec_ext in '' $ac_executable_extensions; do
1286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1287 ac_cv_prog_ac_ct_CC="gcc"
1288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1289 break 2
1290 fi
1291 done
1292 done
1293
1294 fi
1295 fi
1296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1297 if test -n "$ac_ct_CC"; then
1298 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1299 echo "${ECHO_T}$ac_ct_CC" >&6
1300 else
1301 echo "$as_me:$LINENO: result: no" >&5
1302 echo "${ECHO_T}no" >&6
1303 fi
1304
1305 CC=$ac_ct_CC
1306 else
1307 CC="$ac_cv_prog_CC"
1308 fi
1309
1310 if test -z "$CC"; then
1311 if test -n "$ac_tool_prefix"; then
1312 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1313 set dummy ${ac_tool_prefix}cc; ac_word=$2
1314 echo "$as_me:$LINENO: checking for $ac_word" >&5
1315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1316 if test "${ac_cv_prog_CC+set}" = set; then
1317 echo $ECHO_N "(cached) $ECHO_C" >&6
1318 else
1319 if test -n "$CC"; then
1320 ac_cv_prog_CC="$CC" # Let the user override the test.
1321 else
1322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1323 for as_dir in $PATH
1324 do
1325 IFS=$as_save_IFS
1326 test -z "$as_dir" && as_dir=.
1327 for ac_exec_ext in '' $ac_executable_extensions; do
1328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1329 ac_cv_prog_CC="${ac_tool_prefix}cc"
1330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1331 break 2
1332 fi
1333 done
1334 done
1335
1336 fi
1337 fi
1338 CC=$ac_cv_prog_CC
1339 if test -n "$CC"; then
1340 echo "$as_me:$LINENO: result: $CC" >&5
1341 echo "${ECHO_T}$CC" >&6
1342 else
1343 echo "$as_me:$LINENO: result: no" >&5
1344 echo "${ECHO_T}no" >&6
1345 fi
1346
1347 fi
1348 if test -z "$ac_cv_prog_CC"; then
1349 ac_ct_CC=$CC
1350 # Extract the first word of "cc", so it can be a program name with args.
1351 set dummy cc; ac_word=$2
1352 echo "$as_me:$LINENO: checking for $ac_word" >&5
1353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1354 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1355 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 else
1357 if test -n "$ac_ct_CC"; then
1358 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1359 else
1360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1361 for as_dir in $PATH
1362 do
1363 IFS=$as_save_IFS
1364 test -z "$as_dir" && as_dir=.
1365 for ac_exec_ext in '' $ac_executable_extensions; do
1366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1367 ac_cv_prog_ac_ct_CC="cc"
1368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1369 break 2
1370 fi
1371 done
1372 done
1373
1374 fi
1375 fi
1376 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1377 if test -n "$ac_ct_CC"; then
1378 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1379 echo "${ECHO_T}$ac_ct_CC" >&6
1380 else
1381 echo "$as_me:$LINENO: result: no" >&5
1382 echo "${ECHO_T}no" >&6
1383 fi
1384
1385 CC=$ac_ct_CC
1386 else
1387 CC="$ac_cv_prog_CC"
1388 fi
1389
1390 fi
1391 if test -z "$CC"; then
1392 # Extract the first word of "cc", so it can be a program name with args.
1393 set dummy cc; ac_word=$2
1394 echo "$as_me:$LINENO: checking for $ac_word" >&5
1395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1396 if test "${ac_cv_prog_CC+set}" = set; then
1397 echo $ECHO_N "(cached) $ECHO_C" >&6
1398 else
1399 if test -n "$CC"; then
1400 ac_cv_prog_CC="$CC" # Let the user override the test.
1401 else
1402 ac_prog_rejected=no
1403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1404 for as_dir in $PATH
1405 do
1406 IFS=$as_save_IFS
1407 test -z "$as_dir" && as_dir=.
1408 for ac_exec_ext in '' $ac_executable_extensions; do
1409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1410 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1411 ac_prog_rejected=yes
1412 continue
1413 fi
1414 ac_cv_prog_CC="cc"
1415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1416 break 2
1417 fi
1418 done
1419 done
1420
1421 if test $ac_prog_rejected = yes; then
1422 # We found a bogon in the path, so make sure we never use it.
1423 set dummy $ac_cv_prog_CC
1424 shift
1425 if test $# != 0; then
1426 # We chose a different compiler from the bogus one.
1427 # However, it has the same basename, so the bogon will be chosen
1428 # first if we set CC to just the basename; use the full file name.
1429 shift
1430 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1431 fi
1432 fi
1433 fi
1434 fi
1435 CC=$ac_cv_prog_CC
1436 if test -n "$CC"; then
1437 echo "$as_me:$LINENO: result: $CC" >&5
1438 echo "${ECHO_T}$CC" >&6
1439 else
1440 echo "$as_me:$LINENO: result: no" >&5
1441 echo "${ECHO_T}no" >&6
1442 fi
1443
1444 fi
1445 if test -z "$CC"; then
1446 if test -n "$ac_tool_prefix"; then
1447 for ac_prog in cl
1448 do
1449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1451 echo "$as_me:$LINENO: checking for $ac_word" >&5
1452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1453 if test "${ac_cv_prog_CC+set}" = set; then
1454 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 else
1456 if test -n "$CC"; then
1457 ac_cv_prog_CC="$CC" # Let the user override the test.
1458 else
1459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1460 for as_dir in $PATH
1461 do
1462 IFS=$as_save_IFS
1463 test -z "$as_dir" && as_dir=.
1464 for ac_exec_ext in '' $ac_executable_extensions; do
1465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1466 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1468 break 2
1469 fi
1470 done
1471 done
1472
1473 fi
1474 fi
1475 CC=$ac_cv_prog_CC
1476 if test -n "$CC"; then
1477 echo "$as_me:$LINENO: result: $CC" >&5
1478 echo "${ECHO_T}$CC" >&6
1479 else
1480 echo "$as_me:$LINENO: result: no" >&5
1481 echo "${ECHO_T}no" >&6
1482 fi
1483
1484 test -n "$CC" && break
1485 done
1486 fi
1487 if test -z "$CC"; then
1488 ac_ct_CC=$CC
1489 for ac_prog in cl
1490 do
1491 # Extract the first word of "$ac_prog", so it can be a program name with args.
1492 set dummy $ac_prog; ac_word=$2
1493 echo "$as_me:$LINENO: checking for $ac_word" >&5
1494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1495 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1496 echo $ECHO_N "(cached) $ECHO_C" >&6
1497 else
1498 if test -n "$ac_ct_CC"; then
1499 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1500 else
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502 for as_dir in $PATH
1503 do
1504 IFS=$as_save_IFS
1505 test -z "$as_dir" && as_dir=.
1506 for ac_exec_ext in '' $ac_executable_extensions; do
1507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1508 ac_cv_prog_ac_ct_CC="$ac_prog"
1509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1510 break 2
1511 fi
1512 done
1513 done
1514
1515 fi
1516 fi
1517 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1518 if test -n "$ac_ct_CC"; then
1519 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1520 echo "${ECHO_T}$ac_ct_CC" >&6
1521 else
1522 echo "$as_me:$LINENO: result: no" >&5
1523 echo "${ECHO_T}no" >&6
1524 fi
1525
1526 test -n "$ac_ct_CC" && break
1527 done
1528
1529 CC=$ac_ct_CC
1530 fi
1531
1532 fi
1533
1534
1535 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1536 See \`config.log' for more details." >&5
1537 echo "$as_me: error: no acceptable C compiler found in \$PATH
1538 See \`config.log' for more details." >&2;}
1539 { (exit 1); exit 1; }; }
1540
1541 # Provide some information about the compiler.
1542 echo "$as_me:$LINENO:" \
1543 "checking for C compiler version" >&5
1544 ac_compiler=`set X $ac_compile; echo $2`
1545 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1546 (eval $ac_compiler --version </dev/null >&5) 2>&5
1547 ac_status=$?
1548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1549 (exit $ac_status); }
1550 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1551 (eval $ac_compiler -v </dev/null >&5) 2>&5
1552 ac_status=$?
1553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1554 (exit $ac_status); }
1555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1556 (eval $ac_compiler -V </dev/null >&5) 2>&5
1557 ac_status=$?
1558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1559 (exit $ac_status); }
1560
1561 cat >conftest.$ac_ext <<_ACEOF
1562 #line $LINENO "configure"
1563 /* confdefs.h. */
1564 _ACEOF
1565 cat confdefs.h >>conftest.$ac_ext
1566 cat >>conftest.$ac_ext <<_ACEOF
1567 /* end confdefs.h. */
1568
1569 int
1570 main ()
1571 {
1572
1573 ;
1574 return 0;
1575 }
1576 _ACEOF
1577 ac_clean_files_save=$ac_clean_files
1578 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1579 # Try to create an executable without -o first, disregard a.out.
1580 # It will help us diagnose broken compilers, and finding out an intuition
1581 # of exeext.
1582 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1583 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1584 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1585 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1586 (eval $ac_link_default) 2>&5
1587 ac_status=$?
1588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1589 (exit $ac_status); }; then
1590 # Find the output, starting from the most likely. This scheme is
1591 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1592 # resort.
1593
1594 # Be careful to initialize this variable, since it used to be cached.
1595 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1596 ac_cv_exeext=
1597 # b.out is created by i960 compilers.
1598 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1599 do
1600 test -f "$ac_file" || continue
1601 case $ac_file in
1602 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1603 ;;
1604 conftest.$ac_ext )
1605 # This is the source file.
1606 ;;
1607 [ab].out )
1608 # We found the default executable, but exeext='' is most
1609 # certainly right.
1610 break;;
1611 *.* )
1612 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1613 # FIXME: I believe we export ac_cv_exeext for Libtool,
1614 # but it would be cool to find out if it's true. Does anybody
1615 # maintain Libtool? --akim.
1616 export ac_cv_exeext
1617 break;;
1618 * )
1619 break;;
1620 esac
1621 done
1622 else
1623 echo "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.$ac_ext >&5
1625
1626 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1627 See \`config.log' for more details." >&5
1628 echo "$as_me: error: C compiler cannot create executables
1629 See \`config.log' for more details." >&2;}
1630 { (exit 77); exit 77; }; }
1631 fi
1632
1633 ac_exeext=$ac_cv_exeext
1634 echo "$as_me:$LINENO: result: $ac_file" >&5
1635 echo "${ECHO_T}$ac_file" >&6
1636
1637 # Check the compiler produces executables we can run. If not, either
1638 # the compiler is broken, or we cross compile.
1639 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1640 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1641 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1642 # If not cross compiling, check that we can run a simple program.
1643 if test "$cross_compiling" != yes; then
1644 if { ac_try='./$ac_file'
1645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1646 (eval $ac_try) 2>&5
1647 ac_status=$?
1648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1649 (exit $ac_status); }; }; then
1650 cross_compiling=no
1651 else
1652 if test "$cross_compiling" = maybe; then
1653 cross_compiling=yes
1654 else
1655 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1656 If you meant to cross compile, use \`--host'.
1657 See \`config.log' for more details." >&5
1658 echo "$as_me: error: cannot run C compiled programs.
1659 If you meant to cross compile, use \`--host'.
1660 See \`config.log' for more details." >&2;}
1661 { (exit 1); exit 1; }; }
1662 fi
1663 fi
1664 fi
1665 echo "$as_me:$LINENO: result: yes" >&5
1666 echo "${ECHO_T}yes" >&6
1667
1668 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1669 ac_clean_files=$ac_clean_files_save
1670 # Check the compiler produces executables we can run. If not, either
1671 # the compiler is broken, or we cross compile.
1672 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1673 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1674 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1675 echo "${ECHO_T}$cross_compiling" >&6
1676
1677 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1678 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1680 (eval $ac_link) 2>&5
1681 ac_status=$?
1682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1683 (exit $ac_status); }; then
1684 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1685 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1686 # work properly (i.e., refer to `conftest.exe'), while it won't with
1687 # `rm'.
1688 for ac_file in conftest.exe conftest conftest.*; do
1689 test -f "$ac_file" || continue
1690 case $ac_file in
1691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1692 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1693 export ac_cv_exeext
1694 break;;
1695 * ) break;;
1696 esac
1697 done
1698 else
1699 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1700 See \`config.log' for more details." >&5
1701 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1702 See \`config.log' for more details." >&2;}
1703 { (exit 1); exit 1; }; }
1704 fi
1705
1706 rm -f conftest$ac_cv_exeext
1707 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1708 echo "${ECHO_T}$ac_cv_exeext" >&6
1709
1710 rm -f conftest.$ac_ext
1711 EXEEXT=$ac_cv_exeext
1712 ac_exeext=$EXEEXT
1713 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1714 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1715 if test "${ac_cv_objext+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 else
1718 cat >conftest.$ac_ext <<_ACEOF
1719 #line $LINENO "configure"
1720 /* confdefs.h. */
1721 _ACEOF
1722 cat confdefs.h >>conftest.$ac_ext
1723 cat >>conftest.$ac_ext <<_ACEOF
1724 /* end confdefs.h. */
1725
1726 int
1727 main ()
1728 {
1729
1730 ;
1731 return 0;
1732 }
1733 _ACEOF
1734 rm -f conftest.o conftest.obj
1735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1736 (eval $ac_compile) 2>&5
1737 ac_status=$?
1738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1739 (exit $ac_status); }; then
1740 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1741 case $ac_file in
1742 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1743 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1744 break;;
1745 esac
1746 done
1747 else
1748 echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1750
1751 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1752 See \`config.log' for more details." >&5
1753 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1754 See \`config.log' for more details." >&2;}
1755 { (exit 1); exit 1; }; }
1756 fi
1757
1758 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1759 fi
1760 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1761 echo "${ECHO_T}$ac_cv_objext" >&6
1762 OBJEXT=$ac_cv_objext
1763 ac_objext=$OBJEXT
1764 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1765 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1766 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1768 else
1769 cat >conftest.$ac_ext <<_ACEOF
1770 #line $LINENO "configure"
1771 /* confdefs.h. */
1772 _ACEOF
1773 cat confdefs.h >>conftest.$ac_ext
1774 cat >>conftest.$ac_ext <<_ACEOF
1775 /* end confdefs.h. */
1776
1777 int
1778 main ()
1779 {
1780 #ifndef __GNUC__
1781 choke me
1782 #endif
1783
1784 ;
1785 return 0;
1786 }
1787 _ACEOF
1788 rm -f conftest.$ac_objext
1789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1790 (eval $ac_compile) 2>&5
1791 ac_status=$?
1792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793 (exit $ac_status); } &&
1794 { ac_try='test -s conftest.$ac_objext'
1795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1796 (eval $ac_try) 2>&5
1797 ac_status=$?
1798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1799 (exit $ac_status); }; }; then
1800 ac_compiler_gnu=yes
1801 else
1802 echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.$ac_ext >&5
1804
1805 ac_compiler_gnu=no
1806 fi
1807 rm -f conftest.$ac_objext conftest.$ac_ext
1808 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1809
1810 fi
1811 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1812 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1813 GCC=`test $ac_compiler_gnu = yes && echo yes`
1814 ac_test_CFLAGS=${CFLAGS+set}
1815 ac_save_CFLAGS=$CFLAGS
1816 CFLAGS="-g"
1817 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1818 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1819 if test "${ac_cv_prog_cc_g+set}" = set; then
1820 echo $ECHO_N "(cached) $ECHO_C" >&6
1821 else
1822 cat >conftest.$ac_ext <<_ACEOF
1823 #line $LINENO "configure"
1824 /* confdefs.h. */
1825 _ACEOF
1826 cat confdefs.h >>conftest.$ac_ext
1827 cat >>conftest.$ac_ext <<_ACEOF
1828 /* end confdefs.h. */
1829
1830 int
1831 main ()
1832 {
1833
1834 ;
1835 return 0;
1836 }
1837 _ACEOF
1838 rm -f conftest.$ac_objext
1839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1840 (eval $ac_compile) 2>&5
1841 ac_status=$?
1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843 (exit $ac_status); } &&
1844 { ac_try='test -s conftest.$ac_objext'
1845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1846 (eval $ac_try) 2>&5
1847 ac_status=$?
1848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1849 (exit $ac_status); }; }; then
1850 ac_cv_prog_cc_g=yes
1851 else
1852 echo "$as_me: failed program was:" >&5
1853 sed 's/^/| /' conftest.$ac_ext >&5
1854
1855 ac_cv_prog_cc_g=no
1856 fi
1857 rm -f conftest.$ac_objext conftest.$ac_ext
1858 fi
1859 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1860 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1861 if test "$ac_test_CFLAGS" = set; then
1862 CFLAGS=$ac_save_CFLAGS
1863 elif test $ac_cv_prog_cc_g = yes; then
1864 if test "$GCC" = yes; then
1865 CFLAGS="-g -O2"
1866 else
1867 CFLAGS="-g"
1868 fi
1869 else
1870 if test "$GCC" = yes; then
1871 CFLAGS="-O2"
1872 else
1873 CFLAGS=
1874 fi
1875 fi
1876 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1877 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1878 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 else
1881 ac_cv_prog_cc_stdc=no
1882 ac_save_CC=$CC
1883 cat >conftest.$ac_ext <<_ACEOF
1884 #line $LINENO "configure"
1885 /* confdefs.h. */
1886 _ACEOF
1887 cat confdefs.h >>conftest.$ac_ext
1888 cat >>conftest.$ac_ext <<_ACEOF
1889 /* end confdefs.h. */
1890 #include <stdarg.h>
1891 #include <stdio.h>
1892 #include <sys/types.h>
1893 #include <sys/stat.h>
1894 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1895 struct buf { int x; };
1896 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1897 static char *e (p, i)
1898 char **p;
1899 int i;
1900 {
1901 return p[i];
1902 }
1903 static char *f (char * (*g) (char **, int), char **p, ...)
1904 {
1905 char *s;
1906 va_list v;
1907 va_start (v,p);
1908 s = g (p, va_arg (v,int));
1909 va_end (v);
1910 return s;
1911 }
1912 int test (int i, double x);
1913 struct s1 {int (*f) (int a);};
1914 struct s2 {int (*f) (double a);};
1915 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1916 int argc;
1917 char **argv;
1918 int
1919 main ()
1920 {
1921 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1922 ;
1923 return 0;
1924 }
1925 _ACEOF
1926 # Don't try gcc -ansi; that turns off useful extensions and
1927 # breaks some systems' header files.
1928 # AIX -qlanglvl=ansi
1929 # Ultrix and OSF/1 -std1
1930 # HP-UX 10.20 and later -Ae
1931 # HP-UX older versions -Aa -D_HPUX_SOURCE
1932 # SVR4 -Xc -D__EXTENSIONS__
1933 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1934 do
1935 CC="$ac_save_CC $ac_arg"
1936 rm -f conftest.$ac_objext
1937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1938 (eval $ac_compile) 2>&5
1939 ac_status=$?
1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941 (exit $ac_status); } &&
1942 { ac_try='test -s conftest.$ac_objext'
1943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1944 (eval $ac_try) 2>&5
1945 ac_status=$?
1946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1947 (exit $ac_status); }; }; then
1948 ac_cv_prog_cc_stdc=$ac_arg
1949 break
1950 else
1951 echo "$as_me: failed program was:" >&5
1952 sed 's/^/| /' conftest.$ac_ext >&5
1953
1954 fi
1955 rm -f conftest.$ac_objext
1956 done
1957 rm -f conftest.$ac_ext conftest.$ac_objext
1958 CC=$ac_save_CC
1959
1960 fi
1961
1962 case "x$ac_cv_prog_cc_stdc" in
1963 x|xno)
1964 echo "$as_me:$LINENO: result: none needed" >&5
1965 echo "${ECHO_T}none needed" >&6 ;;
1966 *)
1967 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1968 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1969 CC="$CC $ac_cv_prog_cc_stdc" ;;
1970 esac
1971
1972 # Some people use a C++ compiler to compile C. Since we use `exit',
1973 # in C++ we need to declare it. In case someone uses the same compiler
1974 # for both compiling C and C++ we need to have the C++ compiler decide
1975 # the declaration of exit, since it's the most demanding environment.
1976 cat >conftest.$ac_ext <<_ACEOF
1977 #ifndef __cplusplus
1978 choke me
1979 #endif
1980 _ACEOF
1981 rm -f conftest.$ac_objext
1982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1983 (eval $ac_compile) 2>&5
1984 ac_status=$?
1985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1986 (exit $ac_status); } &&
1987 { ac_try='test -s conftest.$ac_objext'
1988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1989 (eval $ac_try) 2>&5
1990 ac_status=$?
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); }; }; then
1993 for ac_declaration in \
1994 ''\
1995 '#include <stdlib.h>' \
1996 'extern "C" void std::exit (int) throw (); using std::exit;' \
1997 'extern "C" void std::exit (int); using std::exit;' \
1998 'extern "C" void exit (int) throw ();' \
1999 'extern "C" void exit (int);' \
2000 'void exit (int);'
2001 do
2002 cat >conftest.$ac_ext <<_ACEOF
2003 #line $LINENO "configure"
2004 /* confdefs.h. */
2005 _ACEOF
2006 cat confdefs.h >>conftest.$ac_ext
2007 cat >>conftest.$ac_ext <<_ACEOF
2008 /* end confdefs.h. */
2009 #include <stdlib.h>
2010 $ac_declaration
2011 int
2012 main ()
2013 {
2014 exit (42);
2015 ;
2016 return 0;
2017 }
2018 _ACEOF
2019 rm -f conftest.$ac_objext
2020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2021 (eval $ac_compile) 2>&5
2022 ac_status=$?
2023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024 (exit $ac_status); } &&
2025 { ac_try='test -s conftest.$ac_objext'
2026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2027 (eval $ac_try) 2>&5
2028 ac_status=$?
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); }; }; then
2031 :
2032 else
2033 echo "$as_me: failed program was:" >&5
2034 sed 's/^/| /' conftest.$ac_ext >&5
2035
2036 continue
2037 fi
2038 rm -f conftest.$ac_objext conftest.$ac_ext
2039 cat >conftest.$ac_ext <<_ACEOF
2040 #line $LINENO "configure"
2041 /* confdefs.h. */
2042 _ACEOF
2043 cat confdefs.h >>conftest.$ac_ext
2044 cat >>conftest.$ac_ext <<_ACEOF
2045 /* end confdefs.h. */
2046 $ac_declaration
2047 int
2048 main ()
2049 {
2050 exit (42);
2051 ;
2052 return 0;
2053 }
2054 _ACEOF
2055 rm -f conftest.$ac_objext
2056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2057 (eval $ac_compile) 2>&5
2058 ac_status=$?
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); } &&
2061 { ac_try='test -s conftest.$ac_objext'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2063 (eval $ac_try) 2>&5
2064 ac_status=$?
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; }; then
2067 break
2068 else
2069 echo "$as_me: failed program was:" >&5
2070 sed 's/^/| /' conftest.$ac_ext >&5
2071
2072 fi
2073 rm -f conftest.$ac_objext conftest.$ac_ext
2074 done
2075 rm -f conftest*
2076 if test -n "$ac_declaration"; then
2077 echo '#ifdef __cplusplus' >>confdefs.h
2078 echo $ac_declaration >>confdefs.h
2079 echo '#endif' >>confdefs.h
2080 fi
2081
2082 else
2083 echo "$as_me: failed program was:" >&5
2084 sed 's/^/| /' conftest.$ac_ext >&5
2085
2086 fi
2087 rm -f conftest.$ac_objext conftest.$ac_ext
2088 ac_ext=c
2089 ac_cpp='$CPP $CPPFLAGS'
2090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2093
2094 ac_aux_dir=
2095 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2096 if test -f $ac_dir/install-sh; then
2097 ac_aux_dir=$ac_dir
2098 ac_install_sh="$ac_aux_dir/install-sh -c"
2099 break
2100 elif test -f $ac_dir/install.sh; then
2101 ac_aux_dir=$ac_dir
2102 ac_install_sh="$ac_aux_dir/install.sh -c"
2103 break
2104 elif test -f $ac_dir/shtool; then
2105 ac_aux_dir=$ac_dir
2106 ac_install_sh="$ac_aux_dir/shtool install -c"
2107 break
2108 fi
2109 done
2110 if test -z "$ac_aux_dir"; then
2111 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2112 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2113 { (exit 1); exit 1; }; }
2114 fi
2115 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2116 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2117 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2118
2119 # Find a good install program. We prefer a C program (faster),
2120 # so one script is as good as another. But avoid the broken or
2121 # incompatible versions:
2122 # SysV /etc/install, /usr/sbin/install
2123 # SunOS /usr/etc/install
2124 # IRIX /sbin/install
2125 # AIX /bin/install
2126 # AmigaOS /C/install, which installs bootblocks on floppy discs
2127 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2128 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2129 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2130 # ./install, which can be erroneously created by make from ./install.sh.
2131 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2132 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2133 if test -z "$INSTALL"; then
2134 if test "${ac_cv_path_install+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 else
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2139 do
2140 IFS=$as_save_IFS
2141 test -z "$as_dir" && as_dir=.
2142 # Account for people who put trailing slashes in PATH elements.
2143 case $as_dir/ in
2144 ./ | .// | /cC/* | \
2145 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2146 /usr/ucb/* ) ;;
2147 *)
2148 # OSF1 and SCO ODT 3.0 have their own names for install.
2149 # Don't use installbsd from OSF since it installs stuff as root
2150 # by default.
2151 for ac_prog in ginstall scoinst install; do
2152 for ac_exec_ext in '' $ac_executable_extensions; do
2153 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2154 if test $ac_prog = install &&
2155 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2156 # AIX install. It has an incompatible calling convention.
2157 :
2158 elif test $ac_prog = install &&
2159 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2160 # program-specific install script used by HP pwplus--don't use.
2161 :
2162 else
2163 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2164 break 3
2165 fi
2166 fi
2167 done
2168 done
2169 ;;
2170 esac
2171 done
2172
2173
2174 fi
2175 if test "${ac_cv_path_install+set}" = set; then
2176 INSTALL=$ac_cv_path_install
2177 else
2178 # As a last resort, use the slow shell script. We don't cache a
2179 # path for INSTALL within a source directory, because that will
2180 # break other packages using the cache if that directory is
2181 # removed, or if the path is relative.
2182 INSTALL=$ac_install_sh
2183 fi
2184 fi
2185 echo "$as_me:$LINENO: result: $INSTALL" >&5
2186 echo "${ECHO_T}$INSTALL" >&6
2187
2188 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2189 # It thinks the first close brace ends the variable substitution.
2190 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2191
2192 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2193
2194 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2195
2196 ac_config_files="$ac_config_files Makefile libudis86/Makefile udcli/Makefile"
2197
2198 cat >confcache <<\_ACEOF
2199 # This file is a shell script that caches the results of configure
2200 # tests run on this system so they can be shared between configure
2201 # scripts and configure runs, see configure's option --config-cache.
2202 # It is not useful on other systems. If it contains results you don't
2203 # want to keep, you may remove or edit it.
2204 #
2205 # config.status only pays attention to the cache file if you give it
2206 # the --recheck option to rerun configure.
2207 #
2208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2210 # following values.
2211
2212 _ACEOF
2213
2214 # The following way of writing the cache mishandles newlines in values,
2215 # but we know of no workaround that is simple, portable, and efficient.
2216 # So, don't put newlines in cache variables' values.
2217 # Ultrix sh set writes to stderr and can't be redirected directly,
2218 # and sets the high bit in the cache file unless we assign to the vars.
2219 {
2220 (set) 2>&1 |
2221 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2222 *ac_space=\ *)
2223 # `set' does not quote correctly, so add quotes (double-quote
2224 # substitution turns \\\\ into \\, and sed turns \\ into \).
2225 sed -n \
2226 "s/'/'\\\\''/g;
2227 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2228 ;;
2229 *)
2230 # `set' quotes correctly as required by POSIX, so do not add quotes.
2231 sed -n \
2232 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2233 ;;
2234 esac;
2235 } |
2236 sed '
2237 t clear
2238 : clear
2239 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2240 t end
2241 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2242 : end' >>confcache
2243 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2244 if test -w $cache_file; then
2245 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2246 cat confcache >$cache_file
2247 else
2248 echo "not updating unwritable cache $cache_file"
2249 fi
2250 fi
2251 rm -f confcache
2252
2253 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2254 # Let make expand exec_prefix.
2255 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2256
2257 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2258 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2259 # trailing colons and then remove the whole line if VPATH becomes empty
2260 # (actually we leave an empty line to preserve line numbers).
2261 if test "x$srcdir" = x.; then
2262 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2263 s/:*\$(srcdir):*/:/;
2264 s/:*\${srcdir}:*/:/;
2265 s/:*@srcdir@:*/:/;
2266 s/^\([^=]*=[ ]*\):*/\1/;
2267 s/:*$//;
2268 s/^[^=]*=[ ]*$//;
2269 }'
2270 fi
2271
2272 # Transform confdefs.h into DEFS.
2273 # Protect against shell expansion while executing Makefile rules.
2274 # Protect against Makefile macro expansion.
2275 #
2276 # If the first sed substitution is executed (which looks for macros that
2277 # take arguments), then we branch to the quote section. Otherwise,
2278 # look for a macro that doesn't take arguments.
2279 cat >confdef2opt.sed <<\_ACEOF
2280 t clear
2281 : clear
2282 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2283 t quote
2284 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2285 t quote
2286 d
2287 : quote
2288 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2289 s,\[,\\&,g
2290 s,\],\\&,g
2291 s,\$,$$,g
2292 p
2293 _ACEOF
2294 # We use echo to avoid assuming a particular line-breaking character.
2295 # The extra dot is to prevent the shell from consuming trailing
2296 # line-breaks from the sub-command output. A line-break within
2297 # single-quotes doesn't work because, if this script is created in a
2298 # platform that uses two characters for line-breaks (e.g., DOS), tr
2299 # would break.
2300 ac_LF_and_DOT=`echo; echo .`
2301 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2302 rm -f confdef2opt.sed
2303
2304
2305 ac_libobjs=
2306 ac_ltlibobjs=
2307 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2308 # 1. Remove the extension, and $U if already installed.
2309 ac_i=`echo "$ac_i" |
2310 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2311 # 2. Add them.
2312 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2313 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2314 done
2315 LIBOBJS=$ac_libobjs
2316
2317 LTLIBOBJS=$ac_ltlibobjs
2318
2319
2320
2321 : ${CONFIG_STATUS=./config.status}
2322 ac_clean_files_save=$ac_clean_files
2323 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2324 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2325 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2326 cat >$CONFIG_STATUS <<_ACEOF
2327 #! $SHELL
2328 # Generated by $as_me.
2329 # Run this file to recreate the current configuration.
2330 # Compiler output produced by configure, useful for debugging
2331 # configure, is in config.log if it exists.
2332
2333 debug=false
2334 ac_cs_recheck=false
2335 ac_cs_silent=false
2336 SHELL=\${CONFIG_SHELL-$SHELL}
2337 _ACEOF
2338
2339 cat >>$CONFIG_STATUS <<\_ACEOF
2340 ## --------------------- ##
2341 ## M4sh Initialization. ##
2342 ## --------------------- ##
2343
2344 # Be Bourne compatible
2345 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2346 emulate sh
2347 NULLCMD=:
2348 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2349 # is contrary to our usage. Disable this feature.
2350 alias -g '${1+"$@"}'='"$@"'
2351 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2352 set -o posix
2353 fi
2354
2355 # Support unset when possible.
2356 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2357 as_unset=unset
2358 else
2359 as_unset=false
2360 fi
2361
2362
2363 # Work around bugs in pre-3.0 UWIN ksh.
2364 $as_unset ENV MAIL MAILPATH
2365 PS1='$ '
2366 PS2='> '
2367 PS4='+ '
2368
2369 # NLS nuisances.
2370 for as_var in \
2371 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2372 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2373 LC_TELEPHONE LC_TIME
2374 do
2375 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
2376 eval $as_var=C; export $as_var
2377 else
2378 $as_unset $as_var
2379 fi
2380 done
2381
2382 # Required to use basename.
2383 if expr a : '\(a\)' >/dev/null 2>&1; then
2384 as_expr=expr
2385 else
2386 as_expr=false
2387 fi
2388
2389 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2390 as_basename=basename
2391 else
2392 as_basename=false
2393 fi
2394
2395
2396 # Name of the executable.
2397 as_me=`$as_basename "$0" ||
2398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2399 X"$0" : 'X\(//\)$' \| \
2400 X"$0" : 'X\(/\)$' \| \
2401 . : '\(.\)' 2>/dev/null ||
2402 echo X/"$0" |
2403 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2404 /^X\/\(\/\/\)$/{ s//\1/; q; }
2405 /^X\/\(\/\).*/{ s//\1/; q; }
2406 s/.*/./; q'`
2407
2408
2409 # PATH needs CR, and LINENO needs CR and PATH.
2410 # Avoid depending upon Character Ranges.
2411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2414 as_cr_digits='0123456789'
2415 as_cr_alnum=$as_cr_Letters$as_cr_digits
2416
2417 # The user is always right.
2418 if test "${PATH_SEPARATOR+set}" != set; then
2419 echo "#! /bin/sh" >conf$$.sh
2420 echo "exit 0" >>conf$$.sh
2421 chmod +x conf$$.sh
2422 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2423 PATH_SEPARATOR=';'
2424 else
2425 PATH_SEPARATOR=:
2426 fi
2427 rm -f conf$$.sh
2428 fi
2429
2430
2431 as_lineno_1=$LINENO
2432 as_lineno_2=$LINENO
2433 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2434 test "x$as_lineno_1" != "x$as_lineno_2" &&
2435 test "x$as_lineno_3" = "x$as_lineno_2" || {
2436 # Find who we are. Look in the path if we contain no path at all
2437 # relative or not.
2438 case $0 in
2439 *[\\/]* ) as_myself=$0 ;;
2440 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2442 do
2443 IFS=$as_save_IFS
2444 test -z "$as_dir" && as_dir=.
2445 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2446 done
2447
2448 ;;
2449 esac
2450 # We did not find ourselves, most probably we were run as `sh COMMAND'
2451 # in which case we are not to be found in the path.
2452 if test "x$as_myself" = x; then
2453 as_myself=$0
2454 fi
2455 if test ! -f "$as_myself"; then
2456 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2457 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2458 { (exit 1); exit 1; }; }
2459 fi
2460 case $CONFIG_SHELL in
2461 '')
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2464 do
2465 IFS=$as_save_IFS
2466 test -z "$as_dir" && as_dir=.
2467 for as_base in sh bash ksh sh5; do
2468 case $as_dir in
2469 /*)
2470 if ("$as_dir/$as_base" -c '
2471 as_lineno_1=$LINENO
2472 as_lineno_2=$LINENO
2473 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2474 test "x$as_lineno_1" != "x$as_lineno_2" &&
2475 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2476 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2477 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2478 CONFIG_SHELL=$as_dir/$as_base
2479 export CONFIG_SHELL
2480 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2481 fi;;
2482 esac
2483 done
2484 done
2485 ;;
2486 esac
2487
2488 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2489 # uniformly replaced by the line number. The first 'sed' inserts a
2490 # line-number line before each line; the second 'sed' does the real
2491 # work. The second script uses 'N' to pair each line-number line
2492 # with the numbered line, and appends trailing '-' during
2493 # substitution so that $LINENO is not a special case at line end.
2494 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2495 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2496 sed '=' <$as_myself |
2497 sed '
2498 N
2499 s,$,-,
2500 : loop
2501 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2502 t loop
2503 s,-$,,
2504 s,^['$as_cr_digits']*\n,,
2505 ' >$as_me.lineno &&
2506 chmod +x $as_me.lineno ||
2507 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2508 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2509 { (exit 1); exit 1; }; }
2510
2511 # Don't try to exec as it changes $[0], causing all sort of problems
2512 # (the dirname of $[0] is not the place where we might find the
2513 # original and so on. Autoconf is especially sensible to this).
2514 . ./$as_me.lineno
2515 # Exit status is that of the last command.
2516 exit
2517 }
2518
2519
2520 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2521 *c*,-n*) ECHO_N= ECHO_C='
2522 ' ECHO_T=' ' ;;
2523 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2524 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2525 esac
2526
2527 if expr a : '\(a\)' >/dev/null 2>&1; then
2528 as_expr=expr
2529 else
2530 as_expr=false
2531 fi
2532
2533 rm -f conf$$ conf$$.exe conf$$.file
2534 echo >conf$$.file
2535 if ln -s conf$$.file conf$$ 2>/dev/null; then
2536 # We could just check for DJGPP; but this test a) works b) is more generic
2537 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2538 if test -f conf$$.exe; then
2539 # Don't use ln at all; we don't have any links
2540 as_ln_s='cp -p'
2541 else
2542 as_ln_s='ln -s'
2543 fi
2544 elif ln conf$$.file conf$$ 2>/dev/null; then
2545 as_ln_s=ln
2546 else
2547 as_ln_s='cp -p'
2548 fi
2549 rm -f conf$$ conf$$.exe conf$$.file
2550
2551 if mkdir -p . 2>/dev/null; then
2552 as_mkdir_p=:
2553 else
2554 as_mkdir_p=false
2555 fi
2556
2557 as_executable_p="test -f"
2558
2559 # Sed expression to map a string onto a valid CPP name.
2560 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2561
2562 # Sed expression to map a string onto a valid variable name.
2563 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2564
2565
2566 # IFS
2567 # We need space, tab and new line, in precisely that order.
2568 as_nl='
2569 '
2570 IFS=" $as_nl"
2571
2572 # CDPATH.
2573 $as_unset CDPATH
2574
2575 exec 6>&1
2576
2577 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2578 # report actual input values of CONFIG_FILES etc. instead of their
2579 # values after options handling. Logging --version etc. is OK.
2580 exec 5>>config.log
2581 {
2582 echo
2583 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2584 ## Running $as_me. ##
2585 _ASBOX
2586 } >&5
2587 cat >&5 <<_CSEOF
2588
2589 This file was extended by udis86 $as_me 1.4, which was
2590 generated by GNU Autoconf 2.57. Invocation command line was
2591
2592 CONFIG_FILES = $CONFIG_FILES
2593 CONFIG_HEADERS = $CONFIG_HEADERS
2594 CONFIG_LINKS = $CONFIG_LINKS
2595 CONFIG_COMMANDS = $CONFIG_COMMANDS
2596 $ $0 $@
2597
2598 _CSEOF
2599 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2600 echo >&5
2601 _ACEOF
2602
2603 # Files that config.status was made for.
2604 if test -n "$ac_config_files"; then
2605 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2606 fi
2607
2608 if test -n "$ac_config_headers"; then
2609 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2610 fi
2611
2612 if test -n "$ac_config_links"; then
2613 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2614 fi
2615
2616 if test -n "$ac_config_commands"; then
2617 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2618 fi
2619
2620 cat >>$CONFIG_STATUS <<\_ACEOF
2621
2622 ac_cs_usage="\
2623 \`$as_me' instantiates files from templates according to the
2624 current configuration.
2625
2626 Usage: $0 [OPTIONS] [FILE]...
2627
2628 -h, --help print this help, then exit
2629 -V, --version print version number, then exit
2630 -q, --quiet do not print progress messages
2631 -d, --debug don't remove temporary files
2632 --recheck update $as_me by reconfiguring in the same conditions
2633 --file=FILE[:TEMPLATE]
2634 instantiate the configuration file FILE
2635
2636 Configuration files:
2637 $config_files
2638
2639 Report bugs to <bug-autoconf@gnu.org>."
2640 _ACEOF
2641
2642 cat >>$CONFIG_STATUS <<_ACEOF
2643 ac_cs_version="\\
2644 udis86 config.status 1.4
2645 configured by $0, generated by GNU Autoconf 2.57,
2646 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2647
2648 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2649 Free Software Foundation, Inc.
2650 This config.status script is free software; the Free Software Foundation
2651 gives unlimited permission to copy, distribute and modify it."
2652 srcdir=$srcdir
2653 INSTALL="$INSTALL"
2654 _ACEOF
2655
2656 cat >>$CONFIG_STATUS <<\_ACEOF
2657 # If no file are specified by the user, then we need to provide default
2658 # value. By we need to know if files were specified by the user.
2659 ac_need_defaults=:
2660 while test $# != 0
2661 do
2662 case $1 in
2663 --*=*)
2664 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2665 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2666 ac_shift=:
2667 ;;
2668 -*)
2669 ac_option=$1
2670 ac_optarg=$2
2671 ac_shift=shift
2672 ;;
2673 *) # This is not an option, so the user has probably given explicit
2674 # arguments.
2675 ac_option=$1
2676 ac_need_defaults=false;;
2677 esac
2678
2679 case $ac_option in
2680 # Handling of the options.
2681 _ACEOF
2682 cat >>$CONFIG_STATUS <<\_ACEOF
2683 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2684 ac_cs_recheck=: ;;
2685 --version | --vers* | -V )
2686 echo "$ac_cs_version"; exit 0 ;;
2687 --he | --h)
2688 # Conflict between --help and --header
2689 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2690 Try \`$0 --help' for more information." >&5
2691 echo "$as_me: error: ambiguous option: $1
2692 Try \`$0 --help' for more information." >&2;}
2693 { (exit 1); exit 1; }; };;
2694 --help | --hel | -h )
2695 echo "$ac_cs_usage"; exit 0 ;;
2696 --debug | --d* | -d )
2697 debug=: ;;
2698 --file | --fil | --fi | --f )
2699 $ac_shift
2700 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2701 ac_need_defaults=false;;
2702 --header | --heade | --head | --hea )
2703 $ac_shift
2704 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2705 ac_need_defaults=false;;
2706 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2707 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2708 ac_cs_silent=: ;;
2709
2710 # This is an error.
2711 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2712 Try \`$0 --help' for more information." >&5
2713 echo "$as_me: error: unrecognized option: $1
2714 Try \`$0 --help' for more information." >&2;}
2715 { (exit 1); exit 1; }; } ;;
2716
2717 *) ac_config_targets="$ac_config_targets $1" ;;
2718
2719 esac
2720 shift
2721 done
2722
2723 ac_configure_extra_args=
2724
2725 if $ac_cs_silent; then
2726 exec 6>/dev/null
2727 ac_configure_extra_args="$ac_configure_extra_args --silent"
2728 fi
2729
2730 _ACEOF
2731 cat >>$CONFIG_STATUS <<_ACEOF
2732 if \$ac_cs_recheck; then
2733 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2734 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2735 fi
2736
2737 _ACEOF
2738
2739
2740
2741
2742
2743 cat >>$CONFIG_STATUS <<\_ACEOF
2744 for ac_config_target in $ac_config_targets
2745 do
2746 case "$ac_config_target" in
2747 # Handling of arguments.
2748 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2749 "libudis86/Makefile" ) CONFIG_FILES="$CONFIG_FILES libudis86/Makefile" ;;
2750 "udcli/Makefile" ) CONFIG_FILES="$CONFIG_FILES udcli/Makefile" ;;
2751 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2752 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2753 { (exit 1); exit 1; }; };;
2754 esac
2755 done
2756
2757 # If the user did not use the arguments to specify the items to instantiate,
2758 # then the envvar interface is used. Set only those that are not.
2759 # We use the long form for the default assignment because of an extremely
2760 # bizarre bug on SunOS 4.1.3.
2761 if $ac_need_defaults; then
2762 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2763 fi
2764
2765 # Have a temporary directory for convenience. Make it in the build tree
2766 # simply because there is no reason to put it here, and in addition,
2767 # creating and moving files from /tmp can sometimes cause problems.
2768 # Create a temporary directory, and hook for its removal unless debugging.
2769 $debug ||
2770 {
2771 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2772 trap '{ (exit 1); exit 1; }' 1 2 13 15
2773 }
2774
2775 # Create a (secure) tmp directory for tmp files.
2776
2777 {
2778 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2779 test -n "$tmp" && test -d "$tmp"
2780 } ||
2781 {
2782 tmp=./confstat$$-$RANDOM
2783 (umask 077 && mkdir $tmp)
2784 } ||
2785 {
2786 echo "$me: cannot create a temporary directory in ." >&2
2787 { (exit 1); exit 1; }
2788 }
2789
2790 _ACEOF
2791
2792 cat >>$CONFIG_STATUS <<_ACEOF
2793
2794 #
2795 # CONFIG_FILES section.
2796 #
2797
2798 # No need to generate the scripts if there are no CONFIG_FILES.
2799 # This happens for instance when ./config.status config.h
2800 if test -n "\$CONFIG_FILES"; then
2801 # Protect against being on the right side of a sed subst in config.status.
2802 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2803 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2804 s,@SHELL@,$SHELL,;t t
2805 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2806 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2807 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2808 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2809 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2810 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2811 s,@exec_prefix@,$exec_prefix,;t t
2812 s,@prefix@,$prefix,;t t
2813 s,@program_transform_name@,$program_transform_name,;t t
2814 s,@bindir@,$bindir,;t t
2815 s,@sbindir@,$sbindir,;t t
2816 s,@libexecdir@,$libexecdir,;t t
2817 s,@datadir@,$datadir,;t t
2818 s,@sysconfdir@,$sysconfdir,;t t
2819 s,@sharedstatedir@,$sharedstatedir,;t t
2820 s,@localstatedir@,$localstatedir,;t t
2821 s,@libdir@,$libdir,;t t
2822 s,@includedir@,$includedir,;t t
2823 s,@oldincludedir@,$oldincludedir,;t t
2824 s,@infodir@,$infodir,;t t
2825 s,@mandir@,$mandir,;t t
2826 s,@build_alias@,$build_alias,;t t
2827 s,@host_alias@,$host_alias,;t t
2828 s,@target_alias@,$target_alias,;t t
2829 s,@DEFS@,$DEFS,;t t
2830 s,@ECHO_C@,$ECHO_C,;t t
2831 s,@ECHO_N@,$ECHO_N,;t t
2832 s,@ECHO_T@,$ECHO_T,;t t
2833 s,@LIBS@,$LIBS,;t t
2834 s,@CC@,$CC,;t t
2835 s,@CFLAGS@,$CFLAGS,;t t
2836 s,@LDFLAGS@,$LDFLAGS,;t t
2837 s,@CPPFLAGS@,$CPPFLAGS,;t t
2838 s,@ac_ct_CC@,$ac_ct_CC,;t t
2839 s,@EXEEXT@,$EXEEXT,;t t
2840 s,@OBJEXT@,$OBJEXT,;t t
2841 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2842 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2843 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2844 s,@LIBOBJS@,$LIBOBJS,;t t
2845 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2846 CEOF
2847
2848 _ACEOF
2849
2850 cat >>$CONFIG_STATUS <<\_ACEOF
2851 # Split the substitutions into bite-sized pieces for seds with
2852 # small command number limits, like on Digital OSF/1 and HP-UX.
2853 ac_max_sed_lines=48
2854 ac_sed_frag=1 # Number of current file.
2855 ac_beg=1 # First line for current file.
2856 ac_end=$ac_max_sed_lines # Line after last line for current file.
2857 ac_more_lines=:
2858 ac_sed_cmds=
2859 while $ac_more_lines; do
2860 if test $ac_beg -gt 1; then
2861 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2862 else
2863 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2864 fi
2865 if test ! -s $tmp/subs.frag; then
2866 ac_more_lines=false
2867 else
2868 # The purpose of the label and of the branching condition is to
2869 # speed up the sed processing (if there are no `@' at all, there
2870 # is no need to browse any of the substitutions).
2871 # These are the two extra sed commands mentioned above.
2872 (echo ':t
2873 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2874 if test -z "$ac_sed_cmds"; then
2875 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2876 else
2877 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2878 fi
2879 ac_sed_frag=`expr $ac_sed_frag + 1`
2880 ac_beg=$ac_end
2881 ac_end=`expr $ac_end + $ac_max_sed_lines`
2882 fi
2883 done
2884 if test -z "$ac_sed_cmds"; then
2885 ac_sed_cmds=cat
2886 fi
2887 fi # test -n "$CONFIG_FILES"
2888
2889 _ACEOF
2890 cat >>$CONFIG_STATUS <<\_ACEOF
2891 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2892 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2893 case $ac_file in
2894 - | *:- | *:-:* ) # input from stdin
2895 cat >$tmp/stdin
2896 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2897 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2898 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2899 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2900 * ) ac_file_in=$ac_file.in ;;
2901 esac
2902
2903 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2904 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2905 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2906 X"$ac_file" : 'X\(//\)[^/]' \| \
2907 X"$ac_file" : 'X\(//\)$' \| \
2908 X"$ac_file" : 'X\(/\)' \| \
2909 . : '\(.\)' 2>/dev/null ||
2910 echo X"$ac_file" |
2911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2912 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2913 /^X\(\/\/\)$/{ s//\1/; q; }
2914 /^X\(\/\).*/{ s//\1/; q; }
2915 s/.*/./; q'`
2916 { if $as_mkdir_p; then
2917 mkdir -p "$ac_dir"
2918 else
2919 as_dir="$ac_dir"
2920 as_dirs=
2921 while test ! -d "$as_dir"; do
2922 as_dirs="$as_dir $as_dirs"
2923 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2925 X"$as_dir" : 'X\(//\)[^/]' \| \
2926 X"$as_dir" : 'X\(//\)$' \| \
2927 X"$as_dir" : 'X\(/\)' \| \
2928 . : '\(.\)' 2>/dev/null ||
2929 echo X"$as_dir" |
2930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2931 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2932 /^X\(\/\/\)$/{ s//\1/; q; }
2933 /^X\(\/\).*/{ s//\1/; q; }
2934 s/.*/./; q'`
2935 done
2936 test ! -n "$as_dirs" || mkdir $as_dirs
2937 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2938 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2939 { (exit 1); exit 1; }; }; }
2940
2941 ac_builddir=.
2942
2943 if test "$ac_dir" != .; then
2944 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2945 # A "../" for each directory in $ac_dir_suffix.
2946 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2947 else
2948 ac_dir_suffix= ac_top_builddir=
2949 fi
2950
2951 case $srcdir in
2952 .) # No --srcdir option. We are building in place.
2953 ac_srcdir=.
2954 if test -z "$ac_top_builddir"; then
2955 ac_top_srcdir=.
2956 else
2957 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2958 fi ;;
2959 [\\/]* | ?:[\\/]* ) # Absolute path.
2960 ac_srcdir=$srcdir$ac_dir_suffix;
2961 ac_top_srcdir=$srcdir ;;
2962 *) # Relative path.
2963 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2964 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2965 esac
2966 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2967 # absolute.
2968 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2969 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2970 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2971 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2972
2973
2974 case $INSTALL in
2975 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2976 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2977 esac
2978
2979 if test x"$ac_file" != x-; then
2980 { echo "$as_me:$LINENO: creating $ac_file" >&5
2981 echo "$as_me: creating $ac_file" >&6;}
2982 rm -f "$ac_file"
2983 fi
2984 # Let's still pretend it is `configure' which instantiates (i.e., don't
2985 # use $as_me), people would be surprised to read:
2986 # /* config.h. Generated by config.status. */
2987 if test x"$ac_file" = x-; then
2988 configure_input=
2989 else
2990 configure_input="$ac_file. "
2991 fi
2992 configure_input=$configure_input"Generated from `echo $ac_file_in |
2993 sed 's,.*/,,'` by configure."
2994
2995 # First look for the input files in the build tree, otherwise in the
2996 # src tree.
2997 ac_file_inputs=`IFS=:
2998 for f in $ac_file_in; do
2999 case $f in
3000 -) echo $tmp/stdin ;;
3001 [\\/$]*)
3002 # Absolute (can't be DOS-style, as IFS=:)
3003 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3004 echo "$as_me: error: cannot find input file: $f" >&2;}
3005 { (exit 1); exit 1; }; }
3006 echo $f;;
3007 *) # Relative
3008 if test -f "$f"; then
3009 # Build tree
3010 echo $f
3011 elif test -f "$srcdir/$f"; then
3012 # Source tree
3013 echo $srcdir/$f
3014 else
3015 # /dev/null tree
3016 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3017 echo "$as_me: error: cannot find input file: $f" >&2;}
3018 { (exit 1); exit 1; }; }
3019 fi;;
3020 esac
3021 done` || { (exit 1); exit 1; }
3022 _ACEOF
3023 cat >>$CONFIG_STATUS <<_ACEOF
3024 sed "$ac_vpsub
3025 $extrasub
3026 _ACEOF
3027 cat >>$CONFIG_STATUS <<\_ACEOF
3028 :t
3029 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3030 s,@configure_input@,$configure_input,;t t
3031 s,@srcdir@,$ac_srcdir,;t t
3032 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3033 s,@top_srcdir@,$ac_top_srcdir,;t t
3034 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3035 s,@builddir@,$ac_builddir,;t t
3036 s,@abs_builddir@,$ac_abs_builddir,;t t
3037 s,@top_builddir@,$ac_top_builddir,;t t
3038 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3039 s,@INSTALL@,$ac_INSTALL,;t t
3040 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3041 rm -f $tmp/stdin
3042 if test x"$ac_file" != x-; then
3043 mv $tmp/out $ac_file
3044 else
3045 cat $tmp/out
3046 rm -f $tmp/out
3047 fi
3048
3049 done
3050 _ACEOF
3051
3052 cat >>$CONFIG_STATUS <<\_ACEOF
3053
3054 { (exit 0); exit 0; }
3055 _ACEOF
3056 chmod +x $CONFIG_STATUS
3057 ac_clean_files=$ac_clean_files_save
3058
3059
3060 # configure is writing to config.log, and then calls config.status.
3061 # config.status does its own redirection, appending to config.log.
3062 # Unfortunately, on DOS this fails, as config.log is still kept open
3063 # by configure, so config.status won't be able to write to it; its
3064 # output is simply discarded. So we exec the FD to /dev/null,
3065 # effectively closing config.log, so it can be properly (re)opened and
3066 # appended to by config.status. When coming back to configure, we
3067 # need to make the FD available again.
3068 if test "$no_create" != yes; then
3069 ac_cs_success=:
3070 ac_config_status_args=
3071 test "$silent" = yes &&
3072 ac_config_status_args="$ac_config_status_args --quiet"
3073 exec 5>/dev/null
3074 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3075 exec 5>>config.log
3076 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3077 # would make configure fail if this is the last instruction.
3078 $ac_cs_success || { (exit 1); exit 1; }
3079 fi
3080