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