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