2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
if test "x$CONFIG_SHELL" = x; then
138
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142
# is contrary to our usage. Disable this feature.
143
alias -g '\${1+\"\$@\"}'='\"\$@\"'
146
case \`(set -o) 2>/dev/null\` in #(
154
as_required="as_fn_return () { (exit \$1); }
155
as_fn_success () { as_fn_return 0; }
156
as_fn_failure () { as_fn_return 1; }
157
as_fn_ret_success () { return 0; }
158
as_fn_ret_failure () { return 1; }
161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
exitcode=1; echo positional parameters were not saved.
170
test x\$exitcode = x0 || exit 1"
171
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
test \$(( 1 + 1 )) = 2 || exit 1"
176
if (eval "$as_required") 2>/dev/null; then :
181
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189
test -z "$as_dir" && as_dir=.
193
for as_base in sh bash ksh sh5; do
194
# Try only shells that exist, to save several forks.
195
as_shell=$as_dir/$as_base
196
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198
CONFIG_SHELL=$as_shell as_have_required=yes
199
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209
CONFIG_SHELL=$SHELL as_have_required=yes
214
if test "x$CONFIG_SHELL" != x; then :
215
# We cannot yet assume a decent shell, so we have to provide a
216
# neutralization value for shells without unset; and this also
217
# works around shells that cannot unset nonexistent variables.
218
# Preserve -v and -x to the replacement shell.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224
*v*x* | *x*v* ) as_opts=-vx ;;
229
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232
if test x$as_have_required = xno; then :
233
$as_echo "$0: This script requires a shell more modern than all"
234
$as_echo "$0: the shells that I found on your system."
235
if test x${ZSH_VERSION+set} = xset ; then
236
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
239
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240
$0: including any error possibly output before this
241
$0: message. Then install a modern shell, or manually run
242
$0: the script under such a shell if you do have one."
248
SHELL=${CONFIG_SHELL-/bin/sh}
250
# Unset more variables known to interfere with behavior of common tools.
251
CLICOLOR_FORCE= GREP_OPTIONS=
252
unset CLICOLOR_FORCE GREP_OPTIONS
254
## --------------------- ##
255
## M4sh Shell Functions. ##
256
## --------------------- ##
259
# Portably unset VAR.
262
{ eval $1=; unset $1;}
266
# as_fn_set_status STATUS
267
# -----------------------
268
# Set $? to STATUS, without forking.
276
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286
# Create "$as_dir" as a directory, including parents if necessary.
291
-*) as_dir=./$as_dir;;
293
test -d "$as_dir" || eval $as_mkdir_p || {
297
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300
as_dirs="'$as_qdir' $as_dirs"
301
as_dir=`$as_dirname -- "$as_dir" ||
302
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303
X"$as_dir" : 'X\(//\)[^/]' \| \
304
X"$as_dir" : 'X\(//\)$' \| \
305
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306
$as_echo X"$as_dir" |
307
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324
test -d "$as_dir" && break
326
test -z "$as_dirs" || eval "mkdir $as_dirs"
327
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
# as_fn_append VAR VALUE
332
# ----------------------
333
# Append the text in VALUE to the end of the definition contained in VAR. Take
334
# advantage of any shell optimizations that allow amortized linear growth over
335
# repeated appends, instead of the typical quadratic growth present in naive
337
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338
eval 'as_fn_append ()
351
# Perform arithmetic evaluation on the ARGs, and store the result in the
352
# global $as_val. Take advantage of shells that can avoid forks. The arguments
353
# must be portable across $(()) and expr.
354
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
362
as_val=`expr "$@" || test $? -eq 1`
367
# as_fn_error STATUS ERROR [LINENO LOG_FD]
368
# ----------------------------------------
369
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371
# script with STATUS, using 1 if that was 0.
374
as_status=$1; test $as_status -eq 0 && as_status=1
376
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379
$as_echo "$as_me: error: $2" >&2
380
as_fn_exit $as_status
383
if expr a : '\(a\)' >/dev/null 2>&1 &&
384
test "X`expr 00001 : '.*\(...\)'`" = X001; then
390
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
402
as_me=`$as_basename -- "$0" ||
403
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404
X"$0" : 'X\(//\)$' \| \
405
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407
sed '/^.*\/\([^/][^/]*\)\/*$/{
421
# Avoid depending upon Character Ranges.
422
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425
as_cr_digits='0123456789'
426
as_cr_alnum=$as_cr_Letters$as_cr_digits
429
as_lineno_1=$LINENO as_lineno_1a=$LINENO
430
as_lineno_2=$LINENO as_lineno_2a=$LINENO
431
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449
chmod +x "$as_me.lineno" ||
450
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
452
# Don't try to exec as it changes $[0], causing all sort of problems
453
# (the dirname of $[0] is not the place where we might find the
454
# original and so on. Autoconf is especially sensitive to this).
456
# Exit status is that of the last command.
460
ECHO_C= ECHO_N= ECHO_T=
461
case `echo -n x` in #(((((
463
case `echo 'xy\c'` in
464
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
466
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
473
rm -f conf$$ conf$$.exe conf$$.file
474
if test -d conf$$.dir; then
475
rm -f conf$$.dir/conf$$.file
478
mkdir conf$$.dir 2>/dev/null
480
if (echo >conf$$.file) 2>/dev/null; then
481
if ln -s conf$$.file conf$$ 2>/dev/null; then
483
# ... but there are two gotchas:
484
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486
# In both cases, we have to default to `cp -p'.
487
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
489
elif ln conf$$.file conf$$ 2>/dev/null; then
497
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498
rmdir conf$$.dir 2>/dev/null
500
if mkdir -p . 2>/dev/null; then
501
as_mkdir_p='mkdir -p "$as_dir"'
503
test -d ./-p && rmdir ./-p
507
if test -x / >/dev/null 2>&1; then
510
if ls -dL / >/dev/null 2>&1; then
517
if test -d "$1"; then
523
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524
???[sx]*):;;*)false;;esac;fi
528
as_executable_p=$as_test_x
530
# Sed expression to map a string onto a valid CPP name.
531
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533
# Sed expression to map a string onto a valid variable name.
534
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537
test -n "$DJDIR" || exec 7<&0 </dev/null
541
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542
# so uname gets run too.
543
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548
ac_default_prefix=/usr/local
550
ac_config_libobj_dir=.
557
# Identity of this package.
565
ac_unique_file="configure.in"
566
# Factoring default headers for most tests.
567
ac_includes_default="\
569
#ifdef HAVE_SYS_TYPES_H
570
# include <sys/types.h>
572
#ifdef HAVE_SYS_STAT_H
573
# include <sys/stat.h>
579
# ifdef HAVE_STDLIB_H
584
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589
#ifdef HAVE_STRINGS_H
590
# include <strings.h>
592
#ifdef HAVE_INTTYPES_H
593
# include <inttypes.h>
602
ac_subst_vars='am__EXEEXT_FALSE
615
GCONF_SCHEMA_FILE_DIR
616
GCONF_SCHEMA_CONFIG_SOURCE
619
GCONF_SCHEMAS_INSTALL_FALSE
620
GCONF_SCHEMAS_INSTALL_TRUE
683
MAINTAINER_MODE_FALSE
693
INSTALL_STRIP_PROGRAM
735
program_transform_name
748
enable_option_checking
749
enable_maintainer_mode
751
enable_dependency_tracking
756
with_gconf_schema_file_dir
757
enable_schemas_install
763
ac_precious_vars='build_alias
796
# Initialize some variables set by options.
798
ac_init_version=false
799
ac_unrecognized_opts=
801
# The variables have the same names as the options, with
802
# dashes changed to underlines.
810
program_transform_name=s,x,x,
818
# Installation directory options.
819
# These are left unexpanded so users can "make install exec_prefix=/foo"
820
# and all the variables that are supposed to be based on exec_prefix
821
# by default will actually change.
822
# Use braces instead of parens because sh, perl, etc. also accept them.
823
# (The list follows the same order as the GNU Coding Standards.)
824
bindir='${exec_prefix}/bin'
825
sbindir='${exec_prefix}/sbin'
826
libexecdir='${exec_prefix}/libexec'
827
datarootdir='${prefix}/share'
828
datadir='${datarootdir}'
829
sysconfdir='${prefix}/etc'
830
sharedstatedir='${prefix}/com'
831
localstatedir='${prefix}/var'
832
includedir='${prefix}/include'
833
oldincludedir='/usr/include'
834
docdir='${datarootdir}/doc/${PACKAGE}'
835
infodir='${datarootdir}/info'
840
libdir='${exec_prefix}/lib'
841
localedir='${datarootdir}/locale'
842
mandir='${datarootdir}/man'
848
# If the previous option needs an argument, assign it.
849
if test -n "$ac_prev"; then
850
eval $ac_prev=\$ac_option
856
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
861
# Accept the important Cygnus configure options, so we can diagnose typos.
863
case $ac_dashdash$ac_option in
867
-bindir | --bindir | --bindi | --bind | --bin | --bi)
869
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
872
-build | --build | --buil | --bui | --bu)
873
ac_prev=build_alias ;;
874
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
875
build_alias=$ac_optarg ;;
877
-cache-file | --cache-file | --cache-fil | --cache-fi \
878
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
879
ac_prev=cache_file ;;
880
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
881
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
882
cache_file=$ac_optarg ;;
885
cache_file=config.cache ;;
887
-datadir | --datadir | --datadi | --datad)
889
-datadir=* | --datadir=* | --datadi=* | --datad=*)
890
datadir=$ac_optarg ;;
892
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
893
| --dataroo | --dataro | --datar)
894
ac_prev=datarootdir ;;
895
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
896
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
897
datarootdir=$ac_optarg ;;
899
-disable-* | --disable-*)
900
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
901
# Reject names that are not valid shell variable names.
902
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903
as_fn_error $? "invalid feature name: $ac_useropt"
904
ac_useropt_orig=$ac_useropt
905
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906
case $ac_user_opts in
910
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
911
ac_unrecognized_sep=', ';;
913
eval enable_$ac_useropt=no ;;
915
-docdir | --docdir | --docdi | --doc | --do)
917
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
920
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
922
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
925
-enable-* | --enable-*)
926
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
927
# Reject names that are not valid shell variable names.
928
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
929
as_fn_error $? "invalid feature name: $ac_useropt"
930
ac_useropt_orig=$ac_useropt
931
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932
case $ac_user_opts in
936
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
937
ac_unrecognized_sep=', ';;
939
eval enable_$ac_useropt=\$ac_optarg ;;
941
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
942
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
943
| --exec | --exe | --ex)
944
ac_prev=exec_prefix ;;
945
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
946
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
947
| --exec=* | --exe=* | --ex=*)
948
exec_prefix=$ac_optarg ;;
950
-gas | --gas | --ga | --g)
951
# Obsolete; use --with-gas.
954
-help | --help | --hel | --he | -h)
956
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
957
ac_init_help=recursive ;;
958
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
959
ac_init_help=short ;;
961
-host | --host | --hos | --ho)
962
ac_prev=host_alias ;;
963
-host=* | --host=* | --hos=* | --ho=*)
964
host_alias=$ac_optarg ;;
966
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
968
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
970
htmldir=$ac_optarg ;;
972
-includedir | --includedir | --includedi | --included | --include \
973
| --includ | --inclu | --incl | --inc)
974
ac_prev=includedir ;;
975
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
976
| --includ=* | --inclu=* | --incl=* | --inc=*)
977
includedir=$ac_optarg ;;
979
-infodir | --infodir | --infodi | --infod | --info | --inf)
981
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
982
infodir=$ac_optarg ;;
984
-libdir | --libdir | --libdi | --libd)
986
-libdir=* | --libdir=* | --libdi=* | --libd=*)
989
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
990
| --libexe | --libex | --libe)
991
ac_prev=libexecdir ;;
992
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
993
| --libexe=* | --libex=* | --libe=*)
994
libexecdir=$ac_optarg ;;
996
-localedir | --localedir | --localedi | --localed | --locale)
998
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
999
localedir=$ac_optarg ;;
1001
-localstatedir | --localstatedir | --localstatedi | --localstated \
1002
| --localstate | --localstat | --localsta | --localst | --locals)
1003
ac_prev=localstatedir ;;
1004
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1005
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1006
localstatedir=$ac_optarg ;;
1008
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1010
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1011
mandir=$ac_optarg ;;
1013
-nfp | --nfp | --nf)
1014
# Obsolete; use --without-fp.
1017
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1018
| --no-cr | --no-c | -n)
1021
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1022
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1025
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1026
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1027
| --oldin | --oldi | --old | --ol | --o)
1028
ac_prev=oldincludedir ;;
1029
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1030
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1031
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1032
oldincludedir=$ac_optarg ;;
1034
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1036
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1037
prefix=$ac_optarg ;;
1039
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1040
| --program-pre | --program-pr | --program-p)
1041
ac_prev=program_prefix ;;
1042
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1043
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1044
program_prefix=$ac_optarg ;;
1046
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1047
| --program-suf | --program-su | --program-s)
1048
ac_prev=program_suffix ;;
1049
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1050
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1051
program_suffix=$ac_optarg ;;
1053
-program-transform-name | --program-transform-name \
1054
| --program-transform-nam | --program-transform-na \
1055
| --program-transform-n | --program-transform- \
1056
| --program-transform | --program-transfor \
1057
| --program-transfo | --program-transf \
1058
| --program-trans | --program-tran \
1059
| --progr-tra | --program-tr | --program-t)
1060
ac_prev=program_transform_name ;;
1061
-program-transform-name=* | --program-transform-name=* \
1062
| --program-transform-nam=* | --program-transform-na=* \
1063
| --program-transform-n=* | --program-transform-=* \
1064
| --program-transform=* | --program-transfor=* \
1065
| --program-transfo=* | --program-transf=* \
1066
| --program-trans=* | --program-tran=* \
1067
| --progr-tra=* | --program-tr=* | --program-t=*)
1068
program_transform_name=$ac_optarg ;;
1070
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1072
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1073
pdfdir=$ac_optarg ;;
1075
-psdir | --psdir | --psdi | --psd | --ps)
1077
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1080
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081
| -silent | --silent | --silen | --sile | --sil)
1084
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1086
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1088
sbindir=$ac_optarg ;;
1090
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1091
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1092
| --sharedst | --shareds | --shared | --share | --shar \
1094
ac_prev=sharedstatedir ;;
1095
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1096
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1097
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1099
sharedstatedir=$ac_optarg ;;
1101
-site | --site | --sit)
1103
-site=* | --site=* | --sit=*)
1106
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1108
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1109
srcdir=$ac_optarg ;;
1111
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1112
| --syscon | --sysco | --sysc | --sys | --sy)
1113
ac_prev=sysconfdir ;;
1114
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1115
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1116
sysconfdir=$ac_optarg ;;
1118
-target | --target | --targe | --targ | --tar | --ta | --t)
1119
ac_prev=target_alias ;;
1120
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1121
target_alias=$ac_optarg ;;
1123
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1126
-version | --version | --versio | --versi | --vers | -V)
1127
ac_init_version=: ;;
1130
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1131
# Reject names that are not valid shell variable names.
1132
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1133
as_fn_error $? "invalid package name: $ac_useropt"
1134
ac_useropt_orig=$ac_useropt
1135
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136
case $ac_user_opts in
1140
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1141
ac_unrecognized_sep=', ';;
1143
eval with_$ac_useropt=\$ac_optarg ;;
1145
-without-* | --without-*)
1146
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1147
# Reject names that are not valid shell variable names.
1148
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1149
as_fn_error $? "invalid package name: $ac_useropt"
1150
ac_useropt_orig=$ac_useropt
1151
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152
case $ac_user_opts in
1156
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1157
ac_unrecognized_sep=', ';;
1159
eval with_$ac_useropt=no ;;
1162
# Obsolete; use --with-x.
1165
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1166
| --x-incl | --x-inc | --x-in | --x-i)
1167
ac_prev=x_includes ;;
1168
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1169
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1170
x_includes=$ac_optarg ;;
1172
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1173
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1174
ac_prev=x_libraries ;;
1175
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1176
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1177
x_libraries=$ac_optarg ;;
1179
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1180
Try \`$0 --help' for more information"
1184
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1185
# Reject names that are not valid shell variable names.
1186
case $ac_envvar in #(
1187
'' | [0-9]* | *[!_$as_cr_alnum]* )
1188
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1190
eval $ac_envvar=\$ac_optarg
1191
export $ac_envvar ;;
1194
# FIXME: should be removed in autoconf 3.0.
1195
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1196
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1198
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1204
if test -n "$ac_prev"; then
1205
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1206
as_fn_error $? "missing argument to $ac_option"
1209
if test -n "$ac_unrecognized_opts"; then
1210
case $enable_option_checking in
1212
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1213
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1217
# Check all directory arguments for consistency.
1218
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1219
datadir sysconfdir sharedstatedir localstatedir includedir \
1220
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1221
libdir localedir mandir
1223
eval ac_val=\$$ac_var
1224
# Remove trailing slashes.
1227
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1228
eval $ac_var=\$ac_val;;
1230
# Be sure to have absolute directory names.
1232
[\\/$]* | ?:[\\/]* ) continue;;
1233
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1235
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1238
# There might be people who depend on the old broken behavior: `$host'
1239
# used to hold the argument of --host etc.
1240
# FIXME: To remove some day.
1243
target=$target_alias
1245
# FIXME: To remove some day.
1246
if test "x$host_alias" != x; then
1247
if test "x$build_alias" = x; then
1248
cross_compiling=maybe
1249
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1250
If a cross compiler is detected then cross compile mode will be used" >&2
1251
elif test "x$build_alias" != "x$host_alias"; then
1257
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1259
test "$silent" = yes && exec 6>/dev/null
1262
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1263
ac_ls_di=`ls -di .` &&
1264
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1265
as_fn_error $? "working directory cannot be determined"
1266
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1267
as_fn_error $? "pwd does not report name of working directory"
1270
# Find the source files, if location was not specified.
1271
if test -z "$srcdir"; then
1272
ac_srcdir_defaulted=yes
1273
# Try the directory containing this script, then the parent directory.
1274
ac_confdir=`$as_dirname -- "$as_myself" ||
1275
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1276
X"$as_myself" : 'X\(//\)[^/]' \| \
1277
X"$as_myself" : 'X\(//\)$' \| \
1278
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1279
$as_echo X"$as_myself" |
1280
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1298
if test ! -r "$srcdir/$ac_unique_file"; then
1302
ac_srcdir_defaulted=no
1304
if test ! -r "$srcdir/$ac_unique_file"; then
1305
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1306
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1308
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1310
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1312
# When building in place, set srcdir=.
1313
if test "$ac_abs_confdir" = "$ac_pwd"; then
1316
# Remove unnecessary trailing slashes from srcdir.
1317
# Double slashes in file names in object file debugging info
1318
# mess up M-x gdb in Emacs.
1320
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1322
for ac_var in $ac_precious_vars; do
1323
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1324
eval ac_env_${ac_var}_value=\$${ac_var}
1325
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1326
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1330
# Report the --help message.
1332
if test "$ac_init_help" = "long"; then
1333
# Omit some internal or obsolete options to make the list less imposing.
1334
# This message is too long to be a string in the A/UX 3.1 sh.
1336
\`configure' configures this package to adapt to many kinds of systems.
1338
Usage: $0 [OPTION]... [VAR=VALUE]...
1340
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1341
VAR=VALUE. See below for descriptions of some of the useful variables.
1343
Defaults for the options are specified in brackets.
1346
-h, --help display this help and exit
1347
--help=short display options specific to this package
1348
--help=recursive display the short help of all the included packages
1349
-V, --version display version information and exit
1350
-q, --quiet, --silent do not print \`checking ...' messages
1351
--cache-file=FILE cache test results in FILE [disabled]
1352
-C, --config-cache alias for \`--cache-file=config.cache'
1353
-n, --no-create do not create output files
1354
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1356
Installation directories:
1357
--prefix=PREFIX install architecture-independent files in PREFIX
1358
[$ac_default_prefix]
1359
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1362
By default, \`make install' will install all the files in
1363
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1364
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1365
for instance \`--prefix=\$HOME'.
1367
For better control, use the options below.
1369
Fine tuning of the installation directories:
1370
--bindir=DIR user executables [EPREFIX/bin]
1371
--sbindir=DIR system admin executables [EPREFIX/sbin]
1372
--libexecdir=DIR program executables [EPREFIX/libexec]
1373
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1374
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1375
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1376
--libdir=DIR object code libraries [EPREFIX/lib]
1377
--includedir=DIR C header files [PREFIX/include]
1378
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1379
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1380
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1381
--infodir=DIR info documentation [DATAROOTDIR/info]
1382
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1383
--mandir=DIR man documentation [DATAROOTDIR/man]
1384
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1385
--htmldir=DIR html documentation [DOCDIR]
1386
--dvidir=DIR dvi documentation [DOCDIR]
1387
--pdfdir=DIR pdf documentation [DOCDIR]
1388
--psdir=DIR ps documentation [DOCDIR]
1394
--program-prefix=PREFIX prepend PREFIX to installed program names
1395
--program-suffix=SUFFIX append SUFFIX to installed program names
1396
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1400
if test -n "$ac_init_help"; then
1405
--disable-option-checking ignore unrecognized --enable/--with options
1406
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1407
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1408
--enable-maintainer-mode enable make rules and dependencies not useful
1409
(and sometimes confusing) to the casual installer
1410
--enable-silent-rules less verbose build output (undo: `make V=1')
1411
--disable-silent-rules verbose build output (undo: `make V=0')
1412
--disable-dependency-tracking speeds up one-time build
1413
--enable-dependency-tracking do not reject slow dependency extractors
1414
--enable-new-libxul libxul/xulrunner-sdk is 1.9.2 or higher
1415
--disable-schemas-install
1416
Disable the schemas installation
1417
--disable-caching Disable caching of remote media to local storage
1420
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1421
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1422
--with-gconf Use Gconf to store preferences
1423
--with-xulrunner-sdk=path_to_sdk
1424
Path to xulrunner SDK for build
1425
--with-xulrunner-sdk=/path/to/sdk
1426
--with-gconf-source=sourceaddress
1427
Config database for installing schema files.
1428
--with-gconf-schema-file-dir=dir
1429
Directory for installing schema files.
1430
--with-gio Use GIO for file I/O
1431
--with-plugin-dir=dir Directory where plugins are stored
1432
--with-libcurl Add support for libcurl
1434
Some influential environment variables:
1435
CC C compiler command
1436
CFLAGS C compiler flags
1437
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1438
nonstandard directory <lib dir>
1439
LIBS libraries to pass to the linker, e.g. -l<library>
1440
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1441
you have headers in a nonstandard directory <include dir>
1443
CXX C++ compiler command
1444
CXXFLAGS C++ compiler flags
1445
PKG_CONFIG path to pkg-config utility
1447
directories to add to pkg-config's search path
1449
path overriding pkg-config's built-in search path
1450
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1451
GLIB_LIBS linker flags for GLIB, overriding pkg-config
1453
C compiler flags for GLIB2_26, overriding pkg-config
1455
linker flags for GLIB2_26, overriding pkg-config
1457
C compiler flags for GECKO, overriding pkg-config
1458
GECKO_LIBS linker flags for GECKO, overriding pkg-config
1459
NSPR_CFLAGS C compiler flags for NSPR, overriding pkg-config
1460
NSPR_LIBS linker flags for NSPR, overriding pkg-config
1461
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1462
DBUS_LIBS linker flags for DBUS, overriding pkg-config
1464
C compiler flags for GCONF, overriding pkg-config
1465
GCONF_LIBS linker flags for GCONF, overriding pkg-config
1466
GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1467
GIO_LIBS linker flags for GIO, overriding pkg-config
1468
CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1469
CURL_LIBS linker flags for CURL, overriding pkg-config
1471
Use these variables to override the choices made by `configure' or to help
1472
it to find libraries and programs with nonstandard names/locations.
1474
Report bugs to the package provider.
1479
if test "$ac_init_help" = "recursive"; then
1480
# If there are subdirs, report their specific --help.
1481
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1482
test -d "$ac_dir" ||
1483
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1488
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1491
# A ".." for each directory in $ac_dir_suffix.
1492
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1493
case $ac_top_builddir_sub in
1494
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1498
ac_abs_top_builddir=$ac_pwd
1499
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1500
# for backward compatibility:
1501
ac_top_builddir=$ac_top_build_prefix
1504
.) # We are building in place.
1506
ac_top_srcdir=$ac_top_builddir_sub
1507
ac_abs_top_srcdir=$ac_pwd ;;
1508
[\\/]* | ?:[\\/]* ) # Absolute name.
1509
ac_srcdir=$srcdir$ac_dir_suffix;
1510
ac_top_srcdir=$srcdir
1511
ac_abs_top_srcdir=$srcdir ;;
1513
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1514
ac_top_srcdir=$ac_top_build_prefix$srcdir
1515
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1517
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1519
cd "$ac_dir" || { ac_status=$?; continue; }
1520
# Check for guested configure.
1521
if test -f "$ac_srcdir/configure.gnu"; then
1523
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1524
elif test -f "$ac_srcdir/configure"; then
1526
$SHELL "$ac_srcdir/configure" --help=recursive
1528
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1530
cd "$ac_pwd" || { ac_status=$?; break; }
1534
test -n "$ac_init_help" && exit $ac_status
1535
if $ac_init_version; then
1538
generated by GNU Autoconf 2.68
1540
Copyright (C) 2010 Free Software Foundation, Inc.
1541
This configure script is free software; the Free Software Foundation
1542
gives unlimited permission to copy, distribute and modify it.
1547
## ------------------------ ##
1548
## Autoconf initialization. ##
1549
## ------------------------ ##
1551
# ac_fn_c_try_compile LINENO
1552
# --------------------------
1553
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1554
ac_fn_c_try_compile ()
1556
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557
rm -f conftest.$ac_objext
1558
if { { ac_try="$ac_compile"
1560
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561
*) ac_try_echo=$ac_try;;
1563
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564
$as_echo "$ac_try_echo"; } >&5
1565
(eval "$ac_compile") 2>conftest.err
1567
if test -s conftest.err; then
1568
grep -v '^ *+' conftest.err >conftest.er1
1569
cat conftest.er1 >&5
1570
mv -f conftest.er1 conftest.err
1572
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573
test $ac_status = 0; } && {
1574
test -z "$ac_c_werror_flag" ||
1575
test ! -s conftest.err
1576
} && test -s conftest.$ac_objext; then :
1579
$as_echo "$as_me: failed program was:" >&5
1580
sed 's/^/| /' conftest.$ac_ext >&5
1584
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1585
as_fn_set_status $ac_retval
1587
} # ac_fn_c_try_compile
1589
# ac_fn_c_try_link LINENO
1590
# -----------------------
1591
# Try to link conftest.$ac_ext, and return whether this succeeded.
1594
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1595
rm -f conftest.$ac_objext conftest$ac_exeext
1596
if { { ac_try="$ac_link"
1598
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599
*) ac_try_echo=$ac_try;;
1601
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602
$as_echo "$ac_try_echo"; } >&5
1603
(eval "$ac_link") 2>conftest.err
1605
if test -s conftest.err; then
1606
grep -v '^ *+' conftest.err >conftest.er1
1607
cat conftest.er1 >&5
1608
mv -f conftest.er1 conftest.err
1610
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611
test $ac_status = 0; } && {
1612
test -z "$ac_c_werror_flag" ||
1613
test ! -s conftest.err
1614
} && test -s conftest$ac_exeext && {
1615
test "$cross_compiling" = yes ||
1616
$as_test_x conftest$ac_exeext
1620
$as_echo "$as_me: failed program was:" >&5
1621
sed 's/^/| /' conftest.$ac_ext >&5
1625
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1626
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1627
# interfere with the next link command; also delete a directory that is
1628
# left behind by Apple's compiler. We do this before executing the actions.
1629
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1630
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631
as_fn_set_status $ac_retval
1633
} # ac_fn_c_try_link
1635
# ac_fn_c_try_cpp LINENO
1636
# ----------------------
1637
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1640
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641
if { { ac_try="$ac_cpp conftest.$ac_ext"
1643
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644
*) ac_try_echo=$ac_try;;
1646
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647
$as_echo "$ac_try_echo"; } >&5
1648
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1650
if test -s conftest.err; then
1651
grep -v '^ *+' conftest.err >conftest.er1
1652
cat conftest.er1 >&5
1653
mv -f conftest.er1 conftest.err
1655
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656
test $ac_status = 0; } > conftest.i && {
1657
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1658
test ! -s conftest.err
1662
$as_echo "$as_me: failed program was:" >&5
1663
sed 's/^/| /' conftest.$ac_ext >&5
1667
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668
as_fn_set_status $ac_retval
1672
# ac_fn_c_try_run LINENO
1673
# ----------------------
1674
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1675
# that executables *can* be run.
1678
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679
if { { ac_try="$ac_link"
1681
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682
*) ac_try_echo=$ac_try;;
1684
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685
$as_echo "$ac_try_echo"; } >&5
1686
(eval "$ac_link") 2>&5
1688
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1690
{ { case "(($ac_try" in
1691
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692
*) ac_try_echo=$ac_try;;
1694
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695
$as_echo "$ac_try_echo"; } >&5
1696
(eval "$ac_try") 2>&5
1698
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699
test $ac_status = 0; }; }; then :
1702
$as_echo "$as_me: program exited with status $ac_status" >&5
1703
$as_echo "$as_me: failed program was:" >&5
1704
sed 's/^/| /' conftest.$ac_ext >&5
1706
ac_retval=$ac_status
1708
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710
as_fn_set_status $ac_retval
1714
# ac_fn_cxx_try_compile LINENO
1715
# ----------------------------
1716
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1717
ac_fn_cxx_try_compile ()
1719
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720
rm -f conftest.$ac_objext
1721
if { { ac_try="$ac_compile"
1723
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724
*) ac_try_echo=$ac_try;;
1726
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727
$as_echo "$ac_try_echo"; } >&5
1728
(eval "$ac_compile") 2>conftest.err
1730
if test -s conftest.err; then
1731
grep -v '^ *+' conftest.err >conftest.er1
1732
cat conftest.er1 >&5
1733
mv -f conftest.er1 conftest.err
1735
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736
test $ac_status = 0; } && {
1737
test -z "$ac_cxx_werror_flag" ||
1738
test ! -s conftest.err
1739
} && test -s conftest.$ac_objext; then :
1742
$as_echo "$as_me: failed program was:" >&5
1743
sed 's/^/| /' conftest.$ac_ext >&5
1747
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748
as_fn_set_status $ac_retval
1750
} # ac_fn_cxx_try_compile
1752
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1753
# -------------------------------------------------------
1754
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1755
# the include files in INCLUDES and setting the cache variable VAR
1757
ac_fn_c_check_header_mongrel ()
1759
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760
if eval \${$3+:} false; then :
1761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762
$as_echo_n "checking for $2... " >&6; }
1763
if eval \${$3+:} false; then :
1764
$as_echo_n "(cached) " >&6
1767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768
$as_echo "$ac_res" >&6; }
1770
# Is the header compilable?
1771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1772
$as_echo_n "checking $2 usability... " >&6; }
1773
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1774
/* end confdefs.h. */
1778
if ac_fn_c_try_compile "$LINENO"; then :
1779
ac_header_compiler=yes
1781
ac_header_compiler=no
1783
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1785
$as_echo "$ac_header_compiler" >&6; }
1787
# Is the header present?
1788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1789
$as_echo_n "checking $2 presence... " >&6; }
1790
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791
/* end confdefs.h. */
1794
if ac_fn_c_try_cpp "$LINENO"; then :
1795
ac_header_preproc=yes
1797
ac_header_preproc=no
1799
rm -f conftest.err conftest.i conftest.$ac_ext
1800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1801
$as_echo "$ac_header_preproc" >&6; }
1803
# So? What about this header?
1804
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1806
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1807
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1808
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1809
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1812
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1813
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1814
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1815
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1816
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1817
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1818
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1819
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1820
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1821
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1825
$as_echo_n "checking for $2... " >&6; }
1826
if eval \${$3+:} false; then :
1827
$as_echo_n "(cached) " >&6
1829
eval "$3=\$ac_header_compiler"
1832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833
$as_echo "$ac_res" >&6; }
1835
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837
} # ac_fn_c_check_header_mongrel
1839
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1840
# -------------------------------------------------------
1841
# Tests whether HEADER exists and can be compiled using the include files in
1842
# INCLUDES, setting the cache variable VAR accordingly.
1843
ac_fn_c_check_header_compile ()
1845
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1847
$as_echo_n "checking for $2... " >&6; }
1848
if eval \${$3+:} false; then :
1849
$as_echo_n "(cached) " >&6
1851
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1852
/* end confdefs.h. */
1856
if ac_fn_c_try_compile "$LINENO"; then :
1861
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1865
$as_echo "$ac_res" >&6; }
1866
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868
} # ac_fn_c_check_header_compile
1870
# ac_fn_c_check_func LINENO FUNC VAR
1871
# ----------------------------------
1872
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1873
ac_fn_c_check_func ()
1875
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1877
$as_echo_n "checking for $2... " >&6; }
1878
if eval \${$3+:} false; then :
1879
$as_echo_n "(cached) " >&6
1881
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1882
/* end confdefs.h. */
1883
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1884
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1885
#define $2 innocuous_$2
1887
/* System header to define __stub macros and hopefully few prototypes,
1888
which can conflict with char $2 (); below.
1889
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1890
<limits.h> exists even on freestanding compilers. */
1893
# include <limits.h>
1895
# include <assert.h>
1900
/* Override any GCC internal prototype to avoid an error.
1901
Use char because int might match the return type of a GCC
1902
builtin and then its argument prototype would still apply. */
1907
/* The GNU C library defines this for functions which it implements
1908
to always fail with ENOSYS. Some functions are actually named
1909
something starting with __ and the normal name is an alias. */
1910
#if defined __stub_$2 || defined __stub___$2
1922
if ac_fn_c_try_link "$LINENO"; then :
1927
rm -f core conftest.err conftest.$ac_objext \
1928
conftest$ac_exeext 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; ${as_lineno_stack:+:} unset as_lineno
1935
} # ac_fn_c_check_func
1936
cat >config.log <<_ACEOF
1937
This file contains any messages produced by compilers while
1938
running configure, to aid debugging if configure makes a mistake.
1940
It was created by $as_me, which was
1941
generated by GNU Autoconf 2.68. Invocation command line was
1953
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1954
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1955
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1956
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1957
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1959
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1960
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1962
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1963
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1964
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1965
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1966
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1967
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1968
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1972
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976
test -z "$as_dir" && as_dir=.
1977
$as_echo "PATH: $as_dir"
1993
# Keep a trace of the command line.
1994
# Strip out --no-create and --no-recursion so they do not pile up.
1995
# Strip out --silent because we don't want to record it for future runs.
1996
# Also quote any args containing shell meta-characters.
1997
# Make two passes to allow for proper duplicate-argument suppression.
2001
ac_must_keep_next=false
2007
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2008
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2009
| -silent | --silent | --silen | --sile | --sil)
2012
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2015
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2017
as_fn_append ac_configure_args1 " '$ac_arg'"
2018
if test $ac_must_keep_next = true; then
2019
ac_must_keep_next=false # Got value, back to normal.
2022
*=* | --config-cache | -C | -disable-* | --disable-* \
2023
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2024
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2025
| -with-* | --with-* | -without-* | --without-* | --x)
2026
case "$ac_configure_args0 " in
2027
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2030
-* ) ac_must_keep_next=true ;;
2033
as_fn_append ac_configure_args " '$ac_arg'"
2038
{ ac_configure_args0=; unset ac_configure_args0;}
2039
{ ac_configure_args1=; unset ac_configure_args1;}
2041
# When interrupted or exit'd, cleanup temporary files, and complete
2042
# config.log. We remove comments because anyway the quotes in there
2043
# would cause problems or look ugly.
2044
# WARNING: Use '\'' to represent an apostrophe within the trap.
2045
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2046
trap 'exit_status=$?
2047
# Save into config.log some information that might help in debugging.
2051
$as_echo "## ---------------- ##
2052
## Cache variables. ##
2053
## ---------------- ##"
2055
# The following way of writing the cache mishandles newlines in values,
2057
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2058
eval ac_val=\$$ac_var
2062
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2063
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2066
_ | IFS | as_nl) ;; #(
2067
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2068
*) { eval $ac_var=; unset $ac_var;} ;;
2073
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2074
*${as_nl}ac_space=\ *)
2076
"s/'\''/'\''\\\\'\'''\''/g;
2077
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2080
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2087
$as_echo "## ----------------- ##
2088
## Output variables. ##
2089
## ----------------- ##"
2091
for ac_var in $ac_subst_vars
2093
eval ac_val=\$$ac_var
2095
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2097
$as_echo "$ac_var='\''$ac_val'\''"
2101
if test -n "$ac_subst_files"; then
2102
$as_echo "## ------------------- ##
2103
## File substitutions. ##
2104
## ------------------- ##"
2106
for ac_var in $ac_subst_files
2108
eval ac_val=\$$ac_var
2110
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2112
$as_echo "$ac_var='\''$ac_val'\''"
2117
if test -s confdefs.h; then
2118
$as_echo "## ----------- ##
2125
test "$ac_signal" != 0 &&
2126
$as_echo "$as_me: caught signal $ac_signal"
2127
$as_echo "$as_me: exit $exit_status"
2129
rm -f core *.core core.conftest.* &&
2130
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2133
for ac_signal in 1 2 13 15; do
2134
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2138
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2139
rm -f -r conftest* confdefs.h
2141
$as_echo "/* confdefs.h */" > confdefs.h
2143
# Predefined preprocessor variables.
2145
cat >>confdefs.h <<_ACEOF
2146
#define PACKAGE_NAME "$PACKAGE_NAME"
2149
cat >>confdefs.h <<_ACEOF
2150
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2153
cat >>confdefs.h <<_ACEOF
2154
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2157
cat >>confdefs.h <<_ACEOF
2158
#define PACKAGE_STRING "$PACKAGE_STRING"
2161
cat >>confdefs.h <<_ACEOF
2162
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2165
cat >>confdefs.h <<_ACEOF
2166
#define PACKAGE_URL "$PACKAGE_URL"
2170
# Let the site file select an alternate cache file if it wants to.
2171
# Prefer an explicitly selected file to automatically selected ones.
2174
if test -n "$CONFIG_SITE"; then
2175
# We do not want a PATH search for config.site.
2176
case $CONFIG_SITE in #((
2177
-*) ac_site_file1=./$CONFIG_SITE;;
2178
*/*) ac_site_file1=$CONFIG_SITE;;
2179
*) ac_site_file1=./$CONFIG_SITE;;
2181
elif test "x$prefix" != xNONE; then
2182
ac_site_file1=$prefix/share/config.site
2183
ac_site_file2=$prefix/etc/config.site
2185
ac_site_file1=$ac_default_prefix/share/config.site
2186
ac_site_file2=$ac_default_prefix/etc/config.site
2188
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2190
test "x$ac_site_file" = xNONE && continue
2191
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2192
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2193
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2194
sed 's/^/| /' "$ac_site_file" >&5
2196
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2197
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2198
as_fn_error $? "failed to load site script $ac_site_file
2199
See \`config.log' for more details" "$LINENO" 5; }
2203
if test -r "$cache_file"; then
2204
# Some versions of bash will fail to source /dev/null (special files
2205
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2206
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2207
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2208
$as_echo "$as_me: loading cache $cache_file" >&6;}
2210
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2211
*) . "./$cache_file";;
2215
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2216
$as_echo "$as_me: creating cache $cache_file" >&6;}
2220
# Check that the precious variables saved in the cache have kept the same
2222
ac_cache_corrupted=false
2223
for ac_var in $ac_precious_vars; do
2224
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2225
eval ac_new_set=\$ac_env_${ac_var}_set
2226
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2227
eval ac_new_val=\$ac_env_${ac_var}_value
2228
case $ac_old_set,$ac_new_set in
2230
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2231
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2232
ac_cache_corrupted=: ;;
2234
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2235
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2236
ac_cache_corrupted=: ;;
2239
if test "x$ac_old_val" != "x$ac_new_val"; then
2240
# differences in whitespace do not lead to failure.
2241
ac_old_val_w=`echo x $ac_old_val`
2242
ac_new_val_w=`echo x $ac_new_val`
2243
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2244
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2245
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2246
ac_cache_corrupted=:
2248
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2249
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2250
eval $ac_var=\$ac_old_val
2252
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2253
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2254
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2255
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2258
# Pass precious variables to config.status.
2259
if test "$ac_new_set" = set; then
2261
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2262
*) ac_arg=$ac_var=$ac_new_val ;;
2264
case " $ac_configure_args " in
2265
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2266
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2270
if $ac_cache_corrupted; then
2271
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2272
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2273
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2274
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2275
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2277
## -------------------- ##
2278
## Main body of script. ##
2279
## -------------------- ##
2282
ac_cpp='$CPP $CPPFLAGS'
2283
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2284
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2285
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2288
am__api_version='1.11'
2291
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2292
if test -f "$ac_dir/install-sh"; then
2294
ac_install_sh="$ac_aux_dir/install-sh -c"
2296
elif test -f "$ac_dir/install.sh"; then
2298
ac_install_sh="$ac_aux_dir/install.sh -c"
2300
elif test -f "$ac_dir/shtool"; then
2302
ac_install_sh="$ac_aux_dir/shtool install -c"
2306
if test -z "$ac_aux_dir"; then
2307
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2310
# These three variables are undocumented and unsupported,
2311
# and are intended to be withdrawn in a future Autoconf release.
2312
# They can cause serious problems if a builder's source tree is in a directory
2313
# whose full name contains unusual characters.
2314
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2315
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2316
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2319
# Find a good install program. We prefer a C program (faster),
2320
# so one script is as good as another. But avoid the broken or
2321
# incompatible versions:
2322
# SysV /etc/install, /usr/sbin/install
2323
# SunOS /usr/etc/install
2324
# IRIX /sbin/install
2326
# AmigaOS /C/install, which installs bootblocks on floppy discs
2327
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2328
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2329
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2330
# OS/2's system install, which has a completely different semantic
2331
# ./install, which can be erroneously created by make from ./install.sh.
2332
# Reject install programs that cannot install multiple files.
2333
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2334
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2335
if test -z "$INSTALL"; then
2336
if ${ac_cv_path_install+:} false; then :
2337
$as_echo_n "(cached) " >&6
2339
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343
test -z "$as_dir" && as_dir=.
2344
# Account for people who put trailing slashes in PATH elements.
2345
case $as_dir/ in #((
2346
./ | .// | /[cC]/* | \
2347
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2348
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2351
# OSF1 and SCO ODT 3.0 have their own names for install.
2352
# Don't use installbsd from OSF since it installs stuff as root
2354
for ac_prog in ginstall scoinst install; do
2355
for ac_exec_ext in '' $ac_executable_extensions; do
2356
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2357
if test $ac_prog = install &&
2358
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2359
# AIX install. It has an incompatible calling convention.
2361
elif test $ac_prog = install &&
2362
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2363
# program-specific install script used by HP pwplus--don't use.
2366
rm -rf conftest.one conftest.two conftest.dir
2367
echo one > conftest.one
2368
echo two > conftest.two
2370
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2371
test -s conftest.one && test -s conftest.two &&
2372
test -s conftest.dir/conftest.one &&
2373
test -s conftest.dir/conftest.two
2375
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2388
rm -rf conftest.one conftest.two conftest.dir
2391
if test "${ac_cv_path_install+set}" = set; then
2392
INSTALL=$ac_cv_path_install
2394
# As a last resort, use the slow shell script. Don't cache a
2395
# value for INSTALL within a source directory, because that will
2396
# break other packages using the cache if that directory is
2397
# removed, or if the value is a relative name.
2398
INSTALL=$ac_install_sh
2401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2402
$as_echo "$INSTALL" >&6; }
2404
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2405
# It thinks the first close brace ends the variable substitution.
2406
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2408
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2410
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2413
$as_echo_n "checking whether build environment is sane... " >&6; }
2416
echo timestamp > conftest.file
2417
# Reject unsafe characters in $srcdir or the absolute working directory
2418
# name. Accept space and tab only in the latter.
2422
*[\\\"\#\$\&\'\`$am_lf]*)
2423
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2426
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2427
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2430
# Do `set' in a subshell so we don't clobber the current shell's
2431
# arguments. Must try -L first in case configure is actually a
2432
# symlink; some systems play weird games with the mod time of symlinks
2433
# (eg FreeBSD returns the mod time of the symlink's containing
2436
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2437
if test "$*" = "X"; then
2439
set X `ls -t "$srcdir/configure" conftest.file`
2442
if test "$*" != "X $srcdir/configure conftest.file" \
2443
&& test "$*" != "X conftest.file $srcdir/configure"; then
2445
# If neither matched, then we have a broken ls. This can happen
2446
# if, for instance, CONFIG_SHELL is bash and it inherits a
2447
# broken ls alias from the environment. This has actually
2448
# happened. Such a system could not be considered "sane".
2449
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2450
alias in your environment" "$LINENO" 5
2453
test "$2" = conftest.file
2459
as_fn_error $? "newly created file is older than distributed files!
2460
Check your system clock" "$LINENO" 5
2462
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2463
$as_echo "yes" >&6; }
2464
test "$program_prefix" != NONE &&
2465
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2466
# Use a double $ so make ignores it.
2467
test "$program_suffix" != NONE &&
2468
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2469
# Double any \ or $.
2470
# By default was `s,x,x', remove it if useless.
2471
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2472
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2474
# expand $ac_aux_dir to an absolute path
2475
am_aux_dir=`cd $ac_aux_dir && pwd`
2477
if test x"${MISSING+set}" != xset; then
2480
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2482
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2485
# Use eval to expand $SHELL
2486
if eval "$MISSING --run true"; then
2487
am_missing_run="$MISSING --run "
2490
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2491
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2494
if test x"${install_sh}" != xset; then
2497
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2499
install_sh="\${SHELL} $am_aux_dir/install-sh"
2503
# Installed binaries are usually stripped using `strip' when the user
2504
# run `make install-strip'. However `strip' might not be the right
2505
# tool to use in cross-compilation environments, therefore Automake
2506
# will honor the `STRIP' environment variable to overrule this program.
2507
if test "$cross_compiling" != no; then
2508
if test -n "$ac_tool_prefix"; then
2509
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2510
set dummy ${ac_tool_prefix}strip; ac_word=$2
2511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2512
$as_echo_n "checking for $ac_word... " >&6; }
2513
if ${ac_cv_prog_STRIP+:} false; then :
2514
$as_echo_n "(cached) " >&6
2516
if test -n "$STRIP"; then
2517
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2519
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523
test -z "$as_dir" && as_dir=.
2524
for ac_exec_ext in '' $ac_executable_extensions; do
2525
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2526
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2527
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2536
STRIP=$ac_cv_prog_STRIP
2537
if test -n "$STRIP"; then
2538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2539
$as_echo "$STRIP" >&6; }
2541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2542
$as_echo "no" >&6; }
2547
if test -z "$ac_cv_prog_STRIP"; then
2549
# Extract the first word of "strip", so it can be a program name with args.
2550
set dummy strip; ac_word=$2
2551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2552
$as_echo_n "checking for $ac_word... " >&6; }
2553
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2554
$as_echo_n "(cached) " >&6
2556
if test -n "$ac_ct_STRIP"; then
2557
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2559
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563
test -z "$as_dir" && as_dir=.
2564
for ac_exec_ext in '' $ac_executable_extensions; do
2565
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2566
ac_cv_prog_ac_ct_STRIP="strip"
2567
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2577
if test -n "$ac_ct_STRIP"; then
2578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2579
$as_echo "$ac_ct_STRIP" >&6; }
2581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582
$as_echo "no" >&6; }
2585
if test "x$ac_ct_STRIP" = x; then
2588
case $cross_compiling:$ac_tool_warned in
2590
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2591
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2592
ac_tool_warned=yes ;;
2597
STRIP="$ac_cv_prog_STRIP"
2601
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2604
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2605
if test -z "$MKDIR_P"; then
2606
if ${ac_cv_path_mkdir+:} false; then :
2607
$as_echo_n "(cached) " >&6
2609
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2613
test -z "$as_dir" && as_dir=.
2614
for ac_prog in mkdir gmkdir; do
2615
for ac_exec_ext in '' $ac_executable_extensions; do
2616
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2617
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2618
'mkdir (GNU coreutils) '* | \
2619
'mkdir (coreutils) '* | \
2620
'mkdir (fileutils) '4.1*)
2621
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2631
test -d ./--version && rmdir ./--version
2632
if test "${ac_cv_path_mkdir+set}" = set; then
2633
MKDIR_P="$ac_cv_path_mkdir -p"
2635
# As a last resort, use the slow shell script. Don't cache a
2636
# value for MKDIR_P within a source directory, because that will
2637
# break other packages using the cache if that directory is
2638
# removed, or if the value is a relative name.
2639
MKDIR_P="$ac_install_sh -d"
2642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2643
$as_echo "$MKDIR_P" >&6; }
2647
[\\/$]* | ?:[\\/]*) ;;
2648
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2651
for ac_prog in gawk mawk nawk awk
2653
# Extract the first word of "$ac_prog", so it can be a program name with args.
2654
set dummy $ac_prog; ac_word=$2
2655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656
$as_echo_n "checking for $ac_word... " >&6; }
2657
if ${ac_cv_prog_AWK+:} false; then :
2658
$as_echo_n "(cached) " >&6
2660
if test -n "$AWK"; then
2661
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2663
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667
test -z "$as_dir" && as_dir=.
2668
for ac_exec_ext in '' $ac_executable_extensions; do
2669
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670
ac_cv_prog_AWK="$ac_prog"
2671
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681
if test -n "$AWK"; then
2682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2683
$as_echo "$AWK" >&6; }
2685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686
$as_echo "no" >&6; }
2690
test -n "$AWK" && break
2693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2694
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2696
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2697
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2698
$as_echo_n "(cached) " >&6
2700
cat >conftest.make <<\_ACEOF
2703
@echo '@@@%%%=$(MAKE)=@@@%%%'
2705
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2706
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2708
eval ac_cv_prog_make_${ac_make}_set=yes;;
2710
eval ac_cv_prog_make_${ac_make}_set=no;;
2714
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2716
$as_echo "yes" >&6; }
2719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720
$as_echo "no" >&6; }
2721
SET_MAKE="MAKE=${MAKE-make}"
2724
rm -rf .tst 2>/dev/null
2725
mkdir .tst 2>/dev/null
2726
if test -d .tst; then
2731
rmdir .tst 2>/dev/null
2733
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2734
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2735
# is not polluted with repeated "-I."
2736
am__isrc=' -I$(srcdir)'
2737
# test to see if srcdir already configured
2738
if test -f $srcdir/config.status; then
2739
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2743
# test whether we have cygpath
2744
if test -z "$CYGPATH_W"; then
2745
if (cygpath --version) >/dev/null 2>/dev/null; then
2746
CYGPATH_W='cygpath -w'
2753
# Define the identity of the package.
2754
PACKAGE=gecko-mediaplayer
2758
cat >>confdefs.h <<_ACEOF
2759
#define PACKAGE "$PACKAGE"
2763
cat >>confdefs.h <<_ACEOF
2764
#define VERSION "$VERSION"
2767
# Some tools Automake needs.
2769
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2772
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2775
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2778
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2781
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2783
# We need awk for the "check" target. The system "awk" is bad on
2785
# Always define AMTAR for backward compatibility.
2787
AMTAR=${AMTAR-"${am_missing_run}tar"}
2789
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2795
ac_config_headers="$ac_config_headers config.h"
2798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2799
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2800
# Check whether --enable-maintainer-mode was given.
2801
if test "${enable_maintainer_mode+set}" = set; then :
2802
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2804
USE_MAINTAINER_MODE=no
2807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2808
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2809
if test $USE_MAINTAINER_MODE = yes; then
2810
MAINTAINER_MODE_TRUE=
2811
MAINTAINER_MODE_FALSE='#'
2813
MAINTAINER_MODE_TRUE='#'
2814
MAINTAINER_MODE_FALSE=
2817
MAINT=$MAINTAINER_MODE_TRUE
2820
# Check whether --enable-silent-rules was given.
2821
if test "${enable_silent_rules+set}" = set; then :
2822
enableval=$enable_silent_rules;
2825
case $enable_silent_rules in
2826
yes) AM_DEFAULT_VERBOSITY=0;;
2827
no) AM_DEFAULT_VERBOSITY=1;;
2828
*) AM_DEFAULT_VERBOSITY=0;;
2833
DEPDIR="${am__leading_dot}deps"
2835
ac_config_commands="$ac_config_commands depfiles"
2838
am_make=${MAKE-make}
2839
cat > confinc << 'END'
2841
@echo this is the am__doit target
2844
# If we don't find an include directive, just comment out the code.
2845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2846
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2850
# First try GNU make style include.
2851
echo "include confinc" > confmf
2852
# Ignore all kinds of additional output from `make'.
2853
case `$am_make -s -f confmf 2> /dev/null` in #(
2854
*the\ am__doit\ target*)
2860
# Now try BSD make style include.
2861
if test "$am__include" = "#"; then
2862
echo '.include "confinc"' > confmf
2863
case `$am_make -s -f confmf 2> /dev/null` in #(
2864
*the\ am__doit\ target*)
2865
am__include=.include
2873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2874
$as_echo "$_am_result" >&6; }
2875
rm -f confinc confmf
2877
# Check whether --enable-dependency-tracking was given.
2878
if test "${enable_dependency_tracking+set}" = set; then :
2879
enableval=$enable_dependency_tracking;
2882
if test "x$enable_dependency_tracking" != xno; then
2883
am_depcomp="$ac_aux_dir/depcomp"
2886
if test "x$enable_dependency_tracking" != xno; then
2896
ac_cpp='$CPP $CPPFLAGS'
2897
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2900
if test -n "$ac_tool_prefix"; then
2901
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2902
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904
$as_echo_n "checking for $ac_word... " >&6; }
2905
if ${ac_cv_prog_CC+:} false; then :
2906
$as_echo_n "(cached) " >&6
2908
if test -n "$CC"; then
2909
ac_cv_prog_CC="$CC" # Let the user override the test.
2911
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2915
test -z "$as_dir" && as_dir=.
2916
for ac_exec_ext in '' $ac_executable_extensions; do
2917
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2918
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2919
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929
if test -n "$CC"; then
2930
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2931
$as_echo "$CC" >&6; }
2933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934
$as_echo "no" >&6; }
2939
if test -z "$ac_cv_prog_CC"; then
2941
# Extract the first word of "gcc", so it can be a program name with args.
2942
set dummy gcc; ac_word=$2
2943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944
$as_echo_n "checking for $ac_word... " >&6; }
2945
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2946
$as_echo_n "(cached) " >&6
2948
if test -n "$ac_ct_CC"; then
2949
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2951
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955
test -z "$as_dir" && as_dir=.
2956
for ac_exec_ext in '' $ac_executable_extensions; do
2957
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958
ac_cv_prog_ac_ct_CC="gcc"
2959
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2969
if test -n "$ac_ct_CC"; then
2970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2971
$as_echo "$ac_ct_CC" >&6; }
2973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974
$as_echo "no" >&6; }
2977
if test "x$ac_ct_CC" = x; then
2980
case $cross_compiling:$ac_tool_warned in
2982
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2983
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2984
ac_tool_warned=yes ;;
2992
if test -z "$CC"; then
2993
if test -n "$ac_tool_prefix"; then
2994
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2995
set dummy ${ac_tool_prefix}cc; ac_word=$2
2996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997
$as_echo_n "checking for $ac_word... " >&6; }
2998
if ${ac_cv_prog_CC+:} false; then :
2999
$as_echo_n "(cached) " >&6
3001
if test -n "$CC"; then
3002
ac_cv_prog_CC="$CC" # Let the user override the test.
3004
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008
test -z "$as_dir" && as_dir=.
3009
for ac_exec_ext in '' $ac_executable_extensions; do
3010
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011
ac_cv_prog_CC="${ac_tool_prefix}cc"
3012
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022
if test -n "$CC"; then
3023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3024
$as_echo "$CC" >&6; }
3026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027
$as_echo "no" >&6; }
3033
if test -z "$CC"; then
3034
# Extract the first word of "cc", so it can be a program name with args.
3035
set dummy cc; ac_word=$2
3036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037
$as_echo_n "checking for $ac_word... " >&6; }
3038
if ${ac_cv_prog_CC+:} false; then :
3039
$as_echo_n "(cached) " >&6
3041
if test -n "$CC"; then
3042
ac_cv_prog_CC="$CC" # Let the user override the test.
3045
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049
test -z "$as_dir" && as_dir=.
3050
for ac_exec_ext in '' $ac_executable_extensions; do
3051
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3053
ac_prog_rejected=yes
3057
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3064
if test $ac_prog_rejected = yes; then
3065
# We found a bogon in the path, so make sure we never use it.
3066
set dummy $ac_cv_prog_CC
3068
if test $# != 0; then
3069
# We chose a different compiler from the bogus one.
3070
# However, it has the same basename, so the bogon will be chosen
3071
# first if we set CC to just the basename; use the full file name.
3073
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3079
if test -n "$CC"; then
3080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3081
$as_echo "$CC" >&6; }
3083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3084
$as_echo "no" >&6; }
3089
if test -z "$CC"; then
3090
if test -n "$ac_tool_prefix"; then
3091
for ac_prog in cl.exe
3093
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3094
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096
$as_echo_n "checking for $ac_word... " >&6; }
3097
if ${ac_cv_prog_CC+:} false; then :
3098
$as_echo_n "(cached) " >&6
3100
if test -n "$CC"; then
3101
ac_cv_prog_CC="$CC" # Let the user override the test.
3103
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107
test -z "$as_dir" && as_dir=.
3108
for ac_exec_ext in '' $ac_executable_extensions; do
3109
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3110
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3111
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121
if test -n "$CC"; then
3122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3123
$as_echo "$CC" >&6; }
3125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126
$as_echo "no" >&6; }
3130
test -n "$CC" && break
3133
if test -z "$CC"; then
3135
for ac_prog in cl.exe
3137
# Extract the first word of "$ac_prog", so it can be a program name with args.
3138
set dummy $ac_prog; ac_word=$2
3139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140
$as_echo_n "checking for $ac_word... " >&6; }
3141
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3142
$as_echo_n "(cached) " >&6
3144
if test -n "$ac_ct_CC"; then
3145
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151
test -z "$as_dir" && as_dir=.
3152
for ac_exec_ext in '' $ac_executable_extensions; do
3153
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154
ac_cv_prog_ac_ct_CC="$ac_prog"
3155
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3165
if test -n "$ac_ct_CC"; then
3166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3167
$as_echo "$ac_ct_CC" >&6; }
3169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170
$as_echo "no" >&6; }
3174
test -n "$ac_ct_CC" && break
3177
if test "x$ac_ct_CC" = x; then
3180
case $cross_compiling:$ac_tool_warned in
3182
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3183
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3184
ac_tool_warned=yes ;;
3193
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3194
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3195
as_fn_error $? "no acceptable C compiler found in \$PATH
3196
See \`config.log' for more details" "$LINENO" 5; }
3198
# Provide some information about the compiler.
3199
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3202
for ac_option in --version -v -V -qversion; do
3203
{ { ac_try="$ac_compiler $ac_option >&5"
3205
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206
*) ac_try_echo=$ac_try;;
3208
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3209
$as_echo "$ac_try_echo"; } >&5
3210
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3212
if test -s conftest.err; then
3214
... rest of stderr output deleted ...
3215
10q' conftest.err >conftest.er1
3216
cat conftest.er1 >&5
3218
rm -f conftest.er1 conftest.err
3219
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3220
test $ac_status = 0; }
3223
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224
/* end confdefs.h. */
3234
ac_clean_files_save=$ac_clean_files
3235
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3236
# Try to create an executable without -o first, disregard a.out.
3237
# It will help us diagnose broken compilers, and finding out an intuition
3239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3240
$as_echo_n "checking whether the C compiler works... " >&6; }
3241
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3243
# The possible output files:
3244
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3247
for ac_file in $ac_files
3250
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3251
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3256
if { { ac_try="$ac_link_default"
3258
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259
*) ac_try_echo=$ac_try;;
3261
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262
$as_echo "$ac_try_echo"; } >&5
3263
(eval "$ac_link_default") 2>&5
3265
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266
test $ac_status = 0; }; then :
3267
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3268
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3269
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3270
# so that the user can short-circuit this test for compilers unknown to
3272
for ac_file in $ac_files ''
3274
test -f "$ac_file" || continue
3276
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3279
# We found the default executable, but exeext='' is most
3283
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3285
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3287
# We set ac_cv_exeext here because the later test for it is not
3288
# safe: cross compilers may not add the suffix if given an `-o'
3289
# argument, so we may need to know it at that point already.
3290
# Even if this section looks crufty: it has the advantage of
3297
test "$ac_cv_exeext" = no && ac_cv_exeext=
3302
if test -z "$ac_file"; then :
3303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304
$as_echo "no" >&6; }
3305
$as_echo "$as_me: failed program was:" >&5
3306
sed 's/^/| /' conftest.$ac_ext >&5
3308
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3309
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3310
as_fn_error 77 "C compiler cannot create executables
3311
See \`config.log' for more details" "$LINENO" 5; }
3313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3314
$as_echo "yes" >&6; }
3316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3317
$as_echo_n "checking for C compiler default output file name... " >&6; }
3318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3319
$as_echo "$ac_file" >&6; }
3320
ac_exeext=$ac_cv_exeext
3322
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3323
ac_clean_files=$ac_clean_files_save
3324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3325
$as_echo_n "checking for suffix of executables... " >&6; }
3326
if { { ac_try="$ac_link"
3328
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329
*) ac_try_echo=$ac_try;;
3331
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332
$as_echo "$ac_try_echo"; } >&5
3333
(eval "$ac_link") 2>&5
3335
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336
test $ac_status = 0; }; then :
3337
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3338
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3339
# work properly (i.e., refer to `conftest.exe'), while it won't with
3341
for ac_file in conftest.exe conftest conftest.*; do
3342
test -f "$ac_file" || continue
3344
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3345
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3351
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3354
See \`config.log' for more details" "$LINENO" 5; }
3356
rm -f conftest conftest$ac_cv_exeext
3357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3358
$as_echo "$ac_cv_exeext" >&6; }
3360
rm -f conftest.$ac_ext
3361
EXEEXT=$ac_cv_exeext
3363
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364
/* end confdefs.h. */
3369
FILE *f = fopen ("conftest.out", "w");
3370
return ferror (f) || fclose (f) != 0;
3376
ac_clean_files="$ac_clean_files conftest.out"
3377
# Check that the compiler produces executables we can run. If not, either
3378
# the compiler is broken, or we cross compile.
3379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3380
$as_echo_n "checking whether we are cross compiling... " >&6; }
3381
if test "$cross_compiling" != yes; then
3382
{ { ac_try="$ac_link"
3384
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385
*) ac_try_echo=$ac_try;;
3387
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3388
$as_echo "$ac_try_echo"; } >&5
3389
(eval "$ac_link") 2>&5
3391
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392
test $ac_status = 0; }
3393
if { ac_try='./conftest$ac_cv_exeext'
3394
{ { case "(($ac_try" in
3395
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3396
*) ac_try_echo=$ac_try;;
3398
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399
$as_echo "$ac_try_echo"; } >&5
3400
(eval "$ac_try") 2>&5
3402
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403
test $ac_status = 0; }; }; then
3406
if test "$cross_compiling" = maybe; then
3409
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411
as_fn_error $? "cannot run C compiled programs.
3412
If you meant to cross compile, use \`--host'.
3413
See \`config.log' for more details" "$LINENO" 5; }
3417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3418
$as_echo "$cross_compiling" >&6; }
3420
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3421
ac_clean_files=$ac_clean_files_save
3422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3423
$as_echo_n "checking for suffix of object files... " >&6; }
3424
if ${ac_cv_objext+:} false; then :
3425
$as_echo_n "(cached) " >&6
3427
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428
/* end confdefs.h. */
3438
rm -f conftest.o conftest.obj
3439
if { { ac_try="$ac_compile"
3441
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442
*) ac_try_echo=$ac_try;;
3444
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3445
$as_echo "$ac_try_echo"; } >&5
3446
(eval "$ac_compile") 2>&5
3448
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3449
test $ac_status = 0; }; then :
3450
for ac_file in conftest.o conftest.obj conftest.*; do
3451
test -f "$ac_file" || continue;
3453
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3454
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3459
$as_echo "$as_me: failed program was:" >&5
3460
sed 's/^/| /' conftest.$ac_ext >&5
3462
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464
as_fn_error $? "cannot compute suffix of object files: cannot compile
3465
See \`config.log' for more details" "$LINENO" 5; }
3467
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3470
$as_echo "$ac_cv_objext" >&6; }
3471
OBJEXT=$ac_cv_objext
3473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3474
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3475
if ${ac_cv_c_compiler_gnu+:} false; then :
3476
$as_echo_n "(cached) " >&6
3478
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479
/* end confdefs.h. */
3492
if ac_fn_c_try_compile "$LINENO"; then :
3497
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3498
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3502
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3503
if test $ac_compiler_gnu = yes; then
3508
ac_test_CFLAGS=${CFLAGS+set}
3509
ac_save_CFLAGS=$CFLAGS
3510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3511
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3512
if ${ac_cv_prog_cc_g+:} false; then :
3513
$as_echo_n "(cached) " >&6
3515
ac_save_c_werror_flag=$ac_c_werror_flag
3516
ac_c_werror_flag=yes
3519
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520
/* end confdefs.h. */
3530
if ac_fn_c_try_compile "$LINENO"; then :
3534
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535
/* end confdefs.h. */
3545
if ac_fn_c_try_compile "$LINENO"; then :
3548
ac_c_werror_flag=$ac_save_c_werror_flag
3550
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551
/* end confdefs.h. */
3561
if ac_fn_c_try_compile "$LINENO"; then :
3564
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3569
ac_c_werror_flag=$ac_save_c_werror_flag
3571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3572
$as_echo "$ac_cv_prog_cc_g" >&6; }
3573
if test "$ac_test_CFLAGS" = set; then
3574
CFLAGS=$ac_save_CFLAGS
3575
elif test $ac_cv_prog_cc_g = yes; then
3576
if test "$GCC" = yes; then
3582
if test "$GCC" = yes; then
3588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3589
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3590
if ${ac_cv_prog_cc_c89+:} false; then :
3591
$as_echo_n "(cached) " >&6
3593
ac_cv_prog_cc_c89=no
3595
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596
/* end confdefs.h. */
3599
#include <sys/types.h>
3600
#include <sys/stat.h>
3601
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3602
struct buf { int x; };
3603
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3604
static char *e (p, i)
3610
static char *f (char * (*g) (char **, int), char **p, ...)
3615
s = g (p, va_arg (v,int));
3620
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3621
function prototypes and stuff, but not '\xHH' hex character constants.
3622
These don't provoke an error unfortunately, instead are silently treated
3623
as 'x'. The following induces an error, until -std is added to get
3624
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3625
array size at least. It's necessary to write '\x00'==0 to get something
3626
that's true only with -std. */
3627
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3629
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3630
inside strings and character constants. */
3632
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3634
int test (int i, double x);
3635
struct s1 {int (*f) (int a);};
3636
struct s2 {int (*f) (double a);};
3637
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3643
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3648
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3649
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3651
CC="$ac_save_CC $ac_arg"
3652
if ac_fn_c_try_compile "$LINENO"; then :
3653
ac_cv_prog_cc_c89=$ac_arg
3655
rm -f core conftest.err conftest.$ac_objext
3656
test "x$ac_cv_prog_cc_c89" != "xno" && break
3658
rm -f conftest.$ac_ext
3663
case "x$ac_cv_prog_cc_c89" in
3665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3666
$as_echo "none needed" >&6; } ;;
3668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3669
$as_echo "unsupported" >&6; } ;;
3671
CC="$CC $ac_cv_prog_cc_c89"
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3673
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3675
if test "x$ac_cv_prog_cc_c89" != xno; then :
3680
ac_cpp='$CPP $CPPFLAGS'
3681
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3682
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3683
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3685
depcc="$CC" am_compiler_list=
3687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3688
$as_echo_n "checking dependency style of $depcc... " >&6; }
3689
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3690
$as_echo_n "(cached) " >&6
3692
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3693
# We make a subdir and do the tests there. Otherwise we can end up
3694
# making bogus files that we don't know about and never remove. For
3695
# instance it was reported that on HP-UX the gcc test will end up
3696
# making a dummy file named `D' -- because `-MD' means `put the output
3699
# Copy depcomp to subdir because otherwise we won't find it if we're
3700
# using a relative directory.
3701
cp "$am_depcomp" conftest.dir
3703
# We will build objects and dependencies in a subdirectory because
3704
# it helps to detect inapplicable dependency modes. For instance
3705
# both Tru64's cc and ICC support -MD to output dependencies as a
3706
# side effect of compilation, but ICC will put the dependencies in
3707
# the current directory while Tru64 will put them in the object
3711
am_cv_CC_dependencies_compiler_type=none
3712
if test "$am_compiler_list" = ""; then
3713
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3716
case " $depcc " in #(
3717
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3720
for depmode in $am_compiler_list; do
3721
# Setup a source with many dependencies, because some compilers
3722
# like to wrap large dependency lists on column 80 (with \), and
3723
# we should not choose a depcomp mode which is confused by this.
3725
# We need to recreate these files for each test, as the compiler may
3726
# overwrite some of them when testing with obscure command lines.
3727
# This happens at least with the AIX C compiler.
3729
for i in 1 2 3 4 5 6; do
3730
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3731
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3732
# Solaris 8's {/usr,}/bin/sh.
3733
touch sub/conftst$i.h
3735
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3737
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3738
# mode. It turns out that the SunPro C++ compiler does not properly
3739
# handle `-M -o', and we need to detect this. Also, some Intel
3740
# versions had trouble with output in subdirs
3741
am__obj=sub/conftest.${OBJEXT-o}
3742
am__minus_obj="-o $am__obj"
3745
# This depmode causes a compiler race in universal mode.
3746
test "$am__universal" = false || continue
3749
# after this tag, mechanisms are not by side-effect, so they'll
3750
# only be used when explicitly requested
3751
if test "x$enable_dependency_tracking" = xyes; then
3757
msvisualcpp | msvcmsys)
3758
# This compiler won't grok `-c -o', but also, the minuso test has
3759
# not run yet. These depmodes are late enough in the game, and
3760
# so weak that their functioning should not be impacted.
3761
am__obj=conftest.${OBJEXT-o}
3766
if depmode=$depmode \
3767
source=sub/conftest.c object=$am__obj \
3768
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3769
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3770
>/dev/null 2>conftest.err &&
3771
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3772
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3773
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3774
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3775
# icc doesn't choke on unknown options, it will just issue warnings
3776
# or remarks (even with -Werror). So we grep stderr for any message
3777
# that says an option was ignored or not supported.
3778
# When given -MP, icc 7.0 and 7.1 complain thusly:
3779
# icc: Command line warning: ignoring option '-M'; no argument required
3780
# The diagnosis changed in icc 8.0:
3781
# icc: Command line remark: option '-MP' not supported
3782
if (grep 'ignoring option' conftest.err ||
3783
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3784
am_cv_CC_dependencies_compiler_type=$depmode
3793
am_cv_CC_dependencies_compiler_type=none
3797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3798
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3799
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3802
test "x$enable_dependency_tracking" != xno \
3803
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3805
am__fastdepCC_FALSE='#'
3807
am__fastdepCC_TRUE='#'
3808
am__fastdepCC_FALSE=
3813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3814
$as_echo_n "checking for library containing strerror... " >&6; }
3815
if ${ac_cv_search_strerror+:} false; then :
3816
$as_echo_n "(cached) " >&6
3818
ac_func_search_save_LIBS=$LIBS
3819
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820
/* end confdefs.h. */
3822
/* Override any GCC internal prototype to avoid an error.
3823
Use char because int might match the return type of a GCC
3824
builtin and then its argument prototype would still apply. */
3837
for ac_lib in '' cposix; do
3838
if test -z "$ac_lib"; then
3839
ac_res="none required"
3842
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3844
if ac_fn_c_try_link "$LINENO"; then :
3845
ac_cv_search_strerror=$ac_res
3847
rm -f core conftest.err conftest.$ac_objext \
3849
if ${ac_cv_search_strerror+:} false; then :
3853
if ${ac_cv_search_strerror+:} false; then :
3856
ac_cv_search_strerror=no
3859
LIBS=$ac_func_search_save_LIBS
3861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3862
$as_echo "$ac_cv_search_strerror" >&6; }
3863
ac_res=$ac_cv_search_strerror
3864
if test "$ac_res" != no; then :
3865
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3870
ac_cpp='$CPP $CPPFLAGS'
3871
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3872
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3873
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3874
if test -n "$ac_tool_prefix"; then
3875
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3876
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3878
$as_echo_n "checking for $ac_word... " >&6; }
3879
if ${ac_cv_prog_CC+:} false; then :
3880
$as_echo_n "(cached) " >&6
3882
if test -n "$CC"; then
3883
ac_cv_prog_CC="$CC" # Let the user override the test.
3885
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889
test -z "$as_dir" && as_dir=.
3890
for ac_exec_ext in '' $ac_executable_extensions; do
3891
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3892
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3893
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3903
if test -n "$CC"; then
3904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3905
$as_echo "$CC" >&6; }
3907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908
$as_echo "no" >&6; }
3913
if test -z "$ac_cv_prog_CC"; then
3915
# Extract the first word of "gcc", so it can be a program name with args.
3916
set dummy gcc; ac_word=$2
3917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3918
$as_echo_n "checking for $ac_word... " >&6; }
3919
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3920
$as_echo_n "(cached) " >&6
3922
if test -n "$ac_ct_CC"; then
3923
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3925
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929
test -z "$as_dir" && as_dir=.
3930
for ac_exec_ext in '' $ac_executable_extensions; do
3931
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3932
ac_cv_prog_ac_ct_CC="gcc"
3933
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3942
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3943
if test -n "$ac_ct_CC"; then
3944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3945
$as_echo "$ac_ct_CC" >&6; }
3947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948
$as_echo "no" >&6; }
3951
if test "x$ac_ct_CC" = x; then
3954
case $cross_compiling:$ac_tool_warned in
3956
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3957
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3958
ac_tool_warned=yes ;;
3966
if test -z "$CC"; then
3967
if test -n "$ac_tool_prefix"; then
3968
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3969
set dummy ${ac_tool_prefix}cc; ac_word=$2
3970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3971
$as_echo_n "checking for $ac_word... " >&6; }
3972
if ${ac_cv_prog_CC+:} false; then :
3973
$as_echo_n "(cached) " >&6
3975
if test -n "$CC"; then
3976
ac_cv_prog_CC="$CC" # Let the user override the test.
3978
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982
test -z "$as_dir" && as_dir=.
3983
for ac_exec_ext in '' $ac_executable_extensions; do
3984
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3985
ac_cv_prog_CC="${ac_tool_prefix}cc"
3986
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3996
if test -n "$CC"; then
3997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3998
$as_echo "$CC" >&6; }
4000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4001
$as_echo "no" >&6; }
4007
if test -z "$CC"; then
4008
# Extract the first word of "cc", so it can be a program name with args.
4009
set dummy cc; ac_word=$2
4010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4011
$as_echo_n "checking for $ac_word... " >&6; }
4012
if ${ac_cv_prog_CC+:} false; then :
4013
$as_echo_n "(cached) " >&6
4015
if test -n "$CC"; then
4016
ac_cv_prog_CC="$CC" # Let the user override the test.
4019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023
test -z "$as_dir" && as_dir=.
4024
for ac_exec_ext in '' $ac_executable_extensions; do
4025
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4026
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4027
ac_prog_rejected=yes
4031
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4038
if test $ac_prog_rejected = yes; then
4039
# We found a bogon in the path, so make sure we never use it.
4040
set dummy $ac_cv_prog_CC
4042
if test $# != 0; then
4043
# We chose a different compiler from the bogus one.
4044
# However, it has the same basename, so the bogon will be chosen
4045
# first if we set CC to just the basename; use the full file name.
4047
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4053
if test -n "$CC"; then
4054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4055
$as_echo "$CC" >&6; }
4057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4058
$as_echo "no" >&6; }
4063
if test -z "$CC"; then
4064
if test -n "$ac_tool_prefix"; then
4065
for ac_prog in cl.exe
4067
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4068
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070
$as_echo_n "checking for $ac_word... " >&6; }
4071
if ${ac_cv_prog_CC+:} false; then :
4072
$as_echo_n "(cached) " >&6
4074
if test -n "$CC"; then
4075
ac_cv_prog_CC="$CC" # Let the user override the test.
4077
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4081
test -z "$as_dir" && as_dir=.
4082
for ac_exec_ext in '' $ac_executable_extensions; do
4083
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4084
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4085
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095
if test -n "$CC"; then
4096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4097
$as_echo "$CC" >&6; }
4099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100
$as_echo "no" >&6; }
4104
test -n "$CC" && break
4107
if test -z "$CC"; then
4109
for ac_prog in cl.exe
4111
# Extract the first word of "$ac_prog", so it can be a program name with args.
4112
set dummy $ac_prog; ac_word=$2
4113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4114
$as_echo_n "checking for $ac_word... " >&6; }
4115
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4116
$as_echo_n "(cached) " >&6
4118
if test -n "$ac_ct_CC"; then
4119
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4121
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125
test -z "$as_dir" && as_dir=.
4126
for ac_exec_ext in '' $ac_executable_extensions; do
4127
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4128
ac_cv_prog_ac_ct_CC="$ac_prog"
4129
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4138
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4139
if test -n "$ac_ct_CC"; then
4140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4141
$as_echo "$ac_ct_CC" >&6; }
4143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144
$as_echo "no" >&6; }
4148
test -n "$ac_ct_CC" && break
4151
if test "x$ac_ct_CC" = x; then
4154
case $cross_compiling:$ac_tool_warned in
4156
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4157
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4158
ac_tool_warned=yes ;;
4167
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4168
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4169
as_fn_error $? "no acceptable C compiler found in \$PATH
4170
See \`config.log' for more details" "$LINENO" 5; }
4172
# Provide some information about the compiler.
4173
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4176
for ac_option in --version -v -V -qversion; do
4177
{ { ac_try="$ac_compiler $ac_option >&5"
4179
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180
*) ac_try_echo=$ac_try;;
4182
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4183
$as_echo "$ac_try_echo"; } >&5
4184
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4186
if test -s conftest.err; then
4188
... rest of stderr output deleted ...
4189
10q' conftest.err >conftest.er1
4190
cat conftest.er1 >&5
4192
rm -f conftest.er1 conftest.err
4193
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4194
test $ac_status = 0; }
4197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4198
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4199
if ${ac_cv_c_compiler_gnu+:} false; then :
4200
$as_echo_n "(cached) " >&6
4202
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203
/* end confdefs.h. */
4216
if ac_fn_c_try_compile "$LINENO"; then :
4221
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4226
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4227
if test $ac_compiler_gnu = yes; then
4232
ac_test_CFLAGS=${CFLAGS+set}
4233
ac_save_CFLAGS=$CFLAGS
4234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4235
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4236
if ${ac_cv_prog_cc_g+:} false; then :
4237
$as_echo_n "(cached) " >&6
4239
ac_save_c_werror_flag=$ac_c_werror_flag
4240
ac_c_werror_flag=yes
4243
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244
/* end confdefs.h. */
4254
if ac_fn_c_try_compile "$LINENO"; then :
4258
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259
/* end confdefs.h. */
4269
if ac_fn_c_try_compile "$LINENO"; then :
4272
ac_c_werror_flag=$ac_save_c_werror_flag
4274
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275
/* end confdefs.h. */
4285
if ac_fn_c_try_compile "$LINENO"; then :
4288
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4290
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4292
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4293
ac_c_werror_flag=$ac_save_c_werror_flag
4295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4296
$as_echo "$ac_cv_prog_cc_g" >&6; }
4297
if test "$ac_test_CFLAGS" = set; then
4298
CFLAGS=$ac_save_CFLAGS
4299
elif test $ac_cv_prog_cc_g = yes; then
4300
if test "$GCC" = yes; then
4306
if test "$GCC" = yes; then
4312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4313
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4314
if ${ac_cv_prog_cc_c89+:} false; then :
4315
$as_echo_n "(cached) " >&6
4317
ac_cv_prog_cc_c89=no
4319
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320
/* end confdefs.h. */
4323
#include <sys/types.h>
4324
#include <sys/stat.h>
4325
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4326
struct buf { int x; };
4327
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4328
static char *e (p, i)
4334
static char *f (char * (*g) (char **, int), char **p, ...)
4339
s = g (p, va_arg (v,int));
4344
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4345
function prototypes and stuff, but not '\xHH' hex character constants.
4346
These don't provoke an error unfortunately, instead are silently treated
4347
as 'x'. The following induces an error, until -std is added to get
4348
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4349
array size at least. It's necessary to write '\x00'==0 to get something
4350
that's true only with -std. */
4351
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4353
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4354
inside strings and character constants. */
4356
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4358
int test (int i, double x);
4359
struct s1 {int (*f) (int a);};
4360
struct s2 {int (*f) (double a);};
4361
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4367
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4372
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4373
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4375
CC="$ac_save_CC $ac_arg"
4376
if ac_fn_c_try_compile "$LINENO"; then :
4377
ac_cv_prog_cc_c89=$ac_arg
4379
rm -f core conftest.err conftest.$ac_objext
4380
test "x$ac_cv_prog_cc_c89" != "xno" && break
4382
rm -f conftest.$ac_ext
4387
case "x$ac_cv_prog_cc_c89" in
4389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4390
$as_echo "none needed" >&6; } ;;
4392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4393
$as_echo "unsupported" >&6; } ;;
4395
CC="$CC $ac_cv_prog_cc_c89"
4396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4397
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4399
if test "x$ac_cv_prog_cc_c89" != xno; then :
4404
ac_cpp='$CPP $CPPFLAGS'
4405
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4406
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4407
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4409
depcc="$CC" am_compiler_list=
4411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4412
$as_echo_n "checking dependency style of $depcc... " >&6; }
4413
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4414
$as_echo_n "(cached) " >&6
4416
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4417
# We make a subdir and do the tests there. Otherwise we can end up
4418
# making bogus files that we don't know about and never remove. For
4419
# instance it was reported that on HP-UX the gcc test will end up
4420
# making a dummy file named `D' -- because `-MD' means `put the output
4423
# Copy depcomp to subdir because otherwise we won't find it if we're
4424
# using a relative directory.
4425
cp "$am_depcomp" conftest.dir
4427
# We will build objects and dependencies in a subdirectory because
4428
# it helps to detect inapplicable dependency modes. For instance
4429
# both Tru64's cc and ICC support -MD to output dependencies as a
4430
# side effect of compilation, but ICC will put the dependencies in
4431
# the current directory while Tru64 will put them in the object
4435
am_cv_CC_dependencies_compiler_type=none
4436
if test "$am_compiler_list" = ""; then
4437
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4440
case " $depcc " in #(
4441
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4444
for depmode in $am_compiler_list; do
4445
# Setup a source with many dependencies, because some compilers
4446
# like to wrap large dependency lists on column 80 (with \), and
4447
# we should not choose a depcomp mode which is confused by this.
4449
# We need to recreate these files for each test, as the compiler may
4450
# overwrite some of them when testing with obscure command lines.
4451
# This happens at least with the AIX C compiler.
4453
for i in 1 2 3 4 5 6; do
4454
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4455
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4456
# Solaris 8's {/usr,}/bin/sh.
4457
touch sub/conftst$i.h
4459
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4461
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4462
# mode. It turns out that the SunPro C++ compiler does not properly
4463
# handle `-M -o', and we need to detect this. Also, some Intel
4464
# versions had trouble with output in subdirs
4465
am__obj=sub/conftest.${OBJEXT-o}
4466
am__minus_obj="-o $am__obj"
4469
# This depmode causes a compiler race in universal mode.
4470
test "$am__universal" = false || continue
4473
# after this tag, mechanisms are not by side-effect, so they'll
4474
# only be used when explicitly requested
4475
if test "x$enable_dependency_tracking" = xyes; then
4481
msvisualcpp | msvcmsys)
4482
# This compiler won't grok `-c -o', but also, the minuso test has
4483
# not run yet. These depmodes are late enough in the game, and
4484
# so weak that their functioning should not be impacted.
4485
am__obj=conftest.${OBJEXT-o}
4490
if depmode=$depmode \
4491
source=sub/conftest.c object=$am__obj \
4492
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4493
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4494
>/dev/null 2>conftest.err &&
4495
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4496
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4497
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4498
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4499
# icc doesn't choke on unknown options, it will just issue warnings
4500
# or remarks (even with -Werror). So we grep stderr for any message
4501
# that says an option was ignored or not supported.
4502
# When given -MP, icc 7.0 and 7.1 complain thusly:
4503
# icc: Command line warning: ignoring option '-M'; no argument required
4504
# The diagnosis changed in icc 8.0:
4505
# icc: Command line remark: option '-MP' not supported
4506
if (grep 'ignoring option' conftest.err ||
4507
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4508
am_cv_CC_dependencies_compiler_type=$depmode
4517
am_cv_CC_dependencies_compiler_type=none
4521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4522
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4523
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4526
test "x$enable_dependency_tracking" != xno \
4527
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4529
am__fastdepCC_FALSE='#'
4531
am__fastdepCC_TRUE='#'
4532
am__fastdepCC_FALSE=
4537
ac_cpp='$CPP $CPPFLAGS'
4538
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4539
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4540
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4541
if test -n "$ac_tool_prefix"; then
4542
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4543
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545
$as_echo_n "checking for $ac_word... " >&6; }
4546
if ${ac_cv_prog_CC+:} false; then :
4547
$as_echo_n "(cached) " >&6
4549
if test -n "$CC"; then
4550
ac_cv_prog_CC="$CC" # Let the user override the test.
4552
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556
test -z "$as_dir" && as_dir=.
4557
for ac_exec_ext in '' $ac_executable_extensions; do
4558
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4559
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4560
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4570
if test -n "$CC"; then
4571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4572
$as_echo "$CC" >&6; }
4574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575
$as_echo "no" >&6; }
4580
if test -z "$ac_cv_prog_CC"; then
4582
# Extract the first word of "gcc", so it can be a program name with args.
4583
set dummy gcc; ac_word=$2
4584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4585
$as_echo_n "checking for $ac_word... " >&6; }
4586
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4587
$as_echo_n "(cached) " >&6
4589
if test -n "$ac_ct_CC"; then
4590
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4592
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596
test -z "$as_dir" && as_dir=.
4597
for ac_exec_ext in '' $ac_executable_extensions; do
4598
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4599
ac_cv_prog_ac_ct_CC="gcc"
4600
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4609
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4610
if test -n "$ac_ct_CC"; then
4611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4612
$as_echo "$ac_ct_CC" >&6; }
4614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615
$as_echo "no" >&6; }
4618
if test "x$ac_ct_CC" = x; then
4621
case $cross_compiling:$ac_tool_warned in
4623
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4624
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4625
ac_tool_warned=yes ;;
4633
if test -z "$CC"; then
4634
if test -n "$ac_tool_prefix"; then
4635
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4636
set dummy ${ac_tool_prefix}cc; ac_word=$2
4637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4638
$as_echo_n "checking for $ac_word... " >&6; }
4639
if ${ac_cv_prog_CC+:} false; then :
4640
$as_echo_n "(cached) " >&6
4642
if test -n "$CC"; then
4643
ac_cv_prog_CC="$CC" # Let the user override the test.
4645
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649
test -z "$as_dir" && as_dir=.
4650
for ac_exec_ext in '' $ac_executable_extensions; do
4651
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4652
ac_cv_prog_CC="${ac_tool_prefix}cc"
4653
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4663
if test -n "$CC"; then
4664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4665
$as_echo "$CC" >&6; }
4667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4668
$as_echo "no" >&6; }
4674
if test -z "$CC"; then
4675
# Extract the first word of "cc", so it can be a program name with args.
4676
set dummy cc; ac_word=$2
4677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4678
$as_echo_n "checking for $ac_word... " >&6; }
4679
if ${ac_cv_prog_CC+:} false; then :
4680
$as_echo_n "(cached) " >&6
4682
if test -n "$CC"; then
4683
ac_cv_prog_CC="$CC" # Let the user override the test.
4686
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690
test -z "$as_dir" && as_dir=.
4691
for ac_exec_ext in '' $ac_executable_extensions; do
4692
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4693
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4694
ac_prog_rejected=yes
4698
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705
if test $ac_prog_rejected = yes; then
4706
# We found a bogon in the path, so make sure we never use it.
4707
set dummy $ac_cv_prog_CC
4709
if test $# != 0; then
4710
# We chose a different compiler from the bogus one.
4711
# However, it has the same basename, so the bogon will be chosen
4712
# first if we set CC to just the basename; use the full file name.
4714
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4720
if test -n "$CC"; then
4721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4722
$as_echo "$CC" >&6; }
4724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725
$as_echo "no" >&6; }
4730
if test -z "$CC"; then
4731
if test -n "$ac_tool_prefix"; then
4732
for ac_prog in cl.exe
4734
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4735
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4737
$as_echo_n "checking for $ac_word... " >&6; }
4738
if ${ac_cv_prog_CC+:} false; then :
4739
$as_echo_n "(cached) " >&6
4741
if test -n "$CC"; then
4742
ac_cv_prog_CC="$CC" # Let the user override the test.
4744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748
test -z "$as_dir" && as_dir=.
4749
for ac_exec_ext in '' $ac_executable_extensions; do
4750
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4751
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4752
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762
if test -n "$CC"; then
4763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4764
$as_echo "$CC" >&6; }
4766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4767
$as_echo "no" >&6; }
4771
test -n "$CC" && break
4774
if test -z "$CC"; then
4776
for ac_prog in cl.exe
4778
# Extract the first word of "$ac_prog", so it can be a program name with args.
4779
set dummy $ac_prog; ac_word=$2
4780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781
$as_echo_n "checking for $ac_word... " >&6; }
4782
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4783
$as_echo_n "(cached) " >&6
4785
if test -n "$ac_ct_CC"; then
4786
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792
test -z "$as_dir" && as_dir=.
4793
for ac_exec_ext in '' $ac_executable_extensions; do
4794
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4795
ac_cv_prog_ac_ct_CC="$ac_prog"
4796
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4806
if test -n "$ac_ct_CC"; then
4807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4808
$as_echo "$ac_ct_CC" >&6; }
4810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811
$as_echo "no" >&6; }
4815
test -n "$ac_ct_CC" && break
4818
if test "x$ac_ct_CC" = x; then
4821
case $cross_compiling:$ac_tool_warned in
4823
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4824
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4825
ac_tool_warned=yes ;;
4834
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4835
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4836
as_fn_error $? "no acceptable C compiler found in \$PATH
4837
See \`config.log' for more details" "$LINENO" 5; }
4839
# Provide some information about the compiler.
4840
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4843
for ac_option in --version -v -V -qversion; do
4844
{ { ac_try="$ac_compiler $ac_option >&5"
4846
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4847
*) ac_try_echo=$ac_try;;
4849
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4850
$as_echo "$ac_try_echo"; } >&5
4851
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4853
if test -s conftest.err; then
4855
... rest of stderr output deleted ...
4856
10q' conftest.err >conftest.er1
4857
cat conftest.er1 >&5
4859
rm -f conftest.er1 conftest.err
4860
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4861
test $ac_status = 0; }
4864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4865
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4866
if ${ac_cv_c_compiler_gnu+:} false; then :
4867
$as_echo_n "(cached) " >&6
4869
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870
/* end confdefs.h. */
4883
if ac_fn_c_try_compile "$LINENO"; then :
4888
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4889
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4893
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4894
if test $ac_compiler_gnu = yes; then
4899
ac_test_CFLAGS=${CFLAGS+set}
4900
ac_save_CFLAGS=$CFLAGS
4901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4902
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4903
if ${ac_cv_prog_cc_g+:} false; then :
4904
$as_echo_n "(cached) " >&6
4906
ac_save_c_werror_flag=$ac_c_werror_flag
4907
ac_c_werror_flag=yes
4910
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4911
/* end confdefs.h. */
4921
if ac_fn_c_try_compile "$LINENO"; then :
4925
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926
/* end confdefs.h. */
4936
if ac_fn_c_try_compile "$LINENO"; then :
4939
ac_c_werror_flag=$ac_save_c_werror_flag
4941
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942
/* end confdefs.h. */
4952
if ac_fn_c_try_compile "$LINENO"; then :
4955
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4957
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4959
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4960
ac_c_werror_flag=$ac_save_c_werror_flag
4962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4963
$as_echo "$ac_cv_prog_cc_g" >&6; }
4964
if test "$ac_test_CFLAGS" = set; then
4965
CFLAGS=$ac_save_CFLAGS
4966
elif test $ac_cv_prog_cc_g = yes; then
4967
if test "$GCC" = yes; then
4973
if test "$GCC" = yes; then
4979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4980
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4981
if ${ac_cv_prog_cc_c89+:} false; then :
4982
$as_echo_n "(cached) " >&6
4984
ac_cv_prog_cc_c89=no
4986
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4987
/* end confdefs.h. */
4990
#include <sys/types.h>
4991
#include <sys/stat.h>
4992
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4993
struct buf { int x; };
4994
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4995
static char *e (p, i)
5001
static char *f (char * (*g) (char **, int), char **p, ...)
5006
s = g (p, va_arg (v,int));
5011
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5012
function prototypes and stuff, but not '\xHH' hex character constants.
5013
These don't provoke an error unfortunately, instead are silently treated
5014
as 'x'. The following induces an error, until -std is added to get
5015
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5016
array size at least. It's necessary to write '\x00'==0 to get something
5017
that's true only with -std. */
5018
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5020
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5021
inside strings and character constants. */
5023
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5025
int test (int i, double x);
5026
struct s1 {int (*f) (int a);};
5027
struct s2 {int (*f) (double a);};
5028
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5034
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5039
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5040
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5042
CC="$ac_save_CC $ac_arg"
5043
if ac_fn_c_try_compile "$LINENO"; then :
5044
ac_cv_prog_cc_c89=$ac_arg
5046
rm -f core conftest.err conftest.$ac_objext
5047
test "x$ac_cv_prog_cc_c89" != "xno" && break
5049
rm -f conftest.$ac_ext
5054
case "x$ac_cv_prog_cc_c89" in
5056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5057
$as_echo "none needed" >&6; } ;;
5059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5060
$as_echo "unsupported" >&6; } ;;
5062
CC="$CC $ac_cv_prog_cc_c89"
5063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5064
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5066
if test "x$ac_cv_prog_cc_c89" != xno; then :
5071
ac_cpp='$CPP $CPPFLAGS'
5072
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5073
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5074
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5076
depcc="$CC" am_compiler_list=
5078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5079
$as_echo_n "checking dependency style of $depcc... " >&6; }
5080
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5081
$as_echo_n "(cached) " >&6
5083
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5084
# We make a subdir and do the tests there. Otherwise we can end up
5085
# making bogus files that we don't know about and never remove. For
5086
# instance it was reported that on HP-UX the gcc test will end up
5087
# making a dummy file named `D' -- because `-MD' means `put the output
5090
# Copy depcomp to subdir because otherwise we won't find it if we're
5091
# using a relative directory.
5092
cp "$am_depcomp" conftest.dir
5094
# We will build objects and dependencies in a subdirectory because
5095
# it helps to detect inapplicable dependency modes. For instance
5096
# both Tru64's cc and ICC support -MD to output dependencies as a
5097
# side effect of compilation, but ICC will put the dependencies in
5098
# the current directory while Tru64 will put them in the object
5102
am_cv_CC_dependencies_compiler_type=none
5103
if test "$am_compiler_list" = ""; then
5104
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5107
case " $depcc " in #(
5108
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5111
for depmode in $am_compiler_list; do
5112
# Setup a source with many dependencies, because some compilers
5113
# like to wrap large dependency lists on column 80 (with \), and
5114
# we should not choose a depcomp mode which is confused by this.
5116
# We need to recreate these files for each test, as the compiler may
5117
# overwrite some of them when testing with obscure command lines.
5118
# This happens at least with the AIX C compiler.
5120
for i in 1 2 3 4 5 6; do
5121
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5122
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5123
# Solaris 8's {/usr,}/bin/sh.
5124
touch sub/conftst$i.h
5126
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5128
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5129
# mode. It turns out that the SunPro C++ compiler does not properly
5130
# handle `-M -o', and we need to detect this. Also, some Intel
5131
# versions had trouble with output in subdirs
5132
am__obj=sub/conftest.${OBJEXT-o}
5133
am__minus_obj="-o $am__obj"
5136
# This depmode causes a compiler race in universal mode.
5137
test "$am__universal" = false || continue
5140
# after this tag, mechanisms are not by side-effect, so they'll
5141
# only be used when explicitly requested
5142
if test "x$enable_dependency_tracking" = xyes; then
5148
msvisualcpp | msvcmsys)
5149
# This compiler won't grok `-c -o', but also, the minuso test has
5150
# not run yet. These depmodes are late enough in the game, and
5151
# so weak that their functioning should not be impacted.
5152
am__obj=conftest.${OBJEXT-o}
5157
if depmode=$depmode \
5158
source=sub/conftest.c object=$am__obj \
5159
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5160
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5161
>/dev/null 2>conftest.err &&
5162
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5163
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5164
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5165
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5166
# icc doesn't choke on unknown options, it will just issue warnings
5167
# or remarks (even with -Werror). So we grep stderr for any message
5168
# that says an option was ignored or not supported.
5169
# When given -MP, icc 7.0 and 7.1 complain thusly:
5170
# icc: Command line warning: ignoring option '-M'; no argument required
5171
# The diagnosis changed in icc 8.0:
5172
# icc: Command line remark: option '-MP' not supported
5173
if (grep 'ignoring option' conftest.err ||
5174
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5175
am_cv_CC_dependencies_compiler_type=$depmode
5184
am_cv_CC_dependencies_compiler_type=none
5188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5189
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5190
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5193
test "x$enable_dependency_tracking" != xno \
5194
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5196
am__fastdepCC_FALSE='#'
5198
am__fastdepCC_TRUE='#'
5199
am__fastdepCC_FALSE=
5204
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5207
ac_cpp='$CPP $CPPFLAGS'
5208
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5209
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5210
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5212
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5213
# On Suns, sometimes $CPP names a directory.
5214
if test -n "$CPP" && test -d "$CPP"; then
5217
if test -z "$CPP"; then
5218
if ${ac_cv_prog_CPP+:} false; then :
5219
$as_echo_n "(cached) " >&6
5221
# Double quotes because CPP needs to be expanded
5222
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5225
for ac_c_preproc_warn_flag in '' yes
5227
# Use a header file that comes with gcc, so configuring glibc
5228
# with a fresh cross-compiler works.
5229
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5230
# <limits.h> exists even on freestanding compilers.
5231
# On the NeXT, cc -E runs the code through the compiler's parser,
5232
# not just through cpp. "Syntax error" is here to catch this case.
5233
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5234
/* end confdefs.h. */
5236
# include <limits.h>
5238
# include <assert.h>
5242
if ac_fn_c_try_cpp "$LINENO"; then :
5245
# Broken: fails on valid input.
5248
rm -f conftest.err conftest.i conftest.$ac_ext
5250
# OK, works on sane cases. Now check whether nonexistent headers
5251
# can be detected and how.
5252
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5253
/* end confdefs.h. */
5254
#include <ac_nonexistent.h>
5256
if ac_fn_c_try_cpp "$LINENO"; then :
5257
# Broken: success on invalid input.
5260
# Passes both tests.
5264
rm -f conftest.err conftest.i conftest.$ac_ext
5267
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5268
rm -f conftest.i conftest.err conftest.$ac_ext
5269
if $ac_preproc_ok; then :
5281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5282
$as_echo "$CPP" >&6; }
5284
for ac_c_preproc_warn_flag in '' yes
5286
# Use a header file that comes with gcc, so configuring glibc
5287
# with a fresh cross-compiler works.
5288
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5289
# <limits.h> exists even on freestanding compilers.
5290
# On the NeXT, cc -E runs the code through the compiler's parser,
5291
# not just through cpp. "Syntax error" is here to catch this case.
5292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5293
/* end confdefs.h. */
5295
# include <limits.h>
5297
# include <assert.h>
5301
if ac_fn_c_try_cpp "$LINENO"; then :
5304
# Broken: fails on valid input.
5307
rm -f conftest.err conftest.i conftest.$ac_ext
5309
# OK, works on sane cases. Now check whether nonexistent headers
5310
# can be detected and how.
5311
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5312
/* end confdefs.h. */
5313
#include <ac_nonexistent.h>
5315
if ac_fn_c_try_cpp "$LINENO"; then :
5316
# Broken: success on invalid input.
5319
# Passes both tests.
5323
rm -f conftest.err conftest.i conftest.$ac_ext
5326
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5327
rm -f conftest.i conftest.err conftest.$ac_ext
5328
if $ac_preproc_ok; then :
5331
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5332
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5333
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5334
See \`config.log' for more details" "$LINENO" 5; }
5338
ac_cpp='$CPP $CPPFLAGS'
5339
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5340
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5341
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5345
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5346
if ${ac_cv_path_GREP+:} false; then :
5347
$as_echo_n "(cached) " >&6
5349
if test -z "$GREP"; then
5350
ac_path_GREP_found=false
5351
# Loop through the user's path and test for each of PROGNAME-LIST
5352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5356
test -z "$as_dir" && as_dir=.
5357
for ac_prog in grep ggrep; do
5358
for ac_exec_ext in '' $ac_executable_extensions; do
5359
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5360
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5361
# Check for GNU ac_path_GREP and select it if it is found.
5362
# Check for GNU $ac_path_GREP
5363
case `"$ac_path_GREP" --version 2>&1` in
5365
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5368
$as_echo_n 0123456789 >"conftest.in"
5371
cat "conftest.in" "conftest.in" >"conftest.tmp"
5372
mv "conftest.tmp" "conftest.in"
5373
cp "conftest.in" "conftest.nl"
5374
$as_echo 'GREP' >> "conftest.nl"
5375
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5376
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5377
as_fn_arith $ac_count + 1 && ac_count=$as_val
5378
if test $ac_count -gt ${ac_path_GREP_max-0}; then
5379
# Best one so far, save it but keep looking for a better one
5380
ac_cv_path_GREP="$ac_path_GREP"
5381
ac_path_GREP_max=$ac_count
5383
# 10*(2^10) chars as input seems more than enough
5384
test $ac_count -gt 10 && break
5386
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5389
$ac_path_GREP_found && break 3
5394
if test -z "$ac_cv_path_GREP"; then
5395
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5398
ac_cv_path_GREP=$GREP
5402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5403
$as_echo "$ac_cv_path_GREP" >&6; }
5404
GREP="$ac_cv_path_GREP"
5407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5408
$as_echo_n "checking for egrep... " >&6; }
5409
if ${ac_cv_path_EGREP+:} false; then :
5410
$as_echo_n "(cached) " >&6
5412
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5413
then ac_cv_path_EGREP="$GREP -E"
5415
if test -z "$EGREP"; then
5416
ac_path_EGREP_found=false
5417
# Loop through the user's path and test for each of PROGNAME-LIST
5418
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5422
test -z "$as_dir" && as_dir=.
5423
for ac_prog in egrep; do
5424
for ac_exec_ext in '' $ac_executable_extensions; do
5425
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5426
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5427
# Check for GNU ac_path_EGREP and select it if it is found.
5428
# Check for GNU $ac_path_EGREP
5429
case `"$ac_path_EGREP" --version 2>&1` in
5431
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5434
$as_echo_n 0123456789 >"conftest.in"
5437
cat "conftest.in" "conftest.in" >"conftest.tmp"
5438
mv "conftest.tmp" "conftest.in"
5439
cp "conftest.in" "conftest.nl"
5440
$as_echo 'EGREP' >> "conftest.nl"
5441
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5442
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5443
as_fn_arith $ac_count + 1 && ac_count=$as_val
5444
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5445
# Best one so far, save it but keep looking for a better one
5446
ac_cv_path_EGREP="$ac_path_EGREP"
5447
ac_path_EGREP_max=$ac_count
5449
# 10*(2^10) chars as input seems more than enough
5450
test $ac_count -gt 10 && break
5452
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5455
$ac_path_EGREP_found && break 3
5460
if test -z "$ac_cv_path_EGREP"; then
5461
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5464
ac_cv_path_EGREP=$EGREP
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5470
$as_echo "$ac_cv_path_EGREP" >&6; }
5471
EGREP="$ac_cv_path_EGREP"
5474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5475
$as_echo_n "checking for ANSI C header files... " >&6; }
5476
if ${ac_cv_header_stdc+:} false; then :
5477
$as_echo_n "(cached) " >&6
5479
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480
/* end confdefs.h. */
5494
if ac_fn_c_try_compile "$LINENO"; then :
5495
ac_cv_header_stdc=yes
5497
ac_cv_header_stdc=no
5499
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5501
if test $ac_cv_header_stdc = yes; then
5502
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5503
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5504
/* end confdefs.h. */
5508
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5509
$EGREP "memchr" >/dev/null 2>&1; then :
5512
ac_cv_header_stdc=no
5518
if test $ac_cv_header_stdc = yes; then
5519
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5520
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5521
/* end confdefs.h. */
5525
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5526
$EGREP "free" >/dev/null 2>&1; then :
5529
ac_cv_header_stdc=no
5535
if test $ac_cv_header_stdc = yes; then
5536
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5537
if test "$cross_compiling" = yes; then :
5540
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5541
/* end confdefs.h. */
5544
#if ((' ' & 0x0FF) == 0x020)
5545
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5546
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5548
# define ISLOWER(c) \
5549
(('a' <= (c) && (c) <= 'i') \
5550
|| ('j' <= (c) && (c) <= 'r') \
5551
|| ('s' <= (c) && (c) <= 'z'))
5552
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5555
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5560
for (i = 0; i < 256; i++)
5561
if (XOR (islower (i), ISLOWER (i))
5562
|| toupper (i) != TOUPPER (i))
5567
if ac_fn_c_try_run "$LINENO"; then :
5570
ac_cv_header_stdc=no
5572
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5573
conftest.$ac_objext conftest.beam conftest.$ac_ext
5578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5579
$as_echo "$ac_cv_header_stdc" >&6; }
5580
if test $ac_cv_header_stdc = yes; then
5582
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5589
ac_cpp='$CPP $CPPFLAGS'
5590
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5591
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5592
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5594
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5595
# On Suns, sometimes $CPP names a directory.
5596
if test -n "$CPP" && test -d "$CPP"; then
5599
if test -z "$CPP"; then
5600
if ${ac_cv_prog_CPP+:} false; then :
5601
$as_echo_n "(cached) " >&6
5603
# Double quotes because CPP needs to be expanded
5604
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5607
for ac_c_preproc_warn_flag in '' yes
5609
# Use a header file that comes with gcc, so configuring glibc
5610
# with a fresh cross-compiler works.
5611
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5612
# <limits.h> exists even on freestanding compilers.
5613
# On the NeXT, cc -E runs the code through the compiler's parser,
5614
# not just through cpp. "Syntax error" is here to catch this case.
5615
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5616
/* end confdefs.h. */
5618
# include <limits.h>
5620
# include <assert.h>
5624
if ac_fn_c_try_cpp "$LINENO"; then :
5627
# Broken: fails on valid input.
5630
rm -f conftest.err conftest.i conftest.$ac_ext
5632
# OK, works on sane cases. Now check whether nonexistent headers
5633
# can be detected and how.
5634
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635
/* end confdefs.h. */
5636
#include <ac_nonexistent.h>
5638
if ac_fn_c_try_cpp "$LINENO"; then :
5639
# Broken: success on invalid input.
5642
# Passes both tests.
5646
rm -f conftest.err conftest.i conftest.$ac_ext
5649
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5650
rm -f conftest.i conftest.err conftest.$ac_ext
5651
if $ac_preproc_ok; then :
5663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5664
$as_echo "$CPP" >&6; }
5666
for ac_c_preproc_warn_flag in '' yes
5668
# Use a header file that comes with gcc, so configuring glibc
5669
# with a fresh cross-compiler works.
5670
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5671
# <limits.h> exists even on freestanding compilers.
5672
# On the NeXT, cc -E runs the code through the compiler's parser,
5673
# not just through cpp. "Syntax error" is here to catch this case.
5674
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5675
/* end confdefs.h. */
5677
# include <limits.h>
5679
# include <assert.h>
5683
if ac_fn_c_try_cpp "$LINENO"; then :
5686
# Broken: fails on valid input.
5689
rm -f conftest.err conftest.i conftest.$ac_ext
5691
# OK, works on sane cases. Now check whether nonexistent headers
5692
# can be detected and how.
5693
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5694
/* end confdefs.h. */
5695
#include <ac_nonexistent.h>
5697
if ac_fn_c_try_cpp "$LINENO"; then :
5698
# Broken: success on invalid input.
5701
# Passes both tests.
5705
rm -f conftest.err conftest.i conftest.$ac_ext
5708
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5709
rm -f conftest.i conftest.err conftest.$ac_ext
5710
if $ac_preproc_ok; then :
5713
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5714
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5715
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5716
See \`config.log' for more details" "$LINENO" 5; }
5720
ac_cpp='$CPP $CPPFLAGS'
5721
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5722
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5723
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5726
ac_cpp='$CXXCPP $CPPFLAGS'
5727
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5728
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5729
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5730
if test -z "$CXX"; then
5731
if test -n "$CCC"; then
5734
if test -n "$ac_tool_prefix"; then
5735
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5737
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5738
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5740
$as_echo_n "checking for $ac_word... " >&6; }
5741
if ${ac_cv_prog_CXX+:} false; then :
5742
$as_echo_n "(cached) " >&6
5744
if test -n "$CXX"; then
5745
ac_cv_prog_CXX="$CXX" # Let the user override the test.
5747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751
test -z "$as_dir" && as_dir=.
5752
for ac_exec_ext in '' $ac_executable_extensions; do
5753
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5754
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765
if test -n "$CXX"; then
5766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5767
$as_echo "$CXX" >&6; }
5769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770
$as_echo "no" >&6; }
5774
test -n "$CXX" && break
5777
if test -z "$CXX"; then
5779
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5781
# Extract the first word of "$ac_prog", so it can be a program name with args.
5782
set dummy $ac_prog; ac_word=$2
5783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784
$as_echo_n "checking for $ac_word... " >&6; }
5785
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5786
$as_echo_n "(cached) " >&6
5788
if test -n "$ac_ct_CXX"; then
5789
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5791
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795
test -z "$as_dir" && as_dir=.
5796
for ac_exec_ext in '' $ac_executable_extensions; do
5797
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5798
ac_cv_prog_ac_ct_CXX="$ac_prog"
5799
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5809
if test -n "$ac_ct_CXX"; then
5810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5811
$as_echo "$ac_ct_CXX" >&6; }
5813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814
$as_echo "no" >&6; }
5818
test -n "$ac_ct_CXX" && break
5821
if test "x$ac_ct_CXX" = x; then
5824
case $cross_compiling:$ac_tool_warned in
5826
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5827
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5828
ac_tool_warned=yes ;;
5836
# Provide some information about the compiler.
5837
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5840
for ac_option in --version -v -V -qversion; do
5841
{ { ac_try="$ac_compiler $ac_option >&5"
5843
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5844
*) ac_try_echo=$ac_try;;
5846
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5847
$as_echo "$ac_try_echo"; } >&5
5848
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
5850
if test -s conftest.err; then
5852
... rest of stderr output deleted ...
5853
10q' conftest.err >conftest.er1
5854
cat conftest.er1 >&5
5856
rm -f conftest.er1 conftest.err
5857
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5858
test $ac_status = 0; }
5861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5862
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5863
if ${ac_cv_cxx_compiler_gnu+:} false; then :
5864
$as_echo_n "(cached) " >&6
5866
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5867
/* end confdefs.h. */
5880
if ac_fn_cxx_try_compile "$LINENO"; then :
5885
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5886
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5890
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5891
if test $ac_compiler_gnu = yes; then
5896
ac_test_CXXFLAGS=${CXXFLAGS+set}
5897
ac_save_CXXFLAGS=$CXXFLAGS
5898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5899
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5900
if ${ac_cv_prog_cxx_g+:} false; then :
5901
$as_echo_n "(cached) " >&6
5903
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5904
ac_cxx_werror_flag=yes
5907
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5908
/* end confdefs.h. */
5918
if ac_fn_cxx_try_compile "$LINENO"; then :
5919
ac_cv_prog_cxx_g=yes
5922
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5923
/* end confdefs.h. */
5933
if ac_fn_cxx_try_compile "$LINENO"; then :
5936
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5938
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5939
/* end confdefs.h. */
5949
if ac_fn_cxx_try_compile "$LINENO"; then :
5950
ac_cv_prog_cxx_g=yes
5952
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5954
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5956
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5957
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5960
$as_echo "$ac_cv_prog_cxx_g" >&6; }
5961
if test "$ac_test_CXXFLAGS" = set; then
5962
CXXFLAGS=$ac_save_CXXFLAGS
5963
elif test $ac_cv_prog_cxx_g = yes; then
5964
if test "$GXX" = yes; then
5970
if test "$GXX" = yes; then
5977
ac_cpp='$CPP $CPPFLAGS'
5978
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5979
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5980
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5982
depcc="$CXX" am_compiler_list=
5984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5985
$as_echo_n "checking dependency style of $depcc... " >&6; }
5986
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5987
$as_echo_n "(cached) " >&6
5989
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5990
# We make a subdir and do the tests there. Otherwise we can end up
5991
# making bogus files that we don't know about and never remove. For
5992
# instance it was reported that on HP-UX the gcc test will end up
5993
# making a dummy file named `D' -- because `-MD' means `put the output
5996
# Copy depcomp to subdir because otherwise we won't find it if we're
5997
# using a relative directory.
5998
cp "$am_depcomp" conftest.dir
6000
# We will build objects and dependencies in a subdirectory because
6001
# it helps to detect inapplicable dependency modes. For instance
6002
# both Tru64's cc and ICC support -MD to output dependencies as a
6003
# side effect of compilation, but ICC will put the dependencies in
6004
# the current directory while Tru64 will put them in the object
6008
am_cv_CXX_dependencies_compiler_type=none
6009
if test "$am_compiler_list" = ""; then
6010
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6013
case " $depcc " in #(
6014
*\ -arch\ *\ -arch\ *) am__universal=true ;;
6017
for depmode in $am_compiler_list; do
6018
# Setup a source with many dependencies, because some compilers
6019
# like to wrap large dependency lists on column 80 (with \), and
6020
# we should not choose a depcomp mode which is confused by this.
6022
# We need to recreate these files for each test, as the compiler may
6023
# overwrite some of them when testing with obscure command lines.
6024
# This happens at least with the AIX C compiler.
6026
for i in 1 2 3 4 5 6; do
6027
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6028
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6029
# Solaris 8's {/usr,}/bin/sh.
6030
touch sub/conftst$i.h
6032
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6034
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6035
# mode. It turns out that the SunPro C++ compiler does not properly
6036
# handle `-M -o', and we need to detect this. Also, some Intel
6037
# versions had trouble with output in subdirs
6038
am__obj=sub/conftest.${OBJEXT-o}
6039
am__minus_obj="-o $am__obj"
6042
# This depmode causes a compiler race in universal mode.
6043
test "$am__universal" = false || continue
6046
# after this tag, mechanisms are not by side-effect, so they'll
6047
# only be used when explicitly requested
6048
if test "x$enable_dependency_tracking" = xyes; then
6054
msvisualcpp | msvcmsys)
6055
# This compiler won't grok `-c -o', but also, the minuso test has
6056
# not run yet. These depmodes are late enough in the game, and
6057
# so weak that their functioning should not be impacted.
6058
am__obj=conftest.${OBJEXT-o}
6063
if depmode=$depmode \
6064
source=sub/conftest.c object=$am__obj \
6065
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6066
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6067
>/dev/null 2>conftest.err &&
6068
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6069
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6070
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6071
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6072
# icc doesn't choke on unknown options, it will just issue warnings
6073
# or remarks (even with -Werror). So we grep stderr for any message
6074
# that says an option was ignored or not supported.
6075
# When given -MP, icc 7.0 and 7.1 complain thusly:
6076
# icc: Command line warning: ignoring option '-M'; no argument required
6077
# The diagnosis changed in icc 8.0:
6078
# icc: Command line remark: option '-MP' not supported
6079
if (grep 'ignoring option' conftest.err ||
6080
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6081
am_cv_CXX_dependencies_compiler_type=$depmode
6090
am_cv_CXX_dependencies_compiler_type=none
6094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6095
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6096
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6099
test "x$enable_dependency_tracking" != xno \
6100
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6101
am__fastdepCXX_TRUE=
6102
am__fastdepCXX_FALSE='#'
6104
am__fastdepCXX_TRUE='#'
6105
am__fastdepCXX_FALSE=
6109
if test "x$CC" != xcc; then
6110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
6111
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
6113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
6114
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
6116
set dummy $CC; ac_cc=`$as_echo "$2" |
6117
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6118
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
6119
$as_echo_n "(cached) " >&6
6121
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6122
/* end confdefs.h. */
6132
# Make sure it works both with $CC and with simple cc.
6133
# We do the test twice because some compilers refuse to overwrite an
6134
# existing .o file with -o, though they will create one.
6135
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6137
if { { case "(($ac_try" in
6138
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6139
*) ac_try_echo=$ac_try;;
6141
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6142
$as_echo "$ac_try_echo"; } >&5
6143
(eval "$ac_try") 2>&5
6145
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6146
test $ac_status = 0; } &&
6147
test -f conftest2.$ac_objext && { { case "(($ac_try" in
6148
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6149
*) ac_try_echo=$ac_try;;
6151
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6152
$as_echo "$ac_try_echo"; } >&5
6153
(eval "$ac_try") 2>&5
6155
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6156
test $ac_status = 0; };
6158
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
6159
if test "x$CC" != xcc; then
6160
# Test first that cc exists at all.
6161
if { ac_try='cc -c conftest.$ac_ext >&5'
6162
{ { case "(($ac_try" in
6163
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6164
*) ac_try_echo=$ac_try;;
6166
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6167
$as_echo "$ac_try_echo"; } >&5
6168
(eval "$ac_try") 2>&5
6170
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6171
test $ac_status = 0; }; }; then
6172
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6174
if { { case "(($ac_try" in
6175
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6176
*) ac_try_echo=$ac_try;;
6178
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6179
$as_echo "$ac_try_echo"; } >&5
6180
(eval "$ac_try") 2>&5
6182
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6183
test $ac_status = 0; } &&
6184
test -f conftest2.$ac_objext && { { case "(($ac_try" in
6185
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6186
*) ac_try_echo=$ac_try;;
6188
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6189
$as_echo "$ac_try_echo"; } >&5
6190
(eval "$ac_try") 2>&5
6192
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6193
test $ac_status = 0; };
6198
# cc exists but doesn't like -o.
6199
eval ac_cv_prog_cc_${ac_cc}_c_o=no
6204
eval ac_cv_prog_cc_${ac_cc}_c_o=no
6206
rm -f core conftest*
6209
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
6210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6211
$as_echo "yes" >&6; }
6213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6214
$as_echo "no" >&6; }
6216
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
6220
# FIXME: we rely on the cache variable name because
6221
# there is no other way.
6223
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6224
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6225
if test "$am_t" != yes; then
6226
# Losing compiler, so override with the script.
6227
# FIXME: It is wrong to rewrite CC.
6228
# But if we don't then we get into trouble of one sort or another.
6229
# A longer-term fix would be to have automake use am__CC in this case,
6230
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6231
CC="$am_aux_dir/compile $CC"
6235
if test -n "$ac_tool_prefix"; then
6236
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6237
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6239
$as_echo_n "checking for $ac_word... " >&6; }
6240
if ${ac_cv_prog_RANLIB+:} false; then :
6241
$as_echo_n "(cached) " >&6
6243
if test -n "$RANLIB"; then
6244
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6246
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250
test -z "$as_dir" && as_dir=.
6251
for ac_exec_ext in '' $ac_executable_extensions; do
6252
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6254
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6263
RANLIB=$ac_cv_prog_RANLIB
6264
if test -n "$RANLIB"; then
6265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6266
$as_echo "$RANLIB" >&6; }
6268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269
$as_echo "no" >&6; }
6274
if test -z "$ac_cv_prog_RANLIB"; then
6275
ac_ct_RANLIB=$RANLIB
6276
# Extract the first word of "ranlib", so it can be a program name with args.
6277
set dummy ranlib; ac_word=$2
6278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6279
$as_echo_n "checking for $ac_word... " >&6; }
6280
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6281
$as_echo_n "(cached) " >&6
6283
if test -n "$ac_ct_RANLIB"; then
6284
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6286
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290
test -z "$as_dir" && as_dir=.
6291
for ac_exec_ext in '' $ac_executable_extensions; do
6292
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6293
ac_cv_prog_ac_ct_RANLIB="ranlib"
6294
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6304
if test -n "$ac_ct_RANLIB"; then
6305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6306
$as_echo "$ac_ct_RANLIB" >&6; }
6308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6309
$as_echo "no" >&6; }
6312
if test "x$ac_ct_RANLIB" = x; then
6315
case $cross_compiling:$ac_tool_warned in
6317
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6318
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6319
ac_tool_warned=yes ;;
6321
RANLIB=$ac_ct_RANLIB
6324
RANLIB="$ac_cv_prog_RANLIB"
6328
GETTEXT_PACKAGE=gecko-mediaplayer
6331
cat >>confdefs.h <<_ACEOF
6332
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6336
ALL_LINGUAS="cs de es fr ja it nl pl pt pt_BR tr"
6337
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6338
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6339
inttypes.h stdint.h unistd.h
6341
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6342
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6344
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6345
cat >>confdefs.h <<_ACEOF
6346
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6355
for ac_header in locale.h
6357
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
6358
if test "x$ac_cv_header_locale_h" = xyes; then :
6359
cat >>confdefs.h <<_ACEOF
6360
#define HAVE_LOCALE_H 1
6367
if test $ac_cv_header_locale_h = yes; then
6368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
6369
$as_echo_n "checking for LC_MESSAGES... " >&6; }
6370
if ${am_cv_val_LC_MESSAGES+:} false; then :
6371
$as_echo_n "(cached) " >&6
6373
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374
/* end confdefs.h. */
6384
if ac_fn_c_try_link "$LINENO"; then :
6385
am_cv_val_LC_MESSAGES=yes
6387
am_cv_val_LC_MESSAGES=no
6389
rm -f core conftest.err conftest.$ac_objext \
6390
conftest$ac_exeext conftest.$ac_ext
6392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
6393
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
6394
if test $am_cv_val_LC_MESSAGES = yes; then
6396
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
6403
gt_cv_have_gettext=no
6409
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
6410
if test "x$ac_cv_header_libintl_h" = xyes; then :
6411
gt_cv_func_dgettext_libintl="no"
6412
libintl_extra_libs=""
6415
# First check in libc
6417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
6418
$as_echo_n "checking for ngettext in libc... " >&6; }
6419
if ${gt_cv_func_ngettext_libc+:} false; then :
6420
$as_echo_n "(cached) " >&6
6422
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6423
/* end confdefs.h. */
6425
#include <libintl.h>
6430
return !ngettext ("","", 1)
6435
if ac_fn_c_try_link "$LINENO"; then :
6436
gt_cv_func_ngettext_libc=yes
6438
gt_cv_func_ngettext_libc=no
6440
rm -f core conftest.err conftest.$ac_objext \
6441
conftest$ac_exeext conftest.$ac_ext
6444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
6445
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
6447
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
6449
$as_echo_n "checking for dgettext in libc... " >&6; }
6450
if ${gt_cv_func_dgettext_libc+:} false; then :
6451
$as_echo_n "(cached) " >&6
6453
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6454
/* end confdefs.h. */
6456
#include <libintl.h>
6461
return !dgettext ("","")
6466
if ac_fn_c_try_link "$LINENO"; then :
6467
gt_cv_func_dgettext_libc=yes
6469
gt_cv_func_dgettext_libc=no
6471
rm -f core conftest.err conftest.$ac_objext \
6472
conftest$ac_exeext conftest.$ac_ext
6475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
6476
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
6479
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6480
for ac_func in bind_textdomain_codeset
6482
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6483
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6484
cat >>confdefs.h <<_ACEOF
6485
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6494
# If we don't have everything we want, check in libintl
6496
if test "$gt_cv_func_dgettext_libc" != "yes" \
6497
|| test "$gt_cv_func_ngettext_libc" != "yes" \
6498
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
6501
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
6502
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
6503
$as_echo_n "(cached) " >&6
6505
ac_check_lib_save_LIBS=$LIBS
6507
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6508
/* end confdefs.h. */
6510
/* Override any GCC internal prototype to avoid an error.
6511
Use char because int might match the return type of a GCC
6512
builtin and then its argument prototype would still apply. */
6516
char bindtextdomain ();
6520
return bindtextdomain ();
6525
if ac_fn_c_try_link "$LINENO"; then :
6526
ac_cv_lib_intl_bindtextdomain=yes
6528
ac_cv_lib_intl_bindtextdomain=no
6530
rm -f core conftest.err conftest.$ac_objext \
6531
conftest$ac_exeext conftest.$ac_ext
6532
LIBS=$ac_check_lib_save_LIBS
6534
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
6535
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6536
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
6537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6538
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6539
if ${ac_cv_lib_intl_ngettext+:} false; then :
6540
$as_echo_n "(cached) " >&6
6542
ac_check_lib_save_LIBS=$LIBS
6544
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6545
/* end confdefs.h. */
6547
/* Override any GCC internal prototype to avoid an error.
6548
Use char because int might match the return type of a GCC
6549
builtin and then its argument prototype would still apply. */
6562
if ac_fn_c_try_link "$LINENO"; then :
6563
ac_cv_lib_intl_ngettext=yes
6565
ac_cv_lib_intl_ngettext=no
6567
rm -f core conftest.err conftest.$ac_objext \
6568
conftest$ac_exeext conftest.$ac_ext
6569
LIBS=$ac_check_lib_save_LIBS
6571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6572
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6573
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
6574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
6575
$as_echo_n "checking for dgettext in -lintl... " >&6; }
6576
if ${ac_cv_lib_intl_dgettext+:} false; then :
6577
$as_echo_n "(cached) " >&6
6579
ac_check_lib_save_LIBS=$LIBS
6581
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6582
/* end confdefs.h. */
6584
/* Override any GCC internal prototype to avoid an error.
6585
Use char because int might match the return type of a GCC
6586
builtin and then its argument prototype would still apply. */
6599
if ac_fn_c_try_link "$LINENO"; then :
6600
ac_cv_lib_intl_dgettext=yes
6602
ac_cv_lib_intl_dgettext=no
6604
rm -f core conftest.err conftest.$ac_objext \
6605
conftest$ac_exeext conftest.$ac_ext
6606
LIBS=$ac_check_lib_save_LIBS
6608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
6609
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
6610
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
6611
gt_cv_func_dgettext_libintl=yes
6619
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
6621
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
6622
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
6624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6625
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6626
if ${ac_cv_lib_intl_ngettext+:} false; then :
6627
$as_echo_n "(cached) " >&6
6629
ac_check_lib_save_LIBS=$LIBS
6630
LIBS="-lintl -liconv $LIBS"
6631
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6632
/* end confdefs.h. */
6634
/* Override any GCC internal prototype to avoid an error.
6635
Use char because int might match the return type of a GCC
6636
builtin and then its argument prototype would still apply. */
6649
if ac_fn_c_try_link "$LINENO"; then :
6650
ac_cv_lib_intl_ngettext=yes
6652
ac_cv_lib_intl_ngettext=no
6654
rm -f core conftest.err conftest.$ac_objext \
6655
conftest$ac_exeext conftest.$ac_ext
6656
LIBS=$ac_check_lib_save_LIBS
6658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6659
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6660
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
6661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
6662
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
6663
if ${ac_cv_lib_intl_dcgettext+:} false; then :
6664
$as_echo_n "(cached) " >&6
6666
ac_check_lib_save_LIBS=$LIBS
6667
LIBS="-lintl -liconv $LIBS"
6668
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6669
/* end confdefs.h. */
6671
/* Override any GCC internal prototype to avoid an error.
6672
Use char because int might match the return type of a GCC
6673
builtin and then its argument prototype would still apply. */
6681
return dcgettext ();
6686
if ac_fn_c_try_link "$LINENO"; then :
6687
ac_cv_lib_intl_dcgettext=yes
6689
ac_cv_lib_intl_dcgettext=no
6691
rm -f core conftest.err conftest.$ac_objext \
6692
conftest$ac_exeext conftest.$ac_ext
6693
LIBS=$ac_check_lib_save_LIBS
6695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
6696
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
6697
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
6698
gt_cv_func_dgettext_libintl=yes
6699
libintl_extra_libs=-liconv
6711
# If we found libintl, then check in it for bind_textdomain_codeset();
6712
# we'll prefer libc if neither have bind_textdomain_codeset(),
6713
# and both have dgettext and ngettext
6715
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6716
glib_save_LIBS="$LIBS"
6717
LIBS="$LIBS -lintl $libintl_extra_libs"
6718
unset ac_cv_func_bind_textdomain_codeset
6719
for ac_func in bind_textdomain_codeset
6721
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6722
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6723
cat >>confdefs.h <<_ACEOF
6724
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6730
LIBS="$glib_save_LIBS"
6732
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6733
gt_cv_func_dgettext_libc=no
6735
if test "$gt_cv_func_dgettext_libc" = "yes" \
6736
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
6737
gt_cv_func_dgettext_libintl=no
6743
if test "$gt_cv_func_dgettext_libc" = "yes" \
6744
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
6745
gt_cv_have_gettext=yes
6748
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6749
INTLLIBS="-lintl $libintl_extra_libs"
6752
if test "$gt_cv_have_gettext" = "yes"; then
6754
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6756
# Extract the first word of "msgfmt", so it can be a program name with args.
6757
set dummy msgfmt; ac_word=$2
6758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759
$as_echo_n "checking for $ac_word... " >&6; }
6760
if ${ac_cv_path_MSGFMT+:} false; then :
6761
$as_echo_n "(cached) " >&6
6765
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6768
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6769
for ac_dir in $PATH; do
6770
test -z "$ac_dir" && ac_dir=.
6771
if test -f $ac_dir/$ac_word; then
6772
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6773
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6779
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6783
MSGFMT="$ac_cv_path_MSGFMT"
6784
if test "$MSGFMT" != "no"; then
6785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6786
$as_echo "$MSGFMT" >&6; }
6788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789
$as_echo "no" >&6; }
6791
if test "$MSGFMT" != "no"; then
6792
glib_save_LIBS="$LIBS"
6793
LIBS="$LIBS $INTLLIBS"
6794
for ac_func in dcgettext
6796
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6797
if test "x$ac_cv_func_dcgettext" = xyes; then :
6798
cat >>confdefs.h <<_ACEOF
6799
#define HAVE_DCGETTEXT 1
6806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6807
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
6808
cat >conftest.foo <<_ACEOF
6812
"Content-Type: text/plain; charset=UTF-8\n"
6813
"Project-Id-Version: test 1.0\n"
6814
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
6815
"Last-Translator: test <foo@bar.xx>\n"
6816
"Language-Team: C <LL@li.org>\n"
6817
"MIME-Version: 1.0\n"
6818
"Content-Transfer-Encoding: 8bit\n"
6821
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6822
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6824
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6825
test $ac_status = 0; }; then
6826
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6827
$as_echo "yes" >&6; }
6828
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6829
$as_echo "no" >&6; }
6830
echo "$as_me: failed input was:" >&5
6831
sed 's/^/| /' conftest.foo >&5
6834
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6835
set dummy gmsgfmt; ac_word=$2
6836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837
$as_echo_n "checking for $ac_word... " >&6; }
6838
if ${ac_cv_path_GMSGFMT+:} false; then :
6839
$as_echo_n "(cached) " >&6
6843
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6846
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850
test -z "$as_dir" && as_dir=.
6851
for ac_exec_ext in '' $ac_executable_extensions; do
6852
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6853
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6854
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6861
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6865
GMSGFMT=$ac_cv_path_GMSGFMT
6866
if test -n "$GMSGFMT"; then
6867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6868
$as_echo "$GMSGFMT" >&6; }
6870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871
$as_echo "no" >&6; }
6875
# Extract the first word of "xgettext", so it can be a program name with args.
6876
set dummy xgettext; ac_word=$2
6877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6878
$as_echo_n "checking for $ac_word... " >&6; }
6879
if ${ac_cv_path_XGETTEXT+:} false; then :
6880
$as_echo_n "(cached) " >&6
6884
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6887
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6888
for ac_dir in $PATH; do
6889
test -z "$ac_dir" && ac_dir=.
6890
if test -f $ac_dir/$ac_word; then
6891
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6892
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6898
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6902
XGETTEXT="$ac_cv_path_XGETTEXT"
6903
if test "$XGETTEXT" != ":"; then
6904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6905
$as_echo "$XGETTEXT" >&6; }
6907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908
$as_echo "no" >&6; }
6911
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6912
/* end confdefs.h. */
6917
extern int _nl_msg_cat_cntr;
6918
return _nl_msg_cat_cntr
6923
if ac_fn_c_try_link "$LINENO"; then :
6929
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6930
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6945
rm -f core conftest.err conftest.$ac_objext \
6946
conftest$ac_exeext conftest.$ac_ext
6947
LIBS="$glib_save_LIBS"
6950
gt_cv_have_gettext=no
6958
if test "$gt_cv_have_gettext" = "yes" ; then
6960
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6964
if test "$XGETTEXT" != ":"; then
6965
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6969
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6974
# We need to process the po/ directory.
6977
ac_config_commands="$ac_config_commands default-1"
6980
for lang in $ALL_LINGUAS; do
6981
GMOFILES="$GMOFILES $lang.gmo"
6982
POFILES="$POFILES $lang.po"
6997
if test "$gt_cv_have_gettext" = "yes"; then
6998
if test "x$ALL_LINGUAS" = "x"; then
7001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
7002
$as_echo_n "checking for catalogs to be installed... " >&6; }
7004
for presentlang in $ALL_LINGUAS; do
7006
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7007
desiredlanguages="$LINGUAS"
7009
desiredlanguages="$ALL_LINGUAS"
7011
for desiredlang in $desiredlanguages; do
7012
# Use the presentlang catalog if desiredlang is
7013
# a. equal to presentlang, or
7014
# b. a variant of presentlang (because in this case,
7015
# presentlang can be used as a fallback for messages
7016
# which are not translated in the desiredlang catalog).
7017
case "$desiredlang" in
7018
"$presentlang"*) useit=yes;;
7021
if test $useit = yes; then
7022
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7025
LINGUAS=$NEW_LINGUAS
7026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
7027
$as_echo "$LINGUAS" >&6; }
7030
if test -n "$LINGUAS"; then
7031
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7036
if test -n "$ac_aux_dir"; then
7037
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
7039
if test -z "$MKINSTALLDIRS"; then
7040
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7044
test -d po || mkdir po
7045
if test "x$srcdir" != "x."; then
7046
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7047
posrcprefix="$srcdir/"
7049
posrcprefix="../$srcdir/"
7055
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7056
< $srcdir/po/POTFILES.in > po/POTFILES
7065
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7066
if test -n "$ac_tool_prefix"; then
7067
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7068
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070
$as_echo_n "checking for $ac_word... " >&6; }
7071
if ${ac_cv_path_PKG_CONFIG+:} false; then :
7072
$as_echo_n "(cached) " >&6
7076
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7079
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083
test -z "$as_dir" && as_dir=.
7084
for ac_exec_ext in '' $ac_executable_extensions; do
7085
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7086
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7087
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7098
if test -n "$PKG_CONFIG"; then
7099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7100
$as_echo "$PKG_CONFIG" >&6; }
7102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7103
$as_echo "no" >&6; }
7108
if test -z "$ac_cv_path_PKG_CONFIG"; then
7109
ac_pt_PKG_CONFIG=$PKG_CONFIG
7110
# Extract the first word of "pkg-config", so it can be a program name with args.
7111
set dummy pkg-config; ac_word=$2
7112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7113
$as_echo_n "checking for $ac_word... " >&6; }
7114
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7115
$as_echo_n "(cached) " >&6
7117
case $ac_pt_PKG_CONFIG in
7119
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126
test -z "$as_dir" && as_dir=.
7127
for ac_exec_ext in '' $ac_executable_extensions; do
7128
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7129
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7130
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7140
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7141
if test -n "$ac_pt_PKG_CONFIG"; then
7142
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7143
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
7145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146
$as_echo "no" >&6; }
7149
if test "x$ac_pt_PKG_CONFIG" = x; then
7152
case $cross_compiling:$ac_tool_warned in
7154
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7155
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7156
ac_tool_warned=yes ;;
7158
PKG_CONFIG=$ac_pt_PKG_CONFIG
7161
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7165
if test -n "$PKG_CONFIG"; then
7166
_pkg_min_version=0.9.0
7167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7168
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7169
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7171
$as_echo "yes" >&6; }
7173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174
$as_echo "no" >&6; }
7180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
7181
$as_echo_n "checking for GLIB... " >&6; }
7183
if test -n "$GLIB_CFLAGS"; then
7184
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
7185
elif test -n "$PKG_CONFIG"; then
7186
if test -n "$PKG_CONFIG" && \
7187
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
7188
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
7190
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7191
test $ac_status = 0; }; then
7192
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
7199
if test -n "$GLIB_LIBS"; then
7200
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
7201
elif test -n "$PKG_CONFIG"; then
7202
if test -n "$PKG_CONFIG" && \
7203
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
7204
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
7206
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7207
test $ac_status = 0; }; then
7208
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
7218
if test $pkg_failed = yes; then
7219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220
$as_echo "no" >&6; }
7222
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7223
_pkg_short_errors_supported=yes
7225
_pkg_short_errors_supported=no
7227
if test $_pkg_short_errors_supported = yes; then
7228
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
7230
GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
7232
# Put the nasty error message in config.log where it belongs
7233
echo "$GLIB_PKG_ERRORS" >&5
7235
as_fn_error $? "Package requirements (glib-2.0) were not met:
7239
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7240
installed software in a non-standard prefix.
7242
Alternatively, you may set the environment variables GLIB_CFLAGS
7243
and GLIB_LIBS to avoid the need to call pkg-config.
7244
See the pkg-config man page for more details." "$LINENO" 5
7246
elif test $pkg_failed = untried; then
7247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7248
$as_echo "no" >&6; }
7249
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7250
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7251
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
7252
is in your PATH or set the PKG_CONFIG environment variable to the full
7255
Alternatively, you may set the environment variables GLIB_CFLAGS
7256
and GLIB_LIBS to avoid the need to call pkg-config.
7257
See the pkg-config man page for more details.
7259
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7260
See \`config.log' for more details" "$LINENO" 5; }
7263
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
7264
GLIB_LIBS=$pkg_cv_GLIB_LIBS
7265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7266
$as_echo "yes" >&6; }
7273
# Check whether --with-gconf was given.
7274
if test "${with_gconf+set}" = set; then :
7275
withval=$with_gconf;
7280
if test "x$with_gconf" != xyes; then :
7283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2_26" >&5
7284
$as_echo_n "checking for GLIB2_26... " >&6; }
7286
if test -n "$GLIB2_26_CFLAGS"; then
7287
pkg_cv_GLIB2_26_CFLAGS="$GLIB2_26_CFLAGS"
7288
elif test -n "$PKG_CONFIG"; then
7289
if test -n "$PKG_CONFIG" && \
7290
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.0\""; } >&5
7291
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.0") 2>&5
7293
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7294
test $ac_status = 0; }; then
7295
pkg_cv_GLIB2_26_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.26.0" 2>/dev/null`
7302
if test -n "$GLIB2_26_LIBS"; then
7303
pkg_cv_GLIB2_26_LIBS="$GLIB2_26_LIBS"
7304
elif test -n "$PKG_CONFIG"; then
7305
if test -n "$PKG_CONFIG" && \
7306
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.0\""; } >&5
7307
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.0") 2>&5
7309
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7310
test $ac_status = 0; }; then
7311
pkg_cv_GLIB2_26_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.26.0" 2>/dev/null`
7321
if test $pkg_failed = yes; then
7322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323
$as_echo "no" >&6; }
7325
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7326
_pkg_short_errors_supported=yes
7328
_pkg_short_errors_supported=no
7330
if test $_pkg_short_errors_supported = yes; then
7331
GLIB2_26_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.26.0" 2>&1`
7333
GLIB2_26_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.26.0" 2>&1`
7335
# Put the nasty error message in config.log where it belongs
7336
echo "$GLIB2_26_PKG_ERRORS" >&5
7338
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using GLIB < 2.26 specific features" >&5
7339
$as_echo "$as_me: Using GLIB < 2.26 specific features" >&6;}
7340
elif test $pkg_failed = untried; then
7341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342
$as_echo "no" >&6; }
7343
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using GLIB < 2.26 specific features" >&5
7344
$as_echo "$as_me: Using GLIB < 2.26 specific features" >&6;}
7346
GLIB2_26_CFLAGS=$pkg_cv_GLIB2_26_CFLAGS
7347
GLIB2_26_LIBS=$pkg_cv_GLIB2_26_LIBS
7348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7349
$as_echo "yes" >&6; }
7350
with_gconf=no with_gsettings=yes with_gio=yes GLIB2_26_DEFINES="-DGLIB2_26_ENABLED"
7351
$as_echo "#define GLIB2_26_ENABLED 1" >>confdefs.h
7363
# Check whether --with-xulrunner-sdk was given.
7364
if test "${with_xulrunner_sdk+set}" = set; then :
7365
withval=$with_xulrunner_sdk;
7366
XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk
7367
GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/plugin -I$XULRUNNER_SDK_PREFIX/include/nspr -I$XULRUNNER_SDK_PREFIX/include/xpcom -I$XULRUNNER_SDK_PREFIX/include/string -I$XULRUNNER_SDK_PREFIX/include/java"
7368
GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
7369
# Check whether --enable-new-libxul was given.
7370
if test "${enable_new_libxul+set}" = set; then :
7371
enableval=$enable_new_libxul; usenewlibxul=$enableval
7377
if test "$usenewlibxul" = "yes"; then
7378
GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
7380
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7388
if test "$GECKO_CFLAGS" = ""; then
7391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7392
$as_echo_n "checking for GECKO... " >&6; }
7394
if test -n "$GECKO_CFLAGS"; then
7395
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7396
elif test -n "$PKG_CONFIG"; then
7397
if test -n "$PKG_CONFIG" && \
7398
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 2\""; } >&5
7399
($PKG_CONFIG --exists --print-errors "libxul >= 2") 2>&5
7401
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7402
test $ac_status = 0; }; then
7403
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 2" 2>/dev/null`
7410
if test -n "$GECKO_LIBS"; then
7411
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7412
elif test -n "$PKG_CONFIG"; then
7413
if test -n "$PKG_CONFIG" && \
7414
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 2\""; } >&5
7415
($PKG_CONFIG --exists --print-errors "libxul >= 2") 2>&5
7417
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7418
test $ac_status = 0; }; then
7419
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 2" 2>/dev/null`
7429
if test $pkg_failed = yes; then
7430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431
$as_echo "no" >&6; }
7433
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7434
_pkg_short_errors_supported=yes
7436
_pkg_short_errors_supported=no
7438
if test $_pkg_short_errors_supported = yes; then
7439
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 2" 2>&1`
7441
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 2" 2>&1`
7443
# Put the nasty error message in config.log where it belongs
7444
echo "$GECKO_PKG_ERRORS" >&5
7446
{ $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 2 not found, trying another" >&5
7447
$as_echo "$as_me: libxul >= 2 not found, trying another" >&6;}
7448
elif test $pkg_failed = untried; then
7449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450
$as_echo "no" >&6; }
7451
{ $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 2 not found, trying another" >&5
7452
$as_echo "$as_me: libxul >= 2 not found, trying another" >&6;}
7454
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7455
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7457
$as_echo "yes" >&6; }
7458
GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
7459
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7460
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 2.0 " >&5
7461
$as_echo "$as_me: Using libxul >= 2.0 " >&6;}
7466
if test "$GECKO_CFLAGS" = ""; then
7469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7470
$as_echo_n "checking for GECKO... " >&6; }
7472
if test -n "$GECKO_CFLAGS"; then
7473
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7474
elif test -n "$PKG_CONFIG"; then
7475
if test -n "$PKG_CONFIG" && \
7476
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5
7477
($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5
7479
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7480
test $ac_status = 0; }; then
7481
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 1.9.2" 2>/dev/null`
7488
if test -n "$GECKO_LIBS"; then
7489
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7490
elif test -n "$PKG_CONFIG"; then
7491
if test -n "$PKG_CONFIG" && \
7492
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5
7493
($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5
7495
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7496
test $ac_status = 0; }; then
7497
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 1.9.2" 2>/dev/null`
7507
if test $pkg_failed = yes; then
7508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7509
$as_echo "no" >&6; }
7511
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7512
_pkg_short_errors_supported=yes
7514
_pkg_short_errors_supported=no
7516
if test $_pkg_short_errors_supported = yes; then
7517
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 1.9.2" 2>&1`
7519
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 1.9.2" 2>&1`
7521
# Put the nasty error message in config.log where it belongs
7522
echo "$GECKO_PKG_ERRORS" >&5
7524
{ $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5
7525
$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;}
7526
elif test $pkg_failed = untried; then
7527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7528
$as_echo "no" >&6; }
7529
{ $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5
7530
$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;}
7532
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7533
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7534
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7535
$as_echo "yes" >&6; }
7537
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7538
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 1.9.2" >&5
7539
$as_echo "$as_me: Using libxul >= 1.9.2" >&6;}
7544
if test "$GECKO_CFLAGS" = ""; then
7547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7548
$as_echo_n "checking for GECKO... " >&6; }
7550
if test -n "$GECKO_CFLAGS"; then
7551
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7552
elif test -n "$PKG_CONFIG"; then
7553
if test -n "$PKG_CONFIG" && \
7554
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5
7555
($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5
7557
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7558
test $ac_status = 0; }; then
7559
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul < 1.9.2" 2>/dev/null`
7566
if test -n "$GECKO_LIBS"; then
7567
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7568
elif test -n "$PKG_CONFIG"; then
7569
if test -n "$PKG_CONFIG" && \
7570
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5
7571
($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5
7573
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7574
test $ac_status = 0; }; then
7575
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul < 1.9.2" 2>/dev/null`
7585
if test $pkg_failed = yes; then
7586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7587
$as_echo "no" >&6; }
7589
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7590
_pkg_short_errors_supported=yes
7592
_pkg_short_errors_supported=no
7594
if test $_pkg_short_errors_supported = yes; then
7595
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul < 1.9.2" 2>&1`
7597
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul < 1.9.2" 2>&1`
7599
# Put the nasty error message in config.log where it belongs
7600
echo "$GECKO_PKG_ERRORS" >&5
7602
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5
7603
$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;}
7604
elif test $pkg_failed = untried; then
7605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606
$as_echo "no" >&6; }
7607
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5
7608
$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;}
7610
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7611
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7613
$as_echo "yes" >&6; }
7614
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul < 1.9.2" >&5
7615
$as_echo "$as_me: Using libxul < 1.9.2" >&6;}
7620
if test "$GECKO_CFLAGS" = ""; then
7623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7624
$as_echo_n "checking for GECKO... " >&6; }
7626
if test -n "$GECKO_CFLAGS"; then
7627
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7628
elif test -n "$PKG_CONFIG"; then
7629
if test -n "$PKG_CONFIG" && \
7630
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5
7631
($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5
7633
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7634
test $ac_status = 0; }; then
7635
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul-unstable" 2>/dev/null`
7642
if test -n "$GECKO_LIBS"; then
7643
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7644
elif test -n "$PKG_CONFIG"; then
7645
if test -n "$PKG_CONFIG" && \
7646
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5
7647
($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5
7649
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7650
test $ac_status = 0; }; then
7651
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul-unstable" 2>/dev/null`
7661
if test $pkg_failed = yes; then
7662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7663
$as_echo "no" >&6; }
7665
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7666
_pkg_short_errors_supported=yes
7668
_pkg_short_errors_supported=no
7670
if test $_pkg_short_errors_supported = yes; then
7671
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul-unstable" 2>&1`
7673
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul-unstable" 2>&1`
7675
# Put the nasty error message in config.log where it belongs
7676
echo "$GECKO_PKG_ERRORS" >&5
7678
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5
7679
$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;}
7680
elif test $pkg_failed = untried; then
7681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7682
$as_echo "no" >&6; }
7683
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5
7684
$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;}
7686
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7687
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7689
$as_echo "yes" >&6; }
7690
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul-unstable" >&5
7691
$as_echo "$as_me: Using libxul-unstable" >&6;}
7696
if test "$GECKO_CFLAGS" = ""; then
7699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7700
$as_echo_n "checking for GECKO... " >&6; }
7702
if test -n "$GECKO_CFLAGS"; then
7703
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7704
elif test -n "$PKG_CONFIG"; then
7705
if test -n "$PKG_CONFIG" && \
7706
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5
7707
($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
7709
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7710
test $ac_status = 0; }; then
7711
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin mozilla-xpcom" 2>/dev/null`
7718
if test -n "$GECKO_LIBS"; then
7719
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7720
elif test -n "$PKG_CONFIG"; then
7721
if test -n "$PKG_CONFIG" && \
7722
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5
7723
($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
7725
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7726
test $ac_status = 0; }; then
7727
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin mozilla-xpcom" 2>/dev/null`
7737
if test $pkg_failed = yes; then
7738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739
$as_echo "no" >&6; }
7741
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7742
_pkg_short_errors_supported=yes
7744
_pkg_short_errors_supported=no
7746
if test $_pkg_short_errors_supported = yes; then
7747
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
7749
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
7751
# Put the nasty error message in config.log where it belongs
7752
echo "$GECKO_PKG_ERRORS" >&5
7754
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5
7755
$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
7756
elif test $pkg_failed = untried; then
7757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7758
$as_echo "no" >&6; }
7759
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5
7760
$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
7762
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7763
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7765
$as_echo "yes" >&6; }
7766
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using mozilla" >&5
7767
$as_echo "$as_me: Using mozilla" >&6;}
7772
if test "$GECKO_CFLAGS" = ""; then
7775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7776
$as_echo_n "checking for GECKO... " >&6; }
7778
if test -n "$GECKO_CFLAGS"; then
7779
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7780
elif test -n "$PKG_CONFIG"; then
7781
if test -n "$PKG_CONFIG" && \
7782
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5
7783
($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
7785
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7786
test $ac_status = 0; }; then
7787
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom" 2>/dev/null`
7794
if test -n "$GECKO_LIBS"; then
7795
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7796
elif test -n "$PKG_CONFIG"; then
7797
if test -n "$PKG_CONFIG" && \
7798
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5
7799
($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
7801
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7802
test $ac_status = 0; }; then
7803
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom" 2>/dev/null`
7813
if test $pkg_failed = yes; then
7814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7815
$as_echo "no" >&6; }
7817
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7818
_pkg_short_errors_supported=yes
7820
_pkg_short_errors_supported=no
7822
if test $_pkg_short_errors_supported = yes; then
7823
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "firefox-plugin firefox-xpcom" 2>&1`
7825
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "firefox-plugin firefox-xpcom" 2>&1`
7827
# Put the nasty error message in config.log where it belongs
7828
echo "$GECKO_PKG_ERRORS" >&5
7830
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5
7831
$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
7832
elif test $pkg_failed = untried; then
7833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7834
$as_echo "no" >&6; }
7835
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5
7836
$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
7838
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7839
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7841
$as_echo "yes" >&6; }
7842
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using firefox" >&5
7843
$as_echo "$as_me: Using firefox" >&6;}
7848
if test "$GECKO_CFLAGS" = ""; then
7851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7852
$as_echo_n "checking for GECKO... " >&6; }
7854
if test -n "$GECKO_CFLAGS"; then
7855
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7856
elif test -n "$PKG_CONFIG"; then
7857
if test -n "$PKG_CONFIG" && \
7858
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5
7859
($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
7861
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7862
test $ac_status = 0; }; then
7863
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
7870
if test -n "$GECKO_LIBS"; then
7871
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7872
elif test -n "$PKG_CONFIG"; then
7873
if test -n "$PKG_CONFIG" && \
7874
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5
7875
($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
7877
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7878
test $ac_status = 0; }; then
7879
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
7889
if test $pkg_failed = yes; then
7890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891
$as_echo "no" >&6; }
7893
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7894
_pkg_short_errors_supported=yes
7896
_pkg_short_errors_supported=no
7898
if test $_pkg_short_errors_supported = yes; then
7899
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
7901
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
7903
# Put the nasty error message in config.log where it belongs
7904
echo "$GECKO_PKG_ERRORS" >&5
7906
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5
7907
$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
7908
elif test $pkg_failed = untried; then
7909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7910
$as_echo "no" >&6; }
7911
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5
7912
$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
7914
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7915
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7917
$as_echo "yes" >&6; }
7918
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using seamonkey" >&5
7919
$as_echo "$as_me: Using seamonkey" >&6;}
7924
if test "$GECKO_CFLAGS" = ""; then
7927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7928
$as_echo_n "checking for GECKO... " >&6; }
7930
if test -n "$GECKO_CFLAGS"; then
7931
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7932
elif test -n "$PKG_CONFIG"; then
7933
if test -n "$PKG_CONFIG" && \
7934
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5
7935
($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
7937
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7938
test $ac_status = 0; }; then
7939
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom" 2>/dev/null`
7946
if test -n "$GECKO_LIBS"; then
7947
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7948
elif test -n "$PKG_CONFIG"; then
7949
if test -n "$PKG_CONFIG" && \
7950
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5
7951
($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
7953
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7954
test $ac_status = 0; }; then
7955
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom" 2>/dev/null`
7965
if test $pkg_failed = yes; then
7966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967
$as_echo "no" >&6; }
7969
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7970
_pkg_short_errors_supported=yes
7972
_pkg_short_errors_supported=no
7974
if test $_pkg_short_errors_supported = yes; then
7975
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1`
7977
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1`
7979
# Put the nasty error message in config.log where it belongs
7980
echo "$GECKO_PKG_ERRORS" >&5
7982
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5
7983
$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;}
7984
elif test $pkg_failed = untried; then
7985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986
$as_echo "no" >&6; }
7987
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5
7988
$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;}
7990
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7991
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7993
$as_echo "yes" >&6; }
7994
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using xulrunner" >&5
7995
$as_echo "$as_me: Using xulrunner" >&6;}
8000
if test "$GECKO_CFLAGS" = ""; then
8003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
8004
$as_echo_n "checking for GECKO... " >&6; }
8006
if test -n "$GECKO_CFLAGS"; then
8007
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
8008
elif test -n "$PKG_CONFIG"; then
8009
if test -n "$PKG_CONFIG" && \
8010
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5
8011
($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5
8013
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8014
test $ac_status = 0; }; then
8015
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom" 2>/dev/null`
8022
if test -n "$GECKO_LIBS"; then
8023
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
8024
elif test -n "$PKG_CONFIG"; then
8025
if test -n "$PKG_CONFIG" && \
8026
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5
8027
($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5
8029
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8030
test $ac_status = 0; }; then
8031
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom" 2>/dev/null`
8041
if test $pkg_failed = yes; then
8042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043
$as_echo "no" >&6; }
8045
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8046
_pkg_short_errors_supported=yes
8048
_pkg_short_errors_supported=no
8050
if test $_pkg_short_errors_supported = yes; then
8051
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "iceape-plugin iceape-xpcom" 2>&1`
8053
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "iceape-plugin iceape-xpcom" 2>&1`
8055
# Put the nasty error message in config.log where it belongs
8056
echo "$GECKO_PKG_ERRORS" >&5
8058
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5
8059
$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;}
8060
elif test $pkg_failed = untried; then
8061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062
$as_echo "no" >&6; }
8063
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5
8064
$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;}
8066
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
8067
GECKO_LIBS=$pkg_cv_GECKO_LIBS
8068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8069
$as_echo "yes" >&6; }
8070
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using iceape" >&5
8071
$as_echo "$as_me: Using iceape" >&6;}
8078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5
8079
$as_echo_n "checking for NSPR... " >&6; }
8081
if test -n "$NSPR_CFLAGS"; then
8082
pkg_cv_NSPR_CFLAGS="$NSPR_CFLAGS"
8083
elif test -n "$PKG_CONFIG"; then
8084
if test -n "$PKG_CONFIG" && \
8085
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr\""; } >&5
8086
($PKG_CONFIG --exists --print-errors "nspr") 2>&5
8088
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8089
test $ac_status = 0; }; then
8090
pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr" 2>/dev/null`
8097
if test -n "$NSPR_LIBS"; then
8098
pkg_cv_NSPR_LIBS="$NSPR_LIBS"
8099
elif test -n "$PKG_CONFIG"; then
8100
if test -n "$PKG_CONFIG" && \
8101
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr\""; } >&5
8102
($PKG_CONFIG --exists --print-errors "nspr") 2>&5
8104
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8105
test $ac_status = 0; }; then
8106
pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "nspr" 2>/dev/null`
8116
if test $pkg_failed = yes; then
8117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118
$as_echo "no" >&6; }
8120
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8121
_pkg_short_errors_supported=yes
8123
_pkg_short_errors_supported=no
8125
if test $_pkg_short_errors_supported = yes; then
8126
NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nspr" 2>&1`
8128
NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors "nspr" 2>&1`
8130
# Put the nasty error message in config.log where it belongs
8131
echo "$NSPR_PKG_ERRORS" >&5
8133
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5
8134
$as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;}
8135
elif test $pkg_failed = untried; then
8136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137
$as_echo "no" >&6; }
8138
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5
8139
$as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;}
8141
NSPR_CFLAGS=$pkg_cv_NSPR_CFLAGS
8142
NSPR_LIBS=$pkg_cv_NSPR_LIBS
8143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8144
$as_echo "yes" >&6; }
8146
libdir=`$PKG_CONFIG --variable=libdir nspr`
8157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
8158
$as_echo_n "checking for DBUS... " >&6; }
8160
if test -n "$DBUS_CFLAGS"; then
8161
pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
8162
elif test -n "$PKG_CONFIG"; then
8163
if test -n "$PKG_CONFIG" && \
8164
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.95 dbus-glib-1 >= 0.70\""; } >&5
8165
($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70") 2>&5
8167
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8168
test $ac_status = 0; }; then
8169
pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null`
8176
if test -n "$DBUS_LIBS"; then
8177
pkg_cv_DBUS_LIBS="$DBUS_LIBS"
8178
elif test -n "$PKG_CONFIG"; then
8179
if test -n "$PKG_CONFIG" && \
8180
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.95 dbus-glib-1 >= 0.70\""; } >&5
8181
($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70") 2>&5
8183
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8184
test $ac_status = 0; }; then
8185
pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null`
8195
if test $pkg_failed = yes; then
8196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8197
$as_echo "no" >&6; }
8199
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8200
_pkg_short_errors_supported=yes
8202
_pkg_short_errors_supported=no
8204
if test $_pkg_short_errors_supported = yes; then
8205
DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
8207
DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
8209
# Put the nasty error message in config.log where it belongs
8210
echo "$DBUS_PKG_ERRORS" >&5
8212
as_fn_error $? "Package requirements (dbus-1 >= 0.95 dbus-glib-1 >= 0.70) were not met:
8216
Consider adjusting the PKG_CONFIG_PATH environment variable if you
8217
installed software in a non-standard prefix.
8219
Alternatively, you may set the environment variables DBUS_CFLAGS
8220
and DBUS_LIBS to avoid the need to call pkg-config.
8221
See the pkg-config man page for more details." "$LINENO" 5
8223
elif test $pkg_failed = untried; then
8224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8225
$as_echo "no" >&6; }
8226
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8227
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8228
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
8229
is in your PATH or set the PKG_CONFIG environment variable to the full
8232
Alternatively, you may set the environment variables DBUS_CFLAGS
8233
and DBUS_LIBS to avoid the need to call pkg-config.
8234
See the pkg-config man page for more details.
8236
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8237
See \`config.log' for more details" "$LINENO" 5; }
8240
DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
8241
DBUS_LIBS=$pkg_cv_DBUS_LIBS
8242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8243
$as_echo "yes" >&6; }
8251
# Check whether --with-gconf was given.
8252
if test "${with_gconf+set}" = set; then :
8253
withval=$with_gconf; if false; then
8254
GCONF_SCHEMAS_INSTALL_TRUE=
8255
GCONF_SCHEMAS_INSTALL_FALSE='#'
8257
GCONF_SCHEMAS_INSTALL_TRUE='#'
8258
GCONF_SCHEMAS_INSTALL_FALSE=
8265
if test "x$with_gconf" != xno; then :
8268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
8269
$as_echo_n "checking for GCONF... " >&6; }
8271
if test -n "$GCONF_CFLAGS"; then
8272
pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
8273
elif test -n "$PKG_CONFIG"; then
8274
if test -n "$PKG_CONFIG" && \
8275
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
8276
($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
8278
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8279
test $ac_status = 0; }; then
8280
pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
8287
if test -n "$GCONF_LIBS"; then
8288
pkg_cv_GCONF_LIBS="$GCONF_LIBS"
8289
elif test -n "$PKG_CONFIG"; then
8290
if test -n "$PKG_CONFIG" && \
8291
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
8292
($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
8294
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8295
test $ac_status = 0; }; then
8296
pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
8306
if test $pkg_failed = yes; then
8307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8308
$as_echo "no" >&6; }
8310
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8311
_pkg_short_errors_supported=yes
8313
_pkg_short_errors_supported=no
8315
if test $_pkg_short_errors_supported = yes; then
8316
GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1`
8318
GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1`
8320
# Put the nasty error message in config.log where it belongs
8321
echo "$GCONF_PKG_ERRORS" >&5
8324
GCONF_SCHEMAS_INSTALL_TRUE=
8325
GCONF_SCHEMAS_INSTALL_FALSE='#'
8327
GCONF_SCHEMAS_INSTALL_TRUE='#'
8328
GCONF_SCHEMAS_INSTALL_FALSE=
8330
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using keystore for preferences" >&5
8331
$as_echo "$as_me: Using keystore for preferences" >&6;}
8332
elif test $pkg_failed = untried; then
8333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8334
$as_echo "no" >&6; }
8336
GCONF_SCHEMAS_INSTALL_TRUE=
8337
GCONF_SCHEMAS_INSTALL_FALSE='#'
8339
GCONF_SCHEMAS_INSTALL_TRUE='#'
8340
GCONF_SCHEMAS_INSTALL_FALSE=
8342
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using keystore for preferences" >&5
8343
$as_echo "$as_me: Using keystore for preferences" >&6;}
8345
GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
8346
GCONF_LIBS=$pkg_cv_GCONF_LIBS
8347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8348
$as_echo "yes" >&6; }
8350
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
8351
GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
8353
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
8357
# Check whether --with-gconf-source was given.
8358
if test "${with_gconf_source+set}" = set; then :
8359
withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
8364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
8365
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
8367
if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
8368
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
8372
# Check whether --with-gconf-schema-file-dir was given.
8373
if test "${with_gconf_schema_file_dir+set}" = set; then :
8374
withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
8379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
8380
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
8382
# Check whether --enable-schemas-install was given.
8383
if test "${enable_schemas_install+set}" = set; then :
8384
enableval=$enable_schemas_install; case ${enableval} in
8386
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
8390
if test "$enable_schemas_install" != no; then
8391
GCONF_SCHEMAS_INSTALL_TRUE=
8392
GCONF_SCHEMAS_INSTALL_FALSE='#'
8394
GCONF_SCHEMAS_INSTALL_TRUE='#'
8395
GCONF_SCHEMAS_INSTALL_FALSE=
8399
GCONF_DEFINES="-DHAVE_GCONF"
8400
$as_echo "#define HAVE_GCONF 1" >>confdefs.h
8411
# Check whether --with-gio was given.
8412
if test "${with_gio+set}" = set; then :
8418
if test "x$with_gio" != xno; then :
8421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
8422
$as_echo_n "checking for GIO... " >&6; }
8424
if test -n "$GIO_CFLAGS"; then
8425
pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
8426
elif test -n "$PKG_CONFIG"; then
8427
if test -n "$PKG_CONFIG" && \
8428
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
8429
($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
8431
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8432
test $ac_status = 0; }; then
8433
pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
8440
if test -n "$GIO_LIBS"; then
8441
pkg_cv_GIO_LIBS="$GIO_LIBS"
8442
elif test -n "$PKG_CONFIG"; then
8443
if test -n "$PKG_CONFIG" && \
8444
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
8445
($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
8447
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8448
test $ac_status = 0; }; then
8449
pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
8459
if test $pkg_failed = yes; then
8460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8461
$as_echo "no" >&6; }
8463
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8464
_pkg_short_errors_supported=yes
8466
_pkg_short_errors_supported=no
8468
if test $_pkg_short_errors_supported = yes; then
8469
GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0" 2>&1`
8471
GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0" 2>&1`
8473
# Put the nasty error message in config.log where it belongs
8474
echo "$GIO_PKG_ERRORS" >&5
8476
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5
8477
$as_echo "$as_me: WARNING: Compiling without gio support" >&2;}
8478
elif test $pkg_failed = untried; then
8479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8480
$as_echo "no" >&6; }
8481
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5
8482
$as_echo "$as_me: WARNING: Compiling without gio support" >&2;}
8484
GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
8485
GIO_LIBS=$pkg_cv_GIO_LIBS
8486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8487
$as_echo "yes" >&6; }
8488
GIO_DEFINES="-DGIO_ENABLED"
8489
$as_echo "#define GIO_ENABLED 1" >>confdefs.h
8499
# Check whether --with-plugin_dir was given.
8500
if test "${with_plugin_dir+set}" = set; then :
8501
withval=$with_plugin_dir; plugindir=$withval
8503
plugindir='$(libdir)/mozilla/plugins'
8508
# Check whether --enable-caching was given.
8509
if test "${enable_caching+set}" = set; then :
8510
enableval=$enable_caching; usecache=$enableval
8516
if test $usecache != yes; then
8517
GECKO_CFLAGS="$GECKO_CFLAGS -DDISABLE_CACHE"
8521
# Check whether --with-libcurl was given.
8522
if test "${with_libcurl+set}" = set; then :
8523
withval=$with_libcurl;
8528
if test "x$with_libcurl" != xno; then :
8531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
8532
$as_echo_n "checking for CURL... " >&6; }
8534
if test -n "$CURL_CFLAGS"; then
8535
pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
8536
elif test -n "$PKG_CONFIG"; then
8537
if test -n "$PKG_CONFIG" && \
8538
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
8539
($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
8541
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8542
test $ac_status = 0; }; then
8543
pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
8550
if test -n "$CURL_LIBS"; then
8551
pkg_cv_CURL_LIBS="$CURL_LIBS"
8552
elif test -n "$PKG_CONFIG"; then
8553
if test -n "$PKG_CONFIG" && \
8554
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
8555
($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
8557
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8558
test $ac_status = 0; }; then
8559
pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
8569
if test $pkg_failed = yes; then
8570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8571
$as_echo "no" >&6; }
8573
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8574
_pkg_short_errors_supported=yes
8576
_pkg_short_errors_supported=no
8578
if test $_pkg_short_errors_supported = yes; then
8579
CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl" 2>&1`
8581
CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl" 2>&1`
8583
# Put the nasty error message in config.log where it belongs
8584
echo "$CURL_PKG_ERRORS" >&5
8586
{ $as_echo "$as_me:${as_lineno-$LINENO}: Compiling without curl support. May disable apple.com sites" >&5
8587
$as_echo "$as_me: Compiling without curl support. May disable apple.com sites" >&6;}
8588
elif test $pkg_failed = untried; then
8589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8590
$as_echo "no" >&6; }
8591
{ $as_echo "$as_me:${as_lineno-$LINENO}: Compiling without curl support. May disable apple.com sites" >&5
8592
$as_echo "$as_me: Compiling without curl support. May disable apple.com sites" >&6;}
8594
CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
8595
CURL_LIBS=$pkg_cv_CURL_LIBS
8596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8597
$as_echo "yes" >&6; }
8598
CURL_DEFINES="-DHAVE_CURL"
8599
$as_echo "#define CURL_ENABLED 1" >>confdefs.h
8609
ac_config_files="$ac_config_files Makefile gecko-mediaplayer.spec src/Makefile src/libgmlib/Makefile po/Makefile.in"
8611
cat >confcache <<\_ACEOF
8612
# This file is a shell script that caches the results of configure
8613
# tests run on this system so they can be shared between configure
8614
# scripts and configure runs, see configure's option --config-cache.
8615
# It is not useful on other systems. If it contains results you don't
8616
# want to keep, you may remove or edit it.
8618
# config.status only pays attention to the cache file if you give it
8619
# the --recheck option to rerun configure.
8621
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8622
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8627
# The following way of writing the cache mishandles newlines in values,
8628
# but we know of no workaround that is simple, portable, and efficient.
8629
# So, we kill variables containing newlines.
8630
# Ultrix sh set writes to stderr and can't be redirected directly,
8631
# and sets the high bit in the cache file unless we assign to the vars.
8633
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8634
eval ac_val=\$$ac_var
8638
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8639
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8642
_ | IFS | as_nl) ;; #(
8643
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8644
*) { eval $ac_var=; unset $ac_var;} ;;
8650
case $as_nl`(ac_space=' '; set) 2>&1` in #(
8651
*${as_nl}ac_space=\ *)
8652
# `set' does not quote correctly, so add quotes: double-quote
8653
# substitution turns \\\\ into \\, and sed turns \\ into \.
8656
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8659
# `set' quotes correctly as required by POSIX, so do not add quotes.
8660
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8669
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8671
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8673
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8674
if test -w "$cache_file"; then
8675
if test "x$cache_file" != "x/dev/null"; then
8676
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8677
$as_echo "$as_me: updating cache $cache_file" >&6;}
8678
if test ! -f "$cache_file" || test -h "$cache_file"; then
8679
cat confcache >"$cache_file"
8681
case $cache_file in #(
8683
mv -f confcache "$cache_file"$$ &&
8684
mv -f "$cache_file"$$ "$cache_file" ;; #(
8686
mv -f confcache "$cache_file" ;;
8691
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8692
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8697
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8698
# Let make expand exec_prefix.
8699
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8701
DEFS=-DHAVE_CONFIG_H
8706
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8707
# 1. Remove the extension, and $U if already installed.
8708
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8709
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8710
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8711
# will be set to the directory where LIBOBJS objects are built.
8712
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8713
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8717
LTLIBOBJS=$ac_ltlibobjs
8720
if test -n "$EXEEXT"; then
8722
am__EXEEXT_FALSE='#'
8728
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8729
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8730
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8732
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8733
as_fn_error $? "conditional \"AMDEP\" was never defined.
8734
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8736
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8737
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8738
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8740
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8741
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8742
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8744
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8745
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8746
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8748
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8749
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
8750
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8752
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8753
as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8754
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8756
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8757
as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8758
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8760
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8761
as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8762
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8764
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8765
as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8766
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8769
: "${CONFIG_STATUS=./config.status}"
8771
ac_clean_files_save=$ac_clean_files
8772
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8773
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8774
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8776
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8778
# Generated by $as_me.
8779
# Run this file to recreate the current configuration.
8780
# Compiler output produced by configure, useful for debugging
8781
# configure, is in config.log if it exists.
8787
SHELL=\${CONFIG_SHELL-$SHELL}
8790
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8791
## -------------------- ##
8792
## M4sh Initialization. ##
8793
## -------------------- ##
8795
# Be more Bourne compatible
8796
DUALCASE=1; export DUALCASE # for MKS sh
8797
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8800
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8801
# is contrary to our usage. Disable this feature.
8802
alias -g '${1+"$@"}'='"$@"'
8803
setopt NO_GLOB_SUBST
8805
case `(set -o) 2>/dev/null` in #(
8817
# Printing a long string crashes Solaris 7 /usr/bin/printf.
8818
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8819
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8820
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8821
# Prefer a ksh shell builtin over an external printf program on Solaris,
8822
# but without wasting forks for bash or zsh.
8823
if test -z "$BASH_VERSION$ZSH_VERSION" \
8824
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8825
as_echo='print -r --'
8826
as_echo_n='print -rn --'
8827
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8828
as_echo='printf %s\n'
8829
as_echo_n='printf %s'
8831
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8832
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8833
as_echo_n='/usr/ucb/echo -n'
8835
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8836
as_echo_n_body='eval
8840
expr "X$arg" : "X\\(.*\\)$as_nl";
8841
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8843
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8845
export as_echo_n_body
8846
as_echo_n='sh -c $as_echo_n_body as_echo'
8849
as_echo='sh -c $as_echo_body as_echo'
8852
# The user is always right.
8853
if test "${PATH_SEPARATOR+set}" != set; then
8855
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8856
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8863
# We need space, tab and new line, in precisely that order. Quoting is
8864
# there to prevent editors from complaining about space-tab.
8865
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8866
# splitting by setting IFS to empty value.)
8869
# Find who we are. Look in the path if we contain no directory separator.
8872
*[\\/]* ) as_myself=$0 ;;
8873
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8877
test -z "$as_dir" && as_dir=.
8878
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8884
# We did not find ourselves, most probably we were run as `sh COMMAND'
8885
# in which case we are not to be found in the path.
8886
if test "x$as_myself" = x; then
8889
if test ! -f "$as_myself"; then
8890
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8894
# Unset variables that we do not need and which cause bugs (e.g. in
8895
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8896
# suppresses any "Segmentation fault" message there. '((' could
8897
# trigger a bug in pdksh 5.2.14.
8898
for as_var in BASH_ENV ENV MAIL MAILPATH
8899
do eval test x\${$as_var+set} = xset \
8900
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8913
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8916
# as_fn_error STATUS ERROR [LINENO LOG_FD]
8917
# ----------------------------------------
8918
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8919
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8920
# script with STATUS, using 1 if that was 0.
8923
as_status=$1; test $as_status -eq 0 && as_status=1
8925
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8926
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8928
$as_echo "$as_me: error: $2" >&2
8929
as_fn_exit $as_status
8933
# as_fn_set_status STATUS
8934
# -----------------------
8935
# Set $? to STATUS, without forking.
8939
} # as_fn_set_status
8943
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8953
# Portably unset VAR.
8956
{ eval $1=; unset $1;}
8958
as_unset=as_fn_unset
8959
# as_fn_append VAR VALUE
8960
# ----------------------
8961
# Append the text in VALUE to the end of the definition contained in VAR. Take
8962
# advantage of any shell optimizations that allow amortized linear growth over
8963
# repeated appends, instead of the typical quadratic growth present in naive
8965
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8966
eval 'as_fn_append ()
8977
# as_fn_arith ARG...
8978
# ------------------
8979
# Perform arithmetic evaluation on the ARGs, and store the result in the
8980
# global $as_val. Take advantage of shells that can avoid forks. The arguments
8981
# must be portable across $(()) and expr.
8982
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8983
eval 'as_fn_arith ()
8990
as_val=`expr "$@" || test $? -eq 1`
8995
if expr a : '\(a\)' >/dev/null 2>&1 &&
8996
test "X`expr 00001 : '.*\(...\)'`" = X001; then
9002
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9003
as_basename=basename
9008
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9014
as_me=`$as_basename -- "$0" ||
9015
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9016
X"$0" : 'X\(//\)$' \| \
9017
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9019
sed '/^.*\/\([^/][^/]*\)\/*$/{
9033
# Avoid depending upon Character Ranges.
9034
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9035
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9036
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9037
as_cr_digits='0123456789'
9038
as_cr_alnum=$as_cr_Letters$as_cr_digits
9040
ECHO_C= ECHO_N= ECHO_T=
9041
case `echo -n x` in #(((((
9043
case `echo 'xy\c'` in
9044
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
9046
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9053
rm -f conf$$ conf$$.exe conf$$.file
9054
if test -d conf$$.dir; then
9055
rm -f conf$$.dir/conf$$.file
9058
mkdir conf$$.dir 2>/dev/null
9060
if (echo >conf$$.file) 2>/dev/null; then
9061
if ln -s conf$$.file conf$$ 2>/dev/null; then
9063
# ... but there are two gotchas:
9064
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9065
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9066
# In both cases, we have to default to `cp -p'.
9067
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9069
elif ln conf$$.file conf$$ 2>/dev/null; then
9077
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9078
rmdir conf$$.dir 2>/dev/null
9083
# Create "$as_dir" as a directory, including parents if necessary.
9088
-*) as_dir=./$as_dir;;
9090
test -d "$as_dir" || eval $as_mkdir_p || {
9094
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9095
*) as_qdir=$as_dir;;
9097
as_dirs="'$as_qdir' $as_dirs"
9098
as_dir=`$as_dirname -- "$as_dir" ||
9099
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9100
X"$as_dir" : 'X\(//\)[^/]' \| \
9101
X"$as_dir" : 'X\(//\)$' \| \
9102
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9103
$as_echo X"$as_dir" |
9104
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9121
test -d "$as_dir" && break
9123
test -z "$as_dirs" || eval "mkdir $as_dirs"
9124
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9128
if mkdir -p . 2>/dev/null; then
9129
as_mkdir_p='mkdir -p "$as_dir"'
9131
test -d ./-p && rmdir ./-p
9135
if test -x / >/dev/null 2>&1; then
9138
if ls -dL / >/dev/null 2>&1; then
9145
if test -d "$1"; then
9151
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9152
???[sx]*):;;*)false;;esac;fi
9156
as_executable_p=$as_test_x
9158
# Sed expression to map a string onto a valid CPP name.
9159
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9161
# Sed expression to map a string onto a valid variable name.
9162
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9166
## ----------------------------------- ##
9167
## Main body of $CONFIG_STATUS script. ##
9168
## ----------------------------------- ##
9170
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9172
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9173
# Save the log message, to keep $0 and so on meaningful, and to
9174
# report actual input values of CONFIG_FILES etc. instead of their
9175
# values after options handling.
9177
This file was extended by $as_me, which was
9178
generated by GNU Autoconf 2.68. Invocation command line was
9180
CONFIG_FILES = $CONFIG_FILES
9181
CONFIG_HEADERS = $CONFIG_HEADERS
9182
CONFIG_LINKS = $CONFIG_LINKS
9183
CONFIG_COMMANDS = $CONFIG_COMMANDS
9186
on `(hostname || uname -n) 2>/dev/null | sed 1q`
9191
case $ac_config_files in *"
9192
"*) set x $ac_config_files; shift; ac_config_files=$*;;
9195
case $ac_config_headers in *"
9196
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9200
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9201
# Files that config.status was made for.
9202
config_files="$ac_config_files"
9203
config_headers="$ac_config_headers"
9204
config_commands="$ac_config_commands"
9208
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9210
\`$as_me' instantiates files and other configuration actions
9211
from templates according to the current configuration. Unless the files
9212
and actions are specified as TAGs, all are instantiated by default.
9214
Usage: $0 [OPTION]... [TAG]...
9216
-h, --help print this help, then exit
9217
-V, --version print version number and configuration settings, then exit
9218
--config print configuration, then exit
9219
-q, --quiet, --silent
9220
do not print progress messages
9221
-d, --debug don't remove temporary files
9222
--recheck update $as_me by reconfiguring in the same conditions
9223
--file=FILE[:TEMPLATE]
9224
instantiate the configuration file FILE
9225
--header=FILE[:TEMPLATE]
9226
instantiate the configuration header FILE
9228
Configuration files:
9231
Configuration headers:
9234
Configuration commands:
9237
Report bugs to the package provider."
9240
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9241
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9244
configured by $0, generated by GNU Autoconf 2.68,
9245
with options \\"\$ac_cs_config\\"
9247
Copyright (C) 2010 Free Software Foundation, Inc.
9248
This config.status script is free software; the Free Software Foundation
9249
gives unlimited permission to copy, distribute and modify it."
9256
test -n "\$AWK" || AWK=awk
9259
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9260
# The default lists apply if the user does not specify any file.
9266
ac_option=`expr "X$1" : 'X\([^=]*\)='`
9267
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9271
ac_option=`expr "X$1" : 'X\([^=]*\)='`
9283
# Handling of the options.
9284
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9286
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9287
$as_echo "$ac_cs_version"; exit ;;
9288
--config | --confi | --conf | --con | --co | --c )
9289
$as_echo "$ac_cs_config"; exit ;;
9290
--debug | --debu | --deb | --de | --d | -d )
9292
--file | --fil | --fi | --f )
9295
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9296
'') as_fn_error $? "missing file argument" ;;
9298
as_fn_append CONFIG_FILES " '$ac_optarg'"
9299
ac_need_defaults=false;;
9300
--header | --heade | --head | --hea )
9303
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9305
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9306
ac_need_defaults=false;;
9308
# Conflict between --help and --header
9309
as_fn_error $? "ambiguous option: \`$1'
9310
Try \`$0 --help' for more information.";;
9311
--help | --hel | -h )
9312
$as_echo "$ac_cs_usage"; exit ;;
9313
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
9314
| -silent | --silent | --silen | --sile | --sil | --si | --s)
9318
-*) as_fn_error $? "unrecognized option: \`$1'
9319
Try \`$0 --help' for more information." ;;
9321
*) as_fn_append ac_config_targets " $1"
9322
ac_need_defaults=false ;;
9328
ac_configure_extra_args=
9330
if $ac_cs_silent; then
9332
ac_configure_extra_args="$ac_configure_extra_args --silent"
9336
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9337
if \$ac_cs_recheck; then
9338
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9340
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9341
CONFIG_SHELL='$SHELL'
9347
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9351
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9352
## Running $as_me. ##
9358
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9362
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9367
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9369
# Handling of arguments.
9370
for ac_config_target in $ac_config_targets
9372
case $ac_config_target in
9373
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9374
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9375
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
9376
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9377
"gecko-mediaplayer.spec") CONFIG_FILES="$CONFIG_FILES gecko-mediaplayer.spec" ;;
9378
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9379
"src/libgmlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/libgmlib/Makefile" ;;
9380
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9382
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9387
# If the user did not use the arguments to specify the items to instantiate,
9388
# then the envvar interface is used. Set only those that are not.
9389
# We use the long form for the default assignment because of an extremely
9390
# bizarre bug on SunOS 4.1.3.
9391
if $ac_need_defaults; then
9392
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9393
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9394
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9397
# Have a temporary directory for convenience. Make it in the build tree
9398
# simply because there is no reason against having it here, and in addition,
9399
# creating and moving files from /tmp can sometimes cause problems.
9400
# Hook for its removal unless debugging.
9401
# Note that there is a small window in which the directory will not be cleaned:
9402
# after its creation but before its name has been assigned to `$tmp'.
9406
trap 'exit_status=$?
9408
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9410
trap 'as_fn_exit 1' 1 2 13 15
9412
# Create a (secure) tmp directory for tmp files.
9415
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9419
tmp=./conf$$-$RANDOM
9420
(umask 077 && mkdir "$tmp")
9421
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9424
# Set up the scripts for CONFIG_FILES section.
9425
# No need to generate them if there are no CONFIG_FILES.
9426
# This happens for instance with `./config.status config.h'.
9427
if test -n "$CONFIG_FILES"; then
9430
ac_cr=`echo X | tr X '\015'`
9431
# On cygwin, bash can eat \r inside `` if the user requested igncr.
9432
# But we know of no other shell where ac_cr would be empty at this
9433
# point, so we can use a bashism as a fallback.
9434
if test "x$ac_cr" = x; then
9435
eval ac_cr=\$\'\\r\'
9437
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9438
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9444
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9449
echo "cat >conf$$subs.awk <<_ACEOF" &&
9450
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9453
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9454
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9456
for ac_last_try in false false false false false :; do
9457
. ./conf$$subs.sh ||
9458
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9460
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9461
if test $ac_delim_n = $ac_delim_num; then
9463
elif $ac_last_try; then
9464
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9466
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9471
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9472
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9476
s/^/S["/; s/!.*/"]=/
9486
s/\(.\{148\}\)..*/\1/
9488
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9493
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9500
s/\(.\{148\}\)..*/\1/
9502
s/["\\]/\\&/g; s/^/"/; s/$/"/
9506
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9511
' <conf$$subs.awk | sed '
9516
' >>$CONFIG_STATUS || ac_write_fail=1
9517
rm -f conf$$subs.awk
9518
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9520
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9521
for (key in S) S_is_set[key] = 1
9527
nfields = split(line, field, "@")
9529
len = length(field[1])
9530
for (i = 2; i < nfields; i++) {
9532
keylen = length(key)
9533
if (S_is_set[key]) {
9535
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9536
len += length(value) + length(field[++i])
9547
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9548
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9549
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9552
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9553
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9556
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9557
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9558
# trailing colons and then remove the whole line if VPATH becomes empty
9559
# (actually we leave an empty line to preserve line numbers).
9560
if test "x$srcdir" = x.; then
9561
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9579
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9580
fi # test -n "$CONFIG_FILES"
9582
# Set up the scripts for CONFIG_HEADERS section.
9583
# No need to generate them if there are no CONFIG_HEADERS.
9584
# This happens for instance with `./config.status Makefile'.
9585
if test -n "$CONFIG_HEADERS"; then
9586
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9590
# Transform confdefs.h into an awk script `defines.awk', embedded as
9591
# here-document in config.status, that substitutes the proper values into
9592
# config.h.in to produce config.h.
9594
# Create a delimiter string that does not exist in confdefs.h, to ease
9595
# handling of long lines.
9597
for ac_last_try in false false :; do
9598
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9599
if test -z "$ac_tt"; then
9601
elif $ac_last_try; then
9602
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9604
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9608
# For the awk script, D is an array of macro values keyed by name,
9609
# likewise P contains macro parameters if any. Preserve backslash
9610
# newline sequences.
9612
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9614
s/.\{148\}/&'"$ac_delim"'/g
9617
s/^[ ]*#[ ]*define[ ][ ]*/ /
9624
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9626
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9630
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9631
D["\1"]=" \3\\\\\\n"\\/p
9633
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9638
s/.\{148\}/&'"$ac_delim"'/g
9643
s/["\\]/\\&/g; s/^/"/; s/$/"/p
9646
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9648
' <confdefs.h | sed '
9649
s/'"$ac_delim"'/"\\\
9650
"/g' >>$CONFIG_STATUS || ac_write_fail=1
9652
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9653
for (key in D) D_is_set[key] = 1
9656
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9658
split(line, arg, " ")
9659
if (arg[1] == "#") {
9663
defundef = substr(arg[1], 2)
9666
split(mac1, mac2, "(") #)
9668
prefix = substr(line, 1, index(line, defundef) - 1)
9669
if (D_is_set[macro]) {
9670
# Preserve the white space surrounding the "#".
9671
print prefix "define", macro P[macro] D[macro]
9674
# Replace #undef with comments. This is necessary, for example,
9675
# in the case of _POSIX_SOURCE, which is predefined and required
9676
# on some systems where configure will not decide to define it.
9677
if (defundef == "undef") {
9678
print "/*", prefix defundef, macro, "*/"
9686
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9687
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9688
fi # test -n "$CONFIG_HEADERS"
9691
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9696
:[FHLC]) ac_mode=$ac_tag; continue;;
9698
case $ac_mode$ac_tag in
9700
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9701
:[FH]-) ac_tag=-:-;;
9702
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9719
-) ac_f="$ac_tmp/stdin";;
9720
*) # Look for the file first in the build tree, then in the source tree
9721
# (if the path is not absolute). The absolute path cannot be DOS-style,
9722
# because $ac_f cannot contain `:'.
9726
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9728
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9730
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9731
as_fn_append ac_file_inputs " '$ac_f'"
9734
# Let's still pretend it is `configure' which instantiates (i.e., don't
9735
# use $as_me), people would be surprised to read:
9736
# /* config.h. Generated by config.status. */
9737
configure_input='Generated from '`
9738
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9740
if test x"$ac_file" != x-; then
9741
configure_input="$ac_file. $configure_input"
9742
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9743
$as_echo "$as_me: creating $ac_file" >&6;}
9745
# Neutralize special characters interpreted by sed in replacement strings.
9746
case $configure_input in #(
9747
*\&* | *\|* | *\\* )
9748
ac_sed_conf_input=`$as_echo "$configure_input" |
9749
sed 's/[\\\\&|]/\\\\&/g'`;; #(
9750
*) ac_sed_conf_input=$configure_input;;
9754
*:-:* | *:-) cat >"$ac_tmp/stdin" \
9755
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9760
ac_dir=`$as_dirname -- "$ac_file" ||
9761
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9762
X"$ac_file" : 'X\(//\)[^/]' \| \
9763
X"$ac_file" : 'X\(//\)$' \| \
9764
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9765
$as_echo X"$ac_file" |
9766
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9783
as_dir="$ac_dir"; as_fn_mkdir_p
9787
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9789
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9790
# A ".." for each directory in $ac_dir_suffix.
9791
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9792
case $ac_top_builddir_sub in
9793
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9794
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9797
ac_abs_top_builddir=$ac_pwd
9798
ac_abs_builddir=$ac_pwd$ac_dir_suffix
9799
# for backward compatibility:
9800
ac_top_builddir=$ac_top_build_prefix
9803
.) # We are building in place.
9805
ac_top_srcdir=$ac_top_builddir_sub
9806
ac_abs_top_srcdir=$ac_pwd ;;
9807
[\\/]* | ?:[\\/]* ) # Absolute name.
9808
ac_srcdir=$srcdir$ac_dir_suffix;
9809
ac_top_srcdir=$srcdir
9810
ac_abs_top_srcdir=$srcdir ;;
9812
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9813
ac_top_srcdir=$ac_top_build_prefix$srcdir
9814
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9816
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9826
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9827
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9831
[\\/$]* | ?:[\\/]* ) ;;
9832
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9836
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9837
# If the template does not know about datarootdir, expand it.
9838
# FIXME: This hack should be removed a few years after 2.60.
9839
ac_datarootdir_hack=; ac_datarootdir_seen=
9850
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9851
*datarootdir*) ac_datarootdir_seen=yes;;
9852
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9853
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9854
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9856
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9857
ac_datarootdir_hack='
9858
s&@datadir@&$datadir&g
9859
s&@docdir@&$docdir&g
9860
s&@infodir@&$infodir&g
9861
s&@localedir@&$localedir&g
9862
s&@mandir@&$mandir&g
9863
s&\\\${datarootdir}&$datarootdir&g' ;;
9867
# Neutralize VPATH when `$srcdir' = `.'.
9868
# Shell code in configure.ac might set extrasub.
9869
# FIXME: do we really want to maintain this feature?
9870
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9871
ac_sed_extra="$ac_vpsub
9874
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9876
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9877
s|@configure_input@|$ac_sed_conf_input|;t t
9878
s&@top_builddir@&$ac_top_builddir_sub&;t t
9879
s&@top_build_prefix@&$ac_top_build_prefix&;t t
9880
s&@srcdir@&$ac_srcdir&;t t
9881
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9882
s&@top_srcdir@&$ac_top_srcdir&;t t
9883
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9884
s&@builddir@&$ac_builddir&;t t
9885
s&@abs_builddir@&$ac_abs_builddir&;t t
9886
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9887
s&@INSTALL@&$ac_INSTALL&;t t
9888
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9889
$ac_datarootdir_hack
9891
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9892
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9894
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9895
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9896
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9897
"$ac_tmp/out"`; test -z "$ac_out"; } &&
9898
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9899
which seems to be undefined. Please make sure it is defined" >&5
9900
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9901
which seems to be undefined. Please make sure it is defined" >&2;}
9903
rm -f "$ac_tmp/stdin"
9905
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9906
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9908
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
9914
if test x"$ac_file" != x-; then
9916
$as_echo "/* $configure_input */" \
9917
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9918
} >"$ac_tmp/config.h" \
9919
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
9920
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9921
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9922
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9925
mv "$ac_tmp/config.h" "$ac_file" \
9926
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
9929
$as_echo "/* $configure_input */" \
9930
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9931
|| as_fn_error $? "could not create -" "$LINENO" 5
9933
# Compute "$ac_file"'s index in $config_headers.
9936
for _am_header in $config_headers :; do
9938
$_am_arg | $_am_arg:* )
9941
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
9944
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9945
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9946
X"$_am_arg" : 'X\(//\)[^/]' \| \
9947
X"$_am_arg" : 'X\(//\)$' \| \
9948
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9949
$as_echo X"$_am_arg" |
9950
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9966
s/.*/./; q'`/stamp-h$_am_stamp_count
9969
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9970
$as_echo "$as_me: executing $ac_file commands" >&6;}
9975
case $ac_file$ac_mode in
9976
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9977
# Autoconf 2.62 quotes --file arguments for eval, but not when files
9978
# are listed without --file. Let's play safe and only enable the eval
9979
# if we detect the quoting.
9980
case $CONFIG_FILES in
9981
*\'*) eval set x "$CONFIG_FILES" ;;
9982
*) set x $CONFIG_FILES ;;
9987
# Strip MF so we end up with the name of the file.
9988
mf=`echo "$mf" | sed -e 's/:.*$//'`
9989
# Check whether this is an Automake generated Makefile or not.
9990
# We used to match only the files named `Makefile.in', but
9991
# some people rename them; so instead we look at the file content.
9992
# Grep'ing the first line is not enough: some people post-process
9993
# each Makefile.in and add a new line on top of each file to say so.
9994
# Grep'ing the whole file is not good either: AIX grep has a line
9995
# limit of 2048, but all sed's we know have understand at least 4000.
9996
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9997
dirpart=`$as_dirname -- "$mf" ||
9998
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9999
X"$mf" : 'X\(//\)[^/]' \| \
10000
X"$mf" : 'X\(//\)$' \| \
10001
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10003
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10007
/^X\(\/\/\)[^/].*/{
10023
# Extract the definition of DEPDIR, am__include, and am__quote
10024
# from the Makefile without running `make'.
10025
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10026
test -z "$DEPDIR" && continue
10027
am__include=`sed -n 's/^am__include = //p' < "$mf"`
10028
test -z "am__include" && continue
10029
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10030
# When using ansi2knr, U may be empty or an underscore; expand it
10031
U=`sed -n 's/^U = //p' < "$mf"`
10032
# Find all dependency output files, they are included files with
10033
# $(DEPDIR) in their names. We invoke sed twice because it is the
10034
# simplest approach to changing $(DEPDIR) to its actual value in the
10036
for file in `sed -n "
10037
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10038
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10039
# Make sure the directory exists.
10040
test -f "$dirpart/$file" && continue
10041
fdir=`$as_dirname -- "$file" ||
10042
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10043
X"$file" : 'X\(//\)[^/]' \| \
10044
X"$file" : 'X\(//\)$' \| \
10045
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10046
$as_echo X"$file" |
10047
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10051
/^X\(\/\/\)[^/].*/{
10064
as_dir=$dirpart/$fdir; as_fn_mkdir_p
10065
# echo "creating $dirpart/$file"
10066
echo '# dummy' > "$dirpart/$file"
10071
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
10072
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
10081
ac_clean_files=$ac_clean_files_save
10083
test $ac_write_fail = 0 ||
10084
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10087
# configure is writing to config.log, and then calls config.status.
10088
# config.status does its own redirection, appending to config.log.
10089
# Unfortunately, on DOS this fails, as config.log is still kept open
10090
# by configure, so config.status won't be able to write to it; its
10091
# output is simply discarded. So we exec the FD to /dev/null,
10092
# effectively closing config.log, so it can be properly (re)opened and
10093
# appended to by config.status. When coming back to configure, we
10094
# need to make the FD available again.
10095
if test "$no_create" != yes; then
10097
ac_config_status_args=
10098
test "$silent" = yes &&
10099
ac_config_status_args="$ac_config_status_args --quiet"
10101
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10103
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
10104
# would make configure fail if this is the last instruction.
10105
$ac_cs_success || as_fn_exit 1
10107
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10108
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10109
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}