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