2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for xauth 7.0.
5
# Report bugs to <xorg@freedestkop.org>.
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
## --------------------- ##
14
# Be Bourne compatible
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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
24
DUALCASE=1; export DUALCASE # for MKS sh
26
# Support unset when possible.
27
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
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 \
46
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
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 ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
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
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
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
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
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }; }
130
case $CONFIG_SHELL in
132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
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
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
s,^['$as_cr_digits']*\n,,
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; }; }
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).
184
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196
if expr a : '\(a\)' >/dev/null 2>&1; then
202
rm -f conf$$ conf$$.exe 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
213
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
220
if mkdir -p . 2>/dev/null; then
223
test -d ./-p && rmdir ./-p
227
as_executable_p="test -f"
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'"
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'"
237
# We need space, tab and new line, in precisely that order.
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`
256
ac_default_prefix=/usr/local
257
ac_config_libobj_dir=.
262
SHELL=${CONFIG_SHELL-/bin/sh}
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}
269
# Identity of this package.
271
PACKAGE_TARNAME='xauth'
272
PACKAGE_VERSION='7.0'
273
PACKAGE_STRING='xauth 7.0'
274
PACKAGE_BUGREPORT='xorg@freedestkop.org'
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 CPP EGREP PKG_CONFIG ac_pt_PKG_CONFIG XAUTH_CFLAGS XAUTH_LIBS LIBOBJS LTLIBOBJS'
279
# Initialize some variables set by options.
281
ac_init_version=false
282
# The variables have the same names as the options, with
283
# dashes changed to underlines.
291
program_transform_name=s,x,x,
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'
320
# If the previous option needs an argument, assign it.
321
if test -n "$ac_prev"; then
322
eval "$ac_prev=\$ac_option"
327
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329
# Accept the important Cygnus configure options, so we can diagnose typos.
333
-bindir | --bindir | --bindi | --bind | --bin | --bi)
335
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338
-build | --build | --buil | --bui | --bu)
339
ac_prev=build_alias ;;
340
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
341
build_alias=$ac_optarg ;;
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 ;;
351
cache_file=config.cache ;;
353
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357
datadir=$ac_optarg ;;
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" ;;
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'`
376
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379
eval "enable_$ac_feature='$ac_optarg'" ;;
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 ;;
390
-gas | --gas | --ga | --g)
391
# Obsolete; use --with-gas.
394
-help | --help | --hel | --he | -h)
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 ;;
401
-host | --host | --hos | --ho)
402
ac_prev=host_alias ;;
403
-host=* | --host=* | --hos=* | --ho=*)
404
host_alias=$ac_optarg ;;
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 ;;
413
-infodir | --infodir | --infodi | --infod | --info | --inf)
415
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416
infodir=$ac_optarg ;;
418
-libdir | --libdir | --libdi | --libd)
420
-libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
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 ;;
439
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445
# Obsolete; use --without-fp.
448
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
449
| --no-cr | --no-c | -n)
452
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
453
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
465
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
501
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
502
| -silent | --silent | --silen | --sile | --sil)
505
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509
sbindir=$ac_optarg ;;
511
-sharedstatedir | --sharedstatedir | --sharedstatedi \
512
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513
| --sharedst | --shareds | --shared | --share | --shar \
515
ac_prev=sharedstatedir ;;
516
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520
sharedstatedir=$ac_optarg ;;
522
-site | --site | --sit)
524
-site=* | --site=* | --sit=*)
527
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
544
-v | -verbose | --verbose | --verbos | --verbo | --verb)
547
-version | --version | --versio | --versi | --vers | -V)
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'`
558
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561
eval "with_$ac_package='$ac_optarg'" ;;
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" ;;
573
# Obsolete; use --with-x.
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 ;;
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 ;;
590
-*) { echo "$as_me: error: unrecognized option: $ac_option
591
Try \`$0 --help' for more information." >&2
592
{ (exit 1); exit 1; }; }
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'"
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}
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; }; }
622
# Be sure to have absolute paths.
623
for ac_var in exec_prefix prefix
625
eval ac_val=$`echo $ac_var`
627
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629
{ (exit 1); exit 1; }; };;
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
637
eval ac_val=$`echo $ac_var`
639
[\\/$]* | ?:[\\/]* ) ;;
640
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641
{ (exit 1); exit 1; }; };;
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.
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
664
test -n "$host_alias" && ac_tool_prefix=$host_alias-
666
test "$silent" = yes && exec 6>/dev/null
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 ||
680
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
682
/^X\(\/\/\)$/{ s//\1/; q; }
683
/^X\(\/\).*/{ s//\1/; q; }
686
if test ! -r $srcdir/$ac_unique_file; then
690
ac_srcdir_defaulted=no
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; }; }
697
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698
{ (exit 1); exit 1; }; }
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}
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_CPP_set=${CPP+set}
734
ac_env_CPP_value=$CPP
735
ac_cv_env_CPP_set=${CPP+set}
736
ac_cv_env_CPP_value=$CPP
737
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
738
ac_env_PKG_CONFIG_value=$PKG_CONFIG
739
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
740
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
741
ac_env_XAUTH_CFLAGS_set=${XAUTH_CFLAGS+set}
742
ac_env_XAUTH_CFLAGS_value=$XAUTH_CFLAGS
743
ac_cv_env_XAUTH_CFLAGS_set=${XAUTH_CFLAGS+set}
744
ac_cv_env_XAUTH_CFLAGS_value=$XAUTH_CFLAGS
745
ac_env_XAUTH_LIBS_set=${XAUTH_LIBS+set}
746
ac_env_XAUTH_LIBS_value=$XAUTH_LIBS
747
ac_cv_env_XAUTH_LIBS_set=${XAUTH_LIBS+set}
748
ac_cv_env_XAUTH_LIBS_value=$XAUTH_LIBS
751
# Report the --help message.
753
if test "$ac_init_help" = "long"; then
754
# Omit some internal or obsolete options to make the list less imposing.
755
# This message is too long to be a string in the A/UX 3.1 sh.
757
\`configure' configures xauth 7.0 to adapt to many kinds of systems.
759
Usage: $0 [OPTION]... [VAR=VALUE]...
761
To assign environment variables (e.g., CC, CFLAGS...), specify them as
762
VAR=VALUE. See below for descriptions of some of the useful variables.
764
Defaults for the options are specified in brackets.
767
-h, --help display this help and exit
768
--help=short display options specific to this package
769
--help=recursive display the short help of all the included packages
770
-V, --version display version information and exit
771
-q, --quiet, --silent do not print \`checking...' messages
772
--cache-file=FILE cache test results in FILE [disabled]
773
-C, --config-cache alias for \`--cache-file=config.cache'
774
-n, --no-create do not create output files
775
--srcdir=DIR find the sources in DIR [configure dir or \`..']
780
Installation directories:
781
--prefix=PREFIX install architecture-independent files in PREFIX
783
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
786
By default, \`make install' will install all the files in
787
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
788
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
789
for instance \`--prefix=\$HOME'.
791
For better control, use the options below.
793
Fine tuning of the installation directories:
794
--bindir=DIR user executables [EPREFIX/bin]
795
--sbindir=DIR system admin executables [EPREFIX/sbin]
796
--libexecdir=DIR program executables [EPREFIX/libexec]
797
--datadir=DIR read-only architecture-independent data [PREFIX/share]
798
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
799
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
800
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
801
--libdir=DIR object code libraries [EPREFIX/lib]
802
--includedir=DIR C header files [PREFIX/include]
803
--oldincludedir=DIR C header files for non-gcc [/usr/include]
804
--infodir=DIR info documentation [PREFIX/info]
805
--mandir=DIR man documentation [PREFIX/man]
811
--program-prefix=PREFIX prepend PREFIX to installed program names
812
--program-suffix=SUFFIX append SUFFIX to installed program names
813
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
817
if test -n "$ac_init_help"; then
818
case $ac_init_help in
819
short | recursive ) echo "Configuration of xauth 7.0:";;
824
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
825
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
826
--enable-maintainer-mode enable make rules and dependencies not useful
827
(and sometimes confusing) to the casual installer
828
--disable-dependency-tracking speeds up one-time build
829
--enable-dependency-tracking do not reject slow dependency extractors
830
--disable-unix-transport
831
--disable-tcp-transport
834
Some influential environment variables:
835
CC C compiler command
836
CFLAGS C compiler flags
837
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
838
nonstandard directory <lib dir>
839
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
840
headers in a nonstandard directory <include dir>
842
PKG_CONFIG path to pkg-config utility
844
C compiler flags for XAUTH, overriding pkg-config
845
XAUTH_LIBS linker flags for XAUTH, overriding pkg-config
847
Use these variables to override the choices made by `configure' or to help
848
it to find libraries and programs with nonstandard names/locations.
850
Report bugs to <xorg@freedestkop.org>.
854
if test "$ac_init_help" = "recursive"; then
855
# If there are subdirs, report their specific --help.
857
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
858
test -d $ac_dir || continue
861
if test "$ac_dir" != .; then
862
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
863
# A "../" for each directory in $ac_dir_suffix.
864
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
866
ac_dir_suffix= ac_top_builddir=
870
.) # No --srcdir option. We are building in place.
872
if test -z "$ac_top_builddir"; then
875
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
877
[\\/]* | ?:[\\/]* ) # Absolute path.
878
ac_srcdir=$srcdir$ac_dir_suffix;
879
ac_top_srcdir=$srcdir ;;
881
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
882
ac_top_srcdir=$ac_top_builddir$srcdir ;;
885
# Do not use `cd foo && pwd` to compute absolute paths, because
886
# the directories may not exist.
888
.) ac_abs_builddir="$ac_dir";;
891
.) ac_abs_builddir=`pwd`;;
892
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
893
*) ac_abs_builddir=`pwd`/"$ac_dir";;
896
case $ac_abs_builddir in
897
.) ac_abs_top_builddir=${ac_top_builddir}.;;
899
case ${ac_top_builddir}. in
900
.) ac_abs_top_builddir=$ac_abs_builddir;;
901
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
902
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
905
case $ac_abs_builddir in
906
.) ac_abs_srcdir=$ac_srcdir;;
909
.) ac_abs_srcdir=$ac_abs_builddir;;
910
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
911
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
914
case $ac_abs_builddir in
915
.) ac_abs_top_srcdir=$ac_top_srcdir;;
917
case $ac_top_srcdir in
918
.) ac_abs_top_srcdir=$ac_abs_builddir;;
919
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
920
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
925
# Check for guested configure; otherwise get Cygnus style configure.
926
if test -f $ac_srcdir/configure.gnu; then
928
$SHELL $ac_srcdir/configure.gnu --help=recursive
929
elif test -f $ac_srcdir/configure; then
931
$SHELL $ac_srcdir/configure --help=recursive
932
elif test -f $ac_srcdir/configure.ac ||
933
test -f $ac_srcdir/configure.in; then
937
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
943
test -n "$ac_init_help" && exit 0
944
if $ac_init_version; then
947
generated by GNU Autoconf 2.59
949
Copyright (C) 2003 Free Software Foundation, Inc.
950
This configure script is free software; the Free Software Foundation
951
gives unlimited permission to copy, distribute and modify it.
957
This file contains any messages produced by compilers while
958
running configure, to aid debugging if configure makes a mistake.
960
It was created by xauth $as_me 7.0, which was
961
generated by GNU Autoconf 2.59. Invocation command line was
972
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
973
uname -m = `(uname -m) 2>/dev/null || echo unknown`
974
uname -r = `(uname -r) 2>/dev/null || echo unknown`
975
uname -s = `(uname -s) 2>/dev/null || echo unknown`
976
uname -v = `(uname -v) 2>/dev/null || echo unknown`
978
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
979
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
981
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
982
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
983
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
984
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
985
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
986
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
987
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
991
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
995
test -z "$as_dir" && as_dir=.
1011
# Keep a trace of the command line.
1012
# Strip out --no-create and --no-recursion so they do not pile up.
1013
# Strip out --silent because we don't want to record it for future runs.
1014
# Also quote any args containing shell meta-characters.
1015
# Make two passes to allow for proper duplicate-argument suppression.
1020
ac_must_keep_next=false
1026
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1027
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028
| -silent | --silent | --silen | --sile | --sil)
1030
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1031
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1034
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1036
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1037
if test $ac_must_keep_next = true; then
1038
ac_must_keep_next=false # Got value, back to normal.
1041
*=* | --config-cache | -C | -disable-* | --disable-* \
1042
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1043
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1044
| -with-* | --with-* | -without-* | --without-* | --x)
1045
case "$ac_configure_args0 " in
1046
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1049
-* ) ac_must_keep_next=true ;;
1052
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1053
# Get rid of the leading space.
1059
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1060
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1062
# When interrupted or exit'd, cleanup temporary files, and complete
1063
# config.log. We remove comments because anyway the quotes in there
1064
# would cause problems or look ugly.
1065
# WARNING: Be sure not to use single quotes in there, as some shells,
1066
# such as our DU 5.0 friend, will then `close' the trap.
1067
trap 'exit_status=$?
1068
# Save into config.log some information that might help in debugging.
1073
## ---------------- ##
1074
## Cache variables. ##
1075
## ---------------- ##
1078
# The following way of writing the cache mishandles newlines in values,
1081
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1084
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1085
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1089
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1096
## ----------------- ##
1097
## Output variables. ##
1098
## ----------------- ##
1101
for ac_var in $ac_subst_vars
1103
eval ac_val=$`echo $ac_var`
1104
echo "$ac_var='"'"'$ac_val'"'"'"
1108
if test -n "$ac_subst_files"; then
1115
for ac_var in $ac_subst_files
1117
eval ac_val=$`echo $ac_var`
1118
echo "$ac_var='"'"'$ac_val'"'"'"
1123
if test -s confdefs.h; then
1130
sed "/^$/d" confdefs.h | sort
1133
test "$ac_signal" != 0 &&
1134
echo "$as_me: caught signal $ac_signal"
1135
echo "$as_me: exit $exit_status"
1137
rm -f core *.core &&
1138
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1141
for ac_signal in 1 2 13 15; do
1142
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1146
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1147
rm -rf conftest* confdefs.h
1148
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1151
# Predefined preprocessor variables.
1153
cat >>confdefs.h <<_ACEOF
1154
#define PACKAGE_NAME "$PACKAGE_NAME"
1158
cat >>confdefs.h <<_ACEOF
1159
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1163
cat >>confdefs.h <<_ACEOF
1164
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1168
cat >>confdefs.h <<_ACEOF
1169
#define PACKAGE_STRING "$PACKAGE_STRING"
1173
cat >>confdefs.h <<_ACEOF
1174
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1178
# Let the site file select an alternate cache file if it wants to.
1179
# Prefer explicitly selected file to automatically selected ones.
1180
if test -z "$CONFIG_SITE"; then
1181
if test "x$prefix" != xNONE; then
1182
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1184
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1187
for ac_site_file in $CONFIG_SITE; do
1188
if test -r "$ac_site_file"; then
1189
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1190
echo "$as_me: loading site script $ac_site_file" >&6;}
1191
sed 's/^/| /' "$ac_site_file" >&5
1196
if test -r "$cache_file"; then
1197
# Some versions of bash will fail to source /dev/null (special
1198
# files actually), so we avoid doing that.
1199
if test -f "$cache_file"; then
1200
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1201
echo "$as_me: loading cache $cache_file" >&6;}
1203
[\\/]* | ?:[\\/]* ) . $cache_file;;
1204
*) . ./$cache_file;;
1208
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1209
echo "$as_me: creating cache $cache_file" >&6;}
1213
# Check that the precious variables saved in the cache have kept the same
1215
ac_cache_corrupted=false
1216
for ac_var in `(set) 2>&1 |
1217
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1218
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1219
eval ac_new_set=\$ac_env_${ac_var}_set
1220
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1221
eval ac_new_val="\$ac_env_${ac_var}_value"
1222
case $ac_old_set,$ac_new_set in
1224
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1225
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1226
ac_cache_corrupted=: ;;
1228
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1229
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1230
ac_cache_corrupted=: ;;
1233
if test "x$ac_old_val" != "x$ac_new_val"; then
1234
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1235
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1236
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1237
echo "$as_me: former value: $ac_old_val" >&2;}
1238
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1239
echo "$as_me: current value: $ac_new_val" >&2;}
1240
ac_cache_corrupted=:
1243
# Pass precious variables to config.status.
1244
if test "$ac_new_set" = set; then
1246
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1247
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1248
*) ac_arg=$ac_var=$ac_new_val ;;
1250
case " $ac_configure_args " in
1251
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1252
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1256
if $ac_cache_corrupted; then
1257
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1258
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1259
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1260
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1261
{ (exit 1); exit 1; }; }
1265
ac_cpp='$CPP $CPPFLAGS'
1266
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1267
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1268
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1296
am__api_version="1.9"
1298
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1299
if test -f $ac_dir/install-sh; then
1301
ac_install_sh="$ac_aux_dir/install-sh -c"
1303
elif test -f $ac_dir/install.sh; then
1305
ac_install_sh="$ac_aux_dir/install.sh -c"
1307
elif test -f $ac_dir/shtool; then
1309
ac_install_sh="$ac_aux_dir/shtool install -c"
1313
if test -z "$ac_aux_dir"; then
1314
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1315
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1316
{ (exit 1); exit 1; }; }
1318
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1319
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1320
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1322
# Find a good install program. We prefer a C program (faster),
1323
# so one script is as good as another. But avoid the broken or
1324
# incompatible versions:
1325
# SysV /etc/install, /usr/sbin/install
1326
# SunOS /usr/etc/install
1327
# IRIX /sbin/install
1329
# AmigaOS /C/install, which installs bootblocks on floppy discs
1330
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1331
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1332
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1333
# OS/2's system install, which has a completely different semantic
1334
# ./install, which can be erroneously created by make from ./install.sh.
1335
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1336
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1337
if test -z "$INSTALL"; then
1338
if test "${ac_cv_path_install+set}" = set; then
1339
echo $ECHO_N "(cached) $ECHO_C" >&6
1341
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1345
test -z "$as_dir" && as_dir=.
1346
# Account for people who put trailing slashes in PATH elements.
1348
./ | .// | /cC/* | \
1349
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1350
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1353
# OSF1 and SCO ODT 3.0 have their own names for install.
1354
# Don't use installbsd from OSF since it installs stuff as root
1356
for ac_prog in ginstall scoinst install; do
1357
for ac_exec_ext in '' $ac_executable_extensions; do
1358
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1359
if test $ac_prog = install &&
1360
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1361
# AIX install. It has an incompatible calling convention.
1363
elif test $ac_prog = install &&
1364
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1365
# program-specific install script used by HP pwplus--don't use.
1368
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1380
if test "${ac_cv_path_install+set}" = set; then
1381
INSTALL=$ac_cv_path_install
1383
# As a last resort, use the slow shell script. We don't cache a
1384
# path for INSTALL within a source directory, because that will
1385
# break other packages using the cache if that directory is
1386
# removed, or if the path is relative.
1387
INSTALL=$ac_install_sh
1390
echo "$as_me:$LINENO: result: $INSTALL" >&5
1391
echo "${ECHO_T}$INSTALL" >&6
1393
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1394
# It thinks the first close brace ends the variable substitution.
1395
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1397
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1399
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1401
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1402
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1405
echo timestamp > conftest.file
1406
# Do `set' in a subshell so we don't clobber the current shell's
1407
# arguments. Must try -L first in case configure is actually a
1408
# symlink; some systems play weird games with the mod time of symlinks
1409
# (eg FreeBSD returns the mod time of the symlink's containing
1412
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1413
if test "$*" = "X"; then
1415
set X `ls -t $srcdir/configure conftest.file`
1418
if test "$*" != "X $srcdir/configure conftest.file" \
1419
&& test "$*" != "X conftest.file $srcdir/configure"; then
1421
# If neither matched, then we have a broken ls. This can happen
1422
# if, for instance, CONFIG_SHELL is bash and it inherits a
1423
# broken ls alias from the environment. This has actually
1424
# happened. Such a system could not be considered "sane".
1425
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1426
alias in your environment" >&5
1427
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1428
alias in your environment" >&2;}
1429
{ (exit 1); exit 1; }; }
1432
test "$2" = conftest.file
1438
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1439
Check your system clock" >&5
1440
echo "$as_me: error: newly created file is older than distributed files!
1441
Check your system clock" >&2;}
1442
{ (exit 1); exit 1; }; }
1444
echo "$as_me:$LINENO: result: yes" >&5
1445
echo "${ECHO_T}yes" >&6
1446
test "$program_prefix" != NONE &&
1447
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1448
# Use a double $ so make ignores it.
1449
test "$program_suffix" != NONE &&
1450
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1451
# Double any \ or $. echo might interpret backslashes.
1452
# By default was `s,x,x', remove it if useless.
1453
cat <<\_ACEOF >conftest.sed
1454
s/[\\$]/&&/g;s/;s,x,x,$//
1456
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1459
# expand $ac_aux_dir to an absolute path
1460
am_aux_dir=`cd $ac_aux_dir && pwd`
1462
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1463
# Use eval to expand $SHELL
1464
if eval "$MISSING --run true"; then
1465
am_missing_run="$MISSING --run "
1468
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1469
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1472
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1473
# We used to keeping the `.' as first argument, in order to
1474
# allow $(mkdir_p) to be used without argument. As in
1475
# $(mkdir_p) $(somedir)
1476
# where $(somedir) is conditionally defined. However this is wrong
1478
# 1. if the package is installed by a user who cannot write `.'
1479
# make install will fail,
1480
# 2. the above comment should most certainly read
1481
# $(mkdir_p) $(DESTDIR)$(somedir)
1482
# so it does not work when $(somedir) is undefined and
1483
# $(DESTDIR) is not.
1484
# To support the latter case, we have to write
1485
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1486
# so the `.' trick is pointless.
1487
mkdir_p='mkdir -p --'
1489
# On NextStep and OpenStep, the `mkdir' command does not
1490
# recognize any option. It will interpret all options as
1491
# directories to create, and then abort because `.' already
1493
for d in ./-p ./--version;
1495
test -d $d && rmdir $d
1497
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1498
if test -f "$ac_aux_dir/mkinstalldirs"; then
1499
mkdir_p='$(mkinstalldirs)'
1501
mkdir_p='$(install_sh) -d'
1505
for ac_prog in gawk mawk nawk awk
1507
# Extract the first word of "$ac_prog", so it can be a program name with args.
1508
set dummy $ac_prog; ac_word=$2
1509
echo "$as_me:$LINENO: checking for $ac_word" >&5
1510
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1511
if test "${ac_cv_prog_AWK+set}" = set; then
1512
echo $ECHO_N "(cached) $ECHO_C" >&6
1514
if test -n "$AWK"; then
1515
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1517
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1521
test -z "$as_dir" && as_dir=.
1522
for ac_exec_ext in '' $ac_executable_extensions; do
1523
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1524
ac_cv_prog_AWK="$ac_prog"
1525
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1534
if test -n "$AWK"; then
1535
echo "$as_me:$LINENO: result: $AWK" >&5
1536
echo "${ECHO_T}$AWK" >&6
1538
echo "$as_me:$LINENO: result: no" >&5
1539
echo "${ECHO_T}no" >&6
1542
test -n "$AWK" && break
1545
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1546
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1547
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1548
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1549
echo $ECHO_N "(cached) $ECHO_C" >&6
1551
cat >conftest.make <<\_ACEOF
1553
@echo 'ac_maketemp="$(MAKE)"'
1555
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1556
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1557
if test -n "$ac_maketemp"; then
1558
eval ac_cv_prog_make_${ac_make}_set=yes
1560
eval ac_cv_prog_make_${ac_make}_set=no
1564
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1565
echo "$as_me:$LINENO: result: yes" >&5
1566
echo "${ECHO_T}yes" >&6
1569
echo "$as_me:$LINENO: result: no" >&5
1570
echo "${ECHO_T}no" >&6
1571
SET_MAKE="MAKE=${MAKE-make}"
1574
rm -rf .tst 2>/dev/null
1575
mkdir .tst 2>/dev/null
1576
if test -d .tst; then
1581
rmdir .tst 2>/dev/null
1583
# test to see if srcdir already configured
1584
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1585
test -f $srcdir/config.status; then
1586
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1587
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1588
{ (exit 1); exit 1; }; }
1591
# test whether we have cygpath
1592
if test -z "$CYGPATH_W"; then
1593
if (cygpath --version) >/dev/null 2>/dev/null; then
1594
CYGPATH_W='cygpath -w'
1601
# Define the identity of the package.
1606
cat >>confdefs.h <<_ACEOF
1607
#define PACKAGE "$PACKAGE"
1611
cat >>confdefs.h <<_ACEOF
1612
#define VERSION "$VERSION"
1615
# Some tools Automake needs.
1617
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1620
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1623
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1626
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1629
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1631
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1633
# Installed binaries are usually stripped using `strip' when the user
1634
# run `make install-strip'. However `strip' might not be the right
1635
# tool to use in cross-compilation environments, therefore Automake
1636
# will honor the `STRIP' environment variable to overrule this program.
1637
if test "$cross_compiling" != no; then
1638
if test -n "$ac_tool_prefix"; then
1639
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1640
set dummy ${ac_tool_prefix}strip; ac_word=$2
1641
echo "$as_me:$LINENO: checking for $ac_word" >&5
1642
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1643
if test "${ac_cv_prog_STRIP+set}" = set; then
1644
echo $ECHO_N "(cached) $ECHO_C" >&6
1646
if test -n "$STRIP"; then
1647
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1649
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1653
test -z "$as_dir" && as_dir=.
1654
for ac_exec_ext in '' $ac_executable_extensions; do
1655
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1656
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1657
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1665
STRIP=$ac_cv_prog_STRIP
1666
if test -n "$STRIP"; then
1667
echo "$as_me:$LINENO: result: $STRIP" >&5
1668
echo "${ECHO_T}$STRIP" >&6
1670
echo "$as_me:$LINENO: result: no" >&5
1671
echo "${ECHO_T}no" >&6
1675
if test -z "$ac_cv_prog_STRIP"; then
1677
# Extract the first word of "strip", so it can be a program name with args.
1678
set dummy strip; ac_word=$2
1679
echo "$as_me:$LINENO: checking for $ac_word" >&5
1680
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1682
echo $ECHO_N "(cached) $ECHO_C" >&6
1684
if test -n "$ac_ct_STRIP"; then
1685
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1687
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691
test -z "$as_dir" && as_dir=.
1692
for ac_exec_ext in '' $ac_executable_extensions; do
1693
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694
ac_cv_prog_ac_ct_STRIP="strip"
1695
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1701
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1704
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1705
if test -n "$ac_ct_STRIP"; then
1706
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1707
echo "${ECHO_T}$ac_ct_STRIP" >&6
1709
echo "$as_me:$LINENO: result: no" >&5
1710
echo "${ECHO_T}no" >&6
1715
STRIP="$ac_cv_prog_STRIP"
1719
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1721
# We need awk for the "check" target. The system "awk" is bad on
1723
# Always define AMTAR for backward compatibility.
1725
AMTAR=${AMTAR-"${am_missing_run}tar"}
1727
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1733
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1734
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1735
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1736
if test "${enable_maintainer_mode+set}" = set; then
1737
enableval="$enable_maintainer_mode"
1738
USE_MAINTAINER_MODE=$enableval
1740
USE_MAINTAINER_MODE=no
1742
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1743
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1746
if test $USE_MAINTAINER_MODE = yes; then
1747
MAINTAINER_MODE_TRUE=
1748
MAINTAINER_MODE_FALSE='#'
1750
MAINTAINER_MODE_TRUE='#'
1751
MAINTAINER_MODE_FALSE=
1754
MAINT=$MAINTAINER_MODE_TRUE
1758
ac_config_headers="$ac_config_headers config.h"
1762
ac_cpp='$CPP $CPPFLAGS'
1763
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1764
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1765
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1766
if test -n "$ac_tool_prefix"; then
1767
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1768
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1769
echo "$as_me:$LINENO: checking for $ac_word" >&5
1770
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1771
if test "${ac_cv_prog_CC+set}" = set; then
1772
echo $ECHO_N "(cached) $ECHO_C" >&6
1774
if test -n "$CC"; then
1775
ac_cv_prog_CC="$CC" # Let the user override the test.
1777
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1781
test -z "$as_dir" && as_dir=.
1782
for ac_exec_ext in '' $ac_executable_extensions; do
1783
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1784
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1785
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1794
if test -n "$CC"; then
1795
echo "$as_me:$LINENO: result: $CC" >&5
1796
echo "${ECHO_T}$CC" >&6
1798
echo "$as_me:$LINENO: result: no" >&5
1799
echo "${ECHO_T}no" >&6
1803
if test -z "$ac_cv_prog_CC"; then
1805
# Extract the first word of "gcc", so it can be a program name with args.
1806
set dummy gcc; ac_word=$2
1807
echo "$as_me:$LINENO: checking for $ac_word" >&5
1808
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1809
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1810
echo $ECHO_N "(cached) $ECHO_C" >&6
1812
if test -n "$ac_ct_CC"; then
1813
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1815
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1819
test -z "$as_dir" && as_dir=.
1820
for ac_exec_ext in '' $ac_executable_extensions; do
1821
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1822
ac_cv_prog_ac_ct_CC="gcc"
1823
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1831
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1832
if test -n "$ac_ct_CC"; then
1833
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1834
echo "${ECHO_T}$ac_ct_CC" >&6
1836
echo "$as_me:$LINENO: result: no" >&5
1837
echo "${ECHO_T}no" >&6
1845
if test -z "$CC"; then
1846
if test -n "$ac_tool_prefix"; then
1847
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1848
set dummy ${ac_tool_prefix}cc; ac_word=$2
1849
echo "$as_me:$LINENO: checking for $ac_word" >&5
1850
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1851
if test "${ac_cv_prog_CC+set}" = set; then
1852
echo $ECHO_N "(cached) $ECHO_C" >&6
1854
if test -n "$CC"; then
1855
ac_cv_prog_CC="$CC" # Let the user override the test.
1857
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861
test -z "$as_dir" && as_dir=.
1862
for ac_exec_ext in '' $ac_executable_extensions; do
1863
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1864
ac_cv_prog_CC="${ac_tool_prefix}cc"
1865
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1874
if test -n "$CC"; then
1875
echo "$as_me:$LINENO: result: $CC" >&5
1876
echo "${ECHO_T}$CC" >&6
1878
echo "$as_me:$LINENO: result: no" >&5
1879
echo "${ECHO_T}no" >&6
1883
if test -z "$ac_cv_prog_CC"; then
1885
# Extract the first word of "cc", so it can be a program name with args.
1886
set dummy cc; ac_word=$2
1887
echo "$as_me:$LINENO: checking for $ac_word" >&5
1888
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1889
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1890
echo $ECHO_N "(cached) $ECHO_C" >&6
1892
if test -n "$ac_ct_CC"; then
1893
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899
test -z "$as_dir" && as_dir=.
1900
for ac_exec_ext in '' $ac_executable_extensions; do
1901
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1902
ac_cv_prog_ac_ct_CC="cc"
1903
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1912
if test -n "$ac_ct_CC"; then
1913
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1914
echo "${ECHO_T}$ac_ct_CC" >&6
1916
echo "$as_me:$LINENO: result: no" >&5
1917
echo "${ECHO_T}no" >&6
1926
if test -z "$CC"; then
1927
# Extract the first word of "cc", so it can be a program name with args.
1928
set dummy cc; ac_word=$2
1929
echo "$as_me:$LINENO: checking for $ac_word" >&5
1930
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931
if test "${ac_cv_prog_CC+set}" = set; then
1932
echo $ECHO_N "(cached) $ECHO_C" >&6
1934
if test -n "$CC"; then
1935
ac_cv_prog_CC="$CC" # Let the user override the test.
1938
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942
test -z "$as_dir" && as_dir=.
1943
for ac_exec_ext in '' $ac_executable_extensions; do
1944
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1945
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1946
ac_prog_rejected=yes
1950
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956
if test $ac_prog_rejected = yes; then
1957
# We found a bogon in the path, so make sure we never use it.
1958
set dummy $ac_cv_prog_CC
1960
if test $# != 0; then
1961
# We chose a different compiler from the bogus one.
1962
# However, it has the same basename, so the bogon will be chosen
1963
# first if we set CC to just the basename; use the full file name.
1965
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1971
if test -n "$CC"; then
1972
echo "$as_me:$LINENO: result: $CC" >&5
1973
echo "${ECHO_T}$CC" >&6
1975
echo "$as_me:$LINENO: result: no" >&5
1976
echo "${ECHO_T}no" >&6
1980
if test -z "$CC"; then
1981
if test -n "$ac_tool_prefix"; then
1984
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1985
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1986
echo "$as_me:$LINENO: checking for $ac_word" >&5
1987
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1988
if test "${ac_cv_prog_CC+set}" = set; then
1989
echo $ECHO_N "(cached) $ECHO_C" >&6
1991
if test -n "$CC"; then
1992
ac_cv_prog_CC="$CC" # Let the user override the test.
1994
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1998
test -z "$as_dir" && as_dir=.
1999
for ac_exec_ext in '' $ac_executable_extensions; do
2000
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2001
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2002
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2011
if test -n "$CC"; then
2012
echo "$as_me:$LINENO: result: $CC" >&5
2013
echo "${ECHO_T}$CC" >&6
2015
echo "$as_me:$LINENO: result: no" >&5
2016
echo "${ECHO_T}no" >&6
2019
test -n "$CC" && break
2022
if test -z "$CC"; then
2026
# Extract the first word of "$ac_prog", so it can be a program name with args.
2027
set dummy $ac_prog; ac_word=$2
2028
echo "$as_me:$LINENO: checking for $ac_word" >&5
2029
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2030
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2031
echo $ECHO_N "(cached) $ECHO_C" >&6
2033
if test -n "$ac_ct_CC"; then
2034
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2036
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040
test -z "$as_dir" && as_dir=.
2041
for ac_exec_ext in '' $ac_executable_extensions; do
2042
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2043
ac_cv_prog_ac_ct_CC="$ac_prog"
2044
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2052
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2053
if test -n "$ac_ct_CC"; then
2054
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2055
echo "${ECHO_T}$ac_ct_CC" >&6
2057
echo "$as_me:$LINENO: result: no" >&5
2058
echo "${ECHO_T}no" >&6
2061
test -n "$ac_ct_CC" && break
2070
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2071
See \`config.log' for more details." >&5
2072
echo "$as_me: error: no acceptable C compiler found in \$PATH
2073
See \`config.log' for more details." >&2;}
2074
{ (exit 1); exit 1; }; }
2076
# Provide some information about the compiler.
2077
echo "$as_me:$LINENO:" \
2078
"checking for C compiler version" >&5
2079
ac_compiler=`set X $ac_compile; echo $2`
2080
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2081
(eval $ac_compiler --version </dev/null >&5) 2>&5
2083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084
(exit $ac_status); }
2085
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2086
(eval $ac_compiler -v </dev/null >&5) 2>&5
2088
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089
(exit $ac_status); }
2090
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2091
(eval $ac_compiler -V </dev/null >&5) 2>&5
2093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094
(exit $ac_status); }
2096
cat >conftest.$ac_ext <<_ACEOF
2099
cat confdefs.h >>conftest.$ac_ext
2100
cat >>conftest.$ac_ext <<_ACEOF
2101
/* end confdefs.h. */
2111
ac_clean_files_save=$ac_clean_files
2112
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2113
# Try to create an executable without -o first, disregard a.out.
2114
# It will help us diagnose broken compilers, and finding out an intuition
2116
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2117
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2118
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2119
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2120
(eval $ac_link_default) 2>&5
2122
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123
(exit $ac_status); }; then
2124
# Find the output, starting from the most likely. This scheme is
2125
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2128
# Be careful to initialize this variable, since it used to be cached.
2129
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2131
# b.out is created by i960 compilers.
2132
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2134
test -f "$ac_file" || continue
2136
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2139
# This is the source file.
2142
# We found the default executable, but exeext='' is most
2146
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2147
# FIXME: I believe we export ac_cv_exeext for Libtool,
2148
# but it would be cool to find out if it's true. Does anybody
2149
# maintain Libtool? --akim.
2157
echo "$as_me: failed program was:" >&5
2158
sed 's/^/| /' conftest.$ac_ext >&5
2160
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2161
See \`config.log' for more details." >&5
2162
echo "$as_me: error: C compiler cannot create executables
2163
See \`config.log' for more details." >&2;}
2164
{ (exit 77); exit 77; }; }
2167
ac_exeext=$ac_cv_exeext
2168
echo "$as_me:$LINENO: result: $ac_file" >&5
2169
echo "${ECHO_T}$ac_file" >&6
2171
# Check the compiler produces executables we can run. If not, either
2172
# the compiler is broken, or we cross compile.
2173
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2174
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2175
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2176
# If not cross compiling, check that we can run a simple program.
2177
if test "$cross_compiling" != yes; then
2178
if { ac_try='./$ac_file'
2179
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183
(exit $ac_status); }; }; then
2186
if test "$cross_compiling" = maybe; then
2189
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2190
If you meant to cross compile, use \`--host'.
2191
See \`config.log' for more details." >&5
2192
echo "$as_me: error: cannot run C compiled programs.
2193
If you meant to cross compile, use \`--host'.
2194
See \`config.log' for more details." >&2;}
2195
{ (exit 1); exit 1; }; }
2199
echo "$as_me:$LINENO: result: yes" >&5
2200
echo "${ECHO_T}yes" >&6
2202
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2203
ac_clean_files=$ac_clean_files_save
2204
# Check the compiler produces executables we can run. If not, either
2205
# the compiler is broken, or we cross compile.
2206
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2207
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2208
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2209
echo "${ECHO_T}$cross_compiling" >&6
2211
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2212
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2213
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2214
(eval $ac_link) 2>&5
2216
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217
(exit $ac_status); }; then
2218
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2219
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2220
# work properly (i.e., refer to `conftest.exe'), while it won't with
2222
for ac_file in conftest.exe conftest conftest.*; do
2223
test -f "$ac_file" || continue
2225
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2226
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2233
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2234
See \`config.log' for more details." >&5
2235
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2236
See \`config.log' for more details." >&2;}
2237
{ (exit 1); exit 1; }; }
2240
rm -f conftest$ac_cv_exeext
2241
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2242
echo "${ECHO_T}$ac_cv_exeext" >&6
2244
rm -f conftest.$ac_ext
2245
EXEEXT=$ac_cv_exeext
2247
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2248
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2249
if test "${ac_cv_objext+set}" = set; then
2250
echo $ECHO_N "(cached) $ECHO_C" >&6
2252
cat >conftest.$ac_ext <<_ACEOF
2255
cat confdefs.h >>conftest.$ac_ext
2256
cat >>conftest.$ac_ext <<_ACEOF
2257
/* end confdefs.h. */
2267
rm -f conftest.o conftest.obj
2268
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2269
(eval $ac_compile) 2>&5
2271
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272
(exit $ac_status); }; then
2273
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2275
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2276
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2281
echo "$as_me: failed program was:" >&5
2282
sed 's/^/| /' conftest.$ac_ext >&5
2284
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2285
See \`config.log' for more details." >&5
2286
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2287
See \`config.log' for more details." >&2;}
2288
{ (exit 1); exit 1; }; }
2291
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2293
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2294
echo "${ECHO_T}$ac_cv_objext" >&6
2295
OBJEXT=$ac_cv_objext
2297
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2298
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2299
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2300
echo $ECHO_N "(cached) $ECHO_C" >&6
2302
cat >conftest.$ac_ext <<_ACEOF
2305
cat confdefs.h >>conftest.$ac_ext
2306
cat >>conftest.$ac_ext <<_ACEOF
2307
/* end confdefs.h. */
2320
rm -f conftest.$ac_objext
2321
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2322
(eval $ac_compile) 2>conftest.er1
2324
grep -v '^ *+' conftest.er1 >conftest.err
2326
cat conftest.err >&5
2327
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328
(exit $ac_status); } &&
2329
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2330
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334
(exit $ac_status); }; } &&
2335
{ ac_try='test -s conftest.$ac_objext'
2336
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2339
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340
(exit $ac_status); }; }; then
2343
echo "$as_me: failed program was:" >&5
2344
sed 's/^/| /' conftest.$ac_ext >&5
2348
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2349
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2352
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2353
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2354
GCC=`test $ac_compiler_gnu = yes && echo yes`
2355
ac_test_CFLAGS=${CFLAGS+set}
2356
ac_save_CFLAGS=$CFLAGS
2358
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2359
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2360
if test "${ac_cv_prog_cc_g+set}" = set; then
2361
echo $ECHO_N "(cached) $ECHO_C" >&6
2363
cat >conftest.$ac_ext <<_ACEOF
2366
cat confdefs.h >>conftest.$ac_ext
2367
cat >>conftest.$ac_ext <<_ACEOF
2368
/* end confdefs.h. */
2378
rm -f conftest.$ac_objext
2379
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2380
(eval $ac_compile) 2>conftest.er1
2382
grep -v '^ *+' conftest.er1 >conftest.err
2384
cat conftest.err >&5
2385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386
(exit $ac_status); } &&
2387
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2388
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2391
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392
(exit $ac_status); }; } &&
2393
{ ac_try='test -s conftest.$ac_objext'
2394
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398
(exit $ac_status); }; }; then
2401
echo "$as_me: failed program was:" >&5
2402
sed 's/^/| /' conftest.$ac_ext >&5
2406
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2408
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2409
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2410
if test "$ac_test_CFLAGS" = set; then
2411
CFLAGS=$ac_save_CFLAGS
2412
elif test $ac_cv_prog_cc_g = yes; then
2413
if test "$GCC" = yes; then
2419
if test "$GCC" = yes; then
2425
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2426
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2427
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2428
echo $ECHO_N "(cached) $ECHO_C" >&6
2430
ac_cv_prog_cc_stdc=no
2432
cat >conftest.$ac_ext <<_ACEOF
2435
cat confdefs.h >>conftest.$ac_ext
2436
cat >>conftest.$ac_ext <<_ACEOF
2437
/* end confdefs.h. */
2440
#include <sys/types.h>
2441
#include <sys/stat.h>
2442
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2443
struct buf { int x; };
2444
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2445
static char *e (p, i)
2451
static char *f (char * (*g) (char **, int), char **p, ...)
2456
s = g (p, va_arg (v,int));
2461
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2462
function prototypes and stuff, but not '\xHH' hex character constants.
2463
These don't provoke an error unfortunately, instead are silently treated
2464
as 'x'. The following induces an error, until -std1 is added to get
2465
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2466
array size at least. It's necessary to write '\x00'==0 to get something
2467
that's true only with -std1. */
2468
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2470
int test (int i, double x);
2471
struct s1 {int (*f) (int a);};
2472
struct s2 {int (*f) (double a);};
2473
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2479
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2484
# Don't try gcc -ansi; that turns off useful extensions and
2485
# breaks some systems' header files.
2486
# AIX -qlanglvl=ansi
2487
# Ultrix and OSF/1 -std1
2488
# HP-UX 10.20 and later -Ae
2489
# HP-UX older versions -Aa -D_HPUX_SOURCE
2490
# SVR4 -Xc -D__EXTENSIONS__
2491
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2493
CC="$ac_save_CC $ac_arg"
2494
rm -f conftest.$ac_objext
2495
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2496
(eval $ac_compile) 2>conftest.er1
2498
grep -v '^ *+' conftest.er1 >conftest.err
2500
cat conftest.err >&5
2501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502
(exit $ac_status); } &&
2503
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2504
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508
(exit $ac_status); }; } &&
2509
{ ac_try='test -s conftest.$ac_objext'
2510
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514
(exit $ac_status); }; }; then
2515
ac_cv_prog_cc_stdc=$ac_arg
2518
echo "$as_me: failed program was:" >&5
2519
sed 's/^/| /' conftest.$ac_ext >&5
2522
rm -f conftest.err conftest.$ac_objext
2524
rm -f conftest.$ac_ext conftest.$ac_objext
2529
case "x$ac_cv_prog_cc_stdc" in
2531
echo "$as_me:$LINENO: result: none needed" >&5
2532
echo "${ECHO_T}none needed" >&6 ;;
2534
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2535
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2536
CC="$CC $ac_cv_prog_cc_stdc" ;;
2539
# Some people use a C++ compiler to compile C. Since we use `exit',
2540
# in C++ we need to declare it. In case someone uses the same compiler
2541
# for both compiling C and C++ we need to have the C++ compiler decide
2542
# the declaration of exit, since it's the most demanding environment.
2543
cat >conftest.$ac_ext <<_ACEOF
2548
rm -f conftest.$ac_objext
2549
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2550
(eval $ac_compile) 2>conftest.er1
2552
grep -v '^ *+' conftest.er1 >conftest.err
2554
cat conftest.err >&5
2555
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556
(exit $ac_status); } &&
2557
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2558
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562
(exit $ac_status); }; } &&
2563
{ ac_try='test -s conftest.$ac_objext'
2564
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568
(exit $ac_status); }; }; then
2569
for ac_declaration in \
2571
'extern "C" void std::exit (int) throw (); using std::exit;' \
2572
'extern "C" void std::exit (int); using std::exit;' \
2573
'extern "C" void exit (int) throw ();' \
2574
'extern "C" void exit (int);' \
2577
cat >conftest.$ac_ext <<_ACEOF
2580
cat confdefs.h >>conftest.$ac_ext
2581
cat >>conftest.$ac_ext <<_ACEOF
2582
/* end confdefs.h. */
2593
rm -f conftest.$ac_objext
2594
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595
(eval $ac_compile) 2>conftest.er1
2597
grep -v '^ *+' conftest.er1 >conftest.err
2599
cat conftest.err >&5
2600
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601
(exit $ac_status); } &&
2602
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2603
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607
(exit $ac_status); }; } &&
2608
{ ac_try='test -s conftest.$ac_objext'
2609
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613
(exit $ac_status); }; }; then
2616
echo "$as_me: failed program was:" >&5
2617
sed 's/^/| /' conftest.$ac_ext >&5
2621
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2622
cat >conftest.$ac_ext <<_ACEOF
2625
cat confdefs.h >>conftest.$ac_ext
2626
cat >>conftest.$ac_ext <<_ACEOF
2627
/* end confdefs.h. */
2637
rm -f conftest.$ac_objext
2638
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2639
(eval $ac_compile) 2>conftest.er1
2641
grep -v '^ *+' conftest.er1 >conftest.err
2643
cat conftest.err >&5
2644
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645
(exit $ac_status); } &&
2646
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2647
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651
(exit $ac_status); }; } &&
2652
{ ac_try='test -s conftest.$ac_objext'
2653
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657
(exit $ac_status); }; }; then
2660
echo "$as_me: failed program was:" >&5
2661
sed 's/^/| /' conftest.$ac_ext >&5
2664
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2667
if test -n "$ac_declaration"; then
2668
echo '#ifdef __cplusplus' >>confdefs.h
2669
echo $ac_declaration >>confdefs.h
2670
echo '#endif' >>confdefs.h
2674
echo "$as_me: failed program was:" >&5
2675
sed 's/^/| /' conftest.$ac_ext >&5
2678
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2680
ac_cpp='$CPP $CPPFLAGS'
2681
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2682
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2683
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2684
DEPDIR="${am__leading_dot}deps"
2686
ac_config_commands="$ac_config_commands depfiles"
2689
am_make=${MAKE-make}
2690
cat > confinc << 'END'
2695
# If we don't find an include directive, just comment out the code.
2696
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2697
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2701
# First try GNU make style include.
2702
echo "include confinc" > confmf
2703
# We grep out `Entering directory' and `Leaving directory'
2704
# messages which can occur if `w' ends up in MAKEFLAGS.
2705
# In particular we don't look at `^make:' because GNU make might
2706
# be invoked under some other name (usually "gmake"), in which
2707
# case it prints its new name instead of `make'.
2708
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2713
# Now try BSD make style include.
2714
if test "$am__include" = "#"; then
2715
echo '.include "confinc"' > confmf
2716
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2717
am__include=.include
2724
echo "$as_me:$LINENO: result: $_am_result" >&5
2725
echo "${ECHO_T}$_am_result" >&6
2726
rm -f confinc confmf
2728
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2729
if test "${enable_dependency_tracking+set}" = set; then
2730
enableval="$enable_dependency_tracking"
2733
if test "x$enable_dependency_tracking" != xno; then
2734
am_depcomp="$ac_aux_dir/depcomp"
2739
if test "x$enable_dependency_tracking" != xno; then
2750
depcc="$CC" am_compiler_list=
2752
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2753
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2754
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2755
echo $ECHO_N "(cached) $ECHO_C" >&6
2757
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2758
# We make a subdir and do the tests there. Otherwise we can end up
2759
# making bogus files that we don't know about and never remove. For
2760
# instance it was reported that on HP-UX the gcc test will end up
2761
# making a dummy file named `D' -- because `-MD' means `put the output
2764
# Copy depcomp to subdir because otherwise we won't find it if we're
2765
# using a relative directory.
2766
cp "$am_depcomp" conftest.dir
2768
# We will build objects and dependencies in a subdirectory because
2769
# it helps to detect inapplicable dependency modes. For instance
2770
# both Tru64's cc and ICC support -MD to output dependencies as a
2771
# side effect of compilation, but ICC will put the dependencies in
2772
# the current directory while Tru64 will put them in the object
2776
am_cv_CC_dependencies_compiler_type=none
2777
if test "$am_compiler_list" = ""; then
2778
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2780
for depmode in $am_compiler_list; do
2781
# Setup a source with many dependencies, because some compilers
2782
# like to wrap large dependency lists on column 80 (with \), and
2783
# we should not choose a depcomp mode which is confused by this.
2785
# We need to recreate these files for each test, as the compiler may
2786
# overwrite some of them when testing with obscure command lines.
2787
# This happens at least with the AIX C compiler.
2789
for i in 1 2 3 4 5 6; do
2790
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2791
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2792
# Solaris 8's {/usr,}/bin/sh.
2793
touch sub/conftst$i.h
2795
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2799
# after this tag, mechanisms are not by side-effect, so they'll
2800
# only be used when explicitly requested
2801
if test "x$enable_dependency_tracking" = xyes; then
2809
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2810
# mode. It turns out that the SunPro C++ compiler does not properly
2811
# handle `-M -o', and we need to detect this.
2812
if depmode=$depmode \
2813
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2814
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2815
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2816
>/dev/null 2>conftest.err &&
2817
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2818
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2819
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2820
# icc doesn't choke on unknown options, it will just issue warnings
2821
# or remarks (even with -Werror). So we grep stderr for any message
2822
# that says an option was ignored or not supported.
2823
# When given -MP, icc 7.0 and 7.1 complain thusly:
2824
# icc: Command line warning: ignoring option '-M'; no argument required
2825
# The diagnosis changed in icc 8.0:
2826
# icc: Command line remark: option '-MP' not supported
2827
if (grep 'ignoring option' conftest.err ||
2828
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2829
am_cv_CC_dependencies_compiler_type=$depmode
2838
am_cv_CC_dependencies_compiler_type=none
2842
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2843
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2844
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2849
test "x$enable_dependency_tracking" != xno \
2850
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2852
am__fastdepCC_FALSE='#'
2854
am__fastdepCC_TRUE='#'
2855
am__fastdepCC_FALSE=
2859
# Find a good install program. We prefer a C program (faster),
2860
# so one script is as good as another. But avoid the broken or
2861
# incompatible versions:
2862
# SysV /etc/install, /usr/sbin/install
2863
# SunOS /usr/etc/install
2864
# IRIX /sbin/install
2866
# AmigaOS /C/install, which installs bootblocks on floppy discs
2867
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2868
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2869
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2870
# OS/2's system install, which has a completely different semantic
2871
# ./install, which can be erroneously created by make from ./install.sh.
2872
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2873
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2874
if test -z "$INSTALL"; then
2875
if test "${ac_cv_path_install+set}" = set; then
2876
echo $ECHO_N "(cached) $ECHO_C" >&6
2878
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882
test -z "$as_dir" && as_dir=.
2883
# Account for people who put trailing slashes in PATH elements.
2885
./ | .// | /cC/* | \
2886
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2887
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2890
# OSF1 and SCO ODT 3.0 have their own names for install.
2891
# Don't use installbsd from OSF since it installs stuff as root
2893
for ac_prog in ginstall scoinst install; do
2894
for ac_exec_ext in '' $ac_executable_extensions; do
2895
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2896
if test $ac_prog = install &&
2897
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2898
# AIX install. It has an incompatible calling convention.
2900
elif test $ac_prog = install &&
2901
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2902
# program-specific install script used by HP pwplus--don't use.
2905
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2917
if test "${ac_cv_path_install+set}" = set; then
2918
INSTALL=$ac_cv_path_install
2920
# As a last resort, use the slow shell script. We don't cache a
2921
# path for INSTALL within a source directory, because that will
2922
# break other packages using the cache if that directory is
2923
# removed, or if the path is relative.
2924
INSTALL=$ac_install_sh
2927
echo "$as_me:$LINENO: result: $INSTALL" >&5
2928
echo "${ECHO_T}$INSTALL" >&6
2930
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2931
# It thinks the first close brace ends the variable substitution.
2932
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2934
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2936
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2940
# Check whether --enable-unix-transport or --disable-unix-transport was given.
2941
if test "${enable_unix_transport+set}" = set; then
2942
enableval="$enable_unix_transport"
2947
# Check whether --enable-tcp-transport or --disable-tcp-transport was given.
2948
if test "${enable_tcp_transport+set}" = set; then
2949
enableval="$enable_tcp_transport"
2954
if test "$UNIXCONN" = "yes"; then
2956
cat >>confdefs.h <<\_ACEOF
2961
if test "$TCPCONN" = "yes"; then
2963
cat >>confdefs.h <<\_ACEOF
2967
# SVR4 hides these in libraries other than libc
2968
echo "$as_me:$LINENO: checking for library containing socket" >&5
2969
echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
2970
if test "${ac_cv_search_socket+set}" = set; then
2971
echo $ECHO_N "(cached) $ECHO_C" >&6
2973
ac_func_search_save_LIBS=$LIBS
2974
ac_cv_search_socket=no
2975
cat >conftest.$ac_ext <<_ACEOF
2978
cat confdefs.h >>conftest.$ac_ext
2979
cat >>conftest.$ac_ext <<_ACEOF
2980
/* end confdefs.h. */
2982
/* Override any gcc2 internal prototype to avoid an error. */
2986
/* We use char because int might match the return type of a gcc2
2987
builtin and then its argument prototype would still apply. */
2997
rm -f conftest.$ac_objext conftest$ac_exeext
2998
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2999
(eval $ac_link) 2>conftest.er1
3001
grep -v '^ *+' conftest.er1 >conftest.err
3003
cat conftest.err >&5
3004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005
(exit $ac_status); } &&
3006
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3007
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011
(exit $ac_status); }; } &&
3012
{ ac_try='test -s conftest$ac_exeext'
3013
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017
(exit $ac_status); }; }; then
3018
ac_cv_search_socket="none required"
3020
echo "$as_me: failed program was:" >&5
3021
sed 's/^/| /' conftest.$ac_ext >&5
3024
rm -f conftest.err conftest.$ac_objext \
3025
conftest$ac_exeext conftest.$ac_ext
3026
if test "$ac_cv_search_socket" = no; then
3027
for ac_lib in socket; do
3028
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3029
cat >conftest.$ac_ext <<_ACEOF
3032
cat confdefs.h >>conftest.$ac_ext
3033
cat >>conftest.$ac_ext <<_ACEOF
3034
/* end confdefs.h. */
3036
/* Override any gcc2 internal prototype to avoid an error. */
3040
/* We use char because int might match the return type of a gcc2
3041
builtin and then its argument prototype would still apply. */
3051
rm -f conftest.$ac_objext conftest$ac_exeext
3052
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3053
(eval $ac_link) 2>conftest.er1
3055
grep -v '^ *+' conftest.er1 >conftest.err
3057
cat conftest.err >&5
3058
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059
(exit $ac_status); } &&
3060
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3061
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3064
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065
(exit $ac_status); }; } &&
3066
{ ac_try='test -s conftest$ac_exeext'
3067
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071
(exit $ac_status); }; }; then
3072
ac_cv_search_socket="-l$ac_lib"
3075
echo "$as_me: failed program was:" >&5
3076
sed 's/^/| /' conftest.$ac_ext >&5
3079
rm -f conftest.err conftest.$ac_objext \
3080
conftest$ac_exeext conftest.$ac_ext
3083
LIBS=$ac_func_search_save_LIBS
3085
echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
3086
echo "${ECHO_T}$ac_cv_search_socket" >&6
3087
if test "$ac_cv_search_socket" != no; then
3088
test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
3092
echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3093
echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
3094
if test "${ac_cv_search_gethostbyname+set}" = set; then
3095
echo $ECHO_N "(cached) $ECHO_C" >&6
3097
ac_func_search_save_LIBS=$LIBS
3098
ac_cv_search_gethostbyname=no
3099
cat >conftest.$ac_ext <<_ACEOF
3102
cat confdefs.h >>conftest.$ac_ext
3103
cat >>conftest.$ac_ext <<_ACEOF
3104
/* end confdefs.h. */
3106
/* Override any gcc2 internal prototype to avoid an error. */
3110
/* We use char because int might match the return type of a gcc2
3111
builtin and then its argument prototype would still apply. */
3112
char gethostbyname ();
3121
rm -f conftest.$ac_objext conftest$ac_exeext
3122
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3123
(eval $ac_link) 2>conftest.er1
3125
grep -v '^ *+' conftest.er1 >conftest.err
3127
cat conftest.err >&5
3128
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129
(exit $ac_status); } &&
3130
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3131
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3134
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135
(exit $ac_status); }; } &&
3136
{ ac_try='test -s conftest$ac_exeext'
3137
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3140
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141
(exit $ac_status); }; }; then
3142
ac_cv_search_gethostbyname="none required"
3144
echo "$as_me: failed program was:" >&5
3145
sed 's/^/| /' conftest.$ac_ext >&5
3148
rm -f conftest.err conftest.$ac_objext \
3149
conftest$ac_exeext conftest.$ac_ext
3150
if test "$ac_cv_search_gethostbyname" = no; then
3151
for ac_lib in nsl; do
3152
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3153
cat >conftest.$ac_ext <<_ACEOF
3156
cat confdefs.h >>conftest.$ac_ext
3157
cat >>conftest.$ac_ext <<_ACEOF
3158
/* end confdefs.h. */
3160
/* Override any gcc2 internal prototype to avoid an error. */
3164
/* We use char because int might match the return type of a gcc2
3165
builtin and then its argument prototype would still apply. */
3166
char gethostbyname ();
3175
rm -f conftest.$ac_objext conftest$ac_exeext
3176
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3177
(eval $ac_link) 2>conftest.er1
3179
grep -v '^ *+' conftest.er1 >conftest.err
3181
cat conftest.err >&5
3182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183
(exit $ac_status); } &&
3184
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3185
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189
(exit $ac_status); }; } &&
3190
{ ac_try='test -s conftest$ac_exeext'
3191
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195
(exit $ac_status); }; }; then
3196
ac_cv_search_gethostbyname="-l$ac_lib"
3199
echo "$as_me: failed program was:" >&5
3200
sed 's/^/| /' conftest.$ac_ext >&5
3203
rm -f conftest.err conftest.$ac_objext \
3204
conftest$ac_exeext conftest.$ac_ext
3207
LIBS=$ac_func_search_save_LIBS
3209
echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3210
echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
3211
if test "$ac_cv_search_gethostbyname" != no; then
3212
test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
3217
# Needs to come after above checks for libsocket & libnsl for SVR4 systems
3218
# Check whether --enable-ipv6 or --disable-ipv6 was given.
3219
if test "${enable_ipv6+set}" = set; then
3220
enableval="$enable_ipv6"
3223
echo "$as_me:$LINENO: checking for getaddrinfo" >&5
3224
echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
3225
if test "${ac_cv_func_getaddrinfo+set}" = set; then
3226
echo $ECHO_N "(cached) $ECHO_C" >&6
3228
cat >conftest.$ac_ext <<_ACEOF
3231
cat confdefs.h >>conftest.$ac_ext
3232
cat >>conftest.$ac_ext <<_ACEOF
3233
/* end confdefs.h. */
3234
/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
3235
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3236
#define getaddrinfo innocuous_getaddrinfo
3238
/* System header to define __stub macros and hopefully few prototypes,
3239
which can conflict with char getaddrinfo (); below.
3240
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3241
<limits.h> exists even on freestanding compilers. */
3244
# include <limits.h>
3246
# include <assert.h>
3251
/* Override any gcc2 internal prototype to avoid an error. */
3256
/* We use char because int might match the return type of a gcc2
3257
builtin and then its argument prototype would still apply. */
3258
char getaddrinfo ();
3259
/* The GNU C library defines this for functions which it implements
3260
to always fail with ENOSYS. Some functions are actually named
3261
something starting with __ and the normal name is an alias. */
3262
#if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
3265
char (*f) () = getaddrinfo;
3274
return f != getaddrinfo;
3279
rm -f conftest.$ac_objext conftest$ac_exeext
3280
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3281
(eval $ac_link) 2>conftest.er1
3283
grep -v '^ *+' conftest.er1 >conftest.err
3285
cat conftest.err >&5
3286
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287
(exit $ac_status); } &&
3288
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3289
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293
(exit $ac_status); }; } &&
3294
{ ac_try='test -s conftest$ac_exeext'
3295
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3298
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299
(exit $ac_status); }; }; then
3300
ac_cv_func_getaddrinfo=yes
3302
echo "$as_me: failed program was:" >&5
3303
sed 's/^/| /' conftest.$ac_ext >&5
3305
ac_cv_func_getaddrinfo=no
3307
rm -f conftest.err conftest.$ac_objext \
3308
conftest$ac_exeext conftest.$ac_ext
3310
echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
3311
echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6
3312
if test $ac_cv_func_getaddrinfo = yes; then
3319
if test "$IPV6CONN" = "yes"; then
3321
cat >>confdefs.h <<\_ACEOF
3327
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3328
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3329
if test "${ac_cv_type_signal+set}" = set; then
3330
echo $ECHO_N "(cached) $ECHO_C" >&6
3332
cat >conftest.$ac_ext <<_ACEOF
3335
cat confdefs.h >>conftest.$ac_ext
3336
cat >>conftest.$ac_ext <<_ACEOF
3337
/* end confdefs.h. */
3338
#include <sys/types.h>
3344
extern "C" void (*signal (int, void (*)(int)))(int);
3346
void (*signal ()) ();
3357
rm -f conftest.$ac_objext
3358
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3359
(eval $ac_compile) 2>conftest.er1
3361
grep -v '^ *+' conftest.er1 >conftest.err
3363
cat conftest.err >&5
3364
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365
(exit $ac_status); } &&
3366
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3367
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371
(exit $ac_status); }; } &&
3372
{ ac_try='test -s conftest.$ac_objext'
3373
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3376
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377
(exit $ac_status); }; }; then
3378
ac_cv_type_signal=void
3380
echo "$as_me: failed program was:" >&5
3381
sed 's/^/| /' conftest.$ac_ext >&5
3383
ac_cv_type_signal=int
3385
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3387
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3388
echo "${ECHO_T}$ac_cv_type_signal" >&6
3390
cat >>confdefs.h <<_ACEOF
3391
#define RETSIGTYPE $ac_cv_type_signal
3396
if test "x$ac_cv_type_signal" = xint; then
3398
cat >>confdefs.h <<\_ACEOF
3399
#define SIGNALRETURNSINT int
3405
ac_cpp='$CPP $CPPFLAGS'
3406
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3409
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3410
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3411
# On Suns, sometimes $CPP names a directory.
3412
if test -n "$CPP" && test -d "$CPP"; then
3415
if test -z "$CPP"; then
3416
if test "${ac_cv_prog_CPP+set}" = set; then
3417
echo $ECHO_N "(cached) $ECHO_C" >&6
3419
# Double quotes because CPP needs to be expanded
3420
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3423
for ac_c_preproc_warn_flag in '' yes
3425
# Use a header file that comes with gcc, so configuring glibc
3426
# with a fresh cross-compiler works.
3427
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3428
# <limits.h> exists even on freestanding compilers.
3429
# On the NeXT, cc -E runs the code through the compiler's parser,
3430
# not just through cpp. "Syntax error" is here to catch this case.
3431
cat >conftest.$ac_ext <<_ACEOF
3434
cat confdefs.h >>conftest.$ac_ext
3435
cat >>conftest.$ac_ext <<_ACEOF
3436
/* end confdefs.h. */
3438
# include <limits.h>
3440
# include <assert.h>
3444
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3445
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3447
grep -v '^ *+' conftest.er1 >conftest.err
3449
cat conftest.err >&5
3450
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451
(exit $ac_status); } >/dev/null; then
3452
if test -s conftest.err; then
3453
ac_cpp_err=$ac_c_preproc_warn_flag
3454
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3461
if test -z "$ac_cpp_err"; then
3464
echo "$as_me: failed program was:" >&5
3465
sed 's/^/| /' conftest.$ac_ext >&5
3467
# Broken: fails on valid input.
3470
rm -f conftest.err conftest.$ac_ext
3472
# OK, works on sane cases. Now check whether non-existent headers
3473
# can be detected and how.
3474
cat >conftest.$ac_ext <<_ACEOF
3477
cat confdefs.h >>conftest.$ac_ext
3478
cat >>conftest.$ac_ext <<_ACEOF
3479
/* end confdefs.h. */
3480
#include <ac_nonexistent.h>
3482
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3483
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3485
grep -v '^ *+' conftest.er1 >conftest.err
3487
cat conftest.err >&5
3488
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489
(exit $ac_status); } >/dev/null; then
3490
if test -s conftest.err; then
3491
ac_cpp_err=$ac_c_preproc_warn_flag
3492
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3499
if test -z "$ac_cpp_err"; then
3500
# Broken: success on invalid input.
3503
echo "$as_me: failed program was:" >&5
3504
sed 's/^/| /' conftest.$ac_ext >&5
3506
# Passes both tests.
3510
rm -f conftest.err conftest.$ac_ext
3513
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3514
rm -f conftest.err conftest.$ac_ext
3515
if $ac_preproc_ok; then
3527
echo "$as_me:$LINENO: result: $CPP" >&5
3528
echo "${ECHO_T}$CPP" >&6
3530
for ac_c_preproc_warn_flag in '' yes
3532
# Use a header file that comes with gcc, so configuring glibc
3533
# with a fresh cross-compiler works.
3534
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3535
# <limits.h> exists even on freestanding compilers.
3536
# On the NeXT, cc -E runs the code through the compiler's parser,
3537
# not just through cpp. "Syntax error" is here to catch this case.
3538
cat >conftest.$ac_ext <<_ACEOF
3541
cat confdefs.h >>conftest.$ac_ext
3542
cat >>conftest.$ac_ext <<_ACEOF
3543
/* end confdefs.h. */
3545
# include <limits.h>
3547
# include <assert.h>
3551
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3552
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3554
grep -v '^ *+' conftest.er1 >conftest.err
3556
cat conftest.err >&5
3557
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558
(exit $ac_status); } >/dev/null; then
3559
if test -s conftest.err; then
3560
ac_cpp_err=$ac_c_preproc_warn_flag
3561
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3568
if test -z "$ac_cpp_err"; then
3571
echo "$as_me: failed program was:" >&5
3572
sed 's/^/| /' conftest.$ac_ext >&5
3574
# Broken: fails on valid input.
3577
rm -f conftest.err conftest.$ac_ext
3579
# OK, works on sane cases. Now check whether non-existent headers
3580
# can be detected and how.
3581
cat >conftest.$ac_ext <<_ACEOF
3584
cat confdefs.h >>conftest.$ac_ext
3585
cat >>conftest.$ac_ext <<_ACEOF
3586
/* end confdefs.h. */
3587
#include <ac_nonexistent.h>
3589
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3590
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3592
grep -v '^ *+' conftest.er1 >conftest.err
3594
cat conftest.err >&5
3595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596
(exit $ac_status); } >/dev/null; then
3597
if test -s conftest.err; then
3598
ac_cpp_err=$ac_c_preproc_warn_flag
3599
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3606
if test -z "$ac_cpp_err"; then
3607
# Broken: success on invalid input.
3610
echo "$as_me: failed program was:" >&5
3611
sed 's/^/| /' conftest.$ac_ext >&5
3613
# Passes both tests.
3617
rm -f conftest.err conftest.$ac_ext
3620
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3621
rm -f conftest.err conftest.$ac_ext
3622
if $ac_preproc_ok; then
3625
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3626
See \`config.log' for more details." >&5
3627
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3628
See \`config.log' for more details." >&2;}
3629
{ (exit 1); exit 1; }; }
3633
ac_cpp='$CPP $CPPFLAGS'
3634
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3635
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3636
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3639
echo "$as_me:$LINENO: checking for egrep" >&5
3640
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3641
if test "${ac_cv_prog_egrep+set}" = set; then
3642
echo $ECHO_N "(cached) $ECHO_C" >&6
3644
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3645
then ac_cv_prog_egrep='grep -E'
3646
else ac_cv_prog_egrep='egrep'
3649
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3650
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3651
EGREP=$ac_cv_prog_egrep
3654
cat >conftest.$ac_ext <<_ACEOF
3657
cat confdefs.h >>conftest.$ac_ext
3658
cat >>conftest.$ac_ext <<_ACEOF
3659
/* end confdefs.h. */
3667
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3668
$EGREP "yes" >/dev/null 2>&1; then
3670
cat >>confdefs.h <<\_ACEOF
3671
#define HAS_SIGHUP 1
3678
cat >conftest.$ac_ext <<_ACEOF
3681
cat confdefs.h >>conftest.$ac_ext
3682
cat >>conftest.$ac_ext <<_ACEOF
3683
/* end confdefs.h. */
3691
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3692
$EGREP "yes" >/dev/null 2>&1; then
3694
cat >>confdefs.h <<\_ACEOF
3695
#define HAS_SIGALRM 1
3702
cat >conftest.$ac_ext <<_ACEOF
3705
cat confdefs.h >>conftest.$ac_ext
3706
cat >>conftest.$ac_ext <<_ACEOF
3707
/* end confdefs.h. */
3715
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3716
$EGREP "yes" >/dev/null 2>&1; then
3718
cat >>confdefs.h <<\_ACEOF
3719
#define HAS_SIGPIPE 1
3726
# Checks for pkg-config packages
3729
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3730
if test -n "$ac_tool_prefix"; then
3731
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3732
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3733
echo "$as_me:$LINENO: checking for $ac_word" >&5
3734
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3735
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3736
echo $ECHO_N "(cached) $ECHO_C" >&6
3740
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3743
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747
test -z "$as_dir" && as_dir=.
3748
for ac_exec_ext in '' $ac_executable_extensions; do
3749
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3750
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3751
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3760
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3762
if test -n "$PKG_CONFIG"; then
3763
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3764
echo "${ECHO_T}$PKG_CONFIG" >&6
3766
echo "$as_me:$LINENO: result: no" >&5
3767
echo "${ECHO_T}no" >&6
3771
if test -z "$ac_cv_path_PKG_CONFIG"; then
3772
ac_pt_PKG_CONFIG=$PKG_CONFIG
3773
# Extract the first word of "pkg-config", so it can be a program name with args.
3774
set dummy pkg-config; ac_word=$2
3775
echo "$as_me:$LINENO: checking for $ac_word" >&5
3776
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3777
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3778
echo $ECHO_N "(cached) $ECHO_C" >&6
3780
case $ac_pt_PKG_CONFIG in
3782
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3785
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789
test -z "$as_dir" && as_dir=.
3790
for ac_exec_ext in '' $ac_executable_extensions; do
3791
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3792
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3793
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3802
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3804
if test -n "$ac_pt_PKG_CONFIG"; then
3805
echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3806
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
3808
echo "$as_me:$LINENO: result: no" >&5
3809
echo "${ECHO_T}no" >&6
3812
PKG_CONFIG=$ac_pt_PKG_CONFIG
3814
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3818
if test -n "$PKG_CONFIG"; then
3819
_pkg_min_version=0.9.0
3820
echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3821
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
3822
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3823
echo "$as_me:$LINENO: result: yes" >&5
3824
echo "${ECHO_T}yes" >&6
3826
echo "$as_me:$LINENO: result: no" >&5
3827
echo "${ECHO_T}no" >&6
3834
echo "$as_me:$LINENO: checking for XAUTH" >&5
3835
echo $ECHO_N "checking for XAUTH... $ECHO_C" >&6
3837
if test -n "$PKG_CONFIG"; then
3838
if test -n "$PKG_CONFIG" && \
3839
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmu\"") >&5
3840
($PKG_CONFIG --exists --print-errors "x11 xau xext xmu") 2>&5
3842
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843
(exit $ac_status); }; then
3844
pkg_cv_XAUTH_CFLAGS=`$PKG_CONFIG --cflags "x11 xau xext xmu" 2>/dev/null`
3851
if test -n "$PKG_CONFIG"; then
3852
if test -n "$PKG_CONFIG" && \
3853
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmu\"") >&5
3854
($PKG_CONFIG --exists --print-errors "x11 xau xext xmu") 2>&5
3856
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857
(exit $ac_status); }; then
3858
pkg_cv_XAUTH_LIBS=`$PKG_CONFIG --libs "x11 xau xext xmu" 2>/dev/null`
3866
if test $pkg_failed = yes; then
3867
XAUTH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xau xext xmu"`
3868
# Put the nasty error message in config.log where it belongs
3869
echo "$XAUTH_PKG_ERRORS" 1>&5
3871
{ { echo "$as_me:$LINENO: error: Package requirements (x11 xau xext xmu) were not met.
3872
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3873
installed software in a non-standard prefix.
3875
Alternatively you may set the XAUTH_CFLAGS and XAUTH_LIBS environment variables
3876
to avoid the need to call pkg-config. See the pkg-config man page for
3878
echo "$as_me: error: Package requirements (x11 xau xext xmu) were not met.
3879
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3880
installed software in a non-standard prefix.
3882
Alternatively you may set the XAUTH_CFLAGS and XAUTH_LIBS environment variables
3883
to avoid the need to call pkg-config. See the pkg-config man page for
3884
more details." >&2;}
3885
{ (exit 1); exit 1; }; }
3886
elif test $pkg_failed = untried; then
3887
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3888
is in your PATH or set the PKG_CONFIG environment variable to the full
3891
Alternatively you may set the XAUTH_CFLAGS and XAUTH_LIBS environment variables
3892
to avoid the need to call pkg-config. See the pkg-config man page for
3895
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3896
See \`config.log' for more details." >&5
3897
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3898
is in your PATH or set the PKG_CONFIG environment variable to the full
3901
Alternatively you may set the XAUTH_CFLAGS and XAUTH_LIBS environment variables
3902
to avoid the need to call pkg-config. See the pkg-config man page for
3905
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3906
See \`config.log' for more details." >&2;}
3907
{ (exit 1); exit 1; }; }
3909
XAUTH_CFLAGS=$pkg_cv_XAUTH_CFLAGS
3910
XAUTH_LIBS=$pkg_cv_XAUTH_LIBS
3911
echo "$as_me:$LINENO: result: yes" >&5
3912
echo "${ECHO_T}yes" >&6
3918
ac_config_files="$ac_config_files Makefile"
3919
cat >confcache <<\_ACEOF
3920
# This file is a shell script that caches the results of configure
3921
# tests run on this system so they can be shared between configure
3922
# scripts and configure runs, see configure's option --config-cache.
3923
# It is not useful on other systems. If it contains results you don't
3924
# want to keep, you may remove or edit it.
3926
# config.status only pays attention to the cache file if you give it
3927
# the --recheck option to rerun configure.
3929
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3930
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3935
# The following way of writing the cache mishandles newlines in values,
3936
# but we know of no workaround that is simple, portable, and efficient.
3937
# So, don't put newlines in cache variables' values.
3938
# Ultrix sh set writes to stderr and can't be redirected directly,
3939
# and sets the high bit in the cache file unless we assign to the vars.
3942
case `(ac_space=' '; set | grep ac_space) 2>&1` in
3944
# `set' does not quote correctly, so add quotes (double-quote
3945
# substitution turns \\\\ into \\, and sed turns \\ into \).
3948
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3951
# `set' quotes correctly as required by POSIX, so do not add quotes.
3953
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3960
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3962
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3964
if diff $cache_file confcache >/dev/null 2>&1; then :; else
3965
if test -w $cache_file; then
3966
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3967
cat confcache >$cache_file
3969
echo "not updating unwritable cache $cache_file"
3974
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3975
# Let make expand exec_prefix.
3976
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3978
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3979
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3980
# trailing colons and then remove the whole line if VPATH becomes empty
3981
# (actually we leave an empty line to preserve line numbers).
3982
if test "x$srcdir" = x.; then
3983
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3984
s/:*\$(srcdir):*/:/;
3985
s/:*\${srcdir}:*/:/;
3987
s/^\([^=]*=[ ]*\):*/\1/;
3993
DEFS=-DHAVE_CONFIG_H
3997
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3998
# 1. Remove the extension, and $U if already installed.
3999
ac_i=`echo "$ac_i" |
4000
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4002
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4003
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4007
LTLIBOBJS=$ac_ltlibobjs
4010
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4011
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4012
Usually this means the macro was only invoked conditionally." >&5
4013
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4014
Usually this means the macro was only invoked conditionally." >&2;}
4015
{ (exit 1); exit 1; }; }
4017
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4018
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4019
Usually this means the macro was only invoked conditionally." >&5
4020
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4021
Usually this means the macro was only invoked conditionally." >&2;}
4022
{ (exit 1); exit 1; }; }
4024
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4025
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4026
Usually this means the macro was only invoked conditionally." >&5
4027
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4028
Usually this means the macro was only invoked conditionally." >&2;}
4029
{ (exit 1); exit 1; }; }
4032
: ${CONFIG_STATUS=./config.status}
4033
ac_clean_files_save=$ac_clean_files
4034
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4035
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4036
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4037
cat >$CONFIG_STATUS <<_ACEOF
4039
# Generated by $as_me.
4040
# Run this file to recreate the current configuration.
4041
# Compiler output produced by configure, useful for debugging
4042
# configure, is in config.log if it exists.
4047
SHELL=\${CONFIG_SHELL-$SHELL}
4050
cat >>$CONFIG_STATUS <<\_ACEOF
4051
## --------------------- ##
4052
## M4sh Initialization. ##
4053
## --------------------- ##
4055
# Be Bourne compatible
4056
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4059
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4060
# is contrary to our usage. Disable this feature.
4061
alias -g '${1+"$@"}'='"$@"'
4062
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4065
DUALCASE=1; export DUALCASE # for MKS sh
4067
# Support unset when possible.
4068
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4075
# Work around bugs in pre-3.0 UWIN ksh.
4076
$as_unset ENV MAIL MAILPATH
4083
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4084
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4085
LC_TELEPHONE LC_TIME
4087
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4088
eval $as_var=C; export $as_var
4094
# Required to use basename.
4095
if expr a : '\(a\)' >/dev/null 2>&1; then
4101
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4102
as_basename=basename
4108
# Name of the executable.
4109
as_me=`$as_basename "$0" ||
4110
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4111
X"$0" : 'X\(//\)$' \| \
4112
X"$0" : 'X\(/\)$' \| \
4113
. : '\(.\)' 2>/dev/null ||
4115
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4116
/^X\/\(\/\/\)$/{ s//\1/; q; }
4117
/^X\/\(\/\).*/{ s//\1/; q; }
4121
# PATH needs CR, and LINENO needs CR and PATH.
4122
# Avoid depending upon Character Ranges.
4123
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4124
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4125
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4126
as_cr_digits='0123456789'
4127
as_cr_alnum=$as_cr_Letters$as_cr_digits
4129
# The user is always right.
4130
if test "${PATH_SEPARATOR+set}" != set; then
4131
echo "#! /bin/sh" >conf$$.sh
4132
echo "exit 0" >>conf$$.sh
4134
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4145
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4146
test "x$as_lineno_1" != "x$as_lineno_2" &&
4147
test "x$as_lineno_3" = "x$as_lineno_2" || {
4148
# Find who we are. Look in the path if we contain no path at all
4151
*[\\/]* ) as_myself=$0 ;;
4152
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4156
test -z "$as_dir" && as_dir=.
4157
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4162
# We did not find ourselves, most probably we were run as `sh COMMAND'
4163
# in which case we are not to be found in the path.
4164
if test "x$as_myself" = x; then
4167
if test ! -f "$as_myself"; then
4168
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4169
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4170
{ (exit 1); exit 1; }; }
4172
case $CONFIG_SHELL in
4174
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4175
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4178
test -z "$as_dir" && as_dir=.
4179
for as_base in sh bash ksh sh5; do
4182
if ("$as_dir/$as_base" -c '
4185
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4186
test "x$as_lineno_1" != "x$as_lineno_2" &&
4187
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4188
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4189
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4190
CONFIG_SHELL=$as_dir/$as_base
4192
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4200
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4201
# uniformly replaced by the line number. The first 'sed' inserts a
4202
# line-number line before each line; the second 'sed' does the real
4203
# work. The second script uses 'N' to pair each line-number line
4204
# with the numbered line, and appends trailing '-' during
4205
# substitution so that $LINENO is not a special case at line end.
4206
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4207
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4208
sed '=' <$as_myself |
4213
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4216
s,^['$as_cr_digits']*\n,,
4218
chmod +x $as_me.lineno ||
4219
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4220
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4221
{ (exit 1); exit 1; }; }
4223
# Don't try to exec as it changes $[0], causing all sort of problems
4224
# (the dirname of $[0] is not the place where we might find the
4225
# original and so on. Autoconf is especially sensible to this).
4227
# Exit status is that of the last command.
4232
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4233
*c*,-n*) ECHO_N= ECHO_C='
4235
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4236
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4239
if expr a : '\(a\)' >/dev/null 2>&1; then
4245
rm -f conf$$ conf$$.exe conf$$.file
4247
if ln -s conf$$.file conf$$ 2>/dev/null; then
4248
# We could just check for DJGPP; but this test a) works b) is more generic
4249
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4250
if test -f conf$$.exe; then
4251
# Don't use ln at all; we don't have any links
4256
elif ln conf$$.file conf$$ 2>/dev/null; then
4261
rm -f conf$$ conf$$.exe conf$$.file
4263
if mkdir -p . 2>/dev/null; then
4266
test -d ./-p && rmdir ./-p
4270
as_executable_p="test -f"
4272
# Sed expression to map a string onto a valid CPP name.
4273
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4275
# Sed expression to map a string onto a valid variable name.
4276
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4280
# We need space, tab and new line, in precisely that order.
4290
# Open the log real soon, to keep \$[0] and so on meaningful, and to
4291
# report actual input values of CONFIG_FILES etc. instead of their
4292
# values after options handling. Logging --version etc. is OK.
4296
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4297
## Running $as_me. ##
4302
This file was extended by xauth $as_me 7.0, which was
4303
generated by GNU Autoconf 2.59. Invocation command line was
4305
CONFIG_FILES = $CONFIG_FILES
4306
CONFIG_HEADERS = $CONFIG_HEADERS
4307
CONFIG_LINKS = $CONFIG_LINKS
4308
CONFIG_COMMANDS = $CONFIG_COMMANDS
4312
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4316
# Files that config.status was made for.
4317
if test -n "$ac_config_files"; then
4318
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4321
if test -n "$ac_config_headers"; then
4322
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4325
if test -n "$ac_config_links"; then
4326
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4329
if test -n "$ac_config_commands"; then
4330
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4333
cat >>$CONFIG_STATUS <<\_ACEOF
4336
\`$as_me' instantiates files from templates according to the
4337
current configuration.
4339
Usage: $0 [OPTIONS] [FILE]...
4341
-h, --help print this help, then exit
4342
-V, --version print version number, then exit
4343
-q, --quiet do not print progress messages
4344
-d, --debug don't remove temporary files
4345
--recheck update $as_me by reconfiguring in the same conditions
4346
--file=FILE[:TEMPLATE]
4347
instantiate the configuration file FILE
4348
--header=FILE[:TEMPLATE]
4349
instantiate the configuration header FILE
4351
Configuration files:
4354
Configuration headers:
4357
Configuration commands:
4360
Report bugs to <bug-autoconf@gnu.org>."
4363
cat >>$CONFIG_STATUS <<_ACEOF
4365
xauth config.status 7.0
4366
configured by $0, generated by GNU Autoconf 2.59,
4367
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4369
Copyright (C) 2003 Free Software Foundation, Inc.
4370
This config.status script is free software; the Free Software Foundation
4371
gives unlimited permission to copy, distribute and modify it."
4376
cat >>$CONFIG_STATUS <<\_ACEOF
4377
# If no file are specified by the user, then we need to provide default
4378
# value. By we need to know if files were specified by the user.
4384
ac_option=`expr "x$1" : 'x\([^=]*\)='`
4385
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4393
*) # This is not an option, so the user has probably given explicit
4396
ac_need_defaults=false;;
4400
# Handling of the options.
4402
cat >>$CONFIG_STATUS <<\_ACEOF
4403
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4405
--version | --vers* | -V )
4406
echo "$ac_cs_version"; exit 0 ;;
4408
# Conflict between --help and --header
4409
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
4410
Try \`$0 --help' for more information." >&5
4411
echo "$as_me: error: ambiguous option: $1
4412
Try \`$0 --help' for more information." >&2;}
4413
{ (exit 1); exit 1; }; };;
4414
--help | --hel | -h )
4415
echo "$ac_cs_usage"; exit 0 ;;
4416
--debug | --d* | -d )
4418
--file | --fil | --fi | --f )
4420
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4421
ac_need_defaults=false;;
4422
--header | --heade | --head | --hea )
4424
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4425
ac_need_defaults=false;;
4426
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4427
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4431
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4432
Try \`$0 --help' for more information." >&5
4433
echo "$as_me: error: unrecognized option: $1
4434
Try \`$0 --help' for more information." >&2;}
4435
{ (exit 1); exit 1; }; } ;;
4437
*) ac_config_targets="$ac_config_targets $1" ;;
4443
ac_configure_extra_args=
4445
if $ac_cs_silent; then
4447
ac_configure_extra_args="$ac_configure_extra_args --silent"
4451
cat >>$CONFIG_STATUS <<_ACEOF
4452
if \$ac_cs_recheck; then
4453
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4454
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4459
cat >>$CONFIG_STATUS <<_ACEOF
4461
# INIT-COMMANDS section.
4464
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4470
cat >>$CONFIG_STATUS <<\_ACEOF
4471
for ac_config_target in $ac_config_targets
4473
case "$ac_config_target" in
4474
# Handling of arguments.
4475
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4476
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4477
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4478
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4479
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4480
{ (exit 1); exit 1; }; };;
4484
# If the user did not use the arguments to specify the items to instantiate,
4485
# then the envvar interface is used. Set only those that are not.
4486
# We use the long form for the default assignment because of an extremely
4487
# bizarre bug on SunOS 4.1.3.
4488
if $ac_need_defaults; then
4489
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4490
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4491
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4494
# Have a temporary directory for convenience. Make it in the build tree
4495
# simply because there is no reason to put it here, and in addition,
4496
# creating and moving files from /tmp can sometimes cause problems.
4497
# Create a temporary directory, and hook for its removal unless debugging.
4500
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4501
trap '{ (exit 1); exit 1; }' 1 2 13 15
4504
# Create a (secure) tmp directory for tmp files.
4507
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4508
test -n "$tmp" && test -d "$tmp"
4511
tmp=./confstat$$-$RANDOM
4512
(umask 077 && mkdir $tmp)
4515
echo "$me: cannot create a temporary directory in ." >&2
4516
{ (exit 1); exit 1; }
4521
cat >>$CONFIG_STATUS <<_ACEOF
4524
# CONFIG_FILES section.
4527
# No need to generate the scripts if there are no CONFIG_FILES.
4528
# This happens for instance when ./config.status config.h
4529
if test -n "\$CONFIG_FILES"; then
4530
# Protect against being on the right side of a sed subst in config.status.
4531
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4532
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4533
s,@SHELL@,$SHELL,;t t
4534
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4535
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4536
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4537
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4538
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4539
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4540
s,@exec_prefix@,$exec_prefix,;t t
4541
s,@prefix@,$prefix,;t t
4542
s,@program_transform_name@,$program_transform_name,;t t
4543
s,@bindir@,$bindir,;t t
4544
s,@sbindir@,$sbindir,;t t
4545
s,@libexecdir@,$libexecdir,;t t
4546
s,@datadir@,$datadir,;t t
4547
s,@sysconfdir@,$sysconfdir,;t t
4548
s,@sharedstatedir@,$sharedstatedir,;t t
4549
s,@localstatedir@,$localstatedir,;t t
4550
s,@libdir@,$libdir,;t t
4551
s,@includedir@,$includedir,;t t
4552
s,@oldincludedir@,$oldincludedir,;t t
4553
s,@infodir@,$infodir,;t t
4554
s,@mandir@,$mandir,;t t
4555
s,@build_alias@,$build_alias,;t t
4556
s,@host_alias@,$host_alias,;t t
4557
s,@target_alias@,$target_alias,;t t
4559
s,@ECHO_C@,$ECHO_C,;t t
4560
s,@ECHO_N@,$ECHO_N,;t t
4561
s,@ECHO_T@,$ECHO_T,;t t
4563
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4564
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4565
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4566
s,@CYGPATH_W@,$CYGPATH_W,;t t
4567
s,@PACKAGE@,$PACKAGE,;t t
4568
s,@VERSION@,$VERSION,;t t
4569
s,@ACLOCAL@,$ACLOCAL,;t t
4570
s,@AUTOCONF@,$AUTOCONF,;t t
4571
s,@AUTOMAKE@,$AUTOMAKE,;t t
4572
s,@AUTOHEADER@,$AUTOHEADER,;t t
4573
s,@MAKEINFO@,$MAKEINFO,;t t
4574
s,@install_sh@,$install_sh,;t t
4575
s,@STRIP@,$STRIP,;t t
4576
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4577
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4578
s,@mkdir_p@,$mkdir_p,;t t
4580
s,@SET_MAKE@,$SET_MAKE,;t t
4581
s,@am__leading_dot@,$am__leading_dot,;t t
4582
s,@AMTAR@,$AMTAR,;t t
4583
s,@am__tar@,$am__tar,;t t
4584
s,@am__untar@,$am__untar,;t t
4585
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4586
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4587
s,@MAINT@,$MAINT,;t t
4589
s,@CFLAGS@,$CFLAGS,;t t
4590
s,@LDFLAGS@,$LDFLAGS,;t t
4591
s,@CPPFLAGS@,$CPPFLAGS,;t t
4592
s,@ac_ct_CC@,$ac_ct_CC,;t t
4593
s,@EXEEXT@,$EXEEXT,;t t
4594
s,@OBJEXT@,$OBJEXT,;t t
4595
s,@DEPDIR@,$DEPDIR,;t t
4596
s,@am__include@,$am__include,;t t
4597
s,@am__quote@,$am__quote,;t t
4598
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4599
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4600
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4601
s,@CCDEPMODE@,$CCDEPMODE,;t t
4602
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4603
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4605
s,@EGREP@,$EGREP,;t t
4606
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
4607
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
4608
s,@XAUTH_CFLAGS@,$XAUTH_CFLAGS,;t t
4609
s,@XAUTH_LIBS@,$XAUTH_LIBS,;t t
4610
s,@LIBOBJS@,$LIBOBJS,;t t
4611
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4616
cat >>$CONFIG_STATUS <<\_ACEOF
4617
# Split the substitutions into bite-sized pieces for seds with
4618
# small command number limits, like on Digital OSF/1 and HP-UX.
4620
ac_sed_frag=1 # Number of current file.
4621
ac_beg=1 # First line for current file.
4622
ac_end=$ac_max_sed_lines # Line after last line for current file.
4625
while $ac_more_lines; do
4626
if test $ac_beg -gt 1; then
4627
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4629
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4631
if test ! -s $tmp/subs.frag; then
4634
# The purpose of the label and of the branching condition is to
4635
# speed up the sed processing (if there are no `@' at all, there
4636
# is no need to browse any of the substitutions).
4637
# These are the two extra sed commands mentioned above.
4639
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4640
if test -z "$ac_sed_cmds"; then
4641
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4643
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4645
ac_sed_frag=`expr $ac_sed_frag + 1`
4647
ac_end=`expr $ac_end + $ac_max_sed_lines`
4650
if test -z "$ac_sed_cmds"; then
4653
fi # test -n "$CONFIG_FILES"
4656
cat >>$CONFIG_STATUS <<\_ACEOF
4657
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4658
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4660
- | *:- | *:-:* ) # input from stdin
4662
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4663
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4664
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4665
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4666
* ) ac_file_in=$ac_file.in ;;
4669
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4670
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4671
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4672
X"$ac_file" : 'X\(//\)[^/]' \| \
4673
X"$ac_file" : 'X\(//\)$' \| \
4674
X"$ac_file" : 'X\(/\)' \| \
4675
. : '\(.\)' 2>/dev/null ||
4677
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4678
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4679
/^X\(\/\/\)$/{ s//\1/; q; }
4680
/^X\(\/\).*/{ s//\1/; q; }
4682
{ if $as_mkdir_p; then
4687
while test ! -d "$as_dir"; do
4688
as_dirs="$as_dir $as_dirs"
4689
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4690
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4691
X"$as_dir" : 'X\(//\)[^/]' \| \
4692
X"$as_dir" : 'X\(//\)$' \| \
4693
X"$as_dir" : 'X\(/\)' \| \
4694
. : '\(.\)' 2>/dev/null ||
4696
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4697
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4698
/^X\(\/\/\)$/{ s//\1/; q; }
4699
/^X\(\/\).*/{ s//\1/; q; }
4702
test ! -n "$as_dirs" || mkdir $as_dirs
4703
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4704
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4705
{ (exit 1); exit 1; }; }; }
4709
if test "$ac_dir" != .; then
4710
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4711
# A "../" for each directory in $ac_dir_suffix.
4712
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4714
ac_dir_suffix= ac_top_builddir=
4718
.) # No --srcdir option. We are building in place.
4720
if test -z "$ac_top_builddir"; then
4723
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4725
[\\/]* | ?:[\\/]* ) # Absolute path.
4726
ac_srcdir=$srcdir$ac_dir_suffix;
4727
ac_top_srcdir=$srcdir ;;
4729
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4730
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4733
# Do not use `cd foo && pwd` to compute absolute paths, because
4734
# the directories may not exist.
4736
.) ac_abs_builddir="$ac_dir";;
4739
.) ac_abs_builddir=`pwd`;;
4740
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4741
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4744
case $ac_abs_builddir in
4745
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4747
case ${ac_top_builddir}. in
4748
.) ac_abs_top_builddir=$ac_abs_builddir;;
4749
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4750
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4753
case $ac_abs_builddir in
4754
.) ac_abs_srcdir=$ac_srcdir;;
4757
.) ac_abs_srcdir=$ac_abs_builddir;;
4758
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4759
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4762
case $ac_abs_builddir in
4763
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4765
case $ac_top_srcdir in
4766
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4767
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4768
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4774
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4775
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4778
# Let's still pretend it is `configure' which instantiates (i.e., don't
4779
# use $as_me), people would be surprised to read:
4780
# /* config.h. Generated by config.status. */
4781
if test x"$ac_file" = x-; then
4784
configure_input="$ac_file. "
4786
configure_input=$configure_input"Generated from `echo $ac_file_in |
4787
sed 's,.*/,,'` by configure."
4789
# First look for the input files in the build tree, otherwise in the
4791
ac_file_inputs=`IFS=:
4792
for f in $ac_file_in; do
4794
-) echo $tmp/stdin ;;
4796
# Absolute (can't be DOS-style, as IFS=:)
4797
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4798
echo "$as_me: error: cannot find input file: $f" >&2;}
4799
{ (exit 1); exit 1; }; }
4802
if test -f "$f"; then
4805
elif test -f "$srcdir/$f"; then
4810
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4811
echo "$as_me: error: cannot find input file: $f" >&2;}
4812
{ (exit 1); exit 1; }; }
4815
done` || { (exit 1); exit 1; }
4817
if test x"$ac_file" != x-; then
4818
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4819
echo "$as_me: creating $ac_file" >&6;}
4823
cat >>$CONFIG_STATUS <<_ACEOF
4827
cat >>$CONFIG_STATUS <<\_ACEOF
4829
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4830
s,@configure_input@,$configure_input,;t t
4831
s,@srcdir@,$ac_srcdir,;t t
4832
s,@abs_srcdir@,$ac_abs_srcdir,;t t
4833
s,@top_srcdir@,$ac_top_srcdir,;t t
4834
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4835
s,@builddir@,$ac_builddir,;t t
4836
s,@abs_builddir@,$ac_abs_builddir,;t t
4837
s,@top_builddir@,$ac_top_builddir,;t t
4838
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4839
s,@INSTALL@,$ac_INSTALL,;t t
4840
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4842
if test x"$ac_file" != x-; then
4843
mv $tmp/out $ac_file
4851
cat >>$CONFIG_STATUS <<\_ACEOF
4854
# CONFIG_HEADER section.
4857
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4858
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4860
# ac_d sets the value in "#define NAME VALUE" lines.
4861
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4862
ac_dB='[ ].*$,\1#\2'
4865
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4866
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4867
ac_uB='$,\1#\2define\3'
4871
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4872
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4874
- | *:- | *:-:* ) # input from stdin
4876
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4877
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4878
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4879
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4880
* ) ac_file_in=$ac_file.in ;;
4883
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4884
echo "$as_me: creating $ac_file" >&6;}
4886
# First look for the input files in the build tree, otherwise in the
4888
ac_file_inputs=`IFS=:
4889
for f in $ac_file_in; do
4891
-) echo $tmp/stdin ;;
4893
# Absolute (can't be DOS-style, as IFS=:)
4894
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4895
echo "$as_me: error: cannot find input file: $f" >&2;}
4896
{ (exit 1); exit 1; }; }
4897
# Do quote $f, to prevent DOS paths from being IFS'd.
4900
if test -f "$f"; then
4903
elif test -f "$srcdir/$f"; then
4908
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4909
echo "$as_me: error: cannot find input file: $f" >&2;}
4910
{ (exit 1); exit 1; }; }
4913
done` || { (exit 1); exit 1; }
4914
# Remove the trailing spaces.
4915
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4919
# Transform confdefs.h into two sed scripts, `conftest.defines' and
4920
# `conftest.undefs', that substitutes the proper values into
4921
# config.h.in to produce config.h. The first handles `#define'
4922
# templates, and the second `#undef' templates.
4923
# And first: Protect against being on the right side of a sed subst in
4924
# config.status. Protect against being in an unquoted here document
4926
rm -f conftest.defines conftest.undefs
4927
# Using a here document instead of a string reduces the quoting nightmare.
4928
# Putting comments in sed scripts is not portable.
4930
# `end' is used to avoid that the second main sed command (meant for
4931
# 0-ary CPP macros) applies to n-ary macro definitions.
4932
# See the Autoconf documentation for `clear'.
4933
cat >confdef2sed.sed <<\_ACEOF
4938
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4940
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4943
# If some macros were called several times there might be several times
4944
# the same #defines, which is useless. Nevertheless, we may not want to
4945
# sort them, since we want the *last* AC-DEFINE to be honored.
4946
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4947
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4948
rm -f confdef2sed.sed
4950
# This sed command replaces #undef with comments. This is necessary, for
4951
# example, in the case of _POSIX_SOURCE, which is predefined and required
4952
# on some systems where configure will not decide to define it.
4953
cat >>conftest.undefs <<\_ACEOF
4954
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4957
# Break up conftest.defines because some shells have a limit on the size
4958
# of here documents, and old seds have small limits too (100 cmds).
4959
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4960
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4961
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4962
echo ' :' >>$CONFIG_STATUS
4964
while grep . conftest.defines >/dev/null
4966
# Write a limited-size here document to $tmp/defines.sed.
4967
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4968
# Speed up: don't consider the non `#define' lines.
4969
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4970
# Work around the forget-to-reset-the-flag bug.
4971
echo 't clr' >>$CONFIG_STATUS
4972
echo ': clr' >>$CONFIG_STATUS
4973
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4975
sed -f $tmp/defines.sed $tmp/in >$tmp/out
4979
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4980
rm -f conftest.defines
4981
mv conftest.tail conftest.defines
4983
rm -f conftest.defines
4984
echo ' fi # grep' >>$CONFIG_STATUS
4985
echo >>$CONFIG_STATUS
4987
# Break up conftest.undefs because some shells have a limit on the size
4988
# of here documents, and old seds have small limits too (100 cmds).
4989
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4991
while grep . conftest.undefs >/dev/null
4993
# Write a limited-size here document to $tmp/undefs.sed.
4994
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4995
# Speed up: don't consider the non `#undef'
4996
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4997
# Work around the forget-to-reset-the-flag bug.
4998
echo 't clr' >>$CONFIG_STATUS
4999
echo ': clr' >>$CONFIG_STATUS
5000
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5002
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5006
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5007
rm -f conftest.undefs
5008
mv conftest.tail conftest.undefs
5010
rm -f conftest.undefs
5012
cat >>$CONFIG_STATUS <<\_ACEOF
5013
# Let's still pretend it is `configure' which instantiates (i.e., don't
5014
# use $as_me), people would be surprised to read:
5015
# /* config.h. Generated by config.status. */
5016
if test x"$ac_file" = x-; then
5017
echo "/* Generated by configure. */" >$tmp/config.h
5019
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5021
cat $tmp/in >>$tmp/config.h
5023
if test x"$ac_file" != x-; then
5024
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5025
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5026
echo "$as_me: $ac_file is unchanged" >&6;}
5028
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5029
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5030
X"$ac_file" : 'X\(//\)[^/]' \| \
5031
X"$ac_file" : 'X\(//\)$' \| \
5032
X"$ac_file" : 'X\(/\)' \| \
5033
. : '\(.\)' 2>/dev/null ||
5035
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5036
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5037
/^X\(\/\/\)$/{ s//\1/; q; }
5038
/^X\(\/\).*/{ s//\1/; q; }
5040
{ if $as_mkdir_p; then
5045
while test ! -d "$as_dir"; do
5046
as_dirs="$as_dir $as_dirs"
5047
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5048
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5049
X"$as_dir" : 'X\(//\)[^/]' \| \
5050
X"$as_dir" : 'X\(//\)$' \| \
5051
X"$as_dir" : 'X\(/\)' \| \
5052
. : '\(.\)' 2>/dev/null ||
5054
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5055
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5056
/^X\(\/\/\)$/{ s//\1/; q; }
5057
/^X\(\/\).*/{ s//\1/; q; }
5060
test ! -n "$as_dirs" || mkdir $as_dirs
5061
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5062
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5063
{ (exit 1); exit 1; }; }; }
5066
mv $tmp/config.h $ac_file
5072
# Compute $ac_file's index in $config_headers.
5074
for _am_header in $config_headers :; do
5076
$ac_file | $ac_file:* )
5079
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
5082
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5083
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5084
X$ac_file : 'X\(//\)[^/]' \| \
5085
X$ac_file : 'X\(//\)$' \| \
5086
X$ac_file : 'X\(/\)' \| \
5087
. : '\(.\)' 2>/dev/null ||
5089
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5090
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5091
/^X\(\/\/\)$/{ s//\1/; q; }
5092
/^X\(\/\).*/{ s//\1/; q; }
5093
s/.*/./; q'`/stamp-h$_am_stamp_count
5096
cat >>$CONFIG_STATUS <<\_ACEOF
5099
# CONFIG_COMMANDS section.
5101
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5102
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5103
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5104
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5105
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5106
X"$ac_dest" : 'X\(//\)[^/]' \| \
5107
X"$ac_dest" : 'X\(//\)$' \| \
5108
X"$ac_dest" : 'X\(/\)' \| \
5109
. : '\(.\)' 2>/dev/null ||
5111
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5112
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5113
/^X\(\/\/\)$/{ s//\1/; q; }
5114
/^X\(\/\).*/{ s//\1/; q; }
5116
{ if $as_mkdir_p; then
5121
while test ! -d "$as_dir"; do
5122
as_dirs="$as_dir $as_dirs"
5123
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5124
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5125
X"$as_dir" : 'X\(//\)[^/]' \| \
5126
X"$as_dir" : 'X\(//\)$' \| \
5127
X"$as_dir" : 'X\(/\)' \| \
5128
. : '\(.\)' 2>/dev/null ||
5130
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5131
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5132
/^X\(\/\/\)$/{ s//\1/; q; }
5133
/^X\(\/\).*/{ s//\1/; q; }
5136
test ! -n "$as_dirs" || mkdir $as_dirs
5137
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5138
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5139
{ (exit 1); exit 1; }; }; }
5143
if test "$ac_dir" != .; then
5144
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5145
# A "../" for each directory in $ac_dir_suffix.
5146
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5148
ac_dir_suffix= ac_top_builddir=
5152
.) # No --srcdir option. We are building in place.
5154
if test -z "$ac_top_builddir"; then
5157
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5159
[\\/]* | ?:[\\/]* ) # Absolute path.
5160
ac_srcdir=$srcdir$ac_dir_suffix;
5161
ac_top_srcdir=$srcdir ;;
5163
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5164
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5167
# Do not use `cd foo && pwd` to compute absolute paths, because
5168
# the directories may not exist.
5170
.) ac_abs_builddir="$ac_dir";;
5173
.) ac_abs_builddir=`pwd`;;
5174
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5175
*) ac_abs_builddir=`pwd`/"$ac_dir";;
5178
case $ac_abs_builddir in
5179
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5181
case ${ac_top_builddir}. in
5182
.) ac_abs_top_builddir=$ac_abs_builddir;;
5183
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5184
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5187
case $ac_abs_builddir in
5188
.) ac_abs_srcdir=$ac_srcdir;;
5191
.) ac_abs_srcdir=$ac_abs_builddir;;
5192
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5193
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5196
case $ac_abs_builddir in
5197
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5199
case $ac_top_srcdir in
5200
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5201
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5202
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5207
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5208
echo "$as_me: executing $ac_dest commands" >&6;}
5210
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5211
# Strip MF so we end up with the name of the file.
5212
mf=`echo "$mf" | sed -e 's/:.*$//'`
5213
# Check whether this is an Automake generated Makefile or not.
5214
# We used to match only the files named `Makefile.in', but
5215
# some people rename them; so instead we look at the file content.
5216
# Grep'ing the first line is not enough: some people post-process
5217
# each Makefile.in and add a new line on top of each file to say so.
5218
# So let's grep whole file.
5219
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5220
dirpart=`(dirname "$mf") 2>/dev/null ||
5221
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5222
X"$mf" : 'X\(//\)[^/]' \| \
5223
X"$mf" : 'X\(//\)$' \| \
5224
X"$mf" : 'X\(/\)' \| \
5225
. : '\(.\)' 2>/dev/null ||
5227
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5228
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5229
/^X\(\/\/\)$/{ s//\1/; q; }
5230
/^X\(\/\).*/{ s//\1/; q; }
5235
# Extract the definition of DEPDIR, am__include, and am__quote
5236
# from the Makefile without running `make'.
5237
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5238
test -z "$DEPDIR" && continue
5239
am__include=`sed -n 's/^am__include = //p' < "$mf"`
5240
test -z "am__include" && continue
5241
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5242
# When using ansi2knr, U may be empty or an underscore; expand it
5243
U=`sed -n 's/^U = //p' < "$mf"`
5244
# Find all dependency output files, they are included files with
5245
# $(DEPDIR) in their names. We invoke sed twice because it is the
5246
# simplest approach to changing $(DEPDIR) to its actual value in the
5248
for file in `sed -n "
5249
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5250
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5251
# Make sure the directory exists.
5252
test -f "$dirpart/$file" && continue
5253
fdir=`(dirname "$file") 2>/dev/null ||
5254
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5255
X"$file" : 'X\(//\)[^/]' \| \
5256
X"$file" : 'X\(//\)$' \| \
5257
X"$file" : 'X\(/\)' \| \
5258
. : '\(.\)' 2>/dev/null ||
5260
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5261
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5262
/^X\(\/\/\)$/{ s//\1/; q; }
5263
/^X\(\/\).*/{ s//\1/; q; }
5265
{ if $as_mkdir_p; then
5266
mkdir -p $dirpart/$fdir
5268
as_dir=$dirpart/$fdir
5270
while test ! -d "$as_dir"; do
5271
as_dirs="$as_dir $as_dirs"
5272
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5273
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5274
X"$as_dir" : 'X\(//\)[^/]' \| \
5275
X"$as_dir" : 'X\(//\)$' \| \
5276
X"$as_dir" : 'X\(/\)' \| \
5277
. : '\(.\)' 2>/dev/null ||
5279
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5280
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5281
/^X\(\/\/\)$/{ s//\1/; q; }
5282
/^X\(\/\).*/{ s//\1/; q; }
5285
test ! -n "$as_dirs" || mkdir $as_dirs
5286
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5287
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5288
{ (exit 1); exit 1; }; }; }
5290
# echo "creating $dirpart/$file"
5291
echo '# dummy' > "$dirpart/$file"
5299
cat >>$CONFIG_STATUS <<\_ACEOF
5301
{ (exit 0); exit 0; }
5303
chmod +x $CONFIG_STATUS
5304
ac_clean_files=$ac_clean_files_save
5307
# configure is writing to config.log, and then calls config.status.
5308
# config.status does its own redirection, appending to config.log.
5309
# Unfortunately, on DOS this fails, as config.log is still kept open
5310
# by configure, so config.status won't be able to write to it; its
5311
# output is simply discarded. So we exec the FD to /dev/null,
5312
# effectively closing config.log, so it can be properly (re)opened and
5313
# appended to by config.status. When coming back to configure, we
5314
# need to make the FD available again.
5315
if test "$no_create" != yes; then
5317
ac_config_status_args=
5318
test "$silent" = yes &&
5319
ac_config_status_args="$ac_config_status_args --quiet"
5321
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5323
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5324
# would make configure fail if this is the last instruction.
5325
$ac_cs_success || { (exit 1); exit 1; }