2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.65 for aptitude 0.6.3.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
93
*[\\/]* ) as_myself=$0 ;;
94
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
test -z "$as_dir" && as_dir=.
99
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
# in which case we are not to be found in the path.
107
if test "x$as_myself" = x; then
110
if test ! -f "$as_myself"; then
111
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115
# Unset variables that we do not need and which cause bugs (e.g. in
116
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117
# suppresses any "Segmentation fault" message there. '((' could
118
# trigger a bug in pdksh 5.2.14.
119
for as_var in BASH_ENV ENV MAIL MAILPATH
120
do eval test x\${$as_var+set} = xset \
121
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
if test "x$CONFIG_SHELL" = x; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
test -z "$as_dir" && as_dir=.
192
for as_base in sh bash ksh sh5; do
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
# Portably unset VAR.
254
{ eval $1=; unset $1;}
258
# as_fn_set_status STATUS
259
# -----------------------
260
# Set $? to STATUS, without forking.
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
# Create "$as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
as_dirs="'$as_qdir' $as_dirs"
293
as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
X"$as_dir" : 'X\(//\)[^/]' \| \
296
X"$as_dir" : 'X\(//\)$' \| \
297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
# as_fn_append VAR VALUE
324
# ----------------------
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
# advantage of any shell optimizations that allow amortized linear growth over
327
# repeated appends, instead of the typical quadratic growth present in naive
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
# must be portable across $(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
# as_fn_error ERROR [LINENO LOG_FD]
360
# ---------------------------------
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
# script with status $?, using 1 if that was 0.
366
as_status=$?; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371
$as_echo "$as_me: error: $1" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441
chmod +x "$as_me.lineno" ||
442
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444
# Don't try to exec as it changes $[0], causing all sort of problems
445
# (the dirname of $[0] is not the place where we might find the
446
# original and so on. Autoconf is especially sensitive to this).
448
# Exit status is that of the last command.
452
ECHO_C= ECHO_N= ECHO_T=
453
case `echo -n x` in #(((((
455
case `echo 'xy\c'` in
456
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
458
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465
rm -f conf$$ conf$$.exe conf$$.file
466
if test -d conf$$.dir; then
467
rm -f conf$$.dir/conf$$.file
470
mkdir conf$$.dir 2>/dev/null
472
if (echo >conf$$.file) 2>/dev/null; then
473
if ln -s conf$$.file conf$$ 2>/dev/null; then
475
# ... but there are two gotchas:
476
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
# In both cases, we have to default to `cp -p'.
479
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481
elif ln conf$$.file conf$$ 2>/dev/null; then
489
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
rmdir conf$$.dir 2>/dev/null
492
if mkdir -p . 2>/dev/null; then
493
as_mkdir_p='mkdir -p "$as_dir"'
495
test -d ./-p && rmdir ./-p
499
if test -x / >/dev/null 2>&1; then
502
if ls -dL / >/dev/null 2>&1; then
509
if test -d "$1"; then
515
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
???[sx]*):;;*)false;;esac;fi
520
as_executable_p=$as_test_x
522
# Sed expression to map a string onto a valid CPP name.
523
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525
# Sed expression to map a string onto a valid variable name.
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529
test -n "$DJDIR" || exec 7<&0 </dev/null
533
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534
# so uname gets run too.
535
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
ac_default_prefix=/usr/local
542
ac_config_libobj_dir=.
549
# Identity of this package.
550
PACKAGE_NAME='aptitude'
551
PACKAGE_TARNAME='aptitude'
552
PACKAGE_VERSION='0.6.3'
553
PACKAGE_STRING='aptitude 0.6.3'
557
ac_unique_file="src/main.cc"
558
# Factoring default headers for most tests.
559
ac_includes_default="\
561
#ifdef HAVE_SYS_TYPES_H
562
# include <sys/types.h>
564
#ifdef HAVE_SYS_STAT_H
565
# include <sys/stat.h>
571
# ifdef HAVE_STDLIB_H
576
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581
#ifdef HAVE_STRINGS_H
582
# include <strings.h>
584
#ifdef HAVE_INTTYPES_H
585
# include <inttypes.h>
594
ac_subst_vars='am__EXEEXT_FALSE
684
INSTALL_STRIP_PROGRAM
726
program_transform_name
739
enable_option_checking
740
enable_dependency_tracking
749
enable_private_glade_file
750
enable_dynamic_backtrace
754
enable_package_state_loc
758
enable_resolver_sanity_checks
760
ac_precious_vars='build_alias
793
# Initialize some variables set by options.
795
ac_init_version=false
796
ac_unrecognized_opts=
798
# The variables have the same names as the options, with
799
# dashes changed to underlines.
807
program_transform_name=s,x,x,
815
# Installation directory options.
816
# These are left unexpanded so users can "make install exec_prefix=/foo"
817
# and all the variables that are supposed to be based on exec_prefix
818
# by default will actually change.
819
# Use braces instead of parens because sh, perl, etc. also accept them.
820
# (The list follows the same order as the GNU Coding Standards.)
821
bindir='${exec_prefix}/bin'
822
sbindir='${exec_prefix}/sbin'
823
libexecdir='${exec_prefix}/libexec'
824
datarootdir='${prefix}/share'
825
datadir='${datarootdir}'
826
sysconfdir='${prefix}/etc'
827
sharedstatedir='${prefix}/com'
828
localstatedir='${prefix}/var'
829
includedir='${prefix}/include'
830
oldincludedir='/usr/include'
831
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
832
infodir='${datarootdir}/info'
837
libdir='${exec_prefix}/lib'
838
localedir='${datarootdir}/locale'
839
mandir='${datarootdir}/man'
845
# If the previous option needs an argument, assign it.
846
if test -n "$ac_prev"; then
847
eval $ac_prev=\$ac_option
853
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857
# Accept the important Cygnus configure options, so we can diagnose typos.
859
case $ac_dashdash$ac_option in
863
-bindir | --bindir | --bindi | --bind | --bin | --bi)
865
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
868
-build | --build | --buil | --bui | --bu)
869
ac_prev=build_alias ;;
870
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
871
build_alias=$ac_optarg ;;
873
-cache-file | --cache-file | --cache-fil | --cache-fi \
874
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
875
ac_prev=cache_file ;;
876
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
877
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
878
cache_file=$ac_optarg ;;
881
cache_file=config.cache ;;
883
-datadir | --datadir | --datadi | --datad)
885
-datadir=* | --datadir=* | --datadi=* | --datad=*)
886
datadir=$ac_optarg ;;
888
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
889
| --dataroo | --dataro | --datar)
890
ac_prev=datarootdir ;;
891
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
892
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
893
datarootdir=$ac_optarg ;;
895
-disable-* | --disable-*)
896
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897
# Reject names that are not valid shell variable names.
898
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899
as_fn_error "invalid feature name: $ac_useropt"
900
ac_useropt_orig=$ac_useropt
901
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902
case $ac_user_opts in
906
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907
ac_unrecognized_sep=', ';;
909
eval enable_$ac_useropt=no ;;
911
-docdir | --docdir | --docdi | --doc | --do)
913
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
916
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
918
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
921
-enable-* | --enable-*)
922
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923
# Reject names that are not valid shell variable names.
924
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925
as_fn_error "invalid feature name: $ac_useropt"
926
ac_useropt_orig=$ac_useropt
927
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928
case $ac_user_opts in
932
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933
ac_unrecognized_sep=', ';;
935
eval enable_$ac_useropt=\$ac_optarg ;;
937
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
938
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
939
| --exec | --exe | --ex)
940
ac_prev=exec_prefix ;;
941
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
942
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
943
| --exec=* | --exe=* | --ex=*)
944
exec_prefix=$ac_optarg ;;
946
-gas | --gas | --ga | --g)
947
# Obsolete; use --with-gas.
950
-help | --help | --hel | --he | -h)
952
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
953
ac_init_help=recursive ;;
954
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
955
ac_init_help=short ;;
957
-host | --host | --hos | --ho)
958
ac_prev=host_alias ;;
959
-host=* | --host=* | --hos=* | --ho=*)
960
host_alias=$ac_optarg ;;
962
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
964
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
966
htmldir=$ac_optarg ;;
968
-includedir | --includedir | --includedi | --included | --include \
969
| --includ | --inclu | --incl | --inc)
970
ac_prev=includedir ;;
971
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
972
| --includ=* | --inclu=* | --incl=* | --inc=*)
973
includedir=$ac_optarg ;;
975
-infodir | --infodir | --infodi | --infod | --info | --inf)
977
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
978
infodir=$ac_optarg ;;
980
-libdir | --libdir | --libdi | --libd)
982
-libdir=* | --libdir=* | --libdi=* | --libd=*)
985
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
986
| --libexe | --libex | --libe)
987
ac_prev=libexecdir ;;
988
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
989
| --libexe=* | --libex=* | --libe=*)
990
libexecdir=$ac_optarg ;;
992
-localedir | --localedir | --localedi | --localed | --locale)
994
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
995
localedir=$ac_optarg ;;
997
-localstatedir | --localstatedir | --localstatedi | --localstated \
998
| --localstate | --localstat | --localsta | --localst | --locals)
999
ac_prev=localstatedir ;;
1000
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1001
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1002
localstatedir=$ac_optarg ;;
1004
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1006
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1007
mandir=$ac_optarg ;;
1009
-nfp | --nfp | --nf)
1010
# Obsolete; use --without-fp.
1013
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1014
| --no-cr | --no-c | -n)
1017
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1018
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1021
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1022
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1023
| --oldin | --oldi | --old | --ol | --o)
1024
ac_prev=oldincludedir ;;
1025
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1026
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1027
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1028
oldincludedir=$ac_optarg ;;
1030
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1032
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1033
prefix=$ac_optarg ;;
1035
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1036
| --program-pre | --program-pr | --program-p)
1037
ac_prev=program_prefix ;;
1038
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1039
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1040
program_prefix=$ac_optarg ;;
1042
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1043
| --program-suf | --program-su | --program-s)
1044
ac_prev=program_suffix ;;
1045
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1046
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1047
program_suffix=$ac_optarg ;;
1049
-program-transform-name | --program-transform-name \
1050
| --program-transform-nam | --program-transform-na \
1051
| --program-transform-n | --program-transform- \
1052
| --program-transform | --program-transfor \
1053
| --program-transfo | --program-transf \
1054
| --program-trans | --program-tran \
1055
| --progr-tra | --program-tr | --program-t)
1056
ac_prev=program_transform_name ;;
1057
-program-transform-name=* | --program-transform-name=* \
1058
| --program-transform-nam=* | --program-transform-na=* \
1059
| --program-transform-n=* | --program-transform-=* \
1060
| --program-transform=* | --program-transfor=* \
1061
| --program-transfo=* | --program-transf=* \
1062
| --program-trans=* | --program-tran=* \
1063
| --progr-tra=* | --program-tr=* | --program-t=*)
1064
program_transform_name=$ac_optarg ;;
1066
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1068
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1069
pdfdir=$ac_optarg ;;
1071
-psdir | --psdir | --psdi | --psd | --ps)
1073
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1076
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1077
| -silent | --silent | --silen | --sile | --sil)
1080
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1082
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1084
sbindir=$ac_optarg ;;
1086
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1087
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1088
| --sharedst | --shareds | --shared | --share | --shar \
1090
ac_prev=sharedstatedir ;;
1091
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1092
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1093
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1095
sharedstatedir=$ac_optarg ;;
1097
-site | --site | --sit)
1099
-site=* | --site=* | --sit=*)
1102
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1104
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1105
srcdir=$ac_optarg ;;
1107
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1108
| --syscon | --sysco | --sysc | --sys | --sy)
1109
ac_prev=sysconfdir ;;
1110
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1111
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1112
sysconfdir=$ac_optarg ;;
1114
-target | --target | --targe | --targ | --tar | --ta | --t)
1115
ac_prev=target_alias ;;
1116
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1117
target_alias=$ac_optarg ;;
1119
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1122
-version | --version | --versio | --versi | --vers | -V)
1123
ac_init_version=: ;;
1126
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127
# Reject names that are not valid shell variable names.
1128
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129
as_fn_error "invalid package name: $ac_useropt"
1130
ac_useropt_orig=$ac_useropt
1131
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132
case $ac_user_opts in
1136
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137
ac_unrecognized_sep=', ';;
1139
eval with_$ac_useropt=\$ac_optarg ;;
1141
-without-* | --without-*)
1142
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143
# Reject names that are not valid shell variable names.
1144
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145
as_fn_error "invalid package name: $ac_useropt"
1146
ac_useropt_orig=$ac_useropt
1147
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148
case $ac_user_opts in
1152
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153
ac_unrecognized_sep=', ';;
1155
eval with_$ac_useropt=no ;;
1158
# Obsolete; use --with-x.
1161
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1162
| --x-incl | --x-inc | --x-in | --x-i)
1163
ac_prev=x_includes ;;
1164
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1165
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1166
x_includes=$ac_optarg ;;
1168
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1169
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1170
ac_prev=x_libraries ;;
1171
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1172
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1173
x_libraries=$ac_optarg ;;
1175
-*) as_fn_error "unrecognized option: \`$ac_option'
1176
Try \`$0 --help' for more information."
1180
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1181
# Reject names that are not valid shell variable names.
1182
case $ac_envvar in #(
1183
'' | [0-9]* | *[!_$as_cr_alnum]* )
1184
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1186
eval $ac_envvar=\$ac_optarg
1187
export $ac_envvar ;;
1190
# FIXME: should be removed in autoconf 3.0.
1191
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1193
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1200
if test -n "$ac_prev"; then
1201
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1202
as_fn_error "missing argument to $ac_option"
1205
if test -n "$ac_unrecognized_opts"; then
1206
case $enable_option_checking in
1208
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1209
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1213
# Check all directory arguments for consistency.
1214
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215
datadir sysconfdir sharedstatedir localstatedir includedir \
1216
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217
libdir localedir mandir
1219
eval ac_val=\$$ac_var
1220
# Remove trailing slashes.
1223
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224
eval $ac_var=\$ac_val;;
1226
# Be sure to have absolute directory names.
1228
[\\/$]* | ?:[\\/]* ) continue;;
1229
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1231
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1234
# There might be people who depend on the old broken behavior: `$host'
1235
# used to hold the argument of --host etc.
1236
# FIXME: To remove some day.
1239
target=$target_alias
1241
# FIXME: To remove some day.
1242
if test "x$host_alias" != x; then
1243
if test "x$build_alias" = x; then
1244
cross_compiling=maybe
1245
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1246
If a cross compiler is detected then cross compile mode will be used." >&2
1247
elif test "x$build_alias" != "x$host_alias"; then
1253
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1255
test "$silent" = yes && exec 6>/dev/null
1258
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1259
ac_ls_di=`ls -di .` &&
1260
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1261
as_fn_error "working directory cannot be determined"
1262
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263
as_fn_error "pwd does not report name of working directory"
1266
# Find the source files, if location was not specified.
1267
if test -z "$srcdir"; then
1268
ac_srcdir_defaulted=yes
1269
# Try the directory containing this script, then the parent directory.
1270
ac_confdir=`$as_dirname -- "$as_myself" ||
1271
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272
X"$as_myself" : 'X\(//\)[^/]' \| \
1273
X"$as_myself" : 'X\(//\)$' \| \
1274
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275
$as_echo X"$as_myself" |
1276
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1294
if test ! -r "$srcdir/$ac_unique_file"; then
1298
ac_srcdir_defaulted=no
1300
if test ! -r "$srcdir/$ac_unique_file"; then
1301
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1302
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1304
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1306
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1308
# When building in place, set srcdir=.
1309
if test "$ac_abs_confdir" = "$ac_pwd"; then
1312
# Remove unnecessary trailing slashes from srcdir.
1313
# Double slashes in file names in object file debugging info
1314
# mess up M-x gdb in Emacs.
1316
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318
for ac_var in $ac_precious_vars; do
1319
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1320
eval ac_env_${ac_var}_value=\$${ac_var}
1321
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1322
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1326
# Report the --help message.
1328
if test "$ac_init_help" = "long"; then
1329
# Omit some internal or obsolete options to make the list less imposing.
1330
# This message is too long to be a string in the A/UX 3.1 sh.
1332
\`configure' configures aptitude 0.6.3 to adapt to many kinds of systems.
1334
Usage: $0 [OPTION]... [VAR=VALUE]...
1336
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337
VAR=VALUE. See below for descriptions of some of the useful variables.
1339
Defaults for the options are specified in brackets.
1342
-h, --help display this help and exit
1343
--help=short display options specific to this package
1344
--help=recursive display the short help of all the included packages
1345
-V, --version display version information and exit
1346
-q, --quiet, --silent do not print \`checking...' messages
1347
--cache-file=FILE cache test results in FILE [disabled]
1348
-C, --config-cache alias for \`--cache-file=config.cache'
1349
-n, --no-create do not create output files
1350
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1352
Installation directories:
1353
--prefix=PREFIX install architecture-independent files in PREFIX
1354
[$ac_default_prefix]
1355
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358
By default, \`make install' will install all the files in
1359
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361
for instance \`--prefix=\$HOME'.
1363
For better control, use the options below.
1365
Fine tuning of the installation directories:
1366
--bindir=DIR user executables [EPREFIX/bin]
1367
--sbindir=DIR system admin executables [EPREFIX/sbin]
1368
--libexecdir=DIR program executables [EPREFIX/libexec]
1369
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372
--libdir=DIR object code libraries [EPREFIX/lib]
1373
--includedir=DIR C header files [PREFIX/include]
1374
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1375
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377
--infodir=DIR info documentation [DATAROOTDIR/info]
1378
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379
--mandir=DIR man documentation [DATAROOTDIR/man]
1380
--docdir=DIR documentation root [DATAROOTDIR/doc/aptitude]
1381
--htmldir=DIR html documentation [DOCDIR]
1382
--dvidir=DIR dvi documentation [DOCDIR]
1383
--pdfdir=DIR pdf documentation [DOCDIR]
1384
--psdir=DIR ps documentation [DOCDIR]
1390
--program-prefix=PREFIX prepend PREFIX to installed program names
1391
--program-suffix=SUFFIX append SUFFIX to installed program names
1392
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1395
--build=BUILD configure for building on BUILD [guessed]
1396
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1400
if test -n "$ac_init_help"; then
1401
case $ac_init_help in
1402
short | recursive ) echo "Configuration of aptitude 0.6.3:";;
1407
--disable-option-checking ignore unrecognized --enable/--with options
1408
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1409
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1410
--disable-dependency-tracking speeds up one-time build
1411
--enable-dependency-tracking do not reject slow dependency extractors
1412
--disable-nls do not use Native Language Support
1413
--disable-rpath do not hardcode runtime library paths
1414
--disable-gtk don't compile the GTK+/gtkmm frontend even if the
1415
appropriate libraries are available
1416
--disable-private-glade-file
1417
Always read the .glade file from \$datadir instead
1418
of reading one in ".". This can be useful when
1419
installing aptitude globally, to avoid accidentally
1420
picking up the wrong version of the .glade file.
1421
--enable-dynamic-backtrace
1422
Modify the executable so that it can generate a
1423
backtrace for uncaught exceptions. Will double the
1424
size of the stripped binary.
1425
--disable-werror do not compile with -Werror
1426
--enable-period-beep periodically (once a second) produce an annoying
1428
--enable-reload-cache allow the user to reload the cache on demand.
1430
--with-package-state-loc
1431
use the given location for storing state (default
1433
--with-lock-loc use the given location for storing state (default
1435
--disable-aptitude don't compile the program itself
1436
--disable-docs don't generate the documentation
1437
--enable-resolver-sanity-checks
1438
enable expensive internal sanity-checks in the
1442
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1443
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1444
--with-gnu-ld assume the C compiler uses GNU ld default=no
1445
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1446
--without-libiconv-prefix don't search for libiconv in includedir and libdir
1447
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1448
--without-libintl-prefix don't search for libintl in includedir and libdir
1449
--with-boost[=DIR] modify the directory that is searched for Boost
1450
--with-boost-iostreams[=special-lib]
1451
use the IOStreams library from boost - it is
1452
possible to specify a certain library for the linker
1454
--with-boost-iostreams=boost_iostreams-gcc-mt-d-1_33_1
1456
Some influential environment variables:
1457
CXX C++ compiler command
1458
CXXFLAGS C++ compiler flags
1459
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1460
nonstandard directory <lib dir>
1461
LIBS libraries to pass to the linker, e.g. -l<library>
1462
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1463
you have headers in a nonstandard directory <include dir>
1464
CC C compiler command
1465
CFLAGS C compiler flags
1466
PKG_CONFIG path to pkg-config utility
1467
ept_CFLAGS C compiler flags for ept, overriding pkg-config
1468
ept_LIBS linker flags for ept, overriding pkg-config
1469
SIGC_CFLAGS C compiler flags for SIGC, overriding pkg-config
1470
SIGC_LIBS linker flags for SIGC, overriding pkg-config
1472
C compiler flags for CWIDGET, overriding pkg-config
1474
linker flags for CWIDGET, overriding pkg-config
1475
VTE_CFLAGS C compiler flags for VTE, overriding pkg-config
1476
VTE_LIBS linker flags for VTE, overriding pkg-config
1477
CXXCPP C++ preprocessor
1479
C compiler flags for SQLITE3, overriding pkg-config
1481
linker flags for SQLITE3, overriding pkg-config
1483
C compiler flags for GLIBMM, overriding pkg-config
1484
GLIBMM_LIBS linker flags for GLIBMM, overriding pkg-config
1486
C compiler flags for GTHREAD, overriding pkg-config
1488
linker flags for GTHREAD, overriding pkg-config
1490
C compiler flags for GTKMM, overriding pkg-config
1491
GTKMM_LIBS linker flags for GTKMM, overriding pkg-config
1493
C compiler flags for LIBGLADEMM, overriding pkg-config
1495
linker flags for LIBGLADEMM, overriding pkg-config
1497
Use these variables to override the choices made by `configure' or to help
1498
it to find libraries and programs with nonstandard names/locations.
1500
Report bugs to the package provider.
1505
if test "$ac_init_help" = "recursive"; then
1506
# If there are subdirs, report their specific --help.
1507
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1508
test -d "$ac_dir" ||
1509
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1514
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1516
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1517
# A ".." for each directory in $ac_dir_suffix.
1518
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1519
case $ac_top_builddir_sub in
1520
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1524
ac_abs_top_builddir=$ac_pwd
1525
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1526
# for backward compatibility:
1527
ac_top_builddir=$ac_top_build_prefix
1530
.) # We are building in place.
1532
ac_top_srcdir=$ac_top_builddir_sub
1533
ac_abs_top_srcdir=$ac_pwd ;;
1534
[\\/]* | ?:[\\/]* ) # Absolute name.
1535
ac_srcdir=$srcdir$ac_dir_suffix;
1536
ac_top_srcdir=$srcdir
1537
ac_abs_top_srcdir=$srcdir ;;
1539
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1540
ac_top_srcdir=$ac_top_build_prefix$srcdir
1541
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1543
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1545
cd "$ac_dir" || { ac_status=$?; continue; }
1546
# Check for guested configure.
1547
if test -f "$ac_srcdir/configure.gnu"; then
1549
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1550
elif test -f "$ac_srcdir/configure"; then
1552
$SHELL "$ac_srcdir/configure" --help=recursive
1554
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1556
cd "$ac_pwd" || { ac_status=$?; break; }
1560
test -n "$ac_init_help" && exit $ac_status
1561
if $ac_init_version; then
1563
aptitude configure 0.6.3
1564
generated by GNU Autoconf 2.65
1566
Copyright (C) 2009 Free Software Foundation, Inc.
1567
This configure script is free software; the Free Software Foundation
1568
gives unlimited permission to copy, distribute and modify it.
1573
## ------------------------ ##
1574
## Autoconf initialization. ##
1575
## ------------------------ ##
1577
# ac_fn_cxx_try_compile LINENO
1578
# ----------------------------
1579
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1580
ac_fn_cxx_try_compile ()
1582
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583
rm -f conftest.$ac_objext
1584
if { { ac_try="$ac_compile"
1586
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587
*) ac_try_echo=$ac_try;;
1589
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590
$as_echo "$ac_try_echo"; } >&5
1591
(eval "$ac_compile") 2>conftest.err
1593
if test -s conftest.err; then
1594
grep -v '^ *+' conftest.err >conftest.er1
1595
cat conftest.er1 >&5
1596
mv -f conftest.er1 conftest.err
1598
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599
test $ac_status = 0; } && {
1600
test -z "$ac_cxx_werror_flag" ||
1601
test ! -s conftest.err
1602
} && test -s conftest.$ac_objext; then :
1605
$as_echo "$as_me: failed program was:" >&5
1606
sed 's/^/| /' conftest.$ac_ext >&5
1610
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1611
as_fn_set_status $ac_retval
1613
} # ac_fn_cxx_try_compile
1615
# ac_fn_cxx_try_link LINENO
1616
# -------------------------
1617
# Try to link conftest.$ac_ext, and return whether this succeeded.
1618
ac_fn_cxx_try_link ()
1620
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621
rm -f conftest.$ac_objext conftest$ac_exeext
1622
if { { ac_try="$ac_link"
1624
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625
*) ac_try_echo=$ac_try;;
1627
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628
$as_echo "$ac_try_echo"; } >&5
1629
(eval "$ac_link") 2>conftest.err
1631
if test -s conftest.err; then
1632
grep -v '^ *+' conftest.err >conftest.er1
1633
cat conftest.er1 >&5
1634
mv -f conftest.er1 conftest.err
1636
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637
test $ac_status = 0; } && {
1638
test -z "$ac_cxx_werror_flag" ||
1639
test ! -s conftest.err
1640
} && test -s conftest$ac_exeext && {
1641
test "$cross_compiling" = yes ||
1642
$as_test_x conftest$ac_exeext
1646
$as_echo "$as_me: failed program was:" >&5
1647
sed 's/^/| /' conftest.$ac_ext >&5
1651
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1652
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1653
# interfere with the next link command; also delete a directory that is
1654
# left behind by Apple's compiler. We do this before executing the actions.
1655
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1656
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1657
as_fn_set_status $ac_retval
1659
} # ac_fn_cxx_try_link
1661
# ac_fn_c_try_compile LINENO
1662
# --------------------------
1663
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1664
ac_fn_c_try_compile ()
1666
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667
rm -f conftest.$ac_objext
1668
if { { ac_try="$ac_compile"
1670
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671
*) ac_try_echo=$ac_try;;
1673
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674
$as_echo "$ac_try_echo"; } >&5
1675
(eval "$ac_compile") 2>conftest.err
1677
if test -s conftest.err; then
1678
grep -v '^ *+' conftest.err >conftest.er1
1679
cat conftest.er1 >&5
1680
mv -f conftest.er1 conftest.err
1682
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683
test $ac_status = 0; } && {
1684
test -z "$ac_c_werror_flag" ||
1685
test ! -s conftest.err
1686
} && test -s conftest.$ac_objext; then :
1689
$as_echo "$as_me: failed program was:" >&5
1690
sed 's/^/| /' conftest.$ac_ext >&5
1694
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695
as_fn_set_status $ac_retval
1697
} # ac_fn_c_try_compile
1699
# ac_fn_cxx_try_cpp LINENO
1700
# ------------------------
1701
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1702
ac_fn_cxx_try_cpp ()
1704
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705
if { { ac_try="$ac_cpp conftest.$ac_ext"
1707
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708
*) ac_try_echo=$ac_try;;
1710
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711
$as_echo "$ac_try_echo"; } >&5
1712
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1714
if test -s conftest.err; then
1715
grep -v '^ *+' conftest.err >conftest.er1
1716
cat conftest.er1 >&5
1717
mv -f conftest.er1 conftest.err
1719
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720
test $ac_status = 0; } >/dev/null && {
1721
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1722
test ! -s conftest.err
1726
$as_echo "$as_me: failed program was:" >&5
1727
sed 's/^/| /' conftest.$ac_ext >&5
1731
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732
as_fn_set_status $ac_retval
1734
} # ac_fn_cxx_try_cpp
1736
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1737
# ---------------------------------------------------------
1738
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1739
# the include files in INCLUDES and setting the cache variable VAR
1741
ac_fn_cxx_check_header_mongrel ()
1743
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746
$as_echo_n "checking for $2... " >&6; }
1747
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1748
$as_echo_n "(cached) " >&6
1751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1752
$as_echo "$ac_res" >&6; }
1754
# Is the header compilable?
1755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1756
$as_echo_n "checking $2 usability... " >&6; }
1757
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758
/* end confdefs.h. */
1762
if ac_fn_cxx_try_compile "$LINENO"; then :
1763
ac_header_compiler=yes
1765
ac_header_compiler=no
1767
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1769
$as_echo "$ac_header_compiler" >&6; }
1771
# Is the header present?
1772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1773
$as_echo_n "checking $2 presence... " >&6; }
1774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775
/* end confdefs.h. */
1778
if ac_fn_cxx_try_cpp "$LINENO"; then :
1779
ac_header_preproc=yes
1781
ac_header_preproc=no
1783
rm -f conftest.err conftest.$ac_ext
1784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1785
$as_echo "$ac_header_preproc" >&6; }
1787
# So? What about this header?
1788
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1790
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1791
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1792
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1793
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1796
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1797
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1798
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1799
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1800
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1801
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1802
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1803
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1804
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1805
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809
$as_echo_n "checking for $2... " >&6; }
1810
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1811
$as_echo_n "(cached) " >&6
1813
eval "$3=\$ac_header_compiler"
1816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817
$as_echo "$ac_res" >&6; }
1819
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1821
} # ac_fn_cxx_check_header_mongrel
1823
# ac_fn_cxx_try_run LINENO
1824
# ------------------------
1825
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1826
# that executables *can* be run.
1827
ac_fn_cxx_try_run ()
1829
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830
if { { ac_try="$ac_link"
1832
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833
*) ac_try_echo=$ac_try;;
1835
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836
$as_echo "$ac_try_echo"; } >&5
1837
(eval "$ac_link") 2>&5
1839
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1841
{ { case "(($ac_try" in
1842
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1843
*) ac_try_echo=$ac_try;;
1845
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846
$as_echo "$ac_try_echo"; } >&5
1847
(eval "$ac_try") 2>&5
1849
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850
test $ac_status = 0; }; }; then :
1853
$as_echo "$as_me: program exited with status $ac_status" >&5
1854
$as_echo "$as_me: failed program was:" >&5
1855
sed 's/^/| /' conftest.$ac_ext >&5
1857
ac_retval=$ac_status
1859
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1860
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861
as_fn_set_status $ac_retval
1863
} # ac_fn_cxx_try_run
1865
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1866
# ---------------------------------------------------------
1867
# Tests whether HEADER exists and can be compiled using the include files in
1868
# INCLUDES, setting the cache variable VAR accordingly.
1869
ac_fn_cxx_check_header_compile ()
1871
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1873
$as_echo_n "checking for $2... " >&6; }
1874
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1875
$as_echo_n "(cached) " >&6
1877
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878
/* end confdefs.h. */
1882
if ac_fn_cxx_try_compile "$LINENO"; then :
1887
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891
$as_echo "$ac_res" >&6; }
1892
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1894
} # ac_fn_cxx_check_header_compile
1896
# ac_fn_cxx_check_decl LINENO SYMBOL VAR
1897
# --------------------------------------
1898
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1899
ac_fn_cxx_check_decl ()
1901
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1903
$as_echo_n "checking whether $2 is declared... " >&6; }
1904
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1905
$as_echo_n "(cached) " >&6
1907
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908
/* end confdefs.h. */
1921
if ac_fn_cxx_try_compile "$LINENO"; then :
1926
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930
$as_echo "$ac_res" >&6; }
1931
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1933
} # ac_fn_cxx_check_decl
1935
# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1936
# ---------------------------------------------
1937
# Tests whether TYPE exists after having included INCLUDES, setting cache
1938
# variable VAR accordingly.
1939
ac_fn_cxx_check_type ()
1941
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1943
$as_echo_n "checking for $2... " >&6; }
1944
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1945
$as_echo_n "(cached) " >&6
1948
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949
/* end confdefs.h. */
1960
if ac_fn_cxx_try_compile "$LINENO"; then :
1961
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962
/* end confdefs.h. */
1973
if ac_fn_cxx_try_compile "$LINENO"; then :
1978
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1980
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984
$as_echo "$ac_res" >&6; }
1985
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1987
} # ac_fn_cxx_check_type
1989
# ac_fn_cxx_check_func LINENO FUNC VAR
1990
# ------------------------------------
1991
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1992
ac_fn_cxx_check_func ()
1994
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1996
$as_echo_n "checking for $2... " >&6; }
1997
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1998
$as_echo_n "(cached) " >&6
2000
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001
/* end confdefs.h. */
2002
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2003
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2004
#define $2 innocuous_$2
2006
/* System header to define __stub macros and hopefully few prototypes,
2007
which can conflict with char $2 (); below.
2008
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2009
<limits.h> exists even on freestanding compilers. */
2012
# include <limits.h>
2014
# include <assert.h>
2019
/* Override any GCC internal prototype to avoid an error.
2020
Use char because int might match the return type of a GCC
2021
builtin and then its argument prototype would still apply. */
2026
/* The GNU C library defines this for functions which it implements
2027
to always fail with ENOSYS. Some functions are actually named
2028
something starting with __ and the normal name is an alias. */
2029
#if defined __stub_$2 || defined __stub___$2
2041
if ac_fn_cxx_try_link "$LINENO"; then :
2046
rm -f core conftest.err conftest.$ac_objext \
2047
conftest$ac_exeext conftest.$ac_ext
2050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051
$as_echo "$ac_res" >&6; }
2052
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2054
} # ac_fn_cxx_check_func
2055
cat >config.log <<_ACEOF
2056
This file contains any messages produced by compilers while
2057
running configure, to aid debugging if configure makes a mistake.
2059
It was created by aptitude $as_me 0.6.3, which was
2060
generated by GNU Autoconf 2.65. Invocation command line was
2072
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2073
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2074
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2075
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2076
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2078
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2079
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2081
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2082
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2083
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2084
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2085
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2086
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2087
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2091
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095
test -z "$as_dir" && as_dir=.
2096
$as_echo "PATH: $as_dir"
2112
# Keep a trace of the command line.
2113
# Strip out --no-create and --no-recursion so they do not pile up.
2114
# Strip out --silent because we don't want to record it for future runs.
2115
# Also quote any args containing shell meta-characters.
2116
# Make two passes to allow for proper duplicate-argument suppression.
2120
ac_must_keep_next=false
2126
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2127
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2128
| -silent | --silent | --silen | --sile | --sil)
2131
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2134
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2136
as_fn_append ac_configure_args1 " '$ac_arg'"
2137
if test $ac_must_keep_next = true; then
2138
ac_must_keep_next=false # Got value, back to normal.
2141
*=* | --config-cache | -C | -disable-* | --disable-* \
2142
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2143
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2144
| -with-* | --with-* | -without-* | --without-* | --x)
2145
case "$ac_configure_args0 " in
2146
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2149
-* ) ac_must_keep_next=true ;;
2152
as_fn_append ac_configure_args " '$ac_arg'"
2157
{ ac_configure_args0=; unset ac_configure_args0;}
2158
{ ac_configure_args1=; unset ac_configure_args1;}
2160
# When interrupted or exit'd, cleanup temporary files, and complete
2161
# config.log. We remove comments because anyway the quotes in there
2162
# would cause problems or look ugly.
2163
# WARNING: Use '\'' to represent an apostrophe within the trap.
2164
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2165
trap 'exit_status=$?
2166
# Save into config.log some information that might help in debugging.
2171
## ---------------- ##
2172
## Cache variables. ##
2173
## ---------------- ##
2176
# The following way of writing the cache mishandles newlines in values,
2178
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2179
eval ac_val=\$$ac_var
2183
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2184
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2187
_ | IFS | as_nl) ;; #(
2188
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2189
*) { eval $ac_var=; unset $ac_var;} ;;
2194
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2195
*${as_nl}ac_space=\ *)
2197
"s/'\''/'\''\\\\'\'''\''/g;
2198
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2201
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2209
## ----------------- ##
2210
## Output variables. ##
2211
## ----------------- ##
2214
for ac_var in $ac_subst_vars
2216
eval ac_val=\$$ac_var
2218
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2220
$as_echo "$ac_var='\''$ac_val'\''"
2224
if test -n "$ac_subst_files"; then
2226
## ------------------- ##
2227
## File substitutions. ##
2228
## ------------------- ##
2231
for ac_var in $ac_subst_files
2233
eval ac_val=\$$ac_var
2235
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2237
$as_echo "$ac_var='\''$ac_val'\''"
2242
if test -s confdefs.h; then
2252
test "$ac_signal" != 0 &&
2253
$as_echo "$as_me: caught signal $ac_signal"
2254
$as_echo "$as_me: exit $exit_status"
2256
rm -f core *.core core.conftest.* &&
2257
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2260
for ac_signal in 1 2 13 15; do
2261
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2265
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2266
rm -f -r conftest* confdefs.h
2268
$as_echo "/* confdefs.h */" > confdefs.h
2270
# Predefined preprocessor variables.
2272
cat >>confdefs.h <<_ACEOF
2273
#define PACKAGE_NAME "$PACKAGE_NAME"
2276
cat >>confdefs.h <<_ACEOF
2277
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2280
cat >>confdefs.h <<_ACEOF
2281
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2284
cat >>confdefs.h <<_ACEOF
2285
#define PACKAGE_STRING "$PACKAGE_STRING"
2288
cat >>confdefs.h <<_ACEOF
2289
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2292
cat >>confdefs.h <<_ACEOF
2293
#define PACKAGE_URL "$PACKAGE_URL"
2297
# Let the site file select an alternate cache file if it wants to.
2298
# Prefer an explicitly selected file to automatically selected ones.
2301
if test -n "$CONFIG_SITE"; then
2302
ac_site_file1=$CONFIG_SITE
2303
elif test "x$prefix" != xNONE; then
2304
ac_site_file1=$prefix/share/config.site
2305
ac_site_file2=$prefix/etc/config.site
2307
ac_site_file1=$ac_default_prefix/share/config.site
2308
ac_site_file2=$ac_default_prefix/etc/config.site
2310
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2312
test "x$ac_site_file" = xNONE && continue
2313
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2314
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2315
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2316
sed 's/^/| /' "$ac_site_file" >&5
2321
if test -r "$cache_file"; then
2322
# Some versions of bash will fail to source /dev/null (special files
2323
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2324
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2325
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2326
$as_echo "$as_me: loading cache $cache_file" >&6;}
2328
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2329
*) . "./$cache_file";;
2333
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2334
$as_echo "$as_me: creating cache $cache_file" >&6;}
2338
# Check that the precious variables saved in the cache have kept the same
2340
ac_cache_corrupted=false
2341
for ac_var in $ac_precious_vars; do
2342
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2343
eval ac_new_set=\$ac_env_${ac_var}_set
2344
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2345
eval ac_new_val=\$ac_env_${ac_var}_value
2346
case $ac_old_set,$ac_new_set in
2348
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2349
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2350
ac_cache_corrupted=: ;;
2352
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2353
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2354
ac_cache_corrupted=: ;;
2357
if test "x$ac_old_val" != "x$ac_new_val"; then
2358
# differences in whitespace do not lead to failure.
2359
ac_old_val_w=`echo x $ac_old_val`
2360
ac_new_val_w=`echo x $ac_new_val`
2361
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2363
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2364
ac_cache_corrupted=:
2366
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2367
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2368
eval $ac_var=\$ac_old_val
2370
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2371
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2372
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2373
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2376
# Pass precious variables to config.status.
2377
if test "$ac_new_set" = set; then
2379
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2380
*) ac_arg=$ac_var=$ac_new_val ;;
2382
case " $ac_configure_args " in
2383
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2384
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2388
if $ac_cache_corrupted; then
2389
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2390
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2391
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2392
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2393
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2395
## -------------------- ##
2396
## Main body of script. ##
2397
## -------------------- ##
2400
ac_cpp='$CPP $CPPFLAGS'
2401
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2402
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2403
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2407
am__api_version='1.11'
2410
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2411
for ac_t in install-sh install.sh shtool; do
2412
if test -f "$ac_dir/$ac_t"; then
2414
ac_install_sh="$ac_aux_dir/$ac_t -c"
2419
if test -z "$ac_aux_dir"; then
2420
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2423
# These three variables are undocumented and unsupported,
2424
# and are intended to be withdrawn in a future Autoconf release.
2425
# They can cause serious problems if a builder's source tree is in a directory
2426
# whose full name contains unusual characters.
2427
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2428
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2429
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2432
# Find a good install program. We prefer a C program (faster),
2433
# so one script is as good as another. But avoid the broken or
2434
# incompatible versions:
2435
# SysV /etc/install, /usr/sbin/install
2436
# SunOS /usr/etc/install
2437
# IRIX /sbin/install
2439
# AmigaOS /C/install, which installs bootblocks on floppy discs
2440
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2441
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2442
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2443
# OS/2's system install, which has a completely different semantic
2444
# ./install, which can be erroneously created by make from ./install.sh.
2445
# Reject install programs that cannot install multiple files.
2446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2447
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2448
if test -z "$INSTALL"; then
2449
if test "${ac_cv_path_install+set}" = set; then :
2450
$as_echo_n "(cached) " >&6
2452
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456
test -z "$as_dir" && as_dir=.
2457
# Account for people who put trailing slashes in PATH elements.
2458
case $as_dir/ in #((
2459
./ | .// | /[cC]/* | \
2460
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2461
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2464
# OSF1 and SCO ODT 3.0 have their own names for install.
2465
# Don't use installbsd from OSF since it installs stuff as root
2467
for ac_prog in ginstall scoinst install; do
2468
for ac_exec_ext in '' $ac_executable_extensions; do
2469
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2470
if test $ac_prog = install &&
2471
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2472
# AIX install. It has an incompatible calling convention.
2474
elif test $ac_prog = install &&
2475
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2476
# program-specific install script used by HP pwplus--don't use.
2479
rm -rf conftest.one conftest.two conftest.dir
2480
echo one > conftest.one
2481
echo two > conftest.two
2483
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2484
test -s conftest.one && test -s conftest.two &&
2485
test -s conftest.dir/conftest.one &&
2486
test -s conftest.dir/conftest.two
2488
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2501
rm -rf conftest.one conftest.two conftest.dir
2504
if test "${ac_cv_path_install+set}" = set; then
2505
INSTALL=$ac_cv_path_install
2507
# As a last resort, use the slow shell script. Don't cache a
2508
# value for INSTALL within a source directory, because that will
2509
# break other packages using the cache if that directory is
2510
# removed, or if the value is a relative name.
2511
INSTALL=$ac_install_sh
2514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2515
$as_echo "$INSTALL" >&6; }
2517
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2518
# It thinks the first close brace ends the variable substitution.
2519
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2521
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2523
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2526
$as_echo_n "checking whether build environment is sane... " >&6; }
2529
echo timestamp > conftest.file
2530
# Reject unsafe characters in $srcdir or the absolute working directory
2531
# name. Accept space and tab only in the latter.
2535
*[\\\"\#\$\&\'\`$am_lf]*)
2536
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2539
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2540
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2543
# Do `set' in a subshell so we don't clobber the current shell's
2544
# arguments. Must try -L first in case configure is actually a
2545
# symlink; some systems play weird games with the mod time of symlinks
2546
# (eg FreeBSD returns the mod time of the symlink's containing
2549
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2550
if test "$*" = "X"; then
2552
set X `ls -t "$srcdir/configure" conftest.file`
2555
if test "$*" != "X $srcdir/configure conftest.file" \
2556
&& test "$*" != "X conftest.file $srcdir/configure"; then
2558
# If neither matched, then we have a broken ls. This can happen
2559
# if, for instance, CONFIG_SHELL is bash and it inherits a
2560
# broken ls alias from the environment. This has actually
2561
# happened. Such a system could not be considered "sane".
2562
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2563
alias in your environment" "$LINENO" 5
2566
test "$2" = conftest.file
2572
as_fn_error "newly created file is older than distributed files!
2573
Check your system clock" "$LINENO" 5
2575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2576
$as_echo "yes" >&6; }
2577
test "$program_prefix" != NONE &&
2578
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2579
# Use a double $ so make ignores it.
2580
test "$program_suffix" != NONE &&
2581
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2582
# Double any \ or $.
2583
# By default was `s,x,x', remove it if useless.
2584
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2585
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2587
# expand $ac_aux_dir to an absolute path
2588
am_aux_dir=`cd $ac_aux_dir && pwd`
2590
if test x"${MISSING+set}" != xset; then
2593
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2595
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2598
# Use eval to expand $SHELL
2599
if eval "$MISSING --run true"; then
2600
am_missing_run="$MISSING --run "
2603
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2604
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2607
if test x"${install_sh}" != xset; then
2610
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2612
install_sh="\${SHELL} $am_aux_dir/install-sh"
2616
# Installed binaries are usually stripped using `strip' when the user
2617
# run `make install-strip'. However `strip' might not be the right
2618
# tool to use in cross-compilation environments, therefore Automake
2619
# will honor the `STRIP' environment variable to overrule this program.
2620
if test "$cross_compiling" != no; then
2621
if test -n "$ac_tool_prefix"; then
2622
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2623
set dummy ${ac_tool_prefix}strip; ac_word=$2
2624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2625
$as_echo_n "checking for $ac_word... " >&6; }
2626
if test "${ac_cv_prog_STRIP+set}" = set; then :
2627
$as_echo_n "(cached) " >&6
2629
if test -n "$STRIP"; then
2630
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2632
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636
test -z "$as_dir" && as_dir=.
2637
for ac_exec_ext in '' $ac_executable_extensions; do
2638
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2639
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2640
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2649
STRIP=$ac_cv_prog_STRIP
2650
if test -n "$STRIP"; then
2651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2652
$as_echo "$STRIP" >&6; }
2654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655
$as_echo "no" >&6; }
2660
if test -z "$ac_cv_prog_STRIP"; then
2662
# Extract the first word of "strip", so it can be a program name with args.
2663
set dummy strip; ac_word=$2
2664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665
$as_echo_n "checking for $ac_word... " >&6; }
2666
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2667
$as_echo_n "(cached) " >&6
2669
if test -n "$ac_ct_STRIP"; then
2670
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2672
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676
test -z "$as_dir" && as_dir=.
2677
for ac_exec_ext in '' $ac_executable_extensions; do
2678
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679
ac_cv_prog_ac_ct_STRIP="strip"
2680
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2690
if test -n "$ac_ct_STRIP"; then
2691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2692
$as_echo "$ac_ct_STRIP" >&6; }
2694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695
$as_echo "no" >&6; }
2698
if test "x$ac_ct_STRIP" = x; then
2701
case $cross_compiling:$ac_tool_warned in
2703
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2704
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2705
ac_tool_warned=yes ;;
2710
STRIP="$ac_cv_prog_STRIP"
2714
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2717
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2718
if test -z "$MKDIR_P"; then
2719
if test "${ac_cv_path_mkdir+set}" = set; then :
2720
$as_echo_n "(cached) " >&6
2722
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2726
test -z "$as_dir" && as_dir=.
2727
for ac_prog in mkdir gmkdir; do
2728
for ac_exec_ext in '' $ac_executable_extensions; do
2729
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2730
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2731
'mkdir (GNU coreutils) '* | \
2732
'mkdir (coreutils) '* | \
2733
'mkdir (fileutils) '4.1*)
2734
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2744
test -d ./--version && rmdir ./--version
2745
if test "${ac_cv_path_mkdir+set}" = set; then
2746
MKDIR_P="$ac_cv_path_mkdir -p"
2748
# As a last resort, use the slow shell script. Don't cache a
2749
# value for MKDIR_P within a source directory, because that will
2750
# break other packages using the cache if that directory is
2751
# removed, or if the value is a relative name.
2752
MKDIR_P="$ac_install_sh -d"
2755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2756
$as_echo "$MKDIR_P" >&6; }
2760
[\\/$]* | ?:[\\/]*) ;;
2761
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2764
for ac_prog in gawk mawk nawk awk
2766
# Extract the first word of "$ac_prog", so it can be a program name with args.
2767
set dummy $ac_prog; ac_word=$2
2768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2769
$as_echo_n "checking for $ac_word... " >&6; }
2770
if test "${ac_cv_prog_AWK+set}" = set; then :
2771
$as_echo_n "(cached) " >&6
2773
if test -n "$AWK"; then
2774
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2776
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780
test -z "$as_dir" && as_dir=.
2781
for ac_exec_ext in '' $ac_executable_extensions; do
2782
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2783
ac_cv_prog_AWK="$ac_prog"
2784
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794
if test -n "$AWK"; then
2795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2796
$as_echo "$AWK" >&6; }
2798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799
$as_echo "no" >&6; }
2803
test -n "$AWK" && break
2806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2807
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2809
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2810
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2811
$as_echo_n "(cached) " >&6
2813
cat >conftest.make <<\_ACEOF
2816
@echo '@@@%%%=$(MAKE)=@@@%%%'
2818
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2819
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2821
eval ac_cv_prog_make_${ac_make}_set=yes;;
2823
eval ac_cv_prog_make_${ac_make}_set=no;;
2827
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2829
$as_echo "yes" >&6; }
2832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833
$as_echo "no" >&6; }
2834
SET_MAKE="MAKE=${MAKE-make}"
2837
rm -rf .tst 2>/dev/null
2838
mkdir .tst 2>/dev/null
2839
if test -d .tst; then
2844
rmdir .tst 2>/dev/null
2846
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2847
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2848
# is not polluted with repeated "-I."
2849
am__isrc=' -I$(srcdir)'
2850
# test to see if srcdir already configured
2851
if test -f $srcdir/config.status; then
2852
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2856
# test whether we have cygpath
2857
if test -z "$CYGPATH_W"; then
2858
if (cygpath --version) >/dev/null 2>/dev/null; then
2859
CYGPATH_W='cygpath -w'
2866
# Define the identity of the package.
2871
cat >>confdefs.h <<_ACEOF
2872
#define PACKAGE "$PACKAGE"
2876
cat >>confdefs.h <<_ACEOF
2877
#define VERSION "$VERSION"
2880
# Some tools Automake needs.
2882
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2885
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2888
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2891
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2894
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2896
# We need awk for the "check" target. The system "awk" is bad on
2898
# Always define AMTAR for backward compatibility.
2900
AMTAR=${AMTAR-"${am_missing_run}tar"}
2902
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2908
ac_config_headers="$ac_config_headers config.h"
2912
ac_cpp='$CXXCPP $CPPFLAGS'
2913
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2914
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2915
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2919
ac_cpp='$CXXCPP $CPPFLAGS'
2920
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2921
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2922
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2923
if test -z "$CXX"; then
2924
if test -n "$CCC"; then
2927
if test -n "$ac_tool_prefix"; then
2928
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2930
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2931
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933
$as_echo_n "checking for $ac_word... " >&6; }
2934
if test "${ac_cv_prog_CXX+set}" = set; then :
2935
$as_echo_n "(cached) " >&6
2937
if test -n "$CXX"; then
2938
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2940
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944
test -z "$as_dir" && as_dir=.
2945
for ac_exec_ext in '' $ac_executable_extensions; do
2946
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2947
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2948
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958
if test -n "$CXX"; then
2959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2960
$as_echo "$CXX" >&6; }
2962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963
$as_echo "no" >&6; }
2967
test -n "$CXX" && break
2970
if test -z "$CXX"; then
2972
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2974
# Extract the first word of "$ac_prog", so it can be a program name with args.
2975
set dummy $ac_prog; ac_word=$2
2976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2977
$as_echo_n "checking for $ac_word... " >&6; }
2978
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2979
$as_echo_n "(cached) " >&6
2981
if test -n "$ac_ct_CXX"; then
2982
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2984
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2988
test -z "$as_dir" && as_dir=.
2989
for ac_exec_ext in '' $ac_executable_extensions; do
2990
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2991
ac_cv_prog_ac_ct_CXX="$ac_prog"
2992
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3002
if test -n "$ac_ct_CXX"; then
3003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3004
$as_echo "$ac_ct_CXX" >&6; }
3006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007
$as_echo "no" >&6; }
3011
test -n "$ac_ct_CXX" && break
3014
if test "x$ac_ct_CXX" = x; then
3017
case $cross_compiling:$ac_tool_warned in
3019
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3020
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3021
ac_tool_warned=yes ;;
3029
# Provide some information about the compiler.
3030
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3033
for ac_option in --version -v -V -qversion; do
3034
{ { ac_try="$ac_compiler $ac_option >&5"
3036
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037
*) ac_try_echo=$ac_try;;
3039
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3040
$as_echo "$ac_try_echo"; } >&5
3041
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3043
if test -s conftest.err; then
3045
... rest of stderr output deleted ...
3046
10q' conftest.err >conftest.er1
3047
cat conftest.er1 >&5
3049
rm -f conftest.er1 conftest.err
3050
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051
test $ac_status = 0; }
3054
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055
/* end confdefs.h. */
3065
ac_clean_files_save=$ac_clean_files
3066
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3067
# Try to create an executable without -o first, disregard a.out.
3068
# It will help us diagnose broken compilers, and finding out an intuition
3070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3071
$as_echo_n "checking whether the C++ compiler works... " >&6; }
3072
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3074
# The possible output files:
3075
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3078
for ac_file in $ac_files
3081
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3082
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3087
if { { ac_try="$ac_link_default"
3089
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090
*) ac_try_echo=$ac_try;;
3092
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3093
$as_echo "$ac_try_echo"; } >&5
3094
(eval "$ac_link_default") 2>&5
3096
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097
test $ac_status = 0; }; then :
3098
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3099
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3100
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3101
# so that the user can short-circuit this test for compilers unknown to
3103
for ac_file in $ac_files ''
3105
test -f "$ac_file" || continue
3107
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3110
# We found the default executable, but exeext='' is most
3114
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3116
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3118
# We set ac_cv_exeext here because the later test for it is not
3119
# safe: cross compilers may not add the suffix if given an `-o'
3120
# argument, so we may need to know it at that point already.
3121
# Even if this section looks crufty: it has the advantage of
3128
test "$ac_cv_exeext" = no && ac_cv_exeext=
3133
if test -z "$ac_file"; then :
3134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135
$as_echo "no" >&6; }
3136
$as_echo "$as_me: failed program was:" >&5
3137
sed 's/^/| /' conftest.$ac_ext >&5
3139
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3140
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3141
{ as_fn_set_status 77
3142
as_fn_error "C++ compiler cannot create executables
3143
See \`config.log' for more details." "$LINENO" 5; }; }
3145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3146
$as_echo "yes" >&6; }
3148
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3149
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3151
$as_echo "$ac_file" >&6; }
3152
ac_exeext=$ac_cv_exeext
3154
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3155
ac_clean_files=$ac_clean_files_save
3156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3157
$as_echo_n "checking for suffix of executables... " >&6; }
3158
if { { ac_try="$ac_link"
3160
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161
*) ac_try_echo=$ac_try;;
3163
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164
$as_echo "$ac_try_echo"; } >&5
3165
(eval "$ac_link") 2>&5
3167
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168
test $ac_status = 0; }; then :
3169
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3170
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3171
# work properly (i.e., refer to `conftest.exe'), while it won't with
3173
for ac_file in conftest.exe conftest conftest.*; do
3174
test -f "$ac_file" || continue
3176
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3177
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3183
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3184
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3185
as_fn_error "cannot compute suffix of executables: cannot compile and link
3186
See \`config.log' for more details." "$LINENO" 5; }
3188
rm -f conftest conftest$ac_cv_exeext
3189
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3190
$as_echo "$ac_cv_exeext" >&6; }
3192
rm -f conftest.$ac_ext
3193
EXEEXT=$ac_cv_exeext
3195
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3196
/* end confdefs.h. */
3201
FILE *f = fopen ("conftest.out", "w");
3202
return ferror (f) || fclose (f) != 0;
3208
ac_clean_files="$ac_clean_files conftest.out"
3209
# Check that the compiler produces executables we can run. If not, either
3210
# the compiler is broken, or we cross compile.
3211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3212
$as_echo_n "checking whether we are cross compiling... " >&6; }
3213
if test "$cross_compiling" != yes; then
3214
{ { ac_try="$ac_link"
3216
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217
*) ac_try_echo=$ac_try;;
3219
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3220
$as_echo "$ac_try_echo"; } >&5
3221
(eval "$ac_link") 2>&5
3223
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3224
test $ac_status = 0; }
3225
if { ac_try='./conftest$ac_cv_exeext'
3226
{ { case "(($ac_try" in
3227
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228
*) ac_try_echo=$ac_try;;
3230
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231
$as_echo "$ac_try_echo"; } >&5
3232
(eval "$ac_try") 2>&5
3234
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235
test $ac_status = 0; }; }; then
3238
if test "$cross_compiling" = maybe; then
3241
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243
as_fn_error "cannot run C++ compiled programs.
3244
If you meant to cross compile, use \`--host'.
3245
See \`config.log' for more details." "$LINENO" 5; }
3249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3250
$as_echo "$cross_compiling" >&6; }
3252
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3253
ac_clean_files=$ac_clean_files_save
3254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3255
$as_echo_n "checking for suffix of object files... " >&6; }
3256
if test "${ac_cv_objext+set}" = set; then :
3257
$as_echo_n "(cached) " >&6
3259
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260
/* end confdefs.h. */
3270
rm -f conftest.o conftest.obj
3271
if { { ac_try="$ac_compile"
3273
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274
*) ac_try_echo=$ac_try;;
3276
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277
$as_echo "$ac_try_echo"; } >&5
3278
(eval "$ac_compile") 2>&5
3280
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281
test $ac_status = 0; }; then :
3282
for ac_file in conftest.o conftest.obj conftest.*; do
3283
test -f "$ac_file" || continue;
3285
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3286
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3291
$as_echo "$as_me: failed program was:" >&5
3292
sed 's/^/| /' conftest.$ac_ext >&5
3294
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3295
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3296
as_fn_error "cannot compute suffix of object files: cannot compile
3297
See \`config.log' for more details." "$LINENO" 5; }
3299
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3302
$as_echo "$ac_cv_objext" >&6; }
3303
OBJEXT=$ac_cv_objext
3305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3306
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3307
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3308
$as_echo_n "(cached) " >&6
3310
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311
/* end confdefs.h. */
3324
if ac_fn_cxx_try_compile "$LINENO"; then :
3329
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3334
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3335
if test $ac_compiler_gnu = yes; then
3340
ac_test_CXXFLAGS=${CXXFLAGS+set}
3341
ac_save_CXXFLAGS=$CXXFLAGS
3342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3343
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3344
if test "${ac_cv_prog_cxx_g+set}" = set; then :
3345
$as_echo_n "(cached) " >&6
3347
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3348
ac_cxx_werror_flag=yes
3351
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352
/* end confdefs.h. */
3362
if ac_fn_cxx_try_compile "$LINENO"; then :
3363
ac_cv_prog_cxx_g=yes
3366
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367
/* end confdefs.h. */
3377
if ac_fn_cxx_try_compile "$LINENO"; then :
3380
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3382
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383
/* end confdefs.h. */
3393
if ac_fn_cxx_try_compile "$LINENO"; then :
3394
ac_cv_prog_cxx_g=yes
3396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3398
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3404
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3405
if test "$ac_test_CXXFLAGS" = set; then
3406
CXXFLAGS=$ac_save_CXXFLAGS
3407
elif test $ac_cv_prog_cxx_g = yes; then
3408
if test "$GXX" = yes; then
3414
if test "$GXX" = yes; then
3421
ac_cpp='$CXXCPP $CPPFLAGS'
3422
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3424
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3425
DEPDIR="${am__leading_dot}deps"
3427
ac_config_commands="$ac_config_commands depfiles"
3430
am_make=${MAKE-make}
3431
cat > confinc << 'END'
3433
@echo this is the am__doit target
3436
# If we don't find an include directive, just comment out the code.
3437
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3438
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3442
# First try GNU make style include.
3443
echo "include confinc" > confmf
3444
# Ignore all kinds of additional output from `make'.
3445
case `$am_make -s -f confmf 2> /dev/null` in #(
3446
*the\ am__doit\ target*)
3452
# Now try BSD make style include.
3453
if test "$am__include" = "#"; then
3454
echo '.include "confinc"' > confmf
3455
case `$am_make -s -f confmf 2> /dev/null` in #(
3456
*the\ am__doit\ target*)
3457
am__include=.include
3465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3466
$as_echo "$_am_result" >&6; }
3467
rm -f confinc confmf
3469
# Check whether --enable-dependency-tracking was given.
3470
if test "${enable_dependency_tracking+set}" = set; then :
3471
enableval=$enable_dependency_tracking;
3474
if test "x$enable_dependency_tracking" != xno; then
3475
am_depcomp="$ac_aux_dir/depcomp"
3478
if test "x$enable_dependency_tracking" != xno; then
3488
depcc="$CXX" am_compiler_list=
3490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3491
$as_echo_n "checking dependency style of $depcc... " >&6; }
3492
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3493
$as_echo_n "(cached) " >&6
3495
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3496
# We make a subdir and do the tests there. Otherwise we can end up
3497
# making bogus files that we don't know about and never remove. For
3498
# instance it was reported that on HP-UX the gcc test will end up
3499
# making a dummy file named `D' -- because `-MD' means `put the output
3502
# Copy depcomp to subdir because otherwise we won't find it if we're
3503
# using a relative directory.
3504
cp "$am_depcomp" conftest.dir
3506
# We will build objects and dependencies in a subdirectory because
3507
# it helps to detect inapplicable dependency modes. For instance
3508
# both Tru64's cc and ICC support -MD to output dependencies as a
3509
# side effect of compilation, but ICC will put the dependencies in
3510
# the current directory while Tru64 will put them in the object
3514
am_cv_CXX_dependencies_compiler_type=none
3515
if test "$am_compiler_list" = ""; then
3516
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3519
case " $depcc " in #(
3520
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3523
for depmode in $am_compiler_list; do
3524
# Setup a source with many dependencies, because some compilers
3525
# like to wrap large dependency lists on column 80 (with \), and
3526
# we should not choose a depcomp mode which is confused by this.
3528
# We need to recreate these files for each test, as the compiler may
3529
# overwrite some of them when testing with obscure command lines.
3530
# This happens at least with the AIX C compiler.
3532
for i in 1 2 3 4 5 6; do
3533
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3534
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3535
# Solaris 8's {/usr,}/bin/sh.
3536
touch sub/conftst$i.h
3538
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3540
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3541
# mode. It turns out that the SunPro C++ compiler does not properly
3542
# handle `-M -o', and we need to detect this. Also, some Intel
3543
# versions had trouble with output in subdirs
3544
am__obj=sub/conftest.${OBJEXT-o}
3545
am__minus_obj="-o $am__obj"
3548
# This depmode causes a compiler race in universal mode.
3549
test "$am__universal" = false || continue
3552
# after this tag, mechanisms are not by side-effect, so they'll
3553
# only be used when explicitly requested
3554
if test "x$enable_dependency_tracking" = xyes; then
3560
msvisualcpp | msvcmsys)
3561
# This compiler won't grok `-c -o', but also, the minuso test has
3562
# not run yet. These depmodes are late enough in the game, and
3563
# so weak that their functioning should not be impacted.
3564
am__obj=conftest.${OBJEXT-o}
3569
if depmode=$depmode \
3570
source=sub/conftest.c object=$am__obj \
3571
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3572
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3573
>/dev/null 2>conftest.err &&
3574
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3575
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3576
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3577
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3578
# icc doesn't choke on unknown options, it will just issue warnings
3579
# or remarks (even with -Werror). So we grep stderr for any message
3580
# that says an option was ignored or not supported.
3581
# When given -MP, icc 7.0 and 7.1 complain thusly:
3582
# icc: Command line warning: ignoring option '-M'; no argument required
3583
# The diagnosis changed in icc 8.0:
3584
# icc: Command line remark: option '-MP' not supported
3585
if (grep 'ignoring option' conftest.err ||
3586
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3587
am_cv_CXX_dependencies_compiler_type=$depmode
3596
am_cv_CXX_dependencies_compiler_type=none
3600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3601
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3602
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3605
test "x$enable_dependency_tracking" != xno \
3606
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3607
am__fastdepCXX_TRUE=
3608
am__fastdepCXX_FALSE='#'
3610
am__fastdepCXX_TRUE='#'
3611
am__fastdepCXX_FALSE=
3615
if test -n "$ac_tool_prefix"; then
3616
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3617
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619
$as_echo_n "checking for $ac_word... " >&6; }
3620
if test "${ac_cv_prog_RANLIB+set}" = set; then :
3621
$as_echo_n "(cached) " >&6
3623
if test -n "$RANLIB"; then
3624
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3630
test -z "$as_dir" && as_dir=.
3631
for ac_exec_ext in '' $ac_executable_extensions; do
3632
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3633
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3634
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3643
RANLIB=$ac_cv_prog_RANLIB
3644
if test -n "$RANLIB"; then
3645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3646
$as_echo "$RANLIB" >&6; }
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649
$as_echo "no" >&6; }
3654
if test -z "$ac_cv_prog_RANLIB"; then
3655
ac_ct_RANLIB=$RANLIB
3656
# Extract the first word of "ranlib", so it can be a program name with args.
3657
set dummy ranlib; ac_word=$2
3658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659
$as_echo_n "checking for $ac_word... " >&6; }
3660
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3661
$as_echo_n "(cached) " >&6
3663
if test -n "$ac_ct_RANLIB"; then
3664
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3666
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3670
test -z "$as_dir" && as_dir=.
3671
for ac_exec_ext in '' $ac_executable_extensions; do
3672
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3673
ac_cv_prog_ac_ct_RANLIB="ranlib"
3674
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3683
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3684
if test -n "$ac_ct_RANLIB"; then
3685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3686
$as_echo "$ac_ct_RANLIB" >&6; }
3688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689
$as_echo "no" >&6; }
3692
if test "x$ac_ct_RANLIB" = x; then
3695
case $cross_compiling:$ac_tool_warned in
3697
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3698
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3699
ac_tool_warned=yes ;;
3701
RANLIB=$ac_ct_RANLIB
3704
RANLIB="$ac_cv_prog_RANLIB"
3707
# Extract the first word of "po4a", so it can be a program name with args.
3708
set dummy po4a; ac_word=$2
3709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710
$as_echo_n "checking for $ac_word... " >&6; }
3711
if test "${ac_cv_path_PO4A+set}" = set; then :
3712
$as_echo_n "(cached) " >&6
3716
ac_cv_path_PO4A="$PO4A" # Let the user override the test with a path.
3719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723
test -z "$as_dir" && as_dir=.
3724
for ac_exec_ext in '' $ac_executable_extensions; do
3725
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3726
ac_cv_path_PO4A="$as_dir/$ac_word$ac_exec_ext"
3727
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737
PO4A=$ac_cv_path_PO4A
3738
if test -n "$PO4A"; then
3739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PO4A" >&5
3740
$as_echo "$PO4A" >&6; }
3742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743
$as_echo "no" >&6; }
3747
if test "x$PO4A" = "x" ; then
3771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
3772
$as_echo_n "checking for initscr in -lncursesw... " >&6; }
3773
if test "${ac_cv_lib_ncursesw_initscr+set}" = set; then :
3774
$as_echo_n "(cached) " >&6
3776
ac_check_lib_save_LIBS=$LIBS
3777
LIBS="-lncursesw $LIBS"
3778
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779
/* end confdefs.h. */
3781
/* Override any GCC internal prototype to avoid an error.
3782
Use char because int might match the return type of a GCC
3783
builtin and then its argument prototype would still apply. */
3796
if ac_fn_cxx_try_link "$LINENO"; then :
3797
ac_cv_lib_ncursesw_initscr=yes
3799
ac_cv_lib_ncursesw_initscr=no
3801
rm -f core conftest.err conftest.$ac_objext \
3802
conftest$ac_exeext conftest.$ac_ext
3803
LIBS=$ac_check_lib_save_LIBS
3805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
3806
$as_echo "$ac_cv_lib_ncursesw_initscr" >&6; }
3807
if test "x$ac_cv_lib_ncursesw_initscr" = x""yes; then :
3808
cat >>confdefs.h <<_ACEOF
3809
#define HAVE_LIBNCURSESW 1
3812
LIBS="-lncursesw $LIBS"
3815
as_fn_error "Can't find libncursesw -- please install libncursesw5-dev" "$LINENO" 5
3818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lapt-pkg" >&5
3819
$as_echo_n "checking for main in -lapt-pkg... " >&6; }
3820
if test "${ac_cv_lib_apt_pkg_main+set}" = set; then :
3821
$as_echo_n "(cached) " >&6
3823
ac_check_lib_save_LIBS=$LIBS
3824
LIBS="-lapt-pkg $LIBS"
3825
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826
/* end confdefs.h. */
3837
if ac_fn_cxx_try_link "$LINENO"; then :
3838
ac_cv_lib_apt_pkg_main=yes
3840
ac_cv_lib_apt_pkg_main=no
3842
rm -f core conftest.err conftest.$ac_objext \
3843
conftest$ac_exeext conftest.$ac_ext
3844
LIBS=$ac_check_lib_save_LIBS
3846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apt_pkg_main" >&5
3847
$as_echo "$ac_cv_lib_apt_pkg_main" >&6; }
3848
if test "x$ac_cv_lib_apt_pkg_main" = x""yes; then :
3849
cat >>confdefs.h <<_ACEOF
3850
#define HAVE_LIBAPT_PKG 1
3853
LIBS="-lapt-pkg $LIBS"
3856
as_fn_error "Can't find the APT libraries -- please install libapt-pkg-dev" "$LINENO" 5
3860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether apt includes the automatic dependency removal patch (required)" >&5
3861
$as_echo_n "checking whether apt includes the automatic dependency removal patch (required)... " >&6; }
3863
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864
/* end confdefs.h. */
3865
#include <apt-pkg/depcache.h>
3869
extern pkgDepCache::ActionGroup d;
3874
if ac_fn_cxx_try_compile "$LINENO"; then :
3875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3876
$as_echo "yes" >&6; }
3878
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3879
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3880
as_fn_error "need libapt-pkg 0.7 or later
3881
See \`config.log' for more details." "$LINENO" 5; }
3883
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
3886
$as_echo_n "checking for main in -lpthread... " >&6; }
3887
if test "${ac_cv_lib_pthread_main+set}" = set; then :
3888
$as_echo_n "(cached) " >&6
3890
ac_check_lib_save_LIBS=$LIBS
3891
LIBS="-lpthread $LIBS"
3892
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893
/* end confdefs.h. */
3904
if ac_fn_cxx_try_link "$LINENO"; then :
3905
ac_cv_lib_pthread_main=yes
3907
ac_cv_lib_pthread_main=no
3909
rm -f core conftest.err conftest.$ac_objext \
3910
conftest$ac_exeext conftest.$ac_ext
3911
LIBS=$ac_check_lib_save_LIBS
3913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
3914
$as_echo "$ac_cv_lib_pthread_main" >&6; }
3915
if test "x$ac_cv_lib_pthread_main" = x""yes; then :
3919
as_fn_error "Can't find the POSIX thread libraries" "$LINENO" 5
3923
ALL_LINGUAS="ar ast bs ca cs da de dz el es eu fi fr gl hu it ja km ku lt mr nb ne nl nn pl pt pt_BR ro ru sk sv th tl tr uk vi zh_CN zh_TW"
3927
if test -n "$ac_aux_dir"; then
3928
case "$ac_aux_dir" in
3929
/*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
3930
*) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3933
if test -z "$MKINSTALLDIRS"; then
3934
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3940
$as_echo_n "checking whether NLS is requested... " >&6; }
3941
# Check whether --enable-nls was given.
3942
if test "${enable_nls+set}" = set; then :
3943
enableval=$enable_nls; USE_NLS=$enableval
3948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3949
$as_echo "$USE_NLS" >&6; }
3956
# Prepare PATH_SEPARATOR.
3957
# The user is always right.
3958
if test "${PATH_SEPARATOR+set}" != set; then
3959
echo "#! /bin/sh" >conf$$.sh
3960
echo "exit 0" >>conf$$.sh
3962
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3970
# Find out how to test for executable files. Don't use a zero-byte file,
3971
# as systems may use methods other than mode bits to determine executability.
3972
cat >conf$$.file <<_ASEOF
3976
chmod +x conf$$.file
3977
if test -x conf$$.file >/dev/null 2>&1; then
3978
ac_executable_p="test -x"
3980
ac_executable_p="test -f"
3984
# Extract the first word of "msgfmt", so it can be a program name with args.
3985
set dummy msgfmt; ac_word=$2
3986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987
$as_echo_n "checking for $ac_word... " >&6; }
3988
if test "${ac_cv_path_MSGFMT+set}" = set; then :
3989
$as_echo_n "(cached) " >&6
3993
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3996
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3997
for ac_dir in $PATH; do
3999
test -z "$ac_dir" && ac_dir=.
4000
for ac_exec_ext in '' $ac_executable_extensions; do
4001
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4002
echo "$as_me: trying $ac_dir/$ac_word..." >&5
4003
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4004
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4005
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4012
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4016
MSGFMT="$ac_cv_path_MSGFMT"
4017
if test "$MSGFMT" != ":"; then
4018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4019
$as_echo "$MSGFMT" >&6; }
4021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022
$as_echo "no" >&6; }
4025
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4026
set dummy gmsgfmt; ac_word=$2
4027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4028
$as_echo_n "checking for $ac_word... " >&6; }
4029
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4030
$as_echo_n "(cached) " >&6
4034
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041
test -z "$as_dir" && as_dir=.
4042
for ac_exec_ext in '' $ac_executable_extensions; do
4043
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4044
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4045
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4052
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4056
GMSGFMT=$ac_cv_path_GMSGFMT
4057
if test -n "$GMSGFMT"; then
4058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4059
$as_echo "$GMSGFMT" >&6; }
4061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062
$as_echo "no" >&6; }
4068
# Prepare PATH_SEPARATOR.
4069
# The user is always right.
4070
if test "${PATH_SEPARATOR+set}" != set; then
4071
echo "#! /bin/sh" >conf$$.sh
4072
echo "exit 0" >>conf$$.sh
4074
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4082
# Find out how to test for executable files. Don't use a zero-byte file,
4083
# as systems may use methods other than mode bits to determine executability.
4084
cat >conf$$.file <<_ASEOF
4088
chmod +x conf$$.file
4089
if test -x conf$$.file >/dev/null 2>&1; then
4090
ac_executable_p="test -x"
4092
ac_executable_p="test -f"
4096
# Extract the first word of "xgettext", so it can be a program name with args.
4097
set dummy xgettext; ac_word=$2
4098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4099
$as_echo_n "checking for $ac_word... " >&6; }
4100
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4101
$as_echo_n "(cached) " >&6
4105
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4108
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4109
for ac_dir in $PATH; do
4111
test -z "$ac_dir" && ac_dir=.
4112
for ac_exec_ext in '' $ac_executable_extensions; do
4113
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4114
echo "$as_me: trying $ac_dir/$ac_word..." >&5
4115
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4116
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4117
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4124
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4128
XGETTEXT="$ac_cv_path_XGETTEXT"
4129
if test "$XGETTEXT" != ":"; then
4130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4131
$as_echo "$XGETTEXT" >&6; }
4133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134
$as_echo "no" >&6; }
4140
# Prepare PATH_SEPARATOR.
4141
# The user is always right.
4142
if test "${PATH_SEPARATOR+set}" != set; then
4143
echo "#! /bin/sh" >conf$$.sh
4144
echo "exit 0" >>conf$$.sh
4146
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4154
# Find out how to test for executable files. Don't use a zero-byte file,
4155
# as systems may use methods other than mode bits to determine executability.
4156
cat >conf$$.file <<_ASEOF
4160
chmod +x conf$$.file
4161
if test -x conf$$.file >/dev/null 2>&1; then
4162
ac_executable_p="test -x"
4164
ac_executable_p="test -f"
4168
# Extract the first word of "msgmerge", so it can be a program name with args.
4169
set dummy msgmerge; ac_word=$2
4170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171
$as_echo_n "checking for $ac_word... " >&6; }
4172
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4173
$as_echo_n "(cached) " >&6
4177
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4180
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4181
for ac_dir in $PATH; do
4183
test -z "$ac_dir" && ac_dir=.
4184
for ac_exec_ext in '' $ac_executable_extensions; do
4185
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4186
echo "$as_me: trying $ac_dir/$ac_word..." >&5
4187
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4188
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4195
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4199
MSGMERGE="$ac_cv_path_MSGMERGE"
4200
if test "$MSGMERGE" != ":"; then
4201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4202
$as_echo "$MSGMERGE" >&6; }
4204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205
$as_echo "no" >&6; }
4209
if test "$GMSGFMT" != ":"; then
4210
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
4211
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4214
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4216
$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
4221
if test "$XGETTEXT" != ":"; then
4222
if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4223
(if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
4227
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
4233
ac_config_commands="$ac_config_commands default-1"
4237
if test "X$prefix" = "XNONE"; then
4238
acl_final_prefix="$ac_default_prefix"
4240
acl_final_prefix="$prefix"
4242
if test "X$exec_prefix" = "XNONE"; then
4243
acl_final_exec_prefix='${prefix}'
4245
acl_final_exec_prefix="$exec_prefix"
4247
acl_save_prefix="$prefix"
4248
prefix="$acl_final_prefix"
4249
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4250
prefix="$acl_save_prefix"
4253
ac_cpp='$CPP $CPPFLAGS'
4254
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4255
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4256
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4257
if test -n "$ac_tool_prefix"; then
4258
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4259
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261
$as_echo_n "checking for $ac_word... " >&6; }
4262
if test "${ac_cv_prog_CC+set}" = set; then :
4263
$as_echo_n "(cached) " >&6
4265
if test -n "$CC"; then
4266
ac_cv_prog_CC="$CC" # Let the user override the test.
4268
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272
test -z "$as_dir" && as_dir=.
4273
for ac_exec_ext in '' $ac_executable_extensions; do
4274
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4276
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286
if test -n "$CC"; then
4287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4288
$as_echo "$CC" >&6; }
4290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291
$as_echo "no" >&6; }
4296
if test -z "$ac_cv_prog_CC"; then
4298
# Extract the first word of "gcc", so it can be a program name with args.
4299
set dummy gcc; ac_word=$2
4300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4301
$as_echo_n "checking for $ac_word... " >&6; }
4302
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4303
$as_echo_n "(cached) " >&6
4305
if test -n "$ac_ct_CC"; then
4306
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4308
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312
test -z "$as_dir" && as_dir=.
4313
for ac_exec_ext in '' $ac_executable_extensions; do
4314
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4315
ac_cv_prog_ac_ct_CC="gcc"
4316
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4326
if test -n "$ac_ct_CC"; then
4327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4328
$as_echo "$ac_ct_CC" >&6; }
4330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4331
$as_echo "no" >&6; }
4334
if test "x$ac_ct_CC" = x; then
4337
case $cross_compiling:$ac_tool_warned in
4339
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4340
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4341
ac_tool_warned=yes ;;
4349
if test -z "$CC"; then
4350
if test -n "$ac_tool_prefix"; then
4351
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4352
set dummy ${ac_tool_prefix}cc; ac_word=$2
4353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354
$as_echo_n "checking for $ac_word... " >&6; }
4355
if test "${ac_cv_prog_CC+set}" = set; then :
4356
$as_echo_n "(cached) " >&6
4358
if test -n "$CC"; then
4359
ac_cv_prog_CC="$CC" # Let the user override the test.
4361
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365
test -z "$as_dir" && as_dir=.
4366
for ac_exec_ext in '' $ac_executable_extensions; do
4367
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4368
ac_cv_prog_CC="${ac_tool_prefix}cc"
4369
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379
if test -n "$CC"; then
4380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4381
$as_echo "$CC" >&6; }
4383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384
$as_echo "no" >&6; }
4390
if test -z "$CC"; then
4391
# Extract the first word of "cc", so it can be a program name with args.
4392
set dummy cc; ac_word=$2
4393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4394
$as_echo_n "checking for $ac_word... " >&6; }
4395
if test "${ac_cv_prog_CC+set}" = set; then :
4396
$as_echo_n "(cached) " >&6
4398
if test -n "$CC"; then
4399
ac_cv_prog_CC="$CC" # Let the user override the test.
4402
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406
test -z "$as_dir" && as_dir=.
4407
for ac_exec_ext in '' $ac_executable_extensions; do
4408
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4409
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4410
ac_prog_rejected=yes
4414
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421
if test $ac_prog_rejected = yes; then
4422
# We found a bogon in the path, so make sure we never use it.
4423
set dummy $ac_cv_prog_CC
4425
if test $# != 0; then
4426
# We chose a different compiler from the bogus one.
4427
# However, it has the same basename, so the bogon will be chosen
4428
# first if we set CC to just the basename; use the full file name.
4430
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4436
if test -n "$CC"; then
4437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4438
$as_echo "$CC" >&6; }
4440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441
$as_echo "no" >&6; }
4446
if test -z "$CC"; then
4447
if test -n "$ac_tool_prefix"; then
4448
for ac_prog in cl.exe
4450
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4451
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453
$as_echo_n "checking for $ac_word... " >&6; }
4454
if test "${ac_cv_prog_CC+set}" = set; then :
4455
$as_echo_n "(cached) " >&6
4457
if test -n "$CC"; then
4458
ac_cv_prog_CC="$CC" # Let the user override the test.
4460
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464
test -z "$as_dir" && as_dir=.
4465
for ac_exec_ext in '' $ac_executable_extensions; do
4466
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4467
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4468
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478
if test -n "$CC"; then
4479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4480
$as_echo "$CC" >&6; }
4482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483
$as_echo "no" >&6; }
4487
test -n "$CC" && break
4490
if test -z "$CC"; then
4492
for ac_prog in cl.exe
4494
# Extract the first word of "$ac_prog", so it can be a program name with args.
4495
set dummy $ac_prog; ac_word=$2
4496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497
$as_echo_n "checking for $ac_word... " >&6; }
4498
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4499
$as_echo_n "(cached) " >&6
4501
if test -n "$ac_ct_CC"; then
4502
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508
test -z "$as_dir" && as_dir=.
4509
for ac_exec_ext in '' $ac_executable_extensions; do
4510
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4511
ac_cv_prog_ac_ct_CC="$ac_prog"
4512
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4522
if test -n "$ac_ct_CC"; then
4523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4524
$as_echo "$ac_ct_CC" >&6; }
4526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527
$as_echo "no" >&6; }
4531
test -n "$ac_ct_CC" && break
4534
if test "x$ac_ct_CC" = x; then
4537
case $cross_compiling:$ac_tool_warned in
4539
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4540
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4541
ac_tool_warned=yes ;;
4550
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4551
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4552
as_fn_error "no acceptable C compiler found in \$PATH
4553
See \`config.log' for more details." "$LINENO" 5; }
4555
# Provide some information about the compiler.
4556
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4559
for ac_option in --version -v -V -qversion; do
4560
{ { ac_try="$ac_compiler $ac_option >&5"
4562
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563
*) ac_try_echo=$ac_try;;
4565
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4566
$as_echo "$ac_try_echo"; } >&5
4567
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4569
if test -s conftest.err; then
4571
... rest of stderr output deleted ...
4572
10q' conftest.err >conftest.er1
4573
cat conftest.er1 >&5
4575
rm -f conftest.er1 conftest.err
4576
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4577
test $ac_status = 0; }
4580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4581
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4582
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4583
$as_echo_n "(cached) " >&6
4585
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586
/* end confdefs.h. */
4599
if ac_fn_c_try_compile "$LINENO"; then :
4604
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4605
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4609
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4610
if test $ac_compiler_gnu = yes; then
4615
ac_test_CFLAGS=${CFLAGS+set}
4616
ac_save_CFLAGS=$CFLAGS
4617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4618
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4619
if test "${ac_cv_prog_cc_g+set}" = set; then :
4620
$as_echo_n "(cached) " >&6
4622
ac_save_c_werror_flag=$ac_c_werror_flag
4623
ac_c_werror_flag=yes
4626
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627
/* end confdefs.h. */
4637
if ac_fn_c_try_compile "$LINENO"; then :
4641
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642
/* end confdefs.h. */
4652
if ac_fn_c_try_compile "$LINENO"; then :
4655
ac_c_werror_flag=$ac_save_c_werror_flag
4657
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658
/* end confdefs.h. */
4668
if ac_fn_c_try_compile "$LINENO"; then :
4671
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4673
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4675
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4676
ac_c_werror_flag=$ac_save_c_werror_flag
4678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4679
$as_echo "$ac_cv_prog_cc_g" >&6; }
4680
if test "$ac_test_CFLAGS" = set; then
4681
CFLAGS=$ac_save_CFLAGS
4682
elif test $ac_cv_prog_cc_g = yes; then
4683
if test "$GCC" = yes; then
4689
if test "$GCC" = yes; then
4695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4696
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4697
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4698
$as_echo_n "(cached) " >&6
4700
ac_cv_prog_cc_c89=no
4702
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703
/* end confdefs.h. */
4706
#include <sys/types.h>
4707
#include <sys/stat.h>
4708
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4709
struct buf { int x; };
4710
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4711
static char *e (p, i)
4717
static char *f (char * (*g) (char **, int), char **p, ...)
4722
s = g (p, va_arg (v,int));
4727
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4728
function prototypes and stuff, but not '\xHH' hex character constants.
4729
These don't provoke an error unfortunately, instead are silently treated
4730
as 'x'. The following induces an error, until -std is added to get
4731
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4732
array size at least. It's necessary to write '\x00'==0 to get something
4733
that's true only with -std. */
4734
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4736
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4737
inside strings and character constants. */
4739
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4741
int test (int i, double x);
4742
struct s1 {int (*f) (int a);};
4743
struct s2 {int (*f) (double a);};
4744
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4750
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4755
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4756
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4758
CC="$ac_save_CC $ac_arg"
4759
if ac_fn_c_try_compile "$LINENO"; then :
4760
ac_cv_prog_cc_c89=$ac_arg
4762
rm -f core conftest.err conftest.$ac_objext
4763
test "x$ac_cv_prog_cc_c89" != "xno" && break
4765
rm -f conftest.$ac_ext
4770
case "x$ac_cv_prog_cc_c89" in
4772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4773
$as_echo "none needed" >&6; } ;;
4775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4776
$as_echo "unsupported" >&6; } ;;
4778
CC="$CC $ac_cv_prog_cc_c89"
4779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4780
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4782
if test "x$ac_cv_prog_cc_c89" != xno; then :
4787
ac_cpp='$CXXCPP $CPPFLAGS'
4788
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4789
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4790
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4792
depcc="$CC" am_compiler_list=
4794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4795
$as_echo_n "checking dependency style of $depcc... " >&6; }
4796
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4797
$as_echo_n "(cached) " >&6
4799
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4800
# We make a subdir and do the tests there. Otherwise we can end up
4801
# making bogus files that we don't know about and never remove. For
4802
# instance it was reported that on HP-UX the gcc test will end up
4803
# making a dummy file named `D' -- because `-MD' means `put the output
4806
# Copy depcomp to subdir because otherwise we won't find it if we're
4807
# using a relative directory.
4808
cp "$am_depcomp" conftest.dir
4810
# We will build objects and dependencies in a subdirectory because
4811
# it helps to detect inapplicable dependency modes. For instance
4812
# both Tru64's cc and ICC support -MD to output dependencies as a
4813
# side effect of compilation, but ICC will put the dependencies in
4814
# the current directory while Tru64 will put them in the object
4818
am_cv_CC_dependencies_compiler_type=none
4819
if test "$am_compiler_list" = ""; then
4820
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4823
case " $depcc " in #(
4824
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4827
for depmode in $am_compiler_list; do
4828
# Setup a source with many dependencies, because some compilers
4829
# like to wrap large dependency lists on column 80 (with \), and
4830
# we should not choose a depcomp mode which is confused by this.
4832
# We need to recreate these files for each test, as the compiler may
4833
# overwrite some of them when testing with obscure command lines.
4834
# This happens at least with the AIX C compiler.
4836
for i in 1 2 3 4 5 6; do
4837
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4838
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4839
# Solaris 8's {/usr,}/bin/sh.
4840
touch sub/conftst$i.h
4842
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4844
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4845
# mode. It turns out that the SunPro C++ compiler does not properly
4846
# handle `-M -o', and we need to detect this. Also, some Intel
4847
# versions had trouble with output in subdirs
4848
am__obj=sub/conftest.${OBJEXT-o}
4849
am__minus_obj="-o $am__obj"
4852
# This depmode causes a compiler race in universal mode.
4853
test "$am__universal" = false || continue
4856
# after this tag, mechanisms are not by side-effect, so they'll
4857
# only be used when explicitly requested
4858
if test "x$enable_dependency_tracking" = xyes; then
4864
msvisualcpp | msvcmsys)
4865
# This compiler won't grok `-c -o', but also, the minuso test has
4866
# not run yet. These depmodes are late enough in the game, and
4867
# so weak that their functioning should not be impacted.
4868
am__obj=conftest.${OBJEXT-o}
4873
if depmode=$depmode \
4874
source=sub/conftest.c object=$am__obj \
4875
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4876
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4877
>/dev/null 2>conftest.err &&
4878
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4879
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4880
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4881
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4882
# icc doesn't choke on unknown options, it will just issue warnings
4883
# or remarks (even with -Werror). So we grep stderr for any message
4884
# that says an option was ignored or not supported.
4885
# When given -MP, icc 7.0 and 7.1 complain thusly:
4886
# icc: Command line warning: ignoring option '-M'; no argument required
4887
# The diagnosis changed in icc 8.0:
4888
# icc: Command line remark: option '-MP' not supported
4889
if (grep 'ignoring option' conftest.err ||
4890
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4891
am_cv_CC_dependencies_compiler_type=$depmode
4900
am_cv_CC_dependencies_compiler_type=none
4904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4905
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4906
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4909
test "x$enable_dependency_tracking" != xno \
4910
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4912
am__fastdepCC_FALSE='#'
4914
am__fastdepCC_TRUE='#'
4915
am__fastdepCC_FALSE=
4919
# Make sure we can run config.sub.
4920
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4921
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4924
$as_echo_n "checking build system type... " >&6; }
4925
if test "${ac_cv_build+set}" = set; then :
4926
$as_echo_n "(cached) " >&6
4928
ac_build_alias=$build_alias
4929
test "x$ac_build_alias" = x &&
4930
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4931
test "x$ac_build_alias" = x &&
4932
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4933
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4934
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4938
$as_echo "$ac_cv_build" >&6; }
4939
case $ac_cv_build in
4941
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4944
ac_save_IFS=$IFS; IFS='-'
4950
# Remember, the first character of IFS is used to create $*,
4951
# except with old shells:
4954
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4958
$as_echo_n "checking host system type... " >&6; }
4959
if test "${ac_cv_host+set}" = set; then :
4960
$as_echo_n "(cached) " >&6
4962
if test "x$host_alias" = x; then
4963
ac_cv_host=$ac_cv_build
4965
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4966
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4971
$as_echo "$ac_cv_host" >&6; }
4974
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4977
ac_save_IFS=$IFS; IFS='-'
4983
# Remember, the first character of IFS is used to create $*,
4984
# except with old shells:
4987
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4991
# Check whether --with-gnu-ld was given.
4992
if test "${with_gnu_ld+set}" = set; then :
4993
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4998
# Prepare PATH_SEPARATOR.
4999
# The user is always right.
5000
if test "${PATH_SEPARATOR+set}" != set; then
5001
echo "#! /bin/sh" >conf$$.sh
5002
echo "exit 0" >>conf$$.sh
5004
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5012
if test "$GCC" = yes; then
5013
# Check if gcc -print-prog-name=ld gives a path.
5014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5015
$as_echo_n "checking for ld used by GCC... " >&6; }
5018
# gcc leaves a trailing carriage return which upsets mingw
5019
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5021
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5024
# Accept absolute paths.
5025
[\\/]* | [A-Za-z]:[\\/]*)
5026
re_direlt='/[^/][^/]*/\.\./'
5027
# Canonicalize the path of ld
5028
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5029
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5030
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5032
test -z "$LD" && LD="$ac_prog"
5035
# If it fails, then pretend we aren't using GCC.
5039
# If it is relative, then search for the first ld in PATH.
5043
elif test "$with_gnu_ld" = yes; then
5044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5045
$as_echo_n "checking for GNU ld... " >&6; }
5047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5048
$as_echo_n "checking for non-GNU ld... " >&6; }
5050
if test "${acl_cv_path_LD+set}" = set; then :
5051
$as_echo_n "(cached) " >&6
5053
if test -z "$LD"; then
5054
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5055
for ac_dir in $PATH; do
5056
test -z "$ac_dir" && ac_dir=.
5057
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5058
acl_cv_path_LD="$ac_dir/$ac_prog"
5059
# Check to see if the program is GNU ld. I'd rather use --version,
5060
# but apparently some GNU ld's only accept -v.
5061
# Break only if it was the GNU/non-GNU ld that we prefer.
5062
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5063
*GNU* | *'with BFD'*)
5064
test "$with_gnu_ld" != no && break ;;
5066
test "$with_gnu_ld" != yes && break ;;
5072
acl_cv_path_LD="$LD" # Let the user override the test with a path.
5076
LD="$acl_cv_path_LD"
5077
if test -n "$LD"; then
5078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5079
$as_echo "$LD" >&6; }
5081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082
$as_echo "no" >&6; }
5084
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5086
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5087
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
5088
$as_echo_n "(cached) " >&6
5090
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
5091
case `$LD -v 2>&1 </dev/null` in
5092
*GNU* | *'with BFD'*)
5093
acl_cv_prog_gnu_ld=yes ;;
5095
acl_cv_prog_gnu_ld=no ;;
5098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5099
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
5100
with_gnu_ld=$acl_cv_prog_gnu_ld
5105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5106
$as_echo_n "checking for shared library run path origin... " >&6; }
5107
if test "${acl_cv_rpath+set}" = set; then :
5108
$as_echo_n "(cached) " >&6
5111
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5112
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5119
$as_echo "$acl_cv_rpath" >&6; }
5121
libext="$acl_cv_libext"
5122
shlibext="$acl_cv_shlibext"
5123
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5124
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5125
hardcode_direct="$acl_cv_hardcode_direct"
5126
hardcode_minus_L="$acl_cv_hardcode_minus_L"
5127
# Check whether --enable-rpath was given.
5128
if test "${enable_rpath+set}" = set; then :
5129
enableval=$enable_rpath; :
5143
acl_save_prefix="$prefix"
5144
prefix="$acl_final_prefix"
5145
acl_save_exec_prefix="$exec_prefix"
5146
exec_prefix="$acl_final_exec_prefix"
5148
eval additional_includedir=\"$includedir\"
5149
eval additional_libdir=\"$libdir\"
5151
exec_prefix="$acl_save_exec_prefix"
5152
prefix="$acl_save_prefix"
5155
# Check whether --with-libiconv-prefix was given.
5156
if test "${with_libiconv_prefix+set}" = set; then :
5157
withval=$with_libiconv_prefix;
5158
if test "X$withval" = "Xno"; then
5161
if test "X$withval" = "X"; then
5163
acl_save_prefix="$prefix"
5164
prefix="$acl_final_prefix"
5165
acl_save_exec_prefix="$exec_prefix"
5166
exec_prefix="$acl_final_exec_prefix"
5168
eval additional_includedir=\"$includedir\"
5169
eval additional_libdir=\"$libdir\"
5171
exec_prefix="$acl_save_exec_prefix"
5172
prefix="$acl_save_prefix"
5175
additional_includedir="$withval/include"
5176
additional_libdir="$withval/lib"
5187
names_already_handled=
5188
names_next_round='iconv '
5189
while test -n "$names_next_round"; do
5190
names_this_round="$names_next_round"
5192
for name in $names_this_round; do
5194
for n in $names_already_handled; do
5195
if test "$n" = "$name"; then
5200
if test -z "$already_handled"; then
5201
names_already_handled="$names_already_handled $name"
5202
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5203
eval value=\"\$HAVE_LIB$uppername\"
5204
if test -n "$value"; then
5205
if test "$value" = yes; then
5206
eval value=\"\$LIB$uppername\"
5207
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5208
eval value=\"\$LTLIB$uppername\"
5209
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5218
if test $use_additional = yes; then
5219
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5220
found_dir="$additional_libdir"
5221
found_so="$additional_libdir/lib$name.$shlibext"
5222
if test -f "$additional_libdir/lib$name.la"; then
5223
found_la="$additional_libdir/lib$name.la"
5226
if test -f "$additional_libdir/lib$name.$libext"; then
5227
found_dir="$additional_libdir"
5228
found_a="$additional_libdir/lib$name.$libext"
5229
if test -f "$additional_libdir/lib$name.la"; then
5230
found_la="$additional_libdir/lib$name.la"
5235
if test "X$found_dir" = "X"; then
5236
for x in $LDFLAGS $LTLIBICONV; do
5238
acl_save_prefix="$prefix"
5239
prefix="$acl_final_prefix"
5240
acl_save_exec_prefix="$exec_prefix"
5241
exec_prefix="$acl_final_exec_prefix"
5243
exec_prefix="$acl_save_exec_prefix"
5244
prefix="$acl_save_prefix"
5248
dir=`echo "X$x" | sed -e 's/^X-L//'`
5249
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5251
found_so="$dir/lib$name.$shlibext"
5252
if test -f "$dir/lib$name.la"; then
5253
found_la="$dir/lib$name.la"
5256
if test -f "$dir/lib$name.$libext"; then
5258
found_a="$dir/lib$name.$libext"
5259
if test -f "$dir/lib$name.la"; then
5260
found_la="$dir/lib$name.la"
5266
if test "X$found_dir" != "X"; then
5271
if test "X$found_dir" != "X"; then
5272
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5273
if test "X$found_so" != "X"; then
5274
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
5275
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5278
for x in $ltrpathdirs; do
5279
if test "X$x" = "X$found_dir"; then
5284
if test -z "$haveit"; then
5285
ltrpathdirs="$ltrpathdirs $found_dir"
5287
if test "$hardcode_direct" = yes; then
5288
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5290
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5291
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5293
for x in $rpathdirs; do
5294
if test "X$x" = "X$found_dir"; then
5299
if test -z "$haveit"; then
5300
rpathdirs="$rpathdirs $found_dir"
5304
for x in $LDFLAGS $LIBICONV; do
5306
acl_save_prefix="$prefix"
5307
prefix="$acl_final_prefix"
5308
acl_save_exec_prefix="$exec_prefix"
5309
exec_prefix="$acl_final_exec_prefix"
5311
exec_prefix="$acl_save_exec_prefix"
5312
prefix="$acl_save_prefix"
5314
if test "X$x" = "X-L$found_dir"; then
5319
if test -z "$haveit"; then
5320
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5322
if test "$hardcode_minus_L" != no; then
5323
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5325
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5331
if test "X$found_a" != "X"; then
5332
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5334
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5337
additional_includedir=
5338
case "$found_dir" in
5340
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5341
additional_includedir="$basedir/include"
5344
if test "X$additional_includedir" != "X"; then
5345
if test "X$additional_includedir" != "X/usr/include"; then
5347
if test "X$additional_includedir" = "X/usr/local/include"; then
5348
if test -n "$GCC"; then
5350
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5354
if test -z "$haveit"; then
5355
for x in $CPPFLAGS $INCICONV; do
5357
acl_save_prefix="$prefix"
5358
prefix="$acl_final_prefix"
5359
acl_save_exec_prefix="$exec_prefix"
5360
exec_prefix="$acl_final_exec_prefix"
5362
exec_prefix="$acl_save_exec_prefix"
5363
prefix="$acl_save_prefix"
5365
if test "X$x" = "X-I$additional_includedir"; then
5370
if test -z "$haveit"; then
5371
if test -d "$additional_includedir"; then
5372
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5378
if test -n "$found_la"; then
5379
save_libdir="$libdir"
5381
*/* | *\\*) . "$found_la" ;;
5382
*) . "./$found_la" ;;
5384
libdir="$save_libdir"
5385
for dep in $dependency_libs; do
5388
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5389
if test "X$additional_libdir" != "X/usr/lib"; then
5391
if test "X$additional_libdir" = "X/usr/local/lib"; then
5392
if test -n "$GCC"; then
5394
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5398
if test -z "$haveit"; then
5400
for x in $LDFLAGS $LIBICONV; do
5402
acl_save_prefix="$prefix"
5403
prefix="$acl_final_prefix"
5404
acl_save_exec_prefix="$exec_prefix"
5405
exec_prefix="$acl_final_exec_prefix"
5407
exec_prefix="$acl_save_exec_prefix"
5408
prefix="$acl_save_prefix"
5410
if test "X$x" = "X-L$additional_libdir"; then
5415
if test -z "$haveit"; then
5416
if test -d "$additional_libdir"; then
5417
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5421
for x in $LDFLAGS $LTLIBICONV; do
5423
acl_save_prefix="$prefix"
5424
prefix="$acl_final_prefix"
5425
acl_save_exec_prefix="$exec_prefix"
5426
exec_prefix="$acl_final_exec_prefix"
5428
exec_prefix="$acl_save_exec_prefix"
5429
prefix="$acl_save_prefix"
5431
if test "X$x" = "X-L$additional_libdir"; then
5436
if test -z "$haveit"; then
5437
if test -d "$additional_libdir"; then
5438
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5445
dir=`echo "X$dep" | sed -e 's/^X-R//'`
5446
if test "$enable_rpath" != no; then
5448
for x in $rpathdirs; do
5449
if test "X$x" = "X$dir"; then
5454
if test -z "$haveit"; then
5455
rpathdirs="$rpathdirs $dir"
5458
for x in $ltrpathdirs; do
5459
if test "X$x" = "X$dir"; then
5464
if test -z "$haveit"; then
5465
ltrpathdirs="$ltrpathdirs $dir"
5470
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5473
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5476
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5477
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5483
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5484
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5490
if test "X$rpathdirs" != "X"; then
5491
if test -n "$hardcode_libdir_separator"; then
5493
for found_dir in $rpathdirs; do
5494
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5496
acl_save_libdir="$libdir"
5498
eval flag=\"$hardcode_libdir_flag_spec\"
5499
libdir="$acl_save_libdir"
5500
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5502
for found_dir in $rpathdirs; do
5503
acl_save_libdir="$libdir"
5505
eval flag=\"$hardcode_libdir_flag_spec\"
5506
libdir="$acl_save_libdir"
5507
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5511
if test "X$ltrpathdirs" != "X"; then
5512
for found_dir in $ltrpathdirs; do
5513
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5535
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5536
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
5537
$as_echo_n "(cached) " >&6
5539
gt_save_CPPFLAGS="$CPPFLAGS"
5540
CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
5541
gt_save_LIBS="$LIBS"
5542
LIBS="$LIBS -framework CoreFoundation"
5543
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5544
/* end confdefs.h. */
5545
#include <CFPreferences.h>
5549
CFPreferencesCopyAppValue(NULL, NULL)
5554
if ac_fn_cxx_try_link "$LINENO"; then :
5555
gt_cv_func_CFPreferencesCopyAppValue=yes
5557
gt_cv_func_CFPreferencesCopyAppValue=no
5559
rm -f core conftest.err conftest.$ac_objext \
5560
conftest$ac_exeext conftest.$ac_ext
5561
CPPFLAGS="$gt_save_CPPFLAGS"
5562
LIBS="$gt_save_LIBS"
5564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5565
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5566
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5568
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5572
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5573
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
5574
$as_echo_n "(cached) " >&6
5576
gt_save_CPPFLAGS="$CPPFLAGS"
5577
CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
5578
gt_save_LIBS="$LIBS"
5579
LIBS="$LIBS -framework CoreFoundation"
5580
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5581
/* end confdefs.h. */
5582
#include <CFLocale.h>
5586
CFLocaleCopyCurrent();
5591
if ac_fn_cxx_try_link "$LINENO"; then :
5592
gt_cv_func_CFLocaleCopyCurrent=yes
5594
gt_cv_func_CFLocaleCopyCurrent=no
5596
rm -f core conftest.err conftest.$ac_objext \
5597
conftest$ac_exeext conftest.$ac_ext
5598
CPPFLAGS="$gt_save_CPPFLAGS"
5599
LIBS="$gt_save_LIBS"
5601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5602
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5603
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5605
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5609
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5610
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5617
$as_echo_n "checking whether NLS is requested... " >&6; }
5618
# Check whether --enable-nls was given.
5619
if test "${enable_nls+set}" = set; then :
5620
enableval=$enable_nls; USE_NLS=$enableval
5625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5626
$as_echo "$USE_NLS" >&6; }
5635
if test "$USE_NLS" = "yes"; then
5636
gt_use_preinstalled_gnugettext=no
5643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5644
$as_echo_n "checking for GNU gettext in libc... " >&6; }
5645
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
5646
$as_echo_n "(cached) " >&6
5648
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5649
/* end confdefs.h. */
5650
#include <libintl.h>
5651
extern int _nl_msg_cat_cntr;
5652
extern int *_nl_domain_bindings;
5656
bindtextdomain ("", "");
5657
return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
5662
if ac_fn_cxx_try_link "$LINENO"; then :
5663
gt_cv_func_gnugettext1_libc=yes
5665
gt_cv_func_gnugettext1_libc=no
5667
rm -f core conftest.err conftest.$ac_objext \
5668
conftest$ac_exeext conftest.$ac_ext
5670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
5671
$as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
5673
if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
5679
am_save_CPPFLAGS="$CPPFLAGS"
5681
for element in $INCICONV; do
5683
for x in $CPPFLAGS; do
5685
acl_save_prefix="$prefix"
5686
prefix="$acl_final_prefix"
5687
acl_save_exec_prefix="$exec_prefix"
5688
exec_prefix="$acl_final_exec_prefix"
5690
exec_prefix="$acl_save_exec_prefix"
5691
prefix="$acl_save_prefix"
5693
if test "X$x" = "X$element"; then
5698
if test -z "$haveit"; then
5699
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5705
$as_echo_n "checking for iconv... " >&6; }
5706
if test "${am_cv_func_iconv+set}" = set; then :
5707
$as_echo_n "(cached) " >&6
5710
am_cv_func_iconv="no, consider installing GNU libiconv"
5712
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713
/* end confdefs.h. */
5719
iconv_t cd = iconv_open("","");
5720
iconv(cd,NULL,NULL,NULL,NULL);
5726
if ac_fn_cxx_try_link "$LINENO"; then :
5727
am_cv_func_iconv=yes
5729
rm -f core conftest.err conftest.$ac_objext \
5730
conftest$ac_exeext conftest.$ac_ext
5731
if test "$am_cv_func_iconv" != yes; then
5732
am_save_LIBS="$LIBS"
5733
LIBS="$LIBS $LIBICONV"
5734
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5735
/* end confdefs.h. */
5741
iconv_t cd = iconv_open("","");
5742
iconv(cd,NULL,NULL,NULL,NULL);
5748
if ac_fn_cxx_try_link "$LINENO"; then :
5750
am_cv_func_iconv=yes
5752
rm -f core conftest.err conftest.$ac_objext \
5753
conftest$ac_exeext conftest.$ac_ext
5754
LIBS="$am_save_LIBS"
5758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5759
$as_echo "$am_cv_func_iconv" >&6; }
5760
if test "$am_cv_func_iconv" = yes; then
5762
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
5765
if test "$am_cv_lib_iconv" = yes; then
5766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5767
$as_echo_n "checking how to link with libiconv... " >&6; }
5768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5769
$as_echo "$LIBICONV" >&6; }
5771
CPPFLAGS="$am_save_CPPFLAGS"
5783
acl_save_prefix="$prefix"
5784
prefix="$acl_final_prefix"
5785
acl_save_exec_prefix="$exec_prefix"
5786
exec_prefix="$acl_final_exec_prefix"
5788
eval additional_includedir=\"$includedir\"
5789
eval additional_libdir=\"$libdir\"
5791
exec_prefix="$acl_save_exec_prefix"
5792
prefix="$acl_save_prefix"
5795
# Check whether --with-libintl-prefix was given.
5796
if test "${with_libintl_prefix+set}" = set; then :
5797
withval=$with_libintl_prefix;
5798
if test "X$withval" = "Xno"; then
5801
if test "X$withval" = "X"; then
5803
acl_save_prefix="$prefix"
5804
prefix="$acl_final_prefix"
5805
acl_save_exec_prefix="$exec_prefix"
5806
exec_prefix="$acl_final_exec_prefix"
5808
eval additional_includedir=\"$includedir\"
5809
eval additional_libdir=\"$libdir\"
5811
exec_prefix="$acl_save_exec_prefix"
5812
prefix="$acl_save_prefix"
5815
additional_includedir="$withval/include"
5816
additional_libdir="$withval/lib"
5827
names_already_handled=
5828
names_next_round='intl '
5829
while test -n "$names_next_round"; do
5830
names_this_round="$names_next_round"
5832
for name in $names_this_round; do
5834
for n in $names_already_handled; do
5835
if test "$n" = "$name"; then
5840
if test -z "$already_handled"; then
5841
names_already_handled="$names_already_handled $name"
5842
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5843
eval value=\"\$HAVE_LIB$uppername\"
5844
if test -n "$value"; then
5845
if test "$value" = yes; then
5846
eval value=\"\$LIB$uppername\"
5847
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5848
eval value=\"\$LTLIB$uppername\"
5849
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5858
if test $use_additional = yes; then
5859
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5860
found_dir="$additional_libdir"
5861
found_so="$additional_libdir/lib$name.$shlibext"
5862
if test -f "$additional_libdir/lib$name.la"; then
5863
found_la="$additional_libdir/lib$name.la"
5866
if test -f "$additional_libdir/lib$name.$libext"; then
5867
found_dir="$additional_libdir"
5868
found_a="$additional_libdir/lib$name.$libext"
5869
if test -f "$additional_libdir/lib$name.la"; then
5870
found_la="$additional_libdir/lib$name.la"
5875
if test "X$found_dir" = "X"; then
5876
for x in $LDFLAGS $LTLIBINTL; do
5878
acl_save_prefix="$prefix"
5879
prefix="$acl_final_prefix"
5880
acl_save_exec_prefix="$exec_prefix"
5881
exec_prefix="$acl_final_exec_prefix"
5883
exec_prefix="$acl_save_exec_prefix"
5884
prefix="$acl_save_prefix"
5888
dir=`echo "X$x" | sed -e 's/^X-L//'`
5889
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5891
found_so="$dir/lib$name.$shlibext"
5892
if test -f "$dir/lib$name.la"; then
5893
found_la="$dir/lib$name.la"
5896
if test -f "$dir/lib$name.$libext"; then
5898
found_a="$dir/lib$name.$libext"
5899
if test -f "$dir/lib$name.la"; then
5900
found_la="$dir/lib$name.la"
5906
if test "X$found_dir" != "X"; then
5911
if test "X$found_dir" != "X"; then
5912
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5913
if test "X$found_so" != "X"; then
5914
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
5915
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5918
for x in $ltrpathdirs; do
5919
if test "X$x" = "X$found_dir"; then
5924
if test -z "$haveit"; then
5925
ltrpathdirs="$ltrpathdirs $found_dir"
5927
if test "$hardcode_direct" = yes; then
5928
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5930
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5931
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5933
for x in $rpathdirs; do
5934
if test "X$x" = "X$found_dir"; then
5939
if test -z "$haveit"; then
5940
rpathdirs="$rpathdirs $found_dir"
5944
for x in $LDFLAGS $LIBINTL; do
5946
acl_save_prefix="$prefix"
5947
prefix="$acl_final_prefix"
5948
acl_save_exec_prefix="$exec_prefix"
5949
exec_prefix="$acl_final_exec_prefix"
5951
exec_prefix="$acl_save_exec_prefix"
5952
prefix="$acl_save_prefix"
5954
if test "X$x" = "X-L$found_dir"; then
5959
if test -z "$haveit"; then
5960
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5962
if test "$hardcode_minus_L" != no; then
5963
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5965
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5971
if test "X$found_a" != "X"; then
5972
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5974
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5977
additional_includedir=
5978
case "$found_dir" in
5980
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5981
additional_includedir="$basedir/include"
5984
if test "X$additional_includedir" != "X"; then
5985
if test "X$additional_includedir" != "X/usr/include"; then
5987
if test "X$additional_includedir" = "X/usr/local/include"; then
5988
if test -n "$GCC"; then
5990
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5994
if test -z "$haveit"; then
5995
for x in $CPPFLAGS $INCINTL; do
5997
acl_save_prefix="$prefix"
5998
prefix="$acl_final_prefix"
5999
acl_save_exec_prefix="$exec_prefix"
6000
exec_prefix="$acl_final_exec_prefix"
6002
exec_prefix="$acl_save_exec_prefix"
6003
prefix="$acl_save_prefix"
6005
if test "X$x" = "X-I$additional_includedir"; then
6010
if test -z "$haveit"; then
6011
if test -d "$additional_includedir"; then
6012
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6018
if test -n "$found_la"; then
6019
save_libdir="$libdir"
6021
*/* | *\\*) . "$found_la" ;;
6022
*) . "./$found_la" ;;
6024
libdir="$save_libdir"
6025
for dep in $dependency_libs; do
6028
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6029
if test "X$additional_libdir" != "X/usr/lib"; then
6031
if test "X$additional_libdir" = "X/usr/local/lib"; then
6032
if test -n "$GCC"; then
6034
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6038
if test -z "$haveit"; then
6040
for x in $LDFLAGS $LIBINTL; do
6042
acl_save_prefix="$prefix"
6043
prefix="$acl_final_prefix"
6044
acl_save_exec_prefix="$exec_prefix"
6045
exec_prefix="$acl_final_exec_prefix"
6047
exec_prefix="$acl_save_exec_prefix"
6048
prefix="$acl_save_prefix"
6050
if test "X$x" = "X-L$additional_libdir"; then
6055
if test -z "$haveit"; then
6056
if test -d "$additional_libdir"; then
6057
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6061
for x in $LDFLAGS $LTLIBINTL; do
6063
acl_save_prefix="$prefix"
6064
prefix="$acl_final_prefix"
6065
acl_save_exec_prefix="$exec_prefix"
6066
exec_prefix="$acl_final_exec_prefix"
6068
exec_prefix="$acl_save_exec_prefix"
6069
prefix="$acl_save_prefix"
6071
if test "X$x" = "X-L$additional_libdir"; then
6076
if test -z "$haveit"; then
6077
if test -d "$additional_libdir"; then
6078
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6085
dir=`echo "X$dep" | sed -e 's/^X-R//'`
6086
if test "$enable_rpath" != no; then
6088
for x in $rpathdirs; do
6089
if test "X$x" = "X$dir"; then
6094
if test -z "$haveit"; then
6095
rpathdirs="$rpathdirs $dir"
6098
for x in $ltrpathdirs; do
6099
if test "X$x" = "X$dir"; then
6104
if test -z "$haveit"; then
6105
ltrpathdirs="$ltrpathdirs $dir"
6110
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6113
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6116
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6117
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6123
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6124
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6130
if test "X$rpathdirs" != "X"; then
6131
if test -n "$hardcode_libdir_separator"; then
6133
for found_dir in $rpathdirs; do
6134
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6136
acl_save_libdir="$libdir"
6138
eval flag=\"$hardcode_libdir_flag_spec\"
6139
libdir="$acl_save_libdir"
6140
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6142
for found_dir in $rpathdirs; do
6143
acl_save_libdir="$libdir"
6145
eval flag=\"$hardcode_libdir_flag_spec\"
6146
libdir="$acl_save_libdir"
6147
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6151
if test "X$ltrpathdirs" != "X"; then
6152
for found_dir in $ltrpathdirs; do
6153
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6158
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
6159
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
6160
$as_echo_n "(cached) " >&6
6162
gt_save_CPPFLAGS="$CPPFLAGS"
6163
CPPFLAGS="$CPPFLAGS $INCINTL"
6164
gt_save_LIBS="$LIBS"
6165
LIBS="$LIBS $LIBINTL"
6166
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6167
/* end confdefs.h. */
6168
#include <libintl.h>
6169
extern int _nl_msg_cat_cntr;
6174
const char *_nl_expand_alias (const char *);
6178
bindtextdomain ("", "");
6179
return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6184
if ac_fn_cxx_try_link "$LINENO"; then :
6185
gt_cv_func_gnugettext1_libintl=yes
6187
gt_cv_func_gnugettext1_libintl=no
6189
rm -f core conftest.err conftest.$ac_objext \
6190
conftest$ac_exeext conftest.$ac_ext
6191
if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
6192
LIBS="$LIBS $LIBICONV"
6193
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6194
/* end confdefs.h. */
6195
#include <libintl.h>
6196
extern int _nl_msg_cat_cntr;
6201
const char *_nl_expand_alias (const char *);
6205
bindtextdomain ("", "");
6206
return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6211
if ac_fn_cxx_try_link "$LINENO"; then :
6212
LIBINTL="$LIBINTL $LIBICONV"
6213
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6214
gt_cv_func_gnugettext1_libintl=yes
6217
rm -f core conftest.err conftest.$ac_objext \
6218
conftest$ac_exeext conftest.$ac_ext
6220
CPPFLAGS="$gt_save_CPPFLAGS"
6221
LIBS="$gt_save_LIBS"
6223
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
6224
$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
6227
if test "$gt_cv_func_gnugettext1_libc" = "yes" \
6228
|| { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
6229
&& test "$PACKAGE" != gettext-runtime \
6230
&& test "$PACKAGE" != gettext-tools; }; then
6231
gt_use_preinstalled_gnugettext=yes
6240
if test -n "$INTL_MACOSX_LIBS"; then
6241
if test "$gt_use_preinstalled_gnugettext" = "yes" \
6242
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
6243
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6244
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6248
if test "$gt_use_preinstalled_gnugettext" = "yes" \
6249
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
6251
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6259
$as_echo_n "checking whether to use NLS... " >&6; }
6260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6261
$as_echo "$USE_NLS" >&6; }
6262
if test "$USE_NLS" = "yes"; then
6263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6264
$as_echo_n "checking where the gettext function comes from... " >&6; }
6265
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6266
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6267
gt_source="external libintl"
6272
gt_source="included intl directory"
6274
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6275
$as_echo "$gt_source" >&6; }
6278
if test "$USE_NLS" = "yes"; then
6280
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6281
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6283
$as_echo_n "checking how to link with libintl... " >&6; }
6284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6285
$as_echo "$LIBINTL" >&6; }
6287
for element in $INCINTL; do
6289
for x in $CPPFLAGS; do
6291
acl_save_prefix="$prefix"
6292
prefix="$acl_final_prefix"
6293
acl_save_exec_prefix="$exec_prefix"
6294
exec_prefix="$acl_final_exec_prefix"
6296
exec_prefix="$acl_save_exec_prefix"
6297
prefix="$acl_save_prefix"
6299
if test "X$x" = "X$element"; then
6304
if test -z "$haveit"; then
6305
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6312
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6315
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6334
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6335
if test -n "$ac_tool_prefix"; then
6336
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6337
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6339
$as_echo_n "checking for $ac_word... " >&6; }
6340
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6341
$as_echo_n "(cached) " >&6
6345
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6348
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6352
test -z "$as_dir" && as_dir=.
6353
for ac_exec_ext in '' $ac_executable_extensions; do
6354
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6355
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6356
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6367
if test -n "$PKG_CONFIG"; then
6368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6369
$as_echo "$PKG_CONFIG" >&6; }
6371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6372
$as_echo "no" >&6; }
6377
if test -z "$ac_cv_path_PKG_CONFIG"; then
6378
ac_pt_PKG_CONFIG=$PKG_CONFIG
6379
# Extract the first word of "pkg-config", so it can be a program name with args.
6380
set dummy pkg-config; ac_word=$2
6381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382
$as_echo_n "checking for $ac_word... " >&6; }
6383
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
6384
$as_echo_n "(cached) " >&6
6386
case $ac_pt_PKG_CONFIG in
6388
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6391
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395
test -z "$as_dir" && as_dir=.
6396
for ac_exec_ext in '' $ac_executable_extensions; do
6397
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6398
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6399
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6409
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6410
if test -n "$ac_pt_PKG_CONFIG"; then
6411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6412
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
6414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415
$as_echo "no" >&6; }
6418
if test "x$ac_pt_PKG_CONFIG" = x; then
6421
case $cross_compiling:$ac_tool_warned in
6423
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6424
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6425
ac_tool_warned=yes ;;
6427
PKG_CONFIG=$ac_pt_PKG_CONFIG
6430
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6434
if test -n "$PKG_CONFIG"; then
6435
_pkg_min_version=0.9.0
6436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6437
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6438
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6440
$as_echo "yes" >&6; }
6442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6443
$as_echo "no" >&6; }
6450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ept" >&5
6451
$as_echo_n "checking for ept... " >&6; }
6453
if test -n "$PKG_CONFIG"; then
6454
if test -n "$ept_CFLAGS"; then
6455
pkg_cv_ept_CFLAGS="$ept_CFLAGS"
6457
if test -n "$PKG_CONFIG" && \
6458
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libept\""; } >&5
6459
($PKG_CONFIG --exists --print-errors "libept") 2>&5
6461
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6462
test $ac_status = 0; }; then
6463
pkg_cv_ept_CFLAGS=`$PKG_CONFIG --cflags "libept" 2>/dev/null`
6471
if test -n "$PKG_CONFIG"; then
6472
if test -n "$ept_LIBS"; then
6473
pkg_cv_ept_LIBS="$ept_LIBS"
6475
if test -n "$PKG_CONFIG" && \
6476
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libept\""; } >&5
6477
($PKG_CONFIG --exists --print-errors "libept") 2>&5
6479
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6480
test $ac_status = 0; }; then
6481
pkg_cv_ept_LIBS=`$PKG_CONFIG --libs "libept" 2>/dev/null`
6492
if test $pkg_failed = yes; then
6494
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6495
_pkg_short_errors_supported=yes
6497
_pkg_short_errors_supported=no
6499
if test $_pkg_short_errors_supported = yes; then
6500
ept_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libept"`
6502
ept_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libept"`
6504
# Put the nasty error message in config.log where it belongs
6505
echo "$ept_PKG_ERRORS" >&5
6507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6508
$as_echo "no" >&6; }
6509
as_fn_error "Can't find the ept library -- please install libept-dev" "$LINENO" 5
6510
elif test $pkg_failed = untried; then
6511
as_fn_error "Can't find the ept library -- please install libept-dev" "$LINENO" 5
6513
ept_CFLAGS=$pkg_cv_ept_CFLAGS
6514
ept_LIBS=$pkg_cv_ept_LIBS
6515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6516
$as_echo "yes" >&6; }
6520
$as_echo "#define HAVE_EPT /**/" >>confdefs.h
6523
############################ CHECKS FOR EPT ############################
6525
OLD_CXXFLAGS="$CXXFLAGS"
6527
CXXFLAGS="$CXXFLAGS $ept_CFLAGS"
6531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Tag exists" >&5
6532
$as_echo_n "checking whether ept::debtags::Tag exists... " >&6; }
6533
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6534
/* end confdefs.h. */
6536
#include <ept/debtags/tag.h>
6538
int main(int argc, char **argv)
6540
ept::debtags::Tag t;
6545
if ac_fn_cxx_try_compile "$LINENO"; then :
6547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6548
$as_echo "yes" >&6; }
6550
$as_echo "#define HAVE_EPT_DEBTAGS_TAG /**/" >>confdefs.h
6555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556
$as_echo "no" >&6; }
6558
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Facet exists" >&5
6561
$as_echo_n "checking whether ept::debtags::Facet exists... " >&6; }
6562
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6563
/* end confdefs.h. */
6565
#include <ept/debtags/tag.h>
6567
int main(int argc, char **argv)
6569
ept::debtags::Facet f;
6574
if ac_fn_cxx_try_compile "$LINENO"; then :
6577
$as_echo "#define HAVE_EPT_DEBTAGS_FACET /**/" >>confdefs.h
6579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6580
$as_echo "yes" >&6; }
6583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584
$as_echo "no" >&6; }
6586
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::getTagsOfItem returns a set of strings." >&5
6589
$as_echo_n "checking whether ept::debtags::getTagsOfItem returns a set of strings.... " >&6; }
6590
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6591
/* end confdefs.h. */
6593
#include <ept/debtags/debtags.h>
6595
int main(int argc, char **argv)
6597
// This would always crash, but we only care if it type-checks.
6598
ept::debtags::Debtags DB;
6599
std::set<std::string> result = DB.getTagsOfItem("foo");
6605
if ac_fn_cxx_try_compile "$LINENO"; then :
6607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6608
$as_echo "yes" >&6; }
6610
$as_echo "#define EPT_DEBTAGS_GETTAGSOFITEM_RETURNS_STRINGS /**/" >>confdefs.h
6616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617
$as_echo "no" >&6; }
6620
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6622
if test x$DEBTAGS_OK = x0
6624
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6625
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6626
as_fn_error "Can't figure out how to access the ept debtags database.
6627
See \`config.log' for more details." "$LINENO" 5; }
6632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::textsearch exists" >&5
6633
$as_echo_n "checking whether ept::textsearch exists... " >&6; }
6634
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6635
/* end confdefs.h. */
6637
#include <ept/textsearch/textsearch.h>
6639
int main(int argc, char **argv)
6641
ept::textsearch::TextSearch db;
6643
db.docidByName("foo");
6648
if ac_fn_cxx_try_compile "$LINENO"; then :
6650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6651
$as_echo "yes" >&6; }
6653
$as_echo "#define HAVE_EPT_TEXTSEARCH /**/" >>confdefs.h
6659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660
$as_echo "no" >&6; }
6663
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept/axi exists" >&5
6666
$as_echo_n "checking whether ept/axi exists... " >&6; }
6667
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6668
/* end confdefs.h. */
6670
#include <ept/axi/axi.h>
6672
int main(int argc, char **argv)
6674
Xapian::Database db(ept::axi::path_db());
6679
if ac_fn_cxx_try_compile "$LINENO"; then :
6681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6682
$as_echo "yes" >&6; }
6684
$as_echo "#define HAVE_EPT_AXI /**/" >>confdefs.h
6689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690
$as_echo "no" >&6; }
6692
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6694
if test x$TEXTSEARCH_OK = x0
6696
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6697
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6698
as_fn_error "Can't figure out how to access the ept Xapian database.
6699
See \`config.log' for more details." "$LINENO" 5; }
6702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Vocabulary::tagData exists and returns ept::debtags::voc::TagData *" >&5
6703
$as_echo_n "checking whether ept::debtags::Vocabulary::tagData exists and returns ept::debtags::voc::TagData *... " >&6; }
6705
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6706
/* end confdefs.h. */
6708
#include <ept/debtags/vocabulary.h>
6710
int main(int argc, char **argv)
6712
ept::debtags::Vocabulary vocabulary;
6713
const ept::debtags::voc::TagData *td = vocabulary.tagData("foo");
6715
// Use td so the compiler doesn't complain:
6716
return td == NULL ? 1 : 0;
6719
if ac_fn_cxx_try_compile "$LINENO"; then :
6721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6722
$as_echo "yes" >&6; }
6724
$as_echo "#define HAVE_EPT_DEBTAGS_VOCABULARY_TAG_DATA /**/" >>confdefs.h
6728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729
$as_echo "no" >&6; }
6731
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Vocabulary::facetData exists and returns ept::debtags::voc::FacetData *" >&5
6735
$as_echo_n "checking whether ept::debtags::Vocabulary::facetData exists and returns ept::debtags::voc::FacetData *... " >&6; }
6737
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6738
/* end confdefs.h. */
6740
#include <ept/debtags/vocabulary.h>
6742
int main(int argc, char **argv)
6744
ept::debtags::Vocabulary vocabulary;
6745
const ept::debtags::voc::FacetData *fd = vocabulary.facetData("foo");
6747
// Use fd so the compiler doesn't complain:
6748
return fd == NULL ? 1 : 0;
6751
if ac_fn_cxx_try_compile "$LINENO"; then :
6753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6754
$as_echo "yes" >&6; }
6756
$as_echo "#define HAVE_EPT_DEBTAGS_VOCABULARY_FACET_DATA /**/" >>confdefs.h
6760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761
$as_echo "no" >&6; }
6763
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Tag::fullname() exists" >&5
6766
$as_echo_n "checking whether ept::debtags::Tag::fullname() exists... " >&6; }
6767
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6768
/* end confdefs.h. */
6770
#include <ept/debtags/tag.h>
6772
int main(int argc, char **argv)
6774
ept::debtags::Tag t;
6776
std::string s = t.fullname();
6781
if ac_fn_cxx_try_compile "$LINENO"; then :
6783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6784
$as_echo "yes" >&6; }
6786
$as_echo "#define HAVE_EPT_DEBTAGS_TAG_FULLNAME /**/" >>confdefs.h
6790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791
$as_echo "no" >&6; }
6793
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Facet exists and supports name()" >&5
6797
$as_echo_n "checking whether ept::debtags::Facet exists and supports name()... " >&6; }
6798
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6799
/* end confdefs.h. */
6801
#include <ept/debtags/tag.h>
6803
int main(int argc, char **argv)
6805
ept::debtags::Facet f;
6807
const std::string name = f.name();
6812
if ac_fn_cxx_try_compile "$LINENO"; then :
6814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6815
$as_echo "yes" >&6; }
6817
$as_echo "#define HAVE_EPT_DEBTAGS_FACET_NAME /**/" >>confdefs.h
6821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822
$as_echo "no" >&6; }
6824
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Facet exists and supports description retrieval" >&5
6828
$as_echo_n "checking whether ept::debtags::Facet exists and supports description retrieval... " >&6; }
6829
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6830
/* end confdefs.h. */
6832
#include <ept/debtags/tag.h>
6834
int main(int argc, char **argv)
6836
ept::debtags::Facet f;
6838
const std::string longDesc = f.longDescription();
6839
const std::string shortDesc = f.shortDescription();
6844
if ac_fn_cxx_try_compile "$LINENO"; then :
6846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6847
$as_echo "yes" >&6; }
6849
$as_echo "#define HAVE_EPT_DEBTAGS_FACET_DESCRIPTION /**/" >>confdefs.h
6853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854
$as_echo "no" >&6; }
6856
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Tag exists and supports description retrieval" >&5
6859
$as_echo_n "checking whether ept::debtags::Tag exists and supports description retrieval... " >&6; }
6860
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6861
/* end confdefs.h. */
6863
#include <ept/debtags/tag.h>
6865
int main(int argc, char **argv)
6867
ept::debtags::Tag t;
6869
const std::string longDesc = t.longDescription();
6870
const std::string shortDesc = t.shortDescription();
6875
if ac_fn_cxx_try_compile "$LINENO"; then :
6877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6878
$as_echo "yes" >&6; }
6880
$as_echo "#define HAVE_EPT_DEBTAGS_TAG_DESCRIPTION /**/" >>confdefs.h
6884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885
$as_echo "no" >&6; }
6887
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6889
CXXFLAGS="$OLD_CXXFLAGS"
6891
########################################################################
6895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGC" >&5
6896
$as_echo_n "checking for SIGC... " >&6; }
6898
if test -n "$PKG_CONFIG"; then
6899
if test -n "$SIGC_CFLAGS"; then
6900
pkg_cv_SIGC_CFLAGS="$SIGC_CFLAGS"
6902
if test -n "$PKG_CONFIG" && \
6903
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\""; } >&5
6904
($PKG_CONFIG --exists --print-errors "sigc++-2.0") 2>&5
6906
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6907
test $ac_status = 0; }; then
6908
pkg_cv_SIGC_CFLAGS=`$PKG_CONFIG --cflags "sigc++-2.0" 2>/dev/null`
6916
if test -n "$PKG_CONFIG"; then
6917
if test -n "$SIGC_LIBS"; then
6918
pkg_cv_SIGC_LIBS="$SIGC_LIBS"
6920
if test -n "$PKG_CONFIG" && \
6921
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\""; } >&5
6922
($PKG_CONFIG --exists --print-errors "sigc++-2.0") 2>&5
6924
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6925
test $ac_status = 0; }; then
6926
pkg_cv_SIGC_LIBS=`$PKG_CONFIG --libs "sigc++-2.0" 2>/dev/null`
6937
if test $pkg_failed = yes; then
6939
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6940
_pkg_short_errors_supported=yes
6942
_pkg_short_errors_supported=no
6944
if test $_pkg_short_errors_supported = yes; then
6945
SIGC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sigc++-2.0"`
6947
SIGC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sigc++-2.0"`
6949
# Put the nasty error message in config.log where it belongs
6950
echo "$SIGC_PKG_ERRORS" >&5
6952
as_fn_error "Package requirements (sigc++-2.0) were not met:
6956
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6957
installed software in a non-standard prefix.
6959
Alternatively, you may set the environment variables SIGC_CFLAGS
6960
and SIGC_LIBS to avoid the need to call pkg-config.
6961
See the pkg-config man page for more details.
6963
elif test $pkg_failed = untried; then
6964
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6965
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6966
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
6967
is in your PATH or set the PKG_CONFIG environment variable to the full
6970
Alternatively, you may set the environment variables SIGC_CFLAGS
6971
and SIGC_LIBS to avoid the need to call pkg-config.
6972
See the pkg-config man page for more details.
6974
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6975
See \`config.log' for more details." "$LINENO" 5; }
6977
SIGC_CFLAGS=$pkg_cv_SIGC_CFLAGS
6978
SIGC_LIBS=$pkg_cv_SIGC_LIBS
6979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6980
$as_echo "yes" >&6; }
6986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CWIDGET" >&5
6987
$as_echo_n "checking for CWIDGET... " >&6; }
6989
if test -n "$PKG_CONFIG"; then
6990
if test -n "$CWIDGET_CFLAGS"; then
6991
pkg_cv_CWIDGET_CFLAGS="$CWIDGET_CFLAGS"
6993
if test -n "$PKG_CONFIG" && \
6994
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cwidget\""; } >&5
6995
($PKG_CONFIG --exists --print-errors "cwidget") 2>&5
6997
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6998
test $ac_status = 0; }; then
6999
pkg_cv_CWIDGET_CFLAGS=`$PKG_CONFIG --cflags "cwidget" 2>/dev/null`
7007
if test -n "$PKG_CONFIG"; then
7008
if test -n "$CWIDGET_LIBS"; then
7009
pkg_cv_CWIDGET_LIBS="$CWIDGET_LIBS"
7011
if test -n "$PKG_CONFIG" && \
7012
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cwidget\""; } >&5
7013
($PKG_CONFIG --exists --print-errors "cwidget") 2>&5
7015
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7016
test $ac_status = 0; }; then
7017
pkg_cv_CWIDGET_LIBS=`$PKG_CONFIG --libs "cwidget" 2>/dev/null`
7028
if test $pkg_failed = yes; then
7030
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7031
_pkg_short_errors_supported=yes
7033
_pkg_short_errors_supported=no
7035
if test $_pkg_short_errors_supported = yes; then
7036
CWIDGET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cwidget"`
7038
CWIDGET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cwidget"`
7040
# Put the nasty error message in config.log where it belongs
7041
echo "$CWIDGET_PKG_ERRORS" >&5
7043
as_fn_error "Package requirements (cwidget) were not met:
7047
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7048
installed software in a non-standard prefix.
7050
Alternatively, you may set the environment variables CWIDGET_CFLAGS
7051
and CWIDGET_LIBS to avoid the need to call pkg-config.
7052
See the pkg-config man page for more details.
7054
elif test $pkg_failed = untried; then
7055
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7056
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7057
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
7058
is in your PATH or set the PKG_CONFIG environment variable to the full
7061
Alternatively, you may set the environment variables CWIDGET_CFLAGS
7062
and CWIDGET_LIBS to avoid the need to call pkg-config.
7063
See the pkg-config man page for more details.
7065
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7066
See \`config.log' for more details." "$LINENO" 5; }
7068
CWIDGET_CFLAGS=$pkg_cv_CWIDGET_CFLAGS
7069
CWIDGET_LIBS=$pkg_cv_CWIDGET_LIBS
7070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7071
$as_echo "yes" >&6; }
7077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VTE" >&5
7078
$as_echo_n "checking for VTE... " >&6; }
7080
if test -n "$PKG_CONFIG"; then
7081
if test -n "$VTE_CFLAGS"; then
7082
pkg_cv_VTE_CFLAGS="$VTE_CFLAGS"
7084
if test -n "$PKG_CONFIG" && \
7085
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vte\""; } >&5
7086
($PKG_CONFIG --exists --print-errors "vte") 2>&5
7088
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7089
test $ac_status = 0; }; then
7090
pkg_cv_VTE_CFLAGS=`$PKG_CONFIG --cflags "vte" 2>/dev/null`
7098
if test -n "$PKG_CONFIG"; then
7099
if test -n "$VTE_LIBS"; then
7100
pkg_cv_VTE_LIBS="$VTE_LIBS"
7102
if test -n "$PKG_CONFIG" && \
7103
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vte\""; } >&5
7104
($PKG_CONFIG --exists --print-errors "vte") 2>&5
7106
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7107
test $ac_status = 0; }; then
7108
pkg_cv_VTE_LIBS=`$PKG_CONFIG --libs "vte" 2>/dev/null`
7119
if test $pkg_failed = yes; then
7121
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7122
_pkg_short_errors_supported=yes
7124
_pkg_short_errors_supported=no
7126
if test $_pkg_short_errors_supported = yes; then
7127
VTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vte"`
7129
VTE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vte"`
7131
# Put the nasty error message in config.log where it belongs
7132
echo "$VTE_PKG_ERRORS" >&5
7134
as_fn_error "Package requirements (vte) were not met:
7138
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7139
installed software in a non-standard prefix.
7141
Alternatively, you may set the environment variables VTE_CFLAGS
7142
and VTE_LIBS to avoid the need to call pkg-config.
7143
See the pkg-config man page for more details.
7145
elif test $pkg_failed = untried; then
7146
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7147
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7148
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
7149
is in your PATH or set the PKG_CONFIG environment variable to the full
7152
Alternatively, you may set the environment variables VTE_CFLAGS
7153
and VTE_LIBS to avoid the need to call pkg-config.
7154
See the pkg-config man page for more details.
7156
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7157
See \`config.log' for more details." "$LINENO" 5; }
7159
VTE_CFLAGS=$pkg_cv_VTE_CFLAGS
7160
VTE_LIBS=$pkg_cv_VTE_LIBS
7161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7162
$as_echo "yes" >&6; }
7167
ac_cpp='$CXXCPP $CPPFLAGS'
7168
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7169
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7170
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7172
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7173
if test -z "$CXXCPP"; then
7174
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7175
$as_echo_n "(cached) " >&6
7177
# Double quotes because CXXCPP needs to be expanded
7178
for CXXCPP in "$CXX -E" "/lib/cpp"
7181
for ac_cxx_preproc_warn_flag in '' yes
7183
# Use a header file that comes with gcc, so configuring glibc
7184
# with a fresh cross-compiler works.
7185
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7186
# <limits.h> exists even on freestanding compilers.
7187
# On the NeXT, cc -E runs the code through the compiler's parser,
7188
# not just through cpp. "Syntax error" is here to catch this case.
7189
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7190
/* end confdefs.h. */
7192
# include <limits.h>
7194
# include <assert.h>
7198
if ac_fn_cxx_try_cpp "$LINENO"; then :
7201
# Broken: fails on valid input.
7204
rm -f conftest.err conftest.$ac_ext
7206
# OK, works on sane cases. Now check whether nonexistent headers
7207
# can be detected and how.
7208
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7209
/* end confdefs.h. */
7210
#include <ac_nonexistent.h>
7212
if ac_fn_cxx_try_cpp "$LINENO"; then :
7213
# Broken: success on invalid input.
7216
# Passes both tests.
7220
rm -f conftest.err conftest.$ac_ext
7223
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7224
rm -f conftest.err conftest.$ac_ext
7225
if $ac_preproc_ok; then :
7230
ac_cv_prog_CXXCPP=$CXXCPP
7233
CXXCPP=$ac_cv_prog_CXXCPP
7235
ac_cv_prog_CXXCPP=$CXXCPP
7237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7238
$as_echo "$CXXCPP" >&6; }
7240
for ac_cxx_preproc_warn_flag in '' yes
7242
# Use a header file that comes with gcc, so configuring glibc
7243
# with a fresh cross-compiler works.
7244
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7245
# <limits.h> exists even on freestanding compilers.
7246
# On the NeXT, cc -E runs the code through the compiler's parser,
7247
# not just through cpp. "Syntax error" is here to catch this case.
7248
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7249
/* end confdefs.h. */
7251
# include <limits.h>
7253
# include <assert.h>
7257
if ac_fn_cxx_try_cpp "$LINENO"; then :
7260
# Broken: fails on valid input.
7263
rm -f conftest.err conftest.$ac_ext
7265
# OK, works on sane cases. Now check whether nonexistent headers
7266
# can be detected and how.
7267
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268
/* end confdefs.h. */
7269
#include <ac_nonexistent.h>
7271
if ac_fn_cxx_try_cpp "$LINENO"; then :
7272
# Broken: success on invalid input.
7275
# Passes both tests.
7279
rm -f conftest.err conftest.$ac_ext
7282
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7283
rm -f conftest.err conftest.$ac_ext
7284
if $ac_preproc_ok; then :
7287
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7288
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7289
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
7290
See \`config.log' for more details." "$LINENO" 5; }
7294
ac_cpp='$CXXCPP $CPPFLAGS'
7295
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7296
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7297
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7301
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7302
if test "${ac_cv_path_GREP+set}" = set; then :
7303
$as_echo_n "(cached) " >&6
7305
if test -z "$GREP"; then
7306
ac_path_GREP_found=false
7307
# Loop through the user's path and test for each of PROGNAME-LIST
7308
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7309
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7312
test -z "$as_dir" && as_dir=.
7313
for ac_prog in grep ggrep; do
7314
for ac_exec_ext in '' $ac_executable_extensions; do
7315
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7316
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7317
# Check for GNU ac_path_GREP and select it if it is found.
7318
# Check for GNU $ac_path_GREP
7319
case `"$ac_path_GREP" --version 2>&1` in
7321
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7324
$as_echo_n 0123456789 >"conftest.in"
7327
cat "conftest.in" "conftest.in" >"conftest.tmp"
7328
mv "conftest.tmp" "conftest.in"
7329
cp "conftest.in" "conftest.nl"
7330
$as_echo 'GREP' >> "conftest.nl"
7331
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7332
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7333
as_fn_arith $ac_count + 1 && ac_count=$as_val
7334
if test $ac_count -gt ${ac_path_GREP_max-0}; then
7335
# Best one so far, save it but keep looking for a better one
7336
ac_cv_path_GREP="$ac_path_GREP"
7337
ac_path_GREP_max=$ac_count
7339
# 10*(2^10) chars as input seems more than enough
7340
test $ac_count -gt 10 && break
7342
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7345
$ac_path_GREP_found && break 3
7350
if test -z "$ac_cv_path_GREP"; then
7351
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7354
ac_cv_path_GREP=$GREP
7358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7359
$as_echo "$ac_cv_path_GREP" >&6; }
7360
GREP="$ac_cv_path_GREP"
7363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7364
$as_echo_n "checking for egrep... " >&6; }
7365
if test "${ac_cv_path_EGREP+set}" = set; then :
7366
$as_echo_n "(cached) " >&6
7368
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7369
then ac_cv_path_EGREP="$GREP -E"
7371
if test -z "$EGREP"; then
7372
ac_path_EGREP_found=false
7373
# Loop through the user's path and test for each of PROGNAME-LIST
7374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7378
test -z "$as_dir" && as_dir=.
7379
for ac_prog in egrep; do
7380
for ac_exec_ext in '' $ac_executable_extensions; do
7381
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7382
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7383
# Check for GNU ac_path_EGREP and select it if it is found.
7384
# Check for GNU $ac_path_EGREP
7385
case `"$ac_path_EGREP" --version 2>&1` in
7387
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7390
$as_echo_n 0123456789 >"conftest.in"
7393
cat "conftest.in" "conftest.in" >"conftest.tmp"
7394
mv "conftest.tmp" "conftest.in"
7395
cp "conftest.in" "conftest.nl"
7396
$as_echo 'EGREP' >> "conftest.nl"
7397
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7398
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7399
as_fn_arith $ac_count + 1 && ac_count=$as_val
7400
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7401
# Best one so far, save it but keep looking for a better one
7402
ac_cv_path_EGREP="$ac_path_EGREP"
7403
ac_path_EGREP_max=$ac_count
7405
# 10*(2^10) chars as input seems more than enough
7406
test $ac_count -gt 10 && break
7408
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7411
$ac_path_EGREP_found && break 3
7416
if test -z "$ac_cv_path_EGREP"; then
7417
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7420
ac_cv_path_EGREP=$EGREP
7425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7426
$as_echo "$ac_cv_path_EGREP" >&6; }
7427
EGREP="$ac_cv_path_EGREP"
7430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7431
$as_echo_n "checking for ANSI C header files... " >&6; }
7432
if test "${ac_cv_header_stdc+set}" = set; then :
7433
$as_echo_n "(cached) " >&6
7435
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7436
/* end confdefs.h. */
7450
if ac_fn_cxx_try_compile "$LINENO"; then :
7451
ac_cv_header_stdc=yes
7453
ac_cv_header_stdc=no
7455
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7457
if test $ac_cv_header_stdc = yes; then
7458
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7459
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7460
/* end confdefs.h. */
7464
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7465
$EGREP "memchr" >/dev/null 2>&1; then :
7468
ac_cv_header_stdc=no
7474
if test $ac_cv_header_stdc = yes; then
7475
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7476
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7477
/* end confdefs.h. */
7481
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7482
$EGREP "free" >/dev/null 2>&1; then :
7485
ac_cv_header_stdc=no
7491
if test $ac_cv_header_stdc = yes; then
7492
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7493
if test "$cross_compiling" = yes; then :
7496
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7497
/* end confdefs.h. */
7500
#if ((' ' & 0x0FF) == 0x020)
7501
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7502
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7504
# define ISLOWER(c) \
7505
(('a' <= (c) && (c) <= 'i') \
7506
|| ('j' <= (c) && (c) <= 'r') \
7507
|| ('s' <= (c) && (c) <= 'z'))
7508
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7511
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7516
for (i = 0; i < 256; i++)
7517
if (XOR (islower (i), ISLOWER (i))
7518
|| toupper (i) != TOUPPER (i))
7523
if ac_fn_cxx_try_run "$LINENO"; then :
7526
ac_cv_header_stdc=no
7528
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7529
conftest.$ac_objext conftest.beam conftest.$ac_ext
7534
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7535
$as_echo "$ac_cv_header_stdc" >&6; }
7536
if test $ac_cv_header_stdc = yes; then
7538
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7542
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7543
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7544
inttypes.h stdint.h unistd.h
7546
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7547
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7549
eval as_val=\$$as_ac_Header
7550
if test "x$as_val" = x""yes; then :
7551
cat >>confdefs.h <<_ACEOF
7552
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7560
for ac_header in boost/algorithm/string.hpp boost/array.hpp boost/compressed_pair.hpp boost/enable_shared_from_this.hpp boost/flyweight/hashed_factory.hpp boost/flyweight.hpp boost/format.hpp boost/functional/hash.hpp boost/function.hpp boost/fusion/adapted/mpl.hpp boost/fusion/algorithm/iteration/fold.hpp boost/fusion/algorithm/iteration/for_each.hpp boost/fusion/algorithm/transformation/clear.hpp boost/fusion/algorithm/transformation/join.hpp boost/fusion/algorithm/transformation/push_back.hpp boost/fusion/algorithm/transformation/push_front.hpp boost/fusion/container/generation/make_vector.hpp boost/fusion/container/list.hpp boost/fusion/container/vector/convert.hpp boost/fusion/container/vector.hpp boost/fusion/functional/adapter/fused.hpp boost/fusion/include/join.hpp boost/fusion/include/mpl.hpp boost/fusion/include/sequence.hpp boost/fusion/iterator/equal_to.hpp boost/fusion/sequence.hpp boost/fusion/support/is_sequence.hpp boost/iostreams/copy.hpp boost/iostreams/device/file.hpp boost/iostreams/filter/gzip.hpp boost/iostreams/filtering_stream.hpp boost/iostreams/invert.hpp boost/iostreams/operations.hpp boost/iostreams/read.hpp boost/iostreams/seek.hpp boost/iostreams/stream.hpp boost/iostreams/write.hpp boost/lambda/bind.hpp boost/lambda/lambda.hpp boost/lexical_cast.hpp boost/make_shared.hpp boost/mpl/begin.hpp boost/mpl/fold.hpp boost/mpl/front.hpp boost/mpl/transform.hpp boost/multi_index_container.hpp boost/multi_index/hashed_index.hpp boost/multi_index/member.hpp boost/multi_index/mem_fun.hpp boost/multi_index/random_access_index.hpp boost/multi_index/sequenced_index.hpp boost/numeric/conversion/cast.hpp boost/optional.hpp boost/preprocessor/repetition/enum_binary_params.hpp boost/preprocessor/repetition/enum_params.hpp boost/preprocessor/repetition/repeat.hpp boost/random.hpp boost/range.hpp boost/ref.hpp boost/scoped_array.hpp boost/scoped_ptr.hpp boost/shared_ptr.hpp boost/test/unit_test.hpp boost/type_traits/is_same.hpp boost/unordered_map.hpp boost/unordered_set.hpp boost/variant.hpp boost/weak_ptr.hpp
7562
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7563
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7564
eval as_val=\$$as_ac_Header
7565
if test "x$as_val" = x""yes; then :
7566
cat >>confdefs.h <<_ACEOF
7567
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7572
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7573
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7574
as_fn_error "Boost install not found, too old, or incomplete; install libboost-dev.
7575
See \`config.log' for more details." "$LINENO" 5; }
7583
# Check whether --with-boost was given.
7584
if test "${with_boost+set}" = set; then :
7585
withval=$with_boost;
7586
if test "$withval" = "no"; then
7588
elif test "$withval" = "yes"; then
7593
ac_boost_path="$withval"
7601
if test "x$want_boost" = "xyes"; then
7602
boost_lib_version_req=1.20.0
7603
boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
7604
boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
7605
boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
7606
boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
7607
if test "x$boost_lib_version_req_sub_minor" = "x" ; then
7608
boost_lib_version_req_sub_minor="0"
7610
WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
7611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= $boost_lib_version_req" >&5
7612
$as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; }
7615
if test "$ac_boost_path" != ""; then
7616
BOOST_LDFLAGS="-L$ac_boost_path/lib"
7617
BOOST_CPPFLAGS="-I$ac_boost_path/include"
7619
for ac_boost_path_tmp in /usr /usr/local /opt ; do
7620
if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
7621
BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
7622
BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
7628
CPPFLAGS_SAVED="$CPPFLAGS"
7629
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
7632
LDFLAGS_SAVED="$LDFLAGS"
7633
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
7637
ac_cpp='$CXXCPP $CPPFLAGS'
7638
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7639
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7640
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7642
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7643
/* end confdefs.h. */
7645
#include <boost/version.hpp>
7651
#if BOOST_VERSION >= $WANT_BOOST_VERSION
7652
// Everything is okay
7654
# error Boost version is too old
7661
if ac_fn_cxx_try_compile "$LINENO"; then :
7663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7664
$as_echo "yes" >&6; }
7669
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7671
ac_cpp='$CXXCPP $CPPFLAGS'
7672
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7673
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7674
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7679
if test "x$succeeded" != "xyes"; then
7681
if test "$ac_boost_path" != ""; then
7682
BOOST_LDFLAGS="-L$ac_boost_path/lib"
7683
if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
7684
for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
7685
_version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
7686
V_CHECK=`expr $_version_tmp \> $_version`
7687
if test "$V_CHECK" = "1" ; then
7688
_version=$_version_tmp
7690
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
7691
BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
7695
for ac_boost_path in /usr /usr/local /opt ; do
7696
if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
7697
for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
7698
_version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
7699
V_CHECK=`expr $_version_tmp \> $_version`
7700
if test "$V_CHECK" = "1" ; then
7701
_version=$_version_tmp
7702
best_path=$ac_boost_path
7708
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
7709
BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
7710
BOOST_LDFLAGS="-L$best_path/lib"
7712
if test "x$BOOST_ROOT" != "x"; then
7713
if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/lib" && test -r "$BOOST_ROOT/stage/lib"; then
7714
version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
7715
stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
7716
stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
7717
V_CHECK=`expr $stage_version_shorten \>\= $_version`
7718
if test "$V_CHECK" = "1" ; then
7719
{ $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
7720
$as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
7721
BOOST_CPPFLAGS="-I$BOOST_ROOT"
7722
BOOST_LDFLAGS="-L$BOOST_ROOT/stage/lib"
7728
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
7730
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
7734
ac_cpp='$CXXCPP $CPPFLAGS'
7735
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7736
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7737
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7739
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7740
/* end confdefs.h. */
7742
#include <boost/version.hpp>
7748
#if BOOST_VERSION >= $WANT_BOOST_VERSION
7749
// Everything is okay
7751
# error Boost version is too old
7758
if ac_fn_cxx_try_compile "$LINENO"; then :
7760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7761
$as_echo "yes" >&6; }
7766
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7768
ac_cpp='$CXXCPP $CPPFLAGS'
7769
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7770
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7771
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7775
if test "$succeeded" != "yes" ; then
7776
if test "$_version" = "0" ; then
7777
as_fn_error "We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." "$LINENO" 5
7779
{ $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
7780
$as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
7786
$as_echo "#define HAVE_BOOST /**/" >>confdefs.h
7790
CPPFLAGS="$CPPFLAGS_SAVED"
7791
LDFLAGS="$LDFLAGS_SAVED"
7793
as_fn_error "Boost is required for compilation and may not be disabled." "$LINENO" 5
7799
# Check whether --with-boost-iostreams was given.
7800
if test "${with_boost_iostreams+set}" = set; then :
7801
withval=$with_boost_iostreams;
7802
if test "$withval" = "no"; then
7804
elif test "$withval" = "yes"; then
7806
ax_boost_user_iostreams_lib=""
7809
ax_boost_user_iostreams_lib="$withval"
7818
if test "x$want_boost" = "xyes"; then
7820
CPPFLAGS_SAVED="$CPPFLAGS"
7821
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
7824
LDFLAGS_SAVED="$LDFLAGS"
7825
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
7828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::IOStreams library is available" >&5
7829
$as_echo_n "checking whether the Boost::IOStreams library is available... " >&6; }
7830
if test "${ax_cv_boost_iostreams+set}" = set; then :
7831
$as_echo_n "(cached) " >&6
7834
ac_cpp='$CXXCPP $CPPFLAGS'
7835
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7836
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7837
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7839
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7840
/* end confdefs.h. */
7841
#include <boost/iostreams/filtering_stream.hpp>
7842
#include <boost/range/iterator_range.hpp>
7847
std::string input = "Hello World!";
7848
namespace io = boost::iostreams;
7849
io::filtering_istream in(boost::make_iterator_range(input));
7856
if ac_fn_cxx_try_compile "$LINENO"; then :
7857
ax_cv_boost_iostreams=yes
7859
ax_cv_boost_iostreams=no
7861
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7863
ac_cpp='$CXXCPP $CPPFLAGS'
7864
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7865
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7866
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_iostreams" >&5
7871
$as_echo "$ax_cv_boost_iostreams" >&6; }
7872
if test "x$ax_cv_boost_iostreams" = "xyes"; then
7874
$as_echo "#define HAVE_BOOST_IOSTREAMS /**/" >>confdefs.h
7877
if test "x$ax_boost_user_iostreams_lib" = "x"; then
7878
for ax_lib in $BN-mt $BN-$CC-mt $BN-$CC-mt-s \
7879
lib$BN-mt lib$BN-$CC-mt lib$BN-$CC-mt-s \
7880
$BN-mgw-mt $BN-mgw-mt-s \
7881
$BN $BN-$CC $BN-$CC-s lib$BN lib$BN-$CC lib$BN-$CC-s ; do
7882
as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_main" | $as_tr_sh`
7883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$ax_lib" >&5
7884
$as_echo_n "checking for main in -l$ax_lib... " >&6; }
7885
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
7886
$as_echo_n "(cached) " >&6
7888
ac_check_lib_save_LIBS=$LIBS
7889
LIBS="-l$ax_lib $LIBS"
7890
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7891
/* end confdefs.h. */
7902
if ac_fn_cxx_try_link "$LINENO"; then :
7903
eval "$as_ac_Lib=yes"
7905
eval "$as_ac_Lib=no"
7907
rm -f core conftest.err conftest.$ac_objext \
7908
conftest$ac_exeext conftest.$ac_ext
7909
LIBS=$ac_check_lib_save_LIBS
7911
eval ac_res=\$$as_ac_Lib
7912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7913
$as_echo "$ac_res" >&6; }
7914
eval as_val=\$$as_ac_Lib
7915
if test "x$as_val" = x""yes; then :
7916
BOOST_IOSTREAMS_LIB="-l$ax_lib" link_iostreams="yes" break
7923
for ax_lib in $ax_boost_user_iostreams_lib $BN-$ax_boost_user_iostreams_lib; do
7924
as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_main" | $as_tr_sh`
7925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$ax_lib" >&5
7926
$as_echo_n "checking for main in -l$ax_lib... " >&6; }
7927
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
7928
$as_echo_n "(cached) " >&6
7930
ac_check_lib_save_LIBS=$LIBS
7931
LIBS="-l$ax_lib $LIBS"
7932
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7933
/* end confdefs.h. */
7944
if ac_fn_cxx_try_link "$LINENO"; then :
7945
eval "$as_ac_Lib=yes"
7947
eval "$as_ac_Lib=no"
7949
rm -f core conftest.err conftest.$ac_objext \
7950
conftest$ac_exeext conftest.$ac_ext
7951
LIBS=$ac_check_lib_save_LIBS
7953
eval ac_res=\$$as_ac_Lib
7954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7955
$as_echo "$ac_res" >&6; }
7956
eval as_val=\$$as_ac_Lib
7957
if test "x$as_val" = x""yes; then :
7958
BOOST_IOSTREAMS_LIB="-l$ax_lib" link_iostreams="yes" break
7966
if test "x$link_iostreams" = "xno"; then
7967
as_fn_error "Could not link against $ax_lib !" "$LINENO" 5
7971
CPPFLAGS="$CPPFLAGS_SAVED"
7972
LDFLAGS="$LDFLAGS_SAVED"
7974
as_fn_error "Boost IOStreams is required and may not be disabled." "$LINENO" 5
7978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the calling convertion of boost::fusion::fold" >&5
7979
$as_echo_n "checking the calling convertion of boost::fusion::fold... " >&6; }
7980
# Test the order of arguments to the function passed into fold; this
7981
# was randomly changed in Boost version 1.42 (because no-one needs a
7982
# stable API, or something).
7984
# For the test to work at compile-time, the types of the arguments to
7985
# fold must be incompatible; the actual operations performed are
7986
# irrelevant. My fold operator takes an int and a class, and returns
7988
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989
/* end confdefs.h. */
7991
#include <boost/fusion/algorithm/iteration/fold.hpp>
7992
#include <boost/fusion/container/vector.hpp>
7993
#include <boost/fusion/include/fold.hpp>
7994
#include <boost/fusion/include/vector.hpp>
8002
T operator()(const T &t, int n) const
8006
typedef T result_type;
8009
int main(int argc, char **argv)
8011
boost::fusion::vector<int, int, int> v(5, 3, 1);
8012
boost::fusion::fold(v, T(), F());
8015
if ac_fn_cxx_try_compile "$LINENO"; then :
8017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: State first, then value" >&5
8018
$as_echo "State first, then value" >&6; }
8020
$as_echo "#define BOOST_FUSION_FOLD_STATE_BEFORE_VALUE /**/" >>confdefs.h
8025
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8026
/* end confdefs.h. */
8028
#include <boost/fusion/algorithm/iteration/fold.hpp>
8029
#include <boost/fusion/container/vector.hpp>
8030
#include <boost/fusion/include/fold.hpp>
8031
#include <boost/fusion/include/vector.hpp>
8039
T operator()(int n, const T &t) const
8043
typedef T result_type;
8046
int main(int argc, char **argv)
8048
boost::fusion::vector<int, int, int> v(5, 3, 1);
8049
boost::fusion::fold(v, T(), F());
8053
if ac_fn_cxx_try_compile "$LINENO"; then :
8054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Value first, then state" >&5
8055
$as_echo "Value first, then state" >&6; }
8057
as_fn_error "Can't figure out how to invoke boost::fusion::fold" "$LINENO" 5
8059
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8062
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name of the runtime library for Boost.Test" >&5
8066
$as_echo_n "checking the name of the runtime library for Boost.Test... " >&6; }
8069
##### Boost.Test check #####
8071
for libname in boost_unit_test_framework-mt boost_unit_test_framework
8073
LIBS="$LIBS -l$libname"
8075
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8076
/* end confdefs.h. */
8078
#define BOOST_TEST_DYN_LINK
8079
#define BOOST_TEST_NO_MAIN
8081
#include <boost/test/unit_test.hpp>
8083
bool init_unit_test()
8088
int main(int argc, char **argv)
8090
return boost::unit_test::unit_test_main(init_unit_test, argc, argv);
8094
if ac_fn_cxx_try_link "$LINENO"; then :
8095
BOOST_UNIT_TEST_LIBS="-l$libname"
8097
rm -f core conftest.err conftest.$ac_objext \
8098
conftest$ac_exeext conftest.$ac_ext
8103
if test -z "$BOOST_UNIT_TEST_LIBS"
8105
# TODO: just disable the unit tests?
8106
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8107
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8108
as_fn_error "Can't find the Boost unit test library; install libboost-test-dev.
8109
See \`config.log' for more details." "$LINENO" 5; }
8111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$BOOST_UNIT_TEST_LIBS\"" >&5
8112
$as_echo "\"$BOOST_UNIT_TEST_LIBS\"" >&6; }
8117
##### End Boost.Test check #####
8121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE3" >&5
8122
$as_echo_n "checking for SQLITE3... " >&6; }
8124
if test -n "$PKG_CONFIG"; then
8125
if test -n "$SQLITE3_CFLAGS"; then
8126
pkg_cv_SQLITE3_CFLAGS="$SQLITE3_CFLAGS"
8128
if test -n "$PKG_CONFIG" && \
8129
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
8130
($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
8132
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8133
test $ac_status = 0; }; then
8134
pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
8142
if test -n "$PKG_CONFIG"; then
8143
if test -n "$SQLITE3_LIBS"; then
8144
pkg_cv_SQLITE3_LIBS="$SQLITE3_LIBS"
8146
if test -n "$PKG_CONFIG" && \
8147
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
8148
($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
8150
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8151
test $ac_status = 0; }; then
8152
pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
8163
if test $pkg_failed = yes; then
8165
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8166
_pkg_short_errors_supported=yes
8168
_pkg_short_errors_supported=no
8170
if test $_pkg_short_errors_supported = yes; then
8171
SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3"`
8173
SQLITE3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3"`
8175
# Put the nasty error message in config.log where it belongs
8176
echo "$SQLITE3_PKG_ERRORS" >&5
8178
as_fn_error "Package requirements (sqlite3) were not met:
8182
Consider adjusting the PKG_CONFIG_PATH environment variable if you
8183
installed software in a non-standard prefix.
8185
Alternatively, you may set the environment variables SQLITE3_CFLAGS
8186
and SQLITE3_LIBS to avoid the need to call pkg-config.
8187
See the pkg-config man page for more details.
8189
elif test $pkg_failed = untried; then
8190
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8191
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8192
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
8193
is in your PATH or set the PKG_CONFIG environment variable to the full
8196
Alternatively, you may set the environment variables SQLITE3_CFLAGS
8197
and SQLITE3_LIBS to avoid the need to call pkg-config.
8198
See the pkg-config man page for more details.
8200
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8201
See \`config.log' for more details." "$LINENO" 5; }
8203
SQLITE3_CFLAGS=$pkg_cv_SQLITE3_CFLAGS
8204
SQLITE3_LIBS=$pkg_cv_SQLITE3_LIBS
8205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8206
$as_echo "yes" >&6; }
8211
# Check whether --enable-gtk was given.
8212
if test "${enable_gtk+set}" = set; then :
8213
enableval=$enable_gtk; if test x$enableval = xyes
8222
WANT_HAVE_GTK=$HAVE_GTK
8224
if test x$HAVE_GTK = x1
8226
{ $as_echo "$as_me:${as_lineno-$LINENO}: Testing for the libraries needed to build the GTK+ frontend." >&5
8227
$as_echo "$as_me: Testing for the libraries needed to build the GTK+ frontend." >&6;}
8231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIBMM" >&5
8232
$as_echo_n "checking for GLIBMM... " >&6; }
8234
if test -n "$PKG_CONFIG"; then
8235
if test -n "$GLIBMM_CFLAGS"; then
8236
pkg_cv_GLIBMM_CFLAGS="$GLIBMM_CFLAGS"
8238
if test -n "$PKG_CONFIG" && \
8239
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4\""; } >&5
8240
($PKG_CONFIG --exists --print-errors "glibmm-2.4") 2>&5
8242
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8243
test $ac_status = 0; }; then
8244
pkg_cv_GLIBMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4" 2>/dev/null`
8252
if test -n "$PKG_CONFIG"; then
8253
if test -n "$GLIBMM_LIBS"; then
8254
pkg_cv_GLIBMM_LIBS="$GLIBMM_LIBS"
8256
if test -n "$PKG_CONFIG" && \
8257
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4\""; } >&5
8258
($PKG_CONFIG --exists --print-errors "glibmm-2.4") 2>&5
8260
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8261
test $ac_status = 0; }; then
8262
pkg_cv_GLIBMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4" 2>/dev/null`
8273
if test $pkg_failed = yes; then
8275
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8276
_pkg_short_errors_supported=yes
8278
_pkg_short_errors_supported=no
8280
if test $_pkg_short_errors_supported = yes; then
8281
GLIBMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4"`
8283
GLIBMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4"`
8285
# Put the nasty error message in config.log where it belongs
8286
echo "$GLIBMM_PKG_ERRORS" >&5
8288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8289
$as_echo "no" >&6; }
8291
elif test $pkg_failed = untried; then
8294
GLIBMM_CFLAGS=$pkg_cv_GLIBMM_CFLAGS
8295
GLIBMM_LIBS=$pkg_cv_GLIBMM_LIBS
8296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8297
$as_echo "yes" >&6; }
8302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
8303
$as_echo_n "checking for GTHREAD... " >&6; }
8305
if test -n "$PKG_CONFIG"; then
8306
if test -n "$GTHREAD_CFLAGS"; then
8307
pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
8309
if test -n "$PKG_CONFIG" && \
8310
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
8311
($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
8313
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8314
test $ac_status = 0; }; then
8315
pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
8323
if test -n "$PKG_CONFIG"; then
8324
if test -n "$GTHREAD_LIBS"; then
8325
pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
8327
if test -n "$PKG_CONFIG" && \
8328
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
8329
($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
8331
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8332
test $ac_status = 0; }; then
8333
pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
8344
if test $pkg_failed = yes; then
8346
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8347
_pkg_short_errors_supported=yes
8349
_pkg_short_errors_supported=no
8351
if test $_pkg_short_errors_supported = yes; then
8352
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0"`
8354
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
8356
# Put the nasty error message in config.log where it belongs
8357
echo "$GTHREAD_PKG_ERRORS" >&5
8359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8360
$as_echo "no" >&6; }
8362
elif test $pkg_failed = untried; then
8365
GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
8366
GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
8367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8368
$as_echo "yes" >&6; }
8373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMM" >&5
8374
$as_echo_n "checking for GTKMM... " >&6; }
8376
if test -n "$PKG_CONFIG"; then
8377
if test -n "$GTKMM_CFLAGS"; then
8378
pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
8380
if test -n "$PKG_CONFIG" && \
8381
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4\""; } >&5
8382
($PKG_CONFIG --exists --print-errors "gtkmm-2.4") 2>&5
8384
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8385
test $ac_status = 0; }; then
8386
pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4" 2>/dev/null`
8394
if test -n "$PKG_CONFIG"; then
8395
if test -n "$GTKMM_LIBS"; then
8396
pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
8398
if test -n "$PKG_CONFIG" && \
8399
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4\""; } >&5
8400
($PKG_CONFIG --exists --print-errors "gtkmm-2.4") 2>&5
8402
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8403
test $ac_status = 0; }; then
8404
pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4" 2>/dev/null`
8415
if test $pkg_failed = yes; then
8417
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8418
_pkg_short_errors_supported=yes
8420
_pkg_short_errors_supported=no
8422
if test $_pkg_short_errors_supported = yes; then
8423
GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4"`
8425
GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4"`
8427
# Put the nasty error message in config.log where it belongs
8428
echo "$GTKMM_PKG_ERRORS" >&5
8430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8431
$as_echo "no" >&6; }
8433
elif test $pkg_failed = untried; then
8436
GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
8437
GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
8438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8439
$as_echo "yes" >&6; }
8444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLADEMM" >&5
8445
$as_echo_n "checking for LIBGLADEMM... " >&6; }
8447
if test -n "$PKG_CONFIG"; then
8448
if test -n "$LIBGLADEMM_CFLAGS"; then
8449
pkg_cv_LIBGLADEMM_CFLAGS="$LIBGLADEMM_CFLAGS"
8451
if test -n "$PKG_CONFIG" && \
8452
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglademm-2.4\""; } >&5
8453
($PKG_CONFIG --exists --print-errors "libglademm-2.4") 2>&5
8455
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8456
test $ac_status = 0; }; then
8457
pkg_cv_LIBGLADEMM_CFLAGS=`$PKG_CONFIG --cflags "libglademm-2.4" 2>/dev/null`
8465
if test -n "$PKG_CONFIG"; then
8466
if test -n "$LIBGLADEMM_LIBS"; then
8467
pkg_cv_LIBGLADEMM_LIBS="$LIBGLADEMM_LIBS"
8469
if test -n "$PKG_CONFIG" && \
8470
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglademm-2.4\""; } >&5
8471
($PKG_CONFIG --exists --print-errors "libglademm-2.4") 2>&5
8473
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8474
test $ac_status = 0; }; then
8475
pkg_cv_LIBGLADEMM_LIBS=`$PKG_CONFIG --libs "libglademm-2.4" 2>/dev/null`
8486
if test $pkg_failed = yes; then
8488
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8489
_pkg_short_errors_supported=yes
8491
_pkg_short_errors_supported=no
8493
if test $_pkg_short_errors_supported = yes; then
8494
LIBGLADEMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libglademm-2.4"`
8496
LIBGLADEMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglademm-2.4"`
8498
# Put the nasty error message in config.log where it belongs
8499
echo "$LIBGLADEMM_PKG_ERRORS" >&5
8501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502
$as_echo "no" >&6; }
8504
elif test $pkg_failed = untried; then
8507
LIBGLADEMM_CFLAGS=$pkg_cv_LIBGLADEMM_CFLAGS
8508
LIBGLADEMM_LIBS=$pkg_cv_LIBGLADEMM_LIBS
8509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8510
$as_echo "yes" >&6; }
8514
{ $as_echo "$as_me:${as_lineno-$LINENO}: Disabling the GTK+ frontend at your request (--disable-gtk)." >&5
8515
$as_echo "$as_me: Disabling the GTK+ frontend at your request (--disable-gtk)." >&6;}
8518
if test x$WANT_HAVE_GTK = x1 && test x$HAVE_GTK != x1
8520
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find the necessary GTK+ libraries; disabling GTK+ support." >&5
8521
$as_echo "$as_me: WARNING: Unable to find the necessary GTK+ libraries; disabling GTK+ support." >&2;}
8524
if test x$HAVE_GTK = x1
8526
{ $as_echo "$as_me:${as_lineno-$LINENO}: The GTK+ frontend will be built." >&5
8527
$as_echo "$as_me: The GTK+ frontend will be built." >&6;}
8530
if test x$HAVE_GTK = x1; then
8538
if test x$HAVE_GTK = x1
8541
$as_echo "#define HAVE_GTK /**/" >>confdefs.h
8545
CXXFLAGS="$CXXFLAGS $SIGC_CFLAGS $CWIDGET_CFLAGS $ept_CFLAGS $SQLITE3_CFLAGS"
8546
LIBS="$LIBS $SIGC_LIBS $CWIDGET_LIBS $ept_LIBS $SQLITE3_LIBS $BOOST_IOSTREAMS_LIB"
8547
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
8548
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
8550
if test x$HAVE_GTK = x1
8552
CXXFLAGS="$CXXFLAGS $GLIBMM_CFLAGS $GTHREAD_CFLAGS $GTKMM_CFLAGS $LIBGLADEMM_CFLAGS $VTE_CFLAGS"
8553
LIBS="$LIBS $GLIBMM_LIBS $GTHREAD_LIBS $GTKMM_LIBS $LIBGLADEMM_LIBS $VTE_LIBS"
8558
cat >>confdefs.h <<_ACEOF
8559
#define SIGC_VERSION "$(pkg-config --modversion sigc++-2.0)"
8563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8564
$as_echo_n "checking for ANSI C header files... " >&6; }
8565
if test "${ac_cv_header_stdc+set}" = set; then :
8566
$as_echo_n "(cached) " >&6
8568
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569
/* end confdefs.h. */
8583
if ac_fn_cxx_try_compile "$LINENO"; then :
8584
ac_cv_header_stdc=yes
8586
ac_cv_header_stdc=no
8588
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8590
if test $ac_cv_header_stdc = yes; then
8591
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8592
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593
/* end confdefs.h. */
8597
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8598
$EGREP "memchr" >/dev/null 2>&1; then :
8601
ac_cv_header_stdc=no
8607
if test $ac_cv_header_stdc = yes; then
8608
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8609
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8610
/* end confdefs.h. */
8614
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8615
$EGREP "free" >/dev/null 2>&1; then :
8618
ac_cv_header_stdc=no
8624
if test $ac_cv_header_stdc = yes; then
8625
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8626
if test "$cross_compiling" = yes; then :
8629
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8630
/* end confdefs.h. */
8633
#if ((' ' & 0x0FF) == 0x020)
8634
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8635
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8637
# define ISLOWER(c) \
8638
(('a' <= (c) && (c) <= 'i') \
8639
|| ('j' <= (c) && (c) <= 'r') \
8640
|| ('s' <= (c) && (c) <= 'z'))
8641
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8644
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8649
for (i = 0; i < 256; i++)
8650
if (XOR (islower (i), ISLOWER (i))
8651
|| toupper (i) != TOUPPER (i))
8656
if ac_fn_cxx_try_run "$LINENO"; then :
8659
ac_cv_header_stdc=no
8661
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8662
conftest.$ac_objext conftest.beam conftest.$ac_ext
8667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8668
$as_echo "$ac_cv_header_stdc" >&6; }
8669
if test $ac_cv_header_stdc = yes; then
8671
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8676
for ac_header in fcntl.h sys/ioctl.h unistd.h
8678
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8679
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8680
eval as_val=\$$as_ac_Header
8681
if test "x$as_val" = x""yes; then :
8682
cat >>confdefs.h <<_ACEOF
8683
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8687
as_fn_error "Can't find needed header file." "$LINENO" 5
8693
ac_fn_cxx_check_header_mongrel "$LINENO" "apt-pkg/init.h" "ac_cv_header_apt_pkg_init_h" "$ac_includes_default"
8694
if test "x$ac_cv_header_apt_pkg_init_h" = x""yes; then :
8697
as_fn_error "Can't find the APT header files -- please install libapt-pkg-dev" "$LINENO" 5
8702
ac_fn_cxx_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
8703
if test "x$ac_cv_header_execinfo_h" = x""yes; then :
8705
$as_echo "#define HAVE_EXECINFO_H /**/" >>confdefs.h
8711
ac_fn_cxx_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
8712
if test "x$ac_cv_header_locale_h" = x""yes; then :
8714
$as_echo "#define HAVE_LOCALE_H /**/" >>confdefs.h
8720
ac_fn_cxx_check_decl "$LINENO" "setlocale" "ac_cv_have_decl_setlocale" "#include <locale.h>
8722
if test "x$ac_cv_have_decl_setlocale" = x""yes; then :
8724
$as_echo "#define HAVE_SETLOCALE /**/" >>confdefs.h
8733
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether apt supports ddtp" >&5
8734
$as_echo_n "checking whether apt supports ddtp... " >&6; }
8736
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8737
/* end confdefs.h. */
8738
#include <apt-pkg/pkgcache.h>
8742
pkgCache::DescIterator d;
8747
if ac_fn_cxx_try_compile "$LINENO"; then :
8748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8749
$as_echo "yes" >&6; }
8751
$as_echo "#define HAVE_DDTP /**/" >>confdefs.h
8754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8755
$as_echo "no" >&6; }
8757
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether apt supports the Homepage: field" >&5
8760
$as_echo_n "checking whether apt supports the Homepage: field... " >&6; }
8762
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763
/* end confdefs.h. */
8764
#include <apt-pkg/pkgrecords.h>
8768
pkgRecords::Parser *p = NULL;
8769
if(0) p->Homepage();
8774
if ac_fn_cxx_try_compile "$LINENO"; then :
8775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8776
$as_echo "yes" >&6; }
8778
$as_echo "#define APT_HAS_HOMEPAGE /**/" >>confdefs.h
8781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8782
$as_echo "no" >&6; }
8784
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether apt supports dpkg triggers" >&5
8787
$as_echo_n "checking whether apt supports dpkg triggers... " >&6; }
8789
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8790
/* end confdefs.h. */
8791
#include <apt-pkg/pkgcache.h>
8795
pkgCache::State::TriggersAwaited;
8796
pkgCache::State::TriggersPending;
8801
if ac_fn_cxx_try_compile "$LINENO"; then :
8802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8803
$as_echo "yes" >&6; }
8805
$as_echo "#define APT_HAS_TRIGGERS /**/" >>confdefs.h
8808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809
$as_echo "no" >&6; }
8811
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8813
# Try to guess what namespace the hash stuff is in (maybe I should just
8814
# use rbltrees instead in most places?)
8815
if test x$HASH_INC != x
8817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which namespace contains the hash extensions" >&5
8818
$as_echo_n "checking which namespace contains the hash extensions... " >&6; }
8822
for NS in std __gnu_cxx
8824
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825
/* end confdefs.h. */
8826
#include <$HASH_INC>
8830
${NS}::${HASH_CLS} < int, int > foo;
8835
if ac_fn_cxx_try_compile "$LINENO"; then :
8838
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8841
if test x$HASH_NAMESPACE = x
8843
as_fn_error "found hash classes, but they aren't in the std or GNU namespace." "$LINENO" 5
8846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HASH_NAMESPACE" >&5
8847
$as_echo "$HASH_NAMESPACE" >&6; }
8849
# Use the std namespace if all else fails. (the code will fall back
8850
# to using map instead of hash_map, set instead of hash_set)
8855
cat >>confdefs.h <<_ACEOF
8856
#define HASH_NAMESPACE $HASH_NAMESPACE
8863
# Try to guess how to extend string traits
8866
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the name of the character traits template" >&5
8867
$as_echo_n "checking for the name of the character traits template... " >&6; }
8869
for T in char_traits string_char_traits
8871
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872
/* end confdefs.h. */
8877
std::basic_string<unsigned char,
8878
std::$T < unsigned char > > s;
8883
if ac_fn_cxx_try_compile "$LINENO"; then :
8886
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8889
if test x$TRAITS_CLASS = xstring_char_traits
8891
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your compiler uses string_char_traits for its character traits. Some compilers (eg, g++ 2.95) which use this name for the character traits template are known to have hideously broken implementations of the standard string class, which cause aptitude to fail to compile. If you have a compiler with this problem, please upgrade it to a version that has a more compliant version of the STL (g++ >=3.0 is known to work). You can specify which compiler this script should use via the CXX environment variable." >&5
8892
$as_echo "$as_me: WARNING: Your compiler uses string_char_traits for its character traits. Some compilers (eg, g++ 2.95) which use this name for the character traits template are known to have hideously broken implementations of the standard string class, which cause aptitude to fail to compile. If you have a compiler with this problem, please upgrade it to a version that has a more compliant version of the STL (g++ >=3.0 is known to work). You can specify which compiler this script should use via the CXX environment variable." >&2;}
8895
if test x$TRAITS_CLASS = x
8897
as_fn_error "can't find the name of the character traits template" "$LINENO" 5
8900
cat >>confdefs.h <<_ACEOF
8901
#define TRAITS_CLASS $TRAITS_CLASS
8905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRAITS_CLASS" >&5
8906
$as_echo "$TRAITS_CLASS" >&6; }
8912
if test x$HAVE_LIBPTHREAD = x1
8914
ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8915
if test "x$ac_cv_header_pthread_h" = x""yes; then :
8916
CXXFLAGS="$CXXFLAGS -D_REENTRANT"
8917
LIBS="$LIBS -lpthread"
8919
$as_echo "#define HAVE_LIBPTHREAD " >>confdefs.h
8923
as_fn_error "POSIX thread header not installed" "$LINENO" 5
8931
# Check whether --enable-private-glade-file was given.
8932
if test "${enable_private_glade_file+set}" = set; then :
8933
enableval=$enable_private_glade_file; if test x$enableval = xno
8936
$as_echo "#define DISABLE_PRIVATE_GLADE_FILE /**/" >>confdefs.h
8943
# Check whether --enable-dynamic-backtrace was given.
8944
if test "${enable_dynamic_backtrace+set}" = set; then :
8945
enableval=$enable_dynamic_backtrace; if test x$enableval = xyes
8948
$as_echo "#define ENABLE_DYNAMIC_BACKTRACE /**/" >>confdefs.h
8950
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
8955
# Check whether --enable-werror was given.
8956
if test "${enable_werror+set}" = set; then :
8957
enableval=$enable_werror; if test x$enableval = xno
8964
# Check whether --enable-period-beep was given.
8965
if test "${enable_period_beep+set}" = set; then :
8966
enableval=$enable_period_beep; if test x$enableval = xyes
8969
$as_echo "#define WITH_PERIOD_BEEP /**/" >>confdefs.h
8975
# Check whether --enable-reload-cache was given.
8976
if test "${enable_reload_cache+set}" = set; then :
8977
enableval=$enable_reload_cache; if test x$enableval = xyes
8980
$as_echo "#define WITH_RELOAD_CACHE /**/" >>confdefs.h
8987
# Check whether --enable-package-state-loc was given.
8988
if test "${enable_package_state_loc+set}" = set; then :
8989
enableval=$enable_package_state_loc; if test x$enableval = xyes
8991
as_fn_error "--with-package-state-loc needs an argument" "$LINENO" 5
8993
STATEDIR="$enableval"
8996
STATEDIR="/var/lib/aptitude"
9000
# Check whether --enable-lock-loc was given.
9001
if test "${enable_lock_loc+set}" = set; then :
9002
enableval=$enable_lock_loc; if test x$enableval = xyes
9004
as_fn_error "--with-lock-loc needs an argument" "$LINENO" 5
9006
LOCKFILE="$enableval"
9009
LOCKFILE="/var/lock/aptitude"
9013
# Check whether --enable-aptitude was given.
9014
if test "${enable_aptitude+set}" = set; then :
9015
enableval=$enable_aptitude; if test x$enableval=xno
9026
# Check whether --enable-docs was given.
9027
if test "${enable_docs+set}" = set; then :
9028
enableval=$enable_docs; if test x$enableval=xno
9039
# Check whether --enable-resolver-sanity-checks was given.
9040
if test "${enable_resolver_sanity_checks+set}" = set; then :
9041
enableval=$enable_resolver_sanity_checks; if test x$enableval=xyes
9044
$as_echo "#define ENABLE_RESOLVER_SANITY_CHECKS /**/" >>confdefs.h
9051
# We need -fno-strict-aliasing to avoid compiler errors that I can't
9052
# figure out how to fix.
9053
CXXFLAGS="$CXXFLAGS -fno-strict-aliasing -Wall $WERROR"
9059
cat >>confdefs.h <<_ACEOF
9060
#define STATEDIR "$STATEDIR"
9064
cat >>confdefs.h <<_ACEOF
9065
#define LOCKFILE "$LOCKFILE"
9070
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
9071
if test "x$ac_cv_type_size_t" = x""yes; then :
9075
cat >>confdefs.h <<_ACEOF
9076
#define size_t unsigned int
9082
for ac_func in strdup
9084
ac_fn_cxx_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
9085
if test "x$ac_cv_func_strdup" = x""yes; then :
9086
cat >>confdefs.h <<_ACEOF
9087
#define HAVE_STRDUP 1
9094
CPPFLAGS="$CPPFLAGS -DHELPDIR=\\\"\$(datadir)/aptitude\\\""
9095
CPPFLAGS="$CPPFLAGS -DPKGDATADIR=\\\"\$(datadir)/aptitude\\\""
9098
ac_config_files="$ac_config_files Doxyfile Makefile doc/Makefile doc/cs/Makefile doc/cs/images/Makefile doc/de/Makefile doc/en/Makefile doc/en/images/Makefile doc/es/Makefile doc/es/images/Makefile doc/fi/Makefile doc/fi/images/Makefile doc/fr/Makefile doc/fr/images/Makefile doc/ja/Makefile doc/ja/images/Makefile doc/po4a/Makefile doc/po4a/po/Makefile doc/po4a/add_de/Makefile doc/po4a/add_es/Makefile doc/po4a/add_fr/Makefile m4/Makefile po/Makefile.in src/Makefile src/gtk/Makefile src/gtk/controllers/Makefile src/gtk/toplevel/Makefile src/gtk/util/Makefile src/gtk/views/Makefile src/gtk/views/mocks/Makefile src/gtk/view-impls/Makefile src/cmdline/Makefile src/cmdline/mocks/Makefile src/generic/Makefile src/generic/apt/Makefile src/generic/apt/history/Makefile src/generic/apt/matching/Makefile src/generic/problemresolver/Makefile src/generic/util/Makefile src/mine/Makefile tests/Makefile"
9101
cat >confcache <<\_ACEOF
9102
# This file is a shell script that caches the results of configure
9103
# tests run on this system so they can be shared between configure
9104
# scripts and configure runs, see configure's option --config-cache.
9105
# It is not useful on other systems. If it contains results you don't
9106
# want to keep, you may remove or edit it.
9108
# config.status only pays attention to the cache file if you give it
9109
# the --recheck option to rerun configure.
9111
# `ac_cv_env_foo' variables (set or unset) will be overridden when
9112
# loading this file, other *unset* `ac_cv_foo' will be assigned the
9117
# The following way of writing the cache mishandles newlines in values,
9118
# but we know of no workaround that is simple, portable, and efficient.
9119
# So, we kill variables containing newlines.
9120
# Ultrix sh set writes to stderr and can't be redirected directly,
9121
# and sets the high bit in the cache file unless we assign to the vars.
9123
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9124
eval ac_val=\$$ac_var
9128
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9129
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9132
_ | IFS | as_nl) ;; #(
9133
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9134
*) { eval $ac_var=; unset $ac_var;} ;;
9140
case $as_nl`(ac_space=' '; set) 2>&1` in #(
9141
*${as_nl}ac_space=\ *)
9142
# `set' does not quote correctly, so add quotes: double-quote
9143
# substitution turns \\\\ into \\, and sed turns \\ into \.
9146
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9149
# `set' quotes correctly as required by POSIX, so do not add quotes.
9150
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9159
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9161
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9163
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9164
if test -w "$cache_file"; then
9165
test "x$cache_file" != "x/dev/null" &&
9166
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9167
$as_echo "$as_me: updating cache $cache_file" >&6;}
9168
cat confcache >$cache_file
9170
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9171
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9176
test "x$prefix" = xNONE && prefix=$ac_default_prefix
9177
# Let make expand exec_prefix.
9178
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9180
DEFS=-DHAVE_CONFIG_H
9184
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9185
# 1. Remove the extension, and $U if already installed.
9186
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9187
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9188
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9189
# will be set to the directory where LIBOBJS objects are built.
9190
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9191
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9195
LTLIBOBJS=$ac_ltlibobjs
9198
if test -n "$EXEEXT"; then
9200
am__EXEEXT_FALSE='#'
9206
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9207
as_fn_error "conditional \"AMDEP\" was never defined.
9208
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9210
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9211
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
9212
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9214
if test -z "${USE_PO4A_TRUE}" && test -z "${USE_PO4A_FALSE}"; then
9215
as_fn_error "conditional \"USE_PO4A\" was never defined.
9216
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9218
if test -z "${USE_PO4A_TRUE}" && test -z "${USE_PO4A_FALSE}"; then
9219
as_fn_error "conditional \"USE_PO4A\" was never defined.
9220
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9222
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9223
as_fn_error "conditional \"am__fastdepCC\" was never defined.
9224
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9226
if test -z "${BUILD_GTK_TRUE}" && test -z "${BUILD_GTK_FALSE}"; then
9227
as_fn_error "conditional \"BUILD_GTK\" was never defined.
9228
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9231
: ${CONFIG_STATUS=./config.status}
9233
ac_clean_files_save=$ac_clean_files
9234
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9235
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9236
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9238
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9240
# Generated by $as_me.
9241
# Run this file to recreate the current configuration.
9242
# Compiler output produced by configure, useful for debugging
9243
# configure, is in config.log if it exists.
9249
SHELL=\${CONFIG_SHELL-$SHELL}
9252
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9253
## -------------------- ##
9254
## M4sh Initialization. ##
9255
## -------------------- ##
9257
# Be more Bourne compatible
9258
DUALCASE=1; export DUALCASE # for MKS sh
9259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9262
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9263
# is contrary to our usage. Disable this feature.
9264
alias -g '${1+"$@"}'='"$@"'
9265
setopt NO_GLOB_SUBST
9267
case `(set -o) 2>/dev/null` in #(
9279
# Printing a long string crashes Solaris 7 /usr/bin/printf.
9280
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9281
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9282
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9283
# Prefer a ksh shell builtin over an external printf program on Solaris,
9284
# but without wasting forks for bash or zsh.
9285
if test -z "$BASH_VERSION$ZSH_VERSION" \
9286
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9287
as_echo='print -r --'
9288
as_echo_n='print -rn --'
9289
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9290
as_echo='printf %s\n'
9291
as_echo_n='printf %s'
9293
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9294
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9295
as_echo_n='/usr/ucb/echo -n'
9297
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9298
as_echo_n_body='eval
9302
expr "X$arg" : "X\\(.*\\)$as_nl";
9303
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9305
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9307
export as_echo_n_body
9308
as_echo_n='sh -c $as_echo_n_body as_echo'
9311
as_echo='sh -c $as_echo_body as_echo'
9314
# The user is always right.
9315
if test "${PATH_SEPARATOR+set}" != set; then
9317
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9318
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9325
# We need space, tab and new line, in precisely that order. Quoting is
9326
# there to prevent editors from complaining about space-tab.
9327
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9328
# splitting by setting IFS to empty value.)
9331
# Find who we are. Look in the path if we contain no directory separator.
9333
*[\\/]* ) as_myself=$0 ;;
9334
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9338
test -z "$as_dir" && as_dir=.
9339
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9345
# We did not find ourselves, most probably we were run as `sh COMMAND'
9346
# in which case we are not to be found in the path.
9347
if test "x$as_myself" = x; then
9350
if test ! -f "$as_myself"; then
9351
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9355
# Unset variables that we do not need and which cause bugs (e.g. in
9356
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9357
# suppresses any "Segmentation fault" message there. '((' could
9358
# trigger a bug in pdksh 5.2.14.
9359
for as_var in BASH_ENV ENV MAIL MAILPATH
9360
do eval test x\${$as_var+set} = xset \
9361
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9374
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9377
# as_fn_error ERROR [LINENO LOG_FD]
9378
# ---------------------------------
9379
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9380
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9381
# script with status $?, using 1 if that was 0.
9384
as_status=$?; test $as_status -eq 0 && as_status=1
9386
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9387
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
9389
$as_echo "$as_me: error: $1" >&2
9390
as_fn_exit $as_status
9394
# as_fn_set_status STATUS
9395
# -----------------------
9396
# Set $? to STATUS, without forking.
9400
} # as_fn_set_status
9404
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9414
# Portably unset VAR.
9417
{ eval $1=; unset $1;}
9419
as_unset=as_fn_unset
9420
# as_fn_append VAR VALUE
9421
# ----------------------
9422
# Append the text in VALUE to the end of the definition contained in VAR. Take
9423
# advantage of any shell optimizations that allow amortized linear growth over
9424
# repeated appends, instead of the typical quadratic growth present in naive
9426
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9427
eval 'as_fn_append ()
9438
# as_fn_arith ARG...
9439
# ------------------
9440
# Perform arithmetic evaluation on the ARGs, and store the result in the
9441
# global $as_val. Take advantage of shells that can avoid forks. The arguments
9442
# must be portable across $(()) and expr.
9443
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9444
eval 'as_fn_arith ()
9451
as_val=`expr "$@" || test $? -eq 1`
9456
if expr a : '\(a\)' >/dev/null 2>&1 &&
9457
test "X`expr 00001 : '.*\(...\)'`" = X001; then
9463
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9464
as_basename=basename
9469
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9475
as_me=`$as_basename -- "$0" ||
9476
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9477
X"$0" : 'X\(//\)$' \| \
9478
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9480
sed '/^.*\/\([^/][^/]*\)\/*$/{
9494
# Avoid depending upon Character Ranges.
9495
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9496
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9497
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9498
as_cr_digits='0123456789'
9499
as_cr_alnum=$as_cr_Letters$as_cr_digits
9501
ECHO_C= ECHO_N= ECHO_T=
9502
case `echo -n x` in #(((((
9504
case `echo 'xy\c'` in
9505
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
9507
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9514
rm -f conf$$ conf$$.exe conf$$.file
9515
if test -d conf$$.dir; then
9516
rm -f conf$$.dir/conf$$.file
9519
mkdir conf$$.dir 2>/dev/null
9521
if (echo >conf$$.file) 2>/dev/null; then
9522
if ln -s conf$$.file conf$$ 2>/dev/null; then
9524
# ... but there are two gotchas:
9525
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9526
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9527
# In both cases, we have to default to `cp -p'.
9528
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9530
elif ln conf$$.file conf$$ 2>/dev/null; then
9538
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9539
rmdir conf$$.dir 2>/dev/null
9544
# Create "$as_dir" as a directory, including parents if necessary.
9549
-*) as_dir=./$as_dir;;
9551
test -d "$as_dir" || eval $as_mkdir_p || {
9555
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9556
*) as_qdir=$as_dir;;
9558
as_dirs="'$as_qdir' $as_dirs"
9559
as_dir=`$as_dirname -- "$as_dir" ||
9560
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9561
X"$as_dir" : 'X\(//\)[^/]' \| \
9562
X"$as_dir" : 'X\(//\)$' \| \
9563
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9564
$as_echo X"$as_dir" |
9565
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9582
test -d "$as_dir" && break
9584
test -z "$as_dirs" || eval "mkdir $as_dirs"
9585
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
9589
if mkdir -p . 2>/dev/null; then
9590
as_mkdir_p='mkdir -p "$as_dir"'
9592
test -d ./-p && rmdir ./-p
9596
if test -x / >/dev/null 2>&1; then
9599
if ls -dL / >/dev/null 2>&1; then
9606
if test -d "$1"; then
9612
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9613
???[sx]*):;;*)false;;esac;fi
9617
as_executable_p=$as_test_x
9619
# Sed expression to map a string onto a valid CPP name.
9620
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9622
# Sed expression to map a string onto a valid variable name.
9623
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9627
## ----------------------------------- ##
9628
## Main body of $CONFIG_STATUS script. ##
9629
## ----------------------------------- ##
9631
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9633
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9634
# Save the log message, to keep $0 and so on meaningful, and to
9635
# report actual input values of CONFIG_FILES etc. instead of their
9636
# values after options handling.
9638
This file was extended by aptitude $as_me 0.6.3, which was
9639
generated by GNU Autoconf 2.65. Invocation command line was
9641
CONFIG_FILES = $CONFIG_FILES
9642
CONFIG_HEADERS = $CONFIG_HEADERS
9643
CONFIG_LINKS = $CONFIG_LINKS
9644
CONFIG_COMMANDS = $CONFIG_COMMANDS
9647
on `(hostname || uname -n) 2>/dev/null | sed 1q`
9652
case $ac_config_files in *"
9653
"*) set x $ac_config_files; shift; ac_config_files=$*;;
9656
case $ac_config_headers in *"
9657
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9661
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9662
# Files that config.status was made for.
9663
config_files="$ac_config_files"
9664
config_headers="$ac_config_headers"
9665
config_commands="$ac_config_commands"
9669
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9671
\`$as_me' instantiates files and other configuration actions
9672
from templates according to the current configuration. Unless the files
9673
and actions are specified as TAGs, all are instantiated by default.
9675
Usage: $0 [OPTION]... [TAG]...
9677
-h, --help print this help, then exit
9678
-V, --version print version number and configuration settings, then exit
9679
--config print configuration, then exit
9680
-q, --quiet, --silent
9681
do not print progress messages
9682
-d, --debug don't remove temporary files
9683
--recheck update $as_me by reconfiguring in the same conditions
9684
--file=FILE[:TEMPLATE]
9685
instantiate the configuration file FILE
9686
--header=FILE[:TEMPLATE]
9687
instantiate the configuration header FILE
9689
Configuration files:
9692
Configuration headers:
9695
Configuration commands:
9698
Report bugs to the package provider."
9701
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9702
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9704
aptitude config.status 0.6.3
9705
configured by $0, generated by GNU Autoconf 2.65,
9706
with options \\"\$ac_cs_config\\"
9708
Copyright (C) 2009 Free Software Foundation, Inc.
9709
This config.status script is free software; the Free Software Foundation
9710
gives unlimited permission to copy, distribute and modify it."
9717
test -n "\$AWK" || AWK=awk
9720
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9721
# The default lists apply if the user does not specify any file.
9727
ac_option=`expr "X$1" : 'X\([^=]*\)='`
9728
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9739
# Handling of the options.
9740
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9742
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9743
$as_echo "$ac_cs_version"; exit ;;
9744
--config | --confi | --conf | --con | --co | --c )
9745
$as_echo "$ac_cs_config"; exit ;;
9746
--debug | --debu | --deb | --de | --d | -d )
9748
--file | --fil | --fi | --f )
9751
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9753
as_fn_append CONFIG_FILES " '$ac_optarg'"
9754
ac_need_defaults=false;;
9755
--header | --heade | --head | --hea )
9758
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9760
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9761
ac_need_defaults=false;;
9763
# Conflict between --help and --header
9764
as_fn_error "ambiguous option: \`$1'
9765
Try \`$0 --help' for more information.";;
9766
--help | --hel | -h )
9767
$as_echo "$ac_cs_usage"; exit ;;
9768
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
9769
| -silent | --silent | --silen | --sile | --sil | --si | --s)
9773
-*) as_fn_error "unrecognized option: \`$1'
9774
Try \`$0 --help' for more information." ;;
9776
*) as_fn_append ac_config_targets " $1"
9777
ac_need_defaults=false ;;
9783
ac_configure_extra_args=
9785
if $ac_cs_silent; then
9787
ac_configure_extra_args="$ac_configure_extra_args --silent"
9791
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9792
if \$ac_cs_recheck; then
9793
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9795
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9796
CONFIG_SHELL='$SHELL'
9802
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9806
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9807
## Running $as_me. ##
9813
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9817
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9818
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
9819
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9821
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9822
# Capture the value of LINGUAS because we need it to compute CATALOGS.
9823
LINGUAS="${LINGUAS-%UNSET%}"
9828
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9830
# Handling of arguments.
9831
for ac_config_target in $ac_config_targets
9833
case $ac_config_target in
9834
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9835
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9836
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
9837
"Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
9838
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9839
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9840
"doc/cs/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cs/Makefile" ;;
9841
"doc/cs/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cs/images/Makefile" ;;
9842
"doc/de/Makefile") CONFIG_FILES="$CONFIG_FILES doc/de/Makefile" ;;
9843
"doc/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
9844
"doc/en/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/images/Makefile" ;;
9845
"doc/es/Makefile") CONFIG_FILES="$CONFIG_FILES doc/es/Makefile" ;;
9846
"doc/es/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/es/images/Makefile" ;;
9847
"doc/fi/Makefile") CONFIG_FILES="$CONFIG_FILES doc/fi/Makefile" ;;
9848
"doc/fi/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/fi/images/Makefile" ;;
9849
"doc/fr/Makefile") CONFIG_FILES="$CONFIG_FILES doc/fr/Makefile" ;;
9850
"doc/fr/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/fr/images/Makefile" ;;
9851
"doc/ja/Makefile") CONFIG_FILES="$CONFIG_FILES doc/ja/Makefile" ;;
9852
"doc/ja/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/ja/images/Makefile" ;;
9853
"doc/po4a/Makefile") CONFIG_FILES="$CONFIG_FILES doc/po4a/Makefile" ;;
9854
"doc/po4a/po/Makefile") CONFIG_FILES="$CONFIG_FILES doc/po4a/po/Makefile" ;;
9855
"doc/po4a/add_de/Makefile") CONFIG_FILES="$CONFIG_FILES doc/po4a/add_de/Makefile" ;;
9856
"doc/po4a/add_es/Makefile") CONFIG_FILES="$CONFIG_FILES doc/po4a/add_es/Makefile" ;;
9857
"doc/po4a/add_fr/Makefile") CONFIG_FILES="$CONFIG_FILES doc/po4a/add_fr/Makefile" ;;
9858
"m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9859
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9860
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9861
"src/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/Makefile" ;;
9862
"src/gtk/controllers/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/controllers/Makefile" ;;
9863
"src/gtk/toplevel/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/toplevel/Makefile" ;;
9864
"src/gtk/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/util/Makefile" ;;
9865
"src/gtk/views/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/views/Makefile" ;;
9866
"src/gtk/views/mocks/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/views/mocks/Makefile" ;;
9867
"src/gtk/view-impls/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/view-impls/Makefile" ;;
9868
"src/cmdline/Makefile") CONFIG_FILES="$CONFIG_FILES src/cmdline/Makefile" ;;
9869
"src/cmdline/mocks/Makefile") CONFIG_FILES="$CONFIG_FILES src/cmdline/mocks/Makefile" ;;
9870
"src/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic/Makefile" ;;
9871
"src/generic/apt/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic/apt/Makefile" ;;
9872
"src/generic/apt/history/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic/apt/history/Makefile" ;;
9873
"src/generic/apt/matching/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic/apt/matching/Makefile" ;;
9874
"src/generic/problemresolver/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic/problemresolver/Makefile" ;;
9875
"src/generic/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic/util/Makefile" ;;
9876
"src/mine/Makefile") CONFIG_FILES="$CONFIG_FILES src/mine/Makefile" ;;
9877
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
9879
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9884
# If the user did not use the arguments to specify the items to instantiate,
9885
# then the envvar interface is used. Set only those that are not.
9886
# We use the long form for the default assignment because of an extremely
9887
# bizarre bug on SunOS 4.1.3.
9888
if $ac_need_defaults; then
9889
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9890
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9891
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9894
# Have a temporary directory for convenience. Make it in the build tree
9895
# simply because there is no reason against having it here, and in addition,
9896
# creating and moving files from /tmp can sometimes cause problems.
9897
# Hook for its removal unless debugging.
9898
# Note that there is a small window in which the directory will not be cleaned:
9899
# after its creation but before its name has been assigned to `$tmp'.
9903
trap 'exit_status=$?
9904
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9906
trap 'as_fn_exit 1' 1 2 13 15
9908
# Create a (secure) tmp directory for tmp files.
9911
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9912
test -n "$tmp" && test -d "$tmp"
9915
tmp=./conf$$-$RANDOM
9916
(umask 077 && mkdir "$tmp")
9917
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
9919
# Set up the scripts for CONFIG_FILES section.
9920
# No need to generate them if there are no CONFIG_FILES.
9921
# This happens for instance with `./config.status config.h'.
9922
if test -n "$CONFIG_FILES"; then
9925
ac_cr=`echo X | tr X '\015'`
9926
# On cygwin, bash can eat \r inside `` if the user requested igncr.
9927
# But we know of no other shell where ac_cr would be empty at this
9928
# point, so we can use a bashism as a fallback.
9929
if test "x$ac_cr" = x; then
9930
eval ac_cr=\$\'\\r\'
9932
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9933
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9939
echo 'BEGIN {' >"$tmp/subs1.awk" &&
9944
echo "cat >conf$$subs.awk <<_ACEOF" &&
9945
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9948
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9949
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9951
for ac_last_try in false false false false false :; do
9952
. ./conf$$subs.sh ||
9953
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9955
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9956
if test $ac_delim_n = $ac_delim_num; then
9958
elif $ac_last_try; then
9959
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9961
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9966
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9967
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9971
s/^/S["/; s/!.*/"]=/
9981
s/\(.\{148\}\)..*/\1/
9983
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9988
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9995
s/\(.\{148\}\)..*/\1/
9997
s/["\\]/\\&/g; s/^/"/; s/$/"/
10001
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10006
' <conf$$subs.awk | sed '
10011
' >>$CONFIG_STATUS || ac_write_fail=1
10012
rm -f conf$$subs.awk
10013
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10015
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10016
for (key in S) S_is_set[key] = 1
10022
nfields = split(line, field, "@")
10024
len = length(field[1])
10025
for (i = 2; i < nfields; i++) {
10027
keylen = length(key)
10028
if (S_is_set[key]) {
10030
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10031
len += length(value) + length(field[++i])
10042
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10043
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10044
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10047
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10048
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
10051
# VPATH may cause trouble with some makes, so we remove $(srcdir),
10052
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10053
# trailing colons and then remove the whole line if VPATH becomes empty
10054
# (actually we leave an empty line to preserve line numbers).
10055
if test "x$srcdir" = x.; then
10056
ac_vpsub='/^[ ]*VPATH[ ]*=/{
10057
s/:*\$(srcdir):*/:/
10058
s/:*\${srcdir}:*/:/
10060
s/^\([^=]*=[ ]*\):*/\1/
10066
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10067
fi # test -n "$CONFIG_FILES"
10069
# Set up the scripts for CONFIG_HEADERS section.
10070
# No need to generate them if there are no CONFIG_HEADERS.
10071
# This happens for instance with `./config.status Makefile'.
10072
if test -n "$CONFIG_HEADERS"; then
10073
cat >"$tmp/defines.awk" <<\_ACAWK ||
10077
# Transform confdefs.h into an awk script `defines.awk', embedded as
10078
# here-document in config.status, that substitutes the proper values into
10079
# config.h.in to produce config.h.
10081
# Create a delimiter string that does not exist in confdefs.h, to ease
10082
# handling of long lines.
10084
for ac_last_try in false false :; do
10085
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10086
if test -z "$ac_t"; then
10088
elif $ac_last_try; then
10089
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
10091
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10095
# For the awk script, D is an array of macro values keyed by name,
10096
# likewise P contains macro parameters if any. Preserve backslash
10097
# newline sequences.
10099
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10101
s/.\{148\}/&'"$ac_delim"'/g
10104
s/^[ ]*#[ ]*define[ ][ ]*/ /
10111
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10113
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10117
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10118
D["\1"]=" \3\\\\\\n"\\/p
10120
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10125
s/.\{148\}/&'"$ac_delim"'/g
10130
s/["\\]/\\&/g; s/^/"/; s/$/"/p
10133
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10135
' <confdefs.h | sed '
10136
s/'"$ac_delim"'/"\\\
10137
"/g' >>$CONFIG_STATUS || ac_write_fail=1
10139
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10140
for (key in D) D_is_set[key] = 1
10143
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10145
split(line, arg, " ")
10146
if (arg[1] == "#") {
10150
defundef = substr(arg[1], 2)
10153
split(mac1, mac2, "(") #)
10155
prefix = substr(line, 1, index(line, defundef) - 1)
10156
if (D_is_set[macro]) {
10157
# Preserve the white space surrounding the "#".
10158
print prefix "define", macro P[macro] D[macro]
10161
# Replace #undef with comments. This is necessary, for example,
10162
# in the case of _POSIX_SOURCE, which is predefined and required
10163
# on some systems where configure will not decide to define it.
10164
if (defundef == "undef") {
10165
print "/*", prefix defundef, macro, "*/"
10173
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10174
as_fn_error "could not setup config headers machinery" "$LINENO" 5
10175
fi # test -n "$CONFIG_HEADERS"
10178
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10183
:[FHLC]) ac_mode=$ac_tag; continue;;
10185
case $ac_mode$ac_tag in
10187
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
10188
:[FH]-) ac_tag=-:-;;
10189
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10206
-) ac_f="$tmp/stdin";;
10207
*) # Look for the file first in the build tree, then in the source tree
10208
# (if the path is not absolute). The absolute path cannot be DOS-style,
10209
# because $ac_f cannot contain `:'.
10213
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10215
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10217
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10218
as_fn_append ac_file_inputs " '$ac_f'"
10221
# Let's still pretend it is `configure' which instantiates (i.e., don't
10222
# use $as_me), people would be surprised to read:
10223
# /* config.h. Generated by config.status. */
10224
configure_input='Generated from '`
10225
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10227
if test x"$ac_file" != x-; then
10228
configure_input="$ac_file. $configure_input"
10229
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10230
$as_echo "$as_me: creating $ac_file" >&6;}
10232
# Neutralize special characters interpreted by sed in replacement strings.
10233
case $configure_input in #(
10234
*\&* | *\|* | *\\* )
10235
ac_sed_conf_input=`$as_echo "$configure_input" |
10236
sed 's/[\\\\&|]/\\\\&/g'`;; #(
10237
*) ac_sed_conf_input=$configure_input;;
10241
*:-:* | *:-) cat >"$tmp/stdin" \
10242
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
10247
ac_dir=`$as_dirname -- "$ac_file" ||
10248
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10249
X"$ac_file" : 'X\(//\)[^/]' \| \
10250
X"$ac_file" : 'X\(//\)$' \| \
10251
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10252
$as_echo X"$ac_file" |
10253
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10257
/^X\(\/\/\)[^/].*/{
10270
as_dir="$ac_dir"; as_fn_mkdir_p
10274
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10276
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10277
# A ".." for each directory in $ac_dir_suffix.
10278
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10279
case $ac_top_builddir_sub in
10280
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10281
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10284
ac_abs_top_builddir=$ac_pwd
10285
ac_abs_builddir=$ac_pwd$ac_dir_suffix
10286
# for backward compatibility:
10287
ac_top_builddir=$ac_top_build_prefix
10290
.) # We are building in place.
10292
ac_top_srcdir=$ac_top_builddir_sub
10293
ac_abs_top_srcdir=$ac_pwd ;;
10294
[\\/]* | ?:[\\/]* ) # Absolute name.
10295
ac_srcdir=$srcdir$ac_dir_suffix;
10296
ac_top_srcdir=$srcdir
10297
ac_abs_top_srcdir=$srcdir ;;
10298
*) # Relative name.
10299
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10300
ac_top_srcdir=$ac_top_build_prefix$srcdir
10301
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10303
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10313
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10314
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10316
ac_MKDIR_P=$MKDIR_P
10318
[\\/$]* | ?:[\\/]* ) ;;
10319
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10323
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10324
# If the template does not know about datarootdir, expand it.
10325
# FIXME: This hack should be removed a few years after 2.60.
10326
ac_datarootdir_hack=; ac_datarootdir_seen=
10337
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10338
*datarootdir*) ac_datarootdir_seen=yes;;
10339
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10340
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10341
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10343
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10344
ac_datarootdir_hack='
10345
s&@datadir@&$datadir&g
10346
s&@docdir@&$docdir&g
10347
s&@infodir@&$infodir&g
10348
s&@localedir@&$localedir&g
10349
s&@mandir@&$mandir&g
10350
s&\\\${datarootdir}&$datarootdir&g' ;;
10354
# Neutralize VPATH when `$srcdir' = `.'.
10355
# Shell code in configure.ac might set extrasub.
10356
# FIXME: do we really want to maintain this feature?
10357
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10358
ac_sed_extra="$ac_vpsub
10361
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10363
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10364
s|@configure_input@|$ac_sed_conf_input|;t t
10365
s&@top_builddir@&$ac_top_builddir_sub&;t t
10366
s&@top_build_prefix@&$ac_top_build_prefix&;t t
10367
s&@srcdir@&$ac_srcdir&;t t
10368
s&@abs_srcdir@&$ac_abs_srcdir&;t t
10369
s&@top_srcdir@&$ac_top_srcdir&;t t
10370
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10371
s&@builddir@&$ac_builddir&;t t
10372
s&@abs_builddir@&$ac_abs_builddir&;t t
10373
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10374
s&@INSTALL@&$ac_INSTALL&;t t
10375
s&@MKDIR_P@&$ac_MKDIR_P&;t t
10376
$ac_datarootdir_hack
10378
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10379
|| as_fn_error "could not create $ac_file" "$LINENO" 5
10381
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10382
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10383
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10384
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10385
which seems to be undefined. Please make sure it is defined." >&5
10386
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10387
which seems to be undefined. Please make sure it is defined." >&2;}
10391
-) cat "$tmp/out" && rm -f "$tmp/out";;
10392
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10394
|| as_fn_error "could not create $ac_file" "$LINENO" 5
10400
if test x"$ac_file" != x-; then
10402
$as_echo "/* $configure_input */" \
10403
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10404
} >"$tmp/config.h" \
10405
|| as_fn_error "could not create $ac_file" "$LINENO" 5
10406
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10407
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10408
$as_echo "$as_me: $ac_file is unchanged" >&6;}
10411
mv "$tmp/config.h" "$ac_file" \
10412
|| as_fn_error "could not create $ac_file" "$LINENO" 5
10415
$as_echo "/* $configure_input */" \
10416
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10417
|| as_fn_error "could not create -" "$LINENO" 5
10419
# Compute "$ac_file"'s index in $config_headers.
10422
for _am_header in $config_headers :; do
10423
case $_am_header in
10424
$_am_arg | $_am_arg:* )
10427
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
10430
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10431
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10432
X"$_am_arg" : 'X\(//\)[^/]' \| \
10433
X"$_am_arg" : 'X\(//\)$' \| \
10434
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10435
$as_echo X"$_am_arg" |
10436
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10440
/^X\(\/\/\)[^/].*/{
10452
s/.*/./; q'`/stamp-h$_am_stamp_count
10455
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10456
$as_echo "$as_me: executing $ac_file commands" >&6;}
10461
case $ac_file$ac_mode in
10462
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10463
# Autoconf 2.62 quotes --file arguments for eval, but not when files
10464
# are listed without --file. Let's play safe and only enable the eval
10465
# if we detect the quoting.
10466
case $CONFIG_FILES in
10467
*\'*) eval set x "$CONFIG_FILES" ;;
10468
*) set x $CONFIG_FILES ;;
10473
# Strip MF so we end up with the name of the file.
10474
mf=`echo "$mf" | sed -e 's/:.*$//'`
10475
# Check whether this is an Automake generated Makefile or not.
10476
# We used to match only the files named `Makefile.in', but
10477
# some people rename them; so instead we look at the file content.
10478
# Grep'ing the first line is not enough: some people post-process
10479
# each Makefile.in and add a new line on top of each file to say so.
10480
# Grep'ing the whole file is not good either: AIX grep has a line
10481
# limit of 2048, but all sed's we know have understand at least 4000.
10482
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10483
dirpart=`$as_dirname -- "$mf" ||
10484
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10485
X"$mf" : 'X\(//\)[^/]' \| \
10486
X"$mf" : 'X\(//\)$' \| \
10487
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10489
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10493
/^X\(\/\/\)[^/].*/{
10509
# Extract the definition of DEPDIR, am__include, and am__quote
10510
# from the Makefile without running `make'.
10511
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10512
test -z "$DEPDIR" && continue
10513
am__include=`sed -n 's/^am__include = //p' < "$mf"`
10514
test -z "am__include" && continue
10515
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10516
# When using ansi2knr, U may be empty or an underscore; expand it
10517
U=`sed -n 's/^U = //p' < "$mf"`
10518
# Find all dependency output files, they are included files with
10519
# $(DEPDIR) in their names. We invoke sed twice because it is the
10520
# simplest approach to changing $(DEPDIR) to its actual value in the
10522
for file in `sed -n "
10523
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10524
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10525
# Make sure the directory exists.
10526
test -f "$dirpart/$file" && continue
10527
fdir=`$as_dirname -- "$file" ||
10528
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10529
X"$file" : 'X\(//\)[^/]' \| \
10530
X"$file" : 'X\(//\)$' \| \
10531
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10532
$as_echo X"$file" |
10533
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10537
/^X\(\/\/\)[^/].*/{
10550
as_dir=$dirpart/$fdir; as_fn_mkdir_p
10551
# echo "creating $dirpart/$file"
10552
echo '# dummy' > "$dirpart/$file"
10558
for ac_file in $CONFIG_FILES; do
10559
# Support "outfile[:infile[:infile...]]"
10561
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10563
# PO directories have a Makefile.in generated from Makefile.in.in.
10564
case "$ac_file" in */Makefile.in)
10565
# Adjust a relative srcdir.
10566
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10567
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
10568
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10569
# In autoconf-2.13 it is called $ac_given_srcdir.
10570
# In autoconf-2.50 it is called $srcdir.
10571
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10572
case "$ac_given_srcdir" in
10573
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10574
/*) top_srcdir="$ac_given_srcdir" ;;
10575
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
10577
# Treat a directory as a PO directory if and only if it has a
10578
# POTFILES.in file. This allows packages to have multiple PO
10579
# directories under different names or in different locations.
10580
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10581
rm -f "$ac_dir/POTFILES"
10582
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10583
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10584
POMAKEFILEDEPS="POTFILES.in"
10585
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10586
# on $ac_dir but don't depend on user-specified configuration
10588
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10589
# The LINGUAS file contains the set of available languages.
10590
if test -n "$OBSOLETE_ALL_LINGUAS"; then
10591
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10593
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10594
# Hide the ALL_LINGUAS assigment from automake.
10595
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10596
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10598
# The set of available languages was given in configure.in.
10599
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10602
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10603
# Compute UPDATEPOFILES
10604
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10605
# Compute DUMMYPOFILES
10606
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10608
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10609
case "$ac_given_srcdir" in
10611
*) srcdirpre='$(srcdir)/' ;;
10617
for lang in $ALL_LINGUAS; do
10618
POFILES="$POFILES $srcdirpre$lang.po"
10619
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10620
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10621
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10623
# CATALOGS depends on both $ac_dir and the user's LINGUAS
10624
# environment variable.
10626
if test -n "$ALL_LINGUAS"; then
10627
for presentlang in $ALL_LINGUAS; do
10629
if test "%UNSET%" != "$LINGUAS"; then
10630
desiredlanguages="$LINGUAS"
10632
desiredlanguages="$ALL_LINGUAS"
10634
for desiredlang in $desiredlanguages; do
10635
# Use the presentlang catalog if desiredlang is
10636
# a. equal to presentlang, or
10637
# b. a variant of presentlang (because in this case,
10638
# presentlang can be used as a fallback for messages
10639
# which are not translated in the desiredlang catalog).
10640
case "$desiredlang" in
10641
"$presentlang"*) useit=yes;;
10644
if test $useit = yes; then
10645
INST_LINGUAS="$INST_LINGUAS $presentlang"
10650
if test -n "$INST_LINGUAS"; then
10651
for lang in $INST_LINGUAS; do
10652
CATALOGS="$CATALOGS $lang.gmo"
10655
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10656
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10657
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10658
if test -f "$f"; then
10660
*.orig | *.bak | *~) ;;
10661
*) cat "$f" >> "$ac_dir/Makefile" ;;
10676
ac_clean_files=$ac_clean_files_save
10678
test $ac_write_fail = 0 ||
10679
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
10682
# configure is writing to config.log, and then calls config.status.
10683
# config.status does its own redirection, appending to config.log.
10684
# Unfortunately, on DOS this fails, as config.log is still kept open
10685
# by configure, so config.status won't be able to write to it; its
10686
# output is simply discarded. So we exec the FD to /dev/null,
10687
# effectively closing config.log, so it can be properly (re)opened and
10688
# appended to by config.status. When coming back to configure, we
10689
# need to make the FD available again.
10690
if test "$no_create" != yes; then
10692
ac_config_status_args=
10693
test "$silent" = yes &&
10694
ac_config_status_args="$ac_config_status_args --quiet"
10696
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10698
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
10699
# would make configure fail if this is the last instruction.
10700
$ac_cs_success || as_fn_exit $?
10702
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10703
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10704
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}