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