Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # From configure.ac Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for madfuload 1.2.
5 #
6 # Report bugs to <[email protected]>.
7 #
8 # Copyright (C) 2003 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 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='madfuload'
272 PACKAGE_TARNAME='madfuload'
273 PACKAGE_VERSION='1.2'
274 PACKAGE_STRING='madfuload 1.2'
275 PACKAGE_BUGREPORT='[email protected]'
276
277 ac_unique_file="madfuload.c"
278 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE UDEV_RULES_DIR LIBOBJS LTLIBOBJS'
279 ac_subst_files=''
280
281 # Initialize some variables set by options.
282 ac_init_help=
283 ac_init_version=false
284 # The variables have the same names as the options, with
285 # dashes changed to underlines.
286 cache_file=/dev/null
287 exec_prefix=NONE
288 no_create=
289 no_recursion=
290 prefix=NONE
291 program_prefix=NONE
292 program_suffix=NONE
293 program_transform_name=s,x,x,
294 silent=
295 site=
296 srcdir=
297 verbose=
298 x_includes=NONE
299 x_libraries=NONE
300
301 # Installation directory options.
302 # These are left unexpanded so users can "make install exec_prefix=/foo"
303 # and all the variables that are supposed to be based on exec_prefix
304 # by default will actually change.
305 # Use braces instead of parens because sh, perl, etc. also accept them.
306 bindir='${exec_prefix}/bin'
307 sbindir='${exec_prefix}/sbin'
308 libexecdir='${exec_prefix}/libexec'
309 datadir='${prefix}/share'
310 sysconfdir='${prefix}/etc'
311 sharedstatedir='${prefix}/com'
312 localstatedir='${prefix}/var'
313 libdir='${exec_prefix}/lib'
314 includedir='${prefix}/include'
315 oldincludedir='/usr/include'
316 infodir='${prefix}/info'
317 mandir='${prefix}/man'
318
319 ac_prev=
320 for ac_option
321 do
322 # If the previous option needs an argument, assign it.
323 if test -n "$ac_prev"; then
324 eval "$ac_prev=\$ac_option"
325 ac_prev=
326 continue
327 fi
328
329 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
330
331 # Accept the important Cygnus configure options, so we can diagnose typos.
332
333 case $ac_option in
334
335 -bindir | --bindir | --bindi | --bind | --bin | --bi)
336 ac_prev=bindir ;;
337 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338 bindir=$ac_optarg ;;
339
340 -build | --build | --buil | --bui | --bu)
341 ac_prev=build_alias ;;
342 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
343 build_alias=$ac_optarg ;;
344
345 -cache-file | --cache-file | --cache-fil | --cache-fi \
346 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
347 ac_prev=cache_file ;;
348 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
349 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
350 cache_file=$ac_optarg ;;
351
352 --config-cache | -C)
353 cache_file=config.cache ;;
354
355 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
356 ac_prev=datadir ;;
357 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
358 | --da=*)
359 datadir=$ac_optarg ;;
360
361 -disable-* | --disable-*)
362 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
363 # Reject names that are not valid shell variable names.
364 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
365 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
366 { (exit 1); exit 1; }; }
367 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
368 eval "enable_$ac_feature=no" ;;
369
370 -enable-* | --enable-*)
371 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
372 # Reject names that are not valid shell variable names.
373 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
374 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
375 { (exit 1); exit 1; }; }
376 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
377 case $ac_option in
378 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 *) ac_optarg=yes ;;
380 esac
381 eval "enable_$ac_feature='$ac_optarg'" ;;
382
383 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
384 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
385 | --exec | --exe | --ex)
386 ac_prev=exec_prefix ;;
387 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
388 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
389 | --exec=* | --exe=* | --ex=*)
390 exec_prefix=$ac_optarg ;;
391
392 -gas | --gas | --ga | --g)
393 # Obsolete; use --with-gas.
394 with_gas=yes ;;
395
396 -help | --help | --hel | --he | -h)
397 ac_init_help=long ;;
398 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
399 ac_init_help=recursive ;;
400 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
401 ac_init_help=short ;;
402
403 -host | --host | --hos | --ho)
404 ac_prev=host_alias ;;
405 -host=* | --host=* | --hos=* | --ho=*)
406 host_alias=$ac_optarg ;;
407
408 -includedir | --includedir | --includedi | --included | --include \
409 | --includ | --inclu | --incl | --inc)
410 ac_prev=includedir ;;
411 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
412 | --includ=* | --inclu=* | --incl=* | --inc=*)
413 includedir=$ac_optarg ;;
414
415 -infodir | --infodir | --infodi | --infod | --info | --inf)
416 ac_prev=infodir ;;
417 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
418 infodir=$ac_optarg ;;
419
420 -libdir | --libdir | --libdi | --libd)
421 ac_prev=libdir ;;
422 -libdir=* | --libdir=* | --libdi=* | --libd=*)
423 libdir=$ac_optarg ;;
424
425 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
426 | --libexe | --libex | --libe)
427 ac_prev=libexecdir ;;
428 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
429 | --libexe=* | --libex=* | --libe=*)
430 libexecdir=$ac_optarg ;;
431
432 -localstatedir | --localstatedir | --localstatedi | --localstated \
433 | --localstate | --localstat | --localsta | --localst \
434 | --locals | --local | --loca | --loc | --lo)
435 ac_prev=localstatedir ;;
436 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
437 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
438 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
439 localstatedir=$ac_optarg ;;
440
441 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
442 ac_prev=mandir ;;
443 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444 mandir=$ac_optarg ;;
445
446 -nfp | --nfp | --nf)
447 # Obsolete; use --without-fp.
448 with_fp=no ;;
449
450 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
451 | --no-cr | --no-c | -n)
452 no_create=yes ;;
453
454 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
455 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456 no_recursion=yes ;;
457
458 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
459 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
460 | --oldin | --oldi | --old | --ol | --o)
461 ac_prev=oldincludedir ;;
462 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
463 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
464 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
465 oldincludedir=$ac_optarg ;;
466
467 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
468 ac_prev=prefix ;;
469 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470 prefix=$ac_optarg ;;
471
472 -program-prefix | --program-prefix | --program-prefi | --program-pref \
473 | --program-pre | --program-pr | --program-p)
474 ac_prev=program_prefix ;;
475 -program-prefix=* | --program-prefix=* | --program-prefi=* \
476 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
477 program_prefix=$ac_optarg ;;
478
479 -program-suffix | --program-suffix | --program-suffi | --program-suff \
480 | --program-suf | --program-su | --program-s)
481 ac_prev=program_suffix ;;
482 -program-suffix=* | --program-suffix=* | --program-suffi=* \
483 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
484 program_suffix=$ac_optarg ;;
485
486 -program-transform-name | --program-transform-name \
487 | --program-transform-nam | --program-transform-na \
488 | --program-transform-n | --program-transform- \
489 | --program-transform | --program-transfor \
490 | --program-transfo | --program-transf \
491 | --program-trans | --program-tran \
492 | --progr-tra | --program-tr | --program-t)
493 ac_prev=program_transform_name ;;
494 -program-transform-name=* | --program-transform-name=* \
495 | --program-transform-nam=* | --program-transform-na=* \
496 | --program-transform-n=* | --program-transform-=* \
497 | --program-transform=* | --program-transfor=* \
498 | --program-transfo=* | --program-transf=* \
499 | --program-trans=* | --program-tran=* \
500 | --progr-tra=* | --program-tr=* | --program-t=*)
501 program_transform_name=$ac_optarg ;;
502
503 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
504 | -silent | --silent | --silen | --sile | --sil)
505 silent=yes ;;
506
507 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
508 ac_prev=sbindir ;;
509 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
510 | --sbi=* | --sb=*)
511 sbindir=$ac_optarg ;;
512
513 -sharedstatedir | --sharedstatedir | --sharedstatedi \
514 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
515 | --sharedst | --shareds | --shared | --share | --shar \
516 | --sha | --sh)
517 ac_prev=sharedstatedir ;;
518 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
519 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
520 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
521 | --sha=* | --sh=*)
522 sharedstatedir=$ac_optarg ;;
523
524 -site | --site | --sit)
525 ac_prev=site ;;
526 -site=* | --site=* | --sit=*)
527 site=$ac_optarg ;;
528
529 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
530 ac_prev=srcdir ;;
531 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532 srcdir=$ac_optarg ;;
533
534 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
535 | --syscon | --sysco | --sysc | --sys | --sy)
536 ac_prev=sysconfdir ;;
537 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
538 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
539 sysconfdir=$ac_optarg ;;
540
541 -target | --target | --targe | --targ | --tar | --ta | --t)
542 ac_prev=target_alias ;;
543 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
544 target_alias=$ac_optarg ;;
545
546 -v | -verbose | --verbose | --verbos | --verbo | --verb)
547 verbose=yes ;;
548
549 -version | --version | --versio | --versi | --vers | -V)
550 ac_init_version=: ;;
551
552 -with-* | --with-*)
553 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556 { echo "$as_me: error: invalid package name: $ac_package" >&2
557 { (exit 1); exit 1; }; }
558 ac_package=`echo $ac_package| sed 's/-/_/g'`
559 case $ac_option in
560 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 *) ac_optarg=yes ;;
562 esac
563 eval "with_$ac_package='$ac_optarg'" ;;
564
565 -without-* | --without-*)
566 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
567 # Reject names that are not valid shell variable names.
568 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
569 { echo "$as_me: error: invalid package name: $ac_package" >&2
570 { (exit 1); exit 1; }; }
571 ac_package=`echo $ac_package | sed 's/-/_/g'`
572 eval "with_$ac_package=no" ;;
573
574 --x)
575 # Obsolete; use --with-x.
576 with_x=yes ;;
577
578 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
579 | --x-incl | --x-inc | --x-in | --x-i)
580 ac_prev=x_includes ;;
581 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
582 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
583 x_includes=$ac_optarg ;;
584
585 -x-libraries | --x-libraries | --x-librarie | --x-librari \
586 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
587 ac_prev=x_libraries ;;
588 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
589 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
590 x_libraries=$ac_optarg ;;
591
592 -*) { echo "$as_me: error: unrecognized option: $ac_option
593 Try \`$0 --help' for more information." >&2
594 { (exit 1); exit 1; }; }
595 ;;
596
597 *=*)
598 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
599 # Reject names that are not valid shell variable names.
600 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
601 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
602 { (exit 1); exit 1; }; }
603 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
604 eval "$ac_envvar='$ac_optarg'"
605 export $ac_envvar ;;
606
607 *)
608 # FIXME: should be removed in autoconf 3.0.
609 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
610 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
611 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
612 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
613 ;;
614
615 esac
616 done
617
618 if test -n "$ac_prev"; then
619 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
620 { echo "$as_me: error: missing argument to $ac_option" >&2
621 { (exit 1); exit 1; }; }
622 fi
623
624 # Be sure to have absolute paths.
625 for ac_var in exec_prefix prefix
626 do
627 eval ac_val=$`echo $ac_var`
628 case $ac_val in
629 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
630 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
631 { (exit 1); exit 1; }; };;
632 esac
633 done
634
635 # Be sure to have absolute paths.
636 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
637 localstatedir libdir includedir oldincludedir infodir mandir
638 do
639 eval ac_val=$`echo $ac_var`
640 case $ac_val in
641 [\\/$]* | ?:[\\/]* ) ;;
642 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
643 { (exit 1); exit 1; }; };;
644 esac
645 done
646
647 # There might be people who depend on the old broken behavior: `$host'
648 # used to hold the argument of --host etc.
649 # FIXME: To remove some day.
650 build=$build_alias
651 host=$host_alias
652 target=$target_alias
653
654 # FIXME: To remove some day.
655 if test "x$host_alias" != x; then
656 if test "x$build_alias" = x; then
657 cross_compiling=maybe
658 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
659 If a cross compiler is detected then cross compile mode will be used." >&2
660 elif test "x$build_alias" != "x$host_alias"; then
661 cross_compiling=yes
662 fi
663 fi
664
665 ac_tool_prefix=
666 test -n "$host_alias" && ac_tool_prefix=$host_alias-
667
668 test "$silent" = yes && exec 6>/dev/null
669
670
671 # Find the source files, if location was not specified.
672 if test -z "$srcdir"; then
673 ac_srcdir_defaulted=yes
674 # Try the directory containing this script, then its parent.
675 ac_confdir=`(dirname "$0") 2>/dev/null ||
676 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
677 X"$0" : 'X\(//\)[^/]' \| \
678 X"$0" : 'X\(//\)$' \| \
679 X"$0" : 'X\(/\)' \| \
680 . : '\(.\)' 2>/dev/null ||
681 echo X"$0" |
682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
683 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
684 /^X\(\/\/\)$/{ s//\1/; q; }
685 /^X\(\/\).*/{ s//\1/; q; }
686 s/.*/./; q'`
687 srcdir=$ac_confdir
688 if test ! -r $srcdir/$ac_unique_file; then
689 srcdir=..
690 fi
691 else
692 ac_srcdir_defaulted=no
693 fi
694 if test ! -r $srcdir/$ac_unique_file; then
695 if test "$ac_srcdir_defaulted" = yes; then
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
697 { (exit 1); exit 1; }; }
698 else
699 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
700 { (exit 1); exit 1; }; }
701 fi
702 fi
703 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
704 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
705 { (exit 1); exit 1; }; }
706 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
707 ac_env_build_alias_set=${build_alias+set}
708 ac_env_build_alias_value=$build_alias
709 ac_cv_env_build_alias_set=${build_alias+set}
710 ac_cv_env_build_alias_value=$build_alias
711 ac_env_host_alias_set=${host_alias+set}
712 ac_env_host_alias_value=$host_alias
713 ac_cv_env_host_alias_set=${host_alias+set}
714 ac_cv_env_host_alias_value=$host_alias
715 ac_env_target_alias_set=${target_alias+set}
716 ac_env_target_alias_value=$target_alias
717 ac_cv_env_target_alias_set=${target_alias+set}
718 ac_cv_env_target_alias_value=$target_alias
719 ac_env_CC_set=${CC+set}
720 ac_env_CC_value=$CC
721 ac_cv_env_CC_set=${CC+set}
722 ac_cv_env_CC_value=$CC
723 ac_env_CFLAGS_set=${CFLAGS+set}
724 ac_env_CFLAGS_value=$CFLAGS
725 ac_cv_env_CFLAGS_set=${CFLAGS+set}
726 ac_cv_env_CFLAGS_value=$CFLAGS
727 ac_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_env_LDFLAGS_value=$LDFLAGS
729 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
730 ac_cv_env_LDFLAGS_value=$LDFLAGS
731 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_env_CPPFLAGS_value=$CPPFLAGS
733 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
734 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
735
736 #
737 # Report the --help message.
738 #
739 if test "$ac_init_help" = "long"; then
740 # Omit some internal or obsolete options to make the list less imposing.
741 # This message is too long to be a string in the A/UX 3.1 sh.
742 cat <<_ACEOF
743 \`configure' configures madfuload 1.2 to adapt to many kinds of systems.
744
745 Usage: $0 [OPTION]... [VAR=VALUE]...
746
747 To assign environment variables (e.g., CC, CFLAGS...), specify them as
748 VAR=VALUE. See below for descriptions of some of the useful variables.
749
750 Defaults for the options are specified in brackets.
751
752 Configuration:
753 -h, --help display this help and exit
754 --help=short display options specific to this package
755 --help=recursive display the short help of all the included packages
756 -V, --version display version information and exit
757 -q, --quiet, --silent do not print \`checking...' messages
758 --cache-file=FILE cache test results in FILE [disabled]
759 -C, --config-cache alias for \`--cache-file=config.cache'
760 -n, --no-create do not create output files
761 --srcdir=DIR find the sources in DIR [configure dir or \`..']
762
763 _ACEOF
764
765 cat <<_ACEOF
766 Installation directories:
767 --prefix=PREFIX install architecture-independent files in PREFIX
768 [$ac_default_prefix]
769 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
770 [PREFIX]
771
772 By default, \`make install' will install all the files in
773 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
774 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
775 for instance \`--prefix=\$HOME'.
776
777 For better control, use the options below.
778
779 Fine tuning of the installation directories:
780 --bindir=DIR user executables [EPREFIX/bin]
781 --sbindir=DIR system admin executables [EPREFIX/sbin]
782 --libexecdir=DIR program executables [EPREFIX/libexec]
783 --datadir=DIR read-only architecture-independent data [PREFIX/share]
784 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
785 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
786 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
787 --libdir=DIR object code libraries [EPREFIX/lib]
788 --includedir=DIR C header files [PREFIX/include]
789 --oldincludedir=DIR C header files for non-gcc [/usr/include]
790 --infodir=DIR info documentation [PREFIX/info]
791 --mandir=DIR man documentation [PREFIX/man]
792 _ACEOF
793
794 cat <<\_ACEOF
795
796 Program names:
797 --program-prefix=PREFIX prepend PREFIX to installed program names
798 --program-suffix=SUFFIX append SUFFIX to installed program names
799 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
800 _ACEOF
801 fi
802
803 if test -n "$ac_init_help"; then
804 case $ac_init_help in
805 short | recursive ) echo "Configuration of madfuload 1.2:";;
806 esac
807 cat <<\_ACEOF
808
809 Optional Features:
810 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
811 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
812 --disable-dependency-tracking speeds up one-time build
813 --enable-dependency-tracking do not reject slow dependency extractors
814
815 Optional Packages:
816 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
817 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
818 --with-udev=dir specify udev directory [/etc/udev]
819
820 Some influential environment variables:
821 CC C compiler command
822 CFLAGS C compiler flags
823 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
824 nonstandard directory <lib dir>
825 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
826 headers in a nonstandard directory <include dir>
827
828 Use these variables to override the choices made by `configure' or to help
829 it to find libraries and programs with nonstandard names/locations.
830
831 Report bugs to <[email protected]>.
832 _ACEOF
833 fi
834
835 if test "$ac_init_help" = "recursive"; then
836 # If there are subdirs, report their specific --help.
837 ac_popdir=`pwd`
838 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
839 test -d $ac_dir || continue
840 ac_builddir=.
841
842 if test "$ac_dir" != .; then
843 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
844 # A "../" for each directory in $ac_dir_suffix.
845 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
846 else
847 ac_dir_suffix= ac_top_builddir=
848 fi
849
850 case $srcdir in
851 .) # No --srcdir option. We are building in place.
852 ac_srcdir=.
853 if test -z "$ac_top_builddir"; then
854 ac_top_srcdir=.
855 else
856 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
857 fi ;;
858 [\\/]* | ?:[\\/]* ) # Absolute path.
859 ac_srcdir=$srcdir$ac_dir_suffix;
860 ac_top_srcdir=$srcdir ;;
861 *) # Relative path.
862 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
863 ac_top_srcdir=$ac_top_builddir$srcdir ;;
864 esac
865
866 # Do not use `cd foo && pwd` to compute absolute paths, because
867 # the directories may not exist.
868 case `pwd` in
869 .) ac_abs_builddir="$ac_dir";;
870 *)
871 case "$ac_dir" in
872 .) ac_abs_builddir=`pwd`;;
873 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
874 *) ac_abs_builddir=`pwd`/"$ac_dir";;
875 esac;;
876 esac
877 case $ac_abs_builddir in
878 .) ac_abs_top_builddir=${ac_top_builddir}.;;
879 *)
880 case ${ac_top_builddir}. in
881 .) ac_abs_top_builddir=$ac_abs_builddir;;
882 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
883 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
884 esac;;
885 esac
886 case $ac_abs_builddir in
887 .) ac_abs_srcdir=$ac_srcdir;;
888 *)
889 case $ac_srcdir in
890 .) ac_abs_srcdir=$ac_abs_builddir;;
891 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
892 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
893 esac;;
894 esac
895 case $ac_abs_builddir in
896 .) ac_abs_top_srcdir=$ac_top_srcdir;;
897 *)
898 case $ac_top_srcdir in
899 .) ac_abs_top_srcdir=$ac_abs_builddir;;
900 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
901 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
902 esac;;
903 esac
904
905 cd $ac_dir
906 # Check for guested configure; otherwise get Cygnus style configure.
907 if test -f $ac_srcdir/configure.gnu; then
908 echo
909 $SHELL $ac_srcdir/configure.gnu --help=recursive
910 elif test -f $ac_srcdir/configure; then
911 echo
912 $SHELL $ac_srcdir/configure --help=recursive
913 elif test -f $ac_srcdir/configure.ac ||
914 test -f $ac_srcdir/configure.in; then
915 echo
916 $ac_configure --help
917 else
918 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
919 fi
920 cd $ac_popdir
921 done
922 fi
923
924 test -n "$ac_init_help" && exit 0
925 if $ac_init_version; then
926 cat <<\_ACEOF
927 madfuload configure 1.2
928 generated by GNU Autoconf 2.59
929
930 Copyright (C) 2003 Free Software Foundation, Inc.
931 This configure script is free software; the Free Software Foundation
932 gives unlimited permission to copy, distribute and modify it.
933 _ACEOF
934 exit 0
935 fi
936 exec 5>config.log
937 cat >&5 <<_ACEOF
938 This file contains any messages produced by compilers while
939 running configure, to aid debugging if configure makes a mistake.
940
941 It was created by madfuload $as_me 1.2, which was
942 generated by GNU Autoconf 2.59. Invocation command line was
943
944 $ $0 $@
945
946 _ACEOF
947 {
948 cat <<_ASUNAME
949 ## --------- ##
950 ## Platform. ##
951 ## --------- ##
952
953 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
954 uname -m = `(uname -m) 2>/dev/null || echo unknown`
955 uname -r = `(uname -r) 2>/dev/null || echo unknown`
956 uname -s = `(uname -s) 2>/dev/null || echo unknown`
957 uname -v = `(uname -v) 2>/dev/null || echo unknown`
958
959 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
960 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
961
962 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
963 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
964 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
965 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
966 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
967 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
968 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
969
970 _ASUNAME
971
972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
973 for as_dir in $PATH
974 do
975 IFS=$as_save_IFS
976 test -z "$as_dir" && as_dir=.
977 echo "PATH: $as_dir"
978 done
979
980 } >&5
981
982 cat >&5 <<_ACEOF
983
984
985 ## ----------- ##
986 ## Core tests. ##
987 ## ----------- ##
988
989 _ACEOF
990
991
992 # Keep a trace of the command line.
993 # Strip out --no-create and --no-recursion so they do not pile up.
994 # Strip out --silent because we don't want to record it for future runs.
995 # Also quote any args containing shell meta-characters.
996 # Make two passes to allow for proper duplicate-argument suppression.
997 ac_configure_args=
998 ac_configure_args0=
999 ac_configure_args1=
1000 ac_sep=
1001 ac_must_keep_next=false
1002 for ac_pass in 1 2
1003 do
1004 for ac_arg
1005 do
1006 case $ac_arg in
1007 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1009 | -silent | --silent | --silen | --sile | --sil)
1010 continue ;;
1011 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1012 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1013 esac
1014 case $ac_pass in
1015 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1016 2)
1017 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1018 if test $ac_must_keep_next = true; then
1019 ac_must_keep_next=false # Got value, back to normal.
1020 else
1021 case $ac_arg in
1022 *=* | --config-cache | -C | -disable-* | --disable-* \
1023 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1024 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1025 | -with-* | --with-* | -without-* | --without-* | --x)
1026 case "$ac_configure_args0 " in
1027 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1028 esac
1029 ;;
1030 -* ) ac_must_keep_next=true ;;
1031 esac
1032 fi
1033 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1034 # Get rid of the leading space.
1035 ac_sep=" "
1036 ;;
1037 esac
1038 done
1039 done
1040 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1041 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1042
1043 # When interrupted or exit'd, cleanup temporary files, and complete
1044 # config.log. We remove comments because anyway the quotes in there
1045 # would cause problems or look ugly.
1046 # WARNING: Be sure not to use single quotes in there, as some shells,
1047 # such as our DU 5.0 friend, will then `close' the trap.
1048 trap 'exit_status=$?
1049 # Save into config.log some information that might help in debugging.
1050 {
1051 echo
1052
1053 cat <<\_ASBOX
1054 ## ---------------- ##
1055 ## Cache variables. ##
1056 ## ---------------- ##
1057 _ASBOX
1058 echo
1059 # The following way of writing the cache mishandles newlines in values,
1060 {
1061 (set) 2>&1 |
1062 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1063 *ac_space=\ *)
1064 sed -n \
1065 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1067 ;;
1068 *)
1069 sed -n \
1070 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1071 ;;
1072 esac;
1073 }
1074 echo
1075
1076 cat <<\_ASBOX
1077 ## ----------------- ##
1078 ## Output variables. ##
1079 ## ----------------- ##
1080 _ASBOX
1081 echo
1082 for ac_var in $ac_subst_vars
1083 do
1084 eval ac_val=$`echo $ac_var`
1085 echo "$ac_var='"'"'$ac_val'"'"'"
1086 done | sort
1087 echo
1088
1089 if test -n "$ac_subst_files"; then
1090 cat <<\_ASBOX
1091 ## ------------- ##
1092 ## Output files. ##
1093 ## ------------- ##
1094 _ASBOX
1095 echo
1096 for ac_var in $ac_subst_files
1097 do
1098 eval ac_val=$`echo $ac_var`
1099 echo "$ac_var='"'"'$ac_val'"'"'"
1100 done | sort
1101 echo
1102 fi
1103
1104 if test -s confdefs.h; then
1105 cat <<\_ASBOX
1106 ## ----------- ##
1107 ## confdefs.h. ##
1108 ## ----------- ##
1109 _ASBOX
1110 echo
1111 sed "/^$/d" confdefs.h | sort
1112 echo
1113 fi
1114 test "$ac_signal" != 0 &&
1115 echo "$as_me: caught signal $ac_signal"
1116 echo "$as_me: exit $exit_status"
1117 } >&5
1118 rm -f core *.core &&
1119 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1120 exit $exit_status
1121 ' 0
1122 for ac_signal in 1 2 13 15; do
1123 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1124 done
1125 ac_signal=0
1126
1127 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1128 rm -rf conftest* confdefs.h
1129 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1130 echo >confdefs.h
1131
1132 # Predefined preprocessor variables.
1133
1134 cat >>confdefs.h <<_ACEOF
1135 #define PACKAGE_NAME "$PACKAGE_NAME"
1136 _ACEOF
1137
1138
1139 cat >>confdefs.h <<_ACEOF
1140 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1141 _ACEOF
1142
1143
1144 cat >>confdefs.h <<_ACEOF
1145 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1146 _ACEOF
1147
1148
1149 cat >>confdefs.h <<_ACEOF
1150 #define PACKAGE_STRING "$PACKAGE_STRING"
1151 _ACEOF
1152
1153
1154 cat >>confdefs.h <<_ACEOF
1155 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1156 _ACEOF
1157
1158
1159 # Let the site file select an alternate cache file if it wants to.
1160 # Prefer explicitly selected file to automatically selected ones.
1161 if test -z "$CONFIG_SITE"; then
1162 if test "x$prefix" != xNONE; then
1163 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1164 else
1165 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1166 fi
1167 fi
1168 for ac_site_file in $CONFIG_SITE; do
1169 if test -r "$ac_site_file"; then
1170 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1171 echo "$as_me: loading site script $ac_site_file" >&6;}
1172 sed 's/^/| /' "$ac_site_file" >&5
1173 . "$ac_site_file"
1174 fi
1175 done
1176
1177 if test -r "$cache_file"; then
1178 # Some versions of bash will fail to source /dev/null (special
1179 # files actually), so we avoid doing that.
1180 if test -f "$cache_file"; then
1181 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1182 echo "$as_me: loading cache $cache_file" >&6;}
1183 case $cache_file in
1184 [\\/]* | ?:[\\/]* ) . $cache_file;;
1185 *) . ./$cache_file;;
1186 esac
1187 fi
1188 else
1189 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1190 echo "$as_me: creating cache $cache_file" >&6;}
1191 >$cache_file
1192 fi
1193
1194 # Check that the precious variables saved in the cache have kept the same
1195 # value.
1196 ac_cache_corrupted=false
1197 for ac_var in `(set) 2>&1 |
1198 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1199 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1200 eval ac_new_set=\$ac_env_${ac_var}_set
1201 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1202 eval ac_new_val="\$ac_env_${ac_var}_value"
1203 case $ac_old_set,$ac_new_set in
1204 set,)
1205 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1206 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1207 ac_cache_corrupted=: ;;
1208 ,set)
1209 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1210 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1211 ac_cache_corrupted=: ;;
1212 ,);;
1213 *)
1214 if test "x$ac_old_val" != "x$ac_new_val"; then
1215 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1216 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1217 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1218 echo "$as_me: former value: $ac_old_val" >&2;}
1219 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1220 echo "$as_me: current value: $ac_new_val" >&2;}
1221 ac_cache_corrupted=:
1222 fi;;
1223 esac
1224 # Pass precious variables to config.status.
1225 if test "$ac_new_set" = set; then
1226 case $ac_new_val in
1227 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1228 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1229 *) ac_arg=$ac_var=$ac_new_val ;;
1230 esac
1231 case " $ac_configure_args " in
1232 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1233 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1234 esac
1235 fi
1236 done
1237 if $ac_cache_corrupted; then
1238 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1239 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1240 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1241 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1242 { (exit 1); exit 1; }; }
1243 fi
1244
1245 ac_ext=c
1246 ac_cpp='$CPP $CPPFLAGS'
1247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277 am__api_version="1.8"
1278 ac_aux_dir=
1279 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1280 if test -f $ac_dir/install-sh; then
1281 ac_aux_dir=$ac_dir
1282 ac_install_sh="$ac_aux_dir/install-sh -c"
1283 break
1284 elif test -f $ac_dir/install.sh; then
1285 ac_aux_dir=$ac_dir
1286 ac_install_sh="$ac_aux_dir/install.sh -c"
1287 break
1288 elif test -f $ac_dir/shtool; then
1289 ac_aux_dir=$ac_dir
1290 ac_install_sh="$ac_aux_dir/shtool install -c"
1291 break
1292 fi
1293 done
1294 if test -z "$ac_aux_dir"; then
1295 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1296 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1297 { (exit 1); exit 1; }; }
1298 fi
1299 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1300 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1301 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1302
1303 # Find a good install program. We prefer a C program (faster),
1304 # so one script is as good as another. But avoid the broken or
1305 # incompatible versions:
1306 # SysV /etc/install, /usr/sbin/install
1307 # SunOS /usr/etc/install
1308 # IRIX /sbin/install
1309 # AIX /bin/install
1310 # AmigaOS /C/install, which installs bootblocks on floppy discs
1311 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1312 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1313 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1314 # OS/2's system install, which has a completely different semantic
1315 # ./install, which can be erroneously created by make from ./install.sh.
1316 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1317 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1318 if test -z "$INSTALL"; then
1319 if test "${ac_cv_path_install+set}" = set; then
1320 echo $ECHO_N "(cached) $ECHO_C" >&6
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 # Account for people who put trailing slashes in PATH elements.
1328 case $as_dir/ in
1329 ./ | .// | /cC/* | \
1330 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1331 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1332 /usr/ucb/* ) ;;
1333 *)
1334 # OSF1 and SCO ODT 3.0 have their own names for install.
1335 # Don't use installbsd from OSF since it installs stuff as root
1336 # by default.
1337 for ac_prog in ginstall scoinst install; do
1338 for ac_exec_ext in '' $ac_executable_extensions; do
1339 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1340 if test $ac_prog = install &&
1341 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1342 # AIX install. It has an incompatible calling convention.
1343 :
1344 elif test $ac_prog = install &&
1345 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1346 # program-specific install script used by HP pwplus--don't use.
1347 :
1348 else
1349 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1350 break 3
1351 fi
1352 fi
1353 done
1354 done
1355 ;;
1356 esac
1357 done
1358
1359
1360 fi
1361 if test "${ac_cv_path_install+set}" = set; then
1362 INSTALL=$ac_cv_path_install
1363 else
1364 # As a last resort, use the slow shell script. We don't cache a
1365 # path for INSTALL within a source directory, because that will
1366 # break other packages using the cache if that directory is
1367 # removed, or if the path is relative.
1368 INSTALL=$ac_install_sh
1369 fi
1370 fi
1371 echo "$as_me:$LINENO: result: $INSTALL" >&5
1372 echo "${ECHO_T}$INSTALL" >&6
1373
1374 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1375 # It thinks the first close brace ends the variable substitution.
1376 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1377
1378 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1379
1380 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1381
1382 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1383 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1384 # Just in case
1385 sleep 1
1386 echo timestamp > conftest.file
1387 # Do `set' in a subshell so we don't clobber the current shell's
1388 # arguments. Must try -L first in case configure is actually a
1389 # symlink; some systems play weird games with the mod time of symlinks
1390 # (eg FreeBSD returns the mod time of the symlink's containing
1391 # directory).
1392 if (
1393 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1394 if test "$*" = "X"; then
1395 # -L didn't work.
1396 set X `ls -t $srcdir/configure conftest.file`
1397 fi
1398 rm -f conftest.file
1399 if test "$*" != "X $srcdir/configure conftest.file" \
1400 && test "$*" != "X conftest.file $srcdir/configure"; then
1401
1402 # If neither matched, then we have a broken ls. This can happen
1403 # if, for instance, CONFIG_SHELL is bash and it inherits a
1404 # broken ls alias from the environment. This has actually
1405 # happened. Such a system could not be considered "sane".
1406 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1407 alias in your environment" >&5
1408 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1409 alias in your environment" >&2;}
1410 { (exit 1); exit 1; }; }
1411 fi
1412
1413 test "$2" = conftest.file
1414 )
1415 then
1416 # Ok.
1417 :
1418 else
1419 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1420 Check your system clock" >&5
1421 echo "$as_me: error: newly created file is older than distributed files!
1422 Check your system clock" >&2;}
1423 { (exit 1); exit 1; }; }
1424 fi
1425 echo "$as_me:$LINENO: result: yes" >&5
1426 echo "${ECHO_T}yes" >&6
1427 test "$program_prefix" != NONE &&
1428 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1429 # Use a double $ so make ignores it.
1430 test "$program_suffix" != NONE &&
1431 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1432 # Double any \ or $. echo might interpret backslashes.
1433 # By default was `s,x,x', remove it if useless.
1434 cat <<\_ACEOF >conftest.sed
1435 s/[\\$]/&&/g;s/;s,x,x,$//
1436 _ACEOF
1437 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1438 rm conftest.sed
1439
1440 # expand $ac_aux_dir to an absolute path
1441 am_aux_dir=`cd $ac_aux_dir && pwd`
1442
1443 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1444 # Use eval to expand $SHELL
1445 if eval "$MISSING --run true"; then
1446 am_missing_run="$MISSING --run "
1447 else
1448 am_missing_run=
1449 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1450 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1451 fi
1452
1453 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1454 # Keeping the `.' argument allows $(mkdir_p) to be used without
1455 # argument. Indeed, we sometimes output rules like
1456 # $(mkdir_p) $(somedir)
1457 # where $(somedir) is conditionally defined.
1458 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1459 # expensive solution, as it forces Make to start a sub-shell.)
1460 mkdir_p='mkdir -p -- .'
1461 else
1462 # On NextStep and OpenStep, the `mkdir' command does not
1463 # recognize any option. It will interpret all options as
1464 # directories to create, and then abort because `.' already
1465 # exists.
1466 for d in ./-p ./--version;
1467 do
1468 test -d $d && rmdir $d
1469 done
1470 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1471 if test -f "$ac_aux_dir/mkinstalldirs"; then
1472 mkdir_p='$(mkinstalldirs)'
1473 else
1474 mkdir_p='$(install_sh) -d'
1475 fi
1476 fi
1477
1478 for ac_prog in gawk mawk nawk awk
1479 do
1480 # Extract the first word of "$ac_prog", so it can be a program name with args.
1481 set dummy $ac_prog; ac_word=$2
1482 echo "$as_me:$LINENO: checking for $ac_word" >&5
1483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1484 if test "${ac_cv_prog_AWK+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 else
1487 if test -n "$AWK"; then
1488 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1489 else
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1491 for as_dir in $PATH
1492 do
1493 IFS=$as_save_IFS
1494 test -z "$as_dir" && as_dir=.
1495 for ac_exec_ext in '' $ac_executable_extensions; do
1496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1497 ac_cv_prog_AWK="$ac_prog"
1498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1499 break 2
1500 fi
1501 done
1502 done
1503
1504 fi
1505 fi
1506 AWK=$ac_cv_prog_AWK
1507 if test -n "$AWK"; then
1508 echo "$as_me:$LINENO: result: $AWK" >&5
1509 echo "${ECHO_T}$AWK" >&6
1510 else
1511 echo "$as_me:$LINENO: result: no" >&5
1512 echo "${ECHO_T}no" >&6
1513 fi
1514
1515 test -n "$AWK" && break
1516 done
1517
1518 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1519 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1520 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1521 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 else
1524 cat >conftest.make <<\_ACEOF
1525 all:
1526 @echo 'ac_maketemp="$(MAKE)"'
1527 _ACEOF
1528 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1529 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1530 if test -n "$ac_maketemp"; then
1531 eval ac_cv_prog_make_${ac_make}_set=yes
1532 else
1533 eval ac_cv_prog_make_${ac_make}_set=no
1534 fi
1535 rm -f conftest.make
1536 fi
1537 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1538 echo "$as_me:$LINENO: result: yes" >&5
1539 echo "${ECHO_T}yes" >&6
1540 SET_MAKE=
1541 else
1542 echo "$as_me:$LINENO: result: no" >&5
1543 echo "${ECHO_T}no" >&6
1544 SET_MAKE="MAKE=${MAKE-make}"
1545 fi
1546
1547 rm -rf .tst 2>/dev/null
1548 mkdir .tst 2>/dev/null
1549 if test -d .tst; then
1550 am__leading_dot=.
1551 else
1552 am__leading_dot=_
1553 fi
1554 rmdir .tst 2>/dev/null
1555
1556 # test to see if srcdir already configured
1557 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1558 test -f $srcdir/config.status; then
1559 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1560 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1561 { (exit 1); exit 1; }; }
1562 fi
1563
1564 # test whether we have cygpath
1565 if test -z "$CYGPATH_W"; then
1566 if (cygpath --version) >/dev/null 2>/dev/null; then
1567 CYGPATH_W='cygpath -w'
1568 else
1569 CYGPATH_W=echo
1570 fi
1571 fi
1572
1573
1574 # Define the identity of the package.
1575 PACKAGE=$PACKAGE_NAME
1576 VERSION=$PACKAGE_VERSION
1577
1578
1579 cat >>confdefs.h <<_ACEOF
1580 #define PACKAGE "$PACKAGE"
1581 _ACEOF
1582
1583
1584 cat >>confdefs.h <<_ACEOF
1585 #define VERSION "$VERSION"
1586 _ACEOF
1587
1588 # Some tools Automake needs.
1589
1590 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1591
1592
1593 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1594
1595
1596 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1597
1598
1599 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1600
1601
1602 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1603
1604
1605 AMTAR=${AMTAR-"${am_missing_run}tar"}
1606
1607 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1608
1609 # Installed binaries are usually stripped using `strip' when the user
1610 # run `make install-strip'. However `strip' might not be the right
1611 # tool to use in cross-compilation environments, therefore Automake
1612 # will honor the `STRIP' environment variable to overrule this program.
1613 if test "$cross_compiling" != no; then
1614 if test -n "$ac_tool_prefix"; then
1615 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1616 set dummy ${ac_tool_prefix}strip; ac_word=$2
1617 echo "$as_me:$LINENO: checking for $ac_word" >&5
1618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1619 if test "${ac_cv_prog_STRIP+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 else
1622 if test -n "$STRIP"; then
1623 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1624 else
1625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1626 for as_dir in $PATH
1627 do
1628 IFS=$as_save_IFS
1629 test -z "$as_dir" && as_dir=.
1630 for ac_exec_ext in '' $ac_executable_extensions; do
1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1632 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1634 break 2
1635 fi
1636 done
1637 done
1638
1639 fi
1640 fi
1641 STRIP=$ac_cv_prog_STRIP
1642 if test -n "$STRIP"; then
1643 echo "$as_me:$LINENO: result: $STRIP" >&5
1644 echo "${ECHO_T}$STRIP" >&6
1645 else
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1648 fi
1649
1650 fi
1651 if test -z "$ac_cv_prog_STRIP"; then
1652 ac_ct_STRIP=$STRIP
1653 # Extract the first word of "strip", so it can be a program name with args.
1654 set dummy strip; ac_word=$2
1655 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 else
1660 if test -n "$ac_ct_STRIP"; then
1661 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1662 else
1663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1664 for as_dir in $PATH
1665 do
1666 IFS=$as_save_IFS
1667 test -z "$as_dir" && as_dir=.
1668 for ac_exec_ext in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_prog_ac_ct_STRIP="strip"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1672 break 2
1673 fi
1674 done
1675 done
1676
1677 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1678 fi
1679 fi
1680 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1681 if test -n "$ac_ct_STRIP"; then
1682 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1683 echo "${ECHO_T}$ac_ct_STRIP" >&6
1684 else
1685 echo "$as_me:$LINENO: result: no" >&5
1686 echo "${ECHO_T}no" >&6
1687 fi
1688
1689 STRIP=$ac_ct_STRIP
1690 else
1691 STRIP="$ac_cv_prog_STRIP"
1692 fi
1693
1694 fi
1695 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1696
1697 # We need awk for the "check" target. The system "awk" is bad on
1698 # some platforms.
1699
1700
1701
1702
1703
1704 ac_ext=c
1705 ac_cpp='$CPP $CPPFLAGS'
1706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1709 if test -n "$ac_tool_prefix"; then
1710 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1711 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1712 echo "$as_me:$LINENO: checking for $ac_word" >&5
1713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714 if test "${ac_cv_prog_CC+set}" = set; then
1715 echo $ECHO_N "(cached) $ECHO_C" >&6
1716 else
1717 if test -n "$CC"; then
1718 ac_cv_prog_CC="$CC" # Let the user override the test.
1719 else
1720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1721 for as_dir in $PATH
1722 do
1723 IFS=$as_save_IFS
1724 test -z "$as_dir" && as_dir=.
1725 for ac_exec_ext in '' $ac_executable_extensions; do
1726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1727 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1729 break 2
1730 fi
1731 done
1732 done
1733
1734 fi
1735 fi
1736 CC=$ac_cv_prog_CC
1737 if test -n "$CC"; then
1738 echo "$as_me:$LINENO: result: $CC" >&5
1739 echo "${ECHO_T}$CC" >&6
1740 else
1741 echo "$as_me:$LINENO: result: no" >&5
1742 echo "${ECHO_T}no" >&6
1743 fi
1744
1745 fi
1746 if test -z "$ac_cv_prog_CC"; then
1747 ac_ct_CC=$CC
1748 # Extract the first word of "gcc", so it can be a program name with args.
1749 set dummy gcc; ac_word=$2
1750 echo "$as_me:$LINENO: checking for $ac_word" >&5
1751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 if test -n "$ac_ct_CC"; then
1756 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1757 else
1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1759 for as_dir in $PATH
1760 do
1761 IFS=$as_save_IFS
1762 test -z "$as_dir" && as_dir=.
1763 for ac_exec_ext in '' $ac_executable_extensions; do
1764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1765 ac_cv_prog_ac_ct_CC="gcc"
1766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1767 break 2
1768 fi
1769 done
1770 done
1771
1772 fi
1773 fi
1774 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1775 if test -n "$ac_ct_CC"; then
1776 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1777 echo "${ECHO_T}$ac_ct_CC" >&6
1778 else
1779 echo "$as_me:$LINENO: result: no" >&5
1780 echo "${ECHO_T}no" >&6
1781 fi
1782
1783 CC=$ac_ct_CC
1784 else
1785 CC="$ac_cv_prog_CC"
1786 fi
1787
1788 if test -z "$CC"; then
1789 if test -n "$ac_tool_prefix"; then
1790 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1791 set dummy ${ac_tool_prefix}cc; ac_word=$2
1792 echo "$as_me:$LINENO: checking for $ac_word" >&5
1793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1794 if test "${ac_cv_prog_CC+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 else
1797 if test -n "$CC"; then
1798 ac_cv_prog_CC="$CC" # Let the user override the test.
1799 else
1800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1801 for as_dir in $PATH
1802 do
1803 IFS=$as_save_IFS
1804 test -z "$as_dir" && as_dir=.
1805 for ac_exec_ext in '' $ac_executable_extensions; do
1806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1807 ac_cv_prog_CC="${ac_tool_prefix}cc"
1808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1809 break 2
1810 fi
1811 done
1812 done
1813
1814 fi
1815 fi
1816 CC=$ac_cv_prog_CC
1817 if test -n "$CC"; then
1818 echo "$as_me:$LINENO: result: $CC" >&5
1819 echo "${ECHO_T}$CC" >&6
1820 else
1821 echo "$as_me:$LINENO: result: no" >&5
1822 echo "${ECHO_T}no" >&6
1823 fi
1824
1825 fi
1826 if test -z "$ac_cv_prog_CC"; then
1827 ac_ct_CC=$CC
1828 # Extract the first word of "cc", so it can be a program name with args.
1829 set dummy cc; ac_word=$2
1830 echo "$as_me:$LINENO: checking for $ac_word" >&5
1831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1832 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1834 else
1835 if test -n "$ac_ct_CC"; then
1836 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1837 else
1838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839 for as_dir in $PATH
1840 do
1841 IFS=$as_save_IFS
1842 test -z "$as_dir" && as_dir=.
1843 for ac_exec_ext in '' $ac_executable_extensions; do
1844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1845 ac_cv_prog_ac_ct_CC="cc"
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1847 break 2
1848 fi
1849 done
1850 done
1851
1852 fi
1853 fi
1854 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1855 if test -n "$ac_ct_CC"; then
1856 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1857 echo "${ECHO_T}$ac_ct_CC" >&6
1858 else
1859 echo "$as_me:$LINENO: result: no" >&5
1860 echo "${ECHO_T}no" >&6
1861 fi
1862
1863 CC=$ac_ct_CC
1864 else
1865 CC="$ac_cv_prog_CC"
1866 fi
1867
1868 fi
1869 if test -z "$CC"; then
1870 # Extract the first word of "cc", so it can be a program name with args.
1871 set dummy cc; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_CC+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 if test -n "$CC"; then
1878 ac_cv_prog_CC="$CC" # Let the user override the test.
1879 else
1880 ac_prog_rejected=no
1881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1882 for as_dir in $PATH
1883 do
1884 IFS=$as_save_IFS
1885 test -z "$as_dir" && as_dir=.
1886 for ac_exec_ext in '' $ac_executable_extensions; do
1887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1888 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1889 ac_prog_rejected=yes
1890 continue
1891 fi
1892 ac_cv_prog_CC="cc"
1893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1894 break 2
1895 fi
1896 done
1897 done
1898
1899 if test $ac_prog_rejected = yes; then
1900 # We found a bogon in the path, so make sure we never use it.
1901 set dummy $ac_cv_prog_CC
1902 shift
1903 if test $# != 0; then
1904 # We chose a different compiler from the bogus one.
1905 # However, it has the same basename, so the bogon will be chosen
1906 # first if we set CC to just the basename; use the full file name.
1907 shift
1908 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1909 fi
1910 fi
1911 fi
1912 fi
1913 CC=$ac_cv_prog_CC
1914 if test -n "$CC"; then
1915 echo "$as_me:$LINENO: result: $CC" >&5
1916 echo "${ECHO_T}$CC" >&6
1917 else
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1920 fi
1921
1922 fi
1923 if test -z "$CC"; then
1924 if test -n "$ac_tool_prefix"; then
1925 for ac_prog in cl
1926 do
1927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1928 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_CC+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test -n "$CC"; then
1935 ac_cv_prog_CC="$CC" # Let the user override the test.
1936 else
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1939 do
1940 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 break 2
1947 fi
1948 done
1949 done
1950
1951 fi
1952 fi
1953 CC=$ac_cv_prog_CC
1954 if test -n "$CC"; then
1955 echo "$as_me:$LINENO: result: $CC" >&5
1956 echo "${ECHO_T}$CC" >&6
1957 else
1958 echo "$as_me:$LINENO: result: no" >&5
1959 echo "${ECHO_T}no" >&6
1960 fi
1961
1962 test -n "$CC" && break
1963 done
1964 fi
1965 if test -z "$CC"; then
1966 ac_ct_CC=$CC
1967 for ac_prog in cl
1968 do
1969 # Extract the first word of "$ac_prog", so it can be a program name with args.
1970 set dummy $ac_prog; ac_word=$2
1971 echo "$as_me:$LINENO: checking for $ac_word" >&5
1972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1973 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 else
1976 if test -n "$ac_ct_CC"; then
1977 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1978 else
1979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980 for as_dir in $PATH
1981 do
1982 IFS=$as_save_IFS
1983 test -z "$as_dir" && as_dir=.
1984 for ac_exec_ext in '' $ac_executable_extensions; do
1985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1986 ac_cv_prog_ac_ct_CC="$ac_prog"
1987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 break 2
1989 fi
1990 done
1991 done
1992
1993 fi
1994 fi
1995 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1996 if test -n "$ac_ct_CC"; then
1997 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1998 echo "${ECHO_T}$ac_ct_CC" >&6
1999 else
2000 echo "$as_me:$LINENO: result: no" >&5
2001 echo "${ECHO_T}no" >&6
2002 fi
2003
2004 test -n "$ac_ct_CC" && break
2005 done
2006
2007 CC=$ac_ct_CC
2008 fi
2009
2010 fi
2011
2012
2013 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2014 See \`config.log' for more details." >&5
2015 echo "$as_me: error: no acceptable C compiler found in \$PATH
2016 See \`config.log' for more details." >&2;}
2017 { (exit 1); exit 1; }; }
2018
2019 # Provide some information about the compiler.
2020 echo "$as_me:$LINENO:" \
2021 "checking for C compiler version" >&5
2022 ac_compiler=`set X $ac_compile; echo $2`
2023 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2024 (eval $ac_compiler --version </dev/null >&5) 2>&5
2025 ac_status=$?
2026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027 (exit $ac_status); }
2028 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2029 (eval $ac_compiler -v </dev/null >&5) 2>&5
2030 ac_status=$?
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }
2033 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2034 (eval $ac_compiler -V </dev/null >&5) 2>&5
2035 ac_status=$?
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }
2038
2039 cat >conftest.$ac_ext <<_ACEOF
2040 /* confdefs.h. */
2041 _ACEOF
2042 cat confdefs.h >>conftest.$ac_ext
2043 cat >>conftest.$ac_ext <<_ACEOF
2044 /* end confdefs.h. */
2045
2046 int
2047 main ()
2048 {
2049
2050 ;
2051 return 0;
2052 }
2053 _ACEOF
2054 ac_clean_files_save=$ac_clean_files
2055 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2056 # Try to create an executable without -o first, disregard a.out.
2057 # It will help us diagnose broken compilers, and finding out an intuition
2058 # of exeext.
2059 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2060 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2061 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2062 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2063 (eval $ac_link_default) 2>&5
2064 ac_status=$?
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; then
2067 # Find the output, starting from the most likely. This scheme is
2068 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2069 # resort.
2070
2071 # Be careful to initialize this variable, since it used to be cached.
2072 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2073 ac_cv_exeext=
2074 # b.out is created by i960 compilers.
2075 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2076 do
2077 test -f "$ac_file" || continue
2078 case $ac_file in
2079 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2080 ;;
2081 conftest.$ac_ext )
2082 # This is the source file.
2083 ;;
2084 [ab].out )
2085 # We found the default executable, but exeext='' is most
2086 # certainly right.
2087 break;;
2088 *.* )
2089 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2090 # FIXME: I believe we export ac_cv_exeext for Libtool,
2091 # but it would be cool to find out if it's true. Does anybody
2092 # maintain Libtool? --akim.
2093 export ac_cv_exeext
2094 break;;
2095 * )
2096 break;;
2097 esac
2098 done
2099 else
2100 echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.$ac_ext >&5
2102
2103 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2104 See \`config.log' for more details." >&5
2105 echo "$as_me: error: C compiler cannot create executables
2106 See \`config.log' for more details." >&2;}
2107 { (exit 77); exit 77; }; }
2108 fi
2109
2110 ac_exeext=$ac_cv_exeext
2111 echo "$as_me:$LINENO: result: $ac_file" >&5
2112 echo "${ECHO_T}$ac_file" >&6
2113
2114 # Check the compiler produces executables we can run. If not, either
2115 # the compiler is broken, or we cross compile.
2116 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2117 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2118 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2119 # If not cross compiling, check that we can run a simple program.
2120 if test "$cross_compiling" != yes; then
2121 if { ac_try='./$ac_file'
2122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2123 (eval $ac_try) 2>&5
2124 ac_status=$?
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); }; }; then
2127 cross_compiling=no
2128 else
2129 if test "$cross_compiling" = maybe; then
2130 cross_compiling=yes
2131 else
2132 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2133 If you meant to cross compile, use \`--host'.
2134 See \`config.log' for more details." >&5
2135 echo "$as_me: error: cannot run C compiled programs.
2136 If you meant to cross compile, use \`--host'.
2137 See \`config.log' for more details." >&2;}
2138 { (exit 1); exit 1; }; }
2139 fi
2140 fi
2141 fi
2142 echo "$as_me:$LINENO: result: yes" >&5
2143 echo "${ECHO_T}yes" >&6
2144
2145 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2146 ac_clean_files=$ac_clean_files_save
2147 # Check the compiler produces executables we can run. If not, either
2148 # the compiler is broken, or we cross compile.
2149 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2150 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2151 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2152 echo "${ECHO_T}$cross_compiling" >&6
2153
2154 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2155 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2157 (eval $ac_link) 2>&5
2158 ac_status=$?
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; then
2161 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2162 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2163 # work properly (i.e., refer to `conftest.exe'), while it won't with
2164 # `rm'.
2165 for ac_file in conftest.exe conftest conftest.*; do
2166 test -f "$ac_file" || continue
2167 case $ac_file in
2168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2169 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2170 export ac_cv_exeext
2171 break;;
2172 * ) break;;
2173 esac
2174 done
2175 else
2176 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2177 See \`config.log' for more details." >&5
2178 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2179 See \`config.log' for more details." >&2;}
2180 { (exit 1); exit 1; }; }
2181 fi
2182
2183 rm -f conftest$ac_cv_exeext
2184 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2185 echo "${ECHO_T}$ac_cv_exeext" >&6
2186
2187 rm -f conftest.$ac_ext
2188 EXEEXT=$ac_cv_exeext
2189 ac_exeext=$EXEEXT
2190 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2191 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2192 if test "${ac_cv_objext+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 else
2195 cat >conftest.$ac_ext <<_ACEOF
2196 /* confdefs.h. */
2197 _ACEOF
2198 cat confdefs.h >>conftest.$ac_ext
2199 cat >>conftest.$ac_ext <<_ACEOF
2200 /* end confdefs.h. */
2201
2202 int
2203 main ()
2204 {
2205
2206 ;
2207 return 0;
2208 }
2209 _ACEOF
2210 rm -f conftest.o conftest.obj
2211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2212 (eval $ac_compile) 2>&5
2213 ac_status=$?
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); }; then
2216 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2217 case $ac_file in
2218 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2219 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2220 break;;
2221 esac
2222 done
2223 else
2224 echo "$as_me: failed program was:" >&5
2225 sed 's/^/| /' conftest.$ac_ext >&5
2226
2227 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2228 See \`config.log' for more details." >&5
2229 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2230 See \`config.log' for more details." >&2;}
2231 { (exit 1); exit 1; }; }
2232 fi
2233
2234 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2235 fi
2236 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2237 echo "${ECHO_T}$ac_cv_objext" >&6
2238 OBJEXT=$ac_cv_objext
2239 ac_objext=$OBJEXT
2240 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2241 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2242 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 else
2245 cat >conftest.$ac_ext <<_ACEOF
2246 /* confdefs.h. */
2247 _ACEOF
2248 cat confdefs.h >>conftest.$ac_ext
2249 cat >>conftest.$ac_ext <<_ACEOF
2250 /* end confdefs.h. */
2251
2252 int
2253 main ()
2254 {
2255 #ifndef __GNUC__
2256 choke me
2257 #endif
2258
2259 ;
2260 return 0;
2261 }
2262 _ACEOF
2263 rm -f conftest.$ac_objext
2264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2265 (eval $ac_compile) 2>conftest.er1
2266 ac_status=$?
2267 grep -v '^ *+' conftest.er1 >conftest.err
2268 rm -f conftest.er1
2269 cat conftest.err >&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); } &&
2272 { ac_try='test -z "$ac_c_werror_flag"
2273 || test ! -s conftest.err'
2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 (eval $ac_try) 2>&5
2276 ac_status=$?
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }; } &&
2279 { ac_try='test -s conftest.$ac_objext'
2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 (eval $ac_try) 2>&5
2282 ac_status=$?
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; }; then
2285 ac_compiler_gnu=yes
2286 else
2287 echo "$as_me: failed program was:" >&5
2288 sed 's/^/| /' conftest.$ac_ext >&5
2289
2290 ac_compiler_gnu=no
2291 fi
2292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2293 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2294
2295 fi
2296 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2297 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2298 GCC=`test $ac_compiler_gnu = yes && echo yes`
2299 ac_test_CFLAGS=${CFLAGS+set}
2300 ac_save_CFLAGS=$CFLAGS
2301 CFLAGS="-g"
2302 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2303 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2304 if test "${ac_cv_prog_cc_g+set}" = set; then
2305 echo $ECHO_N "(cached) $ECHO_C" >&6
2306 else
2307 cat >conftest.$ac_ext <<_ACEOF
2308 /* confdefs.h. */
2309 _ACEOF
2310 cat confdefs.h >>conftest.$ac_ext
2311 cat >>conftest.$ac_ext <<_ACEOF
2312 /* end confdefs.h. */
2313
2314 int
2315 main ()
2316 {
2317
2318 ;
2319 return 0;
2320 }
2321 _ACEOF
2322 rm -f conftest.$ac_objext
2323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2324 (eval $ac_compile) 2>conftest.er1
2325 ac_status=$?
2326 grep -v '^ *+' conftest.er1 >conftest.err
2327 rm -f conftest.er1
2328 cat conftest.err >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); } &&
2331 { ac_try='test -z "$ac_c_werror_flag"
2332 || test ! -s conftest.err'
2333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334 (eval $ac_try) 2>&5
2335 ac_status=$?
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }; } &&
2338 { ac_try='test -s conftest.$ac_objext'
2339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2340 (eval $ac_try) 2>&5
2341 ac_status=$?
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }; }; then
2344 ac_cv_prog_cc_g=yes
2345 else
2346 echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.$ac_ext >&5
2348
2349 ac_cv_prog_cc_g=no
2350 fi
2351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2352 fi
2353 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2354 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2355 if test "$ac_test_CFLAGS" = set; then
2356 CFLAGS=$ac_save_CFLAGS
2357 elif test $ac_cv_prog_cc_g = yes; then
2358 if test "$GCC" = yes; then
2359 CFLAGS="-g -O2"
2360 else
2361 CFLAGS="-g"
2362 fi
2363 else
2364 if test "$GCC" = yes; then
2365 CFLAGS="-O2"
2366 else
2367 CFLAGS=
2368 fi
2369 fi
2370 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2371 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2372 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2373 echo $ECHO_N "(cached) $ECHO_C" >&6
2374 else
2375 ac_cv_prog_cc_stdc=no
2376 ac_save_CC=$CC
2377 cat >conftest.$ac_ext <<_ACEOF
2378 /* confdefs.h. */
2379 _ACEOF
2380 cat confdefs.h >>conftest.$ac_ext
2381 cat >>conftest.$ac_ext <<_ACEOF
2382 /* end confdefs.h. */
2383 #include <stdarg.h>
2384 #include <stdio.h>
2385 #include <sys/types.h>
2386 #include <sys/stat.h>
2387 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2388 struct buf { int x; };
2389 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2390 static char *e (p, i)
2391 char **p;
2392 int i;
2393 {
2394 return p[i];
2395 }
2396 static char *f (char * (*g) (char **, int), char **p, ...)
2397 {
2398 char *s;
2399 va_list v;
2400 va_start (v,p);
2401 s = g (p, va_arg (v,int));
2402 va_end (v);
2403 return s;
2404 }
2405
2406 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2407 function prototypes and stuff, but not '\xHH' hex character constants.
2408 These don't provoke an error unfortunately, instead are silently treated
2409 as 'x'. The following induces an error, until -std1 is added to get
2410 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2411 array size at least. It's necessary to write '\x00'==0 to get something
2412 that's true only with -std1. */
2413 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2414
2415 int test (int i, double x);
2416 struct s1 {int (*f) (int a);};
2417 struct s2 {int (*f) (double a);};
2418 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2419 int argc;
2420 char **argv;
2421 int
2422 main ()
2423 {
2424 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2425 ;
2426 return 0;
2427 }
2428 _ACEOF
2429 # Don't try gcc -ansi; that turns off useful extensions and
2430 # breaks some systems' header files.
2431 # AIX -qlanglvl=ansi
2432 # Ultrix and OSF/1 -std1
2433 # HP-UX 10.20 and later -Ae
2434 # HP-UX older versions -Aa -D_HPUX_SOURCE
2435 # SVR4 -Xc -D__EXTENSIONS__
2436 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2437 do
2438 CC="$ac_save_CC $ac_arg"
2439 rm -f conftest.$ac_objext
2440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2441 (eval $ac_compile) 2>conftest.er1
2442 ac_status=$?
2443 grep -v '^ *+' conftest.er1 >conftest.err
2444 rm -f conftest.er1
2445 cat conftest.err >&5
2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447 (exit $ac_status); } &&
2448 { ac_try='test -z "$ac_c_werror_flag"
2449 || test ! -s conftest.err'
2450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2451 (eval $ac_try) 2>&5
2452 ac_status=$?
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); }; } &&
2455 { ac_try='test -s conftest.$ac_objext'
2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 (eval $ac_try) 2>&5
2458 ac_status=$?
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; }; then
2461 ac_cv_prog_cc_stdc=$ac_arg
2462 break
2463 else
2464 echo "$as_me: failed program was:" >&5
2465 sed 's/^/| /' conftest.$ac_ext >&5
2466
2467 fi
2468 rm -f conftest.err conftest.$ac_objext
2469 done
2470 rm -f conftest.$ac_ext conftest.$ac_objext
2471 CC=$ac_save_CC
2472
2473 fi
2474
2475 case "x$ac_cv_prog_cc_stdc" in
2476 x|xno)
2477 echo "$as_me:$LINENO: result: none needed" >&5
2478 echo "${ECHO_T}none needed" >&6 ;;
2479 *)
2480 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2481 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2482 CC="$CC $ac_cv_prog_cc_stdc" ;;
2483 esac
2484
2485 # Some people use a C++ compiler to compile C. Since we use `exit',
2486 # in C++ we need to declare it. In case someone uses the same compiler
2487 # for both compiling C and C++ we need to have the C++ compiler decide
2488 # the declaration of exit, since it's the most demanding environment.
2489 cat >conftest.$ac_ext <<_ACEOF
2490 #ifndef __cplusplus
2491 choke me
2492 #endif
2493 _ACEOF
2494 rm -f conftest.$ac_objext
2495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2496 (eval $ac_compile) 2>conftest.er1
2497 ac_status=$?
2498 grep -v '^ *+' conftest.er1 >conftest.err
2499 rm -f conftest.er1
2500 cat conftest.err >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); } &&
2503 { ac_try='test -z "$ac_c_werror_flag"
2504 || test ! -s conftest.err'
2505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2506 (eval $ac_try) 2>&5
2507 ac_status=$?
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; } &&
2510 { ac_try='test -s conftest.$ac_objext'
2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2512 (eval $ac_try) 2>&5
2513 ac_status=$?
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; }; then
2516 for ac_declaration in \
2517 '' \
2518 'extern "C" void std::exit (int) throw (); using std::exit;' \
2519 'extern "C" void std::exit (int); using std::exit;' \
2520 'extern "C" void exit (int) throw ();' \
2521 'extern "C" void exit (int);' \
2522 'void exit (int);'
2523 do
2524 cat >conftest.$ac_ext <<_ACEOF
2525 /* confdefs.h. */
2526 _ACEOF
2527 cat confdefs.h >>conftest.$ac_ext
2528 cat >>conftest.$ac_ext <<_ACEOF
2529 /* end confdefs.h. */
2530 $ac_declaration
2531 #include <stdlib.h>
2532 int
2533 main ()
2534 {
2535 exit (42);
2536 ;
2537 return 0;
2538 }
2539 _ACEOF
2540 rm -f conftest.$ac_objext
2541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2542 (eval $ac_compile) 2>conftest.er1
2543 ac_status=$?
2544 grep -v '^ *+' conftest.er1 >conftest.err
2545 rm -f conftest.er1
2546 cat conftest.err >&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); } &&
2549 { ac_try='test -z "$ac_c_werror_flag"
2550 || test ! -s conftest.err'
2551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2552 (eval $ac_try) 2>&5
2553 ac_status=$?
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); }; } &&
2556 { ac_try='test -s conftest.$ac_objext'
2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 (eval $ac_try) 2>&5
2559 ac_status=$?
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }; }; then
2562 :
2563 else
2564 echo "$as_me: failed program was:" >&5
2565 sed 's/^/| /' conftest.$ac_ext >&5
2566
2567 continue
2568 fi
2569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2570 cat >conftest.$ac_ext <<_ACEOF
2571 /* confdefs.h. */
2572 _ACEOF
2573 cat confdefs.h >>conftest.$ac_ext
2574 cat >>conftest.$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2576 $ac_declaration
2577 int
2578 main ()
2579 {
2580 exit (42);
2581 ;
2582 return 0;
2583 }
2584 _ACEOF
2585 rm -f conftest.$ac_objext
2586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2587 (eval $ac_compile) 2>conftest.er1
2588 ac_status=$?
2589 grep -v '^ *+' conftest.er1 >conftest.err
2590 rm -f conftest.er1
2591 cat conftest.err >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); } &&
2594 { ac_try='test -z "$ac_c_werror_flag"
2595 || test ! -s conftest.err'
2596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2597 (eval $ac_try) 2>&5
2598 ac_status=$?
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; } &&
2601 { ac_try='test -s conftest.$ac_objext'
2602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603 (eval $ac_try) 2>&5
2604 ac_status=$?
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }; }; then
2607 break
2608 else
2609 echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2611
2612 fi
2613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2614 done
2615 rm -f conftest*
2616 if test -n "$ac_declaration"; then
2617 echo '#ifdef __cplusplus' >>confdefs.h
2618 echo $ac_declaration >>confdefs.h
2619 echo '#endif' >>confdefs.h
2620 fi
2621
2622 else
2623 echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.$ac_ext >&5
2625
2626 fi
2627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2628 ac_ext=c
2629 ac_cpp='$CPP $CPPFLAGS'
2630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2633 DEPDIR="${am__leading_dot}deps"
2634
2635 ac_config_commands="$ac_config_commands depfiles"
2636
2637
2638 am_make=${MAKE-make}
2639 cat > confinc << 'END'
2640 am__doit:
2641 @echo done
2642 .PHONY: am__doit
2643 END
2644 # If we don't find an include directive, just comment out the code.
2645 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2646 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2647 am__include="#"
2648 am__quote=
2649 _am_result=none
2650 # First try GNU make style include.
2651 echo "include confinc" > confmf
2652 # We grep out `Entering directory' and `Leaving directory'
2653 # messages which can occur if `w' ends up in MAKEFLAGS.
2654 # In particular we don't look at `^make:' because GNU make might
2655 # be invoked under some other name (usually "gmake"), in which
2656 # case it prints its new name instead of `make'.
2657 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2658 am__include=include
2659 am__quote=
2660 _am_result=GNU
2661 fi
2662 # Now try BSD make style include.
2663 if test "$am__include" = "#"; then
2664 echo '.include "confinc"' > confmf
2665 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2666 am__include=.include
2667 am__quote="\""
2668 _am_result=BSD
2669 fi
2670 fi
2671
2672
2673 echo "$as_me:$LINENO: result: $_am_result" >&5
2674 echo "${ECHO_T}$_am_result" >&6
2675 rm -f confinc confmf
2676
2677 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2678 if test "${enable_dependency_tracking+set}" = set; then
2679 enableval="$enable_dependency_tracking"
2680
2681 fi;
2682 if test "x$enable_dependency_tracking" != xno; then
2683 am_depcomp="$ac_aux_dir/depcomp"
2684 AMDEPBACKSLASH='\'
2685 fi
2686
2687
2688 if test "x$enable_dependency_tracking" != xno; then
2689 AMDEP_TRUE=
2690 AMDEP_FALSE='#'
2691 else
2692 AMDEP_TRUE='#'
2693 AMDEP_FALSE=
2694 fi
2695
2696
2697
2698
2699 depcc="$CC" am_compiler_list=
2700
2701 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2702 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2703 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2704 echo $ECHO_N "(cached) $ECHO_C" >&6
2705 else
2706 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2707 # We make a subdir and do the tests there. Otherwise we can end up
2708 # making bogus files that we don't know about and never remove. For
2709 # instance it was reported that on HP-UX the gcc test will end up
2710 # making a dummy file named `D' -- because `-MD' means `put the output
2711 # in D'.
2712 mkdir conftest.dir
2713 # Copy depcomp to subdir because otherwise we won't find it if we're
2714 # using a relative directory.
2715 cp "$am_depcomp" conftest.dir
2716 cd conftest.dir
2717 # We will build objects and dependencies in a subdirectory because
2718 # it helps to detect inapplicable dependency modes. For instance
2719 # both Tru64's cc and ICC support -MD to output dependencies as a
2720 # side effect of compilation, but ICC will put the dependencies in
2721 # the current directory while Tru64 will put them in the object
2722 # directory.
2723 mkdir sub
2724
2725 am_cv_CC_dependencies_compiler_type=none
2726 if test "$am_compiler_list" = ""; then
2727 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2728 fi
2729 for depmode in $am_compiler_list; do
2730 # Setup a source with many dependencies, because some compilers
2731 # like to wrap large dependency lists on column 80 (with \), and
2732 # we should not choose a depcomp mode which is confused by this.
2733 #
2734 # We need to recreate these files for each test, as the compiler may
2735 # overwrite some of them when testing with obscure command lines.
2736 # This happens at least with the AIX C compiler.
2737 : > sub/conftest.c
2738 for i in 1 2 3 4 5 6; do
2739 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2740 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2741 # Solaris 8's {/usr,}/bin/sh.
2742 touch sub/conftst$i.h
2743 done
2744 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2745
2746 case $depmode in
2747 nosideeffect)
2748 # after this tag, mechanisms are not by side-effect, so they'll
2749 # only be used when explicitly requested
2750 if test "x$enable_dependency_tracking" = xyes; then
2751 continue
2752 else
2753 break
2754 fi
2755 ;;
2756 none) break ;;
2757 esac
2758 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2759 # mode. It turns out that the SunPro C++ compiler does not properly
2760 # handle `-M -o', and we need to detect this.
2761 if depmode=$depmode \
2762 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2763 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2764 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2765 >/dev/null 2>conftest.err &&
2766 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2767 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2768 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2769 # icc doesn't choke on unknown options, it will just issue warnings
2770 # or remarks (even with -Werror). So we grep stderr for any message
2771 # that says an option was ignored or not supported.
2772 # When given -MP, icc 7.0 and 7.1 complain thusly:
2773 # icc: Command line warning: ignoring option '-M'; no argument required
2774 # The diagnosis changed in icc 8.0:
2775 # icc: Command line remark: option '-MP' not supported
2776 if (grep 'ignoring option' conftest.err ||
2777 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2778 am_cv_CC_dependencies_compiler_type=$depmode
2779 break
2780 fi
2781 fi
2782 done
2783
2784 cd ..
2785 rm -rf conftest.dir
2786 else
2787 am_cv_CC_dependencies_compiler_type=none
2788 fi
2789
2790 fi
2791 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2792 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2793 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2794
2795
2796
2797 if
2798 test "x$enable_dependency_tracking" != xno \
2799 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2800 am__fastdepCC_TRUE=
2801 am__fastdepCC_FALSE='#'
2802 else
2803 am__fastdepCC_TRUE='#'
2804 am__fastdepCC_FALSE=
2805 fi
2806
2807
2808
2809 echo "$as_me:$LINENO: checking for udev version" >&5
2810 echo $ECHO_N "checking for udev version... $ECHO_C" >&6
2811 udev_ver=`udevinfo -V | awk '{ print $3 }'`
2812 if test -n "$udev_ver"; then
2813 echo "$as_me:$LINENO: result: $udev_ver" >&5
2814 echo "${ECHO_T}$udev_ver" >&6
2815 else
2816 echo "$as_me:$LINENO: result: none" >&5
2817 echo "${ECHO_T}none" >&6
2818 udev_ver="0"
2819 fi
2820 if test "$udev_ver" -lt 057; then
2821 { { echo "$as_me:$LINENO: error: udev version 057 or later is required" >&5
2822 echo "$as_me: error: udev version 057 or later is required" >&2;}
2823 { (exit 1); exit 1; }; }
2824 fi
2825
2826
2827 # Check whether --with-udev or --without-udev was given.
2828 if test "${with_udev+set}" = set; then
2829 withval="$with_udev"
2830 udev_dir="$withval"
2831 else
2832 udev_dir="/etc/udev"
2833 fi;
2834 as_ac_File=`echo "ac_cv_file_$udev_dir/udev.conf" | $as_tr_sh`
2835 echo "$as_me:$LINENO: checking for $udev_dir/udev.conf" >&5
2836 echo $ECHO_N "checking for $udev_dir/udev.conf... $ECHO_C" >&6
2837 if eval "test \"\${$as_ac_File+set}\" = set"; then
2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2839 else
2840 test "$cross_compiling" = yes &&
2841 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2842 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2843 { (exit 1); exit 1; }; }
2844 if test -r "$udev_dir/udev.conf"; then
2845 eval "$as_ac_File=yes"
2846 else
2847 eval "$as_ac_File=no"
2848 fi
2849 fi
2850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2851 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2852 if test `eval echo '${'$as_ac_File'}'` = yes; then
2853 udev_conf="$udev_dir/udev.conf"
2854 else
2855 udev_conf=""
2856 fi
2857
2858
2859 echo "$as_me:$LINENO: checking for udev rules directory" >&5
2860 echo $ECHO_N "checking for udev rules directory... $ECHO_C" >&6
2861 udev_rules=""
2862 if test -r "$udev_conf"; then
2863 udev_rules=`. "$udev_conf"; echo "$udev_rules"`
2864 fi
2865 if test -n "$udev_rules"; then
2866 echo "$as_me:$LINENO: result: $udev_rules" >&5
2867 echo "${ECHO_T}$udev_rules" >&6
2868 else
2869 udev_rules="$udev_dir/rules.d"
2870 echo "$as_me:$LINENO: result: not found; assuming $udev_rules" >&5
2871 echo "${ECHO_T}not found; assuming $udev_rules" >&6
2872 fi
2873 if test ! -d "$udev_rules"; then
2874 { { echo "$as_me:$LINENO: error: $udev_rules not found" >&5
2875 echo "$as_me: error: $udev_rules not found" >&2;}
2876 { (exit 1); exit 1; }; }
2877 fi
2878 UDEV_RULES_DIR=$udev_rules
2879
2880
2881 ac_config_files="$ac_config_files Makefile"
2882
2883 cat >confcache <<\_ACEOF
2884 # This file is a shell script that caches the results of configure
2885 # tests run on this system so they can be shared between configure
2886 # scripts and configure runs, see configure's option --config-cache.
2887 # It is not useful on other systems. If it contains results you don't
2888 # want to keep, you may remove or edit it.
2889 #
2890 # config.status only pays attention to the cache file if you give it
2891 # the --recheck option to rerun configure.
2892 #
2893 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2894 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2895 # following values.
2896
2897 _ACEOF
2898
2899 # The following way of writing the cache mishandles newlines in values,
2900 # but we know of no workaround that is simple, portable, and efficient.
2901 # So, don't put newlines in cache variables' values.
2902 # Ultrix sh set writes to stderr and can't be redirected directly,
2903 # and sets the high bit in the cache file unless we assign to the vars.
2904 {
2905 (set) 2>&1 |
2906 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2907 *ac_space=\ *)
2908 # `set' does not quote correctly, so add quotes (double-quote
2909 # substitution turns \\\\ into \\, and sed turns \\ into \).
2910 sed -n \
2911 "s/'/'\\\\''/g;
2912 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2913 ;;
2914 *)
2915 # `set' quotes correctly as required by POSIX, so do not add quotes.
2916 sed -n \
2917 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2918 ;;
2919 esac;
2920 } |
2921 sed '
2922 t clear
2923 : clear
2924 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2925 t end
2926 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2927 : end' >>confcache
2928 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2929 if test -w $cache_file; then
2930 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2931 cat confcache >$cache_file
2932 else
2933 echo "not updating unwritable cache $cache_file"
2934 fi
2935 fi
2936 rm -f confcache
2937
2938 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2939 # Let make expand exec_prefix.
2940 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2941
2942 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2943 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2944 # trailing colons and then remove the whole line if VPATH becomes empty
2945 # (actually we leave an empty line to preserve line numbers).
2946 if test "x$srcdir" = x.; then
2947 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2948 s/:*\$(srcdir):*/:/;
2949 s/:*\${srcdir}:*/:/;
2950 s/:*@srcdir@:*/:/;
2951 s/^\([^=]*=[ ]*\):*/\1/;
2952 s/:*$//;
2953 s/^[^=]*=[ ]*$//;
2954 }'
2955 fi
2956
2957 # Transform confdefs.h into DEFS.
2958 # Protect against shell expansion while executing Makefile rules.
2959 # Protect against Makefile macro expansion.
2960 #
2961 # If the first sed substitution is executed (which looks for macros that
2962 # take arguments), then we branch to the quote section. Otherwise,
2963 # look for a macro that doesn't take arguments.
2964 cat >confdef2opt.sed <<\_ACEOF
2965 t clear
2966 : clear
2967 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2968 t quote
2969 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2970 t quote
2971 d
2972 : quote
2973 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2974 s,\[,\\&,g
2975 s,\],\\&,g
2976 s,\$,$$,g
2977 p
2978 _ACEOF
2979 # We use echo to avoid assuming a particular line-breaking character.
2980 # The extra dot is to prevent the shell from consuming trailing
2981 # line-breaks from the sub-command output. A line-break within
2982 # single-quotes doesn't work because, if this script is created in a
2983 # platform that uses two characters for line-breaks (e.g., DOS), tr
2984 # would break.
2985 ac_LF_and_DOT=`echo; echo .`
2986 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2987 rm -f confdef2opt.sed
2988
2989
2990 ac_libobjs=
2991 ac_ltlibobjs=
2992 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2993 # 1. Remove the extension, and $U if already installed.
2994 ac_i=`echo "$ac_i" |
2995 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2996 # 2. Add them.
2997 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2998 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2999 done
3000 LIBOBJS=$ac_libobjs
3001
3002 LTLIBOBJS=$ac_ltlibobjs
3003
3004
3005 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3006 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3007 Usually this means the macro was only invoked conditionally." >&5
3008 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3009 Usually this means the macro was only invoked conditionally." >&2;}
3010 { (exit 1); exit 1; }; }
3011 fi
3012 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3013 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3014 Usually this means the macro was only invoked conditionally." >&5
3015 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3016 Usually this means the macro was only invoked conditionally." >&2;}
3017 { (exit 1); exit 1; }; }
3018 fi
3019
3020 : ${CONFIG_STATUS=./config.status}
3021 ac_clean_files_save=$ac_clean_files
3022 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3023 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3024 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3025 cat >$CONFIG_STATUS <<_ACEOF
3026 #! $SHELL
3027 # Generated by $as_me.
3028 # Run this file to recreate the current configuration.
3029 # Compiler output produced by configure, useful for debugging
3030 # configure, is in config.log if it exists.
3031
3032 debug=false
3033 ac_cs_recheck=false
3034 ac_cs_silent=false
3035 SHELL=\${CONFIG_SHELL-$SHELL}
3036 _ACEOF
3037
3038 cat >>$CONFIG_STATUS <<\_ACEOF
3039 ## --------------------- ##
3040 ## M4sh Initialization. ##
3041 ## --------------------- ##
3042
3043 # Be Bourne compatible
3044 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3045 emulate sh
3046 NULLCMD=:
3047 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3048 # is contrary to our usage. Disable this feature.
3049 alias -g '${1+"$@"}'='"$@"'
3050 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3051 set -o posix
3052 fi
3053 DUALCASE=1; export DUALCASE # for MKS sh
3054
3055 # Support unset when possible.
3056 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3057 as_unset=unset
3058 else
3059 as_unset=false
3060 fi
3061
3062
3063 # Work around bugs in pre-3.0 UWIN ksh.
3064 $as_unset ENV MAIL MAILPATH
3065 PS1='$ '
3066 PS2='> '
3067 PS4='+ '
3068
3069 # NLS nuisances.
3070 for as_var in \
3071 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3072 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3073 LC_TELEPHONE LC_TIME
3074 do
3075 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3076 eval $as_var=C; export $as_var
3077 else
3078 $as_unset $as_var
3079 fi
3080 done
3081
3082 # Required to use basename.
3083 if expr a : '\(a\)' >/dev/null 2>&1; then
3084 as_expr=expr
3085 else
3086 as_expr=false
3087 fi
3088
3089 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3090 as_basename=basename
3091 else
3092 as_basename=false
3093 fi
3094
3095
3096 # Name of the executable.
3097 as_me=`$as_basename "$0" ||
3098 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3099 X"$0" : 'X\(//\)$' \| \
3100 X"$0" : 'X\(/\)$' \| \
3101 . : '\(.\)' 2>/dev/null ||
3102 echo X/"$0" |
3103 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3104 /^X\/\(\/\/\)$/{ s//\1/; q; }
3105 /^X\/\(\/\).*/{ s//\1/; q; }
3106 s/.*/./; q'`
3107
3108
3109 # PATH needs CR, and LINENO needs CR and PATH.
3110 # Avoid depending upon Character Ranges.
3111 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3112 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3113 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3114 as_cr_digits='0123456789'
3115 as_cr_alnum=$as_cr_Letters$as_cr_digits
3116
3117 # The user is always right.
3118 if test "${PATH_SEPARATOR+set}" != set; then
3119 echo "#! /bin/sh" >conf$$.sh
3120 echo "exit 0" >>conf$$.sh
3121 chmod +x conf$$.sh
3122 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3123 PATH_SEPARATOR=';'
3124 else
3125 PATH_SEPARATOR=:
3126 fi
3127 rm -f conf$$.sh
3128 fi
3129
3130
3131 as_lineno_1=$LINENO
3132 as_lineno_2=$LINENO
3133 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3134 test "x$as_lineno_1" != "x$as_lineno_2" &&
3135 test "x$as_lineno_3" = "x$as_lineno_2" || {
3136 # Find who we are. Look in the path if we contain no path at all
3137 # relative or not.
3138 case $0 in
3139 *[\\/]* ) as_myself=$0 ;;
3140 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141 for as_dir in $PATH
3142 do
3143 IFS=$as_save_IFS
3144 test -z "$as_dir" && as_dir=.
3145 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3146 done
3147
3148 ;;
3149 esac
3150 # We did not find ourselves, most probably we were run as `sh COMMAND'
3151 # in which case we are not to be found in the path.
3152 if test "x$as_myself" = x; then
3153 as_myself=$0
3154 fi
3155 if test ! -f "$as_myself"; then
3156 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3157 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3158 { (exit 1); exit 1; }; }
3159 fi
3160 case $CONFIG_SHELL in
3161 '')
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3164 do
3165 IFS=$as_save_IFS
3166 test -z "$as_dir" && as_dir=.
3167 for as_base in sh bash ksh sh5; do
3168 case $as_dir in
3169 /*)
3170 if ("$as_dir/$as_base" -c '
3171 as_lineno_1=$LINENO
3172 as_lineno_2=$LINENO
3173 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3174 test "x$as_lineno_1" != "x$as_lineno_2" &&
3175 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3176 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3177 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3178 CONFIG_SHELL=$as_dir/$as_base
3179 export CONFIG_SHELL
3180 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3181 fi;;
3182 esac
3183 done
3184 done
3185 ;;
3186 esac
3187
3188 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3189 # uniformly replaced by the line number. The first 'sed' inserts a
3190 # line-number line before each line; the second 'sed' does the real
3191 # work. The second script uses 'N' to pair each line-number line
3192 # with the numbered line, and appends trailing '-' during
3193 # substitution so that $LINENO is not a special case at line end.
3194 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3195 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3196 sed '=' <$as_myself |
3197 sed '
3198 N
3199 s,$,-,
3200 : loop
3201 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3202 t loop
3203 s,-$,,
3204 s,^['$as_cr_digits']*\n,,
3205 ' >$as_me.lineno &&
3206 chmod +x $as_me.lineno ||
3207 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3208 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3209 { (exit 1); exit 1; }; }
3210
3211 # Don't try to exec as it changes $[0], causing all sort of problems
3212 # (the dirname of $[0] is not the place where we might find the
3213 # original and so on. Autoconf is especially sensible to this).
3214 . ./$as_me.lineno
3215 # Exit status is that of the last command.
3216 exit
3217 }
3218
3219
3220 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3221 *c*,-n*) ECHO_N= ECHO_C='
3222 ' ECHO_T=' ' ;;
3223 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3224 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3225 esac
3226
3227 if expr a : '\(a\)' >/dev/null 2>&1; then
3228 as_expr=expr
3229 else
3230 as_expr=false
3231 fi
3232
3233 rm -f conf$$ conf$$.exe conf$$.file
3234 echo >conf$$.file
3235 if ln -s conf$$.file conf$$ 2>/dev/null; then
3236 # We could just check for DJGPP; but this test a) works b) is more generic
3237 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3238 if test -f conf$$.exe; then
3239 # Don't use ln at all; we don't have any links
3240 as_ln_s='cp -p'
3241 else
3242 as_ln_s='ln -s'
3243 fi
3244 elif ln conf$$.file conf$$ 2>/dev/null; then
3245 as_ln_s=ln
3246 else
3247 as_ln_s='cp -p'
3248 fi
3249 rm -f conf$$ conf$$.exe conf$$.file
3250
3251 if mkdir -p . 2>/dev/null; then
3252 as_mkdir_p=:
3253 else
3254 test -d ./-p && rmdir ./-p
3255 as_mkdir_p=false
3256 fi
3257
3258 as_executable_p="test -f"
3259
3260 # Sed expression to map a string onto a valid CPP name.
3261 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3262
3263 # Sed expression to map a string onto a valid variable name.
3264 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3265
3266
3267 # IFS
3268 # We need space, tab and new line, in precisely that order.
3269 as_nl='
3270 '
3271 IFS=" $as_nl"
3272
3273 # CDPATH.
3274 $as_unset CDPATH
3275
3276 exec 6>&1
3277
3278 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3279 # report actual input values of CONFIG_FILES etc. instead of their
3280 # values after options handling. Logging --version etc. is OK.
3281 exec 5>>config.log
3282 {
3283 echo
3284 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3285 ## Running $as_me. ##
3286 _ASBOX
3287 } >&5
3288 cat >&5 <<_CSEOF
3289
3290 This file was extended by madfuload $as_me 1.2, which was
3291 generated by GNU Autoconf 2.59. Invocation command line was
3292
3293 CONFIG_FILES = $CONFIG_FILES
3294 CONFIG_HEADERS = $CONFIG_HEADERS
3295 CONFIG_LINKS = $CONFIG_LINKS
3296 CONFIG_COMMANDS = $CONFIG_COMMANDS
3297 $ $0 $@
3298
3299 _CSEOF
3300 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3301 echo >&5
3302 _ACEOF
3303
3304 # Files that config.status was made for.
3305 if test -n "$ac_config_files"; then
3306 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3307 fi
3308
3309 if test -n "$ac_config_headers"; then
3310 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3311 fi
3312
3313 if test -n "$ac_config_links"; then
3314 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3315 fi
3316
3317 if test -n "$ac_config_commands"; then
3318 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3319 fi
3320
3321 cat >>$CONFIG_STATUS <<\_ACEOF
3322
3323 ac_cs_usage="\
3324 \`$as_me' instantiates files from templates according to the
3325 current configuration.
3326
3327 Usage: $0 [OPTIONS] [FILE]...
3328
3329 -h, --help print this help, then exit
3330 -V, --version print version number, then exit
3331 -q, --quiet do not print progress messages
3332 -d, --debug don't remove temporary files
3333 --recheck update $as_me by reconfiguring in the same conditions
3334 --file=FILE[:TEMPLATE]
3335 instantiate the configuration file FILE
3336
3337 Configuration files:
3338 $config_files
3339
3340 Configuration commands:
3341 $config_commands
3342
3343 Report bugs to <[email protected]>."
3344 _ACEOF
3345
3346 cat >>$CONFIG_STATUS <<_ACEOF
3347 ac_cs_version="\\
3348 madfuload config.status 1.2
3349 configured by $0, generated by GNU Autoconf 2.59,
3350 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3351
3352 Copyright (C) 2003 Free Software Foundation, Inc.
3353 This config.status script is free software; the Free Software Foundation
3354 gives unlimited permission to copy, distribute and modify it."
3355 srcdir=$srcdir
3356 INSTALL="$INSTALL"
3357 _ACEOF
3358
3359 cat >>$CONFIG_STATUS <<\_ACEOF
3360 # If no file are specified by the user, then we need to provide default
3361 # value. By we need to know if files were specified by the user.
3362 ac_need_defaults=:
3363 while test $# != 0
3364 do
3365 case $1 in
3366 --*=*)
3367 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3368 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3369 ac_shift=:
3370 ;;
3371 -*)
3372 ac_option=$1
3373 ac_optarg=$2
3374 ac_shift=shift
3375 ;;
3376 *) # This is not an option, so the user has probably given explicit
3377 # arguments.
3378 ac_option=$1
3379 ac_need_defaults=false;;
3380 esac
3381
3382 case $ac_option in
3383 # Handling of the options.
3384 _ACEOF
3385 cat >>$CONFIG_STATUS <<\_ACEOF
3386 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3387 ac_cs_recheck=: ;;
3388 --version | --vers* | -V )
3389 echo "$ac_cs_version"; exit 0 ;;
3390 --he | --h)
3391 # Conflict between --help and --header
3392 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3393 Try \`$0 --help' for more information." >&5
3394 echo "$as_me: error: ambiguous option: $1
3395 Try \`$0 --help' for more information." >&2;}
3396 { (exit 1); exit 1; }; };;
3397 --help | --hel | -h )
3398 echo "$ac_cs_usage"; exit 0 ;;
3399 --debug | --d* | -d )
3400 debug=: ;;
3401 --file | --fil | --fi | --f )
3402 $ac_shift
3403 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3404 ac_need_defaults=false;;
3405 --header | --heade | --head | --hea )
3406 $ac_shift
3407 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3408 ac_need_defaults=false;;
3409 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3410 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3411 ac_cs_silent=: ;;
3412
3413 # This is an error.
3414 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3415 Try \`$0 --help' for more information." >&5
3416 echo "$as_me: error: unrecognized option: $1
3417 Try \`$0 --help' for more information." >&2;}
3418 { (exit 1); exit 1; }; } ;;
3419
3420 *) ac_config_targets="$ac_config_targets $1" ;;
3421
3422 esac
3423 shift
3424 done
3425
3426 ac_configure_extra_args=
3427
3428 if $ac_cs_silent; then
3429 exec 6>/dev/null
3430 ac_configure_extra_args="$ac_configure_extra_args --silent"
3431 fi
3432
3433 _ACEOF
3434 cat >>$CONFIG_STATUS <<_ACEOF
3435 if \$ac_cs_recheck; then
3436 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3437 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3438 fi
3439
3440 _ACEOF
3441
3442 cat >>$CONFIG_STATUS <<_ACEOF
3443 #
3444 # INIT-COMMANDS section.
3445 #
3446
3447 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3448
3449 _ACEOF
3450
3451
3452
3453 cat >>$CONFIG_STATUS <<\_ACEOF
3454 for ac_config_target in $ac_config_targets
3455 do
3456 case "$ac_config_target" in
3457 # Handling of arguments.
3458 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3459 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3460 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3461 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3462 { (exit 1); exit 1; }; };;
3463 esac
3464 done
3465
3466 # If the user did not use the arguments to specify the items to instantiate,
3467 # then the envvar interface is used. Set only those that are not.
3468 # We use the long form for the default assignment because of an extremely
3469 # bizarre bug on SunOS 4.1.3.
3470 if $ac_need_defaults; then
3471 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3472 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3473 fi
3474
3475 # Have a temporary directory for convenience. Make it in the build tree
3476 # simply because there is no reason to put it here, and in addition,
3477 # creating and moving files from /tmp can sometimes cause problems.
3478 # Create a temporary directory, and hook for its removal unless debugging.
3479 $debug ||
3480 {
3481 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3482 trap '{ (exit 1); exit 1; }' 1 2 13 15
3483 }
3484
3485 # Create a (secure) tmp directory for tmp files.
3486
3487 {
3488 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3489 test -n "$tmp" && test -d "$tmp"
3490 } ||
3491 {
3492 tmp=./confstat$$-$RANDOM
3493 (umask 077 && mkdir $tmp)
3494 } ||
3495 {
3496 echo "$me: cannot create a temporary directory in ." >&2
3497 { (exit 1); exit 1; }
3498 }
3499
3500 _ACEOF
3501
3502 cat >>$CONFIG_STATUS <<_ACEOF
3503
3504 #
3505 # CONFIG_FILES section.
3506 #
3507
3508 # No need to generate the scripts if there are no CONFIG_FILES.
3509 # This happens for instance when ./config.status config.h
3510 if test -n "\$CONFIG_FILES"; then
3511 # Protect against being on the right side of a sed subst in config.status.
3512 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3513 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3514 s,@SHELL@,$SHELL,;t t
3515 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3516 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3517 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3518 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3519 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3520 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3521 s,@exec_prefix@,$exec_prefix,;t t
3522 s,@prefix@,$prefix,;t t
3523 s,@program_transform_name@,$program_transform_name,;t t
3524 s,@bindir@,$bindir,;t t
3525 s,@sbindir@,$sbindir,;t t
3526 s,@libexecdir@,$libexecdir,;t t
3527 s,@datadir@,$datadir,;t t
3528 s,@sysconfdir@,$sysconfdir,;t t
3529 s,@sharedstatedir@,$sharedstatedir,;t t
3530 s,@localstatedir@,$localstatedir,;t t
3531 s,@libdir@,$libdir,;t t
3532 s,@includedir@,$includedir,;t t
3533 s,@oldincludedir@,$oldincludedir,;t t
3534 s,@infodir@,$infodir,;t t
3535 s,@mandir@,$mandir,;t t
3536 s,@build_alias@,$build_alias,;t t
3537 s,@host_alias@,$host_alias,;t t
3538 s,@target_alias@,$target_alias,;t t
3539 s,@DEFS@,$DEFS,;t t
3540 s,@ECHO_C@,$ECHO_C,;t t
3541 s,@ECHO_N@,$ECHO_N,;t t
3542 s,@ECHO_T@,$ECHO_T,;t t
3543 s,@LIBS@,$LIBS,;t t
3544 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3545 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3546 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3547 s,@CYGPATH_W@,$CYGPATH_W,;t t
3548 s,@PACKAGE@,$PACKAGE,;t t
3549 s,@VERSION@,$VERSION,;t t
3550 s,@ACLOCAL@,$ACLOCAL,;t t
3551 s,@AUTOCONF@,$AUTOCONF,;t t
3552 s,@AUTOMAKE@,$AUTOMAKE,;t t
3553 s,@AUTOHEADER@,$AUTOHEADER,;t t
3554 s,@MAKEINFO@,$MAKEINFO,;t t
3555 s,@AMTAR@,$AMTAR,;t t
3556 s,@install_sh@,$install_sh,;t t
3557 s,@STRIP@,$STRIP,;t t
3558 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3559 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3560 s,@mkdir_p@,$mkdir_p,;t t
3561 s,@AWK@,$AWK,;t t
3562 s,@SET_MAKE@,$SET_MAKE,;t t
3563 s,@am__leading_dot@,$am__leading_dot,;t t
3564 s,@CC@,$CC,;t t
3565 s,@CFLAGS@,$CFLAGS,;t t
3566 s,@LDFLAGS@,$LDFLAGS,;t t
3567 s,@CPPFLAGS@,$CPPFLAGS,;t t
3568 s,@ac_ct_CC@,$ac_ct_CC,;t t
3569 s,@EXEEXT@,$EXEEXT,;t t
3570 s,@OBJEXT@,$OBJEXT,;t t
3571 s,@DEPDIR@,$DEPDIR,;t t
3572 s,@am__include@,$am__include,;t t
3573 s,@am__quote@,$am__quote,;t t
3574 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3575 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3576 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3577 s,@CCDEPMODE@,$CCDEPMODE,;t t
3578 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3579 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3580 s,@UDEV_RULES_DIR@,$UDEV_RULES_DIR,;t t
3581 s,@LIBOBJS@,$LIBOBJS,;t t
3582 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3583 CEOF
3584
3585 _ACEOF
3586
3587 cat >>$CONFIG_STATUS <<\_ACEOF
3588 # Split the substitutions into bite-sized pieces for seds with
3589 # small command number limits, like on Digital OSF/1 and HP-UX.
3590 ac_max_sed_lines=48
3591 ac_sed_frag=1 # Number of current file.
3592 ac_beg=1 # First line for current file.
3593 ac_end=$ac_max_sed_lines # Line after last line for current file.
3594 ac_more_lines=:
3595 ac_sed_cmds=
3596 while $ac_more_lines; do
3597 if test $ac_beg -gt 1; then
3598 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3599 else
3600 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3601 fi
3602 if test ! -s $tmp/subs.frag; then
3603 ac_more_lines=false
3604 else
3605 # The purpose of the label and of the branching condition is to
3606 # speed up the sed processing (if there are no `@' at all, there
3607 # is no need to browse any of the substitutions).
3608 # These are the two extra sed commands mentioned above.
3609 (echo ':t
3610 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3611 if test -z "$ac_sed_cmds"; then
3612 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3613 else
3614 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3615 fi
3616 ac_sed_frag=`expr $ac_sed_frag + 1`
3617 ac_beg=$ac_end
3618 ac_end=`expr $ac_end + $ac_max_sed_lines`
3619 fi
3620 done
3621 if test -z "$ac_sed_cmds"; then
3622 ac_sed_cmds=cat
3623 fi
3624 fi # test -n "$CONFIG_FILES"
3625
3626 _ACEOF
3627 cat >>$CONFIG_STATUS <<\_ACEOF
3628 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3629 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3630 case $ac_file in
3631 - | *:- | *:-:* ) # input from stdin
3632 cat >$tmp/stdin
3633 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3634 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3635 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3636 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3637 * ) ac_file_in=$ac_file.in ;;
3638 esac
3639
3640 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3641 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3642 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3643 X"$ac_file" : 'X\(//\)[^/]' \| \
3644 X"$ac_file" : 'X\(//\)$' \| \
3645 X"$ac_file" : 'X\(/\)' \| \
3646 . : '\(.\)' 2>/dev/null ||
3647 echo X"$ac_file" |
3648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3649 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3650 /^X\(\/\/\)$/{ s//\1/; q; }
3651 /^X\(\/\).*/{ s//\1/; q; }
3652 s/.*/./; q'`
3653 { if $as_mkdir_p; then
3654 mkdir -p "$ac_dir"
3655 else
3656 as_dir="$ac_dir"
3657 as_dirs=
3658 while test ! -d "$as_dir"; do
3659 as_dirs="$as_dir $as_dirs"
3660 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3662 X"$as_dir" : 'X\(//\)[^/]' \| \
3663 X"$as_dir" : 'X\(//\)$' \| \
3664 X"$as_dir" : 'X\(/\)' \| \
3665 . : '\(.\)' 2>/dev/null ||
3666 echo X"$as_dir" |
3667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3669 /^X\(\/\/\)$/{ s//\1/; q; }
3670 /^X\(\/\).*/{ s//\1/; q; }
3671 s/.*/./; q'`
3672 done
3673 test ! -n "$as_dirs" || mkdir $as_dirs
3674 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3675 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3676 { (exit 1); exit 1; }; }; }
3677
3678 ac_builddir=.
3679
3680 if test "$ac_dir" != .; then
3681 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3682 # A "../" for each directory in $ac_dir_suffix.
3683 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3684 else
3685 ac_dir_suffix= ac_top_builddir=
3686 fi
3687
3688 case $srcdir in
3689 .) # No --srcdir option. We are building in place.
3690 ac_srcdir=.
3691 if test -z "$ac_top_builddir"; then
3692 ac_top_srcdir=.
3693 else
3694 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3695 fi ;;
3696 [\\/]* | ?:[\\/]* ) # Absolute path.
3697 ac_srcdir=$srcdir$ac_dir_suffix;
3698 ac_top_srcdir=$srcdir ;;
3699 *) # Relative path.
3700 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3701 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3702 esac
3703
3704 # Do not use `cd foo && pwd` to compute absolute paths, because
3705 # the directories may not exist.
3706 case `pwd` in
3707 .) ac_abs_builddir="$ac_dir";;
3708 *)
3709 case "$ac_dir" in
3710 .) ac_abs_builddir=`pwd`;;
3711 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3712 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3713 esac;;
3714 esac
3715 case $ac_abs_builddir in
3716 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3717 *)
3718 case ${ac_top_builddir}. in
3719 .) ac_abs_top_builddir=$ac_abs_builddir;;
3720 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3721 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3722 esac;;
3723 esac
3724 case $ac_abs_builddir in
3725 .) ac_abs_srcdir=$ac_srcdir;;
3726 *)
3727 case $ac_srcdir in
3728 .) ac_abs_srcdir=$ac_abs_builddir;;
3729 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3730 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3731 esac;;
3732 esac
3733 case $ac_abs_builddir in
3734 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3735 *)
3736 case $ac_top_srcdir in
3737 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3738 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3739 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3740 esac;;
3741 esac
3742
3743
3744 case $INSTALL in
3745 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3746 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3747 esac
3748
3749 if test x"$ac_file" != x-; then
3750 { echo "$as_me:$LINENO: creating $ac_file" >&5
3751 echo "$as_me: creating $ac_file" >&6;}
3752 rm -f "$ac_file"
3753 fi
3754 # Let's still pretend it is `configure' which instantiates (i.e., don't
3755 # use $as_me), people would be surprised to read:
3756 # /* config.h. Generated by config.status. */
3757 if test x"$ac_file" = x-; then
3758 configure_input=
3759 else
3760 configure_input="$ac_file. "
3761 fi
3762 configure_input=$configure_input"Generated from `echo $ac_file_in |
3763 sed 's,.*/,,'` by configure."
3764
3765 # First look for the input files in the build tree, otherwise in the
3766 # src tree.
3767 ac_file_inputs=`IFS=:
3768 for f in $ac_file_in; do
3769 case $f in
3770 -) echo $tmp/stdin ;;
3771 [\\/$]*)
3772 # Absolute (can't be DOS-style, as IFS=:)
3773 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3774 echo "$as_me: error: cannot find input file: $f" >&2;}
3775 { (exit 1); exit 1; }; }
3776 echo "$f";;
3777 *) # Relative
3778 if test -f "$f"; then
3779 # Build tree
3780 echo "$f"
3781 elif test -f "$srcdir/$f"; then
3782 # Source tree
3783 echo "$srcdir/$f"
3784 else
3785 # /dev/null tree
3786 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3787 echo "$as_me: error: cannot find input file: $f" >&2;}
3788 { (exit 1); exit 1; }; }
3789 fi;;
3790 esac
3791 done` || { (exit 1); exit 1; }
3792 _ACEOF
3793 cat >>$CONFIG_STATUS <<_ACEOF
3794 sed "$ac_vpsub
3795 $extrasub
3796 _ACEOF
3797 cat >>$CONFIG_STATUS <<\_ACEOF
3798 :t
3799 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3800 s,@configure_input@,$configure_input,;t t
3801 s,@srcdir@,$ac_srcdir,;t t
3802 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3803 s,@top_srcdir@,$ac_top_srcdir,;t t
3804 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3805 s,@builddir@,$ac_builddir,;t t
3806 s,@abs_builddir@,$ac_abs_builddir,;t t
3807 s,@top_builddir@,$ac_top_builddir,;t t
3808 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3809 s,@INSTALL@,$ac_INSTALL,;t t
3810 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3811 rm -f $tmp/stdin
3812 if test x"$ac_file" != x-; then
3813 mv $tmp/out $ac_file
3814 else
3815 cat $tmp/out
3816 rm -f $tmp/out
3817 fi
3818
3819 done
3820 _ACEOF
3821 cat >>$CONFIG_STATUS <<\_ACEOF
3822
3823 #
3824 # CONFIG_COMMANDS section.
3825 #
3826 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3827 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3828 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3829 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3830 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3831 X"$ac_dest" : 'X\(//\)[^/]' \| \
3832 X"$ac_dest" : 'X\(//\)$' \| \
3833 X"$ac_dest" : 'X\(/\)' \| \
3834 . : '\(.\)' 2>/dev/null ||
3835 echo X"$ac_dest" |
3836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3837 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3838 /^X\(\/\/\)$/{ s//\1/; q; }
3839 /^X\(\/\).*/{ s//\1/; q; }
3840 s/.*/./; q'`
3841 { if $as_mkdir_p; then
3842 mkdir -p "$ac_dir"
3843 else
3844 as_dir="$ac_dir"
3845 as_dirs=
3846 while test ! -d "$as_dir"; do
3847 as_dirs="$as_dir $as_dirs"
3848 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3849 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3850 X"$as_dir" : 'X\(//\)[^/]' \| \
3851 X"$as_dir" : 'X\(//\)$' \| \
3852 X"$as_dir" : 'X\(/\)' \| \
3853 . : '\(.\)' 2>/dev/null ||
3854 echo X"$as_dir" |
3855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3856 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3857 /^X\(\/\/\)$/{ s//\1/; q; }
3858 /^X\(\/\).*/{ s//\1/; q; }
3859 s/.*/./; q'`
3860 done
3861 test ! -n "$as_dirs" || mkdir $as_dirs
3862 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3863 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3864 { (exit 1); exit 1; }; }; }
3865
3866 ac_builddir=.
3867
3868 if test "$ac_dir" != .; then
3869 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3870 # A "../" for each directory in $ac_dir_suffix.
3871 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3872 else
3873 ac_dir_suffix= ac_top_builddir=
3874 fi
3875
3876 case $srcdir in
3877 .) # No --srcdir option. We are building in place.
3878 ac_srcdir=.
3879 if test -z "$ac_top_builddir"; then
3880 ac_top_srcdir=.
3881 else
3882 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3883 fi ;;
3884 [\\/]* | ?:[\\/]* ) # Absolute path.
3885 ac_srcdir=$srcdir$ac_dir_suffix;
3886 ac_top_srcdir=$srcdir ;;
3887 *) # Relative path.
3888 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3889 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3890 esac
3891
3892 # Do not use `cd foo && pwd` to compute absolute paths, because
3893 # the directories may not exist.
3894 case `pwd` in
3895 .) ac_abs_builddir="$ac_dir";;
3896 *)
3897 case "$ac_dir" in
3898 .) ac_abs_builddir=`pwd`;;
3899 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3900 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3901 esac;;
3902 esac
3903 case $ac_abs_builddir in
3904 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3905 *)
3906 case ${ac_top_builddir}. in
3907 .) ac_abs_top_builddir=$ac_abs_builddir;;
3908 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3909 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3910 esac;;
3911 esac
3912 case $ac_abs_builddir in
3913 .) ac_abs_srcdir=$ac_srcdir;;
3914 *)
3915 case $ac_srcdir in
3916 .) ac_abs_srcdir=$ac_abs_builddir;;
3917 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3918 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3919 esac;;
3920 esac
3921 case $ac_abs_builddir in
3922 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3923 *)
3924 case $ac_top_srcdir in
3925 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3926 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3927 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3928 esac;;
3929 esac
3930
3931
3932 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3933 echo "$as_me: executing $ac_dest commands" >&6;}
3934 case $ac_dest in
3935 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3936 # Strip MF so we end up with the name of the file.
3937 mf=`echo "$mf" | sed -e 's/:.*$//'`
3938 # Check whether this is an Automake generated Makefile or not.
3939 # We used to match only the files named `Makefile.in', but
3940 # some people rename them; so instead we look at the file content.
3941 # Grep'ing the first line is not enough: some people post-process
3942 # each Makefile.in and add a new line on top of each file to say so.
3943 # So let's grep whole file.
3944 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3945 dirpart=`(dirname "$mf") 2>/dev/null ||
3946 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3947 X"$mf" : 'X\(//\)[^/]' \| \
3948 X"$mf" : 'X\(//\)$' \| \
3949 X"$mf" : 'X\(/\)' \| \
3950 . : '\(.\)' 2>/dev/null ||
3951 echo X"$mf" |
3952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3953 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3954 /^X\(\/\/\)$/{ s//\1/; q; }
3955 /^X\(\/\).*/{ s//\1/; q; }
3956 s/.*/./; q'`
3957 else
3958 continue
3959 fi
3960 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
3961 # Extract the definition of DEP_FILES from the Makefile without
3962 # running `make'.
3963 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3964 test -z "$DEPDIR" && continue
3965 # When using ansi2knr, U may be empty or an underscore; expand it
3966 U=`sed -n 's/^U = //p' < "$mf"`
3967 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
3968 # We invoke sed twice because it is the simplest approach to
3969 # changing $(DEPDIR) to its actual value in the expansion.
3970 for file in `sed -n '
3971 /^DEP_FILES = .*\\\\$/ {
3972 s/^DEP_FILES = //
3973 :loop
3974 s/\\\\$//
3975 p
3976 n
3977 /\\\\$/ b loop
3978 p
3979 }
3980 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
3981 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3982 # Make sure the directory exists.
3983 test -f "$dirpart/$file" && continue
3984 fdir=`(dirname "$file") 2>/dev/null ||
3985 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3986 X"$file" : 'X\(//\)[^/]' \| \
3987 X"$file" : 'X\(//\)$' \| \
3988 X"$file" : 'X\(/\)' \| \
3989 . : '\(.\)' 2>/dev/null ||
3990 echo X"$file" |
3991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3992 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3993 /^X\(\/\/\)$/{ s//\1/; q; }
3994 /^X\(\/\).*/{ s//\1/; q; }
3995 s/.*/./; q'`
3996 { if $as_mkdir_p; then
3997 mkdir -p $dirpart/$fdir
3998 else
3999 as_dir=$dirpart/$fdir
4000 as_dirs=
4001 while test ! -d "$as_dir"; do
4002 as_dirs="$as_dir $as_dirs"
4003 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4004 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4005 X"$as_dir" : 'X\(//\)[^/]' \| \
4006 X"$as_dir" : 'X\(//\)$' \| \
4007 X"$as_dir" : 'X\(/\)' \| \
4008 . : '\(.\)' 2>/dev/null ||
4009 echo X"$as_dir" |
4010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4011 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4012 /^X\(\/\/\)$/{ s//\1/; q; }
4013 /^X\(\/\).*/{ s//\1/; q; }
4014 s/.*/./; q'`
4015 done
4016 test ! -n "$as_dirs" || mkdir $as_dirs
4017 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4018 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4019 { (exit 1); exit 1; }; }; }
4020
4021 # echo "creating $dirpart/$file"
4022 echo '# dummy' > "$dirpart/$file"
4023 done
4024 done
4025 ;;
4026 esac
4027 done
4028 _ACEOF
4029
4030 cat >>$CONFIG_STATUS <<\_ACEOF
4031
4032 { (exit 0); exit 0; }
4033 _ACEOF
4034 chmod +x $CONFIG_STATUS
4035 ac_clean_files=$ac_clean_files_save
4036
4037
4038 # configure is writing to config.log, and then calls config.status.
4039 # config.status does its own redirection, appending to config.log.
4040 # Unfortunately, on DOS this fails, as config.log is still kept open
4041 # by configure, so config.status won't be able to write to it; its
4042 # output is simply discarded. So we exec the FD to /dev/null,
4043 # effectively closing config.log, so it can be properly (re)opened and
4044 # appended to by config.status. When coming back to configure, we
4045 # need to make the FD available again.
4046 if test "$no_create" != yes; then
4047 ac_cs_success=:
4048 ac_config_status_args=
4049 test "$silent" = yes &&
4050 ac_config_status_args="$ac_config_status_args --quiet"
4051 exec 5>/dev/null
4052 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4053 exec 5>>config.log
4054 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4055 # would make configure fail if this is the last instruction.
4056 $ac_cs_success || { (exit 1); exit 1; }
4057 fi
4058