2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67 for Me TV 1.3.6.
5
# Report bugs to <http://launchpad.net/me-tv>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
16
# Michael Lamothe <michael.lamothe@gmail.com>
17
## -------------------- ##
18
## M4sh Initialization. ##
19
## -------------------- ##
21
# Be more Bourne compatible
22
DUALCASE=1; export DUALCASE # for MKS sh
23
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27
# is contrary to our usage. Disable this feature.
28
alias -g '${1+"$@"}'='"$@"'
31
case `(set -o) 2>/dev/null` in #(
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
# Prefer a ksh shell builtin over an external printf program on Solaris,
48
# but without wasting forks for bash or zsh.
49
if test -z "$BASH_VERSION$ZSH_VERSION" \
50
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
52
as_echo_n='print -rn --'
53
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
57
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
58
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59
as_echo_n='/usr/ucb/echo -n'
61
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66
expr "X$arg" : "X\\(.*\\)$as_nl";
67
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
69
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72
as_echo_n='sh -c $as_echo_n_body as_echo'
75
as_echo='sh -c $as_echo_body as_echo'
78
# The user is always right.
79
if test "${PATH_SEPARATOR+set}" != set; then
81
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
89
# We need space, tab and new line, in precisely that order. Quoting is
90
# there to prevent editors from complaining about space-tab.
91
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
92
# splitting by setting IFS to empty value.)
95
# Find who we are. Look in the path if we contain no directory separator.
97
*[\\/]* ) as_myself=$0 ;;
98
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
test -z "$as_dir" && as_dir=.
103
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109
# We did not find ourselves, most probably we were run as `sh COMMAND'
110
# in which case we are not to be found in the path.
111
if test "x$as_myself" = x; then
114
if test ! -f "$as_myself"; then
115
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
# Unset variables that we do not need and which cause bugs (e.g. in
120
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121
# suppresses any "Segmentation fault" message there. '((' could
122
# trigger a bug in pdksh 5.2.14.
123
for as_var in BASH_ENV ENV MAIL MAILPATH
124
do eval test x\${$as_var+set} = xset \
125
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
138
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
140
if test "x$CONFIG_SHELL" = x; then
141
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145
# is contrary to our usage. Disable this feature.
146
alias -g '\${1+\"\$@\"}'='\"\$@\"'
149
case \`(set -o) 2>/dev/null\` in #(
157
as_required="as_fn_return () { (exit \$1); }
158
as_fn_success () { as_fn_return 0; }
159
as_fn_failure () { as_fn_return 1; }
160
as_fn_ret_success () { return 0; }
161
as_fn_ret_failure () { return 1; }
164
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
171
exitcode=1; echo positional parameters were not saved.
173
test x\$exitcode = x0 || exit 1"
174
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178
test \$(( 1 + 1 )) = 2 || exit 1"
179
if (eval "$as_required") 2>/dev/null; then :
184
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
189
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192
test -z "$as_dir" && as_dir=.
196
for as_base in sh bash ksh sh5; do
197
# Try only shells that exist, to save several forks.
198
as_shell=$as_dir/$as_base
199
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
200
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
201
CONFIG_SHELL=$as_shell as_have_required=yes
202
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
211
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
212
CONFIG_SHELL=$SHELL as_have_required=yes
217
if test "x$CONFIG_SHELL" != x; then :
218
# We cannot yet assume a decent shell, so we have to provide a
219
# neutralization value for shells without unset; and this also
220
# works around shells that cannot unset nonexistent variables.
223
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
225
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228
if test x$as_have_required = xno; then :
229
$as_echo "$0: This script requires a shell more modern than all"
230
$as_echo "$0: the shells that I found on your system."
231
if test x${ZSH_VERSION+set} = xset ; then
232
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
233
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
235
$as_echo "$0: Please tell bug-autoconf@gnu.org and
236
$0: http://launchpad.net/me-tv about your system, including
237
$0: any error possibly output before this message. Then
238
$0: install a modern shell, or manually run the script
239
$0: under such a shell if you do have one."
245
SHELL=${CONFIG_SHELL-/bin/sh}
247
# Unset more variables known to interfere with behavior of common tools.
248
CLICOLOR_FORCE= GREP_OPTIONS=
249
unset CLICOLOR_FORCE GREP_OPTIONS
251
## --------------------- ##
252
## M4sh Shell Functions. ##
253
## --------------------- ##
256
# Portably unset VAR.
259
{ eval $1=; unset $1;}
263
# as_fn_set_status STATUS
264
# -----------------------
265
# Set $? to STATUS, without forking.
273
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
283
# Create "$as_dir" as a directory, including parents if necessary.
288
-*) as_dir=./$as_dir;;
290
test -d "$as_dir" || eval $as_mkdir_p || {
294
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
297
as_dirs="'$as_qdir' $as_dirs"
298
as_dir=`$as_dirname -- "$as_dir" ||
299
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
300
X"$as_dir" : 'X\(//\)[^/]' \| \
301
X"$as_dir" : 'X\(//\)$' \| \
302
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
303
$as_echo X"$as_dir" |
304
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
321
test -d "$as_dir" && break
323
test -z "$as_dirs" || eval "mkdir $as_dirs"
324
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
328
# as_fn_append VAR VALUE
329
# ----------------------
330
# Append the text in VALUE to the end of the definition contained in VAR. Take
331
# advantage of any shell optimizations that allow amortized linear growth over
332
# repeated appends, instead of the typical quadratic growth present in naive
334
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
335
eval 'as_fn_append ()
348
# Perform arithmetic evaluation on the ARGs, and store the result in the
349
# global $as_val. Take advantage of shells that can avoid forks. The arguments
350
# must be portable across $(()) and expr.
351
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359
as_val=`expr "$@" || test $? -eq 1`
364
# as_fn_error STATUS ERROR [LINENO LOG_FD]
365
# ----------------------------------------
366
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
367
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
368
# script with STATUS, using 1 if that was 0.
371
as_status=$1; test $as_status -eq 0 && as_status=1
373
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
374
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
376
$as_echo "$as_me: error: $2" >&2
377
as_fn_exit $as_status
380
if expr a : '\(a\)' >/dev/null 2>&1 &&
381
test "X`expr 00001 : '.*\(...\)'`" = X001; then
387
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
393
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
399
as_me=`$as_basename -- "$0" ||
400
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
401
X"$0" : 'X\(//\)$' \| \
402
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404
sed '/^.*\/\([^/][^/]*\)\/*$/{
418
# Avoid depending upon Character Ranges.
419
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
420
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
421
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
422
as_cr_digits='0123456789'
423
as_cr_alnum=$as_cr_Letters$as_cr_digits
426
as_lineno_1=$LINENO as_lineno_1a=$LINENO
427
as_lineno_2=$LINENO as_lineno_2a=$LINENO
428
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
429
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
430
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
442
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446
chmod +x "$as_me.lineno" ||
447
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
# Don't try to exec as it changes $[0], causing all sort of problems
450
# (the dirname of $[0] is not the place where we might find the
451
# original and so on. Autoconf is especially sensitive to this).
453
# Exit status is that of the last command.
457
ECHO_C= ECHO_N= ECHO_T=
458
case `echo -n x` in #(((((
460
case `echo 'xy\c'` in
461
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
463
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
470
rm -f conf$$ conf$$.exe conf$$.file
471
if test -d conf$$.dir; then
472
rm -f conf$$.dir/conf$$.file
475
mkdir conf$$.dir 2>/dev/null
477
if (echo >conf$$.file) 2>/dev/null; then
478
if ln -s conf$$.file conf$$ 2>/dev/null; then
480
# ... but there are two gotchas:
481
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
482
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
483
# In both cases, we have to default to `cp -p'.
484
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486
elif ln conf$$.file conf$$ 2>/dev/null; then
494
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
495
rmdir conf$$.dir 2>/dev/null
497
if mkdir -p . 2>/dev/null; then
498
as_mkdir_p='mkdir -p "$as_dir"'
500
test -d ./-p && rmdir ./-p
504
if test -x / >/dev/null 2>&1; then
507
if ls -dL / >/dev/null 2>&1; then
514
if test -d "$1"; then
520
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
521
???[sx]*):;;*)false;;esac;fi
525
as_executable_p=$as_test_x
527
# Sed expression to map a string onto a valid CPP name.
528
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
# Sed expression to map a string onto a valid variable name.
531
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
test -n "$DJDIR" || exec 7<&0 </dev/null
538
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
539
# so uname gets run too.
540
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545
ac_default_prefix=/usr/local
547
ac_config_libobj_dir=.
554
# Identity of this package.
556
PACKAGE_TARNAME='me-tv'
557
PACKAGE_VERSION='1.3.6'
558
PACKAGE_STRING='Me TV 1.3.6'
559
PACKAGE_BUGREPORT='http://launchpad.net/me-tv'
562
ac_unique_file="src/main.cc"
563
# Factoring default headers for most tests.
564
ac_includes_default="\
566
#ifdef HAVE_SYS_TYPES_H
567
# include <sys/types.h>
569
#ifdef HAVE_SYS_STAT_H
570
# include <sys/stat.h>
576
# ifdef HAVE_STDLIB_H
581
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
586
#ifdef HAVE_STRINGS_H
587
# include <strings.h>
589
#ifdef HAVE_INTTYPES_H
590
# include <inttypes.h>
601
ac_subst_vars='am__EXEEXT_FALSE
609
GCONF_SCHEMAS_INSTALL_FALSE
610
GCONF_SCHEMAS_INSTALL_TRUE
611
GCONF_SCHEMA_FILE_DIR
612
GCONF_SCHEMA_CONFIG_SOURCE
632
INTLTOOL_SERVICE_RULE
634
INTLTOOL_SCHEMAS_RULE
636
INTLTOOL_XML_NOMERGE_RULE
641
INTLTOOL_SOUNDLIST_RULE
648
INTLTOOL_DIRECTORY_RULE
649
INTLTOOL_DESKTOP_RULE
684
MAINTAINER_MODE_FALSE
713
INSTALL_STRIP_PROGRAM
755
program_transform_name
768
enable_option_checking
769
enable_dependency_tracking
770
enable_maintainer_mode
778
with_gconf_schema_file_dir
779
enable_schemas_install
783
ac_precious_vars='build_alias
807
# Initialize some variables set by options.
809
ac_init_version=false
810
ac_unrecognized_opts=
812
# The variables have the same names as the options, with
813
# dashes changed to underlines.
821
program_transform_name=s,x,x,
829
# Installation directory options.
830
# These are left unexpanded so users can "make install exec_prefix=/foo"
831
# and all the variables that are supposed to be based on exec_prefix
832
# by default will actually change.
833
# Use braces instead of parens because sh, perl, etc. also accept them.
834
# (The list follows the same order as the GNU Coding Standards.)
835
bindir='${exec_prefix}/bin'
836
sbindir='${exec_prefix}/sbin'
837
libexecdir='${exec_prefix}/libexec'
838
datarootdir='${prefix}/share'
839
datadir='${datarootdir}'
840
sysconfdir='${prefix}/etc'
841
sharedstatedir='${prefix}/com'
842
localstatedir='${prefix}/var'
843
includedir='${prefix}/include'
844
oldincludedir='/usr/include'
845
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
846
infodir='${datarootdir}/info'
851
libdir='${exec_prefix}/lib'
852
localedir='${datarootdir}/locale'
853
mandir='${datarootdir}/man'
859
# If the previous option needs an argument, assign it.
860
if test -n "$ac_prev"; then
861
eval $ac_prev=\$ac_option
867
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
872
# Accept the important Cygnus configure options, so we can diagnose typos.
874
case $ac_dashdash$ac_option in
878
-bindir | --bindir | --bindi | --bind | --bin | --bi)
880
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
883
-build | --build | --buil | --bui | --bu)
884
ac_prev=build_alias ;;
885
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
886
build_alias=$ac_optarg ;;
888
-cache-file | --cache-file | --cache-fil | --cache-fi \
889
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
890
ac_prev=cache_file ;;
891
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
892
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
893
cache_file=$ac_optarg ;;
896
cache_file=config.cache ;;
898
-datadir | --datadir | --datadi | --datad)
900
-datadir=* | --datadir=* | --datadi=* | --datad=*)
901
datadir=$ac_optarg ;;
903
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
904
| --dataroo | --dataro | --datar)
905
ac_prev=datarootdir ;;
906
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
907
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
908
datarootdir=$ac_optarg ;;
910
-disable-* | --disable-*)
911
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
912
# Reject names that are not valid shell variable names.
913
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914
as_fn_error $? "invalid feature name: $ac_useropt"
915
ac_useropt_orig=$ac_useropt
916
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917
case $ac_user_opts in
921
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
922
ac_unrecognized_sep=', ';;
924
eval enable_$ac_useropt=no ;;
926
-docdir | --docdir | --docdi | --doc | --do)
928
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
931
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
933
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
936
-enable-* | --enable-*)
937
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
938
# Reject names that are not valid shell variable names.
939
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940
as_fn_error $? "invalid feature name: $ac_useropt"
941
ac_useropt_orig=$ac_useropt
942
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943
case $ac_user_opts in
947
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
948
ac_unrecognized_sep=', ';;
950
eval enable_$ac_useropt=\$ac_optarg ;;
952
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
953
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
954
| --exec | --exe | --ex)
955
ac_prev=exec_prefix ;;
956
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
957
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
958
| --exec=* | --exe=* | --ex=*)
959
exec_prefix=$ac_optarg ;;
961
-gas | --gas | --ga | --g)
962
# Obsolete; use --with-gas.
965
-help | --help | --hel | --he | -h)
967
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
968
ac_init_help=recursive ;;
969
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
970
ac_init_help=short ;;
972
-host | --host | --hos | --ho)
973
ac_prev=host_alias ;;
974
-host=* | --host=* | --hos=* | --ho=*)
975
host_alias=$ac_optarg ;;
977
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
979
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
981
htmldir=$ac_optarg ;;
983
-includedir | --includedir | --includedi | --included | --include \
984
| --includ | --inclu | --incl | --inc)
985
ac_prev=includedir ;;
986
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
987
| --includ=* | --inclu=* | --incl=* | --inc=*)
988
includedir=$ac_optarg ;;
990
-infodir | --infodir | --infodi | --infod | --info | --inf)
992
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
993
infodir=$ac_optarg ;;
995
-libdir | --libdir | --libdi | --libd)
997
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1000
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1001
| --libexe | --libex | --libe)
1002
ac_prev=libexecdir ;;
1003
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1004
| --libexe=* | --libex=* | --libe=*)
1005
libexecdir=$ac_optarg ;;
1007
-localedir | --localedir | --localedi | --localed | --locale)
1008
ac_prev=localedir ;;
1009
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1010
localedir=$ac_optarg ;;
1012
-localstatedir | --localstatedir | --localstatedi | --localstated \
1013
| --localstate | --localstat | --localsta | --localst | --locals)
1014
ac_prev=localstatedir ;;
1015
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1016
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1017
localstatedir=$ac_optarg ;;
1019
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1021
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1022
mandir=$ac_optarg ;;
1024
-nfp | --nfp | --nf)
1025
# Obsolete; use --without-fp.
1028
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1029
| --no-cr | --no-c | -n)
1032
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1033
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1036
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1037
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1038
| --oldin | --oldi | --old | --ol | --o)
1039
ac_prev=oldincludedir ;;
1040
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1041
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1042
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1043
oldincludedir=$ac_optarg ;;
1045
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1047
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1048
prefix=$ac_optarg ;;
1050
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1051
| --program-pre | --program-pr | --program-p)
1052
ac_prev=program_prefix ;;
1053
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1054
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1055
program_prefix=$ac_optarg ;;
1057
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1058
| --program-suf | --program-su | --program-s)
1059
ac_prev=program_suffix ;;
1060
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1061
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1062
program_suffix=$ac_optarg ;;
1064
-program-transform-name | --program-transform-name \
1065
| --program-transform-nam | --program-transform-na \
1066
| --program-transform-n | --program-transform- \
1067
| --program-transform | --program-transfor \
1068
| --program-transfo | --program-transf \
1069
| --program-trans | --program-tran \
1070
| --progr-tra | --program-tr | --program-t)
1071
ac_prev=program_transform_name ;;
1072
-program-transform-name=* | --program-transform-name=* \
1073
| --program-transform-nam=* | --program-transform-na=* \
1074
| --program-transform-n=* | --program-transform-=* \
1075
| --program-transform=* | --program-transfor=* \
1076
| --program-transfo=* | --program-transf=* \
1077
| --program-trans=* | --program-tran=* \
1078
| --progr-tra=* | --program-tr=* | --program-t=*)
1079
program_transform_name=$ac_optarg ;;
1081
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1083
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1084
pdfdir=$ac_optarg ;;
1086
-psdir | --psdir | --psdi | --psd | --ps)
1088
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1091
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1092
| -silent | --silent | --silen | --sile | --sil)
1095
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1097
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1099
sbindir=$ac_optarg ;;
1101
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1102
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1103
| --sharedst | --shareds | --shared | --share | --shar \
1105
ac_prev=sharedstatedir ;;
1106
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1107
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1108
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1110
sharedstatedir=$ac_optarg ;;
1112
-site | --site | --sit)
1114
-site=* | --site=* | --sit=*)
1117
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1119
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1120
srcdir=$ac_optarg ;;
1122
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1123
| --syscon | --sysco | --sysc | --sys | --sy)
1124
ac_prev=sysconfdir ;;
1125
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1126
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1127
sysconfdir=$ac_optarg ;;
1129
-target | --target | --targe | --targ | --tar | --ta | --t)
1130
ac_prev=target_alias ;;
1131
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1132
target_alias=$ac_optarg ;;
1134
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1137
-version | --version | --versio | --versi | --vers | -V)
1138
ac_init_version=: ;;
1141
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1142
# Reject names that are not valid shell variable names.
1143
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144
as_fn_error $? "invalid package name: $ac_useropt"
1145
ac_useropt_orig=$ac_useropt
1146
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147
case $ac_user_opts in
1151
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1152
ac_unrecognized_sep=', ';;
1154
eval with_$ac_useropt=\$ac_optarg ;;
1156
-without-* | --without-*)
1157
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1158
# Reject names that are not valid shell variable names.
1159
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160
as_fn_error $? "invalid package name: $ac_useropt"
1161
ac_useropt_orig=$ac_useropt
1162
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163
case $ac_user_opts in
1167
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1168
ac_unrecognized_sep=', ';;
1170
eval with_$ac_useropt=no ;;
1173
# Obsolete; use --with-x.
1176
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1177
| --x-incl | --x-inc | --x-in | --x-i)
1178
ac_prev=x_includes ;;
1179
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1180
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1181
x_includes=$ac_optarg ;;
1183
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1184
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1185
ac_prev=x_libraries ;;
1186
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1187
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1188
x_libraries=$ac_optarg ;;
1190
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1191
Try \`$0 --help' for more information"
1195
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1196
# Reject names that are not valid shell variable names.
1197
case $ac_envvar in #(
1198
'' | [0-9]* | *[!_$as_cr_alnum]* )
1199
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1201
eval $ac_envvar=\$ac_optarg
1202
export $ac_envvar ;;
1205
# FIXME: should be removed in autoconf 3.0.
1206
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1207
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1208
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1209
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1215
if test -n "$ac_prev"; then
1216
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1217
as_fn_error $? "missing argument to $ac_option"
1220
if test -n "$ac_unrecognized_opts"; then
1221
case $enable_option_checking in
1223
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1224
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1228
# Check all directory arguments for consistency.
1229
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1230
datadir sysconfdir sharedstatedir localstatedir includedir \
1231
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1232
libdir localedir mandir
1234
eval ac_val=\$$ac_var
1235
# Remove trailing slashes.
1238
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1239
eval $ac_var=\$ac_val;;
1241
# Be sure to have absolute directory names.
1243
[\\/$]* | ?:[\\/]* ) continue;;
1244
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1246
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1249
# There might be people who depend on the old broken behavior: `$host'
1250
# used to hold the argument of --host etc.
1251
# FIXME: To remove some day.
1254
target=$target_alias
1256
# FIXME: To remove some day.
1257
if test "x$host_alias" != x; then
1258
if test "x$build_alias" = x; then
1259
cross_compiling=maybe
1260
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1261
If a cross compiler is detected then cross compile mode will be used" >&2
1262
elif test "x$build_alias" != "x$host_alias"; then
1268
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1270
test "$silent" = yes && exec 6>/dev/null
1273
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1274
ac_ls_di=`ls -di .` &&
1275
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1276
as_fn_error $? "working directory cannot be determined"
1277
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1278
as_fn_error $? "pwd does not report name of working directory"
1281
# Find the source files, if location was not specified.
1282
if test -z "$srcdir"; then
1283
ac_srcdir_defaulted=yes
1284
# Try the directory containing this script, then the parent directory.
1285
ac_confdir=`$as_dirname -- "$as_myself" ||
1286
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287
X"$as_myself" : 'X\(//\)[^/]' \| \
1288
X"$as_myself" : 'X\(//\)$' \| \
1289
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1290
$as_echo X"$as_myself" |
1291
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1309
if test ! -r "$srcdir/$ac_unique_file"; then
1313
ac_srcdir_defaulted=no
1315
if test ! -r "$srcdir/$ac_unique_file"; then
1316
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1317
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1319
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1321
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1323
# When building in place, set srcdir=.
1324
if test "$ac_abs_confdir" = "$ac_pwd"; then
1327
# Remove unnecessary trailing slashes from srcdir.
1328
# Double slashes in file names in object file debugging info
1329
# mess up M-x gdb in Emacs.
1331
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1333
for ac_var in $ac_precious_vars; do
1334
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1335
eval ac_env_${ac_var}_value=\$${ac_var}
1336
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1337
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1341
# Report the --help message.
1343
if test "$ac_init_help" = "long"; then
1344
# Omit some internal or obsolete options to make the list less imposing.
1345
# This message is too long to be a string in the A/UX 3.1 sh.
1347
\`configure' configures Me TV 1.3.6 to adapt to many kinds of systems.
1349
Usage: $0 [OPTION]... [VAR=VALUE]...
1351
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1352
VAR=VALUE. See below for descriptions of some of the useful variables.
1354
Defaults for the options are specified in brackets.
1357
-h, --help display this help and exit
1358
--help=short display options specific to this package
1359
--help=recursive display the short help of all the included packages
1360
-V, --version display version information and exit
1361
-q, --quiet, --silent do not print \`checking ...' messages
1362
--cache-file=FILE cache test results in FILE [disabled]
1363
-C, --config-cache alias for \`--cache-file=config.cache'
1364
-n, --no-create do not create output files
1365
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1367
Installation directories:
1368
--prefix=PREFIX install architecture-independent files in PREFIX
1369
[$ac_default_prefix]
1370
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1373
By default, \`make install' will install all the files in
1374
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1375
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1376
for instance \`--prefix=\$HOME'.
1378
For better control, use the options below.
1380
Fine tuning of the installation directories:
1381
--bindir=DIR user executables [EPREFIX/bin]
1382
--sbindir=DIR system admin executables [EPREFIX/sbin]
1383
--libexecdir=DIR program executables [EPREFIX/libexec]
1384
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1385
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1386
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1387
--libdir=DIR object code libraries [EPREFIX/lib]
1388
--includedir=DIR C header files [PREFIX/include]
1389
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1390
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1391
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1392
--infodir=DIR info documentation [DATAROOTDIR/info]
1393
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1394
--mandir=DIR man documentation [DATAROOTDIR/man]
1395
--docdir=DIR documentation root [DATAROOTDIR/doc/me-tv]
1396
--htmldir=DIR html documentation [DOCDIR]
1397
--dvidir=DIR dvi documentation [DOCDIR]
1398
--pdfdir=DIR pdf documentation [DOCDIR]
1399
--psdir=DIR ps documentation [DOCDIR]
1405
--program-prefix=PREFIX prepend PREFIX to installed program names
1406
--program-suffix=SUFFIX append SUFFIX to installed program names
1407
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1410
--x-includes=DIR X include files are in DIR
1411
--x-libraries=DIR X library files are in DIR
1415
if test -n "$ac_init_help"; then
1416
case $ac_init_help in
1417
short | recursive ) echo "Configuration of Me TV 1.3.6:";;
1422
--disable-option-checking ignore unrecognized --enable/--with options
1423
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1424
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1425
--disable-dependency-tracking speeds up one-time build
1426
--enable-dependency-tracking do not reject slow dependency extractors
1427
--enable-maintainer-mode enable make rules and dependencies not useful
1428
(and sometimes confusing) to the casual installer
1429
--enable-debug turn on debugging
1430
--enable-cxx-warnings=[no/minimum/yes]
1431
Turn on compiler warnings.
1433
--enable-iso-cxx Try to warn if code is not ISO C++
1434
--enable-more-warnings enable more compiler warnings (default=no)
1435
--disable-nls do not use Native Language Support
1436
--disable-schemas-install
1437
Disable the schemas installation
1438
--enable-gtk-doc Use gtk-doc to build documentation default=auto
1441
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1442
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1443
--with-x use the X Window System
1444
--with-gconf-source=sourceaddress
1445
Config database for installing schema files.
1446
--with-gconf-schema-file-dir=dir
1447
Directory for installing schema files.
1448
--with-html-dir=PATH path to installed docs
1450
Some influential environment variables:
1451
CC C compiler command
1452
CFLAGS C compiler flags
1453
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1454
nonstandard directory <lib dir>
1455
LIBS libraries to pass to the linker, e.g. -l<library>
1456
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1457
you have headers in a nonstandard directory <include dir>
1459
CXX C++ compiler command
1460
CXXFLAGS C++ compiler flags
1461
XMKMF Path to xmkmf, Makefile generator for X Window System
1462
PKG_CONFIG path to pkg-config utility
1464
directories to add to pkg-config's search path
1466
path overriding pkg-config's built-in search path
1468
C compiler flags for SQLITE, overriding pkg-config
1469
SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
1471
C compiler flags for ME_TV, overriding pkg-config
1472
ME_TV_LIBS linker flags for ME_TV, overriding pkg-config
1474
C compiler flags for ME_TV_PLAYER, overriding pkg-config
1476
linker flags for ME_TV_PLAYER, overriding pkg-config
1478
Use these variables to override the choices made by `configure' or to help
1479
it to find libraries and programs with nonstandard names/locations.
1481
Report bugs to <http://launchpad.net/me-tv>.
1486
if test "$ac_init_help" = "recursive"; then
1487
# If there are subdirs, report their specific --help.
1488
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1489
test -d "$ac_dir" ||
1490
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1495
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1497
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1498
# A ".." for each directory in $ac_dir_suffix.
1499
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1500
case $ac_top_builddir_sub in
1501
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1502
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1505
ac_abs_top_builddir=$ac_pwd
1506
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1507
# for backward compatibility:
1508
ac_top_builddir=$ac_top_build_prefix
1511
.) # We are building in place.
1513
ac_top_srcdir=$ac_top_builddir_sub
1514
ac_abs_top_srcdir=$ac_pwd ;;
1515
[\\/]* | ?:[\\/]* ) # Absolute name.
1516
ac_srcdir=$srcdir$ac_dir_suffix;
1517
ac_top_srcdir=$srcdir
1518
ac_abs_top_srcdir=$srcdir ;;
1520
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1521
ac_top_srcdir=$ac_top_build_prefix$srcdir
1522
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1524
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1526
cd "$ac_dir" || { ac_status=$?; continue; }
1527
# Check for guested configure.
1528
if test -f "$ac_srcdir/configure.gnu"; then
1530
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1531
elif test -f "$ac_srcdir/configure"; then
1533
$SHELL "$ac_srcdir/configure" --help=recursive
1535
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1537
cd "$ac_pwd" || { ac_status=$?; break; }
1541
test -n "$ac_init_help" && exit $ac_status
1542
if $ac_init_version; then
1544
Me TV configure 1.3.6
1545
generated by GNU Autoconf 2.67
1547
Copyright (C) 2010 Free Software Foundation, Inc.
1548
This configure script is free software; the Free Software Foundation
1549
gives unlimited permission to copy, distribute and modify it.
1551
Michael Lamothe <michael.lamothe@gmail.com>
1556
## ------------------------ ##
1557
## Autoconf initialization. ##
1558
## ------------------------ ##
1560
# ac_fn_c_try_compile LINENO
1561
# --------------------------
1562
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1563
ac_fn_c_try_compile ()
1565
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566
rm -f conftest.$ac_objext
1567
if { { ac_try="$ac_compile"
1569
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1570
*) ac_try_echo=$ac_try;;
1572
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573
$as_echo "$ac_try_echo"; } >&5
1574
(eval "$ac_compile") 2>conftest.err
1576
if test -s conftest.err; then
1577
grep -v '^ *+' conftest.err >conftest.er1
1578
cat conftest.er1 >&5
1579
mv -f conftest.er1 conftest.err
1581
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582
test $ac_status = 0; } && {
1583
test -z "$ac_c_werror_flag" ||
1584
test ! -s conftest.err
1585
} && test -s conftest.$ac_objext; then :
1588
$as_echo "$as_me: failed program was:" >&5
1589
sed 's/^/| /' conftest.$ac_ext >&5
1593
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1594
as_fn_set_status $ac_retval
1596
} # ac_fn_c_try_compile
1598
# ac_fn_c_try_cpp LINENO
1599
# ----------------------
1600
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1603
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604
if { { ac_try="$ac_cpp conftest.$ac_ext"
1606
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607
*) ac_try_echo=$ac_try;;
1609
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610
$as_echo "$ac_try_echo"; } >&5
1611
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1613
if test -s conftest.err; then
1614
grep -v '^ *+' conftest.err >conftest.er1
1615
cat conftest.er1 >&5
1616
mv -f conftest.er1 conftest.err
1618
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619
test $ac_status = 0; } > conftest.i && {
1620
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1621
test ! -s conftest.err
1625
$as_echo "$as_me: failed program was:" >&5
1626
sed 's/^/| /' conftest.$ac_ext >&5
1630
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1631
as_fn_set_status $ac_retval
1635
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1636
# -------------------------------------------------------
1637
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1638
# the include files in INCLUDES and setting the cache variable VAR
1640
ac_fn_c_check_header_mongrel ()
1642
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643
if eval "test \"\${$3+set}\"" = set; then :
1644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645
$as_echo_n "checking for $2... " >&6; }
1646
if eval "test \"\${$3+set}\"" = set; then :
1647
$as_echo_n "(cached) " >&6
1650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1651
$as_echo "$ac_res" >&6; }
1653
# Is the header compilable?
1654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1655
$as_echo_n "checking $2 usability... " >&6; }
1656
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1657
/* end confdefs.h. */
1661
if ac_fn_c_try_compile "$LINENO"; then :
1662
ac_header_compiler=yes
1664
ac_header_compiler=no
1666
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1668
$as_echo "$ac_header_compiler" >&6; }
1670
# Is the header present?
1671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1672
$as_echo_n "checking $2 presence... " >&6; }
1673
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1674
/* end confdefs.h. */
1677
if ac_fn_c_try_cpp "$LINENO"; then :
1678
ac_header_preproc=yes
1680
ac_header_preproc=no
1682
rm -f conftest.err conftest.i conftest.$ac_ext
1683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1684
$as_echo "$ac_header_preproc" >&6; }
1686
# So? What about this header?
1687
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1689
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1690
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1691
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1692
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1695
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1696
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1697
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1698
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1699
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1700
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1701
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1702
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1703
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1704
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1705
( $as_echo "## ----------------------------------------- ##
1706
## Report this to http://launchpad.net/me-tv ##
1707
## ----------------------------------------- ##"
1708
) | sed "s/^/$as_me: WARNING: /" >&2
1711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712
$as_echo_n "checking for $2... " >&6; }
1713
if eval "test \"\${$3+set}\"" = set; then :
1714
$as_echo_n "(cached) " >&6
1716
eval "$3=\$ac_header_compiler"
1719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720
$as_echo "$ac_res" >&6; }
1722
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724
} # ac_fn_c_check_header_mongrel
1726
# ac_fn_c_try_run LINENO
1727
# ----------------------
1728
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1729
# that executables *can* be run.
1732
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733
if { { ac_try="$ac_link"
1735
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736
*) ac_try_echo=$ac_try;;
1738
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739
$as_echo "$ac_try_echo"; } >&5
1740
(eval "$ac_link") 2>&5
1742
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1744
{ { case "(($ac_try" in
1745
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746
*) ac_try_echo=$ac_try;;
1748
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749
$as_echo "$ac_try_echo"; } >&5
1750
(eval "$ac_try") 2>&5
1752
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753
test $ac_status = 0; }; }; then :
1756
$as_echo "$as_me: program exited with status $ac_status" >&5
1757
$as_echo "$as_me: failed program was:" >&5
1758
sed 's/^/| /' conftest.$ac_ext >&5
1760
ac_retval=$ac_status
1762
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1763
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1764
as_fn_set_status $ac_retval
1768
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1769
# -------------------------------------------------------
1770
# Tests whether HEADER exists and can be compiled using the include files in
1771
# INCLUDES, setting the cache variable VAR accordingly.
1772
ac_fn_c_check_header_compile ()
1774
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776
$as_echo_n "checking for $2... " >&6; }
1777
if eval "test \"\${$3+set}\"" = set; then :
1778
$as_echo_n "(cached) " >&6
1780
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781
/* end confdefs.h. */
1785
if ac_fn_c_try_compile "$LINENO"; then :
1790
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794
$as_echo "$ac_res" >&6; }
1795
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797
} # ac_fn_c_check_header_compile
1799
# ac_fn_cxx_try_compile LINENO
1800
# ----------------------------
1801
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1802
ac_fn_cxx_try_compile ()
1804
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805
rm -f conftest.$ac_objext
1806
if { { ac_try="$ac_compile"
1808
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809
*) ac_try_echo=$ac_try;;
1811
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812
$as_echo "$ac_try_echo"; } >&5
1813
(eval "$ac_compile") 2>conftest.err
1815
if test -s conftest.err; then
1816
grep -v '^ *+' conftest.err >conftest.er1
1817
cat conftest.er1 >&5
1818
mv -f conftest.er1 conftest.err
1820
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821
test $ac_status = 0; } && {
1822
test -z "$ac_cxx_werror_flag" ||
1823
test ! -s conftest.err
1824
} && test -s conftest.$ac_objext; then :
1827
$as_echo "$as_me: failed program was:" >&5
1828
sed 's/^/| /' conftest.$ac_ext >&5
1832
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1833
as_fn_set_status $ac_retval
1835
} # ac_fn_cxx_try_compile
1837
# ac_fn_c_try_link LINENO
1838
# -----------------------
1839
# Try to link conftest.$ac_ext, and return whether this succeeded.
1842
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843
rm -f conftest.$ac_objext conftest$ac_exeext
1844
if { { ac_try="$ac_link"
1846
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847
*) ac_try_echo=$ac_try;;
1849
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850
$as_echo "$ac_try_echo"; } >&5
1851
(eval "$ac_link") 2>conftest.err
1853
if test -s conftest.err; then
1854
grep -v '^ *+' conftest.err >conftest.er1
1855
cat conftest.er1 >&5
1856
mv -f conftest.er1 conftest.err
1858
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859
test $ac_status = 0; } && {
1860
test -z "$ac_c_werror_flag" ||
1861
test ! -s conftest.err
1862
} && test -s conftest$ac_exeext && {
1863
test "$cross_compiling" = yes ||
1864
$as_test_x conftest$ac_exeext
1868
$as_echo "$as_me: failed program was:" >&5
1869
sed 's/^/| /' conftest.$ac_ext >&5
1873
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1874
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1875
# interfere with the next link command; also delete a directory that is
1876
# left behind by Apple's compiler. We do this before executing the actions.
1877
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879
as_fn_set_status $ac_retval
1881
} # ac_fn_c_try_link
1883
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1884
# -------------------------------------------
1885
# Tests whether TYPE exists after having included INCLUDES, setting cache
1886
# variable VAR accordingly.
1887
ac_fn_c_check_type ()
1889
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891
$as_echo_n "checking for $2... " >&6; }
1892
if eval "test \"\${$3+set}\"" = set; then :
1893
$as_echo_n "(cached) " >&6
1896
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897
/* end confdefs.h. */
1908
if ac_fn_c_try_compile "$LINENO"; then :
1909
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910
/* end confdefs.h. */
1921
if ac_fn_c_try_compile "$LINENO"; then :
1926
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932
$as_echo "$ac_res" >&6; }
1933
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1935
} # ac_fn_c_check_type
1937
# ac_fn_c_find_uintX_t LINENO BITS VAR
1938
# ------------------------------------
1939
# Finds an unsigned integer type with width BITS, setting cache variable VAR
1941
ac_fn_c_find_uintX_t ()
1943
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1945
$as_echo_n "checking for uint$2_t... " >&6; }
1946
if eval "test \"\${$3+set}\"" = set; then :
1947
$as_echo_n "(cached) " >&6
1950
# Order is important - never check a type that is potentially smaller
1951
# than half of the expected target width.
1952
for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1953
'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1954
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955
/* end confdefs.h. */
1956
$ac_includes_default
1960
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1967
if ac_fn_c_try_compile "$LINENO"; then :
1972
eval "$3=\$ac_type" ;;
1975
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1976
if eval test \"x\$"$3"\" = x"no"; then :
1984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985
$as_echo "$ac_res" >&6; }
1986
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1988
} # ac_fn_c_find_uintX_t
1990
# ac_fn_c_check_func LINENO FUNC VAR
1991
# ----------------------------------
1992
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1993
ac_fn_c_check_func ()
1995
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997
$as_echo_n "checking for $2... " >&6; }
1998
if eval "test \"\${$3+set}\"" = set; then :
1999
$as_echo_n "(cached) " >&6
2001
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002
/* end confdefs.h. */
2003
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2004
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2005
#define $2 innocuous_$2
2007
/* System header to define __stub macros and hopefully few prototypes,
2008
which can conflict with char $2 (); below.
2009
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2010
<limits.h> exists even on freestanding compilers. */
2013
# include <limits.h>
2015
# include <assert.h>
2020
/* Override any GCC internal prototype to avoid an error.
2021
Use char because int might match the return type of a GCC
2022
builtin and then its argument prototype would still apply. */
2027
/* The GNU C library defines this for functions which it implements
2028
to always fail with ENOSYS. Some functions are actually named
2029
something starting with __ and the normal name is an alias. */
2030
#if defined __stub_$2 || defined __stub___$2
2042
if ac_fn_c_try_link "$LINENO"; then :
2047
rm -f core conftest.err conftest.$ac_objext \
2048
conftest$ac_exeext conftest.$ac_ext
2051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2052
$as_echo "$ac_res" >&6; }
2053
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055
} # ac_fn_c_check_func
2056
cat >config.log <<_ACEOF
2057
This file contains any messages produced by compilers while
2058
running configure, to aid debugging if configure makes a mistake.
2060
It was created by Me TV $as_me 1.3.6, which was
2061
generated by GNU Autoconf 2.67. Invocation command line was
2073
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2074
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2075
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2076
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2077
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2079
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2080
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2082
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2083
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2084
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2085
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2086
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2087
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2088
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096
test -z "$as_dir" && as_dir=.
2097
$as_echo "PATH: $as_dir"
2113
# Keep a trace of the command line.
2114
# Strip out --no-create and --no-recursion so they do not pile up.
2115
# Strip out --silent because we don't want to record it for future runs.
2116
# Also quote any args containing shell meta-characters.
2117
# Make two passes to allow for proper duplicate-argument suppression.
2121
ac_must_keep_next=false
2127
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2128
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2129
| -silent | --silent | --silen | --sile | --sil)
2132
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2135
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2137
as_fn_append ac_configure_args1 " '$ac_arg'"
2138
if test $ac_must_keep_next = true; then
2139
ac_must_keep_next=false # Got value, back to normal.
2142
*=* | --config-cache | -C | -disable-* | --disable-* \
2143
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2144
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2145
| -with-* | --with-* | -without-* | --without-* | --x)
2146
case "$ac_configure_args0 " in
2147
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2150
-* ) ac_must_keep_next=true ;;
2153
as_fn_append ac_configure_args " '$ac_arg'"
2158
{ ac_configure_args0=; unset ac_configure_args0;}
2159
{ ac_configure_args1=; unset ac_configure_args1;}
2161
# When interrupted or exit'd, cleanup temporary files, and complete
2162
# config.log. We remove comments because anyway the quotes in there
2163
# would cause problems or look ugly.
2164
# WARNING: Use '\'' to represent an apostrophe within the trap.
2165
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2166
trap 'exit_status=$?
2167
# Save into config.log some information that might help in debugging.
2171
$as_echo "## ---------------- ##
2172
## Cache variables. ##
2173
## ---------------- ##"
2175
# The following way of writing the cache mishandles newlines in values,
2177
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2178
eval ac_val=\$$ac_var
2182
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2183
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2186
_ | IFS | as_nl) ;; #(
2187
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2188
*) { eval $ac_var=; unset $ac_var;} ;;
2193
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2194
*${as_nl}ac_space=\ *)
2196
"s/'\''/'\''\\\\'\'''\''/g;
2197
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2200
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2207
$as_echo "## ----------------- ##
2208
## Output variables. ##
2209
## ----------------- ##"
2211
for ac_var in $ac_subst_vars
2213
eval ac_val=\$$ac_var
2215
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2217
$as_echo "$ac_var='\''$ac_val'\''"
2221
if test -n "$ac_subst_files"; then
2222
$as_echo "## ------------------- ##
2223
## File substitutions. ##
2224
## ------------------- ##"
2226
for ac_var in $ac_subst_files
2228
eval ac_val=\$$ac_var
2230
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2232
$as_echo "$ac_var='\''$ac_val'\''"
2237
if test -s confdefs.h; then
2238
$as_echo "## ----------- ##
2245
test "$ac_signal" != 0 &&
2246
$as_echo "$as_me: caught signal $ac_signal"
2247
$as_echo "$as_me: exit $exit_status"
2249
rm -f core *.core core.conftest.* &&
2250
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2253
for ac_signal in 1 2 13 15; do
2254
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2258
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2259
rm -f -r conftest* confdefs.h
2261
$as_echo "/* confdefs.h */" > confdefs.h
2263
# Predefined preprocessor variables.
2265
cat >>confdefs.h <<_ACEOF
2266
#define PACKAGE_NAME "$PACKAGE_NAME"
2269
cat >>confdefs.h <<_ACEOF
2270
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2273
cat >>confdefs.h <<_ACEOF
2274
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2277
cat >>confdefs.h <<_ACEOF
2278
#define PACKAGE_STRING "$PACKAGE_STRING"
2281
cat >>confdefs.h <<_ACEOF
2282
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2285
cat >>confdefs.h <<_ACEOF
2286
#define PACKAGE_URL "$PACKAGE_URL"
2290
# Let the site file select an alternate cache file if it wants to.
2291
# Prefer an explicitly selected file to automatically selected ones.
2294
if test -n "$CONFIG_SITE"; then
2295
# We do not want a PATH search for config.site.
2296
case $CONFIG_SITE in #((
2297
-*) ac_site_file1=./$CONFIG_SITE;;
2298
*/*) ac_site_file1=$CONFIG_SITE;;
2299
*) ac_site_file1=./$CONFIG_SITE;;
2301
elif test "x$prefix" != xNONE; then
2302
ac_site_file1=$prefix/share/config.site
2303
ac_site_file2=$prefix/etc/config.site
2305
ac_site_file1=$ac_default_prefix/share/config.site
2306
ac_site_file2=$ac_default_prefix/etc/config.site
2308
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2310
test "x$ac_site_file" = xNONE && continue
2311
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2312
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2313
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2314
sed 's/^/| /' "$ac_site_file" >&5
2316
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2317
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2318
as_fn_error $? "failed to load site script $ac_site_file
2319
See \`config.log' for more details" "$LINENO" 5 ; }
2323
if test -r "$cache_file"; then
2324
# Some versions of bash will fail to source /dev/null (special files
2325
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2326
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2327
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2328
$as_echo "$as_me: loading cache $cache_file" >&6;}
2330
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2331
*) . "./$cache_file";;
2335
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2336
$as_echo "$as_me: creating cache $cache_file" >&6;}
2340
as_fn_append ac_header_list " sys/time.h"
2341
as_fn_append ac_header_list " unistd.h"
2342
as_fn_append ac_func_list " alarm"
2343
# Check that the precious variables saved in the cache have kept the same
2345
ac_cache_corrupted=false
2346
for ac_var in $ac_precious_vars; do
2347
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2348
eval ac_new_set=\$ac_env_${ac_var}_set
2349
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2350
eval ac_new_val=\$ac_env_${ac_var}_value
2351
case $ac_old_set,$ac_new_set in
2353
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2354
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2355
ac_cache_corrupted=: ;;
2357
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2358
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2359
ac_cache_corrupted=: ;;
2362
if test "x$ac_old_val" != "x$ac_new_val"; then
2363
# differences in whitespace do not lead to failure.
2364
ac_old_val_w=`echo x $ac_old_val`
2365
ac_new_val_w=`echo x $ac_new_val`
2366
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2367
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2368
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2369
ac_cache_corrupted=:
2371
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2372
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2373
eval $ac_var=\$ac_old_val
2375
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2376
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2377
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2378
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2381
# Pass precious variables to config.status.
2382
if test "$ac_new_set" = set; then
2384
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2385
*) ac_arg=$ac_var=$ac_new_val ;;
2387
case " $ac_configure_args " in
2388
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2389
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2393
if $ac_cache_corrupted; then
2394
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2395
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2396
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2397
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2398
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2400
## -------------------- ##
2401
## Main body of script. ##
2402
## -------------------- ##
2405
ac_cpp='$CPP $CPPFLAGS'
2406
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2407
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2408
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2413
am__api_version='1.11'
2416
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2417
if test -f "$ac_dir/install-sh"; then
2419
ac_install_sh="$ac_aux_dir/install-sh -c"
2421
elif test -f "$ac_dir/install.sh"; then
2423
ac_install_sh="$ac_aux_dir/install.sh -c"
2425
elif test -f "$ac_dir/shtool"; then
2427
ac_install_sh="$ac_aux_dir/shtool install -c"
2431
if test -z "$ac_aux_dir"; then
2432
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2435
# These three variables are undocumented and unsupported,
2436
# and are intended to be withdrawn in a future Autoconf release.
2437
# They can cause serious problems if a builder's source tree is in a directory
2438
# whose full name contains unusual characters.
2439
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2440
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2441
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2444
# Find a good install program. We prefer a C program (faster),
2445
# so one script is as good as another. But avoid the broken or
2446
# incompatible versions:
2447
# SysV /etc/install, /usr/sbin/install
2448
# SunOS /usr/etc/install
2449
# IRIX /sbin/install
2451
# AmigaOS /C/install, which installs bootblocks on floppy discs
2452
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2453
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2454
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2455
# OS/2's system install, which has a completely different semantic
2456
# ./install, which can be erroneously created by make from ./install.sh.
2457
# Reject install programs that cannot install multiple files.
2458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2459
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2460
if test -z "$INSTALL"; then
2461
if test "${ac_cv_path_install+set}" = set; then :
2462
$as_echo_n "(cached) " >&6
2464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468
test -z "$as_dir" && as_dir=.
2469
# Account for people who put trailing slashes in PATH elements.
2470
case $as_dir/ in #((
2471
./ | .// | /[cC]/* | \
2472
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2473
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2476
# OSF1 and SCO ODT 3.0 have their own names for install.
2477
# Don't use installbsd from OSF since it installs stuff as root
2479
for ac_prog in ginstall scoinst install; do
2480
for ac_exec_ext in '' $ac_executable_extensions; do
2481
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2482
if test $ac_prog = install &&
2483
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2484
# AIX install. It has an incompatible calling convention.
2486
elif test $ac_prog = install &&
2487
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488
# program-specific install script used by HP pwplus--don't use.
2491
rm -rf conftest.one conftest.two conftest.dir
2492
echo one > conftest.one
2493
echo two > conftest.two
2495
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2496
test -s conftest.one && test -s conftest.two &&
2497
test -s conftest.dir/conftest.one &&
2498
test -s conftest.dir/conftest.two
2500
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2513
rm -rf conftest.one conftest.two conftest.dir
2516
if test "${ac_cv_path_install+set}" = set; then
2517
INSTALL=$ac_cv_path_install
2519
# As a last resort, use the slow shell script. Don't cache a
2520
# value for INSTALL within a source directory, because that will
2521
# break other packages using the cache if that directory is
2522
# removed, or if the value is a relative name.
2523
INSTALL=$ac_install_sh
2526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2527
$as_echo "$INSTALL" >&6; }
2529
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2530
# It thinks the first close brace ends the variable substitution.
2531
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2533
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2535
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2538
$as_echo_n "checking whether build environment is sane... " >&6; }
2541
echo timestamp > conftest.file
2542
# Reject unsafe characters in $srcdir or the absolute working directory
2543
# name. Accept space and tab only in the latter.
2547
*[\\\"\#\$\&\'\`$am_lf]*)
2548
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2551
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2552
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2555
# Do `set' in a subshell so we don't clobber the current shell's
2556
# arguments. Must try -L first in case configure is actually a
2557
# symlink; some systems play weird games with the mod time of symlinks
2558
# (eg FreeBSD returns the mod time of the symlink's containing
2561
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2562
if test "$*" = "X"; then
2564
set X `ls -t "$srcdir/configure" conftest.file`
2567
if test "$*" != "X $srcdir/configure conftest.file" \
2568
&& test "$*" != "X conftest.file $srcdir/configure"; then
2570
# If neither matched, then we have a broken ls. This can happen
2571
# if, for instance, CONFIG_SHELL is bash and it inherits a
2572
# broken ls alias from the environment. This has actually
2573
# happened. Such a system could not be considered "sane".
2574
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2575
alias in your environment" "$LINENO" 5
2578
test "$2" = conftest.file
2584
as_fn_error $? "newly created file is older than distributed files!
2585
Check your system clock" "$LINENO" 5
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2588
$as_echo "yes" >&6; }
2589
test "$program_prefix" != NONE &&
2590
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2591
# Use a double $ so make ignores it.
2592
test "$program_suffix" != NONE &&
2593
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2594
# Double any \ or $.
2595
# By default was `s,x,x', remove it if useless.
2596
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2597
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2599
# expand $ac_aux_dir to an absolute path
2600
am_aux_dir=`cd $ac_aux_dir && pwd`
2602
if test x"${MISSING+set}" != xset; then
2605
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2607
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2610
# Use eval to expand $SHELL
2611
if eval "$MISSING --run true"; then
2612
am_missing_run="$MISSING --run "
2615
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2616
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2619
if test x"${install_sh}" != xset; then
2622
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2624
install_sh="\${SHELL} $am_aux_dir/install-sh"
2628
# Installed binaries are usually stripped using `strip' when the user
2629
# run `make install-strip'. However `strip' might not be the right
2630
# tool to use in cross-compilation environments, therefore Automake
2631
# will honor the `STRIP' environment variable to overrule this program.
2632
if test "$cross_compiling" != no; then
2633
if test -n "$ac_tool_prefix"; then
2634
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2635
set dummy ${ac_tool_prefix}strip; ac_word=$2
2636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2637
$as_echo_n "checking for $ac_word... " >&6; }
2638
if test "${ac_cv_prog_STRIP+set}" = set; then :
2639
$as_echo_n "(cached) " >&6
2641
if test -n "$STRIP"; then
2642
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2644
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648
test -z "$as_dir" && as_dir=.
2649
for ac_exec_ext in '' $ac_executable_extensions; do
2650
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2651
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2652
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2661
STRIP=$ac_cv_prog_STRIP
2662
if test -n "$STRIP"; then
2663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2664
$as_echo "$STRIP" >&6; }
2666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2667
$as_echo "no" >&6; }
2672
if test -z "$ac_cv_prog_STRIP"; then
2674
# Extract the first word of "strip", so it can be a program name with args.
2675
set dummy strip; ac_word=$2
2676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2677
$as_echo_n "checking for $ac_word... " >&6; }
2678
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2679
$as_echo_n "(cached) " >&6
2681
if test -n "$ac_ct_STRIP"; then
2682
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2684
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688
test -z "$as_dir" && as_dir=.
2689
for ac_exec_ext in '' $ac_executable_extensions; do
2690
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691
ac_cv_prog_ac_ct_STRIP="strip"
2692
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2702
if test -n "$ac_ct_STRIP"; then
2703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2704
$as_echo "$ac_ct_STRIP" >&6; }
2706
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707
$as_echo "no" >&6; }
2710
if test "x$ac_ct_STRIP" = x; then
2713
case $cross_compiling:$ac_tool_warned in
2715
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2716
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2717
ac_tool_warned=yes ;;
2722
STRIP="$ac_cv_prog_STRIP"
2726
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2729
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2730
if test -z "$MKDIR_P"; then
2731
if test "${ac_cv_path_mkdir+set}" = set; then :
2732
$as_echo_n "(cached) " >&6
2734
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2738
test -z "$as_dir" && as_dir=.
2739
for ac_prog in mkdir gmkdir; do
2740
for ac_exec_ext in '' $ac_executable_extensions; do
2741
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2742
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2743
'mkdir (GNU coreutils) '* | \
2744
'mkdir (coreutils) '* | \
2745
'mkdir (fileutils) '4.1*)
2746
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2756
test -d ./--version && rmdir ./--version
2757
if test "${ac_cv_path_mkdir+set}" = set; then
2758
MKDIR_P="$ac_cv_path_mkdir -p"
2760
# As a last resort, use the slow shell script. Don't cache a
2761
# value for MKDIR_P within a source directory, because that will
2762
# break other packages using the cache if that directory is
2763
# removed, or if the value is a relative name.
2764
MKDIR_P="$ac_install_sh -d"
2767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2768
$as_echo "$MKDIR_P" >&6; }
2772
[\\/$]* | ?:[\\/]*) ;;
2773
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2776
for ac_prog in gawk mawk nawk awk
2778
# Extract the first word of "$ac_prog", so it can be a program name with args.
2779
set dummy $ac_prog; ac_word=$2
2780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781
$as_echo_n "checking for $ac_word... " >&6; }
2782
if test "${ac_cv_prog_AWK+set}" = set; then :
2783
$as_echo_n "(cached) " >&6
2785
if test -n "$AWK"; then
2786
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792
test -z "$as_dir" && as_dir=.
2793
for ac_exec_ext in '' $ac_executable_extensions; do
2794
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795
ac_cv_prog_AWK="$ac_prog"
2796
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806
if test -n "$AWK"; then
2807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2808
$as_echo "$AWK" >&6; }
2810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811
$as_echo "no" >&6; }
2815
test -n "$AWK" && break
2818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2819
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2821
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2822
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2823
$as_echo_n "(cached) " >&6
2825
cat >conftest.make <<\_ACEOF
2828
@echo '@@@%%%=$(MAKE)=@@@%%%'
2830
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2831
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2833
eval ac_cv_prog_make_${ac_make}_set=yes;;
2835
eval ac_cv_prog_make_${ac_make}_set=no;;
2839
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2841
$as_echo "yes" >&6; }
2844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2845
$as_echo "no" >&6; }
2846
SET_MAKE="MAKE=${MAKE-make}"
2849
rm -rf .tst 2>/dev/null
2850
mkdir .tst 2>/dev/null
2851
if test -d .tst; then
2856
rmdir .tst 2>/dev/null
2858
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2859
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2860
# is not polluted with repeated "-I."
2861
am__isrc=' -I$(srcdir)'
2862
# test to see if srcdir already configured
2863
if test -f $srcdir/config.status; then
2864
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2868
# test whether we have cygpath
2869
if test -z "$CYGPATH_W"; then
2870
if (cygpath --version) >/dev/null 2>/dev/null; then
2871
CYGPATH_W='cygpath -w'
2878
# Define the identity of the package.
2883
cat >>confdefs.h <<_ACEOF
2884
#define PACKAGE "$PACKAGE"
2888
cat >>confdefs.h <<_ACEOF
2889
#define VERSION "$VERSION"
2892
# Some tools Automake needs.
2894
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2897
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2900
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2903
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2906
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2908
# We need awk for the "check" target. The system "awk" is bad on
2910
# Always define AMTAR for backward compatibility.
2912
AMTAR=${AMTAR-"${am_missing_run}tar"}
2914
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2920
DEPDIR="${am__leading_dot}deps"
2922
ac_config_commands="$ac_config_commands depfiles"
2925
am_make=${MAKE-make}
2926
cat > confinc << 'END'
2928
@echo this is the am__doit target
2931
# If we don't find an include directive, just comment out the code.
2932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2933
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2937
# First try GNU make style include.
2938
echo "include confinc" > confmf
2939
# Ignore all kinds of additional output from `make'.
2940
case `$am_make -s -f confmf 2> /dev/null` in #(
2941
*the\ am__doit\ target*)
2947
# Now try BSD make style include.
2948
if test "$am__include" = "#"; then
2949
echo '.include "confinc"' > confmf
2950
case `$am_make -s -f confmf 2> /dev/null` in #(
2951
*the\ am__doit\ target*)
2952
am__include=.include
2960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2961
$as_echo "$_am_result" >&6; }
2962
rm -f confinc confmf
2964
# Check whether --enable-dependency-tracking was given.
2965
if test "${enable_dependency_tracking+set}" = set; then :
2966
enableval=$enable_dependency_tracking;
2969
if test "x$enable_dependency_tracking" != xno; then
2970
am_depcomp="$ac_aux_dir/depcomp"
2973
if test "x$enable_dependency_tracking" != xno; then
2983
ac_cpp='$CPP $CPPFLAGS'
2984
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2985
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2986
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2987
if test -n "$ac_tool_prefix"; then
2988
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2989
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991
$as_echo_n "checking for $ac_word... " >&6; }
2992
if test "${ac_cv_prog_CC+set}" = set; then :
2993
$as_echo_n "(cached) " >&6
2995
if test -n "$CC"; then
2996
ac_cv_prog_CC="$CC" # Let the user override the test.
2998
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002
test -z "$as_dir" && as_dir=.
3003
for ac_exec_ext in '' $ac_executable_extensions; do
3004
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3006
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3016
if test -n "$CC"; then
3017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3018
$as_echo "$CC" >&6; }
3020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021
$as_echo "no" >&6; }
3026
if test -z "$ac_cv_prog_CC"; then
3028
# Extract the first word of "gcc", so it can be a program name with args.
3029
set dummy gcc; ac_word=$2
3030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031
$as_echo_n "checking for $ac_word... " >&6; }
3032
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3033
$as_echo_n "(cached) " >&6
3035
if test -n "$ac_ct_CC"; then
3036
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3038
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042
test -z "$as_dir" && as_dir=.
3043
for ac_exec_ext in '' $ac_executable_extensions; do
3044
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3045
ac_cv_prog_ac_ct_CC="gcc"
3046
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3056
if test -n "$ac_ct_CC"; then
3057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3058
$as_echo "$ac_ct_CC" >&6; }
3060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061
$as_echo "no" >&6; }
3064
if test "x$ac_ct_CC" = x; then
3067
case $cross_compiling:$ac_tool_warned in
3069
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3070
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3071
ac_tool_warned=yes ;;
3079
if test -z "$CC"; then
3080
if test -n "$ac_tool_prefix"; then
3081
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3082
set dummy ${ac_tool_prefix}cc; ac_word=$2
3083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084
$as_echo_n "checking for $ac_word... " >&6; }
3085
if test "${ac_cv_prog_CC+set}" = set; then :
3086
$as_echo_n "(cached) " >&6
3088
if test -n "$CC"; then
3089
ac_cv_prog_CC="$CC" # Let the user override the test.
3091
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095
test -z "$as_dir" && as_dir=.
3096
for ac_exec_ext in '' $ac_executable_extensions; do
3097
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3098
ac_cv_prog_CC="${ac_tool_prefix}cc"
3099
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109
if test -n "$CC"; then
3110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111
$as_echo "$CC" >&6; }
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114
$as_echo "no" >&6; }
3120
if test -z "$CC"; then
3121
# Extract the first word of "cc", so it can be a program name with args.
3122
set dummy cc; ac_word=$2
3123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124
$as_echo_n "checking for $ac_word... " >&6; }
3125
if test "${ac_cv_prog_CC+set}" = set; then :
3126
$as_echo_n "(cached) " >&6
3128
if test -n "$CC"; then
3129
ac_cv_prog_CC="$CC" # Let the user override the test.
3132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136
test -z "$as_dir" && as_dir=.
3137
for ac_exec_ext in '' $ac_executable_extensions; do
3138
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3139
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3140
ac_prog_rejected=yes
3144
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151
if test $ac_prog_rejected = yes; then
3152
# We found a bogon in the path, so make sure we never use it.
3153
set dummy $ac_cv_prog_CC
3155
if test $# != 0; then
3156
# We chose a different compiler from the bogus one.
3157
# However, it has the same basename, so the bogon will be chosen
3158
# first if we set CC to just the basename; use the full file name.
3160
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3166
if test -n "$CC"; then
3167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3168
$as_echo "$CC" >&6; }
3170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171
$as_echo "no" >&6; }
3176
if test -z "$CC"; then
3177
if test -n "$ac_tool_prefix"; then
3178
for ac_prog in cl.exe
3180
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3181
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183
$as_echo_n "checking for $ac_word... " >&6; }
3184
if test "${ac_cv_prog_CC+set}" = set; then :
3185
$as_echo_n "(cached) " >&6
3187
if test -n "$CC"; then
3188
ac_cv_prog_CC="$CC" # Let the user override the test.
3190
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194
test -z "$as_dir" && as_dir=.
3195
for ac_exec_ext in '' $ac_executable_extensions; do
3196
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3198
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208
if test -n "$CC"; then
3209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3210
$as_echo "$CC" >&6; }
3212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213
$as_echo "no" >&6; }
3217
test -n "$CC" && break
3220
if test -z "$CC"; then
3222
for ac_prog in cl.exe
3224
# Extract the first word of "$ac_prog", so it can be a program name with args.
3225
set dummy $ac_prog; ac_word=$2
3226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227
$as_echo_n "checking for $ac_word... " >&6; }
3228
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3229
$as_echo_n "(cached) " >&6
3231
if test -n "$ac_ct_CC"; then
3232
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238
test -z "$as_dir" && as_dir=.
3239
for ac_exec_ext in '' $ac_executable_extensions; do
3240
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241
ac_cv_prog_ac_ct_CC="$ac_prog"
3242
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3251
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3252
if test -n "$ac_ct_CC"; then
3253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3254
$as_echo "$ac_ct_CC" >&6; }
3256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257
$as_echo "no" >&6; }
3261
test -n "$ac_ct_CC" && break
3264
if test "x$ac_ct_CC" = x; then
3267
case $cross_compiling:$ac_tool_warned in
3269
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3270
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3271
ac_tool_warned=yes ;;
3280
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3281
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3282
as_fn_error $? "no acceptable C compiler found in \$PATH
3283
See \`config.log' for more details" "$LINENO" 5 ; }
3285
# Provide some information about the compiler.
3286
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3289
for ac_option in --version -v -V -qversion; do
3290
{ { ac_try="$ac_compiler $ac_option >&5"
3292
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293
*) ac_try_echo=$ac_try;;
3295
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296
$as_echo "$ac_try_echo"; } >&5
3297
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3299
if test -s conftest.err; then
3301
... rest of stderr output deleted ...
3302
10q' conftest.err >conftest.er1
3303
cat conftest.er1 >&5
3305
rm -f conftest.er1 conftest.err
3306
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307
test $ac_status = 0; }
3310
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311
/* end confdefs.h. */
3321
ac_clean_files_save=$ac_clean_files
3322
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3323
# Try to create an executable without -o first, disregard a.out.
3324
# It will help us diagnose broken compilers, and finding out an intuition
3326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3327
$as_echo_n "checking whether the C compiler works... " >&6; }
3328
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3330
# The possible output files:
3331
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3334
for ac_file in $ac_files
3337
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3338
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3343
if { { ac_try="$ac_link_default"
3345
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346
*) ac_try_echo=$ac_try;;
3348
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3349
$as_echo "$ac_try_echo"; } >&5
3350
(eval "$ac_link_default") 2>&5
3352
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3353
test $ac_status = 0; }; then :
3354
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3355
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3356
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3357
# so that the user can short-circuit this test for compilers unknown to
3359
for ac_file in $ac_files ''
3361
test -f "$ac_file" || continue
3363
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3366
# We found the default executable, but exeext='' is most
3370
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3372
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3374
# We set ac_cv_exeext here because the later test for it is not
3375
# safe: cross compilers may not add the suffix if given an `-o'
3376
# argument, so we may need to know it at that point already.
3377
# Even if this section looks crufty: it has the advantage of
3384
test "$ac_cv_exeext" = no && ac_cv_exeext=
3389
if test -z "$ac_file"; then :
3390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3391
$as_echo "no" >&6; }
3392
$as_echo "$as_me: failed program was:" >&5
3393
sed 's/^/| /' conftest.$ac_ext >&5
3395
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3396
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3397
as_fn_error 77 "C compiler cannot create executables
3398
See \`config.log' for more details" "$LINENO" 5 ; }
3400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3401
$as_echo "yes" >&6; }
3403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3404
$as_echo_n "checking for C compiler default output file name... " >&6; }
3405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3406
$as_echo "$ac_file" >&6; }
3407
ac_exeext=$ac_cv_exeext
3409
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3410
ac_clean_files=$ac_clean_files_save
3411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3412
$as_echo_n "checking for suffix of executables... " >&6; }
3413
if { { ac_try="$ac_link"
3415
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416
*) ac_try_echo=$ac_try;;
3418
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419
$as_echo "$ac_try_echo"; } >&5
3420
(eval "$ac_link") 2>&5
3422
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423
test $ac_status = 0; }; then :
3424
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3425
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3426
# work properly (i.e., refer to `conftest.exe'), while it won't with
3428
for ac_file in conftest.exe conftest conftest.*; do
3429
test -f "$ac_file" || continue
3431
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3432
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3438
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3439
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3440
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3441
See \`config.log' for more details" "$LINENO" 5 ; }
3443
rm -f conftest conftest$ac_cv_exeext
3444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3445
$as_echo "$ac_cv_exeext" >&6; }
3447
rm -f conftest.$ac_ext
3448
EXEEXT=$ac_cv_exeext
3450
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451
/* end confdefs.h. */
3456
FILE *f = fopen ("conftest.out", "w");
3457
return ferror (f) || fclose (f) != 0;
3463
ac_clean_files="$ac_clean_files conftest.out"
3464
# Check that the compiler produces executables we can run. If not, either
3465
# the compiler is broken, or we cross compile.
3466
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3467
$as_echo_n "checking whether we are cross compiling... " >&6; }
3468
if test "$cross_compiling" != yes; then
3469
{ { ac_try="$ac_link"
3471
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3472
*) ac_try_echo=$ac_try;;
3474
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3475
$as_echo "$ac_try_echo"; } >&5
3476
(eval "$ac_link") 2>&5
3478
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479
test $ac_status = 0; }
3480
if { ac_try='./conftest$ac_cv_exeext'
3481
{ { case "(($ac_try" in
3482
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3483
*) ac_try_echo=$ac_try;;
3485
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486
$as_echo "$ac_try_echo"; } >&5
3487
(eval "$ac_try") 2>&5
3489
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490
test $ac_status = 0; }; }; then
3493
if test "$cross_compiling" = maybe; then
3496
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3497
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3498
as_fn_error $? "cannot run C compiled programs.
3499
If you meant to cross compile, use \`--host'.
3500
See \`config.log' for more details" "$LINENO" 5 ; }
3504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3505
$as_echo "$cross_compiling" >&6; }
3507
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3508
ac_clean_files=$ac_clean_files_save
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3510
$as_echo_n "checking for suffix of object files... " >&6; }
3511
if test "${ac_cv_objext+set}" = set; then :
3512
$as_echo_n "(cached) " >&6
3514
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515
/* end confdefs.h. */
3525
rm -f conftest.o conftest.obj
3526
if { { ac_try="$ac_compile"
3528
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529
*) ac_try_echo=$ac_try;;
3531
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3532
$as_echo "$ac_try_echo"; } >&5
3533
(eval "$ac_compile") 2>&5
3535
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536
test $ac_status = 0; }; then :
3537
for ac_file in conftest.o conftest.obj conftest.*; do
3538
test -f "$ac_file" || continue;
3540
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3541
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3546
$as_echo "$as_me: failed program was:" >&5
3547
sed 's/^/| /' conftest.$ac_ext >&5
3549
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3550
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3551
as_fn_error $? "cannot compute suffix of object files: cannot compile
3552
See \`config.log' for more details" "$LINENO" 5 ; }
3554
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3557
$as_echo "$ac_cv_objext" >&6; }
3558
OBJEXT=$ac_cv_objext
3560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3561
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3562
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3563
$as_echo_n "(cached) " >&6
3565
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566
/* end confdefs.h. */
3579
if ac_fn_c_try_compile "$LINENO"; then :
3584
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3589
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3590
if test $ac_compiler_gnu = yes; then
3595
ac_test_CFLAGS=${CFLAGS+set}
3596
ac_save_CFLAGS=$CFLAGS
3597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3598
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3599
if test "${ac_cv_prog_cc_g+set}" = set; then :
3600
$as_echo_n "(cached) " >&6
3602
ac_save_c_werror_flag=$ac_c_werror_flag
3603
ac_c_werror_flag=yes
3606
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607
/* end confdefs.h. */
3617
if ac_fn_c_try_compile "$LINENO"; then :
3621
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622
/* end confdefs.h. */
3632
if ac_fn_c_try_compile "$LINENO"; then :
3635
ac_c_werror_flag=$ac_save_c_werror_flag
3637
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638
/* end confdefs.h. */
3648
if ac_fn_c_try_compile "$LINENO"; then :
3651
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3653
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3655
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656
ac_c_werror_flag=$ac_save_c_werror_flag
3658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3659
$as_echo "$ac_cv_prog_cc_g" >&6; }
3660
if test "$ac_test_CFLAGS" = set; then
3661
CFLAGS=$ac_save_CFLAGS
3662
elif test $ac_cv_prog_cc_g = yes; then
3663
if test "$GCC" = yes; then
3669
if test "$GCC" = yes; then
3675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3676
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3677
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3678
$as_echo_n "(cached) " >&6
3680
ac_cv_prog_cc_c89=no
3682
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683
/* end confdefs.h. */
3686
#include <sys/types.h>
3687
#include <sys/stat.h>
3688
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3689
struct buf { int x; };
3690
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3691
static char *e (p, i)
3697
static char *f (char * (*g) (char **, int), char **p, ...)
3702
s = g (p, va_arg (v,int));
3707
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3708
function prototypes and stuff, but not '\xHH' hex character constants.
3709
These don't provoke an error unfortunately, instead are silently treated
3710
as 'x'. The following induces an error, until -std is added to get
3711
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3712
array size at least. It's necessary to write '\x00'==0 to get something
3713
that's true only with -std. */
3714
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3716
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3717
inside strings and character constants. */
3719
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3721
int test (int i, double x);
3722
struct s1 {int (*f) (int a);};
3723
struct s2 {int (*f) (double a);};
3724
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3730
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3735
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3736
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3738
CC="$ac_save_CC $ac_arg"
3739
if ac_fn_c_try_compile "$LINENO"; then :
3740
ac_cv_prog_cc_c89=$ac_arg
3742
rm -f core conftest.err conftest.$ac_objext
3743
test "x$ac_cv_prog_cc_c89" != "xno" && break
3745
rm -f conftest.$ac_ext
3750
case "x$ac_cv_prog_cc_c89" in
3752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3753
$as_echo "none needed" >&6; } ;;
3755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3756
$as_echo "unsupported" >&6; } ;;
3758
CC="$CC $ac_cv_prog_cc_c89"
3759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3760
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3762
if test "x$ac_cv_prog_cc_c89" != xno; then :
3767
ac_cpp='$CPP $CPPFLAGS'
3768
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3769
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3770
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3772
depcc="$CC" am_compiler_list=
3774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3775
$as_echo_n "checking dependency style of $depcc... " >&6; }
3776
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3777
$as_echo_n "(cached) " >&6
3779
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3780
# We make a subdir and do the tests there. Otherwise we can end up
3781
# making bogus files that we don't know about and never remove. For
3782
# instance it was reported that on HP-UX the gcc test will end up
3783
# making a dummy file named `D' -- because `-MD' means `put the output
3786
# Copy depcomp to subdir because otherwise we won't find it if we're
3787
# using a relative directory.
3788
cp "$am_depcomp" conftest.dir
3790
# We will build objects and dependencies in a subdirectory because
3791
# it helps to detect inapplicable dependency modes. For instance
3792
# both Tru64's cc and ICC support -MD to output dependencies as a
3793
# side effect of compilation, but ICC will put the dependencies in
3794
# the current directory while Tru64 will put them in the object
3798
am_cv_CC_dependencies_compiler_type=none
3799
if test "$am_compiler_list" = ""; then
3800
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3803
case " $depcc " in #(
3804
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3807
for depmode in $am_compiler_list; do
3808
# Setup a source with many dependencies, because some compilers
3809
# like to wrap large dependency lists on column 80 (with \), and
3810
# we should not choose a depcomp mode which is confused by this.
3812
# We need to recreate these files for each test, as the compiler may
3813
# overwrite some of them when testing with obscure command lines.
3814
# This happens at least with the AIX C compiler.
3816
for i in 1 2 3 4 5 6; do
3817
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3818
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3819
# Solaris 8's {/usr,}/bin/sh.
3820
touch sub/conftst$i.h
3822
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3824
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3825
# mode. It turns out that the SunPro C++ compiler does not properly
3826
# handle `-M -o', and we need to detect this. Also, some Intel
3827
# versions had trouble with output in subdirs
3828
am__obj=sub/conftest.${OBJEXT-o}
3829
am__minus_obj="-o $am__obj"
3832
# This depmode causes a compiler race in universal mode.
3833
test "$am__universal" = false || continue
3836
# after this tag, mechanisms are not by side-effect, so they'll
3837
# only be used when explicitly requested
3838
if test "x$enable_dependency_tracking" = xyes; then
3844
msvisualcpp | msvcmsys)
3845
# This compiler won't grok `-c -o', but also, the minuso test has
3846
# not run yet. These depmodes are late enough in the game, and
3847
# so weak that their functioning should not be impacted.
3848
am__obj=conftest.${OBJEXT-o}
3853
if depmode=$depmode \
3854
source=sub/conftest.c object=$am__obj \
3855
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3856
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3857
>/dev/null 2>conftest.err &&
3858
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3859
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3860
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3861
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3862
# icc doesn't choke on unknown options, it will just issue warnings
3863
# or remarks (even with -Werror). So we grep stderr for any message
3864
# that says an option was ignored or not supported.
3865
# When given -MP, icc 7.0 and 7.1 complain thusly:
3866
# icc: Command line warning: ignoring option '-M'; no argument required
3867
# The diagnosis changed in icc 8.0:
3868
# icc: Command line remark: option '-MP' not supported
3869
if (grep 'ignoring option' conftest.err ||
3870
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3871
am_cv_CC_dependencies_compiler_type=$depmode
3880
am_cv_CC_dependencies_compiler_type=none
3884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3885
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3886
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3889
test "x$enable_dependency_tracking" != xno \
3890
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3892
am__fastdepCC_FALSE='#'
3894
am__fastdepCC_TRUE='#'
3895
am__fastdepCC_FALSE=
3901
ac_cpp='$CPP $CPPFLAGS'
3902
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3906
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3907
# On Suns, sometimes $CPP names a directory.
3908
if test -n "$CPP" && test -d "$CPP"; then
3911
if test -z "$CPP"; then
3912
if test "${ac_cv_prog_CPP+set}" = set; then :
3913
$as_echo_n "(cached) " >&6
3915
# Double quotes because CPP needs to be expanded
3916
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3919
for ac_c_preproc_warn_flag in '' yes
3921
# Use a header file that comes with gcc, so configuring glibc
3922
# with a fresh cross-compiler works.
3923
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3924
# <limits.h> exists even on freestanding compilers.
3925
# On the NeXT, cc -E runs the code through the compiler's parser,
3926
# not just through cpp. "Syntax error" is here to catch this case.
3927
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928
/* end confdefs.h. */
3930
# include <limits.h>
3932
# include <assert.h>
3936
if ac_fn_c_try_cpp "$LINENO"; then :
3939
# Broken: fails on valid input.
3942
rm -f conftest.err conftest.i conftest.$ac_ext
3944
# OK, works on sane cases. Now check whether nonexistent headers
3945
# can be detected and how.
3946
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3947
/* end confdefs.h. */
3948
#include <ac_nonexistent.h>
3950
if ac_fn_c_try_cpp "$LINENO"; then :
3951
# Broken: success on invalid input.
3954
# Passes both tests.
3958
rm -f conftest.err conftest.i conftest.$ac_ext
3961
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3962
rm -f conftest.i conftest.err conftest.$ac_ext
3963
if $ac_preproc_ok; then :
3975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3976
$as_echo "$CPP" >&6; }
3978
for ac_c_preproc_warn_flag in '' yes
3980
# Use a header file that comes with gcc, so configuring glibc
3981
# with a fresh cross-compiler works.
3982
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3983
# <limits.h> exists even on freestanding compilers.
3984
# On the NeXT, cc -E runs the code through the compiler's parser,
3985
# not just through cpp. "Syntax error" is here to catch this case.
3986
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987
/* end confdefs.h. */
3989
# include <limits.h>
3991
# include <assert.h>
3995
if ac_fn_c_try_cpp "$LINENO"; then :
3998
# Broken: fails on valid input.
4001
rm -f conftest.err conftest.i conftest.$ac_ext
4003
# OK, works on sane cases. Now check whether nonexistent headers
4004
# can be detected and how.
4005
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006
/* end confdefs.h. */
4007
#include <ac_nonexistent.h>
4009
if ac_fn_c_try_cpp "$LINENO"; then :
4010
# Broken: success on invalid input.
4013
# Passes both tests.
4017
rm -f conftest.err conftest.i conftest.$ac_ext
4020
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4021
rm -f conftest.i conftest.err conftest.$ac_ext
4022
if $ac_preproc_ok; then :
4025
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4026
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4027
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4028
See \`config.log' for more details" "$LINENO" 5 ; }
4032
ac_cpp='$CPP $CPPFLAGS'
4033
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4034
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4035
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4039
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4040
if test "${ac_cv_path_GREP+set}" = set; then :
4041
$as_echo_n "(cached) " >&6
4043
if test -z "$GREP"; then
4044
ac_path_GREP_found=false
4045
# Loop through the user's path and test for each of PROGNAME-LIST
4046
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4050
test -z "$as_dir" && as_dir=.
4051
for ac_prog in grep ggrep; do
4052
for ac_exec_ext in '' $ac_executable_extensions; do
4053
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4054
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4055
# Check for GNU ac_path_GREP and select it if it is found.
4056
# Check for GNU $ac_path_GREP
4057
case `"$ac_path_GREP" --version 2>&1` in
4059
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4062
$as_echo_n 0123456789 >"conftest.in"
4065
cat "conftest.in" "conftest.in" >"conftest.tmp"
4066
mv "conftest.tmp" "conftest.in"
4067
cp "conftest.in" "conftest.nl"
4068
$as_echo 'GREP' >> "conftest.nl"
4069
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4070
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4071
as_fn_arith $ac_count + 1 && ac_count=$as_val
4072
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4073
# Best one so far, save it but keep looking for a better one
4074
ac_cv_path_GREP="$ac_path_GREP"
4075
ac_path_GREP_max=$ac_count
4077
# 10*(2^10) chars as input seems more than enough
4078
test $ac_count -gt 10 && break
4080
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4083
$ac_path_GREP_found && break 3
4088
if test -z "$ac_cv_path_GREP"; then
4089
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4092
ac_cv_path_GREP=$GREP
4096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4097
$as_echo "$ac_cv_path_GREP" >&6; }
4098
GREP="$ac_cv_path_GREP"
4101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4102
$as_echo_n "checking for egrep... " >&6; }
4103
if test "${ac_cv_path_EGREP+set}" = set; then :
4104
$as_echo_n "(cached) " >&6
4106
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4107
then ac_cv_path_EGREP="$GREP -E"
4109
if test -z "$EGREP"; then
4110
ac_path_EGREP_found=false
4111
# Loop through the user's path and test for each of PROGNAME-LIST
4112
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4116
test -z "$as_dir" && as_dir=.
4117
for ac_prog in egrep; do
4118
for ac_exec_ext in '' $ac_executable_extensions; do
4119
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4120
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4121
# Check for GNU ac_path_EGREP and select it if it is found.
4122
# Check for GNU $ac_path_EGREP
4123
case `"$ac_path_EGREP" --version 2>&1` in
4125
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4128
$as_echo_n 0123456789 >"conftest.in"
4131
cat "conftest.in" "conftest.in" >"conftest.tmp"
4132
mv "conftest.tmp" "conftest.in"
4133
cp "conftest.in" "conftest.nl"
4134
$as_echo 'EGREP' >> "conftest.nl"
4135
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4136
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4137
as_fn_arith $ac_count + 1 && ac_count=$as_val
4138
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4139
# Best one so far, save it but keep looking for a better one
4140
ac_cv_path_EGREP="$ac_path_EGREP"
4141
ac_path_EGREP_max=$ac_count
4143
# 10*(2^10) chars as input seems more than enough
4144
test $ac_count -gt 10 && break
4146
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4149
$ac_path_EGREP_found && break 3
4154
if test -z "$ac_cv_path_EGREP"; then
4155
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4158
ac_cv_path_EGREP=$EGREP
4163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4164
$as_echo "$ac_cv_path_EGREP" >&6; }
4165
EGREP="$ac_cv_path_EGREP"
4168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4169
$as_echo_n "checking for ANSI C header files... " >&6; }
4170
if test "${ac_cv_header_stdc+set}" = set; then :
4171
$as_echo_n "(cached) " >&6
4173
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174
/* end confdefs.h. */
4188
if ac_fn_c_try_compile "$LINENO"; then :
4189
ac_cv_header_stdc=yes
4191
ac_cv_header_stdc=no
4193
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195
if test $ac_cv_header_stdc = yes; then
4196
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4197
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198
/* end confdefs.h. */
4202
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4203
$EGREP "memchr" >/dev/null 2>&1; then :
4206
ac_cv_header_stdc=no
4212
if test $ac_cv_header_stdc = yes; then
4213
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4214
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215
/* end confdefs.h. */
4219
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4220
$EGREP "free" >/dev/null 2>&1; then :
4223
ac_cv_header_stdc=no
4229
if test $ac_cv_header_stdc = yes; then
4230
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4231
if test "$cross_compiling" = yes; then :
4234
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235
/* end confdefs.h. */
4238
#if ((' ' & 0x0FF) == 0x020)
4239
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4240
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4242
# define ISLOWER(c) \
4243
(('a' <= (c) && (c) <= 'i') \
4244
|| ('j' <= (c) && (c) <= 'r') \
4245
|| ('s' <= (c) && (c) <= 'z'))
4246
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4249
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4254
for (i = 0; i < 256; i++)
4255
if (XOR (islower (i), ISLOWER (i))
4256
|| toupper (i) != TOUPPER (i))
4261
if ac_fn_c_try_run "$LINENO"; then :
4264
ac_cv_header_stdc=no
4266
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4267
conftest.$ac_objext conftest.beam conftest.$ac_ext
4272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4273
$as_echo "$ac_cv_header_stdc" >&6; }
4274
if test $ac_cv_header_stdc = yes; then
4276
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4280
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4281
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4282
inttypes.h stdint.h unistd.h
4284
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4285
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4287
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4288
cat >>confdefs.h <<_ACEOF
4289
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4298
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4299
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4306
if test "$MINIX" = yes; then
4308
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4311
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4314
$as_echo "#define _MINIX 1" >>confdefs.h
4319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4320
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4321
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4322
$as_echo_n "(cached) " >&6
4324
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325
/* end confdefs.h. */
4327
# define __EXTENSIONS__ 1
4328
$ac_includes_default
4337
if ac_fn_c_try_compile "$LINENO"; then :
4338
ac_cv_safe_to_define___extensions__=yes
4340
ac_cv_safe_to_define___extensions__=no
4342
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4345
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4346
test $ac_cv_safe_to_define___extensions__ = yes &&
4347
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4349
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4351
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4353
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4355
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4361
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4362
# Check whether --enable-maintainer-mode was given.
4363
if test "${enable_maintainer_mode+set}" = set; then :
4364
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4366
USE_MAINTAINER_MODE=no
4369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4370
$as_echo "$USE_MAINTAINER_MODE" >&6; }
4371
if test $USE_MAINTAINER_MODE = yes; then
4372
MAINTAINER_MODE_TRUE=
4373
MAINTAINER_MODE_FALSE='#'
4375
MAINTAINER_MODE_TRUE='#'
4376
MAINTAINER_MODE_FALSE=
4379
MAINT=$MAINTAINER_MODE_TRUE
4383
# Checks for programs.
4385
ac_cpp='$CXXCPP $CPPFLAGS'
4386
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4389
if test -z "$CXX"; then
4390
if test -n "$CCC"; then
4393
if test -n "$ac_tool_prefix"; then
4394
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4396
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4397
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399
$as_echo_n "checking for $ac_word... " >&6; }
4400
if test "${ac_cv_prog_CXX+set}" = set; then :
4401
$as_echo_n "(cached) " >&6
4403
if test -n "$CXX"; then
4404
ac_cv_prog_CXX="$CXX" # Let the user override the test.
4406
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410
test -z "$as_dir" && as_dir=.
4411
for ac_exec_ext in '' $ac_executable_extensions; do
4412
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4414
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4424
if test -n "$CXX"; then
4425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4426
$as_echo "$CXX" >&6; }
4428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429
$as_echo "no" >&6; }
4433
test -n "$CXX" && break
4436
if test -z "$CXX"; then
4438
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4440
# Extract the first word of "$ac_prog", so it can be a program name with args.
4441
set dummy $ac_prog; ac_word=$2
4442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4443
$as_echo_n "checking for $ac_word... " >&6; }
4444
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4445
$as_echo_n "(cached) " >&6
4447
if test -n "$ac_ct_CXX"; then
4448
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4450
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454
test -z "$as_dir" && as_dir=.
4455
for ac_exec_ext in '' $ac_executable_extensions; do
4456
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4457
ac_cv_prog_ac_ct_CXX="$ac_prog"
4458
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4467
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4468
if test -n "$ac_ct_CXX"; then
4469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4470
$as_echo "$ac_ct_CXX" >&6; }
4472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473
$as_echo "no" >&6; }
4477
test -n "$ac_ct_CXX" && break
4480
if test "x$ac_ct_CXX" = x; then
4483
case $cross_compiling:$ac_tool_warned in
4485
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4486
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4487
ac_tool_warned=yes ;;
4495
# Provide some information about the compiler.
4496
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4499
for ac_option in --version -v -V -qversion; do
4500
{ { ac_try="$ac_compiler $ac_option >&5"
4502
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4503
*) ac_try_echo=$ac_try;;
4505
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4506
$as_echo "$ac_try_echo"; } >&5
4507
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4509
if test -s conftest.err; then
4511
... rest of stderr output deleted ...
4512
10q' conftest.err >conftest.er1
4513
cat conftest.er1 >&5
4515
rm -f conftest.er1 conftest.err
4516
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4517
test $ac_status = 0; }
4520
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4521
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4522
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4523
$as_echo_n "(cached) " >&6
4525
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526
/* end confdefs.h. */
4539
if ac_fn_cxx_try_compile "$LINENO"; then :
4544
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4549
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4550
if test $ac_compiler_gnu = yes; then
4555
ac_test_CXXFLAGS=${CXXFLAGS+set}
4556
ac_save_CXXFLAGS=$CXXFLAGS
4557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4558
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4559
if test "${ac_cv_prog_cxx_g+set}" = set; then :
4560
$as_echo_n "(cached) " >&6
4562
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4563
ac_cxx_werror_flag=yes
4566
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567
/* end confdefs.h. */
4577
if ac_fn_cxx_try_compile "$LINENO"; then :
4578
ac_cv_prog_cxx_g=yes
4581
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582
/* end confdefs.h. */
4592
if ac_fn_cxx_try_compile "$LINENO"; then :
4595
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4597
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598
/* end confdefs.h. */
4608
if ac_fn_cxx_try_compile "$LINENO"; then :
4609
ac_cv_prog_cxx_g=yes
4611
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4618
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4619
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4620
if test "$ac_test_CXXFLAGS" = set; then
4621
CXXFLAGS=$ac_save_CXXFLAGS
4622
elif test $ac_cv_prog_cxx_g = yes; then
4623
if test "$GXX" = yes; then
4629
if test "$GXX" = yes; then
4636
ac_cpp='$CPP $CPPFLAGS'
4637
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4638
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4639
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4641
depcc="$CXX" am_compiler_list=
4643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4644
$as_echo_n "checking dependency style of $depcc... " >&6; }
4645
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4646
$as_echo_n "(cached) " >&6
4648
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4649
# We make a subdir and do the tests there. Otherwise we can end up
4650
# making bogus files that we don't know about and never remove. For
4651
# instance it was reported that on HP-UX the gcc test will end up
4652
# making a dummy file named `D' -- because `-MD' means `put the output
4655
# Copy depcomp to subdir because otherwise we won't find it if we're
4656
# using a relative directory.
4657
cp "$am_depcomp" conftest.dir
4659
# We will build objects and dependencies in a subdirectory because
4660
# it helps to detect inapplicable dependency modes. For instance
4661
# both Tru64's cc and ICC support -MD to output dependencies as a
4662
# side effect of compilation, but ICC will put the dependencies in
4663
# the current directory while Tru64 will put them in the object
4667
am_cv_CXX_dependencies_compiler_type=none
4668
if test "$am_compiler_list" = ""; then
4669
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4672
case " $depcc " in #(
4673
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4676
for depmode in $am_compiler_list; do
4677
# Setup a source with many dependencies, because some compilers
4678
# like to wrap large dependency lists on column 80 (with \), and
4679
# we should not choose a depcomp mode which is confused by this.
4681
# We need to recreate these files for each test, as the compiler may
4682
# overwrite some of them when testing with obscure command lines.
4683
# This happens at least with the AIX C compiler.
4685
for i in 1 2 3 4 5 6; do
4686
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4687
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4688
# Solaris 8's {/usr,}/bin/sh.
4689
touch sub/conftst$i.h
4691
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4693
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4694
# mode. It turns out that the SunPro C++ compiler does not properly
4695
# handle `-M -o', and we need to detect this. Also, some Intel
4696
# versions had trouble with output in subdirs
4697
am__obj=sub/conftest.${OBJEXT-o}
4698
am__minus_obj="-o $am__obj"
4701
# This depmode causes a compiler race in universal mode.
4702
test "$am__universal" = false || continue
4705
# after this tag, mechanisms are not by side-effect, so they'll
4706
# only be used when explicitly requested
4707
if test "x$enable_dependency_tracking" = xyes; then
4713
msvisualcpp | msvcmsys)
4714
# This compiler won't grok `-c -o', but also, the minuso test has
4715
# not run yet. These depmodes are late enough in the game, and
4716
# so weak that their functioning should not be impacted.
4717
am__obj=conftest.${OBJEXT-o}
4722
if depmode=$depmode \
4723
source=sub/conftest.c object=$am__obj \
4724
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4725
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4726
>/dev/null 2>conftest.err &&
4727
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4728
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4729
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4730
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4731
# icc doesn't choke on unknown options, it will just issue warnings
4732
# or remarks (even with -Werror). So we grep stderr for any message
4733
# that says an option was ignored or not supported.
4734
# When given -MP, icc 7.0 and 7.1 complain thusly:
4735
# icc: Command line warning: ignoring option '-M'; no argument required
4736
# The diagnosis changed in icc 8.0:
4737
# icc: Command line remark: option '-MP' not supported
4738
if (grep 'ignoring option' conftest.err ||
4739
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4740
am_cv_CXX_dependencies_compiler_type=$depmode
4749
am_cv_CXX_dependencies_compiler_type=none
4753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4754
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4755
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4758
test "x$enable_dependency_tracking" != xno \
4759
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4760
am__fastdepCXX_TRUE=
4761
am__fastdepCXX_FALSE='#'
4763
am__fastdepCXX_TRUE='#'
4764
am__fastdepCXX_FALSE=
4769
ac_cpp='$CPP $CPPFLAGS'
4770
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4771
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4772
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4773
if test -n "$ac_tool_prefix"; then
4774
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4775
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4777
$as_echo_n "checking for $ac_word... " >&6; }
4778
if test "${ac_cv_prog_CC+set}" = set; then :
4779
$as_echo_n "(cached) " >&6
4781
if test -n "$CC"; then
4782
ac_cv_prog_CC="$CC" # Let the user override the test.
4784
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788
test -z "$as_dir" && as_dir=.
4789
for ac_exec_ext in '' $ac_executable_extensions; do
4790
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4791
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4792
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4802
if test -n "$CC"; then
4803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4804
$as_echo "$CC" >&6; }
4806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807
$as_echo "no" >&6; }
4812
if test -z "$ac_cv_prog_CC"; then
4814
# Extract the first word of "gcc", so it can be a program name with args.
4815
set dummy gcc; ac_word=$2
4816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4817
$as_echo_n "checking for $ac_word... " >&6; }
4818
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4819
$as_echo_n "(cached) " >&6
4821
if test -n "$ac_ct_CC"; then
4822
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4824
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828
test -z "$as_dir" && as_dir=.
4829
for ac_exec_ext in '' $ac_executable_extensions; do
4830
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4831
ac_cv_prog_ac_ct_CC="gcc"
4832
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4842
if test -n "$ac_ct_CC"; then
4843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4844
$as_echo "$ac_ct_CC" >&6; }
4846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847
$as_echo "no" >&6; }
4850
if test "x$ac_ct_CC" = x; then
4853
case $cross_compiling:$ac_tool_warned in
4855
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4856
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4857
ac_tool_warned=yes ;;
4865
if test -z "$CC"; then
4866
if test -n "$ac_tool_prefix"; then
4867
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4868
set dummy ${ac_tool_prefix}cc; ac_word=$2
4869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870
$as_echo_n "checking for $ac_word... " >&6; }
4871
if test "${ac_cv_prog_CC+set}" = set; then :
4872
$as_echo_n "(cached) " >&6
4874
if test -n "$CC"; then
4875
ac_cv_prog_CC="$CC" # Let the user override the test.
4877
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881
test -z "$as_dir" && as_dir=.
4882
for ac_exec_ext in '' $ac_executable_extensions; do
4883
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4884
ac_cv_prog_CC="${ac_tool_prefix}cc"
4885
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895
if test -n "$CC"; then
4896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4897
$as_echo "$CC" >&6; }
4899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4900
$as_echo "no" >&6; }
4906
if test -z "$CC"; then
4907
# Extract the first word of "cc", so it can be a program name with args.
4908
set dummy cc; ac_word=$2
4909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4910
$as_echo_n "checking for $ac_word... " >&6; }
4911
if test "${ac_cv_prog_CC+set}" = set; then :
4912
$as_echo_n "(cached) " >&6
4914
if test -n "$CC"; then
4915
ac_cv_prog_CC="$CC" # Let the user override the test.
4918
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4922
test -z "$as_dir" && as_dir=.
4923
for ac_exec_ext in '' $ac_executable_extensions; do
4924
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4925
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4926
ac_prog_rejected=yes
4930
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937
if test $ac_prog_rejected = yes; then
4938
# We found a bogon in the path, so make sure we never use it.
4939
set dummy $ac_cv_prog_CC
4941
if test $# != 0; then
4942
# We chose a different compiler from the bogus one.
4943
# However, it has the same basename, so the bogon will be chosen
4944
# first if we set CC to just the basename; use the full file name.
4946
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4952
if test -n "$CC"; then
4953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4954
$as_echo "$CC" >&6; }
4956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957
$as_echo "no" >&6; }
4962
if test -z "$CC"; then
4963
if test -n "$ac_tool_prefix"; then
4964
for ac_prog in cl.exe
4966
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4967
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969
$as_echo_n "checking for $ac_word... " >&6; }
4970
if test "${ac_cv_prog_CC+set}" = set; then :
4971
$as_echo_n "(cached) " >&6
4973
if test -n "$CC"; then
4974
ac_cv_prog_CC="$CC" # Let the user override the test.
4976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980
test -z "$as_dir" && as_dir=.
4981
for ac_exec_ext in '' $ac_executable_extensions; do
4982
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4983
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4984
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994
if test -n "$CC"; then
4995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4996
$as_echo "$CC" >&6; }
4998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999
$as_echo "no" >&6; }
5003
test -n "$CC" && break
5006
if test -z "$CC"; then
5008
for ac_prog in cl.exe
5010
# Extract the first word of "$ac_prog", so it can be a program name with args.
5011
set dummy $ac_prog; ac_word=$2
5012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013
$as_echo_n "checking for $ac_word... " >&6; }
5014
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5015
$as_echo_n "(cached) " >&6
5017
if test -n "$ac_ct_CC"; then
5018
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024
test -z "$as_dir" && as_dir=.
5025
for ac_exec_ext in '' $ac_executable_extensions; do
5026
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5027
ac_cv_prog_ac_ct_CC="$ac_prog"
5028
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5038
if test -n "$ac_ct_CC"; then
5039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5040
$as_echo "$ac_ct_CC" >&6; }
5042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043
$as_echo "no" >&6; }
5047
test -n "$ac_ct_CC" && break
5050
if test "x$ac_ct_CC" = x; then
5053
case $cross_compiling:$ac_tool_warned in
5055
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5056
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5057
ac_tool_warned=yes ;;
5066
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5067
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5068
as_fn_error $? "no acceptable C compiler found in \$PATH
5069
See \`config.log' for more details" "$LINENO" 5 ; }
5071
# Provide some information about the compiler.
5072
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5075
for ac_option in --version -v -V -qversion; do
5076
{ { ac_try="$ac_compiler $ac_option >&5"
5078
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5079
*) ac_try_echo=$ac_try;;
5081
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5082
$as_echo "$ac_try_echo"; } >&5
5083
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
5085
if test -s conftest.err; then
5087
... rest of stderr output deleted ...
5088
10q' conftest.err >conftest.er1
5089
cat conftest.er1 >&5
5091
rm -f conftest.er1 conftest.err
5092
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5093
test $ac_status = 0; }
5096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5097
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5098
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5099
$as_echo_n "(cached) " >&6
5101
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5102
/* end confdefs.h. */
5115
if ac_fn_c_try_compile "$LINENO"; then :
5120
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5121
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5125
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5126
if test $ac_compiler_gnu = yes; then
5131
ac_test_CFLAGS=${CFLAGS+set}
5132
ac_save_CFLAGS=$CFLAGS
5133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5134
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5135
if test "${ac_cv_prog_cc_g+set}" = set; then :
5136
$as_echo_n "(cached) " >&6
5138
ac_save_c_werror_flag=$ac_c_werror_flag
5139
ac_c_werror_flag=yes
5142
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5143
/* end confdefs.h. */
5153
if ac_fn_c_try_compile "$LINENO"; then :
5157
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158
/* end confdefs.h. */
5168
if ac_fn_c_try_compile "$LINENO"; then :
5171
ac_c_werror_flag=$ac_save_c_werror_flag
5173
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5174
/* end confdefs.h. */
5184
if ac_fn_c_try_compile "$LINENO"; then :
5187
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5189
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5191
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5192
ac_c_werror_flag=$ac_save_c_werror_flag
5194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5195
$as_echo "$ac_cv_prog_cc_g" >&6; }
5196
if test "$ac_test_CFLAGS" = set; then
5197
CFLAGS=$ac_save_CFLAGS
5198
elif test $ac_cv_prog_cc_g = yes; then
5199
if test "$GCC" = yes; then
5205
if test "$GCC" = yes; then
5211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5212
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5213
if test "${ac_cv_prog_cc_c89+set}" = set; then :
5214
$as_echo_n "(cached) " >&6
5216
ac_cv_prog_cc_c89=no
5218
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219
/* end confdefs.h. */
5222
#include <sys/types.h>
5223
#include <sys/stat.h>
5224
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5225
struct buf { int x; };
5226
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5227
static char *e (p, i)
5233
static char *f (char * (*g) (char **, int), char **p, ...)
5238
s = g (p, va_arg (v,int));
5243
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5244
function prototypes and stuff, but not '\xHH' hex character constants.
5245
These don't provoke an error unfortunately, instead are silently treated
5246
as 'x'. The following induces an error, until -std is added to get
5247
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5248
array size at least. It's necessary to write '\x00'==0 to get something
5249
that's true only with -std. */
5250
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5252
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5253
inside strings and character constants. */
5255
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5257
int test (int i, double x);
5258
struct s1 {int (*f) (int a);};
5259
struct s2 {int (*f) (double a);};
5260
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5266
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5271
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5272
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5274
CC="$ac_save_CC $ac_arg"
5275
if ac_fn_c_try_compile "$LINENO"; then :
5276
ac_cv_prog_cc_c89=$ac_arg
5278
rm -f core conftest.err conftest.$ac_objext
5279
test "x$ac_cv_prog_cc_c89" != "xno" && break
5281
rm -f conftest.$ac_ext
5286
case "x$ac_cv_prog_cc_c89" in
5288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5289
$as_echo "none needed" >&6; } ;;
5291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5292
$as_echo "unsupported" >&6; } ;;
5294
CC="$CC $ac_cv_prog_cc_c89"
5295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5296
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5298
if test "x$ac_cv_prog_cc_c89" != xno; then :
5303
ac_cpp='$CPP $CPPFLAGS'
5304
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5305
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5306
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5308
depcc="$CC" am_compiler_list=
5310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5311
$as_echo_n "checking dependency style of $depcc... " >&6; }
5312
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5313
$as_echo_n "(cached) " >&6
5315
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5316
# We make a subdir and do the tests there. Otherwise we can end up
5317
# making bogus files that we don't know about and never remove. For
5318
# instance it was reported that on HP-UX the gcc test will end up
5319
# making a dummy file named `D' -- because `-MD' means `put the output
5322
# Copy depcomp to subdir because otherwise we won't find it if we're
5323
# using a relative directory.
5324
cp "$am_depcomp" conftest.dir
5326
# We will build objects and dependencies in a subdirectory because
5327
# it helps to detect inapplicable dependency modes. For instance
5328
# both Tru64's cc and ICC support -MD to output dependencies as a
5329
# side effect of compilation, but ICC will put the dependencies in
5330
# the current directory while Tru64 will put them in the object
5334
am_cv_CC_dependencies_compiler_type=none
5335
if test "$am_compiler_list" = ""; then
5336
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5339
case " $depcc " in #(
5340
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5343
for depmode in $am_compiler_list; do
5344
# Setup a source with many dependencies, because some compilers
5345
# like to wrap large dependency lists on column 80 (with \), and
5346
# we should not choose a depcomp mode which is confused by this.
5348
# We need to recreate these files for each test, as the compiler may
5349
# overwrite some of them when testing with obscure command lines.
5350
# This happens at least with the AIX C compiler.
5352
for i in 1 2 3 4 5 6; do
5353
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5354
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5355
# Solaris 8's {/usr,}/bin/sh.
5356
touch sub/conftst$i.h
5358
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5360
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5361
# mode. It turns out that the SunPro C++ compiler does not properly
5362
# handle `-M -o', and we need to detect this. Also, some Intel
5363
# versions had trouble with output in subdirs
5364
am__obj=sub/conftest.${OBJEXT-o}
5365
am__minus_obj="-o $am__obj"
5368
# This depmode causes a compiler race in universal mode.
5369
test "$am__universal" = false || continue
5372
# after this tag, mechanisms are not by side-effect, so they'll
5373
# only be used when explicitly requested
5374
if test "x$enable_dependency_tracking" = xyes; then
5380
msvisualcpp | msvcmsys)
5381
# This compiler won't grok `-c -o', but also, the minuso test has
5382
# not run yet. These depmodes are late enough in the game, and
5383
# so weak that their functioning should not be impacted.
5384
am__obj=conftest.${OBJEXT-o}
5389
if depmode=$depmode \
5390
source=sub/conftest.c object=$am__obj \
5391
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5392
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5393
>/dev/null 2>conftest.err &&
5394
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5395
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5396
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5397
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5398
# icc doesn't choke on unknown options, it will just issue warnings
5399
# or remarks (even with -Werror). So we grep stderr for any message
5400
# that says an option was ignored or not supported.
5401
# When given -MP, icc 7.0 and 7.1 complain thusly:
5402
# icc: Command line warning: ignoring option '-M'; no argument required
5403
# The diagnosis changed in icc 8.0:
5404
# icc: Command line remark: option '-MP' not supported
5405
if (grep 'ignoring option' conftest.err ||
5406
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5407
am_cv_CC_dependencies_compiler_type=$depmode
5416
am_cv_CC_dependencies_compiler_type=none
5420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5421
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5422
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5425
test "x$enable_dependency_tracking" != xno \
5426
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5428
am__fastdepCC_FALSE='#'
5430
am__fastdepCC_TRUE='#'
5431
am__fastdepCC_FALSE=
5435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5436
$as_echo_n "checking for library containing strerror... " >&6; }
5437
if test "${ac_cv_search_strerror+set}" = set; then :
5438
$as_echo_n "(cached) " >&6
5440
ac_func_search_save_LIBS=$LIBS
5441
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5442
/* end confdefs.h. */
5444
/* Override any GCC internal prototype to avoid an error.
5445
Use char because int might match the return type of a GCC
5446
builtin and then its argument prototype would still apply. */
5459
for ac_lib in '' cposix; do
5460
if test -z "$ac_lib"; then
5461
ac_res="none required"
5464
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5466
if ac_fn_c_try_link "$LINENO"; then :
5467
ac_cv_search_strerror=$ac_res
5469
rm -f core conftest.err conftest.$ac_objext \
5471
if test "${ac_cv_search_strerror+set}" = set; then :
5475
if test "${ac_cv_search_strerror+set}" = set; then :
5478
ac_cv_search_strerror=no
5481
LIBS=$ac_func_search_save_LIBS
5483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5484
$as_echo "$ac_cv_search_strerror" >&6; }
5485
ac_res=$ac_cv_search_strerror
5486
if test "$ac_res" != no; then :
5487
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5492
ac_cpp='$CPP $CPPFLAGS'
5493
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5494
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5495
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5496
if test -n "$ac_tool_prefix"; then
5497
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5498
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500
$as_echo_n "checking for $ac_word... " >&6; }
5501
if test "${ac_cv_prog_CC+set}" = set; then :
5502
$as_echo_n "(cached) " >&6
5504
if test -n "$CC"; then
5505
ac_cv_prog_CC="$CC" # Let the user override the test.
5507
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511
test -z "$as_dir" && as_dir=.
5512
for ac_exec_ext in '' $ac_executable_extensions; do
5513
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5514
ac_cv_prog_CC="${ac_tool_prefix}gcc"
5515
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525
if test -n "$CC"; then
5526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5527
$as_echo "$CC" >&6; }
5529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530
$as_echo "no" >&6; }
5535
if test -z "$ac_cv_prog_CC"; then
5537
# Extract the first word of "gcc", so it can be a program name with args.
5538
set dummy gcc; ac_word=$2
5539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540
$as_echo_n "checking for $ac_word... " >&6; }
5541
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5542
$as_echo_n "(cached) " >&6
5544
if test -n "$ac_ct_CC"; then
5545
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551
test -z "$as_dir" && as_dir=.
5552
for ac_exec_ext in '' $ac_executable_extensions; do
5553
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5554
ac_cv_prog_ac_ct_CC="gcc"
5555
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5565
if test -n "$ac_ct_CC"; then
5566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5567
$as_echo "$ac_ct_CC" >&6; }
5569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570
$as_echo "no" >&6; }
5573
if test "x$ac_ct_CC" = x; then
5576
case $cross_compiling:$ac_tool_warned in
5578
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5579
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5580
ac_tool_warned=yes ;;
5588
if test -z "$CC"; then
5589
if test -n "$ac_tool_prefix"; then
5590
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5591
set dummy ${ac_tool_prefix}cc; ac_word=$2
5592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593
$as_echo_n "checking for $ac_word... " >&6; }
5594
if test "${ac_cv_prog_CC+set}" = set; then :
5595
$as_echo_n "(cached) " >&6
5597
if test -n "$CC"; then
5598
ac_cv_prog_CC="$CC" # Let the user override the test.
5600
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604
test -z "$as_dir" && as_dir=.
5605
for ac_exec_ext in '' $ac_executable_extensions; do
5606
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5607
ac_cv_prog_CC="${ac_tool_prefix}cc"
5608
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618
if test -n "$CC"; then
5619
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5620
$as_echo "$CC" >&6; }
5622
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623
$as_echo "no" >&6; }
5629
if test -z "$CC"; then
5630
# Extract the first word of "cc", so it can be a program name with args.
5631
set dummy cc; ac_word=$2
5632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633
$as_echo_n "checking for $ac_word... " >&6; }
5634
if test "${ac_cv_prog_CC+set}" = set; then :
5635
$as_echo_n "(cached) " >&6
5637
if test -n "$CC"; then
5638
ac_cv_prog_CC="$CC" # Let the user override the test.
5641
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645
test -z "$as_dir" && as_dir=.
5646
for ac_exec_ext in '' $ac_executable_extensions; do
5647
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5648
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5649
ac_prog_rejected=yes
5653
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660
if test $ac_prog_rejected = yes; then
5661
# We found a bogon in the path, so make sure we never use it.
5662
set dummy $ac_cv_prog_CC
5664
if test $# != 0; then
5665
# We chose a different compiler from the bogus one.
5666
# However, it has the same basename, so the bogon will be chosen
5667
# first if we set CC to just the basename; use the full file name.
5669
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5675
if test -n "$CC"; then
5676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5677
$as_echo "$CC" >&6; }
5679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680
$as_echo "no" >&6; }
5685
if test -z "$CC"; then
5686
if test -n "$ac_tool_prefix"; then
5687
for ac_prog in cl.exe
5689
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5690
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692
$as_echo_n "checking for $ac_word... " >&6; }
5693
if test "${ac_cv_prog_CC+set}" = set; then :
5694
$as_echo_n "(cached) " >&6
5696
if test -n "$CC"; then
5697
ac_cv_prog_CC="$CC" # Let the user override the test.
5699
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703
test -z "$as_dir" && as_dir=.
5704
for ac_exec_ext in '' $ac_executable_extensions; do
5705
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5706
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5707
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5717
if test -n "$CC"; then
5718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5719
$as_echo "$CC" >&6; }
5721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722
$as_echo "no" >&6; }
5726
test -n "$CC" && break
5729
if test -z "$CC"; then
5731
for ac_prog in cl.exe
5733
# Extract the first word of "$ac_prog", so it can be a program name with args.
5734
set dummy $ac_prog; ac_word=$2
5735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736
$as_echo_n "checking for $ac_word... " >&6; }
5737
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5738
$as_echo_n "(cached) " >&6
5740
if test -n "$ac_ct_CC"; then
5741
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5743
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747
test -z "$as_dir" && as_dir=.
5748
for ac_exec_ext in '' $ac_executable_extensions; do
5749
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5750
ac_cv_prog_ac_ct_CC="$ac_prog"
5751
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5760
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5761
if test -n "$ac_ct_CC"; then
5762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5763
$as_echo "$ac_ct_CC" >&6; }
5765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766
$as_echo "no" >&6; }
5770
test -n "$ac_ct_CC" && break
5773
if test "x$ac_ct_CC" = x; then
5776
case $cross_compiling:$ac_tool_warned in
5778
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5779
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5780
ac_tool_warned=yes ;;
5789
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5790
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5791
as_fn_error $? "no acceptable C compiler found in \$PATH
5792
See \`config.log' for more details" "$LINENO" 5 ; }
5794
# Provide some information about the compiler.
5795
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5798
for ac_option in --version -v -V -qversion; do
5799
{ { ac_try="$ac_compiler $ac_option >&5"
5801
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5802
*) ac_try_echo=$ac_try;;
5804
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5805
$as_echo "$ac_try_echo"; } >&5
5806
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
5808
if test -s conftest.err; then
5810
... rest of stderr output deleted ...
5811
10q' conftest.err >conftest.er1
5812
cat conftest.er1 >&5
5814
rm -f conftest.er1 conftest.err
5815
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5816
test $ac_status = 0; }
5819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5820
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5821
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5822
$as_echo_n "(cached) " >&6
5824
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825
/* end confdefs.h. */
5838
if ac_fn_c_try_compile "$LINENO"; then :
5843
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5844
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5848
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5849
if test $ac_compiler_gnu = yes; then
5854
ac_test_CFLAGS=${CFLAGS+set}
5855
ac_save_CFLAGS=$CFLAGS
5856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5857
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5858
if test "${ac_cv_prog_cc_g+set}" = set; then :
5859
$as_echo_n "(cached) " >&6
5861
ac_save_c_werror_flag=$ac_c_werror_flag
5862
ac_c_werror_flag=yes
5865
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5866
/* end confdefs.h. */
5876
if ac_fn_c_try_compile "$LINENO"; then :
5880
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5881
/* end confdefs.h. */
5891
if ac_fn_c_try_compile "$LINENO"; then :
5894
ac_c_werror_flag=$ac_save_c_werror_flag
5896
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5897
/* end confdefs.h. */
5907
if ac_fn_c_try_compile "$LINENO"; then :
5910
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5914
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5915
ac_c_werror_flag=$ac_save_c_werror_flag
5917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5918
$as_echo "$ac_cv_prog_cc_g" >&6; }
5919
if test "$ac_test_CFLAGS" = set; then
5920
CFLAGS=$ac_save_CFLAGS
5921
elif test $ac_cv_prog_cc_g = yes; then
5922
if test "$GCC" = yes; then
5928
if test "$GCC" = yes; then
5934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5935
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5936
if test "${ac_cv_prog_cc_c89+set}" = set; then :
5937
$as_echo_n "(cached) " >&6
5939
ac_cv_prog_cc_c89=no
5941
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5942
/* end confdefs.h. */
5945
#include <sys/types.h>
5946
#include <sys/stat.h>
5947
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5948
struct buf { int x; };
5949
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5950
static char *e (p, i)
5956
static char *f (char * (*g) (char **, int), char **p, ...)
5961
s = g (p, va_arg (v,int));
5966
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5967
function prototypes and stuff, but not '\xHH' hex character constants.
5968
These don't provoke an error unfortunately, instead are silently treated
5969
as 'x'. The following induces an error, until -std is added to get
5970
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5971
array size at least. It's necessary to write '\x00'==0 to get something
5972
that's true only with -std. */
5973
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5975
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5976
inside strings and character constants. */
5978
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5980
int test (int i, double x);
5981
struct s1 {int (*f) (int a);};
5982
struct s2 {int (*f) (double a);};
5983
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5989
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5994
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5995
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5997
CC="$ac_save_CC $ac_arg"
5998
if ac_fn_c_try_compile "$LINENO"; then :
5999
ac_cv_prog_cc_c89=$ac_arg
6001
rm -f core conftest.err conftest.$ac_objext
6002
test "x$ac_cv_prog_cc_c89" != "xno" && break
6004
rm -f conftest.$ac_ext
6009
case "x$ac_cv_prog_cc_c89" in
6011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6012
$as_echo "none needed" >&6; } ;;
6014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6015
$as_echo "unsupported" >&6; } ;;
6017
CC="$CC $ac_cv_prog_cc_c89"
6018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6019
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6021
if test "x$ac_cv_prog_cc_c89" != xno; then :
6026
ac_cpp='$CPP $CPPFLAGS'
6027
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6028
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6029
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6031
depcc="$CC" am_compiler_list=
6033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6034
$as_echo_n "checking dependency style of $depcc... " >&6; }
6035
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
6036
$as_echo_n "(cached) " >&6
6038
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6039
# We make a subdir and do the tests there. Otherwise we can end up
6040
# making bogus files that we don't know about and never remove. For
6041
# instance it was reported that on HP-UX the gcc test will end up
6042
# making a dummy file named `D' -- because `-MD' means `put the output
6045
# Copy depcomp to subdir because otherwise we won't find it if we're
6046
# using a relative directory.
6047
cp "$am_depcomp" conftest.dir
6049
# We will build objects and dependencies in a subdirectory because
6050
# it helps to detect inapplicable dependency modes. For instance
6051
# both Tru64's cc and ICC support -MD to output dependencies as a
6052
# side effect of compilation, but ICC will put the dependencies in
6053
# the current directory while Tru64 will put them in the object
6057
am_cv_CC_dependencies_compiler_type=none
6058
if test "$am_compiler_list" = ""; then
6059
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6062
case " $depcc " in #(
6063
*\ -arch\ *\ -arch\ *) am__universal=true ;;
6066
for depmode in $am_compiler_list; do
6067
# Setup a source with many dependencies, because some compilers
6068
# like to wrap large dependency lists on column 80 (with \), and
6069
# we should not choose a depcomp mode which is confused by this.
6071
# We need to recreate these files for each test, as the compiler may
6072
# overwrite some of them when testing with obscure command lines.
6073
# This happens at least with the AIX C compiler.
6075
for i in 1 2 3 4 5 6; do
6076
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6077
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6078
# Solaris 8's {/usr,}/bin/sh.
6079
touch sub/conftst$i.h
6081
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6083
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6084
# mode. It turns out that the SunPro C++ compiler does not properly
6085
# handle `-M -o', and we need to detect this. Also, some Intel
6086
# versions had trouble with output in subdirs
6087
am__obj=sub/conftest.${OBJEXT-o}
6088
am__minus_obj="-o $am__obj"
6091
# This depmode causes a compiler race in universal mode.
6092
test "$am__universal" = false || continue
6095
# after this tag, mechanisms are not by side-effect, so they'll
6096
# only be used when explicitly requested
6097
if test "x$enable_dependency_tracking" = xyes; then
6103
msvisualcpp | msvcmsys)
6104
# This compiler won't grok `-c -o', but also, the minuso test has
6105
# not run yet. These depmodes are late enough in the game, and
6106
# so weak that their functioning should not be impacted.
6107
am__obj=conftest.${OBJEXT-o}
6112
if depmode=$depmode \
6113
source=sub/conftest.c object=$am__obj \
6114
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6115
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6116
>/dev/null 2>conftest.err &&
6117
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6118
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6119
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6120
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6121
# icc doesn't choke on unknown options, it will just issue warnings
6122
# or remarks (even with -Werror). So we grep stderr for any message
6123
# that says an option was ignored or not supported.
6124
# When given -MP, icc 7.0 and 7.1 complain thusly:
6125
# icc: Command line warning: ignoring option '-M'; no argument required
6126
# The diagnosis changed in icc 8.0:
6127
# icc: Command line remark: option '-MP' not supported
6128
if (grep 'ignoring option' conftest.err ||
6129
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6130
am_cv_CC_dependencies_compiler_type=$depmode
6139
am_cv_CC_dependencies_compiler_type=none
6143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6144
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6145
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6148
test "x$enable_dependency_tracking" != xno \
6149
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6151
am__fastdepCC_FALSE='#'
6153
am__fastdepCC_TRUE='#'
6154
am__fastdepCC_FALSE=
6159
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
6162
ac_cpp='$CPP $CPPFLAGS'
6163
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6164
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6165
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6166
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6167
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6168
# On Suns, sometimes $CPP names a directory.
6169
if test -n "$CPP" && test -d "$CPP"; then
6172
if test -z "$CPP"; then
6173
if test "${ac_cv_prog_CPP+set}" = set; then :
6174
$as_echo_n "(cached) " >&6
6176
# Double quotes because CPP needs to be expanded
6177
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6180
for ac_c_preproc_warn_flag in '' yes
6182
# Use a header file that comes with gcc, so configuring glibc
6183
# with a fresh cross-compiler works.
6184
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6185
# <limits.h> exists even on freestanding compilers.
6186
# On the NeXT, cc -E runs the code through the compiler's parser,
6187
# not just through cpp. "Syntax error" is here to catch this case.
6188
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189
/* end confdefs.h. */
6191
# include <limits.h>
6193
# include <assert.h>
6197
if ac_fn_c_try_cpp "$LINENO"; then :
6200
# Broken: fails on valid input.
6203
rm -f conftest.err conftest.i conftest.$ac_ext
6205
# OK, works on sane cases. Now check whether nonexistent headers
6206
# can be detected and how.
6207
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6208
/* end confdefs.h. */
6209
#include <ac_nonexistent.h>
6211
if ac_fn_c_try_cpp "$LINENO"; then :
6212
# Broken: success on invalid input.
6215
# Passes both tests.
6219
rm -f conftest.err conftest.i conftest.$ac_ext
6222
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6223
rm -f conftest.i conftest.err conftest.$ac_ext
6224
if $ac_preproc_ok; then :
6236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6237
$as_echo "$CPP" >&6; }
6239
for ac_c_preproc_warn_flag in '' yes
6241
# Use a header file that comes with gcc, so configuring glibc
6242
# with a fresh cross-compiler works.
6243
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6244
# <limits.h> exists even on freestanding compilers.
6245
# On the NeXT, cc -E runs the code through the compiler's parser,
6246
# not just through cpp. "Syntax error" is here to catch this case.
6247
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248
/* end confdefs.h. */
6250
# include <limits.h>
6252
# include <assert.h>
6256
if ac_fn_c_try_cpp "$LINENO"; then :
6259
# Broken: fails on valid input.
6262
rm -f conftest.err conftest.i conftest.$ac_ext
6264
# OK, works on sane cases. Now check whether nonexistent headers
6265
# can be detected and how.
6266
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267
/* end confdefs.h. */
6268
#include <ac_nonexistent.h>
6270
if ac_fn_c_try_cpp "$LINENO"; then :
6271
# Broken: success on invalid input.
6274
# Passes both tests.
6278
rm -f conftest.err conftest.i conftest.$ac_ext
6281
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6282
rm -f conftest.i conftest.err conftest.$ac_ext
6283
if $ac_preproc_ok; then :
6286
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6287
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6288
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6289
See \`config.log' for more details" "$LINENO" 5 ; }
6293
ac_cpp='$CPP $CPPFLAGS'
6294
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6295
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6296
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6300
$as_echo_n "checking whether ln -s works... " >&6; }
6302
if test "$LN_S" = "ln -s"; then
6303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6304
$as_echo "yes" >&6; }
6306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6307
$as_echo "no, using $LN_S" >&6; }
6310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6311
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6313
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6314
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
6315
$as_echo_n "(cached) " >&6
6317
cat >conftest.make <<\_ACEOF
6320
@echo '@@@%%%=$(MAKE)=@@@%%%'
6322
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6323
case `${MAKE-make} -f conftest.make 2>/dev/null` in
6325
eval ac_cv_prog_make_${ac_make}_set=yes;;
6327
eval ac_cv_prog_make_${ac_make}_set=no;;
6331
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6333
$as_echo "yes" >&6; }
6336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6337
$as_echo "no" >&6; }
6338
SET_MAKE="MAKE=${MAKE-make}"
6341
if test -n "$ac_tool_prefix"; then
6342
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6343
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6345
$as_echo_n "checking for $ac_word... " >&6; }
6346
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6347
$as_echo_n "(cached) " >&6
6349
if test -n "$RANLIB"; then
6350
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356
test -z "$as_dir" && as_dir=.
6357
for ac_exec_ext in '' $ac_executable_extensions; do
6358
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6359
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6360
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6369
RANLIB=$ac_cv_prog_RANLIB
6370
if test -n "$RANLIB"; then
6371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6372
$as_echo "$RANLIB" >&6; }
6374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6375
$as_echo "no" >&6; }
6380
if test -z "$ac_cv_prog_RANLIB"; then
6381
ac_ct_RANLIB=$RANLIB
6382
# Extract the first word of "ranlib", so it can be a program name with args.
6383
set dummy ranlib; ac_word=$2
6384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6385
$as_echo_n "checking for $ac_word... " >&6; }
6386
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6387
$as_echo_n "(cached) " >&6
6389
if test -n "$ac_ct_RANLIB"; then
6390
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6392
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396
test -z "$as_dir" && as_dir=.
6397
for ac_exec_ext in '' $ac_executable_extensions; do
6398
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6399
ac_cv_prog_ac_ct_RANLIB="ranlib"
6400
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6409
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6410
if test -n "$ac_ct_RANLIB"; then
6411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6412
$as_echo "$ac_ct_RANLIB" >&6; }
6414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415
$as_echo "no" >&6; }
6418
if test "x$ac_ct_RANLIB" = 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
RANLIB=$ac_ct_RANLIB
6430
RANLIB="$ac_cv_prog_RANLIB"
6434
# GNOME aclocal, debug and maintainer flags
6438
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
6439
if test -n "$ac_macro_dir"; then
6440
ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
6445
# debug, warnings, deprecated
6446
if test x"$enable_more_warnings" = xyes ; then
6447
enable_cxx_warnings=yes
6449
if test x"$USE_MAINTAINER_MODE" != xno; then
6453
if test x"$enable_debug" = xyes ; then
6454
# enable_cxx_warnings=yes
6455
enable_more_warnings=yes
6456
CFLAGS="$CFLAGS -O0 -g"
6459
# Check whether --enable-debug was given.
6460
if test "${enable_debug+set}" = set; then :
6461
enableval=$enable_debug;
6467
if test x$enable_debug = xyes ; then
6469
$as_echo "#define GNOME_ENABLE_DEBUG 1" >>confdefs.h
6476
DISABLE_DEPRECATED=""
6477
if test $USE_MAINTAINER_MODE = yes; then
6478
DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
6479
for DOMAIN in $DOMAINS; do
6480
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
6487
# Check whether --enable-cxx-warnings was given.
6488
if test "${enable_cxx_warnings+set}" = set; then :
6489
enableval=$enable_cxx_warnings;
6491
enable_cxx_warnings="minimum"
6495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
6496
$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
6498
if test "x$GXX" != xyes; then
6499
enable_cxx_warnings=no
6501
if test "x$enable_cxx_warnings" != "xno"; then
6502
if test "x$GXX" = "xyes"; then
6503
case " $CXXFLAGS " in
6505
*) warnCXXFLAGS="-Wall -Wno-unused" ;;
6508
## -W is not all that useful. And it cannot be controlled
6509
## with individual -Wno-xxx flags, unlike -Wall
6510
if test "x$enable_cxx_warnings" = "xyes"; then
6511
warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
6515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $warnCXXFLAGS" >&5
6516
$as_echo "$warnCXXFLAGS" >&6; }
6518
# Check whether --enable-iso-cxx was given.
6519
if test "${enable_iso_cxx+set}" = set; then :
6520
enableval=$enable_iso_cxx;
6526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C++ compiler" >&5
6527
$as_echo_n "checking what language compliance flags to pass to the C++ compiler... " >&6; }
6529
if test "x$enable_iso_cxx" != "xno"; then
6530
if test "x$GXX" = "xyes"; then
6531
case " $CXXFLAGS " in
6533
*) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
6536
case " $CXXFLAGS " in
6537
*\ \ -pedantic\ \ *) ;;
6538
*) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
6542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCXXFLAGS" >&5
6543
$as_echo "$complCXXFLAGS" >&6; }
6545
WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
6548
# Check whether --enable-more-warnings was given.
6549
if test "${enable_more_warnings+set}" = set; then :
6550
enableval=$enable_more_warnings; enable_more_warnings="$enableval"
6552
enable_more_warnings=no
6555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what more warning flags to pass to the C compiler" >&5
6556
$as_echo_n "checking what more warning flags to pass to the C compiler... " >&6; }
6557
if test x"$enable_more_warnings" != xno ; then
6572
-Wstrict-aliasing=2 \
6576
previous_CXXFLAGS="$CXXFLAGS"
6577
CXXFLAGS="${WARN_CXXFLAGS}"
6578
for option in ${more_options} ; do
6579
SAVE_CXXFLAGS="$CXXFLAGS"
6580
CXXFLAGS="$CXXFLAGS $option"
6581
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6582
/* end confdefs.h. */
6592
if ac_fn_c_try_compile "$LINENO"; then :
6597
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6598
if test $has_option = no; then
6599
CXXFLAGS="$SAVE_CXXFLAGS"
6604
unset option more_options
6605
WARN_CXXFLAGS="$CXXFLAGS"
6606
CXXFLAGS="${previous_CXXFLAGS}"
6607
unset previous_CXXFLAGS
6608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $WARN_CXXFLAGS" >&5
6609
$as_echo "$WARN_CXXFLAGS" >&6; }
6611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6612
$as_echo "none" >&6; }
6615
# Checks for header files.
6616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
6617
$as_echo_n "checking for X... " >&6; }
6620
# Check whether --with-x was given.
6621
if test "${with_x+set}" = set; then :
6625
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6626
if test "x$with_x" = xno; then
6627
# The user explicitly disabled X.
6630
case $x_includes,$x_libraries in #(
6631
*\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
6632
*,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
6633
$as_echo_n "(cached) " >&6
6635
# One or both of the vars are not set, and there is no cached value.
6636
ac_x_includes=no ac_x_libraries=no
6637
rm -f -r conftest.dir
6638
if mkdir conftest.dir; then
6640
cat >Imakefile <<'_ACEOF'
6642
@echo incroot='${INCROOT}'
6644
@echo usrlibdir='${USRLIBDIR}'
6646
@echo libdir='${LIBDIR}'
6648
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
6649
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6650
for ac_var in incroot usrlibdir libdir; do
6651
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
6653
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6654
for ac_extension in a so sl dylib la dll; do
6655
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
6656
test -f "$ac_im_libdir/libX11.$ac_extension"; then
6657
ac_im_usrlibdir=$ac_im_libdir; break
6660
# Screen out bogus values from the imake configuration. They are
6661
# bogus both because they are the default anyway, and because
6662
# using them would break gcc on systems where it needs fixed includes.
6663
case $ac_im_incroot in
6664
/usr/include) ac_x_includes= ;;
6665
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
6667
case $ac_im_usrlibdir in
6668
/usr/lib | /usr/lib64 | /lib | /lib64) ;;
6669
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
6673
rm -f -r conftest.dir
6676
# Standard set of common directories for X headers.
6677
# Check X11 before X11Rn because it is often a symlink to the current release.
6691
/usr/local/X11/include
6692
/usr/local/X11R7/include
6693
/usr/local/X11R6/include
6694
/usr/local/X11R5/include
6695
/usr/local/X11R4/include
6697
/usr/local/include/X11
6698
/usr/local/include/X11R7
6699
/usr/local/include/X11R6
6700
/usr/local/include/X11R5
6701
/usr/local/include/X11R4
6705
/usr/XFree86/include/X11
6709
/usr/unsupported/include
6711
/usr/local/x11r5/include
6712
/usr/lpp/Xamples/include
6714
/usr/openwin/include
6715
/usr/openwin/share/include'
6717
if test "$ac_x_includes" = no; then
6718
# Guess where to find include files, by looking for Xlib.h.
6719
# First, try using that file with no special directory specified.
6720
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721
/* end confdefs.h. */
6722
#include <X11/Xlib.h>
6724
if ac_fn_c_try_cpp "$LINENO"; then :
6725
# We can compile using X headers with no special include directory.
6728
for ac_dir in $ac_x_header_dirs; do
6729
if test -r "$ac_dir/X11/Xlib.h"; then
6730
ac_x_includes=$ac_dir
6735
rm -f conftest.err conftest.i conftest.$ac_ext
6736
fi # $ac_x_includes = no
6738
if test "$ac_x_libraries" = no; then
6739
# Check for the libraries.
6740
# See if we find them without any special options.
6741
# Don't add to $LIBS permanently.
6744
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6745
/* end confdefs.h. */
6746
#include <X11/Xlib.h>
6755
if ac_fn_c_try_link "$LINENO"; then :
6757
# We can link X programs with no special library path.
6761
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6763
# Don't even attempt the hair of trying to link an X program!
6764
for ac_extension in a so sl dylib la dll; do
6765
if test -r "$ac_dir/libX11.$ac_extension"; then
6766
ac_x_libraries=$ac_dir
6772
rm -f core conftest.err conftest.$ac_objext \
6773
conftest$ac_exeext conftest.$ac_ext
6774
fi # $ac_x_libraries = no
6776
case $ac_x_includes,$ac_x_libraries in #(
6778
# Didn't find X, or a directory has "'" in its name.
6779
ac_cv_have_x="have_x=no";; #(
6781
# Record where we found X for the cache.
6782
ac_cv_have_x="have_x=yes\
6783
ac_x_includes='$ac_x_includes'\
6784
ac_x_libraries='$ac_x_libraries'"
6790
eval "$ac_cv_have_x"
6793
if test "$have_x" != yes; then
6794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
6795
$as_echo "$have_x" >&6; }
6798
# If each of the values was on the command line, it overrides each guess.
6799
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
6800
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
6801
# Update the cache value to reflect the command line values.
6802
ac_cv_have_x="have_x=yes\
6803
ac_x_includes='$x_includes'\
6804
ac_x_libraries='$x_libraries'"
6805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
6806
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
6809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6810
$as_echo_n "checking for ANSI C header files... " >&6; }
6811
if test "${ac_cv_header_stdc+set}" = set; then :
6812
$as_echo_n "(cached) " >&6
6814
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6815
/* end confdefs.h. */
6829
if ac_fn_c_try_compile "$LINENO"; then :
6830
ac_cv_header_stdc=yes
6832
ac_cv_header_stdc=no
6834
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6836
if test $ac_cv_header_stdc = yes; then
6837
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6838
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839
/* end confdefs.h. */
6843
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6844
$EGREP "memchr" >/dev/null 2>&1; then :
6847
ac_cv_header_stdc=no
6853
if test $ac_cv_header_stdc = yes; then
6854
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6855
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6856
/* end confdefs.h. */
6860
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6861
$EGREP "free" >/dev/null 2>&1; then :
6864
ac_cv_header_stdc=no
6870
if test $ac_cv_header_stdc = yes; then
6871
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6872
if test "$cross_compiling" = yes; then :
6875
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6876
/* end confdefs.h. */
6879
#if ((' ' & 0x0FF) == 0x020)
6880
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6881
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6883
# define ISLOWER(c) \
6884
(('a' <= (c) && (c) <= 'i') \
6885
|| ('j' <= (c) && (c) <= 'r') \
6886
|| ('s' <= (c) && (c) <= 'z'))
6887
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6890
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6895
for (i = 0; i < 256; i++)
6896
if (XOR (islower (i), ISLOWER (i))
6897
|| toupper (i) != TOUPPER (i))
6902
if ac_fn_c_try_run "$LINENO"; then :
6905
ac_cv_header_stdc=no
6907
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6908
conftest.$ac_objext conftest.beam conftest.$ac_ext
6913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6914
$as_echo "$ac_cv_header_stdc" >&6; }
6915
if test $ac_cv_header_stdc = yes; then
6917
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6922
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6923
if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6924
$as_echo_n "(cached) " >&6
6926
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6927
/* end confdefs.h. */
6928
#include <sys/types.h>
6929
#include <sys/wait.h>
6931
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6934
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6942
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6947
if ac_fn_c_try_compile "$LINENO"; then :
6948
ac_cv_header_sys_wait_h=yes
6950
ac_cv_header_sys_wait_h=no
6952
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6955
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
6956
if test $ac_cv_header_sys_wait_h = yes; then
6958
$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6962
for ac_header in fcntl.h stdint.h stdlib.h string.h sys/ioctl.h unistd.h
6964
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6965
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6966
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6967
cat >>confdefs.h <<_ACEOF
6968
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6976
# Checks for typedefs, structures, and compiler characteristics.
6977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
6978
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
6979
if test "${ac_cv_header_stdbool_h+set}" = set; then :
6980
$as_echo_n "(cached) " >&6
6982
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6983
/* end confdefs.h. */
6985
#include <stdbool.h>
6987
"error: bool is not defined"
6990
"error: false is not defined"
6993
"error: false is not 0"
6996
"error: true is not defined"
6999
"error: true is not 1"
7001
#ifndef __bool_true_false_are_defined
7002
"error: __bool_true_false_are_defined is not defined"
7005
struct s { _Bool s: 1; _Bool t; } s;
7007
char a[true == 1 ? 1 : -1];
7008
char b[false == 0 ? 1 : -1];
7009
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
7010
char d[(bool) 0.5 == true ? 1 : -1];
7012
char f[(_Bool) 0.0 == false ? 1 : -1];
7014
char h[sizeof (_Bool)];
7016
enum { j = false, k = true, l = false * true, m = true * 256 };
7017
/* The following fails for
7018
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
7020
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
7021
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
7022
# if defined __xlc__ || defined __GNUC__
7023
/* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
7024
reported by James Lemley on 2005-10-05; see
7025
http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
7026
This test is not quite right, since xlc is allowed to
7027
reject this program, as the initializer for xlcbug is
7028
not one of the forms that C requires support for.
7029
However, doing the test right would require a runtime
7030
test, and that would make cross-compilation harder.
7031
Let us hope that IBM fixes the xlc bug, and also adds
7032
support for this kind of constant expression. In the
7033
meantime, this test will reject xlc, which is OK, since
7034
our stdbool.h substitute should suffice. We also test
7035
this with GCC, where it should work, to detect more
7036
quickly whether someone messes up the test in the
7038
char digs[] = "0123456789";
7039
int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
7041
/* Catch a bug in an HP-UX C compiler. See
7042
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
7043
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
7054
/* Refer to every declared value, to avoid compiler optimizations. */
7055
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
7056
+ !m + !n + !o + !p + !q + !pq);
7062
if ac_fn_c_try_compile "$LINENO"; then :
7063
ac_cv_header_stdbool_h=yes
7065
ac_cv_header_stdbool_h=no
7067
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
7070
$as_echo "$ac_cv_header_stdbool_h" >&6; }
7071
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
7072
if test "x$ac_cv_type__Bool" = x""yes; then :
7074
cat >>confdefs.h <<_ACEOF
7075
#define HAVE__BOOL 1
7081
if test $ac_cv_header_stdbool_h = yes; then
7083
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
7087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7088
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7089
if test "${ac_cv_c_const+set}" = set; then :
7090
$as_echo_n "(cached) " >&6
7092
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7093
/* end confdefs.h. */
7098
/* FIXME: Include the comments suggested by Paul. */
7100
/* Ultrix mips cc rejects this. */
7101
typedef int charset[2];
7103
/* SunOS 4.1.1 cc rejects this. */
7104
char const *const *pcpcc;
7106
/* NEC SVR4.0.2 mips cc rejects this. */
7107
struct point {int x, y;};
7108
static struct point const zero = {0,0};
7109
/* AIX XL C 1.02.0.0 rejects this.
7110
It does not let you subtract one const X* pointer from another in
7111
an arm of an if-expression whose if-part is not a constant
7113
const char *g = "string";
7114
pcpcc = &g + (g ? g-g : 0);
7115
/* HPUX 7.0 cc rejects these. */
7117
ppc = (char**) pcpcc;
7118
pcpcc = (char const *const *) ppc;
7119
{ /* SCO 3.2v4 cc rejects this. */
7121
char const *s = 0 ? (char *) 0 : (char const *) 0;
7126
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7128
const int *foo = &x[0];
7131
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7132
typedef const int *iptr;
7136
{ /* AIX XL C 1.02.0.0 rejects this saying
7137
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7138
struct s { int j; const int *ap[3]; };
7139
struct s *b; b->j = 5;
7141
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7145
return !cs[0] && !zero.x;
7152
if ac_fn_c_try_compile "$LINENO"; then :
7157
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7160
$as_echo "$ac_cv_c_const" >&6; }
7161
if test $ac_cv_c_const = no; then
7163
$as_echo "#define const /**/" >>confdefs.h
7167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
7168
$as_echo_n "checking for inline... " >&6; }
7169
if test "${ac_cv_c_inline+set}" = set; then :
7170
$as_echo_n "(cached) " >&6
7173
for ac_kw in inline __inline__ __inline; do
7174
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175
/* end confdefs.h. */
7178
static $ac_kw foo_t static_foo () {return 0; }
7179
$ac_kw foo_t foo () {return 0; }
7183
if ac_fn_c_try_compile "$LINENO"; then :
7184
ac_cv_c_inline=$ac_kw
7186
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7187
test "$ac_cv_c_inline" != no && break
7191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
7192
$as_echo "$ac_cv_c_inline" >&6; }
7194
case $ac_cv_c_inline in
7197
case $ac_cv_c_inline in
7199
*) ac_val=$ac_cv_c_inline;;
7201
cat >>confdefs.h <<_ACEOF
7203
#define inline $ac_val
7209
ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
7210
if test "x$ac_cv_type_mode_t" = x""yes; then :
7214
cat >>confdefs.h <<_ACEOF
7220
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7221
if test "x$ac_cv_type_size_t" = x""yes; then :
7225
cat >>confdefs.h <<_ACEOF
7226
#define size_t unsigned int
7231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7232
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7233
if test "${ac_cv_struct_tm+set}" = set; then :
7234
$as_echo_n "(cached) " >&6
7236
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237
/* end confdefs.h. */
7238
#include <sys/types.h>
7245
int *p = &tm.tm_sec;
7251
if ac_fn_c_try_compile "$LINENO"; then :
7252
ac_cv_struct_tm=time.h
7254
ac_cv_struct_tm=sys/time.h
7256
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
7259
$as_echo "$ac_cv_struct_tm" >&6; }
7260
if test $ac_cv_struct_tm = sys/time.h; then
7262
$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
7266
ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
7267
case $ac_cv_c_uint16_t in #(
7272
cat >>confdefs.h <<_ACEOF
7273
#define uint16_t $ac_cv_c_uint16_t
7278
ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
7279
case $ac_cv_c_uint32_t in #(
7283
$as_echo "#define _UINT32_T 1" >>confdefs.h
7286
cat >>confdefs.h <<_ACEOF
7287
#define uint32_t $ac_cv_c_uint32_t
7292
ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
7293
case $ac_cv_c_uint8_t in #(
7297
$as_echo "#define _UINT8_T 1" >>confdefs.h
7300
cat >>confdefs.h <<_ACEOF
7301
#define uint8_t $ac_cv_c_uint8_t
7307
# Checks for library functions.
7308
if test $ac_cv_c_compiler_gnu = yes; then
7309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
7310
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
7311
if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
7312
$as_echo_n "(cached) " >&6
7314
ac_pattern="Autoconf.*'x'"
7315
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7316
/* end confdefs.h. */
7320
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7321
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
7322
ac_cv_prog_gcc_traditional=yes
7324
ac_cv_prog_gcc_traditional=no
7329
if test $ac_cv_prog_gcc_traditional = no; then
7330
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331
/* end confdefs.h. */
7335
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7336
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
7337
ac_cv_prog_gcc_traditional=yes
7343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
7344
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
7345
if test $ac_cv_prog_gcc_traditional = yes; then
7346
CC="$CC -traditional"
7350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7351
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7352
if test "${ac_cv_header_time+set}" = set; then :
7353
$as_echo_n "(cached) " >&6
7355
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7356
/* end confdefs.h. */
7357
#include <sys/types.h>
7358
#include <sys/time.h>
7364
if ((struct tm *) 0)
7370
if ac_fn_c_try_compile "$LINENO"; then :
7371
ac_cv_header_time=yes
7373
ac_cv_header_time=no
7375
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
7378
$as_echo "$ac_cv_header_time" >&6; }
7379
if test $ac_cv_header_time = yes; then
7381
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
7388
for ac_header in $ac_header_list
7390
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7391
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7393
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7394
cat >>confdefs.h <<_ACEOF
7395
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7409
for ac_func in $ac_func_list
7411
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7412
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7413
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7414
cat >>confdefs.h <<_ACEOF
7415
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7425
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
7426
$as_echo_n "checking for working mktime... " >&6; }
7427
if test "${ac_cv_func_working_mktime+set}" = set; then :
7428
$as_echo_n "(cached) " >&6
7430
if test "$cross_compiling" = yes; then :
7431
ac_cv_func_working_mktime=no
7433
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7434
/* end confdefs.h. */
7435
/* Test program from Paul Eggert and Tony Leneis. */
7436
#ifdef TIME_WITH_SYS_TIME
7437
# include <sys/time.h>
7440
# ifdef HAVE_SYS_TIME_H
7441
# include <sys/time.h>
7450
#ifdef HAVE_UNISTD_H
7451
# include <unistd.h>
7455
# define alarm(X) /* empty */
7458
/* Work around redefinition to rpl_putenv by other config tests. */
7461
static time_t time_t_max;
7462
static time_t time_t_min;
7464
/* Values we'll use to set the TZ environment variable. */
7465
static const char *tz_strings[] = {
7466
(const char *) 0, "TZ=GMT0", "TZ=JST-9",
7467
"TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
7469
#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
7471
/* Return 0 if mktime fails to convert a date in the spring-forward gap.
7472
Based on a problem report from Andreas Jaeger. */
7474
spring_forward_gap ()
7476
/* glibc (up to about 1998-10-07) failed this test. */
7479
/* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
7480
instead of "TZ=America/Vancouver" in order to detect the bug even
7481
on systems that don't support the Olson extension, or don't have the
7482
full zoneinfo tables installed. */
7483
putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
7492
return mktime (&tm) != (time_t) -1;
7496
mktime_test1 (time_t now)
7499
return ! (lt = localtime (&now)) || mktime (lt) == now;
7503
mktime_test (time_t now)
7505
return (mktime_test1 (now)
7506
&& mktime_test1 ((time_t) (time_t_max - now))
7507
&& mktime_test1 ((time_t) (time_t_min + now)));
7513
/* Based on code from Ariel Faigon. */
7523
return tm.tm_mon == 2 && tm.tm_mday == 31;
7527
bigtime_test (int j)
7531
tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
7533
if (now != (time_t) -1)
7535
struct tm *lt = localtime (&now);
7537
&& lt->tm_year == tm.tm_year
7538
&& lt->tm_mon == tm.tm_mon
7539
&& lt->tm_mday == tm.tm_mday
7540
&& lt->tm_hour == tm.tm_hour
7541
&& lt->tm_min == tm.tm_min
7542
&& lt->tm_sec == tm.tm_sec
7543
&& lt->tm_yday == tm.tm_yday
7544
&& lt->tm_wday == tm.tm_wday
7545
&& ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
7546
== (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
7555
/* The correct answer for 2050-02-01 00:00:00 in Pacific time,
7556
ignoring leap seconds. */
7557
unsigned long int answer = 2527315200UL;
7561
tm.tm_year = 2050 - 1900;
7564
tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
7567
/* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
7568
instead of "TZ=America/Vancouver" in order to detect the bug even
7569
on systems that don't support the Olson extension, or don't have the
7570
full zoneinfo tables installed. */
7571
putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
7575
/* Check that the result is either a failure, or close enough
7576
to the correct answer that we can assume the discrepancy is
7577
due to leap seconds. */
7578
return (t == (time_t) -1
7579
|| (0 < t && answer - 120 <= t && t <= answer + 120));
7588
/* This test makes some buggy mktime implementations loop.
7589
Give up after 60 seconds; a mktime slower than that
7590
isn't worth using anyway. */
7595
t = (time_t_max << 1) + 1;
7596
if (t <= time_t_max)
7600
time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
7602
delta = time_t_max / 997; /* a suitable prime number */
7603
for (i = 0; i < N_STRINGS; i++)
7606
putenv ((char*) tz_strings[i]);
7608
for (t = 0; t <= time_t_max - delta; t += delta)
7609
if (! mktime_test (t))
7611
if (! (mktime_test ((time_t) 1)
7612
&& mktime_test ((time_t) (60 * 60))
7613
&& mktime_test ((time_t) (60 * 60 * 24))))
7616
for (j = 1; ; j <<= 1)
7617
if (! bigtime_test (j))
7619
else if (INT_MAX / 2 < j)
7621
if (! bigtime_test (INT_MAX))
7624
return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
7627
if ac_fn_c_try_run "$LINENO"; then :
7628
ac_cv_func_working_mktime=yes
7630
ac_cv_func_working_mktime=no
7632
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7633
conftest.$ac_objext conftest.beam conftest.$ac_ext
7637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
7638
$as_echo "$ac_cv_func_working_mktime" >&6; }
7639
if test $ac_cv_func_working_mktime = no; then
7640
case " $LIBOBJS " in
7641
*" mktime.$ac_objext "* ) ;;
7642
*) LIBOBJS="$LIBOBJS mktime.$ac_objext"
7648
for ac_header in stdlib.h
7650
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
7651
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
7652
cat >>confdefs.h <<_ACEOF
7653
#define HAVE_STDLIB_H 1
7660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
7661
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
7662
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
7663
$as_echo_n "(cached) " >&6
7665
if test "$cross_compiling" = yes; then :
7666
ac_cv_func_realloc_0_nonnull=no
7668
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7669
/* end confdefs.h. */
7670
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
7671
# include <stdlib.h>
7679
return ! realloc (0, 0);
7684
if ac_fn_c_try_run "$LINENO"; then :
7685
ac_cv_func_realloc_0_nonnull=yes
7687
ac_cv_func_realloc_0_nonnull=no
7689
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7690
conftest.$ac_objext conftest.beam conftest.$ac_ext
7694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
7695
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
7696
if test $ac_cv_func_realloc_0_nonnull = yes; then :
7698
$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
7701
$as_echo "#define HAVE_REALLOC 0" >>confdefs.h
7703
case " $LIBOBJS " in
7704
*" realloc.$ac_objext "* ) ;;
7705
*) LIBOBJS="$LIBOBJS realloc.$ac_objext"
7710
$as_echo "#define realloc rpl_realloc" >>confdefs.h
7715
for ac_header in sys/select.h sys/socket.h
7717
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7718
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7719
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7720
cat >>confdefs.h <<_ACEOF
7721
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
7729
$as_echo_n "checking types of arguments for select... " >&6; }
7730
if test "${ac_cv_func_select_args+set}" = set; then :
7731
$as_echo_n "(cached) " >&6
7733
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
7734
for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
7735
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
7736
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7737
/* end confdefs.h. */
7738
$ac_includes_default
7739
#ifdef HAVE_SYS_SELECT_H
7740
# include <sys/select.h>
7742
#ifdef HAVE_SYS_SOCKET_H
7743
# include <sys/socket.h>
7749
extern int select ($ac_arg1,
7750
$ac_arg234, $ac_arg234, $ac_arg234,
7756
if ac_fn_c_try_compile "$LINENO"; then :
7757
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
7759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7763
# Provide a safe default value.
7764
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
7767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
7768
$as_echo "$ac_cv_func_select_args" >&6; }
7769
ac_save_IFS=$IFS; IFS=','
7770
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
7774
cat >>confdefs.h <<_ACEOF
7775
#define SELECT_TYPE_ARG1 $1
7779
cat >>confdefs.h <<_ACEOF
7780
#define SELECT_TYPE_ARG234 ($2)
7784
cat >>confdefs.h <<_ACEOF
7785
#define SELECT_TYPE_ARG5 ($3)
7790
for ac_func in strftime
7792
ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
7793
if test "x$ac_cv_func_strftime" = x""yes; then :
7794
cat >>confdefs.h <<_ACEOF
7795
#define HAVE_STRFTIME 1
7799
# strftime is in -lintl on SCO UNIX.
7800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
7801
$as_echo_n "checking for strftime in -lintl... " >&6; }
7802
if test "${ac_cv_lib_intl_strftime+set}" = set; then :
7803
$as_echo_n "(cached) " >&6
7805
ac_check_lib_save_LIBS=$LIBS
7807
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808
/* end confdefs.h. */
7810
/* Override any GCC internal prototype to avoid an error.
7811
Use char because int might match the return type of a GCC
7812
builtin and then its argument prototype would still apply. */
7825
if ac_fn_c_try_link "$LINENO"; then :
7826
ac_cv_lib_intl_strftime=yes
7828
ac_cv_lib_intl_strftime=no
7830
rm -f core conftest.err conftest.$ac_objext \
7831
conftest$ac_exeext conftest.$ac_ext
7832
LIBS=$ac_check_lib_save_LIBS
7834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
7835
$as_echo "$ac_cv_lib_intl_strftime" >&6; }
7836
if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
7837
$as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
7845
for ac_func in localtime_r mempcpy memset mkfifo select strerror tzset
7847
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7848
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7849
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7850
cat >>confdefs.h <<_ACEOF
7851
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7858
# Checks for libraries.
7861
GETTEXT_PACKAGE=${PACKAGE}
7864
cat >>confdefs.h <<_ACEOF
7865
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
7869
for ac_header in locale.h
7871
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
7872
if test "x$ac_cv_header_locale_h" = x""yes; then :
7873
cat >>confdefs.h <<_ACEOF
7874
#define HAVE_LOCALE_H 1
7881
if test $ac_cv_header_locale_h = yes; then
7882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
7883
$as_echo_n "checking for LC_MESSAGES... " >&6; }
7884
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
7885
$as_echo_n "(cached) " >&6
7887
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888
/* end confdefs.h. */
7898
if ac_fn_c_try_link "$LINENO"; then :
7899
am_cv_val_LC_MESSAGES=yes
7901
am_cv_val_LC_MESSAGES=no
7903
rm -f core conftest.err conftest.$ac_objext \
7904
conftest$ac_exeext conftest.$ac_ext
7906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
7907
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
7908
if test $am_cv_val_LC_MESSAGES = yes; then
7910
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
7917
gt_cv_have_gettext=no
7923
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
7924
if test "x$ac_cv_header_libintl_h" = x""yes; then :
7925
gt_cv_func_dgettext_libintl="no"
7926
libintl_extra_libs=""
7929
# First check in libc
7931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
7932
$as_echo_n "checking for ngettext in libc... " >&6; }
7933
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
7934
$as_echo_n "(cached) " >&6
7936
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7937
/* end confdefs.h. */
7939
#include <libintl.h>
7944
return !ngettext ("","", 1)
7949
if ac_fn_c_try_link "$LINENO"; then :
7950
gt_cv_func_ngettext_libc=yes
7952
gt_cv_func_ngettext_libc=no
7954
rm -f core conftest.err conftest.$ac_objext \
7955
conftest$ac_exeext conftest.$ac_ext
7958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
7959
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
7961
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
7962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
7963
$as_echo_n "checking for dgettext in libc... " >&6; }
7964
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
7965
$as_echo_n "(cached) " >&6
7967
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7968
/* end confdefs.h. */
7970
#include <libintl.h>
7975
return !dgettext ("","")
7980
if ac_fn_c_try_link "$LINENO"; then :
7981
gt_cv_func_dgettext_libc=yes
7983
gt_cv_func_dgettext_libc=no
7985
rm -f core conftest.err conftest.$ac_objext \
7986
conftest$ac_exeext conftest.$ac_ext
7989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
7990
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
7993
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
7994
for ac_func in bind_textdomain_codeset
7996
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
7997
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
7998
cat >>confdefs.h <<_ACEOF
7999
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
8008
# If we don't have everything we want, check in libintl
8010
if test "$gt_cv_func_dgettext_libc" != "yes" \
8011
|| test "$gt_cv_func_ngettext_libc" != "yes" \
8012
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
8014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
8015
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
8016
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
8017
$as_echo_n "(cached) " >&6
8019
ac_check_lib_save_LIBS=$LIBS
8021
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8022
/* end confdefs.h. */
8024
/* Override any GCC internal prototype to avoid an error.
8025
Use char because int might match the return type of a GCC
8026
builtin and then its argument prototype would still apply. */
8030
char bindtextdomain ();
8034
return bindtextdomain ();
8039
if ac_fn_c_try_link "$LINENO"; then :
8040
ac_cv_lib_intl_bindtextdomain=yes
8042
ac_cv_lib_intl_bindtextdomain=no
8044
rm -f core conftest.err conftest.$ac_objext \
8045
conftest$ac_exeext conftest.$ac_ext
8046
LIBS=$ac_check_lib_save_LIBS
8048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
8049
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
8050
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
8051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
8052
$as_echo_n "checking for ngettext in -lintl... " >&6; }
8053
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
8054
$as_echo_n "(cached) " >&6
8056
ac_check_lib_save_LIBS=$LIBS
8058
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8059
/* end confdefs.h. */
8061
/* Override any GCC internal prototype to avoid an error.
8062
Use char because int might match the return type of a GCC
8063
builtin and then its argument prototype would still apply. */
8076
if ac_fn_c_try_link "$LINENO"; then :
8077
ac_cv_lib_intl_ngettext=yes
8079
ac_cv_lib_intl_ngettext=no
8081
rm -f core conftest.err conftest.$ac_objext \
8082
conftest$ac_exeext conftest.$ac_ext
8083
LIBS=$ac_check_lib_save_LIBS
8085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
8086
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
8087
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
8088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
8089
$as_echo_n "checking for dgettext in -lintl... " >&6; }
8090
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
8091
$as_echo_n "(cached) " >&6
8093
ac_check_lib_save_LIBS=$LIBS
8095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8096
/* end confdefs.h. */
8098
/* Override any GCC internal prototype to avoid an error.
8099
Use char because int might match the return type of a GCC
8100
builtin and then its argument prototype would still apply. */
8113
if ac_fn_c_try_link "$LINENO"; then :
8114
ac_cv_lib_intl_dgettext=yes
8116
ac_cv_lib_intl_dgettext=no
8118
rm -f core conftest.err conftest.$ac_objext \
8119
conftest$ac_exeext conftest.$ac_ext
8120
LIBS=$ac_check_lib_save_LIBS
8122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
8123
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
8124
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
8125
gt_cv_func_dgettext_libintl=yes
8133
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
8134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
8135
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
8136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
8138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
8139
$as_echo_n "checking for ngettext in -lintl... " >&6; }
8140
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
8141
$as_echo_n "(cached) " >&6
8143
ac_check_lib_save_LIBS=$LIBS
8144
LIBS="-lintl -liconv $LIBS"
8145
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8146
/* end confdefs.h. */
8148
/* Override any GCC internal prototype to avoid an error.
8149
Use char because int might match the return type of a GCC
8150
builtin and then its argument prototype would still apply. */
8163
if ac_fn_c_try_link "$LINENO"; then :
8164
ac_cv_lib_intl_ngettext=yes
8166
ac_cv_lib_intl_ngettext=no
8168
rm -f core conftest.err conftest.$ac_objext \
8169
conftest$ac_exeext conftest.$ac_ext
8170
LIBS=$ac_check_lib_save_LIBS
8172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
8173
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
8174
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
8175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
8176
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
8177
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
8178
$as_echo_n "(cached) " >&6
8180
ac_check_lib_save_LIBS=$LIBS
8181
LIBS="-lintl -liconv $LIBS"
8182
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183
/* end confdefs.h. */
8185
/* Override any GCC internal prototype to avoid an error.
8186
Use char because int might match the return type of a GCC
8187
builtin and then its argument prototype would still apply. */
8195
return dcgettext ();
8200
if ac_fn_c_try_link "$LINENO"; then :
8201
ac_cv_lib_intl_dcgettext=yes
8203
ac_cv_lib_intl_dcgettext=no
8205
rm -f core conftest.err conftest.$ac_objext \
8206
conftest$ac_exeext conftest.$ac_ext
8207
LIBS=$ac_check_lib_save_LIBS
8209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
8210
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
8211
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
8212
gt_cv_func_dgettext_libintl=yes
8213
libintl_extra_libs=-liconv
8225
# If we found libintl, then check in it for bind_textdomain_codeset();
8226
# we'll prefer libc if neither have bind_textdomain_codeset(),
8227
# and both have dgettext and ngettext
8229
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
8230
glib_save_LIBS="$LIBS"
8231
LIBS="$LIBS -lintl $libintl_extra_libs"
8232
unset ac_cv_func_bind_textdomain_codeset
8233
for ac_func in bind_textdomain_codeset
8235
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
8236
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
8237
cat >>confdefs.h <<_ACEOF
8238
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
8244
LIBS="$glib_save_LIBS"
8246
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
8247
gt_cv_func_dgettext_libc=no
8249
if test "$gt_cv_func_dgettext_libc" = "yes" \
8250
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
8251
gt_cv_func_dgettext_libintl=no
8257
if test "$gt_cv_func_dgettext_libc" = "yes" \
8258
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
8259
gt_cv_have_gettext=yes
8262
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
8263
INTLLIBS="-lintl $libintl_extra_libs"
8266
if test "$gt_cv_have_gettext" = "yes"; then
8268
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
8270
# Extract the first word of "msgfmt", so it can be a program name with args.
8271
set dummy msgfmt; ac_word=$2
8272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8273
$as_echo_n "checking for $ac_word... " >&6; }
8274
if test "${ac_cv_path_MSGFMT+set}" = set; then :
8275
$as_echo_n "(cached) " >&6
8279
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
8282
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8283
for ac_dir in $PATH; do
8284
test -z "$ac_dir" && ac_dir=.
8285
if test -f $ac_dir/$ac_word; then
8286
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8287
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
8293
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
8297
MSGFMT="$ac_cv_path_MSGFMT"
8298
if test "$MSGFMT" != "no"; then
8299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
8300
$as_echo "$MSGFMT" >&6; }
8302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303
$as_echo "no" >&6; }
8305
if test "$MSGFMT" != "no"; then
8306
glib_save_LIBS="$LIBS"
8307
LIBS="$LIBS $INTLLIBS"
8308
for ac_func in dcgettext
8310
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
8311
if test "x$ac_cv_func_dcgettext" = x""yes; then :
8312
cat >>confdefs.h <<_ACEOF
8313
#define HAVE_DCGETTEXT 1
8320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
8321
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
8322
cat >conftest.foo <<_ACEOF
8326
"Content-Type: text/plain; charset=UTF-8\n"
8327
"Project-Id-Version: test 1.0\n"
8328
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
8329
"Last-Translator: test <foo@bar.xx>\n"
8330
"Language-Team: C <LL@li.org>\n"
8331
"MIME-Version: 1.0\n"
8332
"Content-Transfer-Encoding: 8bit\n"
8335
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
8336
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
8338
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8339
test $ac_status = 0; }; then
8340
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8341
$as_echo "yes" >&6; }
8342
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343
$as_echo "no" >&6; }
8344
echo "$as_me: failed input was:" >&5
8345
sed 's/^/| /' conftest.foo >&5
8348
# Extract the first word of "gmsgfmt", so it can be a program name with args.
8349
set dummy gmsgfmt; ac_word=$2
8350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8351
$as_echo_n "checking for $ac_word... " >&6; }
8352
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
8353
$as_echo_n "(cached) " >&6
8357
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
8360
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8364
test -z "$as_dir" && as_dir=.
8365
for ac_exec_ext in '' $ac_executable_extensions; do
8366
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8367
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8368
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8375
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8379
GMSGFMT=$ac_cv_path_GMSGFMT
8380
if test -n "$GMSGFMT"; then
8381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
8382
$as_echo "$GMSGFMT" >&6; }
8384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8385
$as_echo "no" >&6; }
8389
# Extract the first word of "xgettext", so it can be a program name with args.
8390
set dummy xgettext; ac_word=$2
8391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8392
$as_echo_n "checking for $ac_word... " >&6; }
8393
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
8394
$as_echo_n "(cached) " >&6
8398
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
8401
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8402
for ac_dir in $PATH; do
8403
test -z "$ac_dir" && ac_dir=.
8404
if test -f $ac_dir/$ac_word; then
8405
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8406
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
8412
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
8416
XGETTEXT="$ac_cv_path_XGETTEXT"
8417
if test "$XGETTEXT" != ":"; then
8418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
8419
$as_echo "$XGETTEXT" >&6; }
8421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8422
$as_echo "no" >&6; }
8425
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426
/* end confdefs.h. */
8431
extern int _nl_msg_cat_cntr;
8432
return _nl_msg_cat_cntr
8437
if ac_fn_c_try_link "$LINENO"; then :
8443
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
8444
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
8459
rm -f core conftest.err conftest.$ac_objext \
8460
conftest$ac_exeext conftest.$ac_ext
8461
LIBS="$glib_save_LIBS"
8464
gt_cv_have_gettext=no
8472
if test "$gt_cv_have_gettext" = "yes" ; then
8474
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
8478
if test "$XGETTEXT" != ":"; then
8479
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
8482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
8483
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
8488
# We need to process the po/ directory.
8491
ac_config_commands="$ac_config_commands default-1"
8494
for lang in $ALL_LINGUAS; do
8495
GMOFILES="$GMOFILES $lang.gmo"
8496
POFILES="$POFILES $lang.po"
8511
if test "$gt_cv_have_gettext" = "yes"; then
8512
if test "x$ALL_LINGUAS" = "x"; then
8515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
8516
$as_echo_n "checking for catalogs to be installed... " >&6; }
8518
for presentlang in $ALL_LINGUAS; do
8520
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
8521
desiredlanguages="$LINGUAS"
8523
desiredlanguages="$ALL_LINGUAS"
8525
for desiredlang in $desiredlanguages; do
8526
# Use the presentlang catalog if desiredlang is
8527
# a. equal to presentlang, or
8528
# b. a variant of presentlang (because in this case,
8529
# presentlang can be used as a fallback for messages
8530
# which are not translated in the desiredlang catalog).
8531
case "$desiredlang" in
8532
"$presentlang"*) useit=yes;;
8535
if test $useit = yes; then
8536
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
8539
LINGUAS=$NEW_LINGUAS
8540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
8541
$as_echo "$LINGUAS" >&6; }
8544
if test -n "$LINGUAS"; then
8545
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
8550
if test -n "$ac_aux_dir"; then
8551
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
8553
if test -z "$MKINSTALLDIRS"; then
8554
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
8558
test -d po || mkdir po
8559
if test "x$srcdir" != "x."; then
8560
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8561
posrcprefix="$srcdir/"
8563
posrcprefix="../$srcdir/"
8569
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8570
< $srcdir/po/POTFILES.in > po/POTFILES
8572
glib_save_prefix="$prefix"
8573
glib_save_exec_prefix="$exec_prefix"
8574
glib_save_datarootdir="$datarootdir"
8575
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8576
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
8577
datarootdir=`eval echo "${datarootdir}"`
8578
if test "x$CATOBJEXT" = "x.mo" ; then
8579
localedir=`eval echo "${libdir}/locale"`
8581
localedir=`eval echo "${datadir}/locale"`
8583
prefix="$glib_save_prefix"
8584
exec_prefix="$glib_save_exec_prefix"
8585
datarootdir="$glib_save_datarootdir"
8587
cat >>confdefs.h <<_ACEOF
8588
#define PACKAGE_LOCALE_DIR "$localedir"
8593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8594
$as_echo_n "checking whether NLS is requested... " >&6; }
8595
# Check whether --enable-nls was given.
8596
if test "${enable_nls+set}" = set; then :
8597
enableval=$enable_nls; USE_NLS=$enableval
8602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8603
$as_echo "$USE_NLS" >&6; }
8608
case "$am__api_version" in
8610
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
8616
if test -n "0.35.0"; then
8617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
8618
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
8620
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8621
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
8622
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
8625
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
8626
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
8627
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
8630
# Extract the first word of "intltool-update", so it can be a program name with args.
8631
set dummy intltool-update; ac_word=$2
8632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8633
$as_echo_n "checking for $ac_word... " >&6; }
8634
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
8635
$as_echo_n "(cached) " >&6
8637
case $INTLTOOL_UPDATE in
8639
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
8642
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8646
test -z "$as_dir" && as_dir=.
8647
for ac_exec_ext in '' $ac_executable_extensions; do
8648
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8649
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
8650
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8660
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
8661
if test -n "$INTLTOOL_UPDATE"; then
8662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
8663
$as_echo "$INTLTOOL_UPDATE" >&6; }
8665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8666
$as_echo "no" >&6; }
8670
# Extract the first word of "intltool-merge", so it can be a program name with args.
8671
set dummy intltool-merge; ac_word=$2
8672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8673
$as_echo_n "checking for $ac_word... " >&6; }
8674
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
8675
$as_echo_n "(cached) " >&6
8677
case $INTLTOOL_MERGE in
8679
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
8682
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8686
test -z "$as_dir" && as_dir=.
8687
for ac_exec_ext in '' $ac_executable_extensions; do
8688
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8689
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
8690
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8700
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
8701
if test -n "$INTLTOOL_MERGE"; then
8702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
8703
$as_echo "$INTLTOOL_MERGE" >&6; }
8705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706
$as_echo "no" >&6; }
8710
# Extract the first word of "intltool-extract", so it can be a program name with args.
8711
set dummy intltool-extract; ac_word=$2
8712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8713
$as_echo_n "checking for $ac_word... " >&6; }
8714
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
8715
$as_echo_n "(cached) " >&6
8717
case $INTLTOOL_EXTRACT in
8719
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
8722
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8726
test -z "$as_dir" && as_dir=.
8727
for ac_exec_ext in '' $ac_executable_extensions; do
8728
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8729
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
8730
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
8741
if test -n "$INTLTOOL_EXTRACT"; then
8742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
8743
$as_echo "$INTLTOOL_EXTRACT" >&6; }
8745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746
$as_echo "no" >&6; }
8750
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
8751
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
8754
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8755
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8756
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8757
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8758
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
8759
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8760
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8761
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8762
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8763
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8764
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8765
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
8766
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8767
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8768
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8769
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8770
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8771
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8772
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8870
# Check the gettext tools to make sure they are GNU
8871
# Extract the first word of "xgettext", so it can be a program name with args.
8872
set dummy xgettext; ac_word=$2
8873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8874
$as_echo_n "checking for $ac_word... " >&6; }
8875
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
8876
$as_echo_n "(cached) " >&6
8880
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
8883
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8887
test -z "$as_dir" && as_dir=.
8888
for ac_exec_ext in '' $ac_executable_extensions; do
8889
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8890
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
8891
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8901
XGETTEXT=$ac_cv_path_XGETTEXT
8902
if test -n "$XGETTEXT"; then
8903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
8904
$as_echo "$XGETTEXT" >&6; }
8906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8907
$as_echo "no" >&6; }
8911
# Extract the first word of "msgmerge", so it can be a program name with args.
8912
set dummy msgmerge; ac_word=$2
8913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8914
$as_echo_n "checking for $ac_word... " >&6; }
8915
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
8916
$as_echo_n "(cached) " >&6
8920
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
8923
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8927
test -z "$as_dir" && as_dir=.
8928
for ac_exec_ext in '' $ac_executable_extensions; do
8929
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8930
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
8931
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8941
MSGMERGE=$ac_cv_path_MSGMERGE
8942
if test -n "$MSGMERGE"; then
8943
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
8944
$as_echo "$MSGMERGE" >&6; }
8946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8947
$as_echo "no" >&6; }
8951
# Extract the first word of "msgfmt", so it can be a program name with args.
8952
set dummy msgfmt; ac_word=$2
8953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8954
$as_echo_n "checking for $ac_word... " >&6; }
8955
if test "${ac_cv_path_MSGFMT+set}" = set; then :
8956
$as_echo_n "(cached) " >&6
8960
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
8963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8967
test -z "$as_dir" && as_dir=.
8968
for ac_exec_ext in '' $ac_executable_extensions; do
8969
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8970
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
8971
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8981
MSGFMT=$ac_cv_path_MSGFMT
8982
if test -n "$MSGFMT"; then
8983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
8984
$as_echo "$MSGFMT" >&6; }
8986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8987
$as_echo "no" >&6; }
8991
# Extract the first word of "gmsgfmt", so it can be a program name with args.
8992
set dummy gmsgfmt; ac_word=$2
8993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8994
$as_echo_n "checking for $ac_word... " >&6; }
8995
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
8996
$as_echo_n "(cached) " >&6
9000
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
9003
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9007
test -z "$as_dir" && as_dir=.
9008
for ac_exec_ext in '' $ac_executable_extensions; do
9009
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9010
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
9011
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9018
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
9022
GMSGFMT=$ac_cv_path_GMSGFMT
9023
if test -n "$GMSGFMT"; then
9024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
9025
$as_echo "$GMSGFMT" >&6; }
9027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9028
$as_echo "no" >&6; }
9032
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
9033
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
9035
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
9036
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
9037
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
9038
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
9039
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
9042
# Extract the first word of "perl", so it can be a program name with args.
9043
set dummy perl; ac_word=$2
9044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9045
$as_echo_n "checking for $ac_word... " >&6; }
9046
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
9047
$as_echo_n "(cached) " >&6
9049
case $INTLTOOL_PERL in
9051
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
9054
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9058
test -z "$as_dir" && as_dir=.
9059
for ac_exec_ext in '' $ac_executable_extensions; do
9060
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9061
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
9062
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9072
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
9073
if test -n "$INTLTOOL_PERL"; then
9074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
9075
$as_echo "$INTLTOOL_PERL" >&6; }
9077
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9078
$as_echo "no" >&6; }
9082
if test -z "$INTLTOOL_PERL"; then
9083
as_fn_error $? "perl not found" "$LINENO" 5
9085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
9086
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
9087
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
9088
if test $? -ne 0; then
9089
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
9091
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
9092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
9093
$as_echo "$IT_PERL_VERSION" >&6; }
9095
if test "x" != "xno-xml"; then
9096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
9097
$as_echo_n "checking for XML::Parser... " >&6; }
9098
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
9099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9100
$as_echo "ok" >&6; }
9102
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
9106
# Substitute ALL_LINGUAS so we can use it in po/Makefile
9109
# Set DATADIRNAME correctly if it is not set yet
9110
# (copied from glib-gettext.m4)
9111
if test -z "$DATADIRNAME"; then
9112
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113
/* end confdefs.h. */
9118
extern int _nl_msg_cat_cntr;
9119
return _nl_msg_cat_cntr
9124
if ac_fn_c_try_link "$LINENO"; then :
9129
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
9130
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
9142
rm -f core conftest.err conftest.$ac_objext \
9143
conftest$ac_exeext conftest.$ac_ext
9153
GTKMM_REQUIRED=2.12.0
9154
GIOMM_REQUIRED=2.10.0
9156
GTHREAD_REQUIRED=2.10.0
9158
LIBXINE_REQUIRED=1.1.7
9174
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9175
if test -n "$ac_tool_prefix"; then
9176
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9177
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9179
$as_echo_n "checking for $ac_word... " >&6; }
9180
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
9181
$as_echo_n "(cached) " >&6
9185
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9192
test -z "$as_dir" && as_dir=.
9193
for ac_exec_ext in '' $ac_executable_extensions; do
9194
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9195
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9196
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9206
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9207
if test -n "$PKG_CONFIG"; then
9208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9209
$as_echo "$PKG_CONFIG" >&6; }
9211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9212
$as_echo "no" >&6; }
9217
if test -z "$ac_cv_path_PKG_CONFIG"; then
9218
ac_pt_PKG_CONFIG=$PKG_CONFIG
9219
# Extract the first word of "pkg-config", so it can be a program name with args.
9220
set dummy pkg-config; ac_word=$2
9221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9222
$as_echo_n "checking for $ac_word... " >&6; }
9223
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
9224
$as_echo_n "(cached) " >&6
9226
case $ac_pt_PKG_CONFIG in
9228
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9231
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9235
test -z "$as_dir" && as_dir=.
9236
for ac_exec_ext in '' $ac_executable_extensions; do
9237
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9238
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9239
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9249
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9250
if test -n "$ac_pt_PKG_CONFIG"; then
9251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9252
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
9254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255
$as_echo "no" >&6; }
9258
if test "x$ac_pt_PKG_CONFIG" = x; then
9261
case $cross_compiling:$ac_tool_warned in
9263
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9264
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9265
ac_tool_warned=yes ;;
9267
PKG_CONFIG=$ac_pt_PKG_CONFIG
9270
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9274
if test -n "$PKG_CONFIG"; then
9275
_pkg_min_version=0.9.0
9276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9277
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9278
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9280
$as_echo "yes" >&6; }
9282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9283
$as_echo "no" >&6; }
9289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
9290
$as_echo_n "checking for SQLITE... " >&6; }
9292
if test -n "$SQLITE_CFLAGS"; then
9293
pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
9294
elif test -n "$PKG_CONFIG"; then
9295
if test -n "$PKG_CONFIG" && \
9296
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$SQLITE_REQUIRED\""; } >&5
9297
($PKG_CONFIG --exists --print-errors "sqlite3 >= $SQLITE_REQUIRED") 2>&5
9299
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9300
test $ac_status = 0; }; then
9301
pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= $SQLITE_REQUIRED" 2>/dev/null`
9308
if test -n "$SQLITE_LIBS"; then
9309
pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
9310
elif test -n "$PKG_CONFIG"; then
9311
if test -n "$PKG_CONFIG" && \
9312
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$SQLITE_REQUIRED\""; } >&5
9313
($PKG_CONFIG --exists --print-errors "sqlite3 >= $SQLITE_REQUIRED") 2>&5
9315
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9316
test $ac_status = 0; }; then
9317
pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3 >= $SQLITE_REQUIRED" 2>/dev/null`
9327
if test $pkg_failed = yes; then
9328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9329
$as_echo "no" >&6; }
9331
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9332
_pkg_short_errors_supported=yes
9334
_pkg_short_errors_supported=no
9336
if test $_pkg_short_errors_supported = yes; then
9337
SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sqlite3 >= $SQLITE_REQUIRED" 2>&1`
9339
SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors "sqlite3 >= $SQLITE_REQUIRED" 2>&1`
9341
# Put the nasty error message in config.log where it belongs
9342
echo "$SQLITE_PKG_ERRORS" >&5
9344
as_fn_error $? "Package requirements (sqlite3 >= $SQLITE_REQUIRED) were not met:
9348
Consider adjusting the PKG_CONFIG_PATH environment variable if you
9349
installed software in a non-standard prefix.
9351
Alternatively, you may set the environment variables SQLITE_CFLAGS
9352
and SQLITE_LIBS to avoid the need to call pkg-config.
9353
See the pkg-config man page for more details." "$LINENO" 5
9354
elif test $pkg_failed = untried; then
9355
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9356
$as_echo "no" >&6; }
9357
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9358
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9359
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
9360
is in your PATH or set the PKG_CONFIG environment variable to the full
9363
Alternatively, you may set the environment variables SQLITE_CFLAGS
9364
and SQLITE_LIBS to avoid the need to call pkg-config.
9365
See the pkg-config man page for more details.
9367
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9368
See \`config.log' for more details" "$LINENO" 5 ; }
9370
SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
9371
SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
9372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9373
$as_echo "yes" >&6; }
9379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ME_TV" >&5
9380
$as_echo_n "checking for ME_TV... " >&6; }
9382
if test -n "$ME_TV_CFLAGS"; then
9383
pkg_cv_ME_TV_CFLAGS="$ME_TV_CFLAGS"
9384
elif test -n "$PKG_CONFIG"; then
9385
if test -n "$PKG_CONFIG" && \
9386
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
9387
gtkmm-2.4 >= \$GTKMM_REQUIRED
9388
giomm-2.4 >= \$GIOMM_REQUIRED
9389
gthread-2.0 >= \$GTHREAD_REQUIRED
9390
gconfmm-2.6 >= \$GCONF_REQUIRED
9393
dbus-1 dbus-glib-1\""; } >&5
9394
($PKG_CONFIG --exists --print-errors "
9395
gtkmm-2.4 >= $GTKMM_REQUIRED
9396
giomm-2.4 >= $GIOMM_REQUIRED
9397
gthread-2.0 >= $GTHREAD_REQUIRED
9398
gconfmm-2.6 >= $GCONF_REQUIRED
9401
dbus-1 dbus-glib-1") 2>&5
9403
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9404
test $ac_status = 0; }; then
9405
pkg_cv_ME_TV_CFLAGS=`$PKG_CONFIG --cflags "
9406
gtkmm-2.4 >= $GTKMM_REQUIRED
9407
giomm-2.4 >= $GIOMM_REQUIRED
9408
gthread-2.0 >= $GTHREAD_REQUIRED
9409
gconfmm-2.6 >= $GCONF_REQUIRED
9412
dbus-1 dbus-glib-1" 2>/dev/null`
9419
if test -n "$ME_TV_LIBS"; then
9420
pkg_cv_ME_TV_LIBS="$ME_TV_LIBS"
9421
elif test -n "$PKG_CONFIG"; then
9422
if test -n "$PKG_CONFIG" && \
9423
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
9424
gtkmm-2.4 >= \$GTKMM_REQUIRED
9425
giomm-2.4 >= \$GIOMM_REQUIRED
9426
gthread-2.0 >= \$GTHREAD_REQUIRED
9427
gconfmm-2.6 >= \$GCONF_REQUIRED
9430
dbus-1 dbus-glib-1\""; } >&5
9431
($PKG_CONFIG --exists --print-errors "
9432
gtkmm-2.4 >= $GTKMM_REQUIRED
9433
giomm-2.4 >= $GIOMM_REQUIRED
9434
gthread-2.0 >= $GTHREAD_REQUIRED
9435
gconfmm-2.6 >= $GCONF_REQUIRED
9438
dbus-1 dbus-glib-1") 2>&5
9440
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9441
test $ac_status = 0; }; then
9442
pkg_cv_ME_TV_LIBS=`$PKG_CONFIG --libs "
9443
gtkmm-2.4 >= $GTKMM_REQUIRED
9444
giomm-2.4 >= $GIOMM_REQUIRED
9445
gthread-2.0 >= $GTHREAD_REQUIRED
9446
gconfmm-2.6 >= $GCONF_REQUIRED
9449
dbus-1 dbus-glib-1" 2>/dev/null`
9459
if test $pkg_failed = yes; then
9460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9461
$as_echo "no" >&6; }
9463
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9464
_pkg_short_errors_supported=yes
9466
_pkg_short_errors_supported=no
9468
if test $_pkg_short_errors_supported = yes; then
9469
ME_TV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
9470
gtkmm-2.4 >= $GTKMM_REQUIRED
9471
giomm-2.4 >= $GIOMM_REQUIRED
9472
gthread-2.0 >= $GTHREAD_REQUIRED
9473
gconfmm-2.6 >= $GCONF_REQUIRED
9476
dbus-1 dbus-glib-1" 2>&1`
9478
ME_TV_PKG_ERRORS=`$PKG_CONFIG --print-errors "
9479
gtkmm-2.4 >= $GTKMM_REQUIRED
9480
giomm-2.4 >= $GIOMM_REQUIRED
9481
gthread-2.0 >= $GTHREAD_REQUIRED
9482
gconfmm-2.6 >= $GCONF_REQUIRED
9485
dbus-1 dbus-glib-1" 2>&1`
9487
# Put the nasty error message in config.log where it belongs
9488
echo "$ME_TV_PKG_ERRORS" >&5
9490
as_fn_error $? "Package requirements (
9491
gtkmm-2.4 >= $GTKMM_REQUIRED
9492
giomm-2.4 >= $GIOMM_REQUIRED
9493
gthread-2.0 >= $GTHREAD_REQUIRED
9494
gconfmm-2.6 >= $GCONF_REQUIRED
9497
dbus-1 dbus-glib-1) were not met:
9501
Consider adjusting the PKG_CONFIG_PATH environment variable if you
9502
installed software in a non-standard prefix.
9504
Alternatively, you may set the environment variables ME_TV_CFLAGS
9505
and ME_TV_LIBS to avoid the need to call pkg-config.
9506
See the pkg-config man page for more details." "$LINENO" 5
9507
elif test $pkg_failed = untried; then
9508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9509
$as_echo "no" >&6; }
9510
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9511
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9512
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
9513
is in your PATH or set the PKG_CONFIG environment variable to the full
9516
Alternatively, you may set the environment variables ME_TV_CFLAGS
9517
and ME_TV_LIBS to avoid the need to call pkg-config.
9518
See the pkg-config man page for more details.
9520
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9521
See \`config.log' for more details" "$LINENO" 5 ; }
9523
ME_TV_CFLAGS=$pkg_cv_ME_TV_CFLAGS
9524
ME_TV_LIBS=$pkg_cv_ME_TV_LIBS
9525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9526
$as_echo "yes" >&6; }
9533
# Extract the first word of "gconftool-2", so it can be a program name with args.
9534
set dummy gconftool-2; ac_word=$2
9535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9536
$as_echo_n "checking for $ac_word... " >&6; }
9537
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
9538
$as_echo_n "(cached) " >&6
9542
ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
9545
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9549
test -z "$as_dir" && as_dir=.
9550
for ac_exec_ext in '' $ac_executable_extensions; do
9551
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9552
ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
9553
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9560
test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
9564
GCONFTOOL=$ac_cv_path_GCONFTOOL
9565
if test -n "$GCONFTOOL"; then
9566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
9567
$as_echo "$GCONFTOOL" >&6; }
9569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9570
$as_echo "no" >&6; }
9575
if test x"$GCONFTOOL" = xno; then
9576
as_fn_error $? "gconftool-2 executable not found in your path - should be installed with GConf" "$LINENO" 5
9580
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
9581
GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
9583
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
9587
# Check whether --with-gconf-source was given.
9588
if test "${with_gconf_source+set}" = set; then :
9589
withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
9594
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
9595
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
9597
if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
9598
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
9602
# Check whether --with-gconf-schema-file-dir was given.
9603
if test "${with_gconf_schema_file_dir+set}" = set; then :
9604
withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
9609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
9610
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
9612
# Check whether --enable-schemas-install was given.
9613
if test "${enable_schemas_install+set}" = set; then :
9614
enableval=$enable_schemas_install; case ${enableval} in
9616
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
9620
if test "$enable_schemas_install" != no; then
9621
GCONF_SCHEMAS_INSTALL_TRUE=
9622
GCONF_SCHEMAS_INSTALL_FALSE='#'
9624
GCONF_SCHEMAS_INSTALL_TRUE='#'
9625
GCONF_SCHEMAS_INSTALL_FALSE=
9630
##################################################
9631
# Check for gtk-doc.
9632
##################################################
9634
# Check whether --with-html-dir was given.
9635
if test "${with_html_dir+set}" = set; then :
9636
withval=$with_html_dir;
9639
if test "x$with_html_dir" = "x" ; then
9640
HTML_DIR='${datadir}/gtk-doc/html'
9642
HTML_DIR=$with_html_dir
9646
gtk_doc_min_version=1.0
9647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gtk-doc version >= $gtk_doc_min_version" >&5
9648
$as_echo_n "checking gtk-doc version >= $gtk_doc_min_version... " >&6; }
9649
if pkg-config --atleast-version=$gtk_doc_min_version gtk-doc; then
9650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9651
$as_echo "yes" >&6; }
9654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9655
$as_echo "no" >&6; }
9658
# Check whether --enable-gtk-doc was given.
9659
if test "${enable_gtk_doc+set}" = set; then :
9660
enableval=$enable_gtk_doc; enable_gtk_doc="$enableval"
9665
if test x$enable_gtk_doc = xauto ; then
9666
if test x$GTKDOC = xtrue ; then
9672
if test x$enable_gtk_doc = xyes; then
9673
ENABLE_GTK_DOC_TRUE=
9674
ENABLE_GTK_DOC_FALSE='#'
9676
ENABLE_GTK_DOC_TRUE='#'
9677
ENABLE_GTK_DOC_FALSE=
9681
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
9683
ac_config_headers="$ac_config_headers config.h:config.h.in"
9687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ME_TV_PLAYER" >&5
9688
$as_echo_n "checking for ME_TV_PLAYER... " >&6; }
9690
if test -n "$ME_TV_PLAYER_CFLAGS"; then
9691
pkg_cv_ME_TV_PLAYER_CFLAGS="$ME_TV_PLAYER_CFLAGS"
9692
elif test -n "$PKG_CONFIG"; then
9693
if test -n "$PKG_CONFIG" && \
9694
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= \$LIBXINE_REQUIRED dbus-glib-1\""; } >&5
9695
($PKG_CONFIG --exists --print-errors "libxine >= $LIBXINE_REQUIRED dbus-glib-1") 2>&5
9697
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9698
test $ac_status = 0; }; then
9699
pkg_cv_ME_TV_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "libxine >= $LIBXINE_REQUIRED dbus-glib-1" 2>/dev/null`
9706
if test -n "$ME_TV_PLAYER_LIBS"; then
9707
pkg_cv_ME_TV_PLAYER_LIBS="$ME_TV_PLAYER_LIBS"
9708
elif test -n "$PKG_CONFIG"; then
9709
if test -n "$PKG_CONFIG" && \
9710
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= \$LIBXINE_REQUIRED dbus-glib-1\""; } >&5
9711
($PKG_CONFIG --exists --print-errors "libxine >= $LIBXINE_REQUIRED dbus-glib-1") 2>&5
9713
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9714
test $ac_status = 0; }; then
9715
pkg_cv_ME_TV_PLAYER_LIBS=`$PKG_CONFIG --libs "libxine >= $LIBXINE_REQUIRED dbus-glib-1" 2>/dev/null`
9725
if test $pkg_failed = yes; then
9726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9727
$as_echo "no" >&6; }
9729
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9730
_pkg_short_errors_supported=yes
9732
_pkg_short_errors_supported=no
9734
if test $_pkg_short_errors_supported = yes; then
9735
ME_TV_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxine >= $LIBXINE_REQUIRED dbus-glib-1" 2>&1`
9737
ME_TV_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxine >= $LIBXINE_REQUIRED dbus-glib-1" 2>&1`
9739
# Put the nasty error message in config.log where it belongs
9740
echo "$ME_TV_PLAYER_PKG_ERRORS" >&5
9742
as_fn_error $? "Package requirements (libxine >= $LIBXINE_REQUIRED dbus-glib-1) were not met:
9744
$ME_TV_PLAYER_PKG_ERRORS
9746
Consider adjusting the PKG_CONFIG_PATH environment variable if you
9747
installed software in a non-standard prefix.
9749
Alternatively, you may set the environment variables ME_TV_PLAYER_CFLAGS
9750
and ME_TV_PLAYER_LIBS to avoid the need to call pkg-config.
9751
See the pkg-config man page for more details." "$LINENO" 5
9752
elif test $pkg_failed = untried; then
9753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9754
$as_echo "no" >&6; }
9755
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9756
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9757
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
9758
is in your PATH or set the PKG_CONFIG environment variable to the full
9761
Alternatively, you may set the environment variables ME_TV_PLAYER_CFLAGS
9762
and ME_TV_PLAYER_LIBS to avoid the need to call pkg-config.
9763
See the pkg-config man page for more details.
9765
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9766
See \`config.log' for more details" "$LINENO" 5 ; }
9768
ME_TV_PLAYER_CFLAGS=$pkg_cv_ME_TV_PLAYER_CFLAGS
9769
ME_TV_PLAYER_LIBS=$pkg_cv_ME_TV_PLAYER_LIBS
9770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9771
$as_echo "yes" >&6; }
9774
cat >confcache <<\_ACEOF
9775
# This file is a shell script that caches the results of configure
9776
# tests run on this system so they can be shared between configure
9777
# scripts and configure runs, see configure's option --config-cache.
9778
# It is not useful on other systems. If it contains results you don't
9779
# want to keep, you may remove or edit it.
9781
# config.status only pays attention to the cache file if you give it
9782
# the --recheck option to rerun configure.
9784
# `ac_cv_env_foo' variables (set or unset) will be overridden when
9785
# loading this file, other *unset* `ac_cv_foo' will be assigned the
9790
# The following way of writing the cache mishandles newlines in values,
9791
# but we know of no workaround that is simple, portable, and efficient.
9792
# So, we kill variables containing newlines.
9793
# Ultrix sh set writes to stderr and can't be redirected directly,
9794
# and sets the high bit in the cache file unless we assign to the vars.
9796
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9797
eval ac_val=\$$ac_var
9801
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9802
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9805
_ | IFS | as_nl) ;; #(
9806
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9807
*) { eval $ac_var=; unset $ac_var;} ;;
9813
case $as_nl`(ac_space=' '; set) 2>&1` in #(
9814
*${as_nl}ac_space=\ *)
9815
# `set' does not quote correctly, so add quotes: double-quote
9816
# substitution turns \\\\ into \\, and sed turns \\ into \.
9819
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9822
# `set' quotes correctly as required by POSIX, so do not add quotes.
9823
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9832
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9834
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9836
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9837
if test -w "$cache_file"; then
9838
test "x$cache_file" != "x/dev/null" &&
9839
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9840
$as_echo "$as_me: updating cache $cache_file" >&6;}
9841
cat confcache >$cache_file
9843
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9844
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9849
test "x$prefix" = xNONE && prefix=$ac_default_prefix
9850
# Let make expand exec_prefix.
9851
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9853
DEFS=-DHAVE_CONFIG_H
9858
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9859
# 1. Remove the extension, and $U if already installed.
9860
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9861
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9862
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9863
# will be set to the directory where LIBOBJS objects are built.
9864
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9865
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9869
LTLIBOBJS=$ac_ltlibobjs
9872
if test -n "$EXEEXT"; then
9874
am__EXEEXT_FALSE='#'
9880
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9881
as_fn_error $? "conditional \"AMDEP\" was never defined.
9882
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9884
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9885
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9886
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9888
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9889
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
9890
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9892
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9893
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
9894
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9896
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9897
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9898
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9900
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9901
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9902
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9905
ac_config_commands="$ac_config_commands po/stamp-it"
9908
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
9909
as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9910
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9912
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
9913
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
9914
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9917
: ${CONFIG_STATUS=./config.status}
9919
ac_clean_files_save=$ac_clean_files
9920
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9921
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9922
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9924
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9926
# Generated by $as_me.
9927
# Run this file to recreate the current configuration.
9928
# Compiler output produced by configure, useful for debugging
9929
# configure, is in config.log if it exists.
9935
SHELL=\${CONFIG_SHELL-$SHELL}
9938
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9939
## -------------------- ##
9940
## M4sh Initialization. ##
9941
## -------------------- ##
9943
# Be more Bourne compatible
9944
DUALCASE=1; export DUALCASE # for MKS sh
9945
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9948
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9949
# is contrary to our usage. Disable this feature.
9950
alias -g '${1+"$@"}'='"$@"'
9951
setopt NO_GLOB_SUBST
9953
case `(set -o) 2>/dev/null` in #(
9965
# Printing a long string crashes Solaris 7 /usr/bin/printf.
9966
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9967
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9968
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9969
# Prefer a ksh shell builtin over an external printf program on Solaris,
9970
# but without wasting forks for bash or zsh.
9971
if test -z "$BASH_VERSION$ZSH_VERSION" \
9972
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9973
as_echo='print -r --'
9974
as_echo_n='print -rn --'
9975
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9976
as_echo='printf %s\n'
9977
as_echo_n='printf %s'
9979
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9980
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9981
as_echo_n='/usr/ucb/echo -n'
9983
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9984
as_echo_n_body='eval
9988
expr "X$arg" : "X\\(.*\\)$as_nl";
9989
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9991
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9993
export as_echo_n_body
9994
as_echo_n='sh -c $as_echo_n_body as_echo'
9997
as_echo='sh -c $as_echo_body as_echo'
10000
# The user is always right.
10001
if test "${PATH_SEPARATOR+set}" != set; then
10003
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10004
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10011
# We need space, tab and new line, in precisely that order. Quoting is
10012
# there to prevent editors from complaining about space-tab.
10013
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
10014
# splitting by setting IFS to empty value.)
10017
# Find who we are. Look in the path if we contain no directory separator.
10019
*[\\/]* ) as_myself=$0 ;;
10020
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10021
for as_dir in $PATH
10024
test -z "$as_dir" && as_dir=.
10025
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10031
# We did not find ourselves, most probably we were run as `sh COMMAND'
10032
# in which case we are not to be found in the path.
10033
if test "x$as_myself" = x; then
10036
if test ! -f "$as_myself"; then
10037
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10041
# Unset variables that we do not need and which cause bugs (e.g. in
10042
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
10043
# suppresses any "Segmentation fault" message there. '((' could
10044
# trigger a bug in pdksh 5.2.14.
10045
for as_var in BASH_ENV ENV MAIL MAILPATH
10046
do eval test x\${$as_var+set} = xset \
10047
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
10060
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10063
# as_fn_error STATUS ERROR [LINENO LOG_FD]
10064
# ----------------------------------------
10065
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10066
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10067
# script with STATUS, using 1 if that was 0.
10070
as_status=$1; test $as_status -eq 0 && as_status=1
10072
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
10073
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
10075
$as_echo "$as_me: error: $2" >&2
10076
as_fn_exit $as_status
10080
# as_fn_set_status STATUS
10081
# -----------------------
10082
# Set $? to STATUS, without forking.
10083
as_fn_set_status ()
10086
} # as_fn_set_status
10088
# as_fn_exit STATUS
10089
# -----------------
10090
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10094
as_fn_set_status $1
10100
# Portably unset VAR.
10103
{ eval $1=; unset $1;}
10105
as_unset=as_fn_unset
10106
# as_fn_append VAR VALUE
10107
# ----------------------
10108
# Append the text in VALUE to the end of the definition contained in VAR. Take
10109
# advantage of any shell optimizations that allow amortized linear growth over
10110
# repeated appends, instead of the typical quadratic growth present in naive
10112
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
10113
eval 'as_fn_append ()
10124
# as_fn_arith ARG...
10125
# ------------------
10126
# Perform arithmetic evaluation on the ARGs, and store the result in the
10127
# global $as_val. Take advantage of shells that can avoid forks. The arguments
10128
# must be portable across $(()) and expr.
10129
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
10130
eval 'as_fn_arith ()
10137
as_val=`expr "$@" || test $? -eq 1`
10142
if expr a : '\(a\)' >/dev/null 2>&1 &&
10143
test "X`expr 00001 : '.*\(...\)'`" = X001; then
10149
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10150
as_basename=basename
10155
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10161
as_me=`$as_basename -- "$0" ||
10162
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10163
X"$0" : 'X\(//\)$' \| \
10164
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10166
sed '/^.*\/\([^/][^/]*\)\/*$/{
10180
# Avoid depending upon Character Ranges.
10181
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10182
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10183
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10184
as_cr_digits='0123456789'
10185
as_cr_alnum=$as_cr_Letters$as_cr_digits
10187
ECHO_C= ECHO_N= ECHO_T=
10188
case `echo -n x` in #(((((
10190
case `echo 'xy\c'` in
10191
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
10193
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
10200
rm -f conf$$ conf$$.exe conf$$.file
10201
if test -d conf$$.dir; then
10202
rm -f conf$$.dir/conf$$.file
10205
mkdir conf$$.dir 2>/dev/null
10207
if (echo >conf$$.file) 2>/dev/null; then
10208
if ln -s conf$$.file conf$$ 2>/dev/null; then
10210
# ... but there are two gotchas:
10211
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10212
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10213
# In both cases, we have to default to `cp -p'.
10214
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10216
elif ln conf$$.file conf$$ 2>/dev/null; then
10224
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10225
rmdir conf$$.dir 2>/dev/null
10230
# Create "$as_dir" as a directory, including parents if necessary.
10235
-*) as_dir=./$as_dir;;
10237
test -d "$as_dir" || eval $as_mkdir_p || {
10241
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10242
*) as_qdir=$as_dir;;
10244
as_dirs="'$as_qdir' $as_dirs"
10245
as_dir=`$as_dirname -- "$as_dir" ||
10246
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10247
X"$as_dir" : 'X\(//\)[^/]' \| \
10248
X"$as_dir" : 'X\(//\)$' \| \
10249
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10250
$as_echo X"$as_dir" |
10251
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10255
/^X\(\/\/\)[^/].*/{
10268
test -d "$as_dir" && break
10270
test -z "$as_dirs" || eval "mkdir $as_dirs"
10271
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10275
if mkdir -p . 2>/dev/null; then
10276
as_mkdir_p='mkdir -p "$as_dir"'
10278
test -d ./-p && rmdir ./-p
10282
if test -x / >/dev/null 2>&1; then
10283
as_test_x='test -x'
10285
if ls -dL / >/dev/null 2>&1; then
10292
if test -d "$1"; then
10298
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10299
???[sx]*):;;*)false;;esac;fi
10303
as_executable_p=$as_test_x
10305
# Sed expression to map a string onto a valid CPP name.
10306
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10308
# Sed expression to map a string onto a valid variable name.
10309
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10313
## ----------------------------------- ##
10314
## Main body of $CONFIG_STATUS script. ##
10315
## ----------------------------------- ##
10317
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10319
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10320
# Save the log message, to keep $0 and so on meaningful, and to
10321
# report actual input values of CONFIG_FILES etc. instead of their
10322
# values after options handling.
10324
This file was extended by Me TV $as_me 1.3.6, which was
10325
generated by GNU Autoconf 2.67. Invocation command line was
10327
CONFIG_FILES = $CONFIG_FILES
10328
CONFIG_HEADERS = $CONFIG_HEADERS
10329
CONFIG_LINKS = $CONFIG_LINKS
10330
CONFIG_COMMANDS = $CONFIG_COMMANDS
10333
on `(hostname || uname -n) 2>/dev/null | sed 1q`
10338
case $ac_config_files in *"
10339
"*) set x $ac_config_files; shift; ac_config_files=$*;;
10342
case $ac_config_headers in *"
10343
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
10347
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10348
# Files that config.status was made for.
10349
config_files="$ac_config_files"
10350
config_headers="$ac_config_headers"
10351
config_commands="$ac_config_commands"
10355
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10357
\`$as_me' instantiates files and other configuration actions
10358
from templates according to the current configuration. Unless the files
10359
and actions are specified as TAGs, all are instantiated by default.
10361
Usage: $0 [OPTION]... [TAG]...
10363
-h, --help print this help, then exit
10364
-V, --version print version number and configuration settings, then exit
10365
--config print configuration, then exit
10366
-q, --quiet, --silent
10367
do not print progress messages
10368
-d, --debug don't remove temporary files
10369
--recheck update $as_me by reconfiguring in the same conditions
10370
--file=FILE[:TEMPLATE]
10371
instantiate the configuration file FILE
10372
--header=FILE[:TEMPLATE]
10373
instantiate the configuration header FILE
10375
Configuration files:
10378
Configuration headers:
10381
Configuration commands:
10384
Report bugs to <http://launchpad.net/me-tv>."
10387
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10388
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10390
Me TV config.status 1.3.6
10391
configured by $0, generated by GNU Autoconf 2.67,
10392
with options \\"\$ac_cs_config\\"
10394
Copyright (C) 2010 Free Software Foundation, Inc.
10395
This config.status script is free software; the Free Software Foundation
10396
gives unlimited permission to copy, distribute and modify it."
10403
test -n "\$AWK" || AWK=awk
10406
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10407
# The default lists apply if the user does not specify any file.
10413
ac_option=`expr "X$1" : 'X\([^=]*\)='`
10414
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10418
ac_option=`expr "X$1" : 'X\([^=]*\)='`
10430
# Handling of the options.
10431
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10433
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10434
$as_echo "$ac_cs_version"; exit ;;
10435
--config | --confi | --conf | --con | --co | --c )
10436
$as_echo "$ac_cs_config"; exit ;;
10437
--debug | --debu | --deb | --de | --d | -d )
10439
--file | --fil | --fi | --f )
10442
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10443
'') as_fn_error $? "missing file argument" ;;
10445
as_fn_append CONFIG_FILES " '$ac_optarg'"
10446
ac_need_defaults=false;;
10447
--header | --heade | --head | --hea )
10450
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10452
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10453
ac_need_defaults=false;;
10455
# Conflict between --help and --header
10456
as_fn_error $? "ambiguous option: \`$1'
10457
Try \`$0 --help' for more information.";;
10458
--help | --hel | -h )
10459
$as_echo "$ac_cs_usage"; exit ;;
10460
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
10461
| -silent | --silent | --silen | --sile | --sil | --si | --s)
10464
# This is an error.
10465
-*) as_fn_error $? "unrecognized option: \`$1'
10466
Try \`$0 --help' for more information." ;;
10468
*) as_fn_append ac_config_targets " $1"
10469
ac_need_defaults=false ;;
10475
ac_configure_extra_args=
10477
if $ac_cs_silent; then
10479
ac_configure_extra_args="$ac_configure_extra_args --silent"
10483
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10484
if \$ac_cs_recheck; then
10485
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10487
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10488
CONFIG_SHELL='$SHELL'
10489
export CONFIG_SHELL
10494
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10498
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10499
## Running $as_me. ##
10505
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10509
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10514
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10516
# Handling of arguments.
10517
for ac_config_target in $ac_config_targets
10519
case $ac_config_target in
10520
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10521
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
10522
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10523
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10524
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
10525
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
10526
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
10528
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
10533
# If the user did not use the arguments to specify the items to instantiate,
10534
# then the envvar interface is used. Set only those that are not.
10535
# We use the long form for the default assignment because of an extremely
10536
# bizarre bug on SunOS 4.1.3.
10537
if $ac_need_defaults; then
10538
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10539
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10540
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10543
# Have a temporary directory for convenience. Make it in the build tree
10544
# simply because there is no reason against having it here, and in addition,
10545
# creating and moving files from /tmp can sometimes cause problems.
10546
# Hook for its removal unless debugging.
10547
# Note that there is a small window in which the directory will not be cleaned:
10548
# after its creation but before its name has been assigned to `$tmp'.
10552
trap 'exit_status=$?
10553
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10555
trap 'as_fn_exit 1' 1 2 13 15
10557
# Create a (secure) tmp directory for tmp files.
10560
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10561
test -n "$tmp" && test -d "$tmp"
10564
tmp=./conf$$-$RANDOM
10565
(umask 077 && mkdir "$tmp")
10566
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10568
# Set up the scripts for CONFIG_FILES section.
10569
# No need to generate them if there are no CONFIG_FILES.
10570
# This happens for instance with `./config.status config.h'.
10571
if test -n "$CONFIG_FILES"; then
10574
ac_cr=`echo X | tr X '\015'`
10575
# On cygwin, bash can eat \r inside `` if the user requested igncr.
10576
# But we know of no other shell where ac_cr would be empty at this
10577
# point, so we can use a bashism as a fallback.
10578
if test "x$ac_cr" = x; then
10579
eval ac_cr=\$\'\\r\'
10581
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10582
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10585
ac_cs_awk_cr=$ac_cr
10588
echo 'BEGIN {' >"$tmp/subs1.awk" &&
10593
echo "cat >conf$$subs.awk <<_ACEOF" &&
10594
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10596
} >conf$$subs.sh ||
10597
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10598
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10600
for ac_last_try in false false false false false :; do
10601
. ./conf$$subs.sh ||
10602
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10604
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10605
if test $ac_delim_n = $ac_delim_num; then
10607
elif $ac_last_try; then
10608
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10610
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10613
rm -f conf$$subs.sh
10615
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10616
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
10620
s/^/S["/; s/!.*/"]=/
10630
s/\(.\{148\}\)..*/\1/
10632
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10637
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10644
s/\(.\{148\}\)..*/\1/
10646
s/["\\]/\\&/g; s/^/"/; s/$/"/
10650
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10655
' <conf$$subs.awk | sed '
10660
' >>$CONFIG_STATUS || ac_write_fail=1
10661
rm -f conf$$subs.awk
10662
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10664
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10665
for (key in S) S_is_set[key] = 1
10671
nfields = split(line, field, "@")
10673
len = length(field[1])
10674
for (i = 2; i < nfields; i++) {
10676
keylen = length(key)
10677
if (S_is_set[key]) {
10679
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10680
len += length(value) + length(field[++i])
10691
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10692
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10693
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10696
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10697
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10700
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10701
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10702
# trailing colons and then remove the whole line if VPATH becomes empty
10703
# (actually we leave an empty line to preserve line numbers).
10704
if test "x$srcdir" = x.; then
10705
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10723
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10724
fi # test -n "$CONFIG_FILES"
10726
# Set up the scripts for CONFIG_HEADERS section.
10727
# No need to generate them if there are no CONFIG_HEADERS.
10728
# This happens for instance with `./config.status Makefile'.
10729
if test -n "$CONFIG_HEADERS"; then
10730
cat >"$tmp/defines.awk" <<\_ACAWK ||
10734
# Transform confdefs.h into an awk script `defines.awk', embedded as
10735
# here-document in config.status, that substitutes the proper values into
10736
# config.h.in to produce config.h.
10738
# Create a delimiter string that does not exist in confdefs.h, to ease
10739
# handling of long lines.
10741
for ac_last_try in false false :; do
10742
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10743
if test -z "$ac_t"; then
10745
elif $ac_last_try; then
10746
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10748
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10752
# For the awk script, D is an array of macro values keyed by name,
10753
# likewise P contains macro parameters if any. Preserve backslash
10754
# newline sequences.
10756
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10758
s/.\{148\}/&'"$ac_delim"'/g
10761
s/^[ ]*#[ ]*define[ ][ ]*/ /
10768
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10770
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10774
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10775
D["\1"]=" \3\\\\\\n"\\/p
10777
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10782
s/.\{148\}/&'"$ac_delim"'/g
10787
s/["\\]/\\&/g; s/^/"/; s/$/"/p
10790
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10792
' <confdefs.h | sed '
10793
s/'"$ac_delim"'/"\\\
10794
"/g' >>$CONFIG_STATUS || ac_write_fail=1
10796
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10797
for (key in D) D_is_set[key] = 1
10800
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10802
split(line, arg, " ")
10803
if (arg[1] == "#") {
10807
defundef = substr(arg[1], 2)
10810
split(mac1, mac2, "(") #)
10812
prefix = substr(line, 1, index(line, defundef) - 1)
10813
if (D_is_set[macro]) {
10814
# Preserve the white space surrounding the "#".
10815
print prefix "define", macro P[macro] D[macro]
10818
# Replace #undef with comments. This is necessary, for example,
10819
# in the case of _POSIX_SOURCE, which is predefined and required
10820
# on some systems where configure will not decide to define it.
10821
if (defundef == "undef") {
10822
print "/*", prefix defundef, macro, "*/"
10830
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10831
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10832
fi # test -n "$CONFIG_HEADERS"
10835
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10840
:[FHLC]) ac_mode=$ac_tag; continue;;
10842
case $ac_mode$ac_tag in
10844
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
10845
:[FH]-) ac_tag=-:-;;
10846
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10863
-) ac_f="$tmp/stdin";;
10864
*) # Look for the file first in the build tree, then in the source tree
10865
# (if the path is not absolute). The absolute path cannot be DOS-style,
10866
# because $ac_f cannot contain `:'.
10870
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10872
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
10874
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10875
as_fn_append ac_file_inputs " '$ac_f'"
10878
# Let's still pretend it is `configure' which instantiates (i.e., don't
10879
# use $as_me), people would be surprised to read:
10880
# /* config.h. Generated by config.status. */
10881
configure_input='Generated from '`
10882
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10884
if test x"$ac_file" != x-; then
10885
configure_input="$ac_file. $configure_input"
10886
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10887
$as_echo "$as_me: creating $ac_file" >&6;}
10889
# Neutralize special characters interpreted by sed in replacement strings.
10890
case $configure_input in #(
10891
*\&* | *\|* | *\\* )
10892
ac_sed_conf_input=`$as_echo "$configure_input" |
10893
sed 's/[\\\\&|]/\\\\&/g'`;; #(
10894
*) ac_sed_conf_input=$configure_input;;
10898
*:-:* | *:-) cat >"$tmp/stdin" \
10899
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10904
ac_dir=`$as_dirname -- "$ac_file" ||
10905
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10906
X"$ac_file" : 'X\(//\)[^/]' \| \
10907
X"$ac_file" : 'X\(//\)$' \| \
10908
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10909
$as_echo X"$ac_file" |
10910
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10914
/^X\(\/\/\)[^/].*/{
10927
as_dir="$ac_dir"; as_fn_mkdir_p
10931
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10933
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10934
# A ".." for each directory in $ac_dir_suffix.
10935
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10936
case $ac_top_builddir_sub in
10937
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10938
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10941
ac_abs_top_builddir=$ac_pwd
10942
ac_abs_builddir=$ac_pwd$ac_dir_suffix
10943
# for backward compatibility:
10944
ac_top_builddir=$ac_top_build_prefix
10947
.) # We are building in place.
10949
ac_top_srcdir=$ac_top_builddir_sub
10950
ac_abs_top_srcdir=$ac_pwd ;;
10951
[\\/]* | ?:[\\/]* ) # Absolute name.
10952
ac_srcdir=$srcdir$ac_dir_suffix;
10953
ac_top_srcdir=$srcdir
10954
ac_abs_top_srcdir=$srcdir ;;
10955
*) # Relative name.
10956
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10957
ac_top_srcdir=$ac_top_build_prefix$srcdir
10958
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10960
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10970
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10971
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10973
ac_MKDIR_P=$MKDIR_P
10975
[\\/$]* | ?:[\\/]* ) ;;
10976
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10980
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10981
# If the template does not know about datarootdir, expand it.
10982
# FIXME: This hack should be removed a few years after 2.60.
10983
ac_datarootdir_hack=; ac_datarootdir_seen=
10994
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10995
*datarootdir*) ac_datarootdir_seen=yes;;
10996
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10997
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10998
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11000
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11001
ac_datarootdir_hack='
11002
s&@datadir@&$datadir&g
11003
s&@docdir@&$docdir&g
11004
s&@infodir@&$infodir&g
11005
s&@localedir@&$localedir&g
11006
s&@mandir@&$mandir&g
11007
s&\\\${datarootdir}&$datarootdir&g' ;;
11011
# Neutralize VPATH when `$srcdir' = `.'.
11012
# Shell code in configure.ac might set extrasub.
11013
# FIXME: do we really want to maintain this feature?
11014
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11015
ac_sed_extra="$ac_vpsub
11018
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11020
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11021
s|@configure_input@|$ac_sed_conf_input|;t t
11022
s&@top_builddir@&$ac_top_builddir_sub&;t t
11023
s&@top_build_prefix@&$ac_top_build_prefix&;t t
11024
s&@srcdir@&$ac_srcdir&;t t
11025
s&@abs_srcdir@&$ac_abs_srcdir&;t t
11026
s&@top_srcdir@&$ac_top_srcdir&;t t
11027
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11028
s&@builddir@&$ac_builddir&;t t
11029
s&@abs_builddir@&$ac_abs_builddir&;t t
11030
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11031
s&@INSTALL@&$ac_INSTALL&;t t
11032
s&@MKDIR_P@&$ac_MKDIR_P&;t t
11033
$ac_datarootdir_hack
11035
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
11036
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
11038
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11039
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11040
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11041
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11042
which seems to be undefined. Please make sure it is defined" >&5
11043
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11044
which seems to be undefined. Please make sure it is defined" >&2;}
11048
-) cat "$tmp/out" && rm -f "$tmp/out";;
11049
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11051
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
11057
if test x"$ac_file" != x-; then
11059
$as_echo "/* $configure_input */" \
11060
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11061
} >"$tmp/config.h" \
11062
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
11063
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11064
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11065
$as_echo "$as_me: $ac_file is unchanged" >&6;}
11068
mv "$tmp/config.h" "$ac_file" \
11069
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
11072
$as_echo "/* $configure_input */" \
11073
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11074
|| as_fn_error $? "could not create -" "$LINENO" 5
11076
# Compute "$ac_file"'s index in $config_headers.
11079
for _am_header in $config_headers :; do
11080
case $_am_header in
11081
$_am_arg | $_am_arg:* )
11084
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
11087
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
11088
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11089
X"$_am_arg" : 'X\(//\)[^/]' \| \
11090
X"$_am_arg" : 'X\(//\)$' \| \
11091
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
11092
$as_echo X"$_am_arg" |
11093
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11097
/^X\(\/\/\)[^/].*/{
11109
s/.*/./; q'`/stamp-h$_am_stamp_count
11112
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
11113
$as_echo "$as_me: executing $ac_file commands" >&6;}
11118
case $ac_file$ac_mode in
11119
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
11120
# Autoconf 2.62 quotes --file arguments for eval, but not when files
11121
# are listed without --file. Let's play safe and only enable the eval
11122
# if we detect the quoting.
11123
case $CONFIG_FILES in
11124
*\'*) eval set x "$CONFIG_FILES" ;;
11125
*) set x $CONFIG_FILES ;;
11130
# Strip MF so we end up with the name of the file.
11131
mf=`echo "$mf" | sed -e 's/:.*$//'`
11132
# Check whether this is an Automake generated Makefile or not.
11133
# We used to match only the files named `Makefile.in', but
11134
# some people rename them; so instead we look at the file content.
11135
# Grep'ing the first line is not enough: some people post-process
11136
# each Makefile.in and add a new line on top of each file to say so.
11137
# Grep'ing the whole file is not good either: AIX grep has a line
11138
# limit of 2048, but all sed's we know have understand at least 4000.
11139
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
11140
dirpart=`$as_dirname -- "$mf" ||
11141
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11142
X"$mf" : 'X\(//\)[^/]' \| \
11143
X"$mf" : 'X\(//\)$' \| \
11144
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11146
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11150
/^X\(\/\/\)[^/].*/{
11166
# Extract the definition of DEPDIR, am__include, and am__quote
11167
# from the Makefile without running `make'.
11168
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11169
test -z "$DEPDIR" && continue
11170
am__include=`sed -n 's/^am__include = //p' < "$mf"`
11171
test -z "am__include" && continue
11172
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11173
# When using ansi2knr, U may be empty or an underscore; expand it
11174
U=`sed -n 's/^U = //p' < "$mf"`
11175
# Find all dependency output files, they are included files with
11176
# $(DEPDIR) in their names. We invoke sed twice because it is the
11177
# simplest approach to changing $(DEPDIR) to its actual value in the
11179
for file in `sed -n "
11180
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11181
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11182
# Make sure the directory exists.
11183
test -f "$dirpart/$file" && continue
11184
fdir=`$as_dirname -- "$file" ||
11185
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11186
X"$file" : 'X\(//\)[^/]' \| \
11187
X"$file" : 'X\(//\)$' \| \
11188
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11189
$as_echo X"$file" |
11190
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11194
/^X\(\/\/\)[^/].*/{
11207
as_dir=$dirpart/$fdir; as_fn_mkdir_p
11208
# echo "creating $dirpart/$file"
11209
echo '# dummy' > "$dirpart/$file"
11214
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
11215
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
11218
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
11219
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
11221
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
11226
'"s|^| $ac_top_srcdir/|" \
11227
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
11229
sed '/^POTFILES =/,/[^\\]$/ {
11233
' "po/Makefile.in" >"po/Makefile"
11234
rm -f "po/Makefile.tmp"
11235
mv "po/stamp-it.tmp" "po/stamp-it"
11244
ac_clean_files=$ac_clean_files_save
11246
test $ac_write_fail = 0 ||
11247
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
11250
# configure is writing to config.log, and then calls config.status.
11251
# config.status does its own redirection, appending to config.log.
11252
# Unfortunately, on DOS this fails, as config.log is still kept open
11253
# by configure, so config.status won't be able to write to it; its
11254
# output is simply discarded. So we exec the FD to /dev/null,
11255
# effectively closing config.log, so it can be properly (re)opened and
11256
# appended to by config.status. When coming back to configure, we
11257
# need to make the FD available again.
11258
if test "$no_create" != yes; then
11260
ac_config_status_args=
11261
test "$silent" = yes &&
11262
ac_config_status_args="$ac_config_status_args --quiet"
11264
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11266
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
11267
# would make configure fail if this is the last instruction.
11268
$ac_cs_success || as_fn_exit 1
11270
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11271
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11272
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11281
Source code location .......: ${srcdir}
11282
Compiler ...................: ${CC}
11283
Compiler flags .............: ${CFLAGS}
11284
Enable compile warnings ....: ${enable_cxx_warnings}
11285
Enable more warnings .......: ${enable_more_warnings}
11286
Extra Compiler Warnings ....: ${WARN_CXXFLAGS}
11287
Debug support ..............: ${enable_debug}
11288
Installing into prefix .....: ${prefix}
11290
Type make to build ${PACKAGE_STRING}