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