2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
6
# This configure script is free software; the Free Software Foundation
7
# gives unlimited permission to copy, distribute and modify it.
8
## --------------------- ##
9
## M4sh Initialization. ##
10
## --------------------- ##
12
# Be Bourne compatible
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
# is contrary to our usage. Disable this feature.
18
alias -g '${1+"$@"}'='"$@"'
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
40
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
162
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
s,^['$as_cr_digits']*\n,,
174
chmod +x $as_me.lineno ||
175
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
{ (exit 1); exit 1; }; }
178
# Don't try to exec as it changes $[0], causing all sort of problems
179
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
182
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
if expr a : '\(a\)' >/dev/null 2>&1; then
200
rm -f conf$$ conf$$.exe conf$$.file
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
211
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
218
if mkdir -p . 2>/dev/null; then
221
test -d ./-p && rmdir ./-p
225
as_executable_p="test -f"
227
# Sed expression to map a string onto a valid CPP name.
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
# Sed expression to map a string onto a valid variable name.
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
# We need space, tab and new line, in precisely that order.
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
# so uname gets run too.
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254
ac_default_prefix=/usr/local
255
ac_config_libobj_dir=.
260
SHELL=${CONFIG_SHELL-/bin/sh}
262
# Maximum number of lines to put in a shell here document.
263
# This variable seems obsolete. It should probably be removed, and
264
# only ac_max_sed_lines should be used.
265
: ${ac_max_here_lines=38}
267
# Identity of this package.
274
ac_unique_file="src/ypbind-mt.c"
275
ac_default_prefix=/usr
276
# Factoring default headers for most tests.
277
ac_includes_default="\
280
# include <sys/types.h>
283
# include <sys/stat.h>
294
# if !STDC_HEADERS && HAVE_MEMORY_H
300
# include <strings.h>
303
# include <inttypes.h>
313
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 WARNFLAGS RANLIB ac_ct_RANLIB CPP EGREP SLP_LIBS MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB LIBOBJS USE_BROADCAST LTLIBOBJS'
316
# Initialize some variables set by options.
318
ac_init_version=false
319
# The variables have the same names as the options, with
320
# dashes changed to underlines.
328
program_transform_name=s,x,x,
336
# Installation directory options.
337
# These are left unexpanded so users can "make install exec_prefix=/foo"
338
# and all the variables that are supposed to be based on exec_prefix
339
# by default will actually change.
340
# Use braces instead of parens because sh, perl, etc. also accept them.
341
bindir='${exec_prefix}/bin'
342
sbindir='${exec_prefix}/sbin'
343
libexecdir='${exec_prefix}/libexec'
344
datadir='${prefix}/share'
345
sysconfdir='${prefix}/etc'
346
sharedstatedir='${prefix}/com'
347
localstatedir='${prefix}/var'
348
libdir='${exec_prefix}/lib'
349
includedir='${prefix}/include'
350
oldincludedir='/usr/include'
351
infodir='${prefix}/info'
352
mandir='${prefix}/man'
357
# If the previous option needs an argument, assign it.
358
if test -n "$ac_prev"; then
359
eval "$ac_prev=\$ac_option"
364
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
# Accept the important Cygnus configure options, so we can diagnose typos.
370
-bindir | --bindir | --bindi | --bind | --bin | --bi)
372
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375
-build | --build | --buil | --bui | --bu)
376
ac_prev=build_alias ;;
377
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
378
build_alias=$ac_optarg ;;
380
-cache-file | --cache-file | --cache-fil | --cache-fi \
381
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382
ac_prev=cache_file ;;
383
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385
cache_file=$ac_optarg ;;
388
cache_file=config.cache ;;
390
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394
datadir=$ac_optarg ;;
396
-disable-* | --disable-*)
397
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398
# Reject names that are not valid shell variable names.
399
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
401
{ (exit 1); exit 1; }; }
402
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403
eval "enable_$ac_feature=no" ;;
405
-enable-* | --enable-*)
406
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407
# Reject names that are not valid shell variable names.
408
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
410
{ (exit 1); exit 1; }; }
411
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416
eval "enable_$ac_feature='$ac_optarg'" ;;
418
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420
| --exec | --exe | --ex)
421
ac_prev=exec_prefix ;;
422
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424
| --exec=* | --exe=* | --ex=*)
425
exec_prefix=$ac_optarg ;;
427
-gas | --gas | --ga | --g)
428
# Obsolete; use --with-gas.
431
-help | --help | --hel | --he | -h)
433
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434
ac_init_help=recursive ;;
435
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436
ac_init_help=short ;;
438
-host | --host | --hos | --ho)
439
ac_prev=host_alias ;;
440
-host=* | --host=* | --hos=* | --ho=*)
441
host_alias=$ac_optarg ;;
443
-includedir | --includedir | --includedi | --included | --include \
444
| --includ | --inclu | --incl | --inc)
445
ac_prev=includedir ;;
446
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447
| --includ=* | --inclu=* | --incl=* | --inc=*)
448
includedir=$ac_optarg ;;
450
-infodir | --infodir | --infodi | --infod | --info | --inf)
452
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453
infodir=$ac_optarg ;;
455
-libdir | --libdir | --libdi | --libd)
457
-libdir=* | --libdir=* | --libdi=* | --libd=*)
460
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461
| --libexe | --libex | --libe)
462
ac_prev=libexecdir ;;
463
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464
| --libexe=* | --libex=* | --libe=*)
465
libexecdir=$ac_optarg ;;
467
-localstatedir | --localstatedir | --localstatedi | --localstated \
468
| --localstate | --localstat | --localsta | --localst \
469
| --locals | --local | --loca | --loc | --lo)
470
ac_prev=localstatedir ;;
471
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
473
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474
localstatedir=$ac_optarg ;;
476
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482
# Obsolete; use --without-fp.
485
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
486
| --no-cr | --no-c | -n)
489
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
490
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495
| --oldin | --oldi | --old | --ol | --o)
496
ac_prev=oldincludedir ;;
497
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500
oldincludedir=$ac_optarg ;;
502
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507
-program-prefix | --program-prefix | --program-prefi | --program-pref \
508
| --program-pre | --program-pr | --program-p)
509
ac_prev=program_prefix ;;
510
-program-prefix=* | --program-prefix=* | --program-prefi=* \
511
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512
program_prefix=$ac_optarg ;;
514
-program-suffix | --program-suffix | --program-suffi | --program-suff \
515
| --program-suf | --program-su | --program-s)
516
ac_prev=program_suffix ;;
517
-program-suffix=* | --program-suffix=* | --program-suffi=* \
518
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519
program_suffix=$ac_optarg ;;
521
-program-transform-name | --program-transform-name \
522
| --program-transform-nam | --program-transform-na \
523
| --program-transform-n | --program-transform- \
524
| --program-transform | --program-transfor \
525
| --program-transfo | --program-transf \
526
| --program-trans | --program-tran \
527
| --progr-tra | --program-tr | --program-t)
528
ac_prev=program_transform_name ;;
529
-program-transform-name=* | --program-transform-name=* \
530
| --program-transform-nam=* | --program-transform-na=* \
531
| --program-transform-n=* | --program-transform-=* \
532
| --program-transform=* | --program-transfor=* \
533
| --program-transfo=* | --program-transf=* \
534
| --program-trans=* | --program-tran=* \
535
| --progr-tra=* | --program-tr=* | --program-t=*)
536
program_transform_name=$ac_optarg ;;
538
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
539
| -silent | --silent | --silen | --sile | --sil)
542
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546
sbindir=$ac_optarg ;;
548
-sharedstatedir | --sharedstatedir | --sharedstatedi \
549
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550
| --sharedst | --shareds | --shared | --share | --shar \
552
ac_prev=sharedstatedir ;;
553
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557
sharedstatedir=$ac_optarg ;;
559
-site | --site | --sit)
561
-site=* | --site=* | --sit=*)
564
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570
| --syscon | --sysco | --sysc | --sys | --sy)
571
ac_prev=sysconfdir ;;
572
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574
sysconfdir=$ac_optarg ;;
576
-target | --target | --targe | --targ | --tar | --ta | --t)
577
ac_prev=target_alias ;;
578
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579
target_alias=$ac_optarg ;;
581
-v | -verbose | --verbose | --verbos | --verbo | --verb)
584
-version | --version | --versio | --versi | --vers | -V)
588
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589
# Reject names that are not valid shell variable names.
590
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591
{ echo "$as_me: error: invalid package name: $ac_package" >&2
592
{ (exit 1); exit 1; }; }
593
ac_package=`echo $ac_package| sed 's/-/_/g'`
595
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598
eval "with_$ac_package='$ac_optarg'" ;;
600
-without-* | --without-*)
601
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602
# Reject names that are not valid shell variable names.
603
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604
{ echo "$as_me: error: invalid package name: $ac_package" >&2
605
{ (exit 1); exit 1; }; }
606
ac_package=`echo $ac_package | sed 's/-/_/g'`
607
eval "with_$ac_package=no" ;;
610
# Obsolete; use --with-x.
613
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614
| --x-incl | --x-inc | --x-in | --x-i)
615
ac_prev=x_includes ;;
616
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618
x_includes=$ac_optarg ;;
620
-x-libraries | --x-libraries | --x-librarie | --x-librari \
621
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622
ac_prev=x_libraries ;;
623
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625
x_libraries=$ac_optarg ;;
627
-*) { echo "$as_me: error: unrecognized option: $ac_option
628
Try \`$0 --help' for more information." >&2
629
{ (exit 1); exit 1; }; }
633
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634
# Reject names that are not valid shell variable names.
635
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637
{ (exit 1); exit 1; }; }
638
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639
eval "$ac_envvar='$ac_optarg'"
643
# FIXME: should be removed in autoconf 3.0.
644
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653
if test -n "$ac_prev"; then
654
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655
{ echo "$as_me: error: missing argument to $ac_option" >&2
656
{ (exit 1); exit 1; }; }
659
# Be sure to have absolute paths.
660
for ac_var in exec_prefix prefix
662
eval ac_val=$`echo $ac_var`
664
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666
{ (exit 1); exit 1; }; };;
670
# Be sure to have absolute paths.
671
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672
localstatedir libdir includedir oldincludedir infodir mandir
674
eval ac_val=$`echo $ac_var`
676
[\\/$]* | ?:[\\/]* ) ;;
677
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678
{ (exit 1); exit 1; }; };;
682
# There might be people who depend on the old broken behavior: `$host'
683
# used to hold the argument of --host etc.
684
# FIXME: To remove some day.
689
# FIXME: To remove some day.
690
if test "x$host_alias" != x; then
691
if test "x$build_alias" = x; then
692
cross_compiling=maybe
693
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694
If a cross compiler is detected then cross compile mode will be used." >&2
695
elif test "x$build_alias" != "x$host_alias"; then
701
test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
test "$silent" = yes && exec 6>/dev/null
706
# Find the source files, if location was not specified.
707
if test -z "$srcdir"; then
708
ac_srcdir_defaulted=yes
709
# Try the directory containing this script, then its parent.
710
ac_confdir=`(dirname "$0") 2>/dev/null ||
711
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712
X"$0" : 'X\(//\)[^/]' \| \
713
X"$0" : 'X\(//\)$' \| \
714
X"$0" : 'X\(/\)' \| \
715
. : '\(.\)' 2>/dev/null ||
717
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
719
/^X\(\/\/\)$/{ s//\1/; q; }
720
/^X\(\/\).*/{ s//\1/; q; }
723
if test ! -r $srcdir/$ac_unique_file; then
727
ac_srcdir_defaulted=no
729
if test ! -r $srcdir/$ac_unique_file; then
730
if test "$ac_srcdir_defaulted" = yes; then
731
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732
{ (exit 1); exit 1; }; }
734
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735
{ (exit 1); exit 1; }; }
738
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740
{ (exit 1); exit 1; }; }
741
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742
ac_env_build_alias_set=${build_alias+set}
743
ac_env_build_alias_value=$build_alias
744
ac_cv_env_build_alias_set=${build_alias+set}
745
ac_cv_env_build_alias_value=$build_alias
746
ac_env_host_alias_set=${host_alias+set}
747
ac_env_host_alias_value=$host_alias
748
ac_cv_env_host_alias_set=${host_alias+set}
749
ac_cv_env_host_alias_value=$host_alias
750
ac_env_target_alias_set=${target_alias+set}
751
ac_env_target_alias_value=$target_alias
752
ac_cv_env_target_alias_set=${target_alias+set}
753
ac_cv_env_target_alias_value=$target_alias
754
ac_env_CC_set=${CC+set}
756
ac_cv_env_CC_set=${CC+set}
757
ac_cv_env_CC_value=$CC
758
ac_env_CFLAGS_set=${CFLAGS+set}
759
ac_env_CFLAGS_value=$CFLAGS
760
ac_cv_env_CFLAGS_set=${CFLAGS+set}
761
ac_cv_env_CFLAGS_value=$CFLAGS
762
ac_env_LDFLAGS_set=${LDFLAGS+set}
763
ac_env_LDFLAGS_value=$LDFLAGS
764
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765
ac_cv_env_LDFLAGS_value=$LDFLAGS
766
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767
ac_env_CPPFLAGS_value=$CPPFLAGS
768
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770
ac_env_CPP_set=${CPP+set}
771
ac_env_CPP_value=$CPP
772
ac_cv_env_CPP_set=${CPP+set}
773
ac_cv_env_CPP_value=$CPP
776
# Report the --help message.
778
if test "$ac_init_help" = "long"; then
779
# Omit some internal or obsolete options to make the list less imposing.
780
# This message is too long to be a string in the A/UX 3.1 sh.
782
\`configure' configures this package to adapt to many kinds of systems.
784
Usage: $0 [OPTION]... [VAR=VALUE]...
786
To assign environment variables (e.g., CC, CFLAGS...), specify them as
787
VAR=VALUE. See below for descriptions of some of the useful variables.
789
Defaults for the options are specified in brackets.
792
-h, --help display this help and exit
793
--help=short display options specific to this package
794
--help=recursive display the short help of all the included packages
795
-V, --version display version information and exit
796
-q, --quiet, --silent do not print \`checking...' messages
797
--cache-file=FILE cache test results in FILE [disabled]
798
-C, --config-cache alias for \`--cache-file=config.cache'
799
-n, --no-create do not create output files
800
--srcdir=DIR find the sources in DIR [configure dir or \`..']
805
Installation directories:
806
--prefix=PREFIX install architecture-independent files in PREFIX
808
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811
By default, \`make install' will install all the files in
812
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814
for instance \`--prefix=\$HOME'.
816
For better control, use the options below.
818
Fine tuning of the installation directories:
819
--bindir=DIR user executables [EPREFIX/bin]
820
--sbindir=DIR system admin executables [EPREFIX/sbin]
821
--libexecdir=DIR program executables [EPREFIX/libexec]
822
--datadir=DIR read-only architecture-independent data [PREFIX/share]
823
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
826
--libdir=DIR object code libraries [EPREFIX/lib]
827
--includedir=DIR C header files [PREFIX/include]
828
--oldincludedir=DIR C header files for non-gcc [/usr/include]
829
--infodir=DIR info documentation [PREFIX/info]
830
--mandir=DIR man documentation [PREFIX/man]
836
--program-prefix=PREFIX prepend PREFIX to installed program names
837
--program-suffix=SUFFIX append SUFFIX to installed program names
838
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
841
--build=BUILD configure for building on BUILD [guessed]
842
--host=HOST cross-compile to build programs to run on HOST [BUILD]
846
if test -n "$ac_init_help"; then
851
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
852
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
853
--disable-dependency-tracking speeds up one-time build
854
--enable-dependency-tracking do not reject slow dependency extractors
855
--disable-slp Disable SLP support
856
--disable-nls do not use Native Language Support
857
--disable-rpath do not hardcode runtime library paths
860
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
861
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
862
--with-dmalloc use dmalloc, as in
863
http://www.dmalloc.com/dmalloc.tar.gz
864
--with-efence use ElectricFence 2.05
865
--with-gnu-ld assume the C compiler uses GNU ld default=no
866
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
867
--without-libiconv-prefix don't search for libiconv in includedir and libdir
868
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
869
--without-libintl-prefix don't search for libintl in includedir and libdir
871
Some influential environment variables:
872
CC C compiler command
873
CFLAGS C compiler flags
874
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
875
nonstandard directory <lib dir>
876
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
877
headers in a nonstandard directory <include dir>
880
Use these variables to override the choices made by `configure' or to help
881
it to find libraries and programs with nonstandard names/locations.
886
if test "$ac_init_help" = "recursive"; then
887
# If there are subdirs, report their specific --help.
889
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
890
test -d $ac_dir || continue
893
if test "$ac_dir" != .; then
894
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
895
# A "../" for each directory in $ac_dir_suffix.
896
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
898
ac_dir_suffix= ac_top_builddir=
902
.) # No --srcdir option. We are building in place.
904
if test -z "$ac_top_builddir"; then
907
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
909
[\\/]* | ?:[\\/]* ) # Absolute path.
910
ac_srcdir=$srcdir$ac_dir_suffix;
911
ac_top_srcdir=$srcdir ;;
913
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
914
ac_top_srcdir=$ac_top_builddir$srcdir ;;
917
# Do not use `cd foo && pwd` to compute absolute paths, because
918
# the directories may not exist.
920
.) ac_abs_builddir="$ac_dir";;
923
.) ac_abs_builddir=`pwd`;;
924
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
925
*) ac_abs_builddir=`pwd`/"$ac_dir";;
928
case $ac_abs_builddir in
929
.) ac_abs_top_builddir=${ac_top_builddir}.;;
931
case ${ac_top_builddir}. in
932
.) ac_abs_top_builddir=$ac_abs_builddir;;
933
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
934
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937
case $ac_abs_builddir in
938
.) ac_abs_srcdir=$ac_srcdir;;
941
.) ac_abs_srcdir=$ac_abs_builddir;;
942
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
943
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946
case $ac_abs_builddir in
947
.) ac_abs_top_srcdir=$ac_top_srcdir;;
949
case $ac_top_srcdir in
950
.) ac_abs_top_srcdir=$ac_abs_builddir;;
951
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
952
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
957
# Check for guested configure; otherwise get Cygnus style configure.
958
if test -f $ac_srcdir/configure.gnu; then
960
$SHELL $ac_srcdir/configure.gnu --help=recursive
961
elif test -f $ac_srcdir/configure; then
963
$SHELL $ac_srcdir/configure --help=recursive
964
elif test -f $ac_srcdir/configure.ac ||
965
test -f $ac_srcdir/configure.in; then
969
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
975
test -n "$ac_init_help" && exit 0
976
if $ac_init_version; then
979
Copyright (C) 2003 Free Software Foundation, Inc.
980
This configure script is free software; the Free Software Foundation
981
gives unlimited permission to copy, distribute and modify it.
987
This file contains any messages produced by compilers while
988
running configure, to aid debugging if configure makes a mistake.
990
It was created by $as_me, which was
991
generated by GNU Autoconf 2.59. Invocation command line was
1002
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1003
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1004
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1005
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1006
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1008
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1009
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1011
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1012
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1013
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1014
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1015
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1016
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1017
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1021
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025
test -z "$as_dir" && as_dir=.
1026
echo "PATH: $as_dir"
1041
# Keep a trace of the command line.
1042
# Strip out --no-create and --no-recursion so they do not pile up.
1043
# Strip out --silent because we don't want to record it for future runs.
1044
# Also quote any args containing shell meta-characters.
1045
# Make two passes to allow for proper duplicate-argument suppression.
1050
ac_must_keep_next=false
1056
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1057
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1058
| -silent | --silent | --silen | --sile | --sil)
1060
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1061
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1064
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1066
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1067
if test $ac_must_keep_next = true; then
1068
ac_must_keep_next=false # Got value, back to normal.
1071
*=* | --config-cache | -C | -disable-* | --disable-* \
1072
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1073
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1074
| -with-* | --with-* | -without-* | --without-* | --x)
1075
case "$ac_configure_args0 " in
1076
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1079
-* ) ac_must_keep_next=true ;;
1082
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1083
# Get rid of the leading space.
1089
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1090
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1092
# When interrupted or exit'd, cleanup temporary files, and complete
1093
# config.log. We remove comments because anyway the quotes in there
1094
# would cause problems or look ugly.
1095
# WARNING: Be sure not to use single quotes in there, as some shells,
1096
# such as our DU 5.0 friend, will then `close' the trap.
1097
trap 'exit_status=$?
1098
# Save into config.log some information that might help in debugging.
1103
## ---------------- ##
1104
## Cache variables. ##
1105
## ---------------- ##
1108
# The following way of writing the cache mishandles newlines in values,
1111
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1114
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1115
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1119
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126
## ----------------- ##
1127
## Output variables. ##
1128
## ----------------- ##
1131
for ac_var in $ac_subst_vars
1133
eval ac_val=$`echo $ac_var`
1134
echo "$ac_var='"'"'$ac_val'"'"'"
1138
if test -n "$ac_subst_files"; then
1145
for ac_var in $ac_subst_files
1147
eval ac_val=$`echo $ac_var`
1148
echo "$ac_var='"'"'$ac_val'"'"'"
1153
if test -s confdefs.h; then
1160
sed "/^$/d" confdefs.h | sort
1163
test "$ac_signal" != 0 &&
1164
echo "$as_me: caught signal $ac_signal"
1165
echo "$as_me: exit $exit_status"
1167
rm -f core *.core &&
1168
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1171
for ac_signal in 1 2 13 15; do
1172
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1177
rm -rf conftest* confdefs.h
1178
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1181
# Predefined preprocessor variables.
1183
cat >>confdefs.h <<_ACEOF
1184
#define PACKAGE_NAME "$PACKAGE_NAME"
1188
cat >>confdefs.h <<_ACEOF
1189
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193
cat >>confdefs.h <<_ACEOF
1194
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1198
cat >>confdefs.h <<_ACEOF
1199
#define PACKAGE_STRING "$PACKAGE_STRING"
1203
cat >>confdefs.h <<_ACEOF
1204
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208
# Let the site file select an alternate cache file if it wants to.
1209
# Prefer explicitly selected file to automatically selected ones.
1210
if test -z "$CONFIG_SITE"; then
1211
if test "x$prefix" != xNONE; then
1212
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1214
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1217
for ac_site_file in $CONFIG_SITE; do
1218
if test -r "$ac_site_file"; then
1219
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1220
echo "$as_me: loading site script $ac_site_file" >&6;}
1221
sed 's/^/| /' "$ac_site_file" >&5
1226
if test -r "$cache_file"; then
1227
# Some versions of bash will fail to source /dev/null (special
1228
# files actually), so we avoid doing that.
1229
if test -f "$cache_file"; then
1230
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1231
echo "$as_me: loading cache $cache_file" >&6;}
1233
[\\/]* | ?:[\\/]* ) . $cache_file;;
1234
*) . ./$cache_file;;
1238
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1239
echo "$as_me: creating cache $cache_file" >&6;}
1243
# Check that the precious variables saved in the cache have kept the same
1245
ac_cache_corrupted=false
1246
for ac_var in `(set) 2>&1 |
1247
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1248
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1249
eval ac_new_set=\$ac_env_${ac_var}_set
1250
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1251
eval ac_new_val="\$ac_env_${ac_var}_value"
1252
case $ac_old_set,$ac_new_set in
1254
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1255
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1256
ac_cache_corrupted=: ;;
1258
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1259
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1260
ac_cache_corrupted=: ;;
1263
if test "x$ac_old_val" != "x$ac_new_val"; then
1264
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1265
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1266
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1267
echo "$as_me: former value: $ac_old_val" >&2;}
1268
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1269
echo "$as_me: current value: $ac_new_val" >&2;}
1270
ac_cache_corrupted=:
1273
# Pass precious variables to config.status.
1274
if test "$ac_new_set" = set; then
1276
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1278
*) ac_arg=$ac_var=$ac_new_val ;;
1280
case " $ac_configure_args " in
1281
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1282
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286
if $ac_cache_corrupted; then
1287
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1288
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1289
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1290
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1291
{ (exit 1); exit 1; }; }
1295
ac_cpp='$CPP $CPPFLAGS'
1296
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1297
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1298
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1318
am__api_version="1.9"
1320
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1321
if test -f $ac_dir/install-sh; then
1323
ac_install_sh="$ac_aux_dir/install-sh -c"
1325
elif test -f $ac_dir/install.sh; then
1327
ac_install_sh="$ac_aux_dir/install.sh -c"
1329
elif test -f $ac_dir/shtool; then
1331
ac_install_sh="$ac_aux_dir/shtool install -c"
1335
if test -z "$ac_aux_dir"; then
1336
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1337
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1338
{ (exit 1); exit 1; }; }
1340
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1341
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1342
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1344
# Find a good install program. We prefer a C program (faster),
1345
# so one script is as good as another. But avoid the broken or
1346
# incompatible versions:
1347
# SysV /etc/install, /usr/sbin/install
1348
# SunOS /usr/etc/install
1349
# IRIX /sbin/install
1351
# AmigaOS /C/install, which installs bootblocks on floppy discs
1352
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1353
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1354
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1355
# OS/2's system install, which has a completely different semantic
1356
# ./install, which can be erroneously created by make from ./install.sh.
1357
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1358
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1359
if test -z "$INSTALL"; then
1360
if test "${ac_cv_path_install+set}" = set; then
1361
echo $ECHO_N "(cached) $ECHO_C" >&6
1363
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1367
test -z "$as_dir" && as_dir=.
1368
# Account for people who put trailing slashes in PATH elements.
1370
./ | .// | /cC/* | \
1371
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1372
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1375
# OSF1 and SCO ODT 3.0 have their own names for install.
1376
# Don't use installbsd from OSF since it installs stuff as root
1378
for ac_prog in ginstall scoinst install; do
1379
for ac_exec_ext in '' $ac_executable_extensions; do
1380
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1381
if test $ac_prog = install &&
1382
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1383
# AIX install. It has an incompatible calling convention.
1385
elif test $ac_prog = install &&
1386
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1387
# program-specific install script used by HP pwplus--don't use.
1390
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1402
if test "${ac_cv_path_install+set}" = set; then
1403
INSTALL=$ac_cv_path_install
1405
# As a last resort, use the slow shell script. We don't cache a
1406
# path for INSTALL within a source directory, because that will
1407
# break other packages using the cache if that directory is
1408
# removed, or if the path is relative.
1409
INSTALL=$ac_install_sh
1412
echo "$as_me:$LINENO: result: $INSTALL" >&5
1413
echo "${ECHO_T}$INSTALL" >&6
1415
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1416
# It thinks the first close brace ends the variable substitution.
1417
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1419
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1421
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1423
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1424
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1427
echo timestamp > conftest.file
1428
# Do `set' in a subshell so we don't clobber the current shell's
1429
# arguments. Must try -L first in case configure is actually a
1430
# symlink; some systems play weird games with the mod time of symlinks
1431
# (eg FreeBSD returns the mod time of the symlink's containing
1434
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1435
if test "$*" = "X"; then
1437
set X `ls -t $srcdir/configure conftest.file`
1440
if test "$*" != "X $srcdir/configure conftest.file" \
1441
&& test "$*" != "X conftest.file $srcdir/configure"; then
1443
# If neither matched, then we have a broken ls. This can happen
1444
# if, for instance, CONFIG_SHELL is bash and it inherits a
1445
# broken ls alias from the environment. This has actually
1446
# happened. Such a system could not be considered "sane".
1447
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1448
alias in your environment" >&5
1449
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1450
alias in your environment" >&2;}
1451
{ (exit 1); exit 1; }; }
1454
test "$2" = conftest.file
1460
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1461
Check your system clock" >&5
1462
echo "$as_me: error: newly created file is older than distributed files!
1463
Check your system clock" >&2;}
1464
{ (exit 1); exit 1; }; }
1466
echo "$as_me:$LINENO: result: yes" >&5
1467
echo "${ECHO_T}yes" >&6
1468
test "$program_prefix" != NONE &&
1469
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1470
# Use a double $ so make ignores it.
1471
test "$program_suffix" != NONE &&
1472
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1473
# Double any \ or $. echo might interpret backslashes.
1474
# By default was `s,x,x', remove it if useless.
1475
cat <<\_ACEOF >conftest.sed
1476
s/[\\$]/&&/g;s/;s,x,x,$//
1478
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1481
# expand $ac_aux_dir to an absolute path
1482
am_aux_dir=`cd $ac_aux_dir && pwd`
1484
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1485
# Use eval to expand $SHELL
1486
if eval "$MISSING --run true"; then
1487
am_missing_run="$MISSING --run "
1490
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1491
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1494
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1495
# We used to keeping the `.' as first argument, in order to
1496
# allow $(mkdir_p) to be used without argument. As in
1497
# $(mkdir_p) $(somedir)
1498
# where $(somedir) is conditionally defined. However this is wrong
1500
# 1. if the package is installed by a user who cannot write `.'
1501
# make install will fail,
1502
# 2. the above comment should most certainly read
1503
# $(mkdir_p) $(DESTDIR)$(somedir)
1504
# so it does not work when $(somedir) is undefined and
1505
# $(DESTDIR) is not.
1506
# To support the latter case, we have to write
1507
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1508
# so the `.' trick is pointless.
1509
mkdir_p='mkdir -p --'
1511
# On NextStep and OpenStep, the `mkdir' command does not
1512
# recognize any option. It will interpret all options as
1513
# directories to create, and then abort because `.' already
1515
for d in ./-p ./--version;
1517
test -d $d && rmdir $d
1519
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1520
if test -f "$ac_aux_dir/mkinstalldirs"; then
1521
mkdir_p='$(mkinstalldirs)'
1523
mkdir_p='$(install_sh) -d'
1527
for ac_prog in gawk mawk nawk awk
1529
# Extract the first word of "$ac_prog", so it can be a program name with args.
1530
set dummy $ac_prog; ac_word=$2
1531
echo "$as_me:$LINENO: checking for $ac_word" >&5
1532
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1533
if test "${ac_cv_prog_AWK+set}" = set; then
1534
echo $ECHO_N "(cached) $ECHO_C" >&6
1536
if test -n "$AWK"; then
1537
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1539
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543
test -z "$as_dir" && as_dir=.
1544
for ac_exec_ext in '' $ac_executable_extensions; do
1545
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1546
ac_cv_prog_AWK="$ac_prog"
1547
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1556
if test -n "$AWK"; then
1557
echo "$as_me:$LINENO: result: $AWK" >&5
1558
echo "${ECHO_T}$AWK" >&6
1560
echo "$as_me:$LINENO: result: no" >&5
1561
echo "${ECHO_T}no" >&6
1564
test -n "$AWK" && break
1567
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1568
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1569
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1570
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1571
echo $ECHO_N "(cached) $ECHO_C" >&6
1573
cat >conftest.make <<\_ACEOF
1575
@echo 'ac_maketemp="$(MAKE)"'
1577
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1578
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1579
if test -n "$ac_maketemp"; then
1580
eval ac_cv_prog_make_${ac_make}_set=yes
1582
eval ac_cv_prog_make_${ac_make}_set=no
1586
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1587
echo "$as_me:$LINENO: result: yes" >&5
1588
echo "${ECHO_T}yes" >&6
1591
echo "$as_me:$LINENO: result: no" >&5
1592
echo "${ECHO_T}no" >&6
1593
SET_MAKE="MAKE=${MAKE-make}"
1596
rm -rf .tst 2>/dev/null
1597
mkdir .tst 2>/dev/null
1598
if test -d .tst; then
1603
rmdir .tst 2>/dev/null
1605
# test to see if srcdir already configured
1606
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1607
test -f $srcdir/config.status; then
1608
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1609
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1610
{ (exit 1); exit 1; }; }
1613
# test whether we have cygpath
1614
if test -z "$CYGPATH_W"; then
1615
if (cygpath --version) >/dev/null 2>/dev/null; then
1616
CYGPATH_W='cygpath -w'
1623
# Define the identity of the package.
1628
cat >>confdefs.h <<_ACEOF
1629
#define PACKAGE "$PACKAGE"
1633
cat >>confdefs.h <<_ACEOF
1634
#define VERSION "$VERSION"
1637
# Some tools Automake needs.
1639
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1642
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1645
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1648
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1651
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1653
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1655
# Installed binaries are usually stripped using `strip' when the user
1656
# run `make install-strip'. However `strip' might not be the right
1657
# tool to use in cross-compilation environments, therefore Automake
1658
# will honor the `STRIP' environment variable to overrule this program.
1659
if test "$cross_compiling" != no; then
1660
if test -n "$ac_tool_prefix"; then
1661
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1662
set dummy ${ac_tool_prefix}strip; ac_word=$2
1663
echo "$as_me:$LINENO: checking for $ac_word" >&5
1664
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1665
if test "${ac_cv_prog_STRIP+set}" = set; then
1666
echo $ECHO_N "(cached) $ECHO_C" >&6
1668
if test -n "$STRIP"; then
1669
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1671
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1675
test -z "$as_dir" && as_dir=.
1676
for ac_exec_ext in '' $ac_executable_extensions; do
1677
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1678
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1679
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1687
STRIP=$ac_cv_prog_STRIP
1688
if test -n "$STRIP"; then
1689
echo "$as_me:$LINENO: result: $STRIP" >&5
1690
echo "${ECHO_T}$STRIP" >&6
1692
echo "$as_me:$LINENO: result: no" >&5
1693
echo "${ECHO_T}no" >&6
1697
if test -z "$ac_cv_prog_STRIP"; then
1699
# Extract the first word of "strip", so it can be a program name with args.
1700
set dummy strip; ac_word=$2
1701
echo "$as_me:$LINENO: checking for $ac_word" >&5
1702
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1704
echo $ECHO_N "(cached) $ECHO_C" >&6
1706
if test -n "$ac_ct_STRIP"; then
1707
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1709
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713
test -z "$as_dir" && as_dir=.
1714
for ac_exec_ext in '' $ac_executable_extensions; do
1715
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1716
ac_cv_prog_ac_ct_STRIP="strip"
1717
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1726
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1727
if test -n "$ac_ct_STRIP"; then
1728
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1729
echo "${ECHO_T}$ac_ct_STRIP" >&6
1731
echo "$as_me:$LINENO: result: no" >&5
1732
echo "${ECHO_T}no" >&6
1737
STRIP="$ac_cv_prog_STRIP"
1741
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1743
# We need awk for the "check" target. The system "awk" is bad on
1745
# Always define AMTAR for backward compatibility.
1747
AMTAR=${AMTAR-"${am_missing_run}tar"}
1749
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1755
ac_config_headers="$ac_config_headers config.h"
1764
# Make sure we can run config.sub.
1765
$ac_config_sub sun4 >/dev/null 2>&1 ||
1766
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1767
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1768
{ (exit 1); exit 1; }; }
1770
echo "$as_me:$LINENO: checking build system type" >&5
1771
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1772
if test "${ac_cv_build+set}" = set; then
1773
echo $ECHO_N "(cached) $ECHO_C" >&6
1775
ac_cv_build_alias=$build_alias
1776
test -z "$ac_cv_build_alias" &&
1777
ac_cv_build_alias=`$ac_config_guess`
1778
test -z "$ac_cv_build_alias" &&
1779
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1780
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1781
{ (exit 1); exit 1; }; }
1782
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1783
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1784
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1785
{ (exit 1); exit 1; }; }
1788
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1789
echo "${ECHO_T}$ac_cv_build" >&6
1791
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1792
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1793
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1796
echo "$as_me:$LINENO: checking host system type" >&5
1797
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1798
if test "${ac_cv_host+set}" = set; then
1799
echo $ECHO_N "(cached) $ECHO_C" >&6
1801
ac_cv_host_alias=$host_alias
1802
test -z "$ac_cv_host_alias" &&
1803
ac_cv_host_alias=$ac_cv_build_alias
1804
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1805
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1806
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1807
{ (exit 1); exit 1; }; }
1810
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1811
echo "${ECHO_T}$ac_cv_host" >&6
1813
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1814
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1815
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1821
ac_cpp='$CPP $CPPFLAGS'
1822
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1823
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1824
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1825
if test -n "$ac_tool_prefix"; then
1826
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1827
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1828
echo "$as_me:$LINENO: checking for $ac_word" >&5
1829
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830
if test "${ac_cv_prog_CC+set}" = set; then
1831
echo $ECHO_N "(cached) $ECHO_C" >&6
1833
if test -n "$CC"; then
1834
ac_cv_prog_CC="$CC" # Let the user override the test.
1836
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840
test -z "$as_dir" && as_dir=.
1841
for ac_exec_ext in '' $ac_executable_extensions; do
1842
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1844
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853
if test -n "$CC"; then
1854
echo "$as_me:$LINENO: result: $CC" >&5
1855
echo "${ECHO_T}$CC" >&6
1857
echo "$as_me:$LINENO: result: no" >&5
1858
echo "${ECHO_T}no" >&6
1862
if test -z "$ac_cv_prog_CC"; then
1864
# Extract the first word of "gcc", so it can be a program name with args.
1865
set dummy gcc; ac_word=$2
1866
echo "$as_me:$LINENO: checking for $ac_word" >&5
1867
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1868
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1869
echo $ECHO_N "(cached) $ECHO_C" >&6
1871
if test -n "$ac_ct_CC"; then
1872
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1874
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878
test -z "$as_dir" && as_dir=.
1879
for ac_exec_ext in '' $ac_executable_extensions; do
1880
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1881
ac_cv_prog_ac_ct_CC="gcc"
1882
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1890
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1891
if test -n "$ac_ct_CC"; then
1892
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1893
echo "${ECHO_T}$ac_ct_CC" >&6
1895
echo "$as_me:$LINENO: result: no" >&5
1896
echo "${ECHO_T}no" >&6
1904
if test -z "$CC"; then
1905
if test -n "$ac_tool_prefix"; then
1906
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1907
set dummy ${ac_tool_prefix}cc; ac_word=$2
1908
echo "$as_me:$LINENO: checking for $ac_word" >&5
1909
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1910
if test "${ac_cv_prog_CC+set}" = set; then
1911
echo $ECHO_N "(cached) $ECHO_C" >&6
1913
if test -n "$CC"; then
1914
ac_cv_prog_CC="$CC" # Let the user override the test.
1916
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1920
test -z "$as_dir" && as_dir=.
1921
for ac_exec_ext in '' $ac_executable_extensions; do
1922
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1923
ac_cv_prog_CC="${ac_tool_prefix}cc"
1924
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1933
if test -n "$CC"; then
1934
echo "$as_me:$LINENO: result: $CC" >&5
1935
echo "${ECHO_T}$CC" >&6
1937
echo "$as_me:$LINENO: result: no" >&5
1938
echo "${ECHO_T}no" >&6
1942
if test -z "$ac_cv_prog_CC"; then
1944
# Extract the first word of "cc", so it can be a program name with args.
1945
set dummy cc; ac_word=$2
1946
echo "$as_me:$LINENO: checking for $ac_word" >&5
1947
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1948
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1949
echo $ECHO_N "(cached) $ECHO_C" >&6
1951
if test -n "$ac_ct_CC"; then
1952
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1954
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958
test -z "$as_dir" && as_dir=.
1959
for ac_exec_ext in '' $ac_executable_extensions; do
1960
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961
ac_cv_prog_ac_ct_CC="cc"
1962
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1970
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1971
if test -n "$ac_ct_CC"; then
1972
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1973
echo "${ECHO_T}$ac_ct_CC" >&6
1975
echo "$as_me:$LINENO: result: no" >&5
1976
echo "${ECHO_T}no" >&6
1985
if test -z "$CC"; then
1986
# Extract the first word of "cc", so it can be a program name with args.
1987
set dummy cc; ac_word=$2
1988
echo "$as_me:$LINENO: checking for $ac_word" >&5
1989
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1990
if test "${ac_cv_prog_CC+set}" = set; then
1991
echo $ECHO_N "(cached) $ECHO_C" >&6
1993
if test -n "$CC"; then
1994
ac_cv_prog_CC="$CC" # Let the user override the test.
1997
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001
test -z "$as_dir" && as_dir=.
2002
for ac_exec_ext in '' $ac_executable_extensions; do
2003
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2004
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2005
ac_prog_rejected=yes
2009
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2015
if test $ac_prog_rejected = yes; then
2016
# We found a bogon in the path, so make sure we never use it.
2017
set dummy $ac_cv_prog_CC
2019
if test $# != 0; then
2020
# We chose a different compiler from the bogus one.
2021
# However, it has the same basename, so the bogon will be chosen
2022
# first if we set CC to just the basename; use the full file name.
2024
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2030
if test -n "$CC"; then
2031
echo "$as_me:$LINENO: result: $CC" >&5
2032
echo "${ECHO_T}$CC" >&6
2034
echo "$as_me:$LINENO: result: no" >&5
2035
echo "${ECHO_T}no" >&6
2039
if test -z "$CC"; then
2040
if test -n "$ac_tool_prefix"; then
2043
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2044
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2045
echo "$as_me:$LINENO: checking for $ac_word" >&5
2046
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2047
if test "${ac_cv_prog_CC+set}" = set; then
2048
echo $ECHO_N "(cached) $ECHO_C" >&6
2050
if test -n "$CC"; then
2051
ac_cv_prog_CC="$CC" # Let the user override the test.
2053
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057
test -z "$as_dir" && as_dir=.
2058
for ac_exec_ext in '' $ac_executable_extensions; do
2059
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2060
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2061
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2070
if test -n "$CC"; then
2071
echo "$as_me:$LINENO: result: $CC" >&5
2072
echo "${ECHO_T}$CC" >&6
2074
echo "$as_me:$LINENO: result: no" >&5
2075
echo "${ECHO_T}no" >&6
2078
test -n "$CC" && break
2081
if test -z "$CC"; then
2085
# Extract the first word of "$ac_prog", so it can be a program name with args.
2086
set dummy $ac_prog; ac_word=$2
2087
echo "$as_me:$LINENO: checking for $ac_word" >&5
2088
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2089
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2090
echo $ECHO_N "(cached) $ECHO_C" >&6
2092
if test -n "$ac_ct_CC"; then
2093
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2095
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099
test -z "$as_dir" && as_dir=.
2100
for ac_exec_ext in '' $ac_executable_extensions; do
2101
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2102
ac_cv_prog_ac_ct_CC="$ac_prog"
2103
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2112
if test -n "$ac_ct_CC"; then
2113
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2114
echo "${ECHO_T}$ac_ct_CC" >&6
2116
echo "$as_me:$LINENO: result: no" >&5
2117
echo "${ECHO_T}no" >&6
2120
test -n "$ac_ct_CC" && break
2129
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2130
See \`config.log' for more details." >&5
2131
echo "$as_me: error: no acceptable C compiler found in \$PATH
2132
See \`config.log' for more details." >&2;}
2133
{ (exit 1); exit 1; }; }
2135
# Provide some information about the compiler.
2136
echo "$as_me:$LINENO:" \
2137
"checking for C compiler version" >&5
2138
ac_compiler=`set X $ac_compile; echo $2`
2139
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2140
(eval $ac_compiler --version </dev/null >&5) 2>&5
2142
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143
(exit $ac_status); }
2144
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2145
(eval $ac_compiler -v </dev/null >&5) 2>&5
2147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148
(exit $ac_status); }
2149
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2150
(eval $ac_compiler -V </dev/null >&5) 2>&5
2152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153
(exit $ac_status); }
2155
cat >conftest.$ac_ext <<_ACEOF
2158
cat confdefs.h >>conftest.$ac_ext
2159
cat >>conftest.$ac_ext <<_ACEOF
2160
/* end confdefs.h. */
2170
ac_clean_files_save=$ac_clean_files
2171
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2172
# Try to create an executable without -o first, disregard a.out.
2173
# It will help us diagnose broken compilers, and finding out an intuition
2175
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2176
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2177
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2178
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2179
(eval $ac_link_default) 2>&5
2181
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182
(exit $ac_status); }; then
2183
# Find the output, starting from the most likely. This scheme is
2184
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2187
# Be careful to initialize this variable, since it used to be cached.
2188
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2190
# b.out is created by i960 compilers.
2191
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2193
test -f "$ac_file" || continue
2195
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2198
# This is the source file.
2201
# We found the default executable, but exeext='' is most
2205
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2206
# FIXME: I believe we export ac_cv_exeext for Libtool,
2207
# but it would be cool to find out if it's true. Does anybody
2208
# maintain Libtool? --akim.
2216
echo "$as_me: failed program was:" >&5
2217
sed 's/^/| /' conftest.$ac_ext >&5
2219
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2220
See \`config.log' for more details." >&5
2221
echo "$as_me: error: C compiler cannot create executables
2222
See \`config.log' for more details." >&2;}
2223
{ (exit 77); exit 77; }; }
2226
ac_exeext=$ac_cv_exeext
2227
echo "$as_me:$LINENO: result: $ac_file" >&5
2228
echo "${ECHO_T}$ac_file" >&6
2230
# Check the compiler produces executables we can run. If not, either
2231
# the compiler is broken, or we cross compile.
2232
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2233
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2234
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2235
# If not cross compiling, check that we can run a simple program.
2236
if test "$cross_compiling" != yes; then
2237
if { ac_try='./$ac_file'
2238
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2241
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242
(exit $ac_status); }; }; then
2245
if test "$cross_compiling" = maybe; then
2248
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2249
If you meant to cross compile, use \`--host'.
2250
See \`config.log' for more details." >&5
2251
echo "$as_me: error: cannot run C compiled programs.
2252
If you meant to cross compile, use \`--host'.
2253
See \`config.log' for more details." >&2;}
2254
{ (exit 1); exit 1; }; }
2258
echo "$as_me:$LINENO: result: yes" >&5
2259
echo "${ECHO_T}yes" >&6
2261
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2262
ac_clean_files=$ac_clean_files_save
2263
# Check the compiler produces executables we can run. If not, either
2264
# the compiler is broken, or we cross compile.
2265
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2266
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2267
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2268
echo "${ECHO_T}$cross_compiling" >&6
2270
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2271
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2272
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2273
(eval $ac_link) 2>&5
2275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276
(exit $ac_status); }; then
2277
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2278
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2279
# work properly (i.e., refer to `conftest.exe'), while it won't with
2281
for ac_file in conftest.exe conftest conftest.*; do
2282
test -f "$ac_file" || continue
2284
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2285
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2292
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2293
See \`config.log' for more details." >&5
2294
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2295
See \`config.log' for more details." >&2;}
2296
{ (exit 1); exit 1; }; }
2299
rm -f conftest$ac_cv_exeext
2300
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2301
echo "${ECHO_T}$ac_cv_exeext" >&6
2303
rm -f conftest.$ac_ext
2304
EXEEXT=$ac_cv_exeext
2306
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2307
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2308
if test "${ac_cv_objext+set}" = set; then
2309
echo $ECHO_N "(cached) $ECHO_C" >&6
2311
cat >conftest.$ac_ext <<_ACEOF
2314
cat confdefs.h >>conftest.$ac_ext
2315
cat >>conftest.$ac_ext <<_ACEOF
2316
/* end confdefs.h. */
2326
rm -f conftest.o conftest.obj
2327
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2328
(eval $ac_compile) 2>&5
2330
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331
(exit $ac_status); }; then
2332
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2334
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2335
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2340
echo "$as_me: failed program was:" >&5
2341
sed 's/^/| /' conftest.$ac_ext >&5
2343
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2344
See \`config.log' for more details." >&5
2345
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2346
See \`config.log' for more details." >&2;}
2347
{ (exit 1); exit 1; }; }
2350
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2352
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2353
echo "${ECHO_T}$ac_cv_objext" >&6
2354
OBJEXT=$ac_cv_objext
2356
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2357
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2358
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2359
echo $ECHO_N "(cached) $ECHO_C" >&6
2361
cat >conftest.$ac_ext <<_ACEOF
2364
cat confdefs.h >>conftest.$ac_ext
2365
cat >>conftest.$ac_ext <<_ACEOF
2366
/* end confdefs.h. */
2379
rm -f conftest.$ac_objext
2380
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2381
(eval $ac_compile) 2>conftest.er1
2383
grep -v '^ *+' conftest.er1 >conftest.err
2385
cat conftest.err >&5
2386
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387
(exit $ac_status); } &&
2388
{ ac_try='test -z "$ac_c_werror_flag"
2389
|| test ! -s conftest.err'
2390
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2393
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394
(exit $ac_status); }; } &&
2395
{ ac_try='test -s conftest.$ac_objext'
2396
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400
(exit $ac_status); }; }; then
2403
echo "$as_me: failed program was:" >&5
2404
sed 's/^/| /' conftest.$ac_ext >&5
2408
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2409
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2412
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2413
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2414
GCC=`test $ac_compiler_gnu = yes && echo yes`
2415
ac_test_CFLAGS=${CFLAGS+set}
2416
ac_save_CFLAGS=$CFLAGS
2418
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2419
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2420
if test "${ac_cv_prog_cc_g+set}" = set; then
2421
echo $ECHO_N "(cached) $ECHO_C" >&6
2423
cat >conftest.$ac_ext <<_ACEOF
2426
cat confdefs.h >>conftest.$ac_ext
2427
cat >>conftest.$ac_ext <<_ACEOF
2428
/* end confdefs.h. */
2438
rm -f conftest.$ac_objext
2439
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2440
(eval $ac_compile) 2>conftest.er1
2442
grep -v '^ *+' conftest.er1 >conftest.err
2444
cat conftest.err >&5
2445
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446
(exit $ac_status); } &&
2447
{ ac_try='test -z "$ac_c_werror_flag"
2448
|| test ! -s conftest.err'
2449
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453
(exit $ac_status); }; } &&
2454
{ ac_try='test -s conftest.$ac_objext'
2455
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459
(exit $ac_status); }; }; then
2462
echo "$as_me: failed program was:" >&5
2463
sed 's/^/| /' conftest.$ac_ext >&5
2467
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2469
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2470
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2471
if test "$ac_test_CFLAGS" = set; then
2472
CFLAGS=$ac_save_CFLAGS
2473
elif test $ac_cv_prog_cc_g = yes; then
2474
if test "$GCC" = yes; then
2480
if test "$GCC" = yes; then
2486
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2487
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2488
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2489
echo $ECHO_N "(cached) $ECHO_C" >&6
2491
ac_cv_prog_cc_stdc=no
2493
cat >conftest.$ac_ext <<_ACEOF
2496
cat confdefs.h >>conftest.$ac_ext
2497
cat >>conftest.$ac_ext <<_ACEOF
2498
/* end confdefs.h. */
2501
#include <sys/types.h>
2502
#include <sys/stat.h>
2503
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2504
struct buf { int x; };
2505
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2506
static char *e (p, i)
2512
static char *f (char * (*g) (char **, int), char **p, ...)
2517
s = g (p, va_arg (v,int));
2522
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2523
function prototypes and stuff, but not '\xHH' hex character constants.
2524
These don't provoke an error unfortunately, instead are silently treated
2525
as 'x'. The following induces an error, until -std1 is added to get
2526
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2527
array size at least. It's necessary to write '\x00'==0 to get something
2528
that's true only with -std1. */
2529
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2531
int test (int i, double x);
2532
struct s1 {int (*f) (int a);};
2533
struct s2 {int (*f) (double a);};
2534
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2540
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2545
# Don't try gcc -ansi; that turns off useful extensions and
2546
# breaks some systems' header files.
2547
# AIX -qlanglvl=ansi
2548
# Ultrix and OSF/1 -std1
2549
# HP-UX 10.20 and later -Ae
2550
# HP-UX older versions -Aa -D_HPUX_SOURCE
2551
# SVR4 -Xc -D__EXTENSIONS__
2552
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2554
CC="$ac_save_CC $ac_arg"
2555
rm -f conftest.$ac_objext
2556
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2557
(eval $ac_compile) 2>conftest.er1
2559
grep -v '^ *+' conftest.er1 >conftest.err
2561
cat conftest.err >&5
2562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563
(exit $ac_status); } &&
2564
{ ac_try='test -z "$ac_c_werror_flag"
2565
|| test ! -s conftest.err'
2566
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570
(exit $ac_status); }; } &&
2571
{ ac_try='test -s conftest.$ac_objext'
2572
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576
(exit $ac_status); }; }; then
2577
ac_cv_prog_cc_stdc=$ac_arg
2580
echo "$as_me: failed program was:" >&5
2581
sed 's/^/| /' conftest.$ac_ext >&5
2584
rm -f conftest.err conftest.$ac_objext
2586
rm -f conftest.$ac_ext conftest.$ac_objext
2591
case "x$ac_cv_prog_cc_stdc" in
2593
echo "$as_me:$LINENO: result: none needed" >&5
2594
echo "${ECHO_T}none needed" >&6 ;;
2596
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2597
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2598
CC="$CC $ac_cv_prog_cc_stdc" ;;
2601
# Some people use a C++ compiler to compile C. Since we use `exit',
2602
# in C++ we need to declare it. In case someone uses the same compiler
2603
# for both compiling C and C++ we need to have the C++ compiler decide
2604
# the declaration of exit, since it's the most demanding environment.
2605
cat >conftest.$ac_ext <<_ACEOF
2610
rm -f conftest.$ac_objext
2611
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612
(eval $ac_compile) 2>conftest.er1
2614
grep -v '^ *+' conftest.er1 >conftest.err
2616
cat conftest.err >&5
2617
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618
(exit $ac_status); } &&
2619
{ ac_try='test -z "$ac_c_werror_flag"
2620
|| test ! -s conftest.err'
2621
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625
(exit $ac_status); }; } &&
2626
{ ac_try='test -s conftest.$ac_objext'
2627
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631
(exit $ac_status); }; }; then
2632
for ac_declaration in \
2634
'extern "C" void std::exit (int) throw (); using std::exit;' \
2635
'extern "C" void std::exit (int); using std::exit;' \
2636
'extern "C" void exit (int) throw ();' \
2637
'extern "C" void exit (int);' \
2640
cat >conftest.$ac_ext <<_ACEOF
2643
cat confdefs.h >>conftest.$ac_ext
2644
cat >>conftest.$ac_ext <<_ACEOF
2645
/* end confdefs.h. */
2656
rm -f conftest.$ac_objext
2657
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2658
(eval $ac_compile) 2>conftest.er1
2660
grep -v '^ *+' conftest.er1 >conftest.err
2662
cat conftest.err >&5
2663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664
(exit $ac_status); } &&
2665
{ ac_try='test -z "$ac_c_werror_flag"
2666
|| test ! -s conftest.err'
2667
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671
(exit $ac_status); }; } &&
2672
{ ac_try='test -s conftest.$ac_objext'
2673
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677
(exit $ac_status); }; }; then
2680
echo "$as_me: failed program was:" >&5
2681
sed 's/^/| /' conftest.$ac_ext >&5
2685
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2686
cat >conftest.$ac_ext <<_ACEOF
2689
cat confdefs.h >>conftest.$ac_ext
2690
cat >>conftest.$ac_ext <<_ACEOF
2691
/* end confdefs.h. */
2701
rm -f conftest.$ac_objext
2702
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2703
(eval $ac_compile) 2>conftest.er1
2705
grep -v '^ *+' conftest.er1 >conftest.err
2707
cat conftest.err >&5
2708
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709
(exit $ac_status); } &&
2710
{ ac_try='test -z "$ac_c_werror_flag"
2711
|| test ! -s conftest.err'
2712
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2715
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716
(exit $ac_status); }; } &&
2717
{ ac_try='test -s conftest.$ac_objext'
2718
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2721
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722
(exit $ac_status); }; }; then
2725
echo "$as_me: failed program was:" >&5
2726
sed 's/^/| /' conftest.$ac_ext >&5
2729
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2732
if test -n "$ac_declaration"; then
2733
echo '#ifdef __cplusplus' >>confdefs.h
2734
echo $ac_declaration >>confdefs.h
2735
echo '#endif' >>confdefs.h
2739
echo "$as_me: failed program was:" >&5
2740
sed 's/^/| /' conftest.$ac_ext >&5
2743
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2745
ac_cpp='$CPP $CPPFLAGS'
2746
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2747
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2748
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2749
DEPDIR="${am__leading_dot}deps"
2751
ac_config_commands="$ac_config_commands depfiles"
2754
am_make=${MAKE-make}
2755
cat > confinc << 'END'
2760
# If we don't find an include directive, just comment out the code.
2761
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2762
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2766
# First try GNU make style include.
2767
echo "include confinc" > confmf
2768
# We grep out `Entering directory' and `Leaving directory'
2769
# messages which can occur if `w' ends up in MAKEFLAGS.
2770
# In particular we don't look at `^make:' because GNU make might
2771
# be invoked under some other name (usually "gmake"), in which
2772
# case it prints its new name instead of `make'.
2773
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2778
# Now try BSD make style include.
2779
if test "$am__include" = "#"; then
2780
echo '.include "confinc"' > confmf
2781
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2782
am__include=.include
2789
echo "$as_me:$LINENO: result: $_am_result" >&5
2790
echo "${ECHO_T}$_am_result" >&6
2791
rm -f confinc confmf
2793
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2794
if test "${enable_dependency_tracking+set}" = set; then
2795
enableval="$enable_dependency_tracking"
2798
if test "x$enable_dependency_tracking" != xno; then
2799
am_depcomp="$ac_aux_dir/depcomp"
2804
if test "x$enable_dependency_tracking" != xno; then
2815
depcc="$CC" am_compiler_list=
2817
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2818
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2819
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2820
echo $ECHO_N "(cached) $ECHO_C" >&6
2822
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2823
# We make a subdir and do the tests there. Otherwise we can end up
2824
# making bogus files that we don't know about and never remove. For
2825
# instance it was reported that on HP-UX the gcc test will end up
2826
# making a dummy file named `D' -- because `-MD' means `put the output
2829
# Copy depcomp to subdir because otherwise we won't find it if we're
2830
# using a relative directory.
2831
cp "$am_depcomp" conftest.dir
2833
# We will build objects and dependencies in a subdirectory because
2834
# it helps to detect inapplicable dependency modes. For instance
2835
# both Tru64's cc and ICC support -MD to output dependencies as a
2836
# side effect of compilation, but ICC will put the dependencies in
2837
# the current directory while Tru64 will put them in the object
2841
am_cv_CC_dependencies_compiler_type=none
2842
if test "$am_compiler_list" = ""; then
2843
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2845
for depmode in $am_compiler_list; do
2846
# Setup a source with many dependencies, because some compilers
2847
# like to wrap large dependency lists on column 80 (with \), and
2848
# we should not choose a depcomp mode which is confused by this.
2850
# We need to recreate these files for each test, as the compiler may
2851
# overwrite some of them when testing with obscure command lines.
2852
# This happens at least with the AIX C compiler.
2854
for i in 1 2 3 4 5 6; do
2855
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2856
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2857
# Solaris 8's {/usr,}/bin/sh.
2858
touch sub/conftst$i.h
2860
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2864
# after this tag, mechanisms are not by side-effect, so they'll
2865
# only be used when explicitly requested
2866
if test "x$enable_dependency_tracking" = xyes; then
2874
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2875
# mode. It turns out that the SunPro C++ compiler does not properly
2876
# handle `-M -o', and we need to detect this.
2877
if depmode=$depmode \
2878
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2879
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2880
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2881
>/dev/null 2>conftest.err &&
2882
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2883
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2884
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2885
# icc doesn't choke on unknown options, it will just issue warnings
2886
# or remarks (even with -Werror). So we grep stderr for any message
2887
# that says an option was ignored or not supported.
2888
# When given -MP, icc 7.0 and 7.1 complain thusly:
2889
# icc: Command line warning: ignoring option '-M'; no argument required
2890
# The diagnosis changed in icc 8.0:
2891
# icc: Command line remark: option '-MP' not supported
2892
if (grep 'ignoring option' conftest.err ||
2893
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2894
am_cv_CC_dependencies_compiler_type=$depmode
2903
am_cv_CC_dependencies_compiler_type=none
2907
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2908
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2909
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2914
test "x$enable_dependency_tracking" != xno \
2915
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2917
am__fastdepCC_FALSE='#'
2919
am__fastdepCC_TRUE='#'
2920
am__fastdepCC_FALSE=
2924
test -n "$GCC" && WARNFLAGS="-Wall"
2925
#test -n "$GCC" && WARNFLAGS="-W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Werror"
2928
echo "$as_me:$LINENO: checking for library containing strerror" >&5
2929
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2930
if test "${ac_cv_search_strerror+set}" = set; then
2931
echo $ECHO_N "(cached) $ECHO_C" >&6
2933
ac_func_search_save_LIBS=$LIBS
2934
ac_cv_search_strerror=no
2935
cat >conftest.$ac_ext <<_ACEOF
2938
cat confdefs.h >>conftest.$ac_ext
2939
cat >>conftest.$ac_ext <<_ACEOF
2940
/* end confdefs.h. */
2942
/* Override any gcc2 internal prototype to avoid an error. */
2946
/* We use char because int might match the return type of a gcc2
2947
builtin and then its argument prototype would still apply. */
2957
rm -f conftest.$ac_objext conftest$ac_exeext
2958
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2959
(eval $ac_link) 2>conftest.er1
2961
grep -v '^ *+' conftest.er1 >conftest.err
2963
cat conftest.err >&5
2964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965
(exit $ac_status); } &&
2966
{ ac_try='test -z "$ac_c_werror_flag"
2967
|| test ! -s conftest.err'
2968
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972
(exit $ac_status); }; } &&
2973
{ ac_try='test -s conftest$ac_exeext'
2974
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978
(exit $ac_status); }; }; then
2979
ac_cv_search_strerror="none required"
2981
echo "$as_me: failed program was:" >&5
2982
sed 's/^/| /' conftest.$ac_ext >&5
2985
rm -f conftest.err conftest.$ac_objext \
2986
conftest$ac_exeext conftest.$ac_ext
2987
if test "$ac_cv_search_strerror" = no; then
2988
for ac_lib in cposix; do
2989
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2990
cat >conftest.$ac_ext <<_ACEOF
2993
cat confdefs.h >>conftest.$ac_ext
2994
cat >>conftest.$ac_ext <<_ACEOF
2995
/* end confdefs.h. */
2997
/* Override any gcc2 internal prototype to avoid an error. */
3001
/* We use char because int might match the return type of a gcc2
3002
builtin and then its argument prototype would still apply. */
3012
rm -f conftest.$ac_objext conftest$ac_exeext
3013
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3014
(eval $ac_link) 2>conftest.er1
3016
grep -v '^ *+' conftest.er1 >conftest.err
3018
cat conftest.err >&5
3019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020
(exit $ac_status); } &&
3021
{ ac_try='test -z "$ac_c_werror_flag"
3022
|| test ! -s conftest.err'
3023
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3026
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027
(exit $ac_status); }; } &&
3028
{ ac_try='test -s conftest$ac_exeext'
3029
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033
(exit $ac_status); }; }; then
3034
ac_cv_search_strerror="-l$ac_lib"
3037
echo "$as_me: failed program was:" >&5
3038
sed 's/^/| /' conftest.$ac_ext >&5
3041
rm -f conftest.err conftest.$ac_objext \
3042
conftest$ac_exeext conftest.$ac_ext
3045
LIBS=$ac_func_search_save_LIBS
3047
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3048
echo "${ECHO_T}$ac_cv_search_strerror" >&6
3049
if test "$ac_cv_search_strerror" != no; then
3050
test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3054
# Find a good install program. We prefer a C program (faster),
3055
# so one script is as good as another. But avoid the broken or
3056
# incompatible versions:
3057
# SysV /etc/install, /usr/sbin/install
3058
# SunOS /usr/etc/install
3059
# IRIX /sbin/install
3061
# AmigaOS /C/install, which installs bootblocks on floppy discs
3062
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3063
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3064
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3065
# OS/2's system install, which has a completely different semantic
3066
# ./install, which can be erroneously created by make from ./install.sh.
3067
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3068
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3069
if test -z "$INSTALL"; then
3070
if test "${ac_cv_path_install+set}" = set; then
3071
echo $ECHO_N "(cached) $ECHO_C" >&6
3073
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077
test -z "$as_dir" && as_dir=.
3078
# Account for people who put trailing slashes in PATH elements.
3080
./ | .// | /cC/* | \
3081
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3082
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3085
# OSF1 and SCO ODT 3.0 have their own names for install.
3086
# Don't use installbsd from OSF since it installs stuff as root
3088
for ac_prog in ginstall scoinst install; do
3089
for ac_exec_ext in '' $ac_executable_extensions; do
3090
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3091
if test $ac_prog = install &&
3092
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3093
# AIX install. It has an incompatible calling convention.
3095
elif test $ac_prog = install &&
3096
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3097
# program-specific install script used by HP pwplus--don't use.
3100
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3112
if test "${ac_cv_path_install+set}" = set; then
3113
INSTALL=$ac_cv_path_install
3115
# As a last resort, use the slow shell script. We don't cache a
3116
# path for INSTALL within a source directory, because that will
3117
# break other packages using the cache if that directory is
3118
# removed, or if the path is relative.
3119
INSTALL=$ac_install_sh
3122
echo "$as_me:$LINENO: result: $INSTALL" >&5
3123
echo "${ECHO_T}$INSTALL" >&6
3125
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3126
# It thinks the first close brace ends the variable substitution.
3127
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3129
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3131
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3133
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3134
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3135
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3136
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3137
echo $ECHO_N "(cached) $ECHO_C" >&6
3139
cat >conftest.make <<\_ACEOF
3141
@echo 'ac_maketemp="$(MAKE)"'
3143
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3144
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3145
if test -n "$ac_maketemp"; then
3146
eval ac_cv_prog_make_${ac_make}_set=yes
3148
eval ac_cv_prog_make_${ac_make}_set=no
3152
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3153
echo "$as_me:$LINENO: result: yes" >&5
3154
echo "${ECHO_T}yes" >&6
3157
echo "$as_me:$LINENO: result: no" >&5
3158
echo "${ECHO_T}no" >&6
3159
SET_MAKE="MAKE=${MAKE-make}"
3162
if test -n "$ac_tool_prefix"; then
3163
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3164
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3165
echo "$as_me:$LINENO: checking for $ac_word" >&5
3166
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3167
if test "${ac_cv_prog_RANLIB+set}" = set; then
3168
echo $ECHO_N "(cached) $ECHO_C" >&6
3170
if test -n "$RANLIB"; then
3171
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3173
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3177
test -z "$as_dir" && as_dir=.
3178
for ac_exec_ext in '' $ac_executable_extensions; do
3179
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3180
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3181
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3189
RANLIB=$ac_cv_prog_RANLIB
3190
if test -n "$RANLIB"; then
3191
echo "$as_me:$LINENO: result: $RANLIB" >&5
3192
echo "${ECHO_T}$RANLIB" >&6
3194
echo "$as_me:$LINENO: result: no" >&5
3195
echo "${ECHO_T}no" >&6
3199
if test -z "$ac_cv_prog_RANLIB"; then
3200
ac_ct_RANLIB=$RANLIB
3201
# Extract the first word of "ranlib", so it can be a program name with args.
3202
set dummy ranlib; ac_word=$2
3203
echo "$as_me:$LINENO: checking for $ac_word" >&5
3204
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3205
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3206
echo $ECHO_N "(cached) $ECHO_C" >&6
3208
if test -n "$ac_ct_RANLIB"; then
3209
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3211
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215
test -z "$as_dir" && as_dir=.
3216
for ac_exec_ext in '' $ac_executable_extensions; do
3217
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3218
ac_cv_prog_ac_ct_RANLIB="ranlib"
3219
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3225
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3228
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3229
if test -n "$ac_ct_RANLIB"; then
3230
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3231
echo "${ECHO_T}$ac_ct_RANLIB" >&6
3233
echo "$as_me:$LINENO: result: no" >&5
3234
echo "${ECHO_T}no" >&6
3237
RANLIB=$ac_ct_RANLIB
3239
RANLIB="$ac_cv_prog_RANLIB"
3243
echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
3244
echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
3246
# Check whether --with-dmalloc or --without-dmalloc was given.
3247
if test "${with_dmalloc+set}" = set; then
3248
withval="$with_dmalloc"
3249
if test "$withval" = yes; then
3250
echo "$as_me:$LINENO: result: yes" >&5
3251
echo "${ECHO_T}yes" >&6
3253
cat >>confdefs.h <<\_ACEOF
3254
#define WITH_DMALLOC 1
3257
LIBS="$LIBS -ldmalloc"
3258
LDFLAGS="$LDFLAGS -g"
3260
echo "$as_me:$LINENO: result: no" >&5
3261
echo "${ECHO_T}no" >&6
3264
echo "$as_me:$LINENO: result: no" >&5
3265
echo "${ECHO_T}no" >&6
3268
echo "$as_me:$LINENO: checking if malloc debugging with efence is wanted" >&5
3269
echo $ECHO_N "checking if malloc debugging with efence is wanted... $ECHO_C" >&6
3271
# Check whether --with-efence or --without-efence was given.
3272
if test "${with_efence+set}" = set; then
3273
withval="$with_efence"
3274
if test "$withval" = yes; then
3275
echo "$as_me:$LINENO: result: yes" >&5
3276
echo "${ECHO_T}yes" >&6
3278
cat >>confdefs.h <<\_ACEOF
3279
#define WITH_EFENCE 1
3282
LIBS="$LIBS -lefence"
3283
LDFLAGS="$LDFLAGS -g"
3286
echo "$as_me:$LINENO: result: no" >&5
3287
echo "${ECHO_T}no" >&6
3290
echo "$as_me:$LINENO: result: no" >&5
3291
echo "${ECHO_T}no" >&6
3295
# Check whether --enable-slp or --disable-slp was given.
3296
if test "${enable_slp+set}" = set; then
3297
enableval="$enable_slp"
3302
ac_cpp='$CPP $CPPFLAGS'
3303
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3304
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3305
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3306
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3307
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3308
# On Suns, sometimes $CPP names a directory.
3309
if test -n "$CPP" && test -d "$CPP"; then
3312
if test -z "$CPP"; then
3313
if test "${ac_cv_prog_CPP+set}" = set; then
3314
echo $ECHO_N "(cached) $ECHO_C" >&6
3316
# Double quotes because CPP needs to be expanded
3317
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3320
for ac_c_preproc_warn_flag in '' yes
3322
# Use a header file that comes with gcc, so configuring glibc
3323
# with a fresh cross-compiler works.
3324
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3325
# <limits.h> exists even on freestanding compilers.
3326
# On the NeXT, cc -E runs the code through the compiler's parser,
3327
# not just through cpp. "Syntax error" is here to catch this case.
3328
cat >conftest.$ac_ext <<_ACEOF
3331
cat confdefs.h >>conftest.$ac_ext
3332
cat >>conftest.$ac_ext <<_ACEOF
3333
/* end confdefs.h. */
3335
# include <limits.h>
3337
# include <assert.h>
3341
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3342
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3344
grep -v '^ *+' conftest.er1 >conftest.err
3346
cat conftest.err >&5
3347
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348
(exit $ac_status); } >/dev/null; then
3349
if test -s conftest.err; then
3350
ac_cpp_err=$ac_c_preproc_warn_flag
3351
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3358
if test -z "$ac_cpp_err"; then
3361
echo "$as_me: failed program was:" >&5
3362
sed 's/^/| /' conftest.$ac_ext >&5
3364
# Broken: fails on valid input.
3367
rm -f conftest.err conftest.$ac_ext
3369
# OK, works on sane cases. Now check whether non-existent headers
3370
# can be detected and how.
3371
cat >conftest.$ac_ext <<_ACEOF
3374
cat confdefs.h >>conftest.$ac_ext
3375
cat >>conftest.$ac_ext <<_ACEOF
3376
/* end confdefs.h. */
3377
#include <ac_nonexistent.h>
3379
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3380
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3382
grep -v '^ *+' conftest.er1 >conftest.err
3384
cat conftest.err >&5
3385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386
(exit $ac_status); } >/dev/null; then
3387
if test -s conftest.err; then
3388
ac_cpp_err=$ac_c_preproc_warn_flag
3389
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3396
if test -z "$ac_cpp_err"; then
3397
# Broken: success on invalid input.
3400
echo "$as_me: failed program was:" >&5
3401
sed 's/^/| /' conftest.$ac_ext >&5
3403
# Passes both tests.
3407
rm -f conftest.err conftest.$ac_ext
3410
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3411
rm -f conftest.err conftest.$ac_ext
3412
if $ac_preproc_ok; then
3424
echo "$as_me:$LINENO: result: $CPP" >&5
3425
echo "${ECHO_T}$CPP" >&6
3427
for ac_c_preproc_warn_flag in '' yes
3429
# Use a header file that comes with gcc, so configuring glibc
3430
# with a fresh cross-compiler works.
3431
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3432
# <limits.h> exists even on freestanding compilers.
3433
# On the NeXT, cc -E runs the code through the compiler's parser,
3434
# not just through cpp. "Syntax error" is here to catch this case.
3435
cat >conftest.$ac_ext <<_ACEOF
3438
cat confdefs.h >>conftest.$ac_ext
3439
cat >>conftest.$ac_ext <<_ACEOF
3440
/* end confdefs.h. */
3442
# include <limits.h>
3444
# include <assert.h>
3448
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3449
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3451
grep -v '^ *+' conftest.er1 >conftest.err
3453
cat conftest.err >&5
3454
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455
(exit $ac_status); } >/dev/null; then
3456
if test -s conftest.err; then
3457
ac_cpp_err=$ac_c_preproc_warn_flag
3458
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3465
if test -z "$ac_cpp_err"; then
3468
echo "$as_me: failed program was:" >&5
3469
sed 's/^/| /' conftest.$ac_ext >&5
3471
# Broken: fails on valid input.
3474
rm -f conftest.err conftest.$ac_ext
3476
# OK, works on sane cases. Now check whether non-existent headers
3477
# can be detected and how.
3478
cat >conftest.$ac_ext <<_ACEOF
3481
cat confdefs.h >>conftest.$ac_ext
3482
cat >>conftest.$ac_ext <<_ACEOF
3483
/* end confdefs.h. */
3484
#include <ac_nonexistent.h>
3486
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3487
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3489
grep -v '^ *+' conftest.er1 >conftest.err
3491
cat conftest.err >&5
3492
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493
(exit $ac_status); } >/dev/null; then
3494
if test -s conftest.err; then
3495
ac_cpp_err=$ac_c_preproc_warn_flag
3496
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3503
if test -z "$ac_cpp_err"; then
3504
# Broken: success on invalid input.
3507
echo "$as_me: failed program was:" >&5
3508
sed 's/^/| /' conftest.$ac_ext >&5
3510
# Passes both tests.
3514
rm -f conftest.err conftest.$ac_ext
3517
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3518
rm -f conftest.err conftest.$ac_ext
3519
if $ac_preproc_ok; then
3522
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3523
See \`config.log' for more details." >&5
3524
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3525
See \`config.log' for more details." >&2;}
3526
{ (exit 1); exit 1; }; }
3530
ac_cpp='$CPP $CPPFLAGS'
3531
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3536
echo "$as_me:$LINENO: checking for egrep" >&5
3537
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3538
if test "${ac_cv_prog_egrep+set}" = set; then
3539
echo $ECHO_N "(cached) $ECHO_C" >&6
3541
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3542
then ac_cv_prog_egrep='grep -E'
3543
else ac_cv_prog_egrep='egrep'
3546
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3547
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3548
EGREP=$ac_cv_prog_egrep
3551
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3552
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3553
if test "${ac_cv_header_stdc+set}" = set; then
3554
echo $ECHO_N "(cached) $ECHO_C" >&6
3556
cat >conftest.$ac_ext <<_ACEOF
3559
cat confdefs.h >>conftest.$ac_ext
3560
cat >>conftest.$ac_ext <<_ACEOF
3561
/* end confdefs.h. */
3575
rm -f conftest.$ac_objext
3576
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3577
(eval $ac_compile) 2>conftest.er1
3579
grep -v '^ *+' conftest.er1 >conftest.err
3581
cat conftest.err >&5
3582
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583
(exit $ac_status); } &&
3584
{ ac_try='test -z "$ac_c_werror_flag"
3585
|| test ! -s conftest.err'
3586
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590
(exit $ac_status); }; } &&
3591
{ ac_try='test -s conftest.$ac_objext'
3592
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596
(exit $ac_status); }; }; then
3597
ac_cv_header_stdc=yes
3599
echo "$as_me: failed program was:" >&5
3600
sed 's/^/| /' conftest.$ac_ext >&5
3602
ac_cv_header_stdc=no
3604
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3606
if test $ac_cv_header_stdc = yes; then
3607
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3608
cat >conftest.$ac_ext <<_ACEOF
3611
cat confdefs.h >>conftest.$ac_ext
3612
cat >>conftest.$ac_ext <<_ACEOF
3613
/* end confdefs.h. */
3617
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3618
$EGREP "memchr" >/dev/null 2>&1; then
3621
ac_cv_header_stdc=no
3627
if test $ac_cv_header_stdc = yes; then
3628
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3629
cat >conftest.$ac_ext <<_ACEOF
3632
cat confdefs.h >>conftest.$ac_ext
3633
cat >>conftest.$ac_ext <<_ACEOF
3634
/* end confdefs.h. */
3638
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3639
$EGREP "free" >/dev/null 2>&1; then
3642
ac_cv_header_stdc=no
3648
if test $ac_cv_header_stdc = yes; then
3649
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3650
if test "$cross_compiling" = yes; then
3653
cat >conftest.$ac_ext <<_ACEOF
3656
cat confdefs.h >>conftest.$ac_ext
3657
cat >>conftest.$ac_ext <<_ACEOF
3658
/* end confdefs.h. */
3660
#if ((' ' & 0x0FF) == 0x020)
3661
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3662
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3664
# define ISLOWER(c) \
3665
(('a' <= (c) && (c) <= 'i') \
3666
|| ('j' <= (c) && (c) <= 'r') \
3667
|| ('s' <= (c) && (c) <= 'z'))
3668
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3671
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3676
for (i = 0; i < 256; i++)
3677
if (XOR (islower (i), ISLOWER (i))
3678
|| toupper (i) != TOUPPER (i))
3683
rm -f conftest$ac_exeext
3684
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3685
(eval $ac_link) 2>&5
3687
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3689
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693
(exit $ac_status); }; }; then
3696
echo "$as_me: program exited with status $ac_status" >&5
3697
echo "$as_me: failed program was:" >&5
3698
sed 's/^/| /' conftest.$ac_ext >&5
3701
ac_cv_header_stdc=no
3703
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3707
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3708
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3709
if test $ac_cv_header_stdc = yes; then
3711
cat >>confdefs.h <<\_ACEOF
3712
#define STDC_HEADERS 1
3717
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3727
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3728
inttypes.h stdint.h unistd.h
3730
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3731
echo "$as_me:$LINENO: checking for $ac_header" >&5
3732
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3733
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3734
echo $ECHO_N "(cached) $ECHO_C" >&6
3736
cat >conftest.$ac_ext <<_ACEOF
3739
cat confdefs.h >>conftest.$ac_ext
3740
cat >>conftest.$ac_ext <<_ACEOF
3741
/* end confdefs.h. */
3742
$ac_includes_default
3744
#include <$ac_header>
3746
rm -f conftest.$ac_objext
3747
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3748
(eval $ac_compile) 2>conftest.er1
3750
grep -v '^ *+' conftest.er1 >conftest.err
3752
cat conftest.err >&5
3753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754
(exit $ac_status); } &&
3755
{ ac_try='test -z "$ac_c_werror_flag"
3756
|| test ! -s conftest.err'
3757
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3760
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761
(exit $ac_status); }; } &&
3762
{ ac_try='test -s conftest.$ac_objext'
3763
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767
(exit $ac_status); }; }; then
3768
eval "$as_ac_Header=yes"
3770
echo "$as_me: failed program was:" >&5
3771
sed 's/^/| /' conftest.$ac_ext >&5
3773
eval "$as_ac_Header=no"
3775
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3777
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3778
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3779
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3780
cat >>confdefs.h <<_ACEOF
3781
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3790
for ac_header in slp.h
3792
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3793
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3794
echo "$as_me:$LINENO: checking for $ac_header" >&5
3795
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3796
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3797
echo $ECHO_N "(cached) $ECHO_C" >&6
3799
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3800
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3802
# Is the header compilable?
3803
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3804
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3805
cat >conftest.$ac_ext <<_ACEOF
3808
cat confdefs.h >>conftest.$ac_ext
3809
cat >>conftest.$ac_ext <<_ACEOF
3810
/* end confdefs.h. */
3811
$ac_includes_default
3812
#include <$ac_header>
3814
rm -f conftest.$ac_objext
3815
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3816
(eval $ac_compile) 2>conftest.er1
3818
grep -v '^ *+' conftest.er1 >conftest.err
3820
cat conftest.err >&5
3821
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822
(exit $ac_status); } &&
3823
{ ac_try='test -z "$ac_c_werror_flag"
3824
|| test ! -s conftest.err'
3825
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829
(exit $ac_status); }; } &&
3830
{ ac_try='test -s conftest.$ac_objext'
3831
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835
(exit $ac_status); }; }; then
3836
ac_header_compiler=yes
3838
echo "$as_me: failed program was:" >&5
3839
sed 's/^/| /' conftest.$ac_ext >&5
3841
ac_header_compiler=no
3843
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3844
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3845
echo "${ECHO_T}$ac_header_compiler" >&6
3847
# Is the header present?
3848
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3849
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3850
cat >conftest.$ac_ext <<_ACEOF
3853
cat confdefs.h >>conftest.$ac_ext
3854
cat >>conftest.$ac_ext <<_ACEOF
3855
/* end confdefs.h. */
3856
#include <$ac_header>
3858
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3859
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3861
grep -v '^ *+' conftest.er1 >conftest.err
3863
cat conftest.err >&5
3864
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865
(exit $ac_status); } >/dev/null; then
3866
if test -s conftest.err; then
3867
ac_cpp_err=$ac_c_preproc_warn_flag
3868
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3875
if test -z "$ac_cpp_err"; then
3876
ac_header_preproc=yes
3878
echo "$as_me: failed program was:" >&5
3879
sed 's/^/| /' conftest.$ac_ext >&5
3881
ac_header_preproc=no
3883
rm -f conftest.err conftest.$ac_ext
3884
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3885
echo "${ECHO_T}$ac_header_preproc" >&6
3887
# So? What about this header?
3888
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3890
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3891
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3892
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3893
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3894
ac_header_preproc=yes
3897
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3898
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3899
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3900
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3901
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3902
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3903
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3904
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3905
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3906
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3907
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3908
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3911
## ------------------------------------------ ##
3912
## Report this to the AC_PACKAGE_NAME lists. ##
3913
## ------------------------------------------ ##
3916
sed "s/^/$as_me: WARNING: /" >&2
3919
echo "$as_me:$LINENO: checking for $ac_header" >&5
3920
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3921
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3922
echo $ECHO_N "(cached) $ECHO_C" >&6
3924
eval "$as_ac_Header=\$ac_header_preproc"
3926
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3927
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3930
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3931
cat >>confdefs.h <<_ACEOF
3932
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3941
if test "$enable_slp" \!= "no"
3943
echo "$as_me:$LINENO: checking for SLPReg in -lslp" >&5
3944
echo $ECHO_N "checking for SLPReg in -lslp... $ECHO_C" >&6
3945
if test "${ac_cv_lib_slp_SLPReg+set}" = set; then
3946
echo $ECHO_N "(cached) $ECHO_C" >&6
3948
ac_check_lib_save_LIBS=$LIBS
3950
cat >conftest.$ac_ext <<_ACEOF
3953
cat confdefs.h >>conftest.$ac_ext
3954
cat >>conftest.$ac_ext <<_ACEOF
3955
/* end confdefs.h. */
3957
/* Override any gcc2 internal prototype to avoid an error. */
3961
/* We use char because int might match the return type of a gcc2
3962
builtin and then its argument prototype would still apply. */
3972
rm -f conftest.$ac_objext conftest$ac_exeext
3973
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3974
(eval $ac_link) 2>conftest.er1
3976
grep -v '^ *+' conftest.er1 >conftest.err
3978
cat conftest.err >&5
3979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980
(exit $ac_status); } &&
3981
{ ac_try='test -z "$ac_c_werror_flag"
3982
|| test ! -s conftest.err'
3983
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3986
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987
(exit $ac_status); }; } &&
3988
{ ac_try='test -s conftest$ac_exeext'
3989
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3992
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993
(exit $ac_status); }; }; then
3994
ac_cv_lib_slp_SLPReg=yes
3996
echo "$as_me: failed program was:" >&5
3997
sed 's/^/| /' conftest.$ac_ext >&5
3999
ac_cv_lib_slp_SLPReg=no
4001
rm -f conftest.err conftest.$ac_objext \
4002
conftest$ac_exeext conftest.$ac_ext
4003
LIBS=$ac_check_lib_save_LIBS
4005
echo "$as_me:$LINENO: result: $ac_cv_lib_slp_SLPReg" >&5
4006
echo "${ECHO_T}$ac_cv_lib_slp_SLPReg" >&6
4007
if test $ac_cv_lib_slp_SLPReg = yes; then
4013
if test -n "$SLP_LIBS" -a x$ac_cv_header_slp_h != xno
4016
cat >>confdefs.h <<\_ACEOF
4025
echo "$as_me:$LINENO: checking for yp_get_default_domain in -lnsl" >&5
4026
echo $ECHO_N "checking for yp_get_default_domain in -lnsl... $ECHO_C" >&6
4027
if test "${ac_cv_lib_nsl_yp_get_default_domain+set}" = set; then
4028
echo $ECHO_N "(cached) $ECHO_C" >&6
4030
ac_check_lib_save_LIBS=$LIBS
4032
cat >conftest.$ac_ext <<_ACEOF
4035
cat confdefs.h >>conftest.$ac_ext
4036
cat >>conftest.$ac_ext <<_ACEOF
4037
/* end confdefs.h. */
4039
/* Override any gcc2 internal prototype to avoid an error. */
4043
/* We use char because int might match the return type of a gcc2
4044
builtin and then its argument prototype would still apply. */
4045
char yp_get_default_domain ();
4049
yp_get_default_domain ();
4054
rm -f conftest.$ac_objext conftest$ac_exeext
4055
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4056
(eval $ac_link) 2>conftest.er1
4058
grep -v '^ *+' conftest.er1 >conftest.err
4060
cat conftest.err >&5
4061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062
(exit $ac_status); } &&
4063
{ ac_try='test -z "$ac_c_werror_flag"
4064
|| test ! -s conftest.err'
4065
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4068
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069
(exit $ac_status); }; } &&
4070
{ ac_try='test -s conftest$ac_exeext'
4071
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4074
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075
(exit $ac_status); }; }; then
4076
ac_cv_lib_nsl_yp_get_default_domain=yes
4078
echo "$as_me: failed program was:" >&5
4079
sed 's/^/| /' conftest.$ac_ext >&5
4081
ac_cv_lib_nsl_yp_get_default_domain=no
4083
rm -f conftest.err conftest.$ac_objext \
4084
conftest$ac_exeext conftest.$ac_ext
4085
LIBS=$ac_check_lib_save_LIBS
4087
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
4088
echo "${ECHO_T}$ac_cv_lib_nsl_yp_get_default_domain" >&6
4089
if test $ac_cv_lib_nsl_yp_get_default_domain = yes; then
4090
cat >>confdefs.h <<_ACEOF
4091
#define HAVE_LIBNSL 1
4099
echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
4100
echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
4101
if test "${ac_cv_lib_socket_bind+set}" = set; then
4102
echo $ECHO_N "(cached) $ECHO_C" >&6
4104
ac_check_lib_save_LIBS=$LIBS
4105
LIBS="-lsocket $LIBS"
4106
cat >conftest.$ac_ext <<_ACEOF
4109
cat confdefs.h >>conftest.$ac_ext
4110
cat >>conftest.$ac_ext <<_ACEOF
4111
/* end confdefs.h. */
4113
/* Override any gcc2 internal prototype to avoid an error. */
4117
/* We use char because int might match the return type of a gcc2
4118
builtin and then its argument prototype would still apply. */
4128
rm -f conftest.$ac_objext conftest$ac_exeext
4129
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4130
(eval $ac_link) 2>conftest.er1
4132
grep -v '^ *+' conftest.er1 >conftest.err
4134
cat conftest.err >&5
4135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136
(exit $ac_status); } &&
4137
{ ac_try='test -z "$ac_c_werror_flag"
4138
|| test ! -s conftest.err'
4139
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4142
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4143
(exit $ac_status); }; } &&
4144
{ ac_try='test -s conftest$ac_exeext'
4145
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4148
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149
(exit $ac_status); }; }; then
4150
ac_cv_lib_socket_bind=yes
4152
echo "$as_me: failed program was:" >&5
4153
sed 's/^/| /' conftest.$ac_ext >&5
4155
ac_cv_lib_socket_bind=no
4157
rm -f conftest.err conftest.$ac_objext \
4158
conftest$ac_exeext conftest.$ac_ext
4159
LIBS=$ac_check_lib_save_LIBS
4161
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
4162
echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
4163
if test $ac_cv_lib_socket_bind = yes; then
4164
cat >>confdefs.h <<_ACEOF
4165
#define HAVE_LIBSOCKET 1
4168
LIBS="-lsocket $LIBS"
4173
echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
4174
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
4175
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
4176
echo $ECHO_N "(cached) $ECHO_C" >&6
4178
ac_check_lib_save_LIBS=$LIBS
4179
LIBS="-lpthread $LIBS"
4180
cat >conftest.$ac_ext <<_ACEOF
4183
cat confdefs.h >>conftest.$ac_ext
4184
cat >>conftest.$ac_ext <<_ACEOF
4185
/* end confdefs.h. */
4187
/* Override any gcc2 internal prototype to avoid an error. */
4191
/* We use char because int might match the return type of a gcc2
4192
builtin and then its argument prototype would still apply. */
4193
char pthread_create ();
4202
rm -f conftest.$ac_objext conftest$ac_exeext
4203
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4204
(eval $ac_link) 2>conftest.er1
4206
grep -v '^ *+' conftest.er1 >conftest.err
4208
cat conftest.err >&5
4209
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210
(exit $ac_status); } &&
4211
{ ac_try='test -z "$ac_c_werror_flag"
4212
|| test ! -s conftest.err'
4213
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4216
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217
(exit $ac_status); }; } &&
4218
{ ac_try='test -s conftest$ac_exeext'
4219
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4222
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223
(exit $ac_status); }; }; then
4224
ac_cv_lib_pthread_pthread_create=yes
4226
echo "$as_me: failed program was:" >&5
4227
sed 's/^/| /' conftest.$ac_ext >&5
4229
ac_cv_lib_pthread_pthread_create=no
4231
rm -f conftest.err conftest.$ac_objext \
4232
conftest$ac_exeext conftest.$ac_ext
4233
LIBS=$ac_check_lib_save_LIBS
4235
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
4236
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
4237
if test $ac_cv_lib_pthread_pthread_create = yes; then
4238
cat >>confdefs.h <<_ACEOF
4239
#define HAVE_LIBPTHREAD 1
4242
LIBS="-lpthread $LIBS"
4248
for ac_func in __nss_configure_lookup
4250
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4251
echo "$as_me:$LINENO: checking for $ac_func" >&5
4252
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4253
if eval "test \"\${$as_ac_var+set}\" = set"; then
4254
echo $ECHO_N "(cached) $ECHO_C" >&6
4256
cat >conftest.$ac_ext <<_ACEOF
4259
cat confdefs.h >>conftest.$ac_ext
4260
cat >>conftest.$ac_ext <<_ACEOF
4261
/* end confdefs.h. */
4262
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4263
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4264
#define $ac_func innocuous_$ac_func
4266
/* System header to define __stub macros and hopefully few prototypes,
4267
which can conflict with char $ac_func (); below.
4268
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4269
<limits.h> exists even on freestanding compilers. */
4272
# include <limits.h>
4274
# include <assert.h>
4279
/* Override any gcc2 internal prototype to avoid an error. */
4284
/* We use char because int might match the return type of a gcc2
4285
builtin and then its argument prototype would still apply. */
4287
/* The GNU C library defines this for functions which it implements
4288
to always fail with ENOSYS. Some functions are actually named
4289
something starting with __ and the normal name is an alias. */
4290
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4293
char (*f) () = $ac_func;
4302
return f != $ac_func;
4307
rm -f conftest.$ac_objext conftest$ac_exeext
4308
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4309
(eval $ac_link) 2>conftest.er1
4311
grep -v '^ *+' conftest.er1 >conftest.err
4313
cat conftest.err >&5
4314
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315
(exit $ac_status); } &&
4316
{ ac_try='test -z "$ac_c_werror_flag"
4317
|| test ! -s conftest.err'
4318
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4321
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322
(exit $ac_status); }; } &&
4323
{ ac_try='test -s conftest$ac_exeext'
4324
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4327
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328
(exit $ac_status); }; }; then
4329
eval "$as_ac_var=yes"
4331
echo "$as_me: failed program was:" >&5
4332
sed 's/^/| /' conftest.$ac_ext >&5
4334
eval "$as_ac_var=no"
4336
rm -f conftest.err conftest.$ac_objext \
4337
conftest$ac_exeext conftest.$ac_ext
4339
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4340
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4341
if test `eval echo '${'$as_ac_var'}'` = yes; then
4342
cat >>confdefs.h <<_ACEOF
4343
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4349
if eval "test \"`echo '$ac_cv_func___nss_configure_lookup'`\" != yes"; then
4351
echo "$as_me:$LINENO: checking for res_gethostbyname in -lresolv" >&5
4352
echo $ECHO_N "checking for res_gethostbyname in -lresolv... $ECHO_C" >&6
4353
if test "${ac_cv_lib_resolv_res_gethostbyname+set}" = set; then
4354
echo $ECHO_N "(cached) $ECHO_C" >&6
4356
ac_check_lib_save_LIBS=$LIBS
4357
LIBS="-lresolv $LIBS"
4358
cat >conftest.$ac_ext <<_ACEOF
4361
cat confdefs.h >>conftest.$ac_ext
4362
cat >>conftest.$ac_ext <<_ACEOF
4363
/* end confdefs.h. */
4365
/* Override any gcc2 internal prototype to avoid an error. */
4369
/* We use char because int might match the return type of a gcc2
4370
builtin and then its argument prototype would still apply. */
4371
char res_gethostbyname ();
4375
res_gethostbyname ();
4380
rm -f conftest.$ac_objext conftest$ac_exeext
4381
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4382
(eval $ac_link) 2>conftest.er1
4384
grep -v '^ *+' conftest.er1 >conftest.err
4386
cat conftest.err >&5
4387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388
(exit $ac_status); } &&
4389
{ ac_try='test -z "$ac_c_werror_flag"
4390
|| test ! -s conftest.err'
4391
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395
(exit $ac_status); }; } &&
4396
{ ac_try='test -s conftest$ac_exeext'
4397
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401
(exit $ac_status); }; }; then
4402
ac_cv_lib_resolv_res_gethostbyname=yes
4404
echo "$as_me: failed program was:" >&5
4405
sed 's/^/| /' conftest.$ac_ext >&5
4407
ac_cv_lib_resolv_res_gethostbyname=no
4409
rm -f conftest.err conftest.$ac_objext \
4410
conftest$ac_exeext conftest.$ac_ext
4411
LIBS=$ac_check_lib_save_LIBS
4413
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_gethostbyname" >&5
4414
echo "${ECHO_T}$ac_cv_lib_resolv_res_gethostbyname" >&6
4415
if test $ac_cv_lib_resolv_res_gethostbyname = yes; then
4416
cat >>confdefs.h <<_ACEOF
4417
#define HAVE_LIBRESOLV 1
4420
LIBS="-lresolv $LIBS"
4426
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4427
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4428
if test "${ac_cv_c_const+set}" = set; then
4429
echo $ECHO_N "(cached) $ECHO_C" >&6
4431
cat >conftest.$ac_ext <<_ACEOF
4434
cat confdefs.h >>conftest.$ac_ext
4435
cat >>conftest.$ac_ext <<_ACEOF
4436
/* end confdefs.h. */
4441
/* FIXME: Include the comments suggested by Paul. */
4443
/* Ultrix mips cc rejects this. */
4444
typedef int charset[2];
4446
/* SunOS 4.1.1 cc rejects this. */
4447
char const *const *ccp;
4449
/* NEC SVR4.0.2 mips cc rejects this. */
4450
struct point {int x, y;};
4451
static struct point const zero = {0,0};
4452
/* AIX XL C 1.02.0.0 rejects this.
4453
It does not let you subtract one const X* pointer from another in
4454
an arm of an if-expression whose if-part is not a constant
4456
const char *g = "string";
4457
ccp = &g + (g ? g-g : 0);
4458
/* HPUX 7.0 cc rejects these. */
4461
ccp = (char const *const *) p;
4462
{ /* SCO 3.2v4 cc rejects this. */
4464
char const *s = 0 ? (char *) 0 : (char const *) 0;
4468
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4470
const int *foo = &x[0];
4473
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4474
typedef const int *iptr;
4478
{ /* AIX XL C 1.02.0.0 rejects this saying
4479
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4480
struct s { int j; const int *ap[3]; };
4481
struct s *b; b->j = 5;
4483
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4492
rm -f conftest.$ac_objext
4493
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4494
(eval $ac_compile) 2>conftest.er1
4496
grep -v '^ *+' conftest.er1 >conftest.err
4498
cat conftest.err >&5
4499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500
(exit $ac_status); } &&
4501
{ ac_try='test -z "$ac_c_werror_flag"
4502
|| test ! -s conftest.err'
4503
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507
(exit $ac_status); }; } &&
4508
{ ac_try='test -s conftest.$ac_objext'
4509
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513
(exit $ac_status); }; }; then
4516
echo "$as_me: failed program was:" >&5
4517
sed 's/^/| /' conftest.$ac_ext >&5
4521
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4523
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4524
echo "${ECHO_T}$ac_cv_c_const" >&6
4525
if test $ac_cv_c_const = no; then
4527
cat >>confdefs.h <<\_ACEOF
4534
echo "$as_me:$LINENO: checking wether <sys/socket.h> defiens socklen_t" >&5
4535
echo $ECHO_N "checking wether <sys/socket.h> defiens socklen_t... $ECHO_C" >&6
4536
cat >conftest.$ac_ext <<_ACEOF
4539
cat confdefs.h >>conftest.$ac_ext
4540
cat >>conftest.$ac_ext <<_ACEOF
4541
/* end confdefs.h. */
4542
#include <sys/socket.h>
4551
rm -f conftest.$ac_objext
4552
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4553
(eval $ac_compile) 2>conftest.er1
4555
grep -v '^ *+' conftest.er1 >conftest.err
4557
cat conftest.err >&5
4558
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559
(exit $ac_status); } &&
4560
{ ac_try='test -z "$ac_c_werror_flag"
4561
|| test ! -s conftest.err'
4562
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4565
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566
(exit $ac_status); }; } &&
4567
{ ac_try='test -s conftest.$ac_objext'
4568
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572
(exit $ac_status); }; }; then
4575
echo "$as_me: failed program was:" >&5
4576
sed 's/^/| /' conftest.$ac_ext >&5
4580
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4581
if test x"$SOCKLEN_T" = x"yes"; then
4582
echo "$as_me:$LINENO: result: yes" >&5
4583
echo "${ECHO_T}yes" >&6
4585
cat >>confdefs.h <<\_ACEOF
4586
#define HAVE_SOCKLEN_T 1
4590
echo "$as_me:$LINENO: result: no" >&5
4591
echo "${ECHO_T}no" >&6
4599
for ac_header in paths.h sys/filio.h rpc/svc_soc.h rpc/clnt_soc.h nss.h
4601
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4602
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4603
echo "$as_me:$LINENO: checking for $ac_header" >&5
4604
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4605
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4606
echo $ECHO_N "(cached) $ECHO_C" >&6
4608
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4609
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4611
# Is the header compilable?
4612
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4613
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4614
cat >conftest.$ac_ext <<_ACEOF
4617
cat confdefs.h >>conftest.$ac_ext
4618
cat >>conftest.$ac_ext <<_ACEOF
4619
/* end confdefs.h. */
4620
$ac_includes_default
4621
#include <$ac_header>
4623
rm -f conftest.$ac_objext
4624
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4625
(eval $ac_compile) 2>conftest.er1
4627
grep -v '^ *+' conftest.er1 >conftest.err
4629
cat conftest.err >&5
4630
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631
(exit $ac_status); } &&
4632
{ ac_try='test -z "$ac_c_werror_flag"
4633
|| test ! -s conftest.err'
4634
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4637
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638
(exit $ac_status); }; } &&
4639
{ ac_try='test -s conftest.$ac_objext'
4640
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644
(exit $ac_status); }; }; then
4645
ac_header_compiler=yes
4647
echo "$as_me: failed program was:" >&5
4648
sed 's/^/| /' conftest.$ac_ext >&5
4650
ac_header_compiler=no
4652
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4653
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4654
echo "${ECHO_T}$ac_header_compiler" >&6
4656
# Is the header present?
4657
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4658
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4659
cat >conftest.$ac_ext <<_ACEOF
4662
cat confdefs.h >>conftest.$ac_ext
4663
cat >>conftest.$ac_ext <<_ACEOF
4664
/* end confdefs.h. */
4665
#include <$ac_header>
4667
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4668
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4670
grep -v '^ *+' conftest.er1 >conftest.err
4672
cat conftest.err >&5
4673
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674
(exit $ac_status); } >/dev/null; then
4675
if test -s conftest.err; then
4676
ac_cpp_err=$ac_c_preproc_warn_flag
4677
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4684
if test -z "$ac_cpp_err"; then
4685
ac_header_preproc=yes
4687
echo "$as_me: failed program was:" >&5
4688
sed 's/^/| /' conftest.$ac_ext >&5
4690
ac_header_preproc=no
4692
rm -f conftest.err conftest.$ac_ext
4693
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4694
echo "${ECHO_T}$ac_header_preproc" >&6
4696
# So? What about this header?
4697
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4699
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4700
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4701
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4702
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4703
ac_header_preproc=yes
4706
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4707
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4708
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4709
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4710
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4711
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4712
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4713
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4714
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4715
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4716
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4717
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4720
## ------------------------------------------ ##
4721
## Report this to the AC_PACKAGE_NAME lists. ##
4722
## ------------------------------------------ ##
4725
sed "s/^/$as_me: WARNING: /" >&2
4728
echo "$as_me:$LINENO: checking for $ac_header" >&5
4729
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4730
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4731
echo $ECHO_N "(cached) $ECHO_C" >&6
4733
eval "$as_ac_Header=\$ac_header_preproc"
4735
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4736
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4739
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4740
cat >>confdefs.h <<_ACEOF
4741
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4754
for ac_func in getline getdelim vsyslog res_gethostbyname _dns_gethostbyname
4756
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4757
echo "$as_me:$LINENO: checking for $ac_func" >&5
4758
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4759
if eval "test \"\${$as_ac_var+set}\" = set"; then
4760
echo $ECHO_N "(cached) $ECHO_C" >&6
4762
cat >conftest.$ac_ext <<_ACEOF
4765
cat confdefs.h >>conftest.$ac_ext
4766
cat >>conftest.$ac_ext <<_ACEOF
4767
/* end confdefs.h. */
4768
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4769
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4770
#define $ac_func innocuous_$ac_func
4772
/* System header to define __stub macros and hopefully few prototypes,
4773
which can conflict with char $ac_func (); below.
4774
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4775
<limits.h> exists even on freestanding compilers. */
4778
# include <limits.h>
4780
# include <assert.h>
4785
/* Override any gcc2 internal prototype to avoid an error. */
4790
/* We use char because int might match the return type of a gcc2
4791
builtin and then its argument prototype would still apply. */
4793
/* The GNU C library defines this for functions which it implements
4794
to always fail with ENOSYS. Some functions are actually named
4795
something starting with __ and the normal name is an alias. */
4796
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4799
char (*f) () = $ac_func;
4808
return f != $ac_func;
4813
rm -f conftest.$ac_objext conftest$ac_exeext
4814
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4815
(eval $ac_link) 2>conftest.er1
4817
grep -v '^ *+' conftest.er1 >conftest.err
4819
cat conftest.err >&5
4820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821
(exit $ac_status); } &&
4822
{ ac_try='test -z "$ac_c_werror_flag"
4823
|| test ! -s conftest.err'
4824
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828
(exit $ac_status); }; } &&
4829
{ ac_try='test -s conftest$ac_exeext'
4830
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834
(exit $ac_status); }; }; then
4835
eval "$as_ac_var=yes"
4837
echo "$as_me: failed program was:" >&5
4838
sed 's/^/| /' conftest.$ac_ext >&5
4840
eval "$as_ac_var=no"
4842
rm -f conftest.err conftest.$ac_objext \
4843
conftest$ac_exeext conftest.$ac_ext
4845
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4846
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4847
if test `eval echo '${'$as_ac_var'}'` = yes; then
4848
cat >>confdefs.h <<_ACEOF
4849
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4859
if test -n "$ac_aux_dir"; then
4860
case "$ac_aux_dir" in
4861
/*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
4862
*) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
4865
if test -z "$MKINSTALLDIRS"; then
4866
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
4871
echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4872
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4873
# Check whether --enable-nls or --disable-nls was given.
4874
if test "${enable_nls+set}" = set; then
4875
enableval="$enable_nls"
4880
echo "$as_me:$LINENO: result: $USE_NLS" >&5
4881
echo "${ECHO_T}$USE_NLS" >&6
4888
# Prepare PATH_SEPARATOR.
4889
# The user is always right.
4890
if test "${PATH_SEPARATOR+set}" != set; then
4891
echo "#! /bin/sh" >conf$$.sh
4892
echo "exit 0" >>conf$$.sh
4894
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4902
# Find out how to test for executable files. Don't use a zero-byte file,
4903
# as systems may use methods other than mode bits to determine executability.
4904
cat >conf$$.file <<_ASEOF
4908
chmod +x conf$$.file
4909
if test -x conf$$.file >/dev/null 2>&1; then
4910
ac_executable_p="test -x"
4912
ac_executable_p="test -f"
4916
# Extract the first word of "msgfmt", so it can be a program name with args.
4917
set dummy msgfmt; ac_word=$2
4918
echo "$as_me:$LINENO: checking for $ac_word" >&5
4919
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4920
if test "${ac_cv_path_MSGFMT+set}" = set; then
4921
echo $ECHO_N "(cached) $ECHO_C" >&6
4925
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4928
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4929
for ac_dir in $PATH; do
4931
test -z "$ac_dir" && ac_dir=.
4932
for ac_exec_ext in '' $ac_executable_extensions; do
4933
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4934
if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
4935
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4936
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4943
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4947
MSGFMT="$ac_cv_path_MSGFMT"
4948
if test "$MSGFMT" != ":"; then
4949
echo "$as_me:$LINENO: result: $MSGFMT" >&5
4950
echo "${ECHO_T}$MSGFMT" >&6
4952
echo "$as_me:$LINENO: result: no" >&5
4953
echo "${ECHO_T}no" >&6
4956
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4957
set dummy gmsgfmt; ac_word=$2
4958
echo "$as_me:$LINENO: checking for $ac_word" >&5
4959
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4960
if test "${ac_cv_path_GMSGFMT+set}" = set; then
4961
echo $ECHO_N "(cached) $ECHO_C" >&6
4965
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972
test -z "$as_dir" && as_dir=.
4973
for ac_exec_ext in '' $ac_executable_extensions; do
4974
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4975
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4976
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4982
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4986
GMSGFMT=$ac_cv_path_GMSGFMT
4988
if test -n "$GMSGFMT"; then
4989
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4990
echo "${ECHO_T}$GMSGFMT" >&6
4992
echo "$as_me:$LINENO: result: no" >&5
4993
echo "${ECHO_T}no" >&6
4998
# Prepare PATH_SEPARATOR.
4999
# The user is always right.
5000
if test "${PATH_SEPARATOR+set}" != set; then
5001
echo "#! /bin/sh" >conf$$.sh
5002
echo "exit 0" >>conf$$.sh
5004
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5012
# Find out how to test for executable files. Don't use a zero-byte file,
5013
# as systems may use methods other than mode bits to determine executability.
5014
cat >conf$$.file <<_ASEOF
5018
chmod +x conf$$.file
5019
if test -x conf$$.file >/dev/null 2>&1; then
5020
ac_executable_p="test -x"
5022
ac_executable_p="test -f"
5026
# Extract the first word of "xgettext", so it can be a program name with args.
5027
set dummy xgettext; ac_word=$2
5028
echo "$as_me:$LINENO: checking for $ac_word" >&5
5029
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5030
if test "${ac_cv_path_XGETTEXT+set}" = set; then
5031
echo $ECHO_N "(cached) $ECHO_C" >&6
5035
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5038
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5039
for ac_dir in $PATH; do
5041
test -z "$ac_dir" && ac_dir=.
5042
for ac_exec_ext in '' $ac_executable_extensions; do
5043
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5044
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5045
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5046
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5053
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5057
XGETTEXT="$ac_cv_path_XGETTEXT"
5058
if test "$XGETTEXT" != ":"; then
5059
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5060
echo "${ECHO_T}$XGETTEXT" >&6
5062
echo "$as_me:$LINENO: result: no" >&5
5063
echo "${ECHO_T}no" >&6
5069
# Prepare PATH_SEPARATOR.
5070
# The user is always right.
5071
if test "${PATH_SEPARATOR+set}" != set; then
5072
echo "#! /bin/sh" >conf$$.sh
5073
echo "exit 0" >>conf$$.sh
5075
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5083
# Find out how to test for executable files. Don't use a zero-byte file,
5084
# as systems may use methods other than mode bits to determine executability.
5085
cat >conf$$.file <<_ASEOF
5089
chmod +x conf$$.file
5090
if test -x conf$$.file >/dev/null 2>&1; then
5091
ac_executable_p="test -x"
5093
ac_executable_p="test -f"
5097
# Extract the first word of "msgmerge", so it can be a program name with args.
5098
set dummy msgmerge; ac_word=$2
5099
echo "$as_me:$LINENO: checking for $ac_word" >&5
5100
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5101
if test "${ac_cv_path_MSGMERGE+set}" = set; then
5102
echo $ECHO_N "(cached) $ECHO_C" >&6
5106
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5109
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5110
for ac_dir in $PATH; do
5112
test -z "$ac_dir" && ac_dir=.
5113
for ac_exec_ext in '' $ac_executable_extensions; do
5114
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5115
if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
5116
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5123
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5127
MSGMERGE="$ac_cv_path_MSGMERGE"
5128
if test "$MSGMERGE" != ":"; then
5129
echo "$as_me:$LINENO: result: $MSGMERGE" >&5
5130
echo "${ECHO_T}$MSGMERGE" >&6
5132
echo "$as_me:$LINENO: result: no" >&5
5133
echo "${ECHO_T}no" >&6
5137
if test "$GMSGFMT" != ":"; then
5138
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
5139
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5142
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5143
echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5144
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
5149
if test "$XGETTEXT" != ":"; then
5150
if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5151
(if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5154
echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5155
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5161
ac_config_commands="$ac_config_commands default-1"
5165
if test "X$prefix" = "XNONE"; then
5166
acl_final_prefix="$ac_default_prefix"
5168
acl_final_prefix="$prefix"
5170
if test "X$exec_prefix" = "XNONE"; then
5171
acl_final_exec_prefix='${prefix}'
5173
acl_final_exec_prefix="$exec_prefix"
5175
acl_save_prefix="$prefix"
5176
prefix="$acl_final_prefix"
5177
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5178
prefix="$acl_save_prefix"
5181
# Check whether --with-gnu-ld or --without-gnu-ld was given.
5182
if test "${with_gnu_ld+set}" = set; then
5183
withval="$with_gnu_ld"
5184
test "$withval" = no || with_gnu_ld=yes
5188
# Prepare PATH_SEPARATOR.
5189
# The user is always right.
5190
if test "${PATH_SEPARATOR+set}" != set; then
5191
echo "#! /bin/sh" >conf$$.sh
5192
echo "exit 0" >>conf$$.sh
5194
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5202
if test "$GCC" = yes; then
5203
# Check if gcc -print-prog-name=ld gives a path.
5204
echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5205
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5208
# gcc leaves a trailing carriage return which upsets mingw
5209
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5211
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5214
# Accept absolute paths.
5215
[\\/]* | [A-Za-z]:[\\/]*)
5216
re_direlt='/[^/][^/]*/\.\./'
5217
# Canonicalize the path of ld
5218
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5219
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5220
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5222
test -z "$LD" && LD="$ac_prog"
5225
# If it fails, then pretend we aren't using GCC.
5229
# If it is relative, then search for the first ld in PATH.
5233
elif test "$with_gnu_ld" = yes; then
5234
echo "$as_me:$LINENO: checking for GNU ld" >&5
5235
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5237
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5238
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5240
if test "${acl_cv_path_LD+set}" = set; then
5241
echo $ECHO_N "(cached) $ECHO_C" >&6
5243
if test -z "$LD"; then
5244
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5245
for ac_dir in $PATH; do
5246
test -z "$ac_dir" && ac_dir=.
5247
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5248
acl_cv_path_LD="$ac_dir/$ac_prog"
5249
# Check to see if the program is GNU ld. I'd rather use --version,
5250
# but apparently some GNU ld's only accept -v.
5251
# Break only if it was the GNU/non-GNU ld that we prefer.
5252
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5253
*GNU* | *'with BFD'*)
5254
test "$with_gnu_ld" != no && break ;;
5256
test "$with_gnu_ld" != yes && break ;;
5262
acl_cv_path_LD="$LD" # Let the user override the test with a path.
5266
LD="$acl_cv_path_LD"
5267
if test -n "$LD"; then
5268
echo "$as_me:$LINENO: result: $LD" >&5
5269
echo "${ECHO_T}$LD" >&6
5271
echo "$as_me:$LINENO: result: no" >&5
5272
echo "${ECHO_T}no" >&6
5274
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5275
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5276
{ (exit 1); exit 1; }; }
5277
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5278
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5279
if test "${acl_cv_prog_gnu_ld+set}" = set; then
5280
echo $ECHO_N "(cached) $ECHO_C" >&6
5282
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
5283
case `$LD -v 2>&1 </dev/null` in
5284
*GNU* | *'with BFD'*)
5285
acl_cv_prog_gnu_ld=yes ;;
5287
acl_cv_prog_gnu_ld=no ;;
5290
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
5291
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
5292
with_gnu_ld=$acl_cv_prog_gnu_ld
5296
echo "$as_me:$LINENO: checking for shared library run path origin" >&5
5297
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
5298
if test "${acl_cv_rpath+set}" = set; then
5299
echo $ECHO_N "(cached) $ECHO_C" >&6
5302
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5303
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5309
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
5310
echo "${ECHO_T}$acl_cv_rpath" >&6
5312
libext="$acl_cv_libext"
5313
shlibext="$acl_cv_shlibext"
5314
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5315
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5316
hardcode_direct="$acl_cv_hardcode_direct"
5317
hardcode_minus_L="$acl_cv_hardcode_minus_L"
5318
# Check whether --enable-rpath or --disable-rpath was given.
5319
if test "${enable_rpath+set}" = set; then
5320
enableval="$enable_rpath"
5334
acl_save_prefix="$prefix"
5335
prefix="$acl_final_prefix"
5336
acl_save_exec_prefix="$exec_prefix"
5337
exec_prefix="$acl_final_exec_prefix"
5339
eval additional_includedir=\"$includedir\"
5340
eval additional_libdir=\"$libdir\"
5342
exec_prefix="$acl_save_exec_prefix"
5343
prefix="$acl_save_prefix"
5346
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
5347
if test "${with_libiconv_prefix+set}" = set; then
5348
withval="$with_libiconv_prefix"
5350
if test "X$withval" = "Xno"; then
5353
if test "X$withval" = "X"; then
5355
acl_save_prefix="$prefix"
5356
prefix="$acl_final_prefix"
5357
acl_save_exec_prefix="$exec_prefix"
5358
exec_prefix="$acl_final_exec_prefix"
5360
eval additional_includedir=\"$includedir\"
5361
eval additional_libdir=\"$libdir\"
5363
exec_prefix="$acl_save_exec_prefix"
5364
prefix="$acl_save_prefix"
5367
additional_includedir="$withval/include"
5368
additional_libdir="$withval/lib"
5378
names_already_handled=
5379
names_next_round='iconv '
5380
while test -n "$names_next_round"; do
5381
names_this_round="$names_next_round"
5383
for name in $names_this_round; do
5385
for n in $names_already_handled; do
5386
if test "$n" = "$name"; then
5391
if test -z "$already_handled"; then
5392
names_already_handled="$names_already_handled $name"
5393
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5394
eval value=\"\$HAVE_LIB$uppername\"
5395
if test -n "$value"; then
5396
if test "$value" = yes; then
5397
eval value=\"\$LIB$uppername\"
5398
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5399
eval value=\"\$LTLIB$uppername\"
5400
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5409
if test $use_additional = yes; then
5410
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5411
found_dir="$additional_libdir"
5412
found_so="$additional_libdir/lib$name.$shlibext"
5413
if test -f "$additional_libdir/lib$name.la"; then
5414
found_la="$additional_libdir/lib$name.la"
5417
if test -f "$additional_libdir/lib$name.$libext"; then
5418
found_dir="$additional_libdir"
5419
found_a="$additional_libdir/lib$name.$libext"
5420
if test -f "$additional_libdir/lib$name.la"; then
5421
found_la="$additional_libdir/lib$name.la"
5426
if test "X$found_dir" = "X"; then
5427
for x in $LDFLAGS $LTLIBICONV; do
5429
acl_save_prefix="$prefix"
5430
prefix="$acl_final_prefix"
5431
acl_save_exec_prefix="$exec_prefix"
5432
exec_prefix="$acl_final_exec_prefix"
5434
exec_prefix="$acl_save_exec_prefix"
5435
prefix="$acl_save_prefix"
5439
dir=`echo "X$x" | sed -e 's/^X-L//'`
5440
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5442
found_so="$dir/lib$name.$shlibext"
5443
if test -f "$dir/lib$name.la"; then
5444
found_la="$dir/lib$name.la"
5447
if test -f "$dir/lib$name.$libext"; then
5449
found_a="$dir/lib$name.$libext"
5450
if test -f "$dir/lib$name.la"; then
5451
found_la="$dir/lib$name.la"
5457
if test "X$found_dir" != "X"; then
5462
if test "X$found_dir" != "X"; then
5463
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5464
if test "X$found_so" != "X"; then
5465
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
5466
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5469
for x in $ltrpathdirs; do
5470
if test "X$x" = "X$found_dir"; then
5475
if test -z "$haveit"; then
5476
ltrpathdirs="$ltrpathdirs $found_dir"
5478
if test "$hardcode_direct" = yes; then
5479
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5481
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5482
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5484
for x in $rpathdirs; do
5485
if test "X$x" = "X$found_dir"; then
5490
if test -z "$haveit"; then
5491
rpathdirs="$rpathdirs $found_dir"
5495
for x in $LDFLAGS $LIBICONV; do
5497
acl_save_prefix="$prefix"
5498
prefix="$acl_final_prefix"
5499
acl_save_exec_prefix="$exec_prefix"
5500
exec_prefix="$acl_final_exec_prefix"
5502
exec_prefix="$acl_save_exec_prefix"
5503
prefix="$acl_save_prefix"
5505
if test "X$x" = "X-L$found_dir"; then
5510
if test -z "$haveit"; then
5511
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5513
if test "$hardcode_minus_L" != no; then
5514
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5516
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5522
if test "X$found_a" != "X"; then
5523
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5525
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5528
additional_includedir=
5529
case "$found_dir" in
5531
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5532
additional_includedir="$basedir/include"
5535
if test "X$additional_includedir" != "X"; then
5536
if test "X$additional_includedir" != "X/usr/include"; then
5538
if test "X$additional_includedir" = "X/usr/local/include"; then
5539
if test -n "$GCC"; then
5541
linux*) haveit=yes;;
5545
if test -z "$haveit"; then
5546
for x in $CPPFLAGS $INCICONV; do
5548
acl_save_prefix="$prefix"
5549
prefix="$acl_final_prefix"
5550
acl_save_exec_prefix="$exec_prefix"
5551
exec_prefix="$acl_final_exec_prefix"
5553
exec_prefix="$acl_save_exec_prefix"
5554
prefix="$acl_save_prefix"
5556
if test "X$x" = "X-I$additional_includedir"; then
5561
if test -z "$haveit"; then
5562
if test -d "$additional_includedir"; then
5563
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5569
if test -n "$found_la"; then
5570
save_libdir="$libdir"
5572
*/* | *\\*) . "$found_la" ;;
5573
*) . "./$found_la" ;;
5575
libdir="$save_libdir"
5576
for dep in $dependency_libs; do
5579
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5580
if test "X$additional_libdir" != "X/usr/lib"; then
5582
if test "X$additional_libdir" = "X/usr/local/lib"; then
5583
if test -n "$GCC"; then
5585
linux*) haveit=yes;;
5589
if test -z "$haveit"; then
5591
for x in $LDFLAGS $LIBICONV; do
5593
acl_save_prefix="$prefix"
5594
prefix="$acl_final_prefix"
5595
acl_save_exec_prefix="$exec_prefix"
5596
exec_prefix="$acl_final_exec_prefix"
5598
exec_prefix="$acl_save_exec_prefix"
5599
prefix="$acl_save_prefix"
5601
if test "X$x" = "X-L$additional_libdir"; then
5606
if test -z "$haveit"; then
5607
if test -d "$additional_libdir"; then
5608
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5612
for x in $LDFLAGS $LTLIBICONV; do
5614
acl_save_prefix="$prefix"
5615
prefix="$acl_final_prefix"
5616
acl_save_exec_prefix="$exec_prefix"
5617
exec_prefix="$acl_final_exec_prefix"
5619
exec_prefix="$acl_save_exec_prefix"
5620
prefix="$acl_save_prefix"
5622
if test "X$x" = "X-L$additional_libdir"; then
5627
if test -z "$haveit"; then
5628
if test -d "$additional_libdir"; then
5629
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5636
dir=`echo "X$dep" | sed -e 's/^X-R//'`
5637
if test "$enable_rpath" != no; then
5639
for x in $rpathdirs; do
5640
if test "X$x" = "X$dir"; then
5645
if test -z "$haveit"; then
5646
rpathdirs="$rpathdirs $dir"
5649
for x in $ltrpathdirs; do
5650
if test "X$x" = "X$dir"; then
5655
if test -z "$haveit"; then
5656
ltrpathdirs="$ltrpathdirs $dir"
5661
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5664
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5667
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5668
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5674
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5675
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5681
if test "X$rpathdirs" != "X"; then
5682
if test -n "$hardcode_libdir_separator"; then
5684
for found_dir in $rpathdirs; do
5685
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5687
acl_save_libdir="$libdir"
5689
eval flag=\"$hardcode_libdir_flag_spec\"
5690
libdir="$acl_save_libdir"
5691
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5693
for found_dir in $rpathdirs; do
5694
acl_save_libdir="$libdir"
5696
eval flag=\"$hardcode_libdir_flag_spec\"
5697
libdir="$acl_save_libdir"
5698
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5702
if test "X$ltrpathdirs" != "X"; then
5703
for found_dir in $ltrpathdirs; do
5704
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5725
echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5726
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5727
# Check whether --enable-nls or --disable-nls was given.
5728
if test "${enable_nls+set}" = set; then
5729
enableval="$enable_nls"
5734
echo "$as_me:$LINENO: result: $USE_NLS" >&5
5735
echo "${ECHO_T}$USE_NLS" >&6
5744
if test "$USE_NLS" = "yes"; then
5745
gt_use_preinstalled_gnugettext=no
5752
echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
5753
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
5754
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
5755
echo $ECHO_N "(cached) $ECHO_C" >&6
5757
cat >conftest.$ac_ext <<_ACEOF
5760
cat confdefs.h >>conftest.$ac_ext
5761
cat >>conftest.$ac_ext <<_ACEOF
5762
/* end confdefs.h. */
5763
#include <libintl.h>
5764
extern int _nl_msg_cat_cntr;
5765
extern int *_nl_domain_bindings;
5769
bindtextdomain ("", "");
5770
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
5775
rm -f conftest.$ac_objext conftest$ac_exeext
5776
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5777
(eval $ac_link) 2>conftest.er1
5779
grep -v '^ *+' conftest.er1 >conftest.err
5781
cat conftest.err >&5
5782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783
(exit $ac_status); } &&
5784
{ ac_try='test -z "$ac_c_werror_flag"
5785
|| test ! -s conftest.err'
5786
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5789
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790
(exit $ac_status); }; } &&
5791
{ ac_try='test -s conftest$ac_exeext'
5792
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796
(exit $ac_status); }; }; then
5797
gt_cv_func_gnugettext1_libc=yes
5799
echo "$as_me: failed program was:" >&5
5800
sed 's/^/| /' conftest.$ac_ext >&5
5802
gt_cv_func_gnugettext1_libc=no
5804
rm -f conftest.err conftest.$ac_objext \
5805
conftest$ac_exeext conftest.$ac_ext
5807
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
5808
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
5810
if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
5816
am_save_CPPFLAGS="$CPPFLAGS"
5818
for element in $INCICONV; do
5820
for x in $CPPFLAGS; do
5822
acl_save_prefix="$prefix"
5823
prefix="$acl_final_prefix"
5824
acl_save_exec_prefix="$exec_prefix"
5825
exec_prefix="$acl_final_exec_prefix"
5827
exec_prefix="$acl_save_exec_prefix"
5828
prefix="$acl_save_prefix"
5830
if test "X$x" = "X$element"; then
5835
if test -z "$haveit"; then
5836
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5841
echo "$as_me:$LINENO: checking for iconv" >&5
5842
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
5843
if test "${am_cv_func_iconv+set}" = set; then
5844
echo $ECHO_N "(cached) $ECHO_C" >&6
5847
am_cv_func_iconv="no, consider installing GNU libiconv"
5849
cat >conftest.$ac_ext <<_ACEOF
5852
cat confdefs.h >>conftest.$ac_ext
5853
cat >>conftest.$ac_ext <<_ACEOF
5854
/* end confdefs.h. */
5860
iconv_t cd = iconv_open("","");
5861
iconv(cd,NULL,NULL,NULL,NULL);
5867
rm -f conftest.$ac_objext conftest$ac_exeext
5868
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5869
(eval $ac_link) 2>conftest.er1
5871
grep -v '^ *+' conftest.er1 >conftest.err
5873
cat conftest.err >&5
5874
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875
(exit $ac_status); } &&
5876
{ ac_try='test -z "$ac_c_werror_flag"
5877
|| test ! -s conftest.err'
5878
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882
(exit $ac_status); }; } &&
5883
{ ac_try='test -s conftest$ac_exeext'
5884
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5887
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5888
(exit $ac_status); }; }; then
5889
am_cv_func_iconv=yes
5891
echo "$as_me: failed program was:" >&5
5892
sed 's/^/| /' conftest.$ac_ext >&5
5895
rm -f conftest.err conftest.$ac_objext \
5896
conftest$ac_exeext conftest.$ac_ext
5897
if test "$am_cv_func_iconv" != yes; then
5898
am_save_LIBS="$LIBS"
5899
LIBS="$LIBS $LIBICONV"
5900
cat >conftest.$ac_ext <<_ACEOF
5903
cat confdefs.h >>conftest.$ac_ext
5904
cat >>conftest.$ac_ext <<_ACEOF
5905
/* end confdefs.h. */
5911
iconv_t cd = iconv_open("","");
5912
iconv(cd,NULL,NULL,NULL,NULL);
5918
rm -f conftest.$ac_objext conftest$ac_exeext
5919
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5920
(eval $ac_link) 2>conftest.er1
5922
grep -v '^ *+' conftest.er1 >conftest.err
5924
cat conftest.err >&5
5925
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926
(exit $ac_status); } &&
5927
{ ac_try='test -z "$ac_c_werror_flag"
5928
|| test ! -s conftest.err'
5929
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5932
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933
(exit $ac_status); }; } &&
5934
{ ac_try='test -s conftest$ac_exeext'
5935
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5938
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939
(exit $ac_status); }; }; then
5941
am_cv_func_iconv=yes
5943
echo "$as_me: failed program was:" >&5
5944
sed 's/^/| /' conftest.$ac_ext >&5
5947
rm -f conftest.err conftest.$ac_objext \
5948
conftest$ac_exeext conftest.$ac_ext
5949
LIBS="$am_save_LIBS"
5953
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
5954
echo "${ECHO_T}$am_cv_func_iconv" >&6
5955
if test "$am_cv_func_iconv" = yes; then
5957
cat >>confdefs.h <<\_ACEOF
5958
#define HAVE_ICONV 1
5962
if test "$am_cv_lib_iconv" = yes; then
5963
echo "$as_me:$LINENO: checking how to link with libiconv" >&5
5964
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
5965
echo "$as_me:$LINENO: result: $LIBICONV" >&5
5966
echo "${ECHO_T}$LIBICONV" >&6
5968
CPPFLAGS="$am_save_CPPFLAGS"
5980
acl_save_prefix="$prefix"
5981
prefix="$acl_final_prefix"
5982
acl_save_exec_prefix="$exec_prefix"
5983
exec_prefix="$acl_final_exec_prefix"
5985
eval additional_includedir=\"$includedir\"
5986
eval additional_libdir=\"$libdir\"
5988
exec_prefix="$acl_save_exec_prefix"
5989
prefix="$acl_save_prefix"
5992
# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
5993
if test "${with_libintl_prefix+set}" = set; then
5994
withval="$with_libintl_prefix"
5996
if test "X$withval" = "Xno"; then
5999
if test "X$withval" = "X"; then
6001
acl_save_prefix="$prefix"
6002
prefix="$acl_final_prefix"
6003
acl_save_exec_prefix="$exec_prefix"
6004
exec_prefix="$acl_final_exec_prefix"
6006
eval additional_includedir=\"$includedir\"
6007
eval additional_libdir=\"$libdir\"
6009
exec_prefix="$acl_save_exec_prefix"
6010
prefix="$acl_save_prefix"
6013
additional_includedir="$withval/include"
6014
additional_libdir="$withval/lib"
6024
names_already_handled=
6025
names_next_round='intl '
6026
while test -n "$names_next_round"; do
6027
names_this_round="$names_next_round"
6029
for name in $names_this_round; do
6031
for n in $names_already_handled; do
6032
if test "$n" = "$name"; then
6037
if test -z "$already_handled"; then
6038
names_already_handled="$names_already_handled $name"
6039
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6040
eval value=\"\$HAVE_LIB$uppername\"
6041
if test -n "$value"; then
6042
if test "$value" = yes; then
6043
eval value=\"\$LIB$uppername\"
6044
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6045
eval value=\"\$LTLIB$uppername\"
6046
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6055
if test $use_additional = yes; then
6056
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6057
found_dir="$additional_libdir"
6058
found_so="$additional_libdir/lib$name.$shlibext"
6059
if test -f "$additional_libdir/lib$name.la"; then
6060
found_la="$additional_libdir/lib$name.la"
6063
if test -f "$additional_libdir/lib$name.$libext"; then
6064
found_dir="$additional_libdir"
6065
found_a="$additional_libdir/lib$name.$libext"
6066
if test -f "$additional_libdir/lib$name.la"; then
6067
found_la="$additional_libdir/lib$name.la"
6072
if test "X$found_dir" = "X"; then
6073
for x in $LDFLAGS $LTLIBINTL; do
6075
acl_save_prefix="$prefix"
6076
prefix="$acl_final_prefix"
6077
acl_save_exec_prefix="$exec_prefix"
6078
exec_prefix="$acl_final_exec_prefix"
6080
exec_prefix="$acl_save_exec_prefix"
6081
prefix="$acl_save_prefix"
6085
dir=`echo "X$x" | sed -e 's/^X-L//'`
6086
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6088
found_so="$dir/lib$name.$shlibext"
6089
if test -f "$dir/lib$name.la"; then
6090
found_la="$dir/lib$name.la"
6093
if test -f "$dir/lib$name.$libext"; then
6095
found_a="$dir/lib$name.$libext"
6096
if test -f "$dir/lib$name.la"; then
6097
found_la="$dir/lib$name.la"
6103
if test "X$found_dir" != "X"; then
6108
if test "X$found_dir" != "X"; then
6109
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6110
if test "X$found_so" != "X"; then
6111
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
6112
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6115
for x in $ltrpathdirs; do
6116
if test "X$x" = "X$found_dir"; then
6121
if test -z "$haveit"; then
6122
ltrpathdirs="$ltrpathdirs $found_dir"
6124
if test "$hardcode_direct" = yes; then
6125
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6127
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
6128
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6130
for x in $rpathdirs; do
6131
if test "X$x" = "X$found_dir"; then
6136
if test -z "$haveit"; then
6137
rpathdirs="$rpathdirs $found_dir"
6141
for x in $LDFLAGS $LIBINTL; do
6143
acl_save_prefix="$prefix"
6144
prefix="$acl_final_prefix"
6145
acl_save_exec_prefix="$exec_prefix"
6146
exec_prefix="$acl_final_exec_prefix"
6148
exec_prefix="$acl_save_exec_prefix"
6149
prefix="$acl_save_prefix"
6151
if test "X$x" = "X-L$found_dir"; then
6156
if test -z "$haveit"; then
6157
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6159
if test "$hardcode_minus_L" != no; then
6160
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6162
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6168
if test "X$found_a" != "X"; then
6169
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6171
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6174
additional_includedir=
6175
case "$found_dir" in
6177
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6178
additional_includedir="$basedir/include"
6181
if test "X$additional_includedir" != "X"; then
6182
if test "X$additional_includedir" != "X/usr/include"; then
6184
if test "X$additional_includedir" = "X/usr/local/include"; then
6185
if test -n "$GCC"; then
6187
linux*) haveit=yes;;
6191
if test -z "$haveit"; then
6192
for x in $CPPFLAGS $INCINTL; do
6194
acl_save_prefix="$prefix"
6195
prefix="$acl_final_prefix"
6196
acl_save_exec_prefix="$exec_prefix"
6197
exec_prefix="$acl_final_exec_prefix"
6199
exec_prefix="$acl_save_exec_prefix"
6200
prefix="$acl_save_prefix"
6202
if test "X$x" = "X-I$additional_includedir"; then
6207
if test -z "$haveit"; then
6208
if test -d "$additional_includedir"; then
6209
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6215
if test -n "$found_la"; then
6216
save_libdir="$libdir"
6218
*/* | *\\*) . "$found_la" ;;
6219
*) . "./$found_la" ;;
6221
libdir="$save_libdir"
6222
for dep in $dependency_libs; do
6225
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6226
if test "X$additional_libdir" != "X/usr/lib"; then
6228
if test "X$additional_libdir" = "X/usr/local/lib"; then
6229
if test -n "$GCC"; then
6231
linux*) haveit=yes;;
6235
if test -z "$haveit"; then
6237
for x in $LDFLAGS $LIBINTL; do
6239
acl_save_prefix="$prefix"
6240
prefix="$acl_final_prefix"
6241
acl_save_exec_prefix="$exec_prefix"
6242
exec_prefix="$acl_final_exec_prefix"
6244
exec_prefix="$acl_save_exec_prefix"
6245
prefix="$acl_save_prefix"
6247
if test "X$x" = "X-L$additional_libdir"; then
6252
if test -z "$haveit"; then
6253
if test -d "$additional_libdir"; then
6254
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6258
for x in $LDFLAGS $LTLIBINTL; do
6260
acl_save_prefix="$prefix"
6261
prefix="$acl_final_prefix"
6262
acl_save_exec_prefix="$exec_prefix"
6263
exec_prefix="$acl_final_exec_prefix"
6265
exec_prefix="$acl_save_exec_prefix"
6266
prefix="$acl_save_prefix"
6268
if test "X$x" = "X-L$additional_libdir"; then
6273
if test -z "$haveit"; then
6274
if test -d "$additional_libdir"; then
6275
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6282
dir=`echo "X$dep" | sed -e 's/^X-R//'`
6283
if test "$enable_rpath" != no; then
6285
for x in $rpathdirs; do
6286
if test "X$x" = "X$dir"; then
6291
if test -z "$haveit"; then
6292
rpathdirs="$rpathdirs $dir"
6295
for x in $ltrpathdirs; do
6296
if test "X$x" = "X$dir"; then
6301
if test -z "$haveit"; then
6302
ltrpathdirs="$ltrpathdirs $dir"
6307
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6310
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6313
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6314
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6320
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6321
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6327
if test "X$rpathdirs" != "X"; then
6328
if test -n "$hardcode_libdir_separator"; then
6330
for found_dir in $rpathdirs; do
6331
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6333
acl_save_libdir="$libdir"
6335
eval flag=\"$hardcode_libdir_flag_spec\"
6336
libdir="$acl_save_libdir"
6337
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6339
for found_dir in $rpathdirs; do
6340
acl_save_libdir="$libdir"
6342
eval flag=\"$hardcode_libdir_flag_spec\"
6343
libdir="$acl_save_libdir"
6344
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6348
if test "X$ltrpathdirs" != "X"; then
6349
for found_dir in $ltrpathdirs; do
6350
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6354
echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
6355
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
6356
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
6357
echo $ECHO_N "(cached) $ECHO_C" >&6
6359
gt_save_CPPFLAGS="$CPPFLAGS"
6360
CPPFLAGS="$CPPFLAGS $INCINTL"
6361
gt_save_LIBS="$LIBS"
6362
LIBS="$LIBS $LIBINTL"
6363
cat >conftest.$ac_ext <<_ACEOF
6366
cat confdefs.h >>conftest.$ac_ext
6367
cat >>conftest.$ac_ext <<_ACEOF
6368
/* end confdefs.h. */
6369
#include <libintl.h>
6370
extern int _nl_msg_cat_cntr;
6375
const char *_nl_expand_alias ();
6379
bindtextdomain ("", "");
6380
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6385
rm -f conftest.$ac_objext conftest$ac_exeext
6386
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6387
(eval $ac_link) 2>conftest.er1
6389
grep -v '^ *+' conftest.er1 >conftest.err
6391
cat conftest.err >&5
6392
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393
(exit $ac_status); } &&
6394
{ ac_try='test -z "$ac_c_werror_flag"
6395
|| test ! -s conftest.err'
6396
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6399
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400
(exit $ac_status); }; } &&
6401
{ ac_try='test -s conftest$ac_exeext'
6402
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6405
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406
(exit $ac_status); }; }; then
6407
gt_cv_func_gnugettext1_libintl=yes
6409
echo "$as_me: failed program was:" >&5
6410
sed 's/^/| /' conftest.$ac_ext >&5
6412
gt_cv_func_gnugettext1_libintl=no
6414
rm -f conftest.err conftest.$ac_objext \
6415
conftest$ac_exeext conftest.$ac_ext
6416
if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
6417
LIBS="$LIBS $LIBICONV"
6418
cat >conftest.$ac_ext <<_ACEOF
6421
cat confdefs.h >>conftest.$ac_ext
6422
cat >>conftest.$ac_ext <<_ACEOF
6423
/* end confdefs.h. */
6424
#include <libintl.h>
6425
extern int _nl_msg_cat_cntr;
6430
const char *_nl_expand_alias ();
6434
bindtextdomain ("", "");
6435
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6440
rm -f conftest.$ac_objext conftest$ac_exeext
6441
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6442
(eval $ac_link) 2>conftest.er1
6444
grep -v '^ *+' conftest.er1 >conftest.err
6446
cat conftest.err >&5
6447
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448
(exit $ac_status); } &&
6449
{ ac_try='test -z "$ac_c_werror_flag"
6450
|| test ! -s conftest.err'
6451
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6454
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455
(exit $ac_status); }; } &&
6456
{ ac_try='test -s conftest$ac_exeext'
6457
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6460
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461
(exit $ac_status); }; }; then
6462
LIBINTL="$LIBINTL $LIBICONV"
6463
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6464
gt_cv_func_gnugettext1_libintl=yes
6467
echo "$as_me: failed program was:" >&5
6468
sed 's/^/| /' conftest.$ac_ext >&5
6471
rm -f conftest.err conftest.$ac_objext \
6472
conftest$ac_exeext conftest.$ac_ext
6474
CPPFLAGS="$gt_save_CPPFLAGS"
6475
LIBS="$gt_save_LIBS"
6477
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
6478
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
6481
if test "$gt_cv_func_gnugettext1_libc" = "yes" \
6482
|| { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
6483
&& test "$PACKAGE" != gettext-runtime \
6484
&& test "$PACKAGE" != gettext-tools; }; then
6485
gt_use_preinstalled_gnugettext=yes
6494
if test "$gt_use_preinstalled_gnugettext" = "yes" \
6495
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
6497
cat >>confdefs.h <<\_ACEOF
6498
#define ENABLE_NLS 1
6506
echo "$as_me:$LINENO: checking whether to use NLS" >&5
6507
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
6508
echo "$as_me:$LINENO: result: $USE_NLS" >&5
6509
echo "${ECHO_T}$USE_NLS" >&6
6510
if test "$USE_NLS" = "yes"; then
6511
echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
6512
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
6513
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6514
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6515
gt_source="external libintl"
6520
gt_source="included intl directory"
6522
echo "$as_me:$LINENO: result: $gt_source" >&5
6523
echo "${ECHO_T}$gt_source" >&6
6526
if test "$USE_NLS" = "yes"; then
6528
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6529
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6530
echo "$as_me:$LINENO: checking how to link with libintl" >&5
6531
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
6532
echo "$as_me:$LINENO: result: $LIBINTL" >&5
6533
echo "${ECHO_T}$LIBINTL" >&6
6535
for element in $INCINTL; do
6537
for x in $CPPFLAGS; do
6539
acl_save_prefix="$prefix"
6540
prefix="$acl_final_prefix"
6541
acl_save_exec_prefix="$exec_prefix"
6542
exec_prefix="$acl_final_exec_prefix"
6544
exec_prefix="$acl_save_exec_prefix"
6545
prefix="$acl_save_prefix"
6547
if test "X$x" = "X$element"; then
6552
if test -z "$haveit"; then
6553
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6560
cat >>confdefs.h <<\_ACEOF
6561
#define HAVE_GETTEXT 1
6565
cat >>confdefs.h <<\_ACEOF
6566
#define HAVE_DCGETTEXT 1
6590
"clnt_udp.$ac_objext" | \
6591
*" clnt_udp.$ac_objext" | \
6592
"clnt_udp.$ac_objext "* | \
6593
*" clnt_udp.$ac_objext "* ) ;;
6594
*) LIBOBJS="$LIBOBJS clnt_udp.$ac_objext" ;;
6599
echo "*** ypbind-mt is currently not well tested with Linux libc5."
6600
echo "*** libc5 is not really threadsafe, and you need a working"
6601
echo "*** pthread package for it. I'm using linuxthreads 0.7.1 for"
6602
echo "*** development."
6608
echo "$as_me:$LINENO: checking wether we have glibc 2.1 or later" >&5
6609
echo $ECHO_N "checking wether we have glibc 2.1 or later... $ECHO_C" >&6
6610
cat >conftest.$ac_ext <<_ACEOF
6613
cat confdefs.h >>conftest.$ac_ext
6614
cat >>conftest.$ac_ext <<_ACEOF
6615
/* end confdefs.h. */
6616
#include <features.h>
6620
#if defined(__GLIBC__) && \
6621
(((__GLIBC__ == 2) && (__GLIBC_MINOR__ > 0)) || (__GLIBC__ > 2))
6623
#error Library needs fixed clntudp_call
6629
rm -f conftest.$ac_objext
6630
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6631
(eval $ac_compile) 2>conftest.er1
6633
grep -v '^ *+' conftest.er1 >conftest.err
6635
cat conftest.err >&5
6636
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637
(exit $ac_status); } &&
6638
{ ac_try='test -z "$ac_c_werror_flag"
6639
|| test ! -s conftest.err'
6640
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6643
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644
(exit $ac_status); }; } &&
6645
{ ac_try='test -s conftest.$ac_objext'
6646
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6649
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6650
(exit $ac_status); }; }; then
6653
echo "$as_me: failed program was:" >&5
6654
sed 's/^/| /' conftest.$ac_ext >&5
6658
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6659
if test x"$CLNTUDPSRC" = x"yes"; then
6660
echo "$as_me:$LINENO: result: yes" >&5
6661
echo "${ECHO_T}yes" >&6
6663
echo "$as_me:$LINENO: result: no" >&5
6664
echo "${ECHO_T}no" >&6
6666
"clnt_udp.$ac_objext" | \
6667
*" clnt_udp.$ac_objext" | \
6668
"clnt_udp.$ac_objext "* | \
6669
*" clnt_udp.$ac_objext "* ) ;;
6670
*) LIBOBJS="$LIBOBJS clnt_udp.$ac_objext" ;;
6675
solaris2.6 | solaris2.5.1 | solaris2.5)
6680
echo "*** ypbind-mt is currently not tested on this platform."
6681
echo "*** I don't know if it will work. If it works, please send"
6682
echo "*** an email to <kukuk@suse.de> and tell me"
6683
echo "*** that this program will work on the platform"
6684
echo "*** "$host_cpu-$host_vendor-$host_os", so that I could add it."
6687
echo "*** Thorsten Kukuk"
6695
ac_config_files="$ac_config_files Makefile lib/Makefile src/Makefile man/Makefile m4/Makefile po/Makefile.in man/yp.conf.5 man/ypbind.8"
6696
cat >confcache <<\_ACEOF
6697
# This file is a shell script that caches the results of configure
6698
# tests run on this system so they can be shared between configure
6699
# scripts and configure runs, see configure's option --config-cache.
6700
# It is not useful on other systems. If it contains results you don't
6701
# want to keep, you may remove or edit it.
6703
# config.status only pays attention to the cache file if you give it
6704
# the --recheck option to rerun configure.
6706
# `ac_cv_env_foo' variables (set or unset) will be overridden when
6707
# loading this file, other *unset* `ac_cv_foo' will be assigned the
6712
# The following way of writing the cache mishandles newlines in values,
6713
# but we know of no workaround that is simple, portable, and efficient.
6714
# So, don't put newlines in cache variables' values.
6715
# Ultrix sh set writes to stderr and can't be redirected directly,
6716
# and sets the high bit in the cache file unless we assign to the vars.
6719
case `(ac_space=' '; set | grep ac_space) 2>&1` in
6721
# `set' does not quote correctly, so add quotes (double-quote
6722
# substitution turns \\\\ into \\, and sed turns \\ into \).
6725
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6728
# `set' quotes correctly as required by POSIX, so do not add quotes.
6730
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6737
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6739
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6741
if diff $cache_file confcache >/dev/null 2>&1; then :; else
6742
if test -w $cache_file; then
6743
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6744
cat confcache >$cache_file
6746
echo "not updating unwritable cache $cache_file"
6751
test "x$prefix" = xNONE && prefix=$ac_default_prefix
6752
# Let make expand exec_prefix.
6753
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6755
# VPATH may cause trouble with some makes, so we remove $(srcdir),
6756
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6757
# trailing colons and then remove the whole line if VPATH becomes empty
6758
# (actually we leave an empty line to preserve line numbers).
6759
if test "x$srcdir" = x.; then
6760
ac_vpsub='/^[ ]*VPATH[ ]*=/{
6761
s/:*\$(srcdir):*/:/;
6762
s/:*\${srcdir}:*/:/;
6764
s/^\([^=]*=[ ]*\):*/\1/;
6770
DEFS=-DHAVE_CONFIG_H
6774
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6775
# 1. Remove the extension, and $U if already installed.
6776
ac_i=`echo "$ac_i" |
6777
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6779
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6780
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6784
LTLIBOBJS=$ac_ltlibobjs
6787
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6788
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6789
Usually this means the macro was only invoked conditionally." >&5
6790
echo "$as_me: error: conditional \"AMDEP\" was never defined.
6791
Usually this means the macro was only invoked conditionally." >&2;}
6792
{ (exit 1); exit 1; }; }
6794
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6795
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6796
Usually this means the macro was only invoked conditionally." >&5
6797
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6798
Usually this means the macro was only invoked conditionally." >&2;}
6799
{ (exit 1); exit 1; }; }
6802
: ${CONFIG_STATUS=./config.status}
6803
ac_clean_files_save=$ac_clean_files
6804
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6805
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6806
echo "$as_me: creating $CONFIG_STATUS" >&6;}
6807
cat >$CONFIG_STATUS <<_ACEOF
6809
# Generated by $as_me.
6810
# Run this file to recreate the current configuration.
6811
# Compiler output produced by configure, useful for debugging
6812
# configure, is in config.log if it exists.
6817
SHELL=\${CONFIG_SHELL-$SHELL}
6820
cat >>$CONFIG_STATUS <<\_ACEOF
6821
## --------------------- ##
6822
## M4sh Initialization. ##
6823
## --------------------- ##
6825
# Be Bourne compatible
6826
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6829
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6830
# is contrary to our usage. Disable this feature.
6831
alias -g '${1+"$@"}'='"$@"'
6832
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6835
DUALCASE=1; export DUALCASE # for MKS sh
6837
# Support unset when possible.
6838
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6845
# Work around bugs in pre-3.0 UWIN ksh.
6846
$as_unset ENV MAIL MAILPATH
6853
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6854
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6855
LC_TELEPHONE LC_TIME
6857
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6858
eval $as_var=C; export $as_var
6864
# Required to use basename.
6865
if expr a : '\(a\)' >/dev/null 2>&1; then
6871
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6872
as_basename=basename
6878
# Name of the executable.
6879
as_me=`$as_basename "$0" ||
6880
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6881
X"$0" : 'X\(//\)$' \| \
6882
X"$0" : 'X\(/\)$' \| \
6883
. : '\(.\)' 2>/dev/null ||
6885
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6886
/^X\/\(\/\/\)$/{ s//\1/; q; }
6887
/^X\/\(\/\).*/{ s//\1/; q; }
6891
# PATH needs CR, and LINENO needs CR and PATH.
6892
# Avoid depending upon Character Ranges.
6893
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6894
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6895
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6896
as_cr_digits='0123456789'
6897
as_cr_alnum=$as_cr_Letters$as_cr_digits
6899
# The user is always right.
6900
if test "${PATH_SEPARATOR+set}" != set; then
6901
echo "#! /bin/sh" >conf$$.sh
6902
echo "exit 0" >>conf$$.sh
6904
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6915
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6916
test "x$as_lineno_1" != "x$as_lineno_2" &&
6917
test "x$as_lineno_3" = "x$as_lineno_2" || {
6918
# Find who we are. Look in the path if we contain no path at all
6921
*[\\/]* ) as_myself=$0 ;;
6922
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926
test -z "$as_dir" && as_dir=.
6927
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6932
# We did not find ourselves, most probably we were run as `sh COMMAND'
6933
# in which case we are not to be found in the path.
6934
if test "x$as_myself" = x; then
6937
if test ! -f "$as_myself"; then
6938
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6939
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6940
{ (exit 1); exit 1; }; }
6942
case $CONFIG_SHELL in
6944
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6948
test -z "$as_dir" && as_dir=.
6949
for as_base in sh bash ksh sh5; do
6952
if ("$as_dir/$as_base" -c '
6955
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6956
test "x$as_lineno_1" != "x$as_lineno_2" &&
6957
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6958
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6959
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6960
CONFIG_SHELL=$as_dir/$as_base
6962
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6970
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6971
# uniformly replaced by the line number. The first 'sed' inserts a
6972
# line-number line before each line; the second 'sed' does the real
6973
# work. The second script uses 'N' to pair each line-number line
6974
# with the numbered line, and appends trailing '-' during
6975
# substitution so that $LINENO is not a special case at line end.
6976
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6977
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6978
sed '=' <$as_myself |
6983
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6986
s,^['$as_cr_digits']*\n,,
6988
chmod +x $as_me.lineno ||
6989
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6990
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6991
{ (exit 1); exit 1; }; }
6993
# Don't try to exec as it changes $[0], causing all sort of problems
6994
# (the dirname of $[0] is not the place where we might find the
6995
# original and so on. Autoconf is especially sensible to this).
6997
# Exit status is that of the last command.
7002
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7003
*c*,-n*) ECHO_N= ECHO_C='
7005
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7006
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7009
if expr a : '\(a\)' >/dev/null 2>&1; then
7015
rm -f conf$$ conf$$.exe conf$$.file
7017
if ln -s conf$$.file conf$$ 2>/dev/null; then
7018
# We could just check for DJGPP; but this test a) works b) is more generic
7019
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7020
if test -f conf$$.exe; then
7021
# Don't use ln at all; we don't have any links
7026
elif ln conf$$.file conf$$ 2>/dev/null; then
7031
rm -f conf$$ conf$$.exe conf$$.file
7033
if mkdir -p . 2>/dev/null; then
7036
test -d ./-p && rmdir ./-p
7040
as_executable_p="test -f"
7042
# Sed expression to map a string onto a valid CPP name.
7043
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7045
# Sed expression to map a string onto a valid variable name.
7046
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7050
# We need space, tab and new line, in precisely that order.
7060
# Open the log real soon, to keep \$[0] and so on meaningful, and to
7061
# report actual input values of CONFIG_FILES etc. instead of their
7062
# values after options handling. Logging --version etc. is OK.
7066
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7067
## Running $as_me. ##
7072
This file was extended by $as_me, which was
7073
generated by GNU Autoconf 2.59. Invocation command line was
7075
CONFIG_FILES = $CONFIG_FILES
7076
CONFIG_HEADERS = $CONFIG_HEADERS
7077
CONFIG_LINKS = $CONFIG_LINKS
7078
CONFIG_COMMANDS = $CONFIG_COMMANDS
7082
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7086
# Files that config.status was made for.
7087
if test -n "$ac_config_files"; then
7088
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7091
if test -n "$ac_config_headers"; then
7092
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7095
if test -n "$ac_config_links"; then
7096
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7099
if test -n "$ac_config_commands"; then
7100
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7103
cat >>$CONFIG_STATUS <<\_ACEOF
7106
\`$as_me' instantiates files from templates according to the
7107
current configuration.
7109
Usage: $0 [OPTIONS] [FILE]...
7111
-h, --help print this help, then exit
7112
-V, --version print version number, then exit
7113
-q, --quiet do not print progress messages
7114
-d, --debug don't remove temporary files
7115
--recheck update $as_me by reconfiguring in the same conditions
7116
--file=FILE[:TEMPLATE]
7117
instantiate the configuration file FILE
7118
--header=FILE[:TEMPLATE]
7119
instantiate the configuration header FILE
7121
Configuration files:
7124
Configuration headers:
7127
Configuration commands:
7130
Report bugs to <bug-autoconf@gnu.org>."
7133
cat >>$CONFIG_STATUS <<_ACEOF
7136
configured by $0, generated by GNU Autoconf 2.59,
7137
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7139
Copyright (C) 2003 Free Software Foundation, Inc.
7140
This config.status script is free software; the Free Software Foundation
7141
gives unlimited permission to copy, distribute and modify it."
7146
cat >>$CONFIG_STATUS <<\_ACEOF
7147
# If no file are specified by the user, then we need to provide default
7148
# value. By we need to know if files were specified by the user.
7154
ac_option=`expr "x$1" : 'x\([^=]*\)='`
7155
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7163
*) # This is not an option, so the user has probably given explicit
7166
ac_need_defaults=false;;
7170
# Handling of the options.
7172
cat >>$CONFIG_STATUS <<\_ACEOF
7173
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7175
--version | --vers* | -V )
7176
echo "$ac_cs_version"; exit 0 ;;
7178
# Conflict between --help and --header
7179
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
7180
Try \`$0 --help' for more information." >&5
7181
echo "$as_me: error: ambiguous option: $1
7182
Try \`$0 --help' for more information." >&2;}
7183
{ (exit 1); exit 1; }; };;
7184
--help | --hel | -h )
7185
echo "$ac_cs_usage"; exit 0 ;;
7186
--debug | --d* | -d )
7188
--file | --fil | --fi | --f )
7190
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7191
ac_need_defaults=false;;
7192
--header | --heade | --head | --hea )
7194
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7195
ac_need_defaults=false;;
7196
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
7197
| -silent | --silent | --silen | --sile | --sil | --si | --s)
7201
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7202
Try \`$0 --help' for more information." >&5
7203
echo "$as_me: error: unrecognized option: $1
7204
Try \`$0 --help' for more information." >&2;}
7205
{ (exit 1); exit 1; }; } ;;
7207
*) ac_config_targets="$ac_config_targets $1" ;;
7213
ac_configure_extra_args=
7215
if $ac_cs_silent; then
7217
ac_configure_extra_args="$ac_configure_extra_args --silent"
7221
cat >>$CONFIG_STATUS <<_ACEOF
7222
if \$ac_cs_recheck; then
7223
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7224
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7229
cat >>$CONFIG_STATUS <<_ACEOF
7231
# INIT-COMMANDS section.
7234
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7235
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
7236
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7238
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7239
# Capture the value of LINGUAS because we need it to compute CATALOGS.
7240
LINGUAS="${LINGUAS-%UNSET%}"
7247
cat >>$CONFIG_STATUS <<\_ACEOF
7248
for ac_config_target in $ac_config_targets
7250
case "$ac_config_target" in
7251
# Handling of arguments.
7252
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7253
"lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
7254
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7255
"man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
7256
"m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
7257
"po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7258
"man/yp.conf.5" ) CONFIG_FILES="$CONFIG_FILES man/yp.conf.5" ;;
7259
"man/ypbind.8" ) CONFIG_FILES="$CONFIG_FILES man/ypbind.8" ;;
7260
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7261
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7262
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7263
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7264
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7265
{ (exit 1); exit 1; }; };;
7269
# If the user did not use the arguments to specify the items to instantiate,
7270
# then the envvar interface is used. Set only those that are not.
7271
# We use the long form for the default assignment because of an extremely
7272
# bizarre bug on SunOS 4.1.3.
7273
if $ac_need_defaults; then
7274
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7275
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7276
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7279
# Have a temporary directory for convenience. Make it in the build tree
7280
# simply because there is no reason to put it here, and in addition,
7281
# creating and moving files from /tmp can sometimes cause problems.
7282
# Create a temporary directory, and hook for its removal unless debugging.
7285
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7286
trap '{ (exit 1); exit 1; }' 1 2 13 15
7289
# Create a (secure) tmp directory for tmp files.
7292
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7293
test -n "$tmp" && test -d "$tmp"
7296
tmp=./confstat$$-$RANDOM
7297
(umask 077 && mkdir $tmp)
7300
echo "$me: cannot create a temporary directory in ." >&2
7301
{ (exit 1); exit 1; }
7306
cat >>$CONFIG_STATUS <<_ACEOF
7309
# CONFIG_FILES section.
7312
# No need to generate the scripts if there are no CONFIG_FILES.
7313
# This happens for instance when ./config.status config.h
7314
if test -n "\$CONFIG_FILES"; then
7315
# Protect against being on the right side of a sed subst in config.status.
7316
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7317
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7318
s,@SHELL@,$SHELL,;t t
7319
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7320
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7321
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7322
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7323
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7324
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7325
s,@exec_prefix@,$exec_prefix,;t t
7326
s,@prefix@,$prefix,;t t
7327
s,@program_transform_name@,$program_transform_name,;t t
7328
s,@bindir@,$bindir,;t t
7329
s,@sbindir@,$sbindir,;t t
7330
s,@libexecdir@,$libexecdir,;t t
7331
s,@datadir@,$datadir,;t t
7332
s,@sysconfdir@,$sysconfdir,;t t
7333
s,@sharedstatedir@,$sharedstatedir,;t t
7334
s,@localstatedir@,$localstatedir,;t t
7335
s,@libdir@,$libdir,;t t
7336
s,@includedir@,$includedir,;t t
7337
s,@oldincludedir@,$oldincludedir,;t t
7338
s,@infodir@,$infodir,;t t
7339
s,@mandir@,$mandir,;t t
7340
s,@build_alias@,$build_alias,;t t
7341
s,@host_alias@,$host_alias,;t t
7342
s,@target_alias@,$target_alias,;t t
7344
s,@ECHO_C@,$ECHO_C,;t t
7345
s,@ECHO_N@,$ECHO_N,;t t
7346
s,@ECHO_T@,$ECHO_T,;t t
7348
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7349
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7350
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7351
s,@CYGPATH_W@,$CYGPATH_W,;t t
7352
s,@PACKAGE@,$PACKAGE,;t t
7353
s,@VERSION@,$VERSION,;t t
7354
s,@ACLOCAL@,$ACLOCAL,;t t
7355
s,@AUTOCONF@,$AUTOCONF,;t t
7356
s,@AUTOMAKE@,$AUTOMAKE,;t t
7357
s,@AUTOHEADER@,$AUTOHEADER,;t t
7358
s,@MAKEINFO@,$MAKEINFO,;t t
7359
s,@install_sh@,$install_sh,;t t
7360
s,@STRIP@,$STRIP,;t t
7361
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7362
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7363
s,@mkdir_p@,$mkdir_p,;t t
7365
s,@SET_MAKE@,$SET_MAKE,;t t
7366
s,@am__leading_dot@,$am__leading_dot,;t t
7367
s,@AMTAR@,$AMTAR,;t t
7368
s,@am__tar@,$am__tar,;t t
7369
s,@am__untar@,$am__untar,;t t
7370
s,@build@,$build,;t t
7371
s,@build_cpu@,$build_cpu,;t t
7372
s,@build_vendor@,$build_vendor,;t t
7373
s,@build_os@,$build_os,;t t
7375
s,@host_cpu@,$host_cpu,;t t
7376
s,@host_vendor@,$host_vendor,;t t
7377
s,@host_os@,$host_os,;t t
7379
s,@CFLAGS@,$CFLAGS,;t t
7380
s,@LDFLAGS@,$LDFLAGS,;t t
7381
s,@CPPFLAGS@,$CPPFLAGS,;t t
7382
s,@ac_ct_CC@,$ac_ct_CC,;t t
7383
s,@EXEEXT@,$EXEEXT,;t t
7384
s,@OBJEXT@,$OBJEXT,;t t
7385
s,@DEPDIR@,$DEPDIR,;t t
7386
s,@am__include@,$am__include,;t t
7387
s,@am__quote@,$am__quote,;t t
7388
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7389
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7390
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7391
s,@CCDEPMODE@,$CCDEPMODE,;t t
7392
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7393
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7394
s,@WARNFLAGS@,$WARNFLAGS,;t t
7395
s,@RANLIB@,$RANLIB,;t t
7396
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7398
s,@EGREP@,$EGREP,;t t
7399
s,@SLP_LIBS@,$SLP_LIBS,;t t
7400
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7401
s,@USE_NLS@,$USE_NLS,;t t
7402
s,@MSGFMT@,$MSGFMT,;t t
7403
s,@GMSGFMT@,$GMSGFMT,;t t
7404
s,@XGETTEXT@,$XGETTEXT,;t t
7405
s,@MSGMERGE@,$MSGMERGE,;t t
7406
s,@LIBICONV@,$LIBICONV,;t t
7407
s,@LTLIBICONV@,$LTLIBICONV,;t t
7408
s,@INTLLIBS@,$INTLLIBS,;t t
7409
s,@LIBINTL@,$LIBINTL,;t t
7410
s,@LTLIBINTL@,$LTLIBINTL,;t t
7411
s,@POSUB@,$POSUB,;t t
7412
s,@LIBOBJS@,$LIBOBJS,;t t
7413
s,@USE_BROADCAST@,$USE_BROADCAST,;t t
7414
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7419
cat >>$CONFIG_STATUS <<\_ACEOF
7420
# Split the substitutions into bite-sized pieces for seds with
7421
# small command number limits, like on Digital OSF/1 and HP-UX.
7423
ac_sed_frag=1 # Number of current file.
7424
ac_beg=1 # First line for current file.
7425
ac_end=$ac_max_sed_lines # Line after last line for current file.
7428
while $ac_more_lines; do
7429
if test $ac_beg -gt 1; then
7430
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7432
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7434
if test ! -s $tmp/subs.frag; then
7437
# The purpose of the label and of the branching condition is to
7438
# speed up the sed processing (if there are no `@' at all, there
7439
# is no need to browse any of the substitutions).
7440
# These are the two extra sed commands mentioned above.
7442
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7443
if test -z "$ac_sed_cmds"; then
7444
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7446
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7448
ac_sed_frag=`expr $ac_sed_frag + 1`
7450
ac_end=`expr $ac_end + $ac_max_sed_lines`
7453
if test -z "$ac_sed_cmds"; then
7456
fi # test -n "$CONFIG_FILES"
7459
cat >>$CONFIG_STATUS <<\_ACEOF
7460
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7461
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7463
- | *:- | *:-:* ) # input from stdin
7465
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7466
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7467
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7468
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7469
* ) ac_file_in=$ac_file.in ;;
7472
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7473
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7474
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7475
X"$ac_file" : 'X\(//\)[^/]' \| \
7476
X"$ac_file" : 'X\(//\)$' \| \
7477
X"$ac_file" : 'X\(/\)' \| \
7478
. : '\(.\)' 2>/dev/null ||
7480
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7481
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7482
/^X\(\/\/\)$/{ s//\1/; q; }
7483
/^X\(\/\).*/{ s//\1/; q; }
7485
{ if $as_mkdir_p; then
7490
while test ! -d "$as_dir"; do
7491
as_dirs="$as_dir $as_dirs"
7492
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7493
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7494
X"$as_dir" : 'X\(//\)[^/]' \| \
7495
X"$as_dir" : 'X\(//\)$' \| \
7496
X"$as_dir" : 'X\(/\)' \| \
7497
. : '\(.\)' 2>/dev/null ||
7499
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7500
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7501
/^X\(\/\/\)$/{ s//\1/; q; }
7502
/^X\(\/\).*/{ s//\1/; q; }
7505
test ! -n "$as_dirs" || mkdir $as_dirs
7506
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7507
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7508
{ (exit 1); exit 1; }; }; }
7512
if test "$ac_dir" != .; then
7513
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7514
# A "../" for each directory in $ac_dir_suffix.
7515
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7517
ac_dir_suffix= ac_top_builddir=
7521
.) # No --srcdir option. We are building in place.
7523
if test -z "$ac_top_builddir"; then
7526
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7528
[\\/]* | ?:[\\/]* ) # Absolute path.
7529
ac_srcdir=$srcdir$ac_dir_suffix;
7530
ac_top_srcdir=$srcdir ;;
7532
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7533
ac_top_srcdir=$ac_top_builddir$srcdir ;;
7536
# Do not use `cd foo && pwd` to compute absolute paths, because
7537
# the directories may not exist.
7539
.) ac_abs_builddir="$ac_dir";;
7542
.) ac_abs_builddir=`pwd`;;
7543
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7544
*) ac_abs_builddir=`pwd`/"$ac_dir";;
7547
case $ac_abs_builddir in
7548
.) ac_abs_top_builddir=${ac_top_builddir}.;;
7550
case ${ac_top_builddir}. in
7551
.) ac_abs_top_builddir=$ac_abs_builddir;;
7552
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7553
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7556
case $ac_abs_builddir in
7557
.) ac_abs_srcdir=$ac_srcdir;;
7560
.) ac_abs_srcdir=$ac_abs_builddir;;
7561
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7562
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7565
case $ac_abs_builddir in
7566
.) ac_abs_top_srcdir=$ac_top_srcdir;;
7568
case $ac_top_srcdir in
7569
.) ac_abs_top_srcdir=$ac_abs_builddir;;
7570
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7571
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7577
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7578
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7581
if test x"$ac_file" != x-; then
7582
{ echo "$as_me:$LINENO: creating $ac_file" >&5
7583
echo "$as_me: creating $ac_file" >&6;}
7586
# Let's still pretend it is `configure' which instantiates (i.e., don't
7587
# use $as_me), people would be surprised to read:
7588
# /* config.h. Generated by config.status. */
7589
if test x"$ac_file" = x-; then
7592
configure_input="$ac_file. "
7594
configure_input=$configure_input"Generated from `echo $ac_file_in |
7595
sed 's,.*/,,'` by configure."
7597
# First look for the input files in the build tree, otherwise in the
7599
ac_file_inputs=`IFS=:
7600
for f in $ac_file_in; do
7602
-) echo $tmp/stdin ;;
7604
# Absolute (can't be DOS-style, as IFS=:)
7605
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7606
echo "$as_me: error: cannot find input file: $f" >&2;}
7607
{ (exit 1); exit 1; }; }
7610
if test -f "$f"; then
7613
elif test -f "$srcdir/$f"; then
7618
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7619
echo "$as_me: error: cannot find input file: $f" >&2;}
7620
{ (exit 1); exit 1; }; }
7623
done` || { (exit 1); exit 1; }
7625
cat >>$CONFIG_STATUS <<_ACEOF
7629
cat >>$CONFIG_STATUS <<\_ACEOF
7631
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7632
s,@configure_input@,$configure_input,;t t
7633
s,@srcdir@,$ac_srcdir,;t t
7634
s,@abs_srcdir@,$ac_abs_srcdir,;t t
7635
s,@top_srcdir@,$ac_top_srcdir,;t t
7636
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7637
s,@builddir@,$ac_builddir,;t t
7638
s,@abs_builddir@,$ac_abs_builddir,;t t
7639
s,@top_builddir@,$ac_top_builddir,;t t
7640
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7641
s,@INSTALL@,$ac_INSTALL,;t t
7642
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7644
if test x"$ac_file" != x-; then
7645
mv $tmp/out $ac_file
7653
cat >>$CONFIG_STATUS <<\_ACEOF
7656
# CONFIG_HEADER section.
7659
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7660
# NAME is the cpp macro being defined and VALUE is the value it is being given.
7662
# ac_d sets the value in "#define NAME VALUE" lines.
7663
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7664
ac_dB='[ ].*$,\1#\2'
7667
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7668
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7669
ac_uB='$,\1#\2define\3'
7673
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7674
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7676
- | *:- | *:-:* ) # input from stdin
7678
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7679
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7680
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7681
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7682
* ) ac_file_in=$ac_file.in ;;
7685
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7686
echo "$as_me: creating $ac_file" >&6;}
7688
# First look for the input files in the build tree, otherwise in the
7690
ac_file_inputs=`IFS=:
7691
for f in $ac_file_in; do
7693
-) echo $tmp/stdin ;;
7695
# Absolute (can't be DOS-style, as IFS=:)
7696
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7697
echo "$as_me: error: cannot find input file: $f" >&2;}
7698
{ (exit 1); exit 1; }; }
7699
# Do quote $f, to prevent DOS paths from being IFS'd.
7702
if test -f "$f"; then
7705
elif test -f "$srcdir/$f"; then
7710
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7711
echo "$as_me: error: cannot find input file: $f" >&2;}
7712
{ (exit 1); exit 1; }; }
7715
done` || { (exit 1); exit 1; }
7716
# Remove the trailing spaces.
7717
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7721
# Transform confdefs.h into two sed scripts, `conftest.defines' and
7722
# `conftest.undefs', that substitutes the proper values into
7723
# config.h.in to produce config.h. The first handles `#define'
7724
# templates, and the second `#undef' templates.
7725
# And first: Protect against being on the right side of a sed subst in
7726
# config.status. Protect against being in an unquoted here document
7728
rm -f conftest.defines conftest.undefs
7729
# Using a here document instead of a string reduces the quoting nightmare.
7730
# Putting comments in sed scripts is not portable.
7732
# `end' is used to avoid that the second main sed command (meant for
7733
# 0-ary CPP macros) applies to n-ary macro definitions.
7734
# See the Autoconf documentation for `clear'.
7735
cat >confdef2sed.sed <<\_ACEOF
7740
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7742
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7745
# If some macros were called several times there might be several times
7746
# the same #defines, which is useless. Nevertheless, we may not want to
7747
# sort them, since we want the *last* AC-DEFINE to be honored.
7748
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7749
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7750
rm -f confdef2sed.sed
7752
# This sed command replaces #undef with comments. This is necessary, for
7753
# example, in the case of _POSIX_SOURCE, which is predefined and required
7754
# on some systems where configure will not decide to define it.
7755
cat >>conftest.undefs <<\_ACEOF
7756
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7759
# Break up conftest.defines because some shells have a limit on the size
7760
# of here documents, and old seds have small limits too (100 cmds).
7761
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7762
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7763
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7764
echo ' :' >>$CONFIG_STATUS
7766
while grep . conftest.defines >/dev/null
7768
# Write a limited-size here document to $tmp/defines.sed.
7769
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7770
# Speed up: don't consider the non `#define' lines.
7771
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7772
# Work around the forget-to-reset-the-flag bug.
7773
echo 't clr' >>$CONFIG_STATUS
7774
echo ': clr' >>$CONFIG_STATUS
7775
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7777
sed -f $tmp/defines.sed $tmp/in >$tmp/out
7781
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7782
rm -f conftest.defines
7783
mv conftest.tail conftest.defines
7785
rm -f conftest.defines
7786
echo ' fi # grep' >>$CONFIG_STATUS
7787
echo >>$CONFIG_STATUS
7789
# Break up conftest.undefs because some shells have a limit on the size
7790
# of here documents, and old seds have small limits too (100 cmds).
7791
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7793
while grep . conftest.undefs >/dev/null
7795
# Write a limited-size here document to $tmp/undefs.sed.
7796
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7797
# Speed up: don't consider the non `#undef'
7798
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7799
# Work around the forget-to-reset-the-flag bug.
7800
echo 't clr' >>$CONFIG_STATUS
7801
echo ': clr' >>$CONFIG_STATUS
7802
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7804
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7808
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7809
rm -f conftest.undefs
7810
mv conftest.tail conftest.undefs
7812
rm -f conftest.undefs
7814
cat >>$CONFIG_STATUS <<\_ACEOF
7815
# Let's still pretend it is `configure' which instantiates (i.e., don't
7816
# use $as_me), people would be surprised to read:
7817
# /* config.h. Generated by config.status. */
7818
if test x"$ac_file" = x-; then
7819
echo "/* Generated by configure. */" >$tmp/config.h
7821
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7823
cat $tmp/in >>$tmp/config.h
7825
if test x"$ac_file" != x-; then
7826
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7827
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7828
echo "$as_me: $ac_file is unchanged" >&6;}
7830
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7831
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7832
X"$ac_file" : 'X\(//\)[^/]' \| \
7833
X"$ac_file" : 'X\(//\)$' \| \
7834
X"$ac_file" : 'X\(/\)' \| \
7835
. : '\(.\)' 2>/dev/null ||
7837
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7838
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7839
/^X\(\/\/\)$/{ s//\1/; q; }
7840
/^X\(\/\).*/{ s//\1/; q; }
7842
{ if $as_mkdir_p; then
7847
while test ! -d "$as_dir"; do
7848
as_dirs="$as_dir $as_dirs"
7849
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7850
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7851
X"$as_dir" : 'X\(//\)[^/]' \| \
7852
X"$as_dir" : 'X\(//\)$' \| \
7853
X"$as_dir" : 'X\(/\)' \| \
7854
. : '\(.\)' 2>/dev/null ||
7856
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7857
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7858
/^X\(\/\/\)$/{ s//\1/; q; }
7859
/^X\(\/\).*/{ s//\1/; q; }
7862
test ! -n "$as_dirs" || mkdir $as_dirs
7863
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7864
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7865
{ (exit 1); exit 1; }; }; }
7868
mv $tmp/config.h $ac_file
7874
# Compute $ac_file's index in $config_headers.
7876
for _am_header in $config_headers :; do
7878
$ac_file | $ac_file:* )
7881
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
7884
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7885
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7886
X$ac_file : 'X\(//\)[^/]' \| \
7887
X$ac_file : 'X\(//\)$' \| \
7888
X$ac_file : 'X\(/\)' \| \
7889
. : '\(.\)' 2>/dev/null ||
7891
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7892
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7893
/^X\(\/\/\)$/{ s//\1/; q; }
7894
/^X\(\/\).*/{ s//\1/; q; }
7895
s/.*/./; q'`/stamp-h$_am_stamp_count
7898
cat >>$CONFIG_STATUS <<\_ACEOF
7901
# CONFIG_COMMANDS section.
7903
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7904
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7905
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7906
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7907
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7908
X"$ac_dest" : 'X\(//\)[^/]' \| \
7909
X"$ac_dest" : 'X\(//\)$' \| \
7910
X"$ac_dest" : 'X\(/\)' \| \
7911
. : '\(.\)' 2>/dev/null ||
7913
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7914
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7915
/^X\(\/\/\)$/{ s//\1/; q; }
7916
/^X\(\/\).*/{ s//\1/; q; }
7918
{ if $as_mkdir_p; then
7923
while test ! -d "$as_dir"; do
7924
as_dirs="$as_dir $as_dirs"
7925
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7926
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7927
X"$as_dir" : 'X\(//\)[^/]' \| \
7928
X"$as_dir" : 'X\(//\)$' \| \
7929
X"$as_dir" : 'X\(/\)' \| \
7930
. : '\(.\)' 2>/dev/null ||
7932
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7933
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7934
/^X\(\/\/\)$/{ s//\1/; q; }
7935
/^X\(\/\).*/{ s//\1/; q; }
7938
test ! -n "$as_dirs" || mkdir $as_dirs
7939
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7940
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7941
{ (exit 1); exit 1; }; }; }
7945
if test "$ac_dir" != .; then
7946
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7947
# A "../" for each directory in $ac_dir_suffix.
7948
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7950
ac_dir_suffix= ac_top_builddir=
7954
.) # No --srcdir option. We are building in place.
7956
if test -z "$ac_top_builddir"; then
7959
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7961
[\\/]* | ?:[\\/]* ) # Absolute path.
7962
ac_srcdir=$srcdir$ac_dir_suffix;
7963
ac_top_srcdir=$srcdir ;;
7965
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7966
ac_top_srcdir=$ac_top_builddir$srcdir ;;
7969
# Do not use `cd foo && pwd` to compute absolute paths, because
7970
# the directories may not exist.
7972
.) ac_abs_builddir="$ac_dir";;
7975
.) ac_abs_builddir=`pwd`;;
7976
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7977
*) ac_abs_builddir=`pwd`/"$ac_dir";;
7980
case $ac_abs_builddir in
7981
.) ac_abs_top_builddir=${ac_top_builddir}.;;
7983
case ${ac_top_builddir}. in
7984
.) ac_abs_top_builddir=$ac_abs_builddir;;
7985
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7986
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7989
case $ac_abs_builddir in
7990
.) ac_abs_srcdir=$ac_srcdir;;
7993
.) ac_abs_srcdir=$ac_abs_builddir;;
7994
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7995
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7998
case $ac_abs_builddir in
7999
.) ac_abs_top_srcdir=$ac_top_srcdir;;
8001
case $ac_top_srcdir in
8002
.) ac_abs_top_srcdir=$ac_abs_builddir;;
8003
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8004
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8009
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8010
echo "$as_me: executing $ac_dest commands" >&6;}
8012
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8013
# Strip MF so we end up with the name of the file.
8014
mf=`echo "$mf" | sed -e 's/:.*$//'`
8015
# Check whether this is an Automake generated Makefile or not.
8016
# We used to match only the files named `Makefile.in', but
8017
# some people rename them; so instead we look at the file content.
8018
# Grep'ing the first line is not enough: some people post-process
8019
# each Makefile.in and add a new line on top of each file to say so.
8020
# So let's grep whole file.
8021
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8022
dirpart=`(dirname "$mf") 2>/dev/null ||
8023
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8024
X"$mf" : 'X\(//\)[^/]' \| \
8025
X"$mf" : 'X\(//\)$' \| \
8026
X"$mf" : 'X\(/\)' \| \
8027
. : '\(.\)' 2>/dev/null ||
8029
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8030
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8031
/^X\(\/\/\)$/{ s//\1/; q; }
8032
/^X\(\/\).*/{ s//\1/; q; }
8037
# Extract the definition of DEPDIR, am__include, and am__quote
8038
# from the Makefile without running `make'.
8039
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8040
test -z "$DEPDIR" && continue
8041
am__include=`sed -n 's/^am__include = //p' < "$mf"`
8042
test -z "am__include" && continue
8043
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8044
# When using ansi2knr, U may be empty or an underscore; expand it
8045
U=`sed -n 's/^U = //p' < "$mf"`
8046
# Find all dependency output files, they are included files with
8047
# $(DEPDIR) in their names. We invoke sed twice because it is the
8048
# simplest approach to changing $(DEPDIR) to its actual value in the
8050
for file in `sed -n "
8051
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8052
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8053
# Make sure the directory exists.
8054
test -f "$dirpart/$file" && continue
8055
fdir=`(dirname "$file") 2>/dev/null ||
8056
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8057
X"$file" : 'X\(//\)[^/]' \| \
8058
X"$file" : 'X\(//\)$' \| \
8059
X"$file" : 'X\(/\)' \| \
8060
. : '\(.\)' 2>/dev/null ||
8062
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8063
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8064
/^X\(\/\/\)$/{ s//\1/; q; }
8065
/^X\(\/\).*/{ s//\1/; q; }
8067
{ if $as_mkdir_p; then
8068
mkdir -p $dirpart/$fdir
8070
as_dir=$dirpart/$fdir
8072
while test ! -d "$as_dir"; do
8073
as_dirs="$as_dir $as_dirs"
8074
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8075
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8076
X"$as_dir" : 'X\(//\)[^/]' \| \
8077
X"$as_dir" : 'X\(//\)$' \| \
8078
X"$as_dir" : 'X\(/\)' \| \
8079
. : '\(.\)' 2>/dev/null ||
8081
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8082
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8083
/^X\(\/\/\)$/{ s//\1/; q; }
8084
/^X\(\/\).*/{ s//\1/; q; }
8087
test ! -n "$as_dirs" || mkdir $as_dirs
8088
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8089
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8090
{ (exit 1); exit 1; }; }; }
8092
# echo "creating $dirpart/$file"
8093
echo '# dummy' > "$dirpart/$file"
8098
for ac_file in $CONFIG_FILES; do
8099
# Support "outfile[:infile[:infile...]]"
8101
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8103
# PO directories have a Makefile.in generated from Makefile.in.in.
8104
case "$ac_file" in */Makefile.in)
8105
# Adjust a relative srcdir.
8106
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8107
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
8108
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8109
# In autoconf-2.13 it is called $ac_given_srcdir.
8110
# In autoconf-2.50 it is called $srcdir.
8111
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8112
case "$ac_given_srcdir" in
8113
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8114
/*) top_srcdir="$ac_given_srcdir" ;;
8115
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8117
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8118
rm -f "$ac_dir/POTFILES"
8119
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8120
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8121
POMAKEFILEDEPS="POTFILES.in"
8122
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8123
# on $ac_dir but don't depend on user-specified configuration
8125
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8126
# The LINGUAS file contains the set of available languages.
8127
if test -n "$OBSOLETE_ALL_LINGUAS"; then
8128
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8130
ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8131
# Hide the ALL_LINGUAS assigment from automake.
8132
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8133
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8135
# The set of available languages was given in configure.in.
8136
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8139
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8140
# Compute UPDATEPOFILES
8141
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8142
# Compute DUMMYPOFILES
8143
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8145
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8146
case "$ac_given_srcdir" in
8148
*) srcdirpre='$(srcdir)/' ;;
8154
for lang in $ALL_LINGUAS; do
8155
POFILES="$POFILES $srcdirpre$lang.po"
8156
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8157
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8158
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8160
# CATALOGS depends on both $ac_dir and the user's LINGUAS
8161
# environment variable.
8163
if test -n "$ALL_LINGUAS"; then
8164
for presentlang in $ALL_LINGUAS; do
8166
if test "%UNSET%" != "$LINGUAS"; then
8167
desiredlanguages="$LINGUAS"
8169
desiredlanguages="$ALL_LINGUAS"
8171
for desiredlang in $desiredlanguages; do
8172
# Use the presentlang catalog if desiredlang is
8173
# a. equal to presentlang, or
8174
# b. a variant of presentlang (because in this case,
8175
# presentlang can be used as a fallback for messages
8176
# which are not translated in the desiredlang catalog).
8177
case "$desiredlang" in
8178
"$presentlang"*) useit=yes;;
8181
if test $useit = yes; then
8182
INST_LINGUAS="$INST_LINGUAS $presentlang"
8187
if test -n "$INST_LINGUAS"; then
8188
for lang in $INST_LINGUAS; do
8189
CATALOGS="$CATALOGS $lang.gmo"
8192
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8193
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8194
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8195
if test -f "$f"; then
8197
*.orig | *.bak | *~) ;;
8198
*) cat "$f" >> "$ac_dir/Makefile" ;;
8210
cat >>$CONFIG_STATUS <<\_ACEOF
8212
{ (exit 0); exit 0; }
8214
chmod +x $CONFIG_STATUS
8215
ac_clean_files=$ac_clean_files_save
8218
# configure is writing to config.log, and then calls config.status.
8219
# config.status does its own redirection, appending to config.log.
8220
# Unfortunately, on DOS this fails, as config.log is still kept open
8221
# by configure, so config.status won't be able to write to it; its
8222
# output is simply discarded. So we exec the FD to /dev/null,
8223
# effectively closing config.log, so it can be properly (re)opened and
8224
# appended to by config.status. When coming back to configure, we
8225
# need to make the FD available again.
8226
if test "$no_create" != yes; then
8228
ac_config_status_args=
8229
test "$silent" = yes &&
8230
ac_config_status_args="$ac_config_status_args --quiet"
8232
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8234
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
8235
# would make configure fail if this is the last instruction.
8236
$ac_cs_success || { (exit 1); exit 1; }