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/update-manager.in"
275
# Factoring default headers for most tests.
276
ac_includes_default="\
279
# include <sys/types.h>
282
# include <sys/stat.h>
293
# if !STDC_HEADERS && HAVE_MEMORY_H
299
# include <strings.h>
302
# include <inttypes.h>
312
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT GETTEXT_PACKAGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS SCROLLKEEPER_BUILD_REQUIRED SCROLLKEEPER_CONFIG LIBOBJS LTLIBOBJS'
315
# Initialize some variables set by options.
317
ac_init_version=false
318
# The variables have the same names as the options, with
319
# dashes changed to underlines.
327
program_transform_name=s,x,x,
335
# Installation directory options.
336
# These are left unexpanded so users can "make install exec_prefix=/foo"
337
# and all the variables that are supposed to be based on exec_prefix
338
# by default will actually change.
339
# Use braces instead of parens because sh, perl, etc. also accept them.
340
bindir='${exec_prefix}/bin'
341
sbindir='${exec_prefix}/sbin'
342
libexecdir='${exec_prefix}/libexec'
343
datadir='${prefix}/share'
344
sysconfdir='${prefix}/etc'
345
sharedstatedir='${prefix}/com'
346
localstatedir='${prefix}/var'
347
libdir='${exec_prefix}/lib'
348
includedir='${prefix}/include'
349
oldincludedir='/usr/include'
350
infodir='${prefix}/info'
351
mandir='${prefix}/man'
356
# If the previous option needs an argument, assign it.
357
if test -n "$ac_prev"; then
358
eval "$ac_prev=\$ac_option"
363
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365
# Accept the important Cygnus configure options, so we can diagnose typos.
369
-bindir | --bindir | --bindi | --bind | --bin | --bi)
371
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374
-build | --build | --buil | --bui | --bu)
375
ac_prev=build_alias ;;
376
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
377
build_alias=$ac_optarg ;;
379
-cache-file | --cache-file | --cache-fil | --cache-fi \
380
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381
ac_prev=cache_file ;;
382
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384
cache_file=$ac_optarg ;;
387
cache_file=config.cache ;;
389
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393
datadir=$ac_optarg ;;
395
-disable-* | --disable-*)
396
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397
# Reject names that are not valid shell variable names.
398
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
400
{ (exit 1); exit 1; }; }
401
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402
eval "enable_$ac_feature=no" ;;
404
-enable-* | --enable-*)
405
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406
# Reject names that are not valid shell variable names.
407
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
409
{ (exit 1); exit 1; }; }
410
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415
eval "enable_$ac_feature='$ac_optarg'" ;;
417
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419
| --exec | --exe | --ex)
420
ac_prev=exec_prefix ;;
421
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423
| --exec=* | --exe=* | --ex=*)
424
exec_prefix=$ac_optarg ;;
426
-gas | --gas | --ga | --g)
427
# Obsolete; use --with-gas.
430
-help | --help | --hel | --he | -h)
432
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433
ac_init_help=recursive ;;
434
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435
ac_init_help=short ;;
437
-host | --host | --hos | --ho)
438
ac_prev=host_alias ;;
439
-host=* | --host=* | --hos=* | --ho=*)
440
host_alias=$ac_optarg ;;
442
-includedir | --includedir | --includedi | --included | --include \
443
| --includ | --inclu | --incl | --inc)
444
ac_prev=includedir ;;
445
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446
| --includ=* | --inclu=* | --incl=* | --inc=*)
447
includedir=$ac_optarg ;;
449
-infodir | --infodir | --infodi | --infod | --info | --inf)
451
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452
infodir=$ac_optarg ;;
454
-libdir | --libdir | --libdi | --libd)
456
-libdir=* | --libdir=* | --libdi=* | --libd=*)
459
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460
| --libexe | --libex | --libe)
461
ac_prev=libexecdir ;;
462
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463
| --libexe=* | --libex=* | --libe=*)
464
libexecdir=$ac_optarg ;;
466
-localstatedir | --localstatedir | --localstatedi | --localstated \
467
| --localstate | --localstat | --localsta | --localst \
468
| --locals | --local | --loca | --loc | --lo)
469
ac_prev=localstatedir ;;
470
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
472
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473
localstatedir=$ac_optarg ;;
475
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481
# Obsolete; use --without-fp.
484
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
485
| --no-cr | --no-c | -n)
488
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
489
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494
| --oldin | --oldi | --old | --ol | --o)
495
ac_prev=oldincludedir ;;
496
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499
oldincludedir=$ac_optarg ;;
501
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506
-program-prefix | --program-prefix | --program-prefi | --program-pref \
507
| --program-pre | --program-pr | --program-p)
508
ac_prev=program_prefix ;;
509
-program-prefix=* | --program-prefix=* | --program-prefi=* \
510
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511
program_prefix=$ac_optarg ;;
513
-program-suffix | --program-suffix | --program-suffi | --program-suff \
514
| --program-suf | --program-su | --program-s)
515
ac_prev=program_suffix ;;
516
-program-suffix=* | --program-suffix=* | --program-suffi=* \
517
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518
program_suffix=$ac_optarg ;;
520
-program-transform-name | --program-transform-name \
521
| --program-transform-nam | --program-transform-na \
522
| --program-transform-n | --program-transform- \
523
| --program-transform | --program-transfor \
524
| --program-transfo | --program-transf \
525
| --program-trans | --program-tran \
526
| --progr-tra | --program-tr | --program-t)
527
ac_prev=program_transform_name ;;
528
-program-transform-name=* | --program-transform-name=* \
529
| --program-transform-nam=* | --program-transform-na=* \
530
| --program-transform-n=* | --program-transform-=* \
531
| --program-transform=* | --program-transfor=* \
532
| --program-transfo=* | --program-transf=* \
533
| --program-trans=* | --program-tran=* \
534
| --progr-tra=* | --program-tr=* | --program-t=*)
535
program_transform_name=$ac_optarg ;;
537
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
538
| -silent | --silent | --silen | --sile | --sil)
541
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545
sbindir=$ac_optarg ;;
547
-sharedstatedir | --sharedstatedir | --sharedstatedi \
548
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549
| --sharedst | --shareds | --shared | --share | --shar \
551
ac_prev=sharedstatedir ;;
552
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556
sharedstatedir=$ac_optarg ;;
558
-site | --site | --sit)
560
-site=* | --site=* | --sit=*)
563
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569
| --syscon | --sysco | --sysc | --sys | --sy)
570
ac_prev=sysconfdir ;;
571
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573
sysconfdir=$ac_optarg ;;
575
-target | --target | --targe | --targ | --tar | --ta | --t)
576
ac_prev=target_alias ;;
577
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578
target_alias=$ac_optarg ;;
580
-v | -verbose | --verbose | --verbos | --verbo | --verb)
583
-version | --version | --versio | --versi | --vers | -V)
587
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588
# Reject names that are not valid shell variable names.
589
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590
{ echo "$as_me: error: invalid package name: $ac_package" >&2
591
{ (exit 1); exit 1; }; }
592
ac_package=`echo $ac_package| sed 's/-/_/g'`
594
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597
eval "with_$ac_package='$ac_optarg'" ;;
599
-without-* | --without-*)
600
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601
# Reject names that are not valid shell variable names.
602
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603
{ echo "$as_me: error: invalid package name: $ac_package" >&2
604
{ (exit 1); exit 1; }; }
605
ac_package=`echo $ac_package | sed 's/-/_/g'`
606
eval "with_$ac_package=no" ;;
609
# Obsolete; use --with-x.
612
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613
| --x-incl | --x-inc | --x-in | --x-i)
614
ac_prev=x_includes ;;
615
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617
x_includes=$ac_optarg ;;
619
-x-libraries | --x-libraries | --x-librarie | --x-librari \
620
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621
ac_prev=x_libraries ;;
622
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624
x_libraries=$ac_optarg ;;
626
-*) { echo "$as_me: error: unrecognized option: $ac_option
627
Try \`$0 --help' for more information." >&2
628
{ (exit 1); exit 1; }; }
632
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633
# Reject names that are not valid shell variable names.
634
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636
{ (exit 1); exit 1; }; }
637
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638
eval "$ac_envvar='$ac_optarg'"
642
# FIXME: should be removed in autoconf 3.0.
643
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652
if test -n "$ac_prev"; then
653
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654
{ echo "$as_me: error: missing argument to $ac_option" >&2
655
{ (exit 1); exit 1; }; }
658
# Be sure to have absolute paths.
659
for ac_var in exec_prefix prefix
661
eval ac_val=$`echo $ac_var`
663
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665
{ (exit 1); exit 1; }; };;
669
# Be sure to have absolute paths.
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671
localstatedir libdir includedir oldincludedir infodir mandir
673
eval ac_val=$`echo $ac_var`
675
[\\/$]* | ?:[\\/]* ) ;;
676
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677
{ (exit 1); exit 1; }; };;
681
# There might be people who depend on the old broken behavior: `$host'
682
# used to hold the argument of --host etc.
683
# FIXME: To remove some day.
688
# FIXME: To remove some day.
689
if test "x$host_alias" != x; then
690
if test "x$build_alias" = x; then
691
cross_compiling=maybe
692
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693
If a cross compiler is detected then cross compile mode will be used." >&2
694
elif test "x$build_alias" != "x$host_alias"; then
700
test -n "$host_alias" && ac_tool_prefix=$host_alias-
702
test "$silent" = yes && exec 6>/dev/null
705
# Find the source files, if location was not specified.
706
if test -z "$srcdir"; then
707
ac_srcdir_defaulted=yes
708
# Try the directory containing this script, then its parent.
709
ac_confdir=`(dirname "$0") 2>/dev/null ||
710
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711
X"$0" : 'X\(//\)[^/]' \| \
712
X"$0" : 'X\(//\)$' \| \
713
X"$0" : 'X\(/\)' \| \
714
. : '\(.\)' 2>/dev/null ||
716
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
718
/^X\(\/\/\)$/{ s//\1/; q; }
719
/^X\(\/\).*/{ s//\1/; q; }
722
if test ! -r $srcdir/$ac_unique_file; then
726
ac_srcdir_defaulted=no
728
if test ! -r $srcdir/$ac_unique_file; then
729
if test "$ac_srcdir_defaulted" = yes; then
730
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731
{ (exit 1); exit 1; }; }
733
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734
{ (exit 1); exit 1; }; }
737
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739
{ (exit 1); exit 1; }; }
740
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741
ac_env_build_alias_set=${build_alias+set}
742
ac_env_build_alias_value=$build_alias
743
ac_cv_env_build_alias_set=${build_alias+set}
744
ac_cv_env_build_alias_value=$build_alias
745
ac_env_host_alias_set=${host_alias+set}
746
ac_env_host_alias_value=$host_alias
747
ac_cv_env_host_alias_set=${host_alias+set}
748
ac_cv_env_host_alias_value=$host_alias
749
ac_env_target_alias_set=${target_alias+set}
750
ac_env_target_alias_value=$target_alias
751
ac_cv_env_target_alias_set=${target_alias+set}
752
ac_cv_env_target_alias_value=$target_alias
753
ac_env_CC_set=${CC+set}
755
ac_cv_env_CC_set=${CC+set}
756
ac_cv_env_CC_value=$CC
757
ac_env_CFLAGS_set=${CFLAGS+set}
758
ac_env_CFLAGS_value=$CFLAGS
759
ac_cv_env_CFLAGS_set=${CFLAGS+set}
760
ac_cv_env_CFLAGS_value=$CFLAGS
761
ac_env_LDFLAGS_set=${LDFLAGS+set}
762
ac_env_LDFLAGS_value=$LDFLAGS
763
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764
ac_cv_env_LDFLAGS_value=$LDFLAGS
765
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766
ac_env_CPPFLAGS_value=$CPPFLAGS
767
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769
ac_env_CPP_set=${CPP+set}
770
ac_env_CPP_value=$CPP
771
ac_cv_env_CPP_set=${CPP+set}
772
ac_cv_env_CPP_value=$CPP
775
# Report the --help message.
777
if test "$ac_init_help" = "long"; then
778
# Omit some internal or obsolete options to make the list less imposing.
779
# This message is too long to be a string in the A/UX 3.1 sh.
781
\`configure' configures this package to adapt to many kinds of systems.
783
Usage: $0 [OPTION]... [VAR=VALUE]...
785
To assign environment variables (e.g., CC, CFLAGS...), specify them as
786
VAR=VALUE. See below for descriptions of some of the useful variables.
788
Defaults for the options are specified in brackets.
791
-h, --help display this help and exit
792
--help=short display options specific to this package
793
--help=recursive display the short help of all the included packages
794
-V, --version display version information and exit
795
-q, --quiet, --silent do not print \`checking...' messages
796
--cache-file=FILE cache test results in FILE [disabled]
797
-C, --config-cache alias for \`--cache-file=config.cache'
798
-n, --no-create do not create output files
799
--srcdir=DIR find the sources in DIR [configure dir or \`..']
804
Installation directories:
805
--prefix=PREFIX install architecture-independent files in PREFIX
807
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810
By default, \`make install' will install all the files in
811
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813
for instance \`--prefix=\$HOME'.
815
For better control, use the options below.
817
Fine tuning of the installation directories:
818
--bindir=DIR user executables [EPREFIX/bin]
819
--sbindir=DIR system admin executables [EPREFIX/sbin]
820
--libexecdir=DIR program executables [EPREFIX/libexec]
821
--datadir=DIR read-only architecture-independent data [PREFIX/share]
822
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
825
--libdir=DIR object code libraries [EPREFIX/lib]
826
--includedir=DIR C header files [PREFIX/include]
827
--oldincludedir=DIR C header files for non-gcc [/usr/include]
828
--infodir=DIR info documentation [PREFIX/info]
829
--mandir=DIR man documentation [PREFIX/man]
835
--program-prefix=PREFIX prepend PREFIX to installed program names
836
--program-suffix=SUFFIX append SUFFIX to installed program names
837
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
841
if test -n "$ac_init_help"; then
846
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
847
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
848
--enable-maintainer-mode enable make rules and dependencies not useful
849
(and sometimes confusing) to the casual installer
850
--disable-dependency-tracking speeds up one-time build
851
--enable-dependency-tracking do not reject slow dependency extractors
853
Some influential environment variables:
854
CC C compiler command
855
CFLAGS C compiler flags
856
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
857
nonstandard directory <lib dir>
858
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
859
headers in a nonstandard directory <include dir>
862
Use these variables to override the choices made by `configure' or to help
863
it to find libraries and programs with nonstandard names/locations.
868
if test "$ac_init_help" = "recursive"; then
869
# If there are subdirs, report their specific --help.
871
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
872
test -d $ac_dir || continue
875
if test "$ac_dir" != .; then
876
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
877
# A "../" for each directory in $ac_dir_suffix.
878
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
880
ac_dir_suffix= ac_top_builddir=
884
.) # No --srcdir option. We are building in place.
886
if test -z "$ac_top_builddir"; then
889
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
891
[\\/]* | ?:[\\/]* ) # Absolute path.
892
ac_srcdir=$srcdir$ac_dir_suffix;
893
ac_top_srcdir=$srcdir ;;
895
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
896
ac_top_srcdir=$ac_top_builddir$srcdir ;;
899
# Do not use `cd foo && pwd` to compute absolute paths, because
900
# the directories may not exist.
902
.) ac_abs_builddir="$ac_dir";;
905
.) ac_abs_builddir=`pwd`;;
906
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
907
*) ac_abs_builddir=`pwd`/"$ac_dir";;
910
case $ac_abs_builddir in
911
.) ac_abs_top_builddir=${ac_top_builddir}.;;
913
case ${ac_top_builddir}. in
914
.) ac_abs_top_builddir=$ac_abs_builddir;;
915
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
916
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
919
case $ac_abs_builddir in
920
.) ac_abs_srcdir=$ac_srcdir;;
923
.) ac_abs_srcdir=$ac_abs_builddir;;
924
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
925
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
928
case $ac_abs_builddir in
929
.) ac_abs_top_srcdir=$ac_top_srcdir;;
931
case $ac_top_srcdir in
932
.) ac_abs_top_srcdir=$ac_abs_builddir;;
933
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
934
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
939
# Check for guested configure; otherwise get Cygnus style configure.
940
if test -f $ac_srcdir/configure.gnu; then
942
$SHELL $ac_srcdir/configure.gnu --help=recursive
943
elif test -f $ac_srcdir/configure; then
945
$SHELL $ac_srcdir/configure --help=recursive
946
elif test -f $ac_srcdir/configure.ac ||
947
test -f $ac_srcdir/configure.in; then
951
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
957
test -n "$ac_init_help" && exit 0
958
if $ac_init_version; then
961
Copyright (C) 2003 Free Software Foundation, Inc.
962
This configure script is free software; the Free Software Foundation
963
gives unlimited permission to copy, distribute and modify it.
969
This file contains any messages produced by compilers while
970
running configure, to aid debugging if configure makes a mistake.
972
It was created by $as_me, which was
973
generated by GNU Autoconf 2.59. Invocation command line was
984
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
985
uname -m = `(uname -m) 2>/dev/null || echo unknown`
986
uname -r = `(uname -r) 2>/dev/null || echo unknown`
987
uname -s = `(uname -s) 2>/dev/null || echo unknown`
988
uname -v = `(uname -v) 2>/dev/null || echo unknown`
990
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
991
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
993
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
994
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
995
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
996
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
997
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
998
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
999
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1003
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1007
test -z "$as_dir" && as_dir=.
1008
echo "PATH: $as_dir"
1023
# Keep a trace of the command line.
1024
# Strip out --no-create and --no-recursion so they do not pile up.
1025
# Strip out --silent because we don't want to record it for future runs.
1026
# Also quote any args containing shell meta-characters.
1027
# Make two passes to allow for proper duplicate-argument suppression.
1032
ac_must_keep_next=false
1038
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1039
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040
| -silent | --silent | --silen | --sile | --sil)
1042
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1043
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1046
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1048
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1049
if test $ac_must_keep_next = true; then
1050
ac_must_keep_next=false # Got value, back to normal.
1053
*=* | --config-cache | -C | -disable-* | --disable-* \
1054
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1055
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1056
| -with-* | --with-* | -without-* | --without-* | --x)
1057
case "$ac_configure_args0 " in
1058
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1061
-* ) ac_must_keep_next=true ;;
1064
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1065
# Get rid of the leading space.
1071
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1072
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1074
# When interrupted or exit'd, cleanup temporary files, and complete
1075
# config.log. We remove comments because anyway the quotes in there
1076
# would cause problems or look ugly.
1077
# WARNING: Be sure not to use single quotes in there, as some shells,
1078
# such as our DU 5.0 friend, will then `close' the trap.
1079
trap 'exit_status=$?
1080
# Save into config.log some information that might help in debugging.
1085
## ---------------- ##
1086
## Cache variables. ##
1087
## ---------------- ##
1090
# The following way of writing the cache mishandles newlines in values,
1093
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1096
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1097
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1101
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1108
## ----------------- ##
1109
## Output variables. ##
1110
## ----------------- ##
1113
for ac_var in $ac_subst_vars
1115
eval ac_val=$`echo $ac_var`
1116
echo "$ac_var='"'"'$ac_val'"'"'"
1120
if test -n "$ac_subst_files"; then
1127
for ac_var in $ac_subst_files
1129
eval ac_val=$`echo $ac_var`
1130
echo "$ac_var='"'"'$ac_val'"'"'"
1135
if test -s confdefs.h; then
1142
sed "/^$/d" confdefs.h | sort
1145
test "$ac_signal" != 0 &&
1146
echo "$as_me: caught signal $ac_signal"
1147
echo "$as_me: exit $exit_status"
1149
rm -f core *.core &&
1150
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1153
for ac_signal in 1 2 13 15; do
1154
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1158
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1159
rm -rf conftest* confdefs.h
1160
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1163
# Predefined preprocessor variables.
1165
cat >>confdefs.h <<_ACEOF
1166
#define PACKAGE_NAME "$PACKAGE_NAME"
1170
cat >>confdefs.h <<_ACEOF
1171
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1175
cat >>confdefs.h <<_ACEOF
1176
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1180
cat >>confdefs.h <<_ACEOF
1181
#define PACKAGE_STRING "$PACKAGE_STRING"
1185
cat >>confdefs.h <<_ACEOF
1186
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1190
# Let the site file select an alternate cache file if it wants to.
1191
# Prefer explicitly selected file to automatically selected ones.
1192
if test -z "$CONFIG_SITE"; then
1193
if test "x$prefix" != xNONE; then
1194
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1196
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1199
for ac_site_file in $CONFIG_SITE; do
1200
if test -r "$ac_site_file"; then
1201
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1202
echo "$as_me: loading site script $ac_site_file" >&6;}
1203
sed 's/^/| /' "$ac_site_file" >&5
1208
if test -r "$cache_file"; then
1209
# Some versions of bash will fail to source /dev/null (special
1210
# files actually), so we avoid doing that.
1211
if test -f "$cache_file"; then
1212
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1213
echo "$as_me: loading cache $cache_file" >&6;}
1215
[\\/]* | ?:[\\/]* ) . $cache_file;;
1216
*) . ./$cache_file;;
1220
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1221
echo "$as_me: creating cache $cache_file" >&6;}
1225
# Check that the precious variables saved in the cache have kept the same
1227
ac_cache_corrupted=false
1228
for ac_var in `(set) 2>&1 |
1229
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1230
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1231
eval ac_new_set=\$ac_env_${ac_var}_set
1232
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1233
eval ac_new_val="\$ac_env_${ac_var}_value"
1234
case $ac_old_set,$ac_new_set in
1236
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1237
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1238
ac_cache_corrupted=: ;;
1240
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1241
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1242
ac_cache_corrupted=: ;;
1245
if test "x$ac_old_val" != "x$ac_new_val"; then
1246
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1247
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1248
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1249
echo "$as_me: former value: $ac_old_val" >&2;}
1250
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1251
echo "$as_me: current value: $ac_new_val" >&2;}
1252
ac_cache_corrupted=:
1255
# Pass precious variables to config.status.
1256
if test "$ac_new_set" = set; then
1258
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1259
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1260
*) ac_arg=$ac_var=$ac_new_val ;;
1262
case " $ac_configure_args " in
1263
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1264
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1268
if $ac_cache_corrupted; then
1269
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1270
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1271
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1272
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1273
{ (exit 1); exit 1; }; }
1277
ac_cpp='$CPP $CPPFLAGS'
1278
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1279
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1280
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1300
am__api_version="1.9"
1302
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1303
if test -f $ac_dir/install-sh; then
1305
ac_install_sh="$ac_aux_dir/install-sh -c"
1307
elif test -f $ac_dir/install.sh; then
1309
ac_install_sh="$ac_aux_dir/install.sh -c"
1311
elif test -f $ac_dir/shtool; then
1313
ac_install_sh="$ac_aux_dir/shtool install -c"
1317
if test -z "$ac_aux_dir"; then
1318
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1319
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1320
{ (exit 1); exit 1; }; }
1322
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1323
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1324
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1326
# Find a good install program. We prefer a C program (faster),
1327
# so one script is as good as another. But avoid the broken or
1328
# incompatible versions:
1329
# SysV /etc/install, /usr/sbin/install
1330
# SunOS /usr/etc/install
1331
# IRIX /sbin/install
1333
# AmigaOS /C/install, which installs bootblocks on floppy discs
1334
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1335
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1336
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1337
# OS/2's system install, which has a completely different semantic
1338
# ./install, which can be erroneously created by make from ./install.sh.
1339
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1340
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1341
if test -z "$INSTALL"; then
1342
if test "${ac_cv_path_install+set}" = set; then
1343
echo $ECHO_N "(cached) $ECHO_C" >&6
1345
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1349
test -z "$as_dir" && as_dir=.
1350
# Account for people who put trailing slashes in PATH elements.
1352
./ | .// | /cC/* | \
1353
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1354
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1357
# OSF1 and SCO ODT 3.0 have their own names for install.
1358
# Don't use installbsd from OSF since it installs stuff as root
1360
for ac_prog in ginstall scoinst install; do
1361
for ac_exec_ext in '' $ac_executable_extensions; do
1362
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1363
if test $ac_prog = install &&
1364
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1365
# AIX install. It has an incompatible calling convention.
1367
elif test $ac_prog = install &&
1368
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1369
# program-specific install script used by HP pwplus--don't use.
1372
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1384
if test "${ac_cv_path_install+set}" = set; then
1385
INSTALL=$ac_cv_path_install
1387
# As a last resort, use the slow shell script. We don't cache a
1388
# path for INSTALL within a source directory, because that will
1389
# break other packages using the cache if that directory is
1390
# removed, or if the path is relative.
1391
INSTALL=$ac_install_sh
1394
echo "$as_me:$LINENO: result: $INSTALL" >&5
1395
echo "${ECHO_T}$INSTALL" >&6
1397
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1398
# It thinks the first close brace ends the variable substitution.
1399
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1401
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1403
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1405
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1406
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1409
echo timestamp > conftest.file
1410
# Do `set' in a subshell so we don't clobber the current shell's
1411
# arguments. Must try -L first in case configure is actually a
1412
# symlink; some systems play weird games with the mod time of symlinks
1413
# (eg FreeBSD returns the mod time of the symlink's containing
1416
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1417
if test "$*" = "X"; then
1419
set X `ls -t $srcdir/configure conftest.file`
1422
if test "$*" != "X $srcdir/configure conftest.file" \
1423
&& test "$*" != "X conftest.file $srcdir/configure"; then
1425
# If neither matched, then we have a broken ls. This can happen
1426
# if, for instance, CONFIG_SHELL is bash and it inherits a
1427
# broken ls alias from the environment. This has actually
1428
# happened. Such a system could not be considered "sane".
1429
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1430
alias in your environment" >&5
1431
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1432
alias in your environment" >&2;}
1433
{ (exit 1); exit 1; }; }
1436
test "$2" = conftest.file
1442
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1443
Check your system clock" >&5
1444
echo "$as_me: error: newly created file is older than distributed files!
1445
Check your system clock" >&2;}
1446
{ (exit 1); exit 1; }; }
1448
echo "$as_me:$LINENO: result: yes" >&5
1449
echo "${ECHO_T}yes" >&6
1450
test "$program_prefix" != NONE &&
1451
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1452
# Use a double $ so make ignores it.
1453
test "$program_suffix" != NONE &&
1454
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1455
# Double any \ or $. echo might interpret backslashes.
1456
# By default was `s,x,x', remove it if useless.
1457
cat <<\_ACEOF >conftest.sed
1458
s/[\\$]/&&/g;s/;s,x,x,$//
1460
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1463
# expand $ac_aux_dir to an absolute path
1464
am_aux_dir=`cd $ac_aux_dir && pwd`
1466
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1467
# Use eval to expand $SHELL
1468
if eval "$MISSING --run true"; then
1469
am_missing_run="$MISSING --run "
1472
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1473
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1476
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1477
# We used to keeping the `.' as first argument, in order to
1478
# allow $(mkdir_p) to be used without argument. As in
1479
# $(mkdir_p) $(somedir)
1480
# where $(somedir) is conditionally defined. However this is wrong
1482
# 1. if the package is installed by a user who cannot write `.'
1483
# make install will fail,
1484
# 2. the above comment should most certainly read
1485
# $(mkdir_p) $(DESTDIR)$(somedir)
1486
# so it does not work when $(somedir) is undefined and
1487
# $(DESTDIR) is not.
1488
# To support the latter case, we have to write
1489
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1490
# so the `.' trick is pointless.
1491
mkdir_p='mkdir -p --'
1493
# On NextStep and OpenStep, the `mkdir' command does not
1494
# recognize any option. It will interpret all options as
1495
# directories to create, and then abort because `.' already
1497
for d in ./-p ./--version;
1499
test -d $d && rmdir $d
1501
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1502
if test -f "$ac_aux_dir/mkinstalldirs"; then
1503
mkdir_p='$(mkinstalldirs)'
1505
mkdir_p='$(install_sh) -d'
1509
for ac_prog in gawk mawk nawk awk
1511
# Extract the first word of "$ac_prog", so it can be a program name with args.
1512
set dummy $ac_prog; ac_word=$2
1513
echo "$as_me:$LINENO: checking for $ac_word" >&5
1514
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1515
if test "${ac_cv_prog_AWK+set}" = set; then
1516
echo $ECHO_N "(cached) $ECHO_C" >&6
1518
if test -n "$AWK"; then
1519
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1521
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1525
test -z "$as_dir" && as_dir=.
1526
for ac_exec_ext in '' $ac_executable_extensions; do
1527
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1528
ac_cv_prog_AWK="$ac_prog"
1529
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1538
if test -n "$AWK"; then
1539
echo "$as_me:$LINENO: result: $AWK" >&5
1540
echo "${ECHO_T}$AWK" >&6
1542
echo "$as_me:$LINENO: result: no" >&5
1543
echo "${ECHO_T}no" >&6
1546
test -n "$AWK" && break
1549
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1550
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1551
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1552
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1553
echo $ECHO_N "(cached) $ECHO_C" >&6
1555
cat >conftest.make <<\_ACEOF
1557
@echo 'ac_maketemp="$(MAKE)"'
1559
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1560
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1561
if test -n "$ac_maketemp"; then
1562
eval ac_cv_prog_make_${ac_make}_set=yes
1564
eval ac_cv_prog_make_${ac_make}_set=no
1568
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1569
echo "$as_me:$LINENO: result: yes" >&5
1570
echo "${ECHO_T}yes" >&6
1573
echo "$as_me:$LINENO: result: no" >&5
1574
echo "${ECHO_T}no" >&6
1575
SET_MAKE="MAKE=${MAKE-make}"
1578
rm -rf .tst 2>/dev/null
1579
mkdir .tst 2>/dev/null
1580
if test -d .tst; then
1585
rmdir .tst 2>/dev/null
1587
# test to see if srcdir already configured
1588
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1589
test -f $srcdir/config.status; then
1590
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1591
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1592
{ (exit 1); exit 1; }; }
1595
# test whether we have cygpath
1596
if test -z "$CYGPATH_W"; then
1597
if (cygpath --version) >/dev/null 2>/dev/null; then
1598
CYGPATH_W='cygpath -w'
1605
# Define the identity of the package.
1606
PACKAGE=update-manager
1610
cat >>confdefs.h <<_ACEOF
1611
#define PACKAGE "$PACKAGE"
1615
cat >>confdefs.h <<_ACEOF
1616
#define VERSION "$VERSION"
1619
# Some tools Automake needs.
1621
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1624
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1627
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1630
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1633
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1635
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1637
# Installed binaries are usually stripped using `strip' when the user
1638
# run `make install-strip'. However `strip' might not be the right
1639
# tool to use in cross-compilation environments, therefore Automake
1640
# will honor the `STRIP' environment variable to overrule this program.
1641
if test "$cross_compiling" != no; then
1642
if test -n "$ac_tool_prefix"; then
1643
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1644
set dummy ${ac_tool_prefix}strip; ac_word=$2
1645
echo "$as_me:$LINENO: checking for $ac_word" >&5
1646
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1647
if test "${ac_cv_prog_STRIP+set}" = set; then
1648
echo $ECHO_N "(cached) $ECHO_C" >&6
1650
if test -n "$STRIP"; then
1651
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1653
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1657
test -z "$as_dir" && as_dir=.
1658
for ac_exec_ext in '' $ac_executable_extensions; do
1659
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1660
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1661
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1669
STRIP=$ac_cv_prog_STRIP
1670
if test -n "$STRIP"; then
1671
echo "$as_me:$LINENO: result: $STRIP" >&5
1672
echo "${ECHO_T}$STRIP" >&6
1674
echo "$as_me:$LINENO: result: no" >&5
1675
echo "${ECHO_T}no" >&6
1679
if test -z "$ac_cv_prog_STRIP"; then
1681
# Extract the first word of "strip", so it can be a program name with args.
1682
set dummy strip; ac_word=$2
1683
echo "$as_me:$LINENO: checking for $ac_word" >&5
1684
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1685
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1686
echo $ECHO_N "(cached) $ECHO_C" >&6
1688
if test -n "$ac_ct_STRIP"; then
1689
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1691
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1695
test -z "$as_dir" && as_dir=.
1696
for ac_exec_ext in '' $ac_executable_extensions; do
1697
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1698
ac_cv_prog_ac_ct_STRIP="strip"
1699
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1708
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1709
if test -n "$ac_ct_STRIP"; then
1710
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1711
echo "${ECHO_T}$ac_ct_STRIP" >&6
1713
echo "$as_me:$LINENO: result: no" >&5
1714
echo "${ECHO_T}no" >&6
1719
STRIP="$ac_cv_prog_STRIP"
1723
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1725
# We need awk for the "check" target. The system "awk" is bad on
1727
# Always define AMTAR for backward compatibility.
1729
AMTAR=${AMTAR-"${am_missing_run}tar"}
1731
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1737
ac_config_headers="$ac_config_headers config.h"
1739
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1740
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1741
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1742
if test "${enable_maintainer_mode+set}" = set; then
1743
enableval="$enable_maintainer_mode"
1744
USE_MAINTAINER_MODE=$enableval
1746
USE_MAINTAINER_MODE=no
1748
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1749
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1752
if test $USE_MAINTAINER_MODE = yes; then
1753
MAINTAINER_MODE_TRUE=
1754
MAINTAINER_MODE_FALSE='#'
1756
MAINTAINER_MODE_TRUE='#'
1757
MAINTAINER_MODE_FALSE=
1760
MAINT=$MAINTAINER_MODE_TRUE
1764
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1765
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1766
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1767
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1768
echo $ECHO_N "(cached) $ECHO_C" >&6
1770
cat >conftest.make <<\_ACEOF
1772
@echo 'ac_maketemp="$(MAKE)"'
1774
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1775
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1776
if test -n "$ac_maketemp"; then
1777
eval ac_cv_prog_make_${ac_make}_set=yes
1779
eval ac_cv_prog_make_${ac_make}_set=no
1783
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1784
echo "$as_me:$LINENO: result: yes" >&5
1785
echo "${ECHO_T}yes" >&6
1788
echo "$as_me:$LINENO: result: no" >&5
1789
echo "${ECHO_T}no" >&6
1790
SET_MAKE="MAKE=${MAKE-make}"
1794
GETTEXT_PACKAGE=update-manager
1797
if test -n "0.23"; then
1798
echo "$as_me:$LINENO: checking for intltool >= 0.23" >&5
1799
echo $ECHO_N "checking for intltool >= 0.23... $ECHO_C" >&6
1801
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.23 | awk -F. '{ printf "%d", $1 * 100 + $2; }'`
1802
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $2; }' < ${ac_aux_dir}/intltool-update.in`
1804
INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($2, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${ac_aux_dir}/intltool-update.in`
1807
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then
1808
echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
1809
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
1811
echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool 0.23 or later." >&5
1812
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool 0.23 or later." >&6
1817
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1818
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1819
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1820
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1821
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
1822
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1823
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1824
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1825
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1826
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1827
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1828
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
1829
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1830
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1831
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1832
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1833
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1853
# Use the tools built into the package, not the ones that are installed.
1855
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
1856
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
1857
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
1863
# Extract the first word of "perl", so it can be a program name with args.
1864
set dummy perl; ac_word=$2
1865
echo "$as_me:$LINENO: checking for $ac_word" >&5
1866
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1867
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
1868
echo $ECHO_N "(cached) $ECHO_C" >&6
1870
case $INTLTOOL_PERL in
1872
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
1875
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1879
test -z "$as_dir" && as_dir=.
1880
for ac_exec_ext in '' $ac_executable_extensions; do
1881
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1882
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
1883
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1892
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
1894
if test -n "$INTLTOOL_PERL"; then
1895
echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
1896
echo "${ECHO_T}$INTLTOOL_PERL" >&6
1898
echo "$as_me:$LINENO: result: no" >&5
1899
echo "${ECHO_T}no" >&6
1902
if test -z "$INTLTOOL_PERL"; then
1903
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
1904
echo "$as_me: error: perl not found; required for intltool" >&2;}
1905
{ (exit 1); exit 1; }; }
1907
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
1908
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
1909
echo "$as_me: error: perl 5.x required for intltool" >&2;}
1910
{ (exit 1); exit 1; }; }
1912
if test "x" != "xno-xml"; then
1913
echo "$as_me:$LINENO: checking for XML::Parser" >&5
1914
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
1915
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
1916
echo "$as_me:$LINENO: result: ok" >&5
1917
echo "${ECHO_T}ok" >&6
1919
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
1920
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
1921
{ (exit 1); exit 1; }; }
1925
# Extract the first word of "iconv", so it can be a program name with args.
1926
set dummy iconv; ac_word=$2
1927
echo "$as_me:$LINENO: checking for $ac_word" >&5
1928
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
1930
echo $ECHO_N "(cached) $ECHO_C" >&6
1932
case $INTLTOOL_ICONV in
1934
ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
1937
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941
test -z "$as_dir" && as_dir=.
1942
for ac_exec_ext in '' $ac_executable_extensions; do
1943
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944
ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
1945
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951
test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
1955
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
1957
if test -n "$INTLTOOL_ICONV"; then
1958
echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
1959
echo "${ECHO_T}$INTLTOOL_ICONV" >&6
1961
echo "$as_me:$LINENO: result: no" >&5
1962
echo "${ECHO_T}no" >&6
1965
# Extract the first word of "msgfmt", so it can be a program name with args.
1966
set dummy msgfmt; ac_word=$2
1967
echo "$as_me:$LINENO: checking for $ac_word" >&5
1968
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
1970
echo $ECHO_N "(cached) $ECHO_C" >&6
1972
case $INTLTOOL_MSGFMT in
1974
ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
1977
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981
test -z "$as_dir" && as_dir=.
1982
for ac_exec_ext in '' $ac_executable_extensions; do
1983
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1984
ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
1985
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991
test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
1995
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
1997
if test -n "$INTLTOOL_MSGFMT"; then
1998
echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
1999
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6
2001
echo "$as_me:$LINENO: result: no" >&5
2002
echo "${ECHO_T}no" >&6
2005
# Extract the first word of "msgmerge", so it can be a program name with args.
2006
set dummy msgmerge; ac_word=$2
2007
echo "$as_me:$LINENO: checking for $ac_word" >&5
2008
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2009
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
2010
echo $ECHO_N "(cached) $ECHO_C" >&6
2012
case $INTLTOOL_MSGMERGE in
2014
ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
2017
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2021
test -z "$as_dir" && as_dir=.
2022
for ac_exec_ext in '' $ac_executable_extensions; do
2023
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2024
ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
2025
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031
test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
2035
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
2037
if test -n "$INTLTOOL_MSGMERGE"; then
2038
echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
2039
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6
2041
echo "$as_me:$LINENO: result: no" >&5
2042
echo "${ECHO_T}no" >&6
2045
# Extract the first word of "xgettext", so it can be a program name with args.
2046
set dummy xgettext; ac_word=$2
2047
echo "$as_me:$LINENO: checking for $ac_word" >&5
2048
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2049
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
2050
echo $ECHO_N "(cached) $ECHO_C" >&6
2052
case $INTLTOOL_XGETTEXT in
2054
ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
2057
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061
test -z "$as_dir" && as_dir=.
2062
for ac_exec_ext in '' $ac_executable_extensions; do
2063
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064
ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
2065
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071
test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
2075
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
2077
if test -n "$INTLTOOL_XGETTEXT"; then
2078
echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
2079
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6
2081
echo "$as_me:$LINENO: result: no" >&5
2082
echo "${ECHO_T}no" >&6
2086
# Remove file type tags (using []) from po/POTFILES.
2094
# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT.
2096
ac_config_commands="$ac_config_commands intltool"
2102
cat >>confdefs.h <<_ACEOF
2103
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
2106
ALL_LINGUAS="da de el en_CA es fi fr hu ja pl pt_BR ro rw sv zh_CN xh"
2107
DEPDIR="${am__leading_dot}deps"
2109
ac_config_commands="$ac_config_commands depfiles"
2112
am_make=${MAKE-make}
2113
cat > confinc << 'END'
2118
# If we don't find an include directive, just comment out the code.
2119
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2120
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2124
# First try GNU make style include.
2125
echo "include confinc" > confmf
2126
# We grep out `Entering directory' and `Leaving directory'
2127
# messages which can occur if `w' ends up in MAKEFLAGS.
2128
# In particular we don't look at `^make:' because GNU make might
2129
# be invoked under some other name (usually "gmake"), in which
2130
# case it prints its new name instead of `make'.
2131
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2136
# Now try BSD make style include.
2137
if test "$am__include" = "#"; then
2138
echo '.include "confinc"' > confmf
2139
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2140
am__include=.include
2147
echo "$as_me:$LINENO: result: $_am_result" >&5
2148
echo "${ECHO_T}$_am_result" >&6
2149
rm -f confinc confmf
2151
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2152
if test "${enable_dependency_tracking+set}" = set; then
2153
enableval="$enable_dependency_tracking"
2156
if test "x$enable_dependency_tracking" != xno; then
2157
am_depcomp="$ac_aux_dir/depcomp"
2162
if test "x$enable_dependency_tracking" != xno; then
2173
ac_cpp='$CPP $CPPFLAGS'
2174
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2175
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2176
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2177
if test -n "$ac_tool_prefix"; then
2178
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2179
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2180
echo "$as_me:$LINENO: checking for $ac_word" >&5
2181
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2182
if test "${ac_cv_prog_CC+set}" = set; then
2183
echo $ECHO_N "(cached) $ECHO_C" >&6
2185
if test -n "$CC"; then
2186
ac_cv_prog_CC="$CC" # Let the user override the test.
2188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192
test -z "$as_dir" && as_dir=.
2193
for ac_exec_ext in '' $ac_executable_extensions; do
2194
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2195
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2196
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205
if test -n "$CC"; then
2206
echo "$as_me:$LINENO: result: $CC" >&5
2207
echo "${ECHO_T}$CC" >&6
2209
echo "$as_me:$LINENO: result: no" >&5
2210
echo "${ECHO_T}no" >&6
2214
if test -z "$ac_cv_prog_CC"; then
2216
# Extract the first word of "gcc", so it can be a program name with args.
2217
set dummy gcc; ac_word=$2
2218
echo "$as_me:$LINENO: checking for $ac_word" >&5
2219
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2220
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2221
echo $ECHO_N "(cached) $ECHO_C" >&6
2223
if test -n "$ac_ct_CC"; then
2224
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2226
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230
test -z "$as_dir" && as_dir=.
2231
for ac_exec_ext in '' $ac_executable_extensions; do
2232
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2233
ac_cv_prog_ac_ct_CC="gcc"
2234
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2243
if test -n "$ac_ct_CC"; then
2244
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2245
echo "${ECHO_T}$ac_ct_CC" >&6
2247
echo "$as_me:$LINENO: result: no" >&5
2248
echo "${ECHO_T}no" >&6
2256
if test -z "$CC"; then
2257
if test -n "$ac_tool_prefix"; then
2258
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2259
set dummy ${ac_tool_prefix}cc; ac_word=$2
2260
echo "$as_me:$LINENO: checking for $ac_word" >&5
2261
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2262
if test "${ac_cv_prog_CC+set}" = set; then
2263
echo $ECHO_N "(cached) $ECHO_C" >&6
2265
if test -n "$CC"; then
2266
ac_cv_prog_CC="$CC" # Let the user override the test.
2268
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272
test -z "$as_dir" && as_dir=.
2273
for ac_exec_ext in '' $ac_executable_extensions; do
2274
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2275
ac_cv_prog_CC="${ac_tool_prefix}cc"
2276
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285
if test -n "$CC"; then
2286
echo "$as_me:$LINENO: result: $CC" >&5
2287
echo "${ECHO_T}$CC" >&6
2289
echo "$as_me:$LINENO: result: no" >&5
2290
echo "${ECHO_T}no" >&6
2294
if test -z "$ac_cv_prog_CC"; then
2296
# Extract the first word of "cc", so it can be a program name with args.
2297
set dummy cc; ac_word=$2
2298
echo "$as_me:$LINENO: checking for $ac_word" >&5
2299
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2300
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2301
echo $ECHO_N "(cached) $ECHO_C" >&6
2303
if test -n "$ac_ct_CC"; then
2304
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2306
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310
test -z "$as_dir" && as_dir=.
2311
for ac_exec_ext in '' $ac_executable_extensions; do
2312
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2313
ac_cv_prog_ac_ct_CC="cc"
2314
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2323
if test -n "$ac_ct_CC"; then
2324
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2325
echo "${ECHO_T}$ac_ct_CC" >&6
2327
echo "$as_me:$LINENO: result: no" >&5
2328
echo "${ECHO_T}no" >&6
2337
if test -z "$CC"; then
2338
# Extract the first word of "cc", so it can be a program name with args.
2339
set dummy cc; ac_word=$2
2340
echo "$as_me:$LINENO: checking for $ac_word" >&5
2341
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2342
if test "${ac_cv_prog_CC+set}" = set; then
2343
echo $ECHO_N "(cached) $ECHO_C" >&6
2345
if test -n "$CC"; then
2346
ac_cv_prog_CC="$CC" # Let the user override the test.
2349
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353
test -z "$as_dir" && as_dir=.
2354
for ac_exec_ext in '' $ac_executable_extensions; do
2355
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2356
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2357
ac_prog_rejected=yes
2361
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2367
if test $ac_prog_rejected = yes; then
2368
# We found a bogon in the path, so make sure we never use it.
2369
set dummy $ac_cv_prog_CC
2371
if test $# != 0; then
2372
# We chose a different compiler from the bogus one.
2373
# However, it has the same basename, so the bogon will be chosen
2374
# first if we set CC to just the basename; use the full file name.
2376
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2382
if test -n "$CC"; then
2383
echo "$as_me:$LINENO: result: $CC" >&5
2384
echo "${ECHO_T}$CC" >&6
2386
echo "$as_me:$LINENO: result: no" >&5
2387
echo "${ECHO_T}no" >&6
2391
if test -z "$CC"; then
2392
if test -n "$ac_tool_prefix"; then
2395
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2396
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2397
echo "$as_me:$LINENO: checking for $ac_word" >&5
2398
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2399
if test "${ac_cv_prog_CC+set}" = set; then
2400
echo $ECHO_N "(cached) $ECHO_C" >&6
2402
if test -n "$CC"; then
2403
ac_cv_prog_CC="$CC" # Let the user override the test.
2405
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409
test -z "$as_dir" && as_dir=.
2410
for ac_exec_ext in '' $ac_executable_extensions; do
2411
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2412
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2413
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422
if test -n "$CC"; then
2423
echo "$as_me:$LINENO: result: $CC" >&5
2424
echo "${ECHO_T}$CC" >&6
2426
echo "$as_me:$LINENO: result: no" >&5
2427
echo "${ECHO_T}no" >&6
2430
test -n "$CC" && break
2433
if test -z "$CC"; then
2437
# Extract the first word of "$ac_prog", so it can be a program name with args.
2438
set dummy $ac_prog; ac_word=$2
2439
echo "$as_me:$LINENO: checking for $ac_word" >&5
2440
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2441
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2442
echo $ECHO_N "(cached) $ECHO_C" >&6
2444
if test -n "$ac_ct_CC"; then
2445
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2447
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451
test -z "$as_dir" && as_dir=.
2452
for ac_exec_ext in '' $ac_executable_extensions; do
2453
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2454
ac_cv_prog_ac_ct_CC="$ac_prog"
2455
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2463
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2464
if test -n "$ac_ct_CC"; then
2465
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2466
echo "${ECHO_T}$ac_ct_CC" >&6
2468
echo "$as_me:$LINENO: result: no" >&5
2469
echo "${ECHO_T}no" >&6
2472
test -n "$ac_ct_CC" && break
2481
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2482
See \`config.log' for more details." >&5
2483
echo "$as_me: error: no acceptable C compiler found in \$PATH
2484
See \`config.log' for more details." >&2;}
2485
{ (exit 1); exit 1; }; }
2487
# Provide some information about the compiler.
2488
echo "$as_me:$LINENO:" \
2489
"checking for C compiler version" >&5
2490
ac_compiler=`set X $ac_compile; echo $2`
2491
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2492
(eval $ac_compiler --version </dev/null >&5) 2>&5
2494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495
(exit $ac_status); }
2496
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2497
(eval $ac_compiler -v </dev/null >&5) 2>&5
2499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500
(exit $ac_status); }
2501
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2502
(eval $ac_compiler -V </dev/null >&5) 2>&5
2504
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505
(exit $ac_status); }
2507
cat >conftest.$ac_ext <<_ACEOF
2510
cat confdefs.h >>conftest.$ac_ext
2511
cat >>conftest.$ac_ext <<_ACEOF
2512
/* end confdefs.h. */
2522
ac_clean_files_save=$ac_clean_files
2523
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2524
# Try to create an executable without -o first, disregard a.out.
2525
# It will help us diagnose broken compilers, and finding out an intuition
2527
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2528
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2529
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2530
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2531
(eval $ac_link_default) 2>&5
2533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534
(exit $ac_status); }; then
2535
# Find the output, starting from the most likely. This scheme is
2536
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2539
# Be careful to initialize this variable, since it used to be cached.
2540
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2542
# b.out is created by i960 compilers.
2543
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2545
test -f "$ac_file" || continue
2547
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2550
# This is the source file.
2553
# We found the default executable, but exeext='' is most
2557
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2558
# FIXME: I believe we export ac_cv_exeext for Libtool,
2559
# but it would be cool to find out if it's true. Does anybody
2560
# maintain Libtool? --akim.
2568
echo "$as_me: failed program was:" >&5
2569
sed 's/^/| /' conftest.$ac_ext >&5
2571
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2572
See \`config.log' for more details." >&5
2573
echo "$as_me: error: C compiler cannot create executables
2574
See \`config.log' for more details." >&2;}
2575
{ (exit 77); exit 77; }; }
2578
ac_exeext=$ac_cv_exeext
2579
echo "$as_me:$LINENO: result: $ac_file" >&5
2580
echo "${ECHO_T}$ac_file" >&6
2582
# Check the compiler produces executables we can run. If not, either
2583
# the compiler is broken, or we cross compile.
2584
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2585
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2586
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2587
# If not cross compiling, check that we can run a simple program.
2588
if test "$cross_compiling" != yes; then
2589
if { ac_try='./$ac_file'
2590
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2593
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594
(exit $ac_status); }; }; then
2597
if test "$cross_compiling" = maybe; then
2600
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2601
If you meant to cross compile, use \`--host'.
2602
See \`config.log' for more details." >&5
2603
echo "$as_me: error: cannot run C compiled programs.
2604
If you meant to cross compile, use \`--host'.
2605
See \`config.log' for more details." >&2;}
2606
{ (exit 1); exit 1; }; }
2610
echo "$as_me:$LINENO: result: yes" >&5
2611
echo "${ECHO_T}yes" >&6
2613
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2614
ac_clean_files=$ac_clean_files_save
2615
# Check the compiler produces executables we can run. If not, either
2616
# the compiler is broken, or we cross compile.
2617
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2618
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2619
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2620
echo "${ECHO_T}$cross_compiling" >&6
2622
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2623
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2624
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2625
(eval $ac_link) 2>&5
2627
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628
(exit $ac_status); }; then
2629
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2630
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2631
# work properly (i.e., refer to `conftest.exe'), while it won't with
2633
for ac_file in conftest.exe conftest conftest.*; do
2634
test -f "$ac_file" || continue
2636
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2637
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2644
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2645
See \`config.log' for more details." >&5
2646
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2647
See \`config.log' for more details." >&2;}
2648
{ (exit 1); exit 1; }; }
2651
rm -f conftest$ac_cv_exeext
2652
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2653
echo "${ECHO_T}$ac_cv_exeext" >&6
2655
rm -f conftest.$ac_ext
2656
EXEEXT=$ac_cv_exeext
2658
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2659
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2660
if test "${ac_cv_objext+set}" = set; then
2661
echo $ECHO_N "(cached) $ECHO_C" >&6
2663
cat >conftest.$ac_ext <<_ACEOF
2666
cat confdefs.h >>conftest.$ac_ext
2667
cat >>conftest.$ac_ext <<_ACEOF
2668
/* end confdefs.h. */
2678
rm -f conftest.o conftest.obj
2679
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2680
(eval $ac_compile) 2>&5
2682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683
(exit $ac_status); }; then
2684
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2686
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2687
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2692
echo "$as_me: failed program was:" >&5
2693
sed 's/^/| /' conftest.$ac_ext >&5
2695
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2696
See \`config.log' for more details." >&5
2697
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2698
See \`config.log' for more details." >&2;}
2699
{ (exit 1); exit 1; }; }
2702
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2704
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2705
echo "${ECHO_T}$ac_cv_objext" >&6
2706
OBJEXT=$ac_cv_objext
2708
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2709
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2710
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2711
echo $ECHO_N "(cached) $ECHO_C" >&6
2713
cat >conftest.$ac_ext <<_ACEOF
2716
cat confdefs.h >>conftest.$ac_ext
2717
cat >>conftest.$ac_ext <<_ACEOF
2718
/* end confdefs.h. */
2731
rm -f conftest.$ac_objext
2732
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2733
(eval $ac_compile) 2>conftest.er1
2735
grep -v '^ *+' conftest.er1 >conftest.err
2737
cat conftest.err >&5
2738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739
(exit $ac_status); } &&
2740
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2741
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745
(exit $ac_status); }; } &&
2746
{ ac_try='test -s conftest.$ac_objext'
2747
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2750
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751
(exit $ac_status); }; }; then
2754
echo "$as_me: failed program was:" >&5
2755
sed 's/^/| /' conftest.$ac_ext >&5
2759
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2760
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2763
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2764
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2765
GCC=`test $ac_compiler_gnu = yes && echo yes`
2766
ac_test_CFLAGS=${CFLAGS+set}
2767
ac_save_CFLAGS=$CFLAGS
2769
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2770
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2771
if test "${ac_cv_prog_cc_g+set}" = set; then
2772
echo $ECHO_N "(cached) $ECHO_C" >&6
2774
cat >conftest.$ac_ext <<_ACEOF
2777
cat confdefs.h >>conftest.$ac_ext
2778
cat >>conftest.$ac_ext <<_ACEOF
2779
/* end confdefs.h. */
2789
rm -f conftest.$ac_objext
2790
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2791
(eval $ac_compile) 2>conftest.er1
2793
grep -v '^ *+' conftest.er1 >conftest.err
2795
cat conftest.err >&5
2796
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797
(exit $ac_status); } &&
2798
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2799
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2802
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803
(exit $ac_status); }; } &&
2804
{ ac_try='test -s conftest.$ac_objext'
2805
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809
(exit $ac_status); }; }; then
2812
echo "$as_me: failed program was:" >&5
2813
sed 's/^/| /' conftest.$ac_ext >&5
2817
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2819
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2820
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2821
if test "$ac_test_CFLAGS" = set; then
2822
CFLAGS=$ac_save_CFLAGS
2823
elif test $ac_cv_prog_cc_g = yes; then
2824
if test "$GCC" = yes; then
2830
if test "$GCC" = yes; then
2836
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2837
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2838
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2839
echo $ECHO_N "(cached) $ECHO_C" >&6
2841
ac_cv_prog_cc_stdc=no
2843
cat >conftest.$ac_ext <<_ACEOF
2846
cat confdefs.h >>conftest.$ac_ext
2847
cat >>conftest.$ac_ext <<_ACEOF
2848
/* end confdefs.h. */
2851
#include <sys/types.h>
2852
#include <sys/stat.h>
2853
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2854
struct buf { int x; };
2855
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2856
static char *e (p, i)
2862
static char *f (char * (*g) (char **, int), char **p, ...)
2867
s = g (p, va_arg (v,int));
2872
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2873
function prototypes and stuff, but not '\xHH' hex character constants.
2874
These don't provoke an error unfortunately, instead are silently treated
2875
as 'x'. The following induces an error, until -std1 is added to get
2876
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2877
array size at least. It's necessary to write '\x00'==0 to get something
2878
that's true only with -std1. */
2879
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2881
int test (int i, double x);
2882
struct s1 {int (*f) (int a);};
2883
struct s2 {int (*f) (double a);};
2884
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2890
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2895
# Don't try gcc -ansi; that turns off useful extensions and
2896
# breaks some systems' header files.
2897
# AIX -qlanglvl=ansi
2898
# Ultrix and OSF/1 -std1
2899
# HP-UX 10.20 and later -Ae
2900
# HP-UX older versions -Aa -D_HPUX_SOURCE
2901
# SVR4 -Xc -D__EXTENSIONS__
2902
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2904
CC="$ac_save_CC $ac_arg"
2905
rm -f conftest.$ac_objext
2906
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2907
(eval $ac_compile) 2>conftest.er1
2909
grep -v '^ *+' conftest.er1 >conftest.err
2911
cat conftest.err >&5
2912
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913
(exit $ac_status); } &&
2914
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2915
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919
(exit $ac_status); }; } &&
2920
{ ac_try='test -s conftest.$ac_objext'
2921
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925
(exit $ac_status); }; }; then
2926
ac_cv_prog_cc_stdc=$ac_arg
2929
echo "$as_me: failed program was:" >&5
2930
sed 's/^/| /' conftest.$ac_ext >&5
2933
rm -f conftest.err conftest.$ac_objext
2935
rm -f conftest.$ac_ext conftest.$ac_objext
2940
case "x$ac_cv_prog_cc_stdc" in
2942
echo "$as_me:$LINENO: result: none needed" >&5
2943
echo "${ECHO_T}none needed" >&6 ;;
2945
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2946
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2947
CC="$CC $ac_cv_prog_cc_stdc" ;;
2950
# Some people use a C++ compiler to compile C. Since we use `exit',
2951
# in C++ we need to declare it. In case someone uses the same compiler
2952
# for both compiling C and C++ we need to have the C++ compiler decide
2953
# the declaration of exit, since it's the most demanding environment.
2954
cat >conftest.$ac_ext <<_ACEOF
2959
rm -f conftest.$ac_objext
2960
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2961
(eval $ac_compile) 2>conftest.er1
2963
grep -v '^ *+' conftest.er1 >conftest.err
2965
cat conftest.err >&5
2966
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967
(exit $ac_status); } &&
2968
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2969
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973
(exit $ac_status); }; } &&
2974
{ ac_try='test -s conftest.$ac_objext'
2975
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2978
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979
(exit $ac_status); }; }; then
2980
for ac_declaration in \
2982
'extern "C" void std::exit (int) throw (); using std::exit;' \
2983
'extern "C" void std::exit (int); using std::exit;' \
2984
'extern "C" void exit (int) throw ();' \
2985
'extern "C" void exit (int);' \
2988
cat >conftest.$ac_ext <<_ACEOF
2991
cat confdefs.h >>conftest.$ac_ext
2992
cat >>conftest.$ac_ext <<_ACEOF
2993
/* end confdefs.h. */
3004
rm -f conftest.$ac_objext
3005
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3006
(eval $ac_compile) 2>conftest.er1
3008
grep -v '^ *+' conftest.er1 >conftest.err
3010
cat conftest.err >&5
3011
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012
(exit $ac_status); } &&
3013
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3014
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018
(exit $ac_status); }; } &&
3019
{ ac_try='test -s conftest.$ac_objext'
3020
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024
(exit $ac_status); }; }; then
3027
echo "$as_me: failed program was:" >&5
3028
sed 's/^/| /' conftest.$ac_ext >&5
3032
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3033
cat >conftest.$ac_ext <<_ACEOF
3036
cat confdefs.h >>conftest.$ac_ext
3037
cat >>conftest.$ac_ext <<_ACEOF
3038
/* end confdefs.h. */
3048
rm -f conftest.$ac_objext
3049
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3050
(eval $ac_compile) 2>conftest.er1
3052
grep -v '^ *+' conftest.er1 >conftest.err
3054
cat conftest.err >&5
3055
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056
(exit $ac_status); } &&
3057
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3058
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062
(exit $ac_status); }; } &&
3063
{ ac_try='test -s conftest.$ac_objext'
3064
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3067
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068
(exit $ac_status); }; }; then
3071
echo "$as_me: failed program was:" >&5
3072
sed 's/^/| /' conftest.$ac_ext >&5
3075
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3078
if test -n "$ac_declaration"; then
3079
echo '#ifdef __cplusplus' >>confdefs.h
3080
echo $ac_declaration >>confdefs.h
3081
echo '#endif' >>confdefs.h
3085
echo "$as_me: failed program was:" >&5
3086
sed 's/^/| /' conftest.$ac_ext >&5
3089
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3091
ac_cpp='$CPP $CPPFLAGS'
3092
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3093
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3094
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3096
depcc="$CC" am_compiler_list=
3098
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3099
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3100
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3101
echo $ECHO_N "(cached) $ECHO_C" >&6
3103
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3104
# We make a subdir and do the tests there. Otherwise we can end up
3105
# making bogus files that we don't know about and never remove. For
3106
# instance it was reported that on HP-UX the gcc test will end up
3107
# making a dummy file named `D' -- because `-MD' means `put the output
3110
# Copy depcomp to subdir because otherwise we won't find it if we're
3111
# using a relative directory.
3112
cp "$am_depcomp" conftest.dir
3114
# We will build objects and dependencies in a subdirectory because
3115
# it helps to detect inapplicable dependency modes. For instance
3116
# both Tru64's cc and ICC support -MD to output dependencies as a
3117
# side effect of compilation, but ICC will put the dependencies in
3118
# the current directory while Tru64 will put them in the object
3122
am_cv_CC_dependencies_compiler_type=none
3123
if test "$am_compiler_list" = ""; then
3124
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3126
for depmode in $am_compiler_list; do
3127
# Setup a source with many dependencies, because some compilers
3128
# like to wrap large dependency lists on column 80 (with \), and
3129
# we should not choose a depcomp mode which is confused by this.
3131
# We need to recreate these files for each test, as the compiler may
3132
# overwrite some of them when testing with obscure command lines.
3133
# This happens at least with the AIX C compiler.
3135
for i in 1 2 3 4 5 6; do
3136
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3137
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3138
# Solaris 8's {/usr,}/bin/sh.
3139
touch sub/conftst$i.h
3141
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3145
# after this tag, mechanisms are not by side-effect, so they'll
3146
# only be used when explicitly requested
3147
if test "x$enable_dependency_tracking" = xyes; then
3155
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3156
# mode. It turns out that the SunPro C++ compiler does not properly
3157
# handle `-M -o', and we need to detect this.
3158
if depmode=$depmode \
3159
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3160
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3161
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3162
>/dev/null 2>conftest.err &&
3163
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3164
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3165
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3166
# icc doesn't choke on unknown options, it will just issue warnings
3167
# or remarks (even with -Werror). So we grep stderr for any message
3168
# that says an option was ignored or not supported.
3169
# When given -MP, icc 7.0 and 7.1 complain thusly:
3170
# icc: Command line warning: ignoring option '-M'; no argument required
3171
# The diagnosis changed in icc 8.0:
3172
# icc: Command line remark: option '-MP' not supported
3173
if (grep 'ignoring option' conftest.err ||
3174
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3175
am_cv_CC_dependencies_compiler_type=$depmode
3184
am_cv_CC_dependencies_compiler_type=none
3188
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3189
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3190
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3195
test "x$enable_dependency_tracking" != xno \
3196
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3198
am__fastdepCC_FALSE='#'
3200
am__fastdepCC_TRUE='#'
3201
am__fastdepCC_FALSE=
3207
ac_cpp='$CPP $CPPFLAGS'
3208
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3209
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3210
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3211
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3212
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3213
# On Suns, sometimes $CPP names a directory.
3214
if test -n "$CPP" && test -d "$CPP"; then
3217
if test -z "$CPP"; then
3218
if test "${ac_cv_prog_CPP+set}" = set; then
3219
echo $ECHO_N "(cached) $ECHO_C" >&6
3221
# Double quotes because CPP needs to be expanded
3222
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3225
for ac_c_preproc_warn_flag in '' yes
3227
# Use a header file that comes with gcc, so configuring glibc
3228
# with a fresh cross-compiler works.
3229
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3230
# <limits.h> exists even on freestanding compilers.
3231
# On the NeXT, cc -E runs the code through the compiler's parser,
3232
# not just through cpp. "Syntax error" is here to catch this case.
3233
cat >conftest.$ac_ext <<_ACEOF
3236
cat confdefs.h >>conftest.$ac_ext
3237
cat >>conftest.$ac_ext <<_ACEOF
3238
/* end confdefs.h. */
3240
# include <limits.h>
3242
# include <assert.h>
3246
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3247
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3249
grep -v '^ *+' conftest.er1 >conftest.err
3251
cat conftest.err >&5
3252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253
(exit $ac_status); } >/dev/null; then
3254
if test -s conftest.err; then
3255
ac_cpp_err=$ac_c_preproc_warn_flag
3256
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3263
if test -z "$ac_cpp_err"; then
3266
echo "$as_me: failed program was:" >&5
3267
sed 's/^/| /' conftest.$ac_ext >&5
3269
# Broken: fails on valid input.
3272
rm -f conftest.err conftest.$ac_ext
3274
# OK, works on sane cases. Now check whether non-existent headers
3275
# can be detected and how.
3276
cat >conftest.$ac_ext <<_ACEOF
3279
cat confdefs.h >>conftest.$ac_ext
3280
cat >>conftest.$ac_ext <<_ACEOF
3281
/* end confdefs.h. */
3282
#include <ac_nonexistent.h>
3284
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3285
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3287
grep -v '^ *+' conftest.er1 >conftest.err
3289
cat conftest.err >&5
3290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291
(exit $ac_status); } >/dev/null; then
3292
if test -s conftest.err; then
3293
ac_cpp_err=$ac_c_preproc_warn_flag
3294
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3301
if test -z "$ac_cpp_err"; then
3302
# Broken: success on invalid input.
3305
echo "$as_me: failed program was:" >&5
3306
sed 's/^/| /' conftest.$ac_ext >&5
3308
# Passes both tests.
3312
rm -f conftest.err conftest.$ac_ext
3315
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3316
rm -f conftest.err conftest.$ac_ext
3317
if $ac_preproc_ok; then
3329
echo "$as_me:$LINENO: result: $CPP" >&5
3330
echo "${ECHO_T}$CPP" >&6
3332
for ac_c_preproc_warn_flag in '' yes
3334
# Use a header file that comes with gcc, so configuring glibc
3335
# with a fresh cross-compiler works.
3336
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3337
# <limits.h> exists even on freestanding compilers.
3338
# On the NeXT, cc -E runs the code through the compiler's parser,
3339
# not just through cpp. "Syntax error" is here to catch this case.
3340
cat >conftest.$ac_ext <<_ACEOF
3343
cat confdefs.h >>conftest.$ac_ext
3344
cat >>conftest.$ac_ext <<_ACEOF
3345
/* end confdefs.h. */
3347
# include <limits.h>
3349
# include <assert.h>
3353
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3354
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3356
grep -v '^ *+' conftest.er1 >conftest.err
3358
cat conftest.err >&5
3359
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360
(exit $ac_status); } >/dev/null; then
3361
if test -s conftest.err; then
3362
ac_cpp_err=$ac_c_preproc_warn_flag
3363
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3370
if test -z "$ac_cpp_err"; then
3373
echo "$as_me: failed program was:" >&5
3374
sed 's/^/| /' conftest.$ac_ext >&5
3376
# Broken: fails on valid input.
3379
rm -f conftest.err conftest.$ac_ext
3381
# OK, works on sane cases. Now check whether non-existent headers
3382
# can be detected and how.
3383
cat >conftest.$ac_ext <<_ACEOF
3386
cat confdefs.h >>conftest.$ac_ext
3387
cat >>conftest.$ac_ext <<_ACEOF
3388
/* end confdefs.h. */
3389
#include <ac_nonexistent.h>
3391
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3392
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3394
grep -v '^ *+' conftest.er1 >conftest.err
3396
cat conftest.err >&5
3397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398
(exit $ac_status); } >/dev/null; then
3399
if test -s conftest.err; then
3400
ac_cpp_err=$ac_c_preproc_warn_flag
3401
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3408
if test -z "$ac_cpp_err"; then
3409
# Broken: success on invalid input.
3412
echo "$as_me: failed program was:" >&5
3413
sed 's/^/| /' conftest.$ac_ext >&5
3415
# Passes both tests.
3419
rm -f conftest.err conftest.$ac_ext
3422
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3423
rm -f conftest.err conftest.$ac_ext
3424
if $ac_preproc_ok; then
3427
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3428
See \`config.log' for more details." >&5
3429
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3430
See \`config.log' for more details." >&2;}
3431
{ (exit 1); exit 1; }; }
3435
ac_cpp='$CPP $CPPFLAGS'
3436
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3437
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3438
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3441
echo "$as_me:$LINENO: checking for egrep" >&5
3442
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3443
if test "${ac_cv_prog_egrep+set}" = set; then
3444
echo $ECHO_N "(cached) $ECHO_C" >&6
3446
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3447
then ac_cv_prog_egrep='grep -E'
3448
else ac_cv_prog_egrep='egrep'
3451
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3452
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3453
EGREP=$ac_cv_prog_egrep
3456
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3457
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3458
if test "${ac_cv_header_stdc+set}" = set; then
3459
echo $ECHO_N "(cached) $ECHO_C" >&6
3461
cat >conftest.$ac_ext <<_ACEOF
3464
cat confdefs.h >>conftest.$ac_ext
3465
cat >>conftest.$ac_ext <<_ACEOF
3466
/* end confdefs.h. */
3480
rm -f conftest.$ac_objext
3481
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3482
(eval $ac_compile) 2>conftest.er1
3484
grep -v '^ *+' conftest.er1 >conftest.err
3486
cat conftest.err >&5
3487
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488
(exit $ac_status); } &&
3489
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3490
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494
(exit $ac_status); }; } &&
3495
{ ac_try='test -s conftest.$ac_objext'
3496
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500
(exit $ac_status); }; }; then
3501
ac_cv_header_stdc=yes
3503
echo "$as_me: failed program was:" >&5
3504
sed 's/^/| /' conftest.$ac_ext >&5
3506
ac_cv_header_stdc=no
3508
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3510
if test $ac_cv_header_stdc = yes; then
3511
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3512
cat >conftest.$ac_ext <<_ACEOF
3515
cat confdefs.h >>conftest.$ac_ext
3516
cat >>conftest.$ac_ext <<_ACEOF
3517
/* end confdefs.h. */
3521
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3522
$EGREP "memchr" >/dev/null 2>&1; then
3525
ac_cv_header_stdc=no
3531
if test $ac_cv_header_stdc = yes; then
3532
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3533
cat >conftest.$ac_ext <<_ACEOF
3536
cat confdefs.h >>conftest.$ac_ext
3537
cat >>conftest.$ac_ext <<_ACEOF
3538
/* end confdefs.h. */
3542
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3543
$EGREP "free" >/dev/null 2>&1; then
3546
ac_cv_header_stdc=no
3552
if test $ac_cv_header_stdc = yes; then
3553
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3554
if test "$cross_compiling" = yes; then
3557
cat >conftest.$ac_ext <<_ACEOF
3560
cat confdefs.h >>conftest.$ac_ext
3561
cat >>conftest.$ac_ext <<_ACEOF
3562
/* end confdefs.h. */
3564
#if ((' ' & 0x0FF) == 0x020)
3565
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3566
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3568
# define ISLOWER(c) \
3569
(('a' <= (c) && (c) <= 'i') \
3570
|| ('j' <= (c) && (c) <= 'r') \
3571
|| ('s' <= (c) && (c) <= 'z'))
3572
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3575
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3580
for (i = 0; i < 256; i++)
3581
if (XOR (islower (i), ISLOWER (i))
3582
|| toupper (i) != TOUPPER (i))
3587
rm -f conftest$ac_exeext
3588
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3589
(eval $ac_link) 2>&5
3591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3593
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3596
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597
(exit $ac_status); }; }; then
3600
echo "$as_me: program exited with status $ac_status" >&5
3601
echo "$as_me: failed program was:" >&5
3602
sed 's/^/| /' conftest.$ac_ext >&5
3605
ac_cv_header_stdc=no
3607
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3611
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3612
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3613
if test $ac_cv_header_stdc = yes; then
3615
cat >>confdefs.h <<\_ACEOF
3616
#define STDC_HEADERS 1
3621
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3631
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3632
inttypes.h stdint.h unistd.h
3634
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3635
echo "$as_me:$LINENO: checking for $ac_header" >&5
3636
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3637
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3638
echo $ECHO_N "(cached) $ECHO_C" >&6
3640
cat >conftest.$ac_ext <<_ACEOF
3643
cat confdefs.h >>conftest.$ac_ext
3644
cat >>conftest.$ac_ext <<_ACEOF
3645
/* end confdefs.h. */
3646
$ac_includes_default
3648
#include <$ac_header>
3650
rm -f conftest.$ac_objext
3651
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3652
(eval $ac_compile) 2>conftest.er1
3654
grep -v '^ *+' conftest.er1 >conftest.err
3656
cat conftest.err >&5
3657
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658
(exit $ac_status); } &&
3659
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3660
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664
(exit $ac_status); }; } &&
3665
{ ac_try='test -s conftest.$ac_objext'
3666
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3669
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670
(exit $ac_status); }; }; then
3671
eval "$as_ac_Header=yes"
3673
echo "$as_me: failed program was:" >&5
3674
sed 's/^/| /' conftest.$ac_ext >&5
3676
eval "$as_ac_Header=no"
3678
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3680
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3681
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3682
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3683
cat >>confdefs.h <<_ACEOF
3684
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3694
for ac_header in locale.h
3696
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3697
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3698
echo "$as_me:$LINENO: checking for $ac_header" >&5
3699
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3700
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3701
echo $ECHO_N "(cached) $ECHO_C" >&6
3703
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3704
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3706
# Is the header compilable?
3707
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3708
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3709
cat >conftest.$ac_ext <<_ACEOF
3712
cat confdefs.h >>conftest.$ac_ext
3713
cat >>conftest.$ac_ext <<_ACEOF
3714
/* end confdefs.h. */
3715
$ac_includes_default
3716
#include <$ac_header>
3718
rm -f conftest.$ac_objext
3719
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3720
(eval $ac_compile) 2>conftest.er1
3722
grep -v '^ *+' conftest.er1 >conftest.err
3724
cat conftest.err >&5
3725
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726
(exit $ac_status); } &&
3727
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3728
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732
(exit $ac_status); }; } &&
3733
{ ac_try='test -s conftest.$ac_objext'
3734
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738
(exit $ac_status); }; }; then
3739
ac_header_compiler=yes
3741
echo "$as_me: failed program was:" >&5
3742
sed 's/^/| /' conftest.$ac_ext >&5
3744
ac_header_compiler=no
3746
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3747
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3748
echo "${ECHO_T}$ac_header_compiler" >&6
3750
# Is the header present?
3751
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3752
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3753
cat >conftest.$ac_ext <<_ACEOF
3756
cat confdefs.h >>conftest.$ac_ext
3757
cat >>conftest.$ac_ext <<_ACEOF
3758
/* end confdefs.h. */
3759
#include <$ac_header>
3761
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3762
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3764
grep -v '^ *+' conftest.er1 >conftest.err
3766
cat conftest.err >&5
3767
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768
(exit $ac_status); } >/dev/null; then
3769
if test -s conftest.err; then
3770
ac_cpp_err=$ac_c_preproc_warn_flag
3771
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3778
if test -z "$ac_cpp_err"; then
3779
ac_header_preproc=yes
3781
echo "$as_me: failed program was:" >&5
3782
sed 's/^/| /' conftest.$ac_ext >&5
3784
ac_header_preproc=no
3786
rm -f conftest.err conftest.$ac_ext
3787
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3788
echo "${ECHO_T}$ac_header_preproc" >&6
3790
# So? What about this header?
3791
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3793
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3794
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3795
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3796
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3797
ac_header_preproc=yes
3800
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3801
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3802
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3803
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3804
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3805
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3806
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3807
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3808
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3809
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3810
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3811
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3814
## ------------------------------------------ ##
3815
## Report this to the AC_PACKAGE_NAME lists. ##
3816
## ------------------------------------------ ##
3819
sed "s/^/$as_me: WARNING: /" >&2
3822
echo "$as_me:$LINENO: checking for $ac_header" >&5
3823
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3824
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3825
echo $ECHO_N "(cached) $ECHO_C" >&6
3827
eval "$as_ac_Header=\$ac_header_preproc"
3829
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3830
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3833
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3834
cat >>confdefs.h <<_ACEOF
3835
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3842
if test $ac_cv_header_locale_h = yes; then
3843
echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
3844
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
3845
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
3846
echo $ECHO_N "(cached) $ECHO_C" >&6
3848
cat >conftest.$ac_ext <<_ACEOF
3851
cat confdefs.h >>conftest.$ac_ext
3852
cat >>conftest.$ac_ext <<_ACEOF
3853
/* end confdefs.h. */
3863
rm -f conftest.$ac_objext conftest$ac_exeext
3864
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3865
(eval $ac_link) 2>conftest.er1
3867
grep -v '^ *+' conftest.er1 >conftest.err
3869
cat conftest.err >&5
3870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871
(exit $ac_status); } &&
3872
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3873
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877
(exit $ac_status); }; } &&
3878
{ ac_try='test -s conftest$ac_exeext'
3879
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3882
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883
(exit $ac_status); }; }; then
3884
am_cv_val_LC_MESSAGES=yes
3886
echo "$as_me: failed program was:" >&5
3887
sed 's/^/| /' conftest.$ac_ext >&5
3889
am_cv_val_LC_MESSAGES=no
3891
rm -f conftest.err conftest.$ac_objext \
3892
conftest$ac_exeext conftest.$ac_ext
3894
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
3895
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
3896
if test $am_cv_val_LC_MESSAGES = yes; then
3898
cat >>confdefs.h <<\_ACEOF
3899
#define HAVE_LC_MESSAGES 1
3907
gt_cv_have_gettext=no
3913
if test "${ac_cv_header_libintl_h+set}" = set; then
3914
echo "$as_me:$LINENO: checking for libintl.h" >&5
3915
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
3916
if test "${ac_cv_header_libintl_h+set}" = set; then
3917
echo $ECHO_N "(cached) $ECHO_C" >&6
3919
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
3920
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
3922
# Is the header compilable?
3923
echo "$as_me:$LINENO: checking libintl.h usability" >&5
3924
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
3925
cat >conftest.$ac_ext <<_ACEOF
3928
cat confdefs.h >>conftest.$ac_ext
3929
cat >>conftest.$ac_ext <<_ACEOF
3930
/* end confdefs.h. */
3931
$ac_includes_default
3932
#include <libintl.h>
3934
rm -f conftest.$ac_objext
3935
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3936
(eval $ac_compile) 2>conftest.er1
3938
grep -v '^ *+' conftest.er1 >conftest.err
3940
cat conftest.err >&5
3941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942
(exit $ac_status); } &&
3943
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3944
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948
(exit $ac_status); }; } &&
3949
{ ac_try='test -s conftest.$ac_objext'
3950
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3953
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954
(exit $ac_status); }; }; then
3955
ac_header_compiler=yes
3957
echo "$as_me: failed program was:" >&5
3958
sed 's/^/| /' conftest.$ac_ext >&5
3960
ac_header_compiler=no
3962
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3963
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3964
echo "${ECHO_T}$ac_header_compiler" >&6
3966
# Is the header present?
3967
echo "$as_me:$LINENO: checking libintl.h presence" >&5
3968
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
3969
cat >conftest.$ac_ext <<_ACEOF
3972
cat confdefs.h >>conftest.$ac_ext
3973
cat >>conftest.$ac_ext <<_ACEOF
3974
/* end confdefs.h. */
3975
#include <libintl.h>
3977
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3978
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3980
grep -v '^ *+' conftest.er1 >conftest.err
3982
cat conftest.err >&5
3983
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984
(exit $ac_status); } >/dev/null; then
3985
if test -s conftest.err; then
3986
ac_cpp_err=$ac_c_preproc_warn_flag
3987
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3994
if test -z "$ac_cpp_err"; then
3995
ac_header_preproc=yes
3997
echo "$as_me: failed program was:" >&5
3998
sed 's/^/| /' conftest.$ac_ext >&5
4000
ac_header_preproc=no
4002
rm -f conftest.err conftest.$ac_ext
4003
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4004
echo "${ECHO_T}$ac_header_preproc" >&6
4006
# So? What about this header?
4007
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4009
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4010
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4011
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4012
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4013
ac_header_preproc=yes
4016
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4017
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4018
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4019
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4020
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4021
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4022
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4023
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4024
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4025
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4026
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4027
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4030
## ------------------------------------------ ##
4031
## Report this to the AC_PACKAGE_NAME lists. ##
4032
## ------------------------------------------ ##
4035
sed "s/^/$as_me: WARNING: /" >&2
4038
echo "$as_me:$LINENO: checking for libintl.h" >&5
4039
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4040
if test "${ac_cv_header_libintl_h+set}" = set; then
4041
echo $ECHO_N "(cached) $ECHO_C" >&6
4043
ac_cv_header_libintl_h=$ac_header_preproc
4045
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4046
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4049
if test $ac_cv_header_libintl_h = yes; then
4050
gt_cv_func_dgettext_libintl="no"
4051
libintl_extra_libs=""
4054
# First check in libc
4056
echo "$as_me:$LINENO: checking for ngettext in libc" >&5
4057
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6
4058
if test "${gt_cv_func_ngettext_libc+set}" = set; then
4059
echo $ECHO_N "(cached) $ECHO_C" >&6
4061
cat >conftest.$ac_ext <<_ACEOF
4064
cat confdefs.h >>conftest.$ac_ext
4065
cat >>conftest.$ac_ext <<_ACEOF
4066
/* end confdefs.h. */
4068
#include <libintl.h>
4073
return !ngettext ("","", 1)
4078
rm -f conftest.$ac_objext conftest$ac_exeext
4079
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4080
(eval $ac_link) 2>conftest.er1
4082
grep -v '^ *+' conftest.er1 >conftest.err
4084
cat conftest.err >&5
4085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086
(exit $ac_status); } &&
4087
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4088
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4091
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092
(exit $ac_status); }; } &&
4093
{ ac_try='test -s conftest$ac_exeext'
4094
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4097
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098
(exit $ac_status); }; }; then
4099
gt_cv_func_ngettext_libc=yes
4101
echo "$as_me: failed program was:" >&5
4102
sed 's/^/| /' conftest.$ac_ext >&5
4104
gt_cv_func_ngettext_libc=no
4106
rm -f conftest.err conftest.$ac_objext \
4107
conftest$ac_exeext conftest.$ac_ext
4110
echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
4111
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6
4113
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4114
echo "$as_me:$LINENO: checking for dgettext in libc" >&5
4115
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
4116
if test "${gt_cv_func_dgettext_libc+set}" = set; then
4117
echo $ECHO_N "(cached) $ECHO_C" >&6
4119
cat >conftest.$ac_ext <<_ACEOF
4122
cat confdefs.h >>conftest.$ac_ext
4123
cat >>conftest.$ac_ext <<_ACEOF
4124
/* end confdefs.h. */
4126
#include <libintl.h>
4131
return !dgettext ("","")
4136
rm -f conftest.$ac_objext conftest$ac_exeext
4137
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4138
(eval $ac_link) 2>conftest.er1
4140
grep -v '^ *+' conftest.er1 >conftest.err
4142
cat conftest.err >&5
4143
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144
(exit $ac_status); } &&
4145
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4146
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4149
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150
(exit $ac_status); }; } &&
4151
{ ac_try='test -s conftest$ac_exeext'
4152
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156
(exit $ac_status); }; }; then
4157
gt_cv_func_dgettext_libc=yes
4159
echo "$as_me: failed program was:" >&5
4160
sed 's/^/| /' conftest.$ac_ext >&5
4162
gt_cv_func_dgettext_libc=no
4164
rm -f conftest.err conftest.$ac_objext \
4165
conftest$ac_exeext conftest.$ac_ext
4168
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
4169
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
4172
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4174
for ac_func in bind_textdomain_codeset
4176
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4177
echo "$as_me:$LINENO: checking for $ac_func" >&5
4178
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4179
if eval "test \"\${$as_ac_var+set}\" = set"; then
4180
echo $ECHO_N "(cached) $ECHO_C" >&6
4182
cat >conftest.$ac_ext <<_ACEOF
4185
cat confdefs.h >>conftest.$ac_ext
4186
cat >>conftest.$ac_ext <<_ACEOF
4187
/* end confdefs.h. */
4188
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4189
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4190
#define $ac_func innocuous_$ac_func
4192
/* System header to define __stub macros and hopefully few prototypes,
4193
which can conflict with char $ac_func (); below.
4194
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4195
<limits.h> exists even on freestanding compilers. */
4198
# include <limits.h>
4200
# include <assert.h>
4205
/* Override any gcc2 internal prototype to avoid an error. */
4210
/* We use char because int might match the return type of a gcc2
4211
builtin and then its argument prototype would still apply. */
4213
/* The GNU C library defines this for functions which it implements
4214
to always fail with ENOSYS. Some functions are actually named
4215
something starting with __ and the normal name is an alias. */
4216
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4219
char (*f) () = $ac_func;
4228
return f != $ac_func;
4233
rm -f conftest.$ac_objext conftest$ac_exeext
4234
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4235
(eval $ac_link) 2>conftest.er1
4237
grep -v '^ *+' conftest.er1 >conftest.err
4239
cat conftest.err >&5
4240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241
(exit $ac_status); } &&
4242
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4243
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247
(exit $ac_status); }; } &&
4248
{ ac_try='test -s conftest$ac_exeext'
4249
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253
(exit $ac_status); }; }; then
4254
eval "$as_ac_var=yes"
4256
echo "$as_me: failed program was:" >&5
4257
sed 's/^/| /' conftest.$ac_ext >&5
4259
eval "$as_ac_var=no"
4261
rm -f conftest.err conftest.$ac_objext \
4262
conftest$ac_exeext conftest.$ac_ext
4264
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4265
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4266
if test `eval echo '${'$as_ac_var'}'` = yes; then
4267
cat >>confdefs.h <<_ACEOF
4268
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4277
# If we don't have everything we want, check in libintl
4279
if test "$gt_cv_func_dgettext_libc" != "yes" \
4280
|| test "$gt_cv_func_ngettext_libc" != "yes" \
4281
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
4283
echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
4284
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
4285
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4286
echo $ECHO_N "(cached) $ECHO_C" >&6
4288
ac_check_lib_save_LIBS=$LIBS
4290
cat >conftest.$ac_ext <<_ACEOF
4293
cat confdefs.h >>conftest.$ac_ext
4294
cat >>conftest.$ac_ext <<_ACEOF
4295
/* end confdefs.h. */
4297
/* Override any gcc2 internal prototype to avoid an error. */
4301
/* We use char because int might match the return type of a gcc2
4302
builtin and then its argument prototype would still apply. */
4303
char bindtextdomain ();
4312
rm -f conftest.$ac_objext conftest$ac_exeext
4313
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4314
(eval $ac_link) 2>conftest.er1
4316
grep -v '^ *+' conftest.er1 >conftest.err
4318
cat conftest.err >&5
4319
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320
(exit $ac_status); } &&
4321
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4322
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4325
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326
(exit $ac_status); }; } &&
4327
{ ac_try='test -s conftest$ac_exeext'
4328
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332
(exit $ac_status); }; }; then
4333
ac_cv_lib_intl_bindtextdomain=yes
4335
echo "$as_me: failed program was:" >&5
4336
sed 's/^/| /' conftest.$ac_ext >&5
4338
ac_cv_lib_intl_bindtextdomain=no
4340
rm -f conftest.err conftest.$ac_objext \
4341
conftest$ac_exeext conftest.$ac_ext
4342
LIBS=$ac_check_lib_save_LIBS
4344
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
4345
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
4346
if test $ac_cv_lib_intl_bindtextdomain = yes; then
4347
echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
4348
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
4349
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
4350
echo $ECHO_N "(cached) $ECHO_C" >&6
4352
ac_check_lib_save_LIBS=$LIBS
4354
cat >conftest.$ac_ext <<_ACEOF
4357
cat confdefs.h >>conftest.$ac_ext
4358
cat >>conftest.$ac_ext <<_ACEOF
4359
/* end confdefs.h. */
4361
/* Override any gcc2 internal prototype to avoid an error. */
4365
/* We use char because int might match the return type of a gcc2
4366
builtin and then its argument prototype would still apply. */
4376
rm -f conftest.$ac_objext conftest$ac_exeext
4377
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4378
(eval $ac_link) 2>conftest.er1
4380
grep -v '^ *+' conftest.er1 >conftest.err
4382
cat conftest.err >&5
4383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384
(exit $ac_status); } &&
4385
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4386
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4389
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390
(exit $ac_status); }; } &&
4391
{ ac_try='test -s conftest$ac_exeext'
4392
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4395
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396
(exit $ac_status); }; }; then
4397
ac_cv_lib_intl_ngettext=yes
4399
echo "$as_me: failed program was:" >&5
4400
sed 's/^/| /' conftest.$ac_ext >&5
4402
ac_cv_lib_intl_ngettext=no
4404
rm -f conftest.err conftest.$ac_objext \
4405
conftest$ac_exeext conftest.$ac_ext
4406
LIBS=$ac_check_lib_save_LIBS
4408
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
4409
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
4410
if test $ac_cv_lib_intl_ngettext = yes; then
4411
echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
4412
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
4413
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
4414
echo $ECHO_N "(cached) $ECHO_C" >&6
4416
ac_check_lib_save_LIBS=$LIBS
4418
cat >conftest.$ac_ext <<_ACEOF
4421
cat confdefs.h >>conftest.$ac_ext
4422
cat >>conftest.$ac_ext <<_ACEOF
4423
/* end confdefs.h. */
4425
/* Override any gcc2 internal prototype to avoid an error. */
4429
/* We use char because int might match the return type of a gcc2
4430
builtin and then its argument prototype would still apply. */
4440
rm -f conftest.$ac_objext conftest$ac_exeext
4441
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4442
(eval $ac_link) 2>conftest.er1
4444
grep -v '^ *+' conftest.er1 >conftest.err
4446
cat conftest.err >&5
4447
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448
(exit $ac_status); } &&
4449
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4450
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454
(exit $ac_status); }; } &&
4455
{ ac_try='test -s conftest$ac_exeext'
4456
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4459
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460
(exit $ac_status); }; }; then
4461
ac_cv_lib_intl_dgettext=yes
4463
echo "$as_me: failed program was:" >&5
4464
sed 's/^/| /' conftest.$ac_ext >&5
4466
ac_cv_lib_intl_dgettext=no
4468
rm -f conftest.err conftest.$ac_objext \
4469
conftest$ac_exeext conftest.$ac_ext
4470
LIBS=$ac_check_lib_save_LIBS
4472
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
4473
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
4474
if test $ac_cv_lib_intl_dgettext = yes; then
4475
gt_cv_func_dgettext_libintl=yes
4483
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
4484
echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
4485
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
4486
echo "$as_me:$LINENO: result: " >&5
4487
echo "${ECHO_T}" >&6
4488
echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
4489
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
4490
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
4491
echo $ECHO_N "(cached) $ECHO_C" >&6
4493
ac_check_lib_save_LIBS=$LIBS
4494
LIBS="-lintl -liconv $LIBS"
4495
cat >conftest.$ac_ext <<_ACEOF
4498
cat confdefs.h >>conftest.$ac_ext
4499
cat >>conftest.$ac_ext <<_ACEOF
4500
/* end confdefs.h. */
4502
/* Override any gcc2 internal prototype to avoid an error. */
4506
/* We use char because int might match the return type of a gcc2
4507
builtin and then its argument prototype would still apply. */
4517
rm -f conftest.$ac_objext conftest$ac_exeext
4518
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4519
(eval $ac_link) 2>conftest.er1
4521
grep -v '^ *+' conftest.er1 >conftest.err
4523
cat conftest.err >&5
4524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525
(exit $ac_status); } &&
4526
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4527
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531
(exit $ac_status); }; } &&
4532
{ ac_try='test -s conftest$ac_exeext'
4533
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4536
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537
(exit $ac_status); }; }; then
4538
ac_cv_lib_intl_ngettext=yes
4540
echo "$as_me: failed program was:" >&5
4541
sed 's/^/| /' conftest.$ac_ext >&5
4543
ac_cv_lib_intl_ngettext=no
4545
rm -f conftest.err conftest.$ac_objext \
4546
conftest$ac_exeext conftest.$ac_ext
4547
LIBS=$ac_check_lib_save_LIBS
4549
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
4550
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
4551
if test $ac_cv_lib_intl_ngettext = yes; then
4552
echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
4553
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
4554
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
4555
echo $ECHO_N "(cached) $ECHO_C" >&6
4557
ac_check_lib_save_LIBS=$LIBS
4558
LIBS="-lintl -liconv $LIBS"
4559
cat >conftest.$ac_ext <<_ACEOF
4562
cat confdefs.h >>conftest.$ac_ext
4563
cat >>conftest.$ac_ext <<_ACEOF
4564
/* end confdefs.h. */
4566
/* Override any gcc2 internal prototype to avoid an error. */
4570
/* We use char because int might match the return type of a gcc2
4571
builtin and then its argument prototype would still apply. */
4581
rm -f conftest.$ac_objext conftest$ac_exeext
4582
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4583
(eval $ac_link) 2>conftest.er1
4585
grep -v '^ *+' conftest.er1 >conftest.err
4587
cat conftest.err >&5
4588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589
(exit $ac_status); } &&
4590
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4591
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595
(exit $ac_status); }; } &&
4596
{ ac_try='test -s conftest$ac_exeext'
4597
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601
(exit $ac_status); }; }; then
4602
ac_cv_lib_intl_dcgettext=yes
4604
echo "$as_me: failed program was:" >&5
4605
sed 's/^/| /' conftest.$ac_ext >&5
4607
ac_cv_lib_intl_dcgettext=no
4609
rm -f conftest.err conftest.$ac_objext \
4610
conftest$ac_exeext conftest.$ac_ext
4611
LIBS=$ac_check_lib_save_LIBS
4613
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
4614
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
4615
if test $ac_cv_lib_intl_dcgettext = yes; then
4616
gt_cv_func_dgettext_libintl=yes
4617
libintl_extra_libs=-liconv
4629
# If we found libintl, then check in it for bind_textdomain_codeset();
4630
# we'll prefer libc if neither have bind_textdomain_codeset(),
4631
# and both have dgettext and ngettext
4633
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
4634
glib_save_LIBS="$LIBS"
4635
LIBS="$LIBS -lintl $libintl_extra_libs"
4636
unset ac_cv_func_bind_textdomain_codeset
4638
for ac_func in bind_textdomain_codeset
4640
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4641
echo "$as_me:$LINENO: checking for $ac_func" >&5
4642
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4643
if eval "test \"\${$as_ac_var+set}\" = set"; then
4644
echo $ECHO_N "(cached) $ECHO_C" >&6
4646
cat >conftest.$ac_ext <<_ACEOF
4649
cat confdefs.h >>conftest.$ac_ext
4650
cat >>conftest.$ac_ext <<_ACEOF
4651
/* end confdefs.h. */
4652
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4653
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4654
#define $ac_func innocuous_$ac_func
4656
/* System header to define __stub macros and hopefully few prototypes,
4657
which can conflict with char $ac_func (); below.
4658
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4659
<limits.h> exists even on freestanding compilers. */
4662
# include <limits.h>
4664
# include <assert.h>
4669
/* Override any gcc2 internal prototype to avoid an error. */
4674
/* We use char because int might match the return type of a gcc2
4675
builtin and then its argument prototype would still apply. */
4677
/* The GNU C library defines this for functions which it implements
4678
to always fail with ENOSYS. Some functions are actually named
4679
something starting with __ and the normal name is an alias. */
4680
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4683
char (*f) () = $ac_func;
4692
return f != $ac_func;
4697
rm -f conftest.$ac_objext conftest$ac_exeext
4698
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4699
(eval $ac_link) 2>conftest.er1
4701
grep -v '^ *+' conftest.er1 >conftest.err
4703
cat conftest.err >&5
4704
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705
(exit $ac_status); } &&
4706
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4707
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711
(exit $ac_status); }; } &&
4712
{ ac_try='test -s conftest$ac_exeext'
4713
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717
(exit $ac_status); }; }; then
4718
eval "$as_ac_var=yes"
4720
echo "$as_me: failed program was:" >&5
4721
sed 's/^/| /' conftest.$ac_ext >&5
4723
eval "$as_ac_var=no"
4725
rm -f conftest.err conftest.$ac_objext \
4726
conftest$ac_exeext conftest.$ac_ext
4728
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4729
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4730
if test `eval echo '${'$as_ac_var'}'` = yes; then
4731
cat >>confdefs.h <<_ACEOF
4732
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4738
LIBS="$glib_save_LIBS"
4740
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
4741
gt_cv_func_dgettext_libc=no
4743
if test "$gt_cv_func_dgettext_libc" = "yes" \
4744
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
4745
gt_cv_func_dgettext_libintl=no
4751
if test "$gt_cv_func_dgettext_libc" = "yes" \
4752
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
4753
gt_cv_have_gettext=yes
4756
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
4757
INTLLIBS="-lintl $libintl_extra_libs"
4760
if test "$gt_cv_have_gettext" = "yes"; then
4762
cat >>confdefs.h <<\_ACEOF
4763
#define HAVE_GETTEXT 1
4766
# Extract the first word of "msgfmt", so it can be a program name with args.
4767
set dummy msgfmt; ac_word=$2
4768
echo "$as_me:$LINENO: checking for $ac_word" >&5
4769
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4770
if test "${ac_cv_path_MSGFMT+set}" = set; then
4771
echo $ECHO_N "(cached) $ECHO_C" >&6
4775
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4778
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4779
for ac_dir in $PATH; do
4780
test -z "$ac_dir" && ac_dir=.
4781
if test -f $ac_dir/$ac_word; then
4782
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
4783
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
4789
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
4793
MSGFMT="$ac_cv_path_MSGFMT"
4794
if test "$MSGFMT" != "no"; then
4795
echo "$as_me:$LINENO: result: $MSGFMT" >&5
4796
echo "${ECHO_T}$MSGFMT" >&6
4798
echo "$as_me:$LINENO: result: no" >&5
4799
echo "${ECHO_T}no" >&6
4801
if test "$MSGFMT" != "no"; then
4802
glib_save_LIBS="$LIBS"
4803
LIBS="$LIBS $INTLLIBS"
4805
for ac_func in dcgettext
4807
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4808
echo "$as_me:$LINENO: checking for $ac_func" >&5
4809
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4810
if eval "test \"\${$as_ac_var+set}\" = set"; then
4811
echo $ECHO_N "(cached) $ECHO_C" >&6
4813
cat >conftest.$ac_ext <<_ACEOF
4816
cat confdefs.h >>conftest.$ac_ext
4817
cat >>conftest.$ac_ext <<_ACEOF
4818
/* end confdefs.h. */
4819
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4820
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4821
#define $ac_func innocuous_$ac_func
4823
/* System header to define __stub macros and hopefully few prototypes,
4824
which can conflict with char $ac_func (); below.
4825
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4826
<limits.h> exists even on freestanding compilers. */
4829
# include <limits.h>
4831
# include <assert.h>
4836
/* Override any gcc2 internal prototype to avoid an error. */
4841
/* We use char because int might match the return type of a gcc2
4842
builtin and then its argument prototype would still apply. */
4844
/* The GNU C library defines this for functions which it implements
4845
to always fail with ENOSYS. Some functions are actually named
4846
something starting with __ and the normal name is an alias. */
4847
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4850
char (*f) () = $ac_func;
4859
return f != $ac_func;
4864
rm -f conftest.$ac_objext conftest$ac_exeext
4865
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4866
(eval $ac_link) 2>conftest.er1
4868
grep -v '^ *+' conftest.er1 >conftest.err
4870
cat conftest.err >&5
4871
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872
(exit $ac_status); } &&
4873
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4874
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4877
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878
(exit $ac_status); }; } &&
4879
{ ac_try='test -s conftest$ac_exeext'
4880
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884
(exit $ac_status); }; }; then
4885
eval "$as_ac_var=yes"
4887
echo "$as_me: failed program was:" >&5
4888
sed 's/^/| /' conftest.$ac_ext >&5
4890
eval "$as_ac_var=no"
4892
rm -f conftest.err conftest.$ac_objext \
4893
conftest$ac_exeext conftest.$ac_ext
4895
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4896
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4897
if test `eval echo '${'$as_ac_var'}'` = yes; then
4898
cat >>confdefs.h <<_ACEOF
4899
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4905
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4906
set dummy gmsgfmt; ac_word=$2
4907
echo "$as_me:$LINENO: checking for $ac_word" >&5
4908
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4909
if test "${ac_cv_path_GMSGFMT+set}" = set; then
4910
echo $ECHO_N "(cached) $ECHO_C" >&6
4914
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921
test -z "$as_dir" && as_dir=.
4922
for ac_exec_ext in '' $ac_executable_extensions; do
4923
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4924
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4925
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4931
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4935
GMSGFMT=$ac_cv_path_GMSGFMT
4937
if test -n "$GMSGFMT"; then
4938
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4939
echo "${ECHO_T}$GMSGFMT" >&6
4941
echo "$as_me:$LINENO: result: no" >&5
4942
echo "${ECHO_T}no" >&6
4945
# Extract the first word of "xgettext", so it can be a program name with args.
4946
set dummy xgettext; ac_word=$2
4947
echo "$as_me:$LINENO: checking for $ac_word" >&5
4948
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4949
if test "${ac_cv_path_XGETTEXT+set}" = set; then
4950
echo $ECHO_N "(cached) $ECHO_C" >&6
4954
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4957
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4958
for ac_dir in $PATH; do
4959
test -z "$ac_dir" && ac_dir=.
4960
if test -f $ac_dir/$ac_word; then
4961
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
4962
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
4968
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4972
XGETTEXT="$ac_cv_path_XGETTEXT"
4973
if test "$XGETTEXT" != ":"; then
4974
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4975
echo "${ECHO_T}$XGETTEXT" >&6
4977
echo "$as_me:$LINENO: result: no" >&5
4978
echo "${ECHO_T}no" >&6
4981
cat >conftest.$ac_ext <<_ACEOF
4984
cat confdefs.h >>conftest.$ac_ext
4985
cat >>conftest.$ac_ext <<_ACEOF
4986
/* end confdefs.h. */
4991
extern int _nl_msg_cat_cntr;
4992
return _nl_msg_cat_cntr
4997
rm -f conftest.$ac_objext conftest$ac_exeext
4998
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4999
(eval $ac_link) 2>conftest.er1
5001
grep -v '^ *+' conftest.er1 >conftest.err
5003
cat conftest.err >&5
5004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005
(exit $ac_status); } &&
5006
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5007
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011
(exit $ac_status); }; } &&
5012
{ ac_try='test -s conftest$ac_exeext'
5013
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017
(exit $ac_status); }; }; then
5021
echo "$as_me: failed program was:" >&5
5022
sed 's/^/| /' conftest.$ac_ext >&5
5026
echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
5027
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
5028
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
5029
echo $ECHO_N "(cached) $ECHO_C" >&6
5031
cat >conftest.$ac_ext <<_ACEOF
5034
cat confdefs.h >>conftest.$ac_ext
5035
cat >>conftest.$ac_ext <<_ACEOF
5036
/* end confdefs.h. */
5037
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
5038
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5039
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
5041
/* System header to define __stub macros and hopefully few prototypes,
5042
which can conflict with char bind_textdomain_codeset (); below.
5043
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5044
<limits.h> exists even on freestanding compilers. */
5047
# include <limits.h>
5049
# include <assert.h>
5052
#undef bind_textdomain_codeset
5054
/* Override any gcc2 internal prototype to avoid an error. */
5059
/* We use char because int might match the return type of a gcc2
5060
builtin and then its argument prototype would still apply. */
5061
char bind_textdomain_codeset ();
5062
/* The GNU C library defines this for functions which it implements
5063
to always fail with ENOSYS. Some functions are actually named
5064
something starting with __ and the normal name is an alias. */
5065
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
5068
char (*f) () = bind_textdomain_codeset;
5077
return f != bind_textdomain_codeset;
5082
rm -f conftest.$ac_objext conftest$ac_exeext
5083
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5084
(eval $ac_link) 2>conftest.er1
5086
grep -v '^ *+' conftest.er1 >conftest.err
5088
cat conftest.err >&5
5089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090
(exit $ac_status); } &&
5091
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5092
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096
(exit $ac_status); }; } &&
5097
{ ac_try='test -s conftest$ac_exeext'
5098
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5101
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102
(exit $ac_status); }; }; then
5103
ac_cv_func_bind_textdomain_codeset=yes
5105
echo "$as_me: failed program was:" >&5
5106
sed 's/^/| /' conftest.$ac_ext >&5
5108
ac_cv_func_bind_textdomain_codeset=no
5110
rm -f conftest.err conftest.$ac_objext \
5111
conftest$ac_exeext conftest.$ac_ext
5113
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
5114
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
5115
if test $ac_cv_func_bind_textdomain_codeset = yes; then
5130
rm -f conftest.err conftest.$ac_objext \
5131
conftest$ac_exeext conftest.$ac_ext
5132
LIBS="$glib_save_LIBS"
5135
gt_cv_have_gettext=no
5143
if test "$gt_cv_have_gettext" = "yes" ; then
5145
cat >>confdefs.h <<\_ACEOF
5146
#define ENABLE_NLS 1
5151
if test "$XGETTEXT" != ":"; then
5152
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5155
echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5156
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5161
# We need to process the po/ directory.
5164
ac_config_commands="$ac_config_commands default-1"
5167
for lang in $ALL_LINGUAS; do
5168
GMOFILES="$GMOFILES $lang.gmo"
5169
POFILES="$POFILES $lang.po"
5184
if test "$gt_cv_have_gettext" = "yes"; then
5185
if test "x$ALL_LINGUAS" = "x"; then
5188
echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5189
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5191
for presentlang in $ALL_LINGUAS; do
5193
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5194
desiredlanguages="$LINGUAS"
5196
desiredlanguages="$ALL_LINGUAS"
5198
for desiredlang in $desiredlanguages; do
5199
# Use the presentlang catalog if desiredlang is
5200
# a. equal to presentlang, or
5201
# b. a variant of presentlang (because in this case,
5202
# presentlang can be used as a fallback for messages
5203
# which are not translated in the desiredlang catalog).
5204
case "$desiredlang" in
5205
"$presentlang"*) useit=yes;;
5208
if test $useit = yes; then
5209
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5212
LINGUAS=$NEW_LINGUAS
5213
echo "$as_me:$LINENO: result: $LINGUAS" >&5
5214
echo "${ECHO_T}$LINGUAS" >&6
5217
if test -n "$LINGUAS"; then
5218
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5223
if test -n "$ac_aux_dir"; then
5224
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5226
if test -z "$MKINSTALLDIRS"; then
5227
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5231
test -d po || mkdir po
5232
if test "x$srcdir" != "x."; then
5233
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5234
posrcprefix="$srcdir/"
5236
posrcprefix="../$srcdir/"
5242
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5243
< $srcdir/po/POTFILES.in > po/POTFILES
5247
SCROLLKEEPER_BUILD_REQUIRED=0.3.5
5250
# Extract the first word of "scrollkeeper-config", so it can be a program name with args.
5251
set dummy scrollkeeper-config; ac_word=$2
5252
echo "$as_me:$LINENO: checking for $ac_word" >&5
5253
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5254
if test "${ac_cv_path_SCROLLKEEPER_CONFIG+set}" = set; then
5255
echo $ECHO_N "(cached) $ECHO_C" >&6
5257
case $SCROLLKEEPER_CONFIG in
5259
ac_cv_path_SCROLLKEEPER_CONFIG="$SCROLLKEEPER_CONFIG" # Let the user override the test with a path.
5262
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5266
test -z "$as_dir" && as_dir=.
5267
for ac_exec_ext in '' $ac_executable_extensions; do
5268
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5269
ac_cv_path_SCROLLKEEPER_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5270
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5276
test -z "$ac_cv_path_SCROLLKEEPER_CONFIG" && ac_cv_path_SCROLLKEEPER_CONFIG="no"
5280
SCROLLKEEPER_CONFIG=$ac_cv_path_SCROLLKEEPER_CONFIG
5282
if test -n "$SCROLLKEEPER_CONFIG"; then
5283
echo "$as_me:$LINENO: result: $SCROLLKEEPER_CONFIG" >&5
5284
echo "${ECHO_T}$SCROLLKEEPER_CONFIG" >&6
5286
echo "$as_me:$LINENO: result: no" >&5
5287
echo "${ECHO_T}no" >&6
5290
if test x$SCROLLKEEPER_CONFIG = xno; then
5291
{ { echo "$as_me:$LINENO: error: Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net" >&5
5292
echo "$as_me: error: Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net" >&2;}
5293
{ (exit 1); exit 1; }; }
5297
ac_config_files="$ac_config_files Makefile help/Makefile help/C/Makefile src/Makefile data/Makefile po/Makefile.in src/update-manager gnome-software-properties SoftwareProperties/Makefile SoftwareProperties/SoftwareProperties.py distribution-data/Makefile Common/Makefile"
5298
cat >confcache <<\_ACEOF
5299
# This file is a shell script that caches the results of configure
5300
# tests run on this system so they can be shared between configure
5301
# scripts and configure runs, see configure's option --config-cache.
5302
# It is not useful on other systems. If it contains results you don't
5303
# want to keep, you may remove or edit it.
5305
# config.status only pays attention to the cache file if you give it
5306
# the --recheck option to rerun configure.
5308
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5309
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5314
# The following way of writing the cache mishandles newlines in values,
5315
# but we know of no workaround that is simple, portable, and efficient.
5316
# So, don't put newlines in cache variables' values.
5317
# Ultrix sh set writes to stderr and can't be redirected directly,
5318
# and sets the high bit in the cache file unless we assign to the vars.
5321
case `(ac_space=' '; set | grep ac_space) 2>&1` in
5323
# `set' does not quote correctly, so add quotes (double-quote
5324
# substitution turns \\\\ into \\, and sed turns \\ into \).
5327
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5330
# `set' quotes correctly as required by POSIX, so do not add quotes.
5332
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5339
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5341
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5343
if diff $cache_file confcache >/dev/null 2>&1; then :; else
5344
if test -w $cache_file; then
5345
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5346
cat confcache >$cache_file
5348
echo "not updating unwritable cache $cache_file"
5353
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5354
# Let make expand exec_prefix.
5355
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5357
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5358
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5359
# trailing colons and then remove the whole line if VPATH becomes empty
5360
# (actually we leave an empty line to preserve line numbers).
5361
if test "x$srcdir" = x.; then
5362
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5363
s/:*\$(srcdir):*/:/;
5364
s/:*\${srcdir}:*/:/;
5366
s/^\([^=]*=[ ]*\):*/\1/;
5372
DEFS=-DHAVE_CONFIG_H
5376
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5377
# 1. Remove the extension, and $U if already installed.
5378
ac_i=`echo "$ac_i" |
5379
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5381
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5382
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5386
LTLIBOBJS=$ac_ltlibobjs
5389
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5390
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5391
Usually this means the macro was only invoked conditionally." >&5
5392
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5393
Usually this means the macro was only invoked conditionally." >&2;}
5394
{ (exit 1); exit 1; }; }
5397
mv -f po/POTFILES po/POTFILES.tmp
5398
sed -e '/[[]encoding.*]/d' -e 's/[[].*] *//' < po/POTFILES.tmp > po/POTFILES
5399
rm -f po/POTFILES.tmp
5401
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5402
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5403
Usually this means the macro was only invoked conditionally." >&5
5404
echo "$as_me: error: conditional \"AMDEP\" was never defined.
5405
Usually this means the macro was only invoked conditionally." >&2;}
5406
{ (exit 1); exit 1; }; }
5408
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5409
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5410
Usually this means the macro was only invoked conditionally." >&5
5411
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5412
Usually this means the macro was only invoked conditionally." >&2;}
5413
{ (exit 1); exit 1; }; }
5416
: ${CONFIG_STATUS=./config.status}
5417
ac_clean_files_save=$ac_clean_files
5418
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5419
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5420
echo "$as_me: creating $CONFIG_STATUS" >&6;}
5421
cat >$CONFIG_STATUS <<_ACEOF
5423
# Generated by $as_me.
5424
# Run this file to recreate the current configuration.
5425
# Compiler output produced by configure, useful for debugging
5426
# configure, is in config.log if it exists.
5431
SHELL=\${CONFIG_SHELL-$SHELL}
5434
cat >>$CONFIG_STATUS <<\_ACEOF
5435
## --------------------- ##
5436
## M4sh Initialization. ##
5437
## --------------------- ##
5439
# Be Bourne compatible
5440
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5443
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5444
# is contrary to our usage. Disable this feature.
5445
alias -g '${1+"$@"}'='"$@"'
5446
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5449
DUALCASE=1; export DUALCASE # for MKS sh
5451
# Support unset when possible.
5452
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5459
# Work around bugs in pre-3.0 UWIN ksh.
5460
$as_unset ENV MAIL MAILPATH
5467
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5468
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5469
LC_TELEPHONE LC_TIME
5471
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5472
eval $as_var=C; export $as_var
5478
# Required to use basename.
5479
if expr a : '\(a\)' >/dev/null 2>&1; then
5485
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5486
as_basename=basename
5492
# Name of the executable.
5493
as_me=`$as_basename "$0" ||
5494
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5495
X"$0" : 'X\(//\)$' \| \
5496
X"$0" : 'X\(/\)$' \| \
5497
. : '\(.\)' 2>/dev/null ||
5499
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5500
/^X\/\(\/\/\)$/{ s//\1/; q; }
5501
/^X\/\(\/\).*/{ s//\1/; q; }
5505
# PATH needs CR, and LINENO needs CR and PATH.
5506
# Avoid depending upon Character Ranges.
5507
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5508
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5509
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5510
as_cr_digits='0123456789'
5511
as_cr_alnum=$as_cr_Letters$as_cr_digits
5513
# The user is always right.
5514
if test "${PATH_SEPARATOR+set}" != set; then
5515
echo "#! /bin/sh" >conf$$.sh
5516
echo "exit 0" >>conf$$.sh
5518
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5529
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5530
test "x$as_lineno_1" != "x$as_lineno_2" &&
5531
test "x$as_lineno_3" = "x$as_lineno_2" || {
5532
# Find who we are. Look in the path if we contain no path at all
5535
*[\\/]* ) as_myself=$0 ;;
5536
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540
test -z "$as_dir" && as_dir=.
5541
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5546
# We did not find ourselves, most probably we were run as `sh COMMAND'
5547
# in which case we are not to be found in the path.
5548
if test "x$as_myself" = x; then
5551
if test ! -f "$as_myself"; then
5552
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5553
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5554
{ (exit 1); exit 1; }; }
5556
case $CONFIG_SHELL in
5558
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5562
test -z "$as_dir" && as_dir=.
5563
for as_base in sh bash ksh sh5; do
5566
if ("$as_dir/$as_base" -c '
5569
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5570
test "x$as_lineno_1" != "x$as_lineno_2" &&
5571
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5572
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5573
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5574
CONFIG_SHELL=$as_dir/$as_base
5576
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5584
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5585
# uniformly replaced by the line number. The first 'sed' inserts a
5586
# line-number line before each line; the second 'sed' does the real
5587
# work. The second script uses 'N' to pair each line-number line
5588
# with the numbered line, and appends trailing '-' during
5589
# substitution so that $LINENO is not a special case at line end.
5590
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5591
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5592
sed '=' <$as_myself |
5597
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5600
s,^['$as_cr_digits']*\n,,
5602
chmod +x $as_me.lineno ||
5603
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5604
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5605
{ (exit 1); exit 1; }; }
5607
# Don't try to exec as it changes $[0], causing all sort of problems
5608
# (the dirname of $[0] is not the place where we might find the
5609
# original and so on. Autoconf is especially sensible to this).
5611
# Exit status is that of the last command.
5616
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5617
*c*,-n*) ECHO_N= ECHO_C='
5619
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5620
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5623
if expr a : '\(a\)' >/dev/null 2>&1; then
5629
rm -f conf$$ conf$$.exe conf$$.file
5631
if ln -s conf$$.file conf$$ 2>/dev/null; then
5632
# We could just check for DJGPP; but this test a) works b) is more generic
5633
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5634
if test -f conf$$.exe; then
5635
# Don't use ln at all; we don't have any links
5640
elif ln conf$$.file conf$$ 2>/dev/null; then
5645
rm -f conf$$ conf$$.exe conf$$.file
5647
if mkdir -p . 2>/dev/null; then
5650
test -d ./-p && rmdir ./-p
5654
as_executable_p="test -f"
5656
# Sed expression to map a string onto a valid CPP name.
5657
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5659
# Sed expression to map a string onto a valid variable name.
5660
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5664
# We need space, tab and new line, in precisely that order.
5674
# Open the log real soon, to keep \$[0] and so on meaningful, and to
5675
# report actual input values of CONFIG_FILES etc. instead of their
5676
# values after options handling. Logging --version etc. is OK.
5680
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5681
## Running $as_me. ##
5686
This file was extended by $as_me, which was
5687
generated by GNU Autoconf 2.59. Invocation command line was
5689
CONFIG_FILES = $CONFIG_FILES
5690
CONFIG_HEADERS = $CONFIG_HEADERS
5691
CONFIG_LINKS = $CONFIG_LINKS
5692
CONFIG_COMMANDS = $CONFIG_COMMANDS
5696
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5700
# Files that config.status was made for.
5701
if test -n "$ac_config_files"; then
5702
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5705
if test -n "$ac_config_headers"; then
5706
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5709
if test -n "$ac_config_links"; then
5710
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5713
if test -n "$ac_config_commands"; then
5714
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5717
cat >>$CONFIG_STATUS <<\_ACEOF
5720
\`$as_me' instantiates files from templates according to the
5721
current configuration.
5723
Usage: $0 [OPTIONS] [FILE]...
5725
-h, --help print this help, then exit
5726
-V, --version print version number, then exit
5727
-q, --quiet do not print progress messages
5728
-d, --debug don't remove temporary files
5729
--recheck update $as_me by reconfiguring in the same conditions
5730
--file=FILE[:TEMPLATE]
5731
instantiate the configuration file FILE
5732
--header=FILE[:TEMPLATE]
5733
instantiate the configuration header FILE
5735
Configuration files:
5738
Configuration headers:
5741
Configuration commands:
5744
Report bugs to <bug-autoconf@gnu.org>."
5747
cat >>$CONFIG_STATUS <<_ACEOF
5750
configured by $0, generated by GNU Autoconf 2.59,
5751
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5753
Copyright (C) 2003 Free Software Foundation, Inc.
5754
This config.status script is free software; the Free Software Foundation
5755
gives unlimited permission to copy, distribute and modify it."
5760
cat >>$CONFIG_STATUS <<\_ACEOF
5761
# If no file are specified by the user, then we need to provide default
5762
# value. By we need to know if files were specified by the user.
5768
ac_option=`expr "x$1" : 'x\([^=]*\)='`
5769
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5777
*) # This is not an option, so the user has probably given explicit
5780
ac_need_defaults=false;;
5784
# Handling of the options.
5786
cat >>$CONFIG_STATUS <<\_ACEOF
5787
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5789
--version | --vers* | -V )
5790
echo "$ac_cs_version"; exit 0 ;;
5792
# Conflict between --help and --header
5793
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
5794
Try \`$0 --help' for more information." >&5
5795
echo "$as_me: error: ambiguous option: $1
5796
Try \`$0 --help' for more information." >&2;}
5797
{ (exit 1); exit 1; }; };;
5798
--help | --hel | -h )
5799
echo "$ac_cs_usage"; exit 0 ;;
5800
--debug | --d* | -d )
5802
--file | --fil | --fi | --f )
5804
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5805
ac_need_defaults=false;;
5806
--header | --heade | --head | --hea )
5808
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5809
ac_need_defaults=false;;
5810
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5811
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5815
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5816
Try \`$0 --help' for more information." >&5
5817
echo "$as_me: error: unrecognized option: $1
5818
Try \`$0 --help' for more information." >&2;}
5819
{ (exit 1); exit 1; }; } ;;
5821
*) ac_config_targets="$ac_config_targets $1" ;;
5827
ac_configure_extra_args=
5829
if $ac_cs_silent; then
5831
ac_configure_extra_args="$ac_configure_extra_args --silent"
5835
cat >>$CONFIG_STATUS <<_ACEOF
5836
if \$ac_cs_recheck; then
5837
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5838
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5843
cat >>$CONFIG_STATUS <<_ACEOF
5845
# INIT-COMMANDS section.
5848
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir=${ac_aux_dir}
5849
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' ICONV='${INTLTOOL_ICONV}'
5850
MSGFMT='${INTLTOOL_MSGFMT}' MSGMERGE='${INTLTOOL_MSGMERGE}'
5851
XGETTEXT='${INTLTOOL_XGETTEXT}'
5852
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5859
cat >>$CONFIG_STATUS <<\_ACEOF
5860
for ac_config_target in $ac_config_targets
5862
case "$ac_config_target" in
5863
# Handling of arguments.
5864
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5865
"help/Makefile" ) CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
5866
"help/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES help/C/Makefile" ;;
5867
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5868
"data/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
5869
"po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5870
"src/update-manager" ) CONFIG_FILES="$CONFIG_FILES src/update-manager" ;;
5871
"gnome-software-properties" ) CONFIG_FILES="$CONFIG_FILES gnome-software-properties" ;;
5872
"SoftwareProperties/Makefile" ) CONFIG_FILES="$CONFIG_FILES SoftwareProperties/Makefile" ;;
5873
"SoftwareProperties/SoftwareProperties.py" ) CONFIG_FILES="$CONFIG_FILES SoftwareProperties/SoftwareProperties.py" ;;
5874
"distribution-data/Makefile" ) CONFIG_FILES="$CONFIG_FILES distribution-data/Makefile" ;;
5875
"Common/Makefile" ) CONFIG_FILES="$CONFIG_FILES Common/Makefile" ;;
5876
"intltool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
5877
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5878
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
5879
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5880
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5881
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5882
{ (exit 1); exit 1; }; };;
5886
# If the user did not use the arguments to specify the items to instantiate,
5887
# then the envvar interface is used. Set only those that are not.
5888
# We use the long form for the default assignment because of an extremely
5889
# bizarre bug on SunOS 4.1.3.
5890
if $ac_need_defaults; then
5891
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5892
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5893
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5896
# Have a temporary directory for convenience. Make it in the build tree
5897
# simply because there is no reason to put it here, and in addition,
5898
# creating and moving files from /tmp can sometimes cause problems.
5899
# Create a temporary directory, and hook for its removal unless debugging.
5902
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5903
trap '{ (exit 1); exit 1; }' 1 2 13 15
5906
# Create a (secure) tmp directory for tmp files.
5909
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5910
test -n "$tmp" && test -d "$tmp"
5913
tmp=./confstat$$-$RANDOM
5914
(umask 077 && mkdir $tmp)
5917
echo "$me: cannot create a temporary directory in ." >&2
5918
{ (exit 1); exit 1; }
5923
cat >>$CONFIG_STATUS <<_ACEOF
5926
# CONFIG_FILES section.
5929
# No need to generate the scripts if there are no CONFIG_FILES.
5930
# This happens for instance when ./config.status config.h
5931
if test -n "\$CONFIG_FILES"; then
5932
# Protect against being on the right side of a sed subst in config.status.
5933
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5934
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5935
s,@SHELL@,$SHELL,;t t
5936
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5937
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5938
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5939
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5940
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5941
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5942
s,@exec_prefix@,$exec_prefix,;t t
5943
s,@prefix@,$prefix,;t t
5944
s,@program_transform_name@,$program_transform_name,;t t
5945
s,@bindir@,$bindir,;t t
5946
s,@sbindir@,$sbindir,;t t
5947
s,@libexecdir@,$libexecdir,;t t
5948
s,@datadir@,$datadir,;t t
5949
s,@sysconfdir@,$sysconfdir,;t t
5950
s,@sharedstatedir@,$sharedstatedir,;t t
5951
s,@localstatedir@,$localstatedir,;t t
5952
s,@libdir@,$libdir,;t t
5953
s,@includedir@,$includedir,;t t
5954
s,@oldincludedir@,$oldincludedir,;t t
5955
s,@infodir@,$infodir,;t t
5956
s,@mandir@,$mandir,;t t
5957
s,@build_alias@,$build_alias,;t t
5958
s,@host_alias@,$host_alias,;t t
5959
s,@target_alias@,$target_alias,;t t
5961
s,@ECHO_C@,$ECHO_C,;t t
5962
s,@ECHO_N@,$ECHO_N,;t t
5963
s,@ECHO_T@,$ECHO_T,;t t
5965
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5966
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5967
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5968
s,@CYGPATH_W@,$CYGPATH_W,;t t
5969
s,@PACKAGE@,$PACKAGE,;t t
5970
s,@VERSION@,$VERSION,;t t
5971
s,@ACLOCAL@,$ACLOCAL,;t t
5972
s,@AUTOCONF@,$AUTOCONF,;t t
5973
s,@AUTOMAKE@,$AUTOMAKE,;t t
5974
s,@AUTOHEADER@,$AUTOHEADER,;t t
5975
s,@MAKEINFO@,$MAKEINFO,;t t
5976
s,@install_sh@,$install_sh,;t t
5977
s,@STRIP@,$STRIP,;t t
5978
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5979
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5980
s,@mkdir_p@,$mkdir_p,;t t
5982
s,@SET_MAKE@,$SET_MAKE,;t t
5983
s,@am__leading_dot@,$am__leading_dot,;t t
5984
s,@AMTAR@,$AMTAR,;t t
5985
s,@am__tar@,$am__tar,;t t
5986
s,@am__untar@,$am__untar,;t t
5987
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5988
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5989
s,@MAINT@,$MAINT,;t t
5990
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
5991
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
5992
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
5993
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
5994
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
5995
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
5996
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
5997
s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
5998
s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
5999
s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
6000
s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
6001
s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
6002
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
6003
s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
6004
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
6005
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
6006
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
6007
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
6008
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
6009
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
6010
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
6011
s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
6012
s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
6013
s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
6014
s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
6015
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
6017
s,@CFLAGS@,$CFLAGS,;t t
6018
s,@LDFLAGS@,$LDFLAGS,;t t
6019
s,@CPPFLAGS@,$CPPFLAGS,;t t
6020
s,@ac_ct_CC@,$ac_ct_CC,;t t
6021
s,@EXEEXT@,$EXEEXT,;t t
6022
s,@OBJEXT@,$OBJEXT,;t t
6023
s,@DEPDIR@,$DEPDIR,;t t
6024
s,@am__include@,$am__include,;t t
6025
s,@am__quote@,$am__quote,;t t
6026
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6027
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6028
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6029
s,@CCDEPMODE@,$CCDEPMODE,;t t
6030
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6031
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6033
s,@EGREP@,$EGREP,;t t
6034
s,@USE_NLS@,$USE_NLS,;t t
6035
s,@MSGFMT@,$MSGFMT,;t t
6036
s,@GMSGFMT@,$GMSGFMT,;t t
6037
s,@XGETTEXT@,$XGETTEXT,;t t
6038
s,@CATALOGS@,$CATALOGS,;t t
6039
s,@CATOBJEXT@,$CATOBJEXT,;t t
6040
s,@DATADIRNAME@,$DATADIRNAME,;t t
6041
s,@GMOFILES@,$GMOFILES,;t t
6042
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6043
s,@INTLLIBS@,$INTLLIBS,;t t
6044
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
6045
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
6046
s,@POFILES@,$POFILES,;t t
6047
s,@POSUB@,$POSUB,;t t
6048
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
6049
s,@SCROLLKEEPER_BUILD_REQUIRED@,$SCROLLKEEPER_BUILD_REQUIRED,;t t
6050
s,@SCROLLKEEPER_CONFIG@,$SCROLLKEEPER_CONFIG,;t t
6051
s,@LIBOBJS@,$LIBOBJS,;t t
6052
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6057
cat >>$CONFIG_STATUS <<\_ACEOF
6058
# Split the substitutions into bite-sized pieces for seds with
6059
# small command number limits, like on Digital OSF/1 and HP-UX.
6061
ac_sed_frag=1 # Number of current file.
6062
ac_beg=1 # First line for current file.
6063
ac_end=$ac_max_sed_lines # Line after last line for current file.
6066
while $ac_more_lines; do
6067
if test $ac_beg -gt 1; then
6068
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6070
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6072
if test ! -s $tmp/subs.frag; then
6075
# The purpose of the label and of the branching condition is to
6076
# speed up the sed processing (if there are no `@' at all, there
6077
# is no need to browse any of the substitutions).
6078
# These are the two extra sed commands mentioned above.
6080
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6081
if test -z "$ac_sed_cmds"; then
6082
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6084
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6086
ac_sed_frag=`expr $ac_sed_frag + 1`
6088
ac_end=`expr $ac_end + $ac_max_sed_lines`
6091
if test -z "$ac_sed_cmds"; then
6094
fi # test -n "$CONFIG_FILES"
6097
cat >>$CONFIG_STATUS <<\_ACEOF
6098
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6099
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6101
- | *:- | *:-:* ) # input from stdin
6103
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6104
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6105
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6106
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6107
* ) ac_file_in=$ac_file.in ;;
6110
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6111
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6112
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6113
X"$ac_file" : 'X\(//\)[^/]' \| \
6114
X"$ac_file" : 'X\(//\)$' \| \
6115
X"$ac_file" : 'X\(/\)' \| \
6116
. : '\(.\)' 2>/dev/null ||
6118
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6119
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6120
/^X\(\/\/\)$/{ s//\1/; q; }
6121
/^X\(\/\).*/{ s//\1/; q; }
6123
{ if $as_mkdir_p; then
6128
while test ! -d "$as_dir"; do
6129
as_dirs="$as_dir $as_dirs"
6130
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6131
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6132
X"$as_dir" : 'X\(//\)[^/]' \| \
6133
X"$as_dir" : 'X\(//\)$' \| \
6134
X"$as_dir" : 'X\(/\)' \| \
6135
. : '\(.\)' 2>/dev/null ||
6137
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6138
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6139
/^X\(\/\/\)$/{ s//\1/; q; }
6140
/^X\(\/\).*/{ s//\1/; q; }
6143
test ! -n "$as_dirs" || mkdir $as_dirs
6144
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6145
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6146
{ (exit 1); exit 1; }; }; }
6150
if test "$ac_dir" != .; then
6151
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6152
# A "../" for each directory in $ac_dir_suffix.
6153
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6155
ac_dir_suffix= ac_top_builddir=
6159
.) # No --srcdir option. We are building in place.
6161
if test -z "$ac_top_builddir"; then
6164
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6166
[\\/]* | ?:[\\/]* ) # Absolute path.
6167
ac_srcdir=$srcdir$ac_dir_suffix;
6168
ac_top_srcdir=$srcdir ;;
6170
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6171
ac_top_srcdir=$ac_top_builddir$srcdir ;;
6174
# Do not use `cd foo && pwd` to compute absolute paths, because
6175
# the directories may not exist.
6177
.) ac_abs_builddir="$ac_dir";;
6180
.) ac_abs_builddir=`pwd`;;
6181
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6182
*) ac_abs_builddir=`pwd`/"$ac_dir";;
6185
case $ac_abs_builddir in
6186
.) ac_abs_top_builddir=${ac_top_builddir}.;;
6188
case ${ac_top_builddir}. in
6189
.) ac_abs_top_builddir=$ac_abs_builddir;;
6190
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6191
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6194
case $ac_abs_builddir in
6195
.) ac_abs_srcdir=$ac_srcdir;;
6198
.) ac_abs_srcdir=$ac_abs_builddir;;
6199
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6200
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6203
case $ac_abs_builddir in
6204
.) ac_abs_top_srcdir=$ac_top_srcdir;;
6206
case $ac_top_srcdir in
6207
.) ac_abs_top_srcdir=$ac_abs_builddir;;
6208
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6209
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6215
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6216
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6219
# Let's still pretend it is `configure' which instantiates (i.e., don't
6220
# use $as_me), people would be surprised to read:
6221
# /* config.h. Generated by config.status. */
6222
if test x"$ac_file" = x-; then
6225
configure_input="$ac_file. "
6227
configure_input=$configure_input"Generated from `echo $ac_file_in |
6228
sed 's,.*/,,'` by configure."
6230
# First look for the input files in the build tree, otherwise in the
6232
ac_file_inputs=`IFS=:
6233
for f in $ac_file_in; do
6235
-) echo $tmp/stdin ;;
6237
# Absolute (can't be DOS-style, as IFS=:)
6238
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6239
echo "$as_me: error: cannot find input file: $f" >&2;}
6240
{ (exit 1); exit 1; }; }
6243
if test -f "$f"; then
6246
elif test -f "$srcdir/$f"; then
6251
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6252
echo "$as_me: error: cannot find input file: $f" >&2;}
6253
{ (exit 1); exit 1; }; }
6256
done` || { (exit 1); exit 1; }
6258
if test x"$ac_file" != x-; then
6259
{ echo "$as_me:$LINENO: creating $ac_file" >&5
6260
echo "$as_me: creating $ac_file" >&6;}
6264
cat >>$CONFIG_STATUS <<_ACEOF
6268
cat >>$CONFIG_STATUS <<\_ACEOF
6270
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6271
s,@configure_input@,$configure_input,;t t
6272
s,@srcdir@,$ac_srcdir,;t t
6273
s,@abs_srcdir@,$ac_abs_srcdir,;t t
6274
s,@top_srcdir@,$ac_top_srcdir,;t t
6275
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6276
s,@builddir@,$ac_builddir,;t t
6277
s,@abs_builddir@,$ac_abs_builddir,;t t
6278
s,@top_builddir@,$ac_top_builddir,;t t
6279
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6280
s,@INSTALL@,$ac_INSTALL,;t t
6281
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6283
if test x"$ac_file" != x-; then
6284
mv $tmp/out $ac_file
6292
cat >>$CONFIG_STATUS <<\_ACEOF
6295
# CONFIG_HEADER section.
6298
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6299
# NAME is the cpp macro being defined and VALUE is the value it is being given.
6301
# ac_d sets the value in "#define NAME VALUE" lines.
6302
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6303
ac_dB='[ ].*$,\1#\2'
6306
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6307
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6308
ac_uB='$,\1#\2define\3'
6312
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6313
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6315
- | *:- | *:-:* ) # input from stdin
6317
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6318
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6319
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6320
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6321
* ) ac_file_in=$ac_file.in ;;
6324
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6325
echo "$as_me: creating $ac_file" >&6;}
6327
# First look for the input files in the build tree, otherwise in the
6329
ac_file_inputs=`IFS=:
6330
for f in $ac_file_in; do
6332
-) echo $tmp/stdin ;;
6334
# Absolute (can't be DOS-style, as IFS=:)
6335
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6336
echo "$as_me: error: cannot find input file: $f" >&2;}
6337
{ (exit 1); exit 1; }; }
6338
# Do quote $f, to prevent DOS paths from being IFS'd.
6341
if test -f "$f"; then
6344
elif test -f "$srcdir/$f"; then
6349
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6350
echo "$as_me: error: cannot find input file: $f" >&2;}
6351
{ (exit 1); exit 1; }; }
6354
done` || { (exit 1); exit 1; }
6355
# Remove the trailing spaces.
6356
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6360
# Transform confdefs.h into two sed scripts, `conftest.defines' and
6361
# `conftest.undefs', that substitutes the proper values into
6362
# config.h.in to produce config.h. The first handles `#define'
6363
# templates, and the second `#undef' templates.
6364
# And first: Protect against being on the right side of a sed subst in
6365
# config.status. Protect against being in an unquoted here document
6367
rm -f conftest.defines conftest.undefs
6368
# Using a here document instead of a string reduces the quoting nightmare.
6369
# Putting comments in sed scripts is not portable.
6371
# `end' is used to avoid that the second main sed command (meant for
6372
# 0-ary CPP macros) applies to n-ary macro definitions.
6373
# See the Autoconf documentation for `clear'.
6374
cat >confdef2sed.sed <<\_ACEOF
6379
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6381
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6384
# If some macros were called several times there might be several times
6385
# the same #defines, which is useless. Nevertheless, we may not want to
6386
# sort them, since we want the *last* AC-DEFINE to be honored.
6387
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6388
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6389
rm -f confdef2sed.sed
6391
# This sed command replaces #undef with comments. This is necessary, for
6392
# example, in the case of _POSIX_SOURCE, which is predefined and required
6393
# on some systems where configure will not decide to define it.
6394
cat >>conftest.undefs <<\_ACEOF
6395
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6398
# Break up conftest.defines because some shells have a limit on the size
6399
# of here documents, and old seds have small limits too (100 cmds).
6400
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6401
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6402
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6403
echo ' :' >>$CONFIG_STATUS
6405
while grep . conftest.defines >/dev/null
6407
# Write a limited-size here document to $tmp/defines.sed.
6408
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6409
# Speed up: don't consider the non `#define' lines.
6410
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6411
# Work around the forget-to-reset-the-flag bug.
6412
echo 't clr' >>$CONFIG_STATUS
6413
echo ': clr' >>$CONFIG_STATUS
6414
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6416
sed -f $tmp/defines.sed $tmp/in >$tmp/out
6420
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6421
rm -f conftest.defines
6422
mv conftest.tail conftest.defines
6424
rm -f conftest.defines
6425
echo ' fi # grep' >>$CONFIG_STATUS
6426
echo >>$CONFIG_STATUS
6428
# Break up conftest.undefs because some shells have a limit on the size
6429
# of here documents, and old seds have small limits too (100 cmds).
6430
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6432
while grep . conftest.undefs >/dev/null
6434
# Write a limited-size here document to $tmp/undefs.sed.
6435
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6436
# Speed up: don't consider the non `#undef'
6437
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6438
# Work around the forget-to-reset-the-flag bug.
6439
echo 't clr' >>$CONFIG_STATUS
6440
echo ': clr' >>$CONFIG_STATUS
6441
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6443
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6447
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6448
rm -f conftest.undefs
6449
mv conftest.tail conftest.undefs
6451
rm -f conftest.undefs
6453
cat >>$CONFIG_STATUS <<\_ACEOF
6454
# Let's still pretend it is `configure' which instantiates (i.e., don't
6455
# use $as_me), people would be surprised to read:
6456
# /* config.h. Generated by config.status. */
6457
if test x"$ac_file" = x-; then
6458
echo "/* Generated by configure. */" >$tmp/config.h
6460
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6462
cat $tmp/in >>$tmp/config.h
6464
if test x"$ac_file" != x-; then
6465
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6466
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6467
echo "$as_me: $ac_file is unchanged" >&6;}
6469
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6470
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6471
X"$ac_file" : 'X\(//\)[^/]' \| \
6472
X"$ac_file" : 'X\(//\)$' \| \
6473
X"$ac_file" : 'X\(/\)' \| \
6474
. : '\(.\)' 2>/dev/null ||
6476
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6477
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6478
/^X\(\/\/\)$/{ s//\1/; q; }
6479
/^X\(\/\).*/{ s//\1/; q; }
6481
{ if $as_mkdir_p; then
6486
while test ! -d "$as_dir"; do
6487
as_dirs="$as_dir $as_dirs"
6488
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6489
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6490
X"$as_dir" : 'X\(//\)[^/]' \| \
6491
X"$as_dir" : 'X\(//\)$' \| \
6492
X"$as_dir" : 'X\(/\)' \| \
6493
. : '\(.\)' 2>/dev/null ||
6495
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6496
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6497
/^X\(\/\/\)$/{ s//\1/; q; }
6498
/^X\(\/\).*/{ s//\1/; q; }
6501
test ! -n "$as_dirs" || mkdir $as_dirs
6502
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6503
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6504
{ (exit 1); exit 1; }; }; }
6507
mv $tmp/config.h $ac_file
6513
# Compute $ac_file's index in $config_headers.
6515
for _am_header in $config_headers :; do
6517
$ac_file | $ac_file:* )
6520
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
6523
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6524
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6525
X$ac_file : 'X\(//\)[^/]' \| \
6526
X$ac_file : 'X\(//\)$' \| \
6527
X$ac_file : 'X\(/\)' \| \
6528
. : '\(.\)' 2>/dev/null ||
6530
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6531
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6532
/^X\(\/\/\)$/{ s//\1/; q; }
6533
/^X\(\/\).*/{ s//\1/; q; }
6534
s/.*/./; q'`/stamp-h$_am_stamp_count
6537
cat >>$CONFIG_STATUS <<\_ACEOF
6540
# CONFIG_COMMANDS section.
6542
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6543
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6544
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6545
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6546
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6547
X"$ac_dest" : 'X\(//\)[^/]' \| \
6548
X"$ac_dest" : 'X\(//\)$' \| \
6549
X"$ac_dest" : 'X\(/\)' \| \
6550
. : '\(.\)' 2>/dev/null ||
6552
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6553
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6554
/^X\(\/\/\)$/{ s//\1/; q; }
6555
/^X\(\/\).*/{ s//\1/; q; }
6557
{ if $as_mkdir_p; then
6562
while test ! -d "$as_dir"; do
6563
as_dirs="$as_dir $as_dirs"
6564
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6565
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6566
X"$as_dir" : 'X\(//\)[^/]' \| \
6567
X"$as_dir" : 'X\(//\)$' \| \
6568
X"$as_dir" : 'X\(/\)' \| \
6569
. : '\(.\)' 2>/dev/null ||
6571
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6572
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6573
/^X\(\/\/\)$/{ s//\1/; q; }
6574
/^X\(\/\).*/{ s//\1/; q; }
6577
test ! -n "$as_dirs" || mkdir $as_dirs
6578
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6579
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6580
{ (exit 1); exit 1; }; }; }
6584
if test "$ac_dir" != .; then
6585
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6586
# A "../" for each directory in $ac_dir_suffix.
6587
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6589
ac_dir_suffix= ac_top_builddir=
6593
.) # No --srcdir option. We are building in place.
6595
if test -z "$ac_top_builddir"; then
6598
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6600
[\\/]* | ?:[\\/]* ) # Absolute path.
6601
ac_srcdir=$srcdir$ac_dir_suffix;
6602
ac_top_srcdir=$srcdir ;;
6604
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6605
ac_top_srcdir=$ac_top_builddir$srcdir ;;
6608
# Do not use `cd foo && pwd` to compute absolute paths, because
6609
# the directories may not exist.
6611
.) ac_abs_builddir="$ac_dir";;
6614
.) ac_abs_builddir=`pwd`;;
6615
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6616
*) ac_abs_builddir=`pwd`/"$ac_dir";;
6619
case $ac_abs_builddir in
6620
.) ac_abs_top_builddir=${ac_top_builddir}.;;
6622
case ${ac_top_builddir}. in
6623
.) ac_abs_top_builddir=$ac_abs_builddir;;
6624
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6625
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6628
case $ac_abs_builddir in
6629
.) ac_abs_srcdir=$ac_srcdir;;
6632
.) ac_abs_srcdir=$ac_abs_builddir;;
6633
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6634
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6637
case $ac_abs_builddir in
6638
.) ac_abs_top_srcdir=$ac_top_srcdir;;
6640
case $ac_top_srcdir in
6641
.) ac_abs_top_srcdir=$ac_abs_builddir;;
6642
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6643
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6648
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6649
echo "$as_me: executing $ac_dest commands" >&6;}
6653
intltool_edit="-e 's#@INTLTOOL_EXTRACT@#`pwd`/intltool-extract#g' \
6654
-e 's#@INTLTOOL_ICONV@#${INTLTOOL_ICONV}#g' \
6655
-e 's#@INTLTOOL_MSGFMT@#${INTLTOOL_MSGFMT}#g' \
6656
-e 's#@INTLTOOL_MSGMERGE@#${INTLTOOL_MSGMERGE}#g' \
6657
-e 's#@INTLTOOL_XGETTEXT@#${INTLTOOL_XGETTEXT}#g' \
6658
-e 's#@INTLTOOL_PERL@#${INTLTOOL_PERL}#g'"
6660
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-extract.in \
6661
> intltool-extract.out
6662
if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then
6663
rm -f intltool-extract.out
6665
mv -f intltool-extract.out intltool-extract
6667
chmod ugo+x intltool-extract
6668
chmod u+w intltool-extract
6670
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-merge.in \
6671
> intltool-merge.out
6672
if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then
6673
rm -f intltool-merge.out
6675
mv -f intltool-merge.out intltool-merge
6677
chmod ugo+x intltool-merge
6678
chmod u+w intltool-merge
6680
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-update.in \
6681
> intltool-update.out
6682
if cmp -s intltool-update intltool-update.out 2>/dev/null; then
6683
rm -f intltool-update.out
6685
mv -f intltool-update.out intltool-update
6687
chmod ugo+x intltool-update
6688
chmod u+w intltool-update
6691
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6692
# Strip MF so we end up with the name of the file.
6693
mf=`echo "$mf" | sed -e 's/:.*$//'`
6694
# Check whether this is an Automake generated Makefile or not.
6695
# We used to match only the files named `Makefile.in', but
6696
# some people rename them; so instead we look at the file content.
6697
# Grep'ing the first line is not enough: some people post-process
6698
# each Makefile.in and add a new line on top of each file to say so.
6699
# So let's grep whole file.
6700
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6701
dirpart=`(dirname "$mf") 2>/dev/null ||
6702
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6703
X"$mf" : 'X\(//\)[^/]' \| \
6704
X"$mf" : 'X\(//\)$' \| \
6705
X"$mf" : 'X\(/\)' \| \
6706
. : '\(.\)' 2>/dev/null ||
6708
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6709
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6710
/^X\(\/\/\)$/{ s//\1/; q; }
6711
/^X\(\/\).*/{ s//\1/; q; }
6716
# Extract the definition of DEPDIR, am__include, and am__quote
6717
# from the Makefile without running `make'.
6718
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6719
test -z "$DEPDIR" && continue
6720
am__include=`sed -n 's/^am__include = //p' < "$mf"`
6721
test -z "am__include" && continue
6722
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6723
# When using ansi2knr, U may be empty or an underscore; expand it
6724
U=`sed -n 's/^U = //p' < "$mf"`
6725
# Find all dependency output files, they are included files with
6726
# $(DEPDIR) in their names. We invoke sed twice because it is the
6727
# simplest approach to changing $(DEPDIR) to its actual value in the
6729
for file in `sed -n "
6730
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6731
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6732
# Make sure the directory exists.
6733
test -f "$dirpart/$file" && continue
6734
fdir=`(dirname "$file") 2>/dev/null ||
6735
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6736
X"$file" : 'X\(//\)[^/]' \| \
6737
X"$file" : 'X\(//\)$' \| \
6738
X"$file" : 'X\(/\)' \| \
6739
. : '\(.\)' 2>/dev/null ||
6741
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6742
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6743
/^X\(\/\/\)$/{ s//\1/; q; }
6744
/^X\(\/\).*/{ s//\1/; q; }
6746
{ if $as_mkdir_p; then
6747
mkdir -p $dirpart/$fdir
6749
as_dir=$dirpart/$fdir
6751
while test ! -d "$as_dir"; do
6752
as_dirs="$as_dir $as_dirs"
6753
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6754
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6755
X"$as_dir" : 'X\(//\)[^/]' \| \
6756
X"$as_dir" : 'X\(//\)$' \| \
6757
X"$as_dir" : 'X\(/\)' \| \
6758
. : '\(.\)' 2>/dev/null ||
6760
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6761
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6762
/^X\(\/\/\)$/{ s//\1/; q; }
6763
/^X\(\/\).*/{ s//\1/; q; }
6766
test ! -n "$as_dirs" || mkdir $as_dirs
6767
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6768
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6769
{ (exit 1); exit 1; }; }; }
6771
# echo "creating $dirpart/$file"
6772
echo '# dummy' > "$dirpart/$file"
6776
default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
6777
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
6783
cat >>$CONFIG_STATUS <<\_ACEOF
6785
{ (exit 0); exit 0; }
6787
chmod +x $CONFIG_STATUS
6788
ac_clean_files=$ac_clean_files_save
6791
# configure is writing to config.log, and then calls config.status.
6792
# config.status does its own redirection, appending to config.log.
6793
# Unfortunately, on DOS this fails, as config.log is still kept open
6794
# by configure, so config.status won't be able to write to it; its
6795
# output is simply discarded. So we exec the FD to /dev/null,
6796
# effectively closing config.log, so it can be properly (re)opened and
6797
# appended to by config.status. When coming back to configure, we
6798
# need to make the FD available again.
6799
if test "$no_create" != yes; then
6801
ac_config_status_args=
6802
test "$silent" = yes &&
6803
ac_config_status_args="$ac_config_status_args --quiet"
6805
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6807
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6808
# would make configure fail if this is the last instruction.
6809
$ac_cs_success || { (exit 1); exit 1; }