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