2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.65.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
93
*[\\/]* ) as_myself=$0 ;;
94
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
test -z "$as_dir" && as_dir=.
99
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
# in which case we are not to be found in the path.
107
if test "x$as_myself" = x; then
110
if test ! -f "$as_myself"; then
111
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115
# Unset variables that we do not need and which cause bugs (e.g. in
116
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117
# suppresses any "Segmentation fault" message there. '((' could
118
# trigger a bug in pdksh 5.2.14.
119
for as_var in BASH_ENV ENV MAIL MAILPATH
120
do eval test x\${$as_var+set} = xset \
121
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
if test "x$CONFIG_SHELL" = x; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
test -z "$as_dir" && as_dir=.
192
for as_base in sh bash ksh sh5; do
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
# Portably unset VAR.
254
{ eval $1=; unset $1;}
258
# as_fn_set_status STATUS
259
# -----------------------
260
# Set $? to STATUS, without forking.
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
# Create "$as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
as_dirs="'$as_qdir' $as_dirs"
293
as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
X"$as_dir" : 'X\(//\)[^/]' \| \
296
X"$as_dir" : 'X\(//\)$' \| \
297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
# as_fn_append VAR VALUE
324
# ----------------------
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
# advantage of any shell optimizations that allow amortized linear growth over
327
# repeated appends, instead of the typical quadratic growth present in naive
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
# must be portable across $(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
# as_fn_error ERROR [LINENO LOG_FD]
360
# ---------------------------------
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
# script with status $?, using 1 if that was 0.
366
as_status=$?; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371
$as_echo "$as_me: error: $1" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441
chmod +x "$as_me.lineno" ||
442
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444
# Don't try to exec as it changes $[0], causing all sort of problems
445
# (the dirname of $[0] is not the place where we might find the
446
# original and so on. Autoconf is especially sensitive to this).
448
# Exit status is that of the last command.
452
ECHO_C= ECHO_N= ECHO_T=
453
case `echo -n x` in #(((((
455
case `echo 'xy\c'` in
456
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
458
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465
rm -f conf$$ conf$$.exe conf$$.file
466
if test -d conf$$.dir; then
467
rm -f conf$$.dir/conf$$.file
470
mkdir conf$$.dir 2>/dev/null
472
if (echo >conf$$.file) 2>/dev/null; then
473
if ln -s conf$$.file conf$$ 2>/dev/null; then
475
# ... but there are two gotchas:
476
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
# In both cases, we have to default to `cp -p'.
479
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481
elif ln conf$$.file conf$$ 2>/dev/null; then
489
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
rmdir conf$$.dir 2>/dev/null
492
if mkdir -p . 2>/dev/null; then
493
as_mkdir_p='mkdir -p "$as_dir"'
495
test -d ./-p && rmdir ./-p
499
if test -x / >/dev/null 2>&1; then
502
if ls -dL / >/dev/null 2>&1; then
509
if test -d "$1"; then
515
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
???[sx]*):;;*)false;;esac;fi
520
as_executable_p=$as_test_x
522
# Sed expression to map a string onto a valid CPP name.
523
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525
# Sed expression to map a string onto a valid variable name.
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529
test -n "$DJDIR" || exec 7<&0 </dev/null
533
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534
# so uname gets run too.
535
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
ac_default_prefix=/usr/local
542
ac_config_libobj_dir=.
549
# Identity of this package.
557
ac_unique_file="configure.in"
558
# Factoring default headers for most tests.
559
ac_includes_default="\
561
#ifdef HAVE_SYS_TYPES_H
562
# include <sys/types.h>
564
#ifdef HAVE_SYS_STAT_H
565
# include <sys/stat.h>
571
# ifdef HAVE_STDLIB_H
576
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581
#ifdef HAVE_STRINGS_H
582
# include <strings.h>
584
#ifdef HAVE_INTTYPES_H
585
# include <inttypes.h>
594
ac_subst_vars='am__EXEEXT_FALSE
603
GCONF_SCHEMA_FILE_DIR
604
GCONF_SCHEMA_CONFIG_SOURCE
607
GCONF_SCHEMAS_INSTALL_FALSE
608
GCONF_SCHEMAS_INSTALL_TRUE
662
MAINTAINER_MODE_FALSE
672
INSTALL_STRIP_PROGRAM
714
program_transform_name
727
enable_option_checking
728
enable_maintainer_mode
729
enable_dependency_tracking
734
with_gconf_schema_file_dir
735
enable_schemas_install
740
ac_precious_vars='build_alias
767
# Initialize some variables set by options.
769
ac_init_version=false
770
ac_unrecognized_opts=
772
# The variables have the same names as the options, with
773
# dashes changed to underlines.
781
program_transform_name=s,x,x,
789
# Installation directory options.
790
# These are left unexpanded so users can "make install exec_prefix=/foo"
791
# and all the variables that are supposed to be based on exec_prefix
792
# by default will actually change.
793
# Use braces instead of parens because sh, perl, etc. also accept them.
794
# (The list follows the same order as the GNU Coding Standards.)
795
bindir='${exec_prefix}/bin'
796
sbindir='${exec_prefix}/sbin'
797
libexecdir='${exec_prefix}/libexec'
798
datarootdir='${prefix}/share'
799
datadir='${datarootdir}'
800
sysconfdir='${prefix}/etc'
801
sharedstatedir='${prefix}/com'
802
localstatedir='${prefix}/var'
803
includedir='${prefix}/include'
804
oldincludedir='/usr/include'
805
docdir='${datarootdir}/doc/${PACKAGE}'
806
infodir='${datarootdir}/info'
811
libdir='${exec_prefix}/lib'
812
localedir='${datarootdir}/locale'
813
mandir='${datarootdir}/man'
819
# If the previous option needs an argument, assign it.
820
if test -n "$ac_prev"; then
821
eval $ac_prev=\$ac_option
827
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
831
# Accept the important Cygnus configure options, so we can diagnose typos.
833
case $ac_dashdash$ac_option in
837
-bindir | --bindir | --bindi | --bind | --bin | --bi)
839
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
842
-build | --build | --buil | --bui | --bu)
843
ac_prev=build_alias ;;
844
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
845
build_alias=$ac_optarg ;;
847
-cache-file | --cache-file | --cache-fil | --cache-fi \
848
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
849
ac_prev=cache_file ;;
850
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
851
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
852
cache_file=$ac_optarg ;;
855
cache_file=config.cache ;;
857
-datadir | --datadir | --datadi | --datad)
859
-datadir=* | --datadir=* | --datadi=* | --datad=*)
860
datadir=$ac_optarg ;;
862
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
863
| --dataroo | --dataro | --datar)
864
ac_prev=datarootdir ;;
865
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
866
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
867
datarootdir=$ac_optarg ;;
869
-disable-* | --disable-*)
870
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
871
# Reject names that are not valid shell variable names.
872
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
873
as_fn_error "invalid feature name: $ac_useropt"
874
ac_useropt_orig=$ac_useropt
875
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876
case $ac_user_opts in
880
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
881
ac_unrecognized_sep=', ';;
883
eval enable_$ac_useropt=no ;;
885
-docdir | --docdir | --docdi | --doc | --do)
887
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
890
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
892
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
895
-enable-* | --enable-*)
896
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
897
# Reject names that are not valid shell variable names.
898
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899
as_fn_error "invalid feature name: $ac_useropt"
900
ac_useropt_orig=$ac_useropt
901
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902
case $ac_user_opts in
906
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907
ac_unrecognized_sep=', ';;
909
eval enable_$ac_useropt=\$ac_optarg ;;
911
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
912
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
913
| --exec | --exe | --ex)
914
ac_prev=exec_prefix ;;
915
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
916
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
917
| --exec=* | --exe=* | --ex=*)
918
exec_prefix=$ac_optarg ;;
920
-gas | --gas | --ga | --g)
921
# Obsolete; use --with-gas.
924
-help | --help | --hel | --he | -h)
926
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
927
ac_init_help=recursive ;;
928
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
929
ac_init_help=short ;;
931
-host | --host | --hos | --ho)
932
ac_prev=host_alias ;;
933
-host=* | --host=* | --hos=* | --ho=*)
934
host_alias=$ac_optarg ;;
936
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
938
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
940
htmldir=$ac_optarg ;;
942
-includedir | --includedir | --includedi | --included | --include \
943
| --includ | --inclu | --incl | --inc)
944
ac_prev=includedir ;;
945
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
946
| --includ=* | --inclu=* | --incl=* | --inc=*)
947
includedir=$ac_optarg ;;
949
-infodir | --infodir | --infodi | --infod | --info | --inf)
951
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
952
infodir=$ac_optarg ;;
954
-libdir | --libdir | --libdi | --libd)
956
-libdir=* | --libdir=* | --libdi=* | --libd=*)
959
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
960
| --libexe | --libex | --libe)
961
ac_prev=libexecdir ;;
962
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
963
| --libexe=* | --libex=* | --libe=*)
964
libexecdir=$ac_optarg ;;
966
-localedir | --localedir | --localedi | --localed | --locale)
968
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
969
localedir=$ac_optarg ;;
971
-localstatedir | --localstatedir | --localstatedi | --localstated \
972
| --localstate | --localstat | --localsta | --localst | --locals)
973
ac_prev=localstatedir ;;
974
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
975
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
976
localstatedir=$ac_optarg ;;
978
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
980
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
984
# Obsolete; use --without-fp.
987
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
988
| --no-cr | --no-c | -n)
991
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
992
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
995
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
996
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
997
| --oldin | --oldi | --old | --ol | --o)
998
ac_prev=oldincludedir ;;
999
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1000
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1001
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1002
oldincludedir=$ac_optarg ;;
1004
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1006
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1007
prefix=$ac_optarg ;;
1009
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1010
| --program-pre | --program-pr | --program-p)
1011
ac_prev=program_prefix ;;
1012
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1013
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1014
program_prefix=$ac_optarg ;;
1016
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1017
| --program-suf | --program-su | --program-s)
1018
ac_prev=program_suffix ;;
1019
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1020
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1021
program_suffix=$ac_optarg ;;
1023
-program-transform-name | --program-transform-name \
1024
| --program-transform-nam | --program-transform-na \
1025
| --program-transform-n | --program-transform- \
1026
| --program-transform | --program-transfor \
1027
| --program-transfo | --program-transf \
1028
| --program-trans | --program-tran \
1029
| --progr-tra | --program-tr | --program-t)
1030
ac_prev=program_transform_name ;;
1031
-program-transform-name=* | --program-transform-name=* \
1032
| --program-transform-nam=* | --program-transform-na=* \
1033
| --program-transform-n=* | --program-transform-=* \
1034
| --program-transform=* | --program-transfor=* \
1035
| --program-transfo=* | --program-transf=* \
1036
| --program-trans=* | --program-tran=* \
1037
| --progr-tra=* | --program-tr=* | --program-t=*)
1038
program_transform_name=$ac_optarg ;;
1040
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1042
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1043
pdfdir=$ac_optarg ;;
1045
-psdir | --psdir | --psdi | --psd | --ps)
1047
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1050
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051
| -silent | --silent | --silen | --sile | --sil)
1054
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1056
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1058
sbindir=$ac_optarg ;;
1060
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1061
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1062
| --sharedst | --shareds | --shared | --share | --shar \
1064
ac_prev=sharedstatedir ;;
1065
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1066
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1067
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1069
sharedstatedir=$ac_optarg ;;
1071
-site | --site | --sit)
1073
-site=* | --site=* | --sit=*)
1076
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1078
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1079
srcdir=$ac_optarg ;;
1081
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1082
| --syscon | --sysco | --sysc | --sys | --sy)
1083
ac_prev=sysconfdir ;;
1084
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1085
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1086
sysconfdir=$ac_optarg ;;
1088
-target | --target | --targe | --targ | --tar | --ta | --t)
1089
ac_prev=target_alias ;;
1090
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1091
target_alias=$ac_optarg ;;
1093
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1096
-version | --version | --versio | --versi | --vers | -V)
1097
ac_init_version=: ;;
1100
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101
# Reject names that are not valid shell variable names.
1102
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1103
as_fn_error "invalid package name: $ac_useropt"
1104
ac_useropt_orig=$ac_useropt
1105
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106
case $ac_user_opts in
1110
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1111
ac_unrecognized_sep=', ';;
1113
eval with_$ac_useropt=\$ac_optarg ;;
1115
-without-* | --without-*)
1116
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117
# Reject names that are not valid shell variable names.
1118
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119
as_fn_error "invalid package name: $ac_useropt"
1120
ac_useropt_orig=$ac_useropt
1121
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122
case $ac_user_opts in
1126
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1127
ac_unrecognized_sep=', ';;
1129
eval with_$ac_useropt=no ;;
1132
# Obsolete; use --with-x.
1135
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1136
| --x-incl | --x-inc | --x-in | --x-i)
1137
ac_prev=x_includes ;;
1138
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1139
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1140
x_includes=$ac_optarg ;;
1142
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1143
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1144
ac_prev=x_libraries ;;
1145
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1146
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1147
x_libraries=$ac_optarg ;;
1149
-*) as_fn_error "unrecognized option: \`$ac_option'
1150
Try \`$0 --help' for more information."
1154
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155
# Reject names that are not valid shell variable names.
1156
case $ac_envvar in #(
1157
'' | [0-9]* | *[!_$as_cr_alnum]* )
1158
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1160
eval $ac_envvar=\$ac_optarg
1161
export $ac_envvar ;;
1164
# FIXME: should be removed in autoconf 3.0.
1165
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1167
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1174
if test -n "$ac_prev"; then
1175
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1176
as_fn_error "missing argument to $ac_option"
1179
if test -n "$ac_unrecognized_opts"; then
1180
case $enable_option_checking in
1182
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1183
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187
# Check all directory arguments for consistency.
1188
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189
datadir sysconfdir sharedstatedir localstatedir includedir \
1190
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191
libdir localedir mandir
1193
eval ac_val=\$$ac_var
1194
# Remove trailing slashes.
1197
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198
eval $ac_var=\$ac_val;;
1200
# Be sure to have absolute directory names.
1202
[\\/$]* | ?:[\\/]* ) continue;;
1203
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1205
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1208
# There might be people who depend on the old broken behavior: `$host'
1209
# used to hold the argument of --host etc.
1210
# FIXME: To remove some day.
1213
target=$target_alias
1215
# FIXME: To remove some day.
1216
if test "x$host_alias" != x; then
1217
if test "x$build_alias" = x; then
1218
cross_compiling=maybe
1219
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1220
If a cross compiler is detected then cross compile mode will be used." >&2
1221
elif test "x$build_alias" != "x$host_alias"; then
1227
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1229
test "$silent" = yes && exec 6>/dev/null
1232
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1233
ac_ls_di=`ls -di .` &&
1234
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1235
as_fn_error "working directory cannot be determined"
1236
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237
as_fn_error "pwd does not report name of working directory"
1240
# Find the source files, if location was not specified.
1241
if test -z "$srcdir"; then
1242
ac_srcdir_defaulted=yes
1243
# Try the directory containing this script, then the parent directory.
1244
ac_confdir=`$as_dirname -- "$as_myself" ||
1245
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246
X"$as_myself" : 'X\(//\)[^/]' \| \
1247
X"$as_myself" : 'X\(//\)$' \| \
1248
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249
$as_echo X"$as_myself" |
1250
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1268
if test ! -r "$srcdir/$ac_unique_file"; then
1272
ac_srcdir_defaulted=no
1274
if test ! -r "$srcdir/$ac_unique_file"; then
1275
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1276
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1278
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1280
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1282
# When building in place, set srcdir=.
1283
if test "$ac_abs_confdir" = "$ac_pwd"; then
1286
# Remove unnecessary trailing slashes from srcdir.
1287
# Double slashes in file names in object file debugging info
1288
# mess up M-x gdb in Emacs.
1290
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292
for ac_var in $ac_precious_vars; do
1293
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1294
eval ac_env_${ac_var}_value=\$${ac_var}
1295
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1296
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1300
# Report the --help message.
1302
if test "$ac_init_help" = "long"; then
1303
# Omit some internal or obsolete options to make the list less imposing.
1304
# This message is too long to be a string in the A/UX 3.1 sh.
1306
\`configure' configures this package to adapt to many kinds of systems.
1308
Usage: $0 [OPTION]... [VAR=VALUE]...
1310
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311
VAR=VALUE. See below for descriptions of some of the useful variables.
1313
Defaults for the options are specified in brackets.
1316
-h, --help display this help and exit
1317
--help=short display options specific to this package
1318
--help=recursive display the short help of all the included packages
1319
-V, --version display version information and exit
1320
-q, --quiet, --silent do not print \`checking...' messages
1321
--cache-file=FILE cache test results in FILE [disabled]
1322
-C, --config-cache alias for \`--cache-file=config.cache'
1323
-n, --no-create do not create output files
1324
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1326
Installation directories:
1327
--prefix=PREFIX install architecture-independent files in PREFIX
1328
[$ac_default_prefix]
1329
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1332
By default, \`make install' will install all the files in
1333
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1334
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335
for instance \`--prefix=\$HOME'.
1337
For better control, use the options below.
1339
Fine tuning of the installation directories:
1340
--bindir=DIR user executables [EPREFIX/bin]
1341
--sbindir=DIR system admin executables [EPREFIX/sbin]
1342
--libexecdir=DIR program executables [EPREFIX/libexec]
1343
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1344
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1345
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1346
--libdir=DIR object code libraries [EPREFIX/lib]
1347
--includedir=DIR C header files [PREFIX/include]
1348
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1349
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1350
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1351
--infodir=DIR info documentation [DATAROOTDIR/info]
1352
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1353
--mandir=DIR man documentation [DATAROOTDIR/man]
1354
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1355
--htmldir=DIR html documentation [DOCDIR]
1356
--dvidir=DIR dvi documentation [DOCDIR]
1357
--pdfdir=DIR pdf documentation [DOCDIR]
1358
--psdir=DIR ps documentation [DOCDIR]
1364
--program-prefix=PREFIX prepend PREFIX to installed program names
1365
--program-suffix=SUFFIX append SUFFIX to installed program names
1366
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1370
if test -n "$ac_init_help"; then
1375
--disable-option-checking ignore unrecognized --enable/--with options
1376
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1377
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1378
--enable-maintainer-mode enable make rules and dependencies not useful
1379
(and sometimes confusing) to the casual installer
1380
--disable-dependency-tracking speeds up one-time build
1381
--enable-dependency-tracking do not reject slow dependency extractors
1382
--enable-new-libxul libxul/xulrunner-sdk is 1.9.2 or higher
1383
--disable-schemas-install
1384
Disable the schemas installation
1385
--disable-caching Disable caching of remote media to local storage
1388
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1389
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1390
--with-xulrunner-sdk=path_to_sdk
1391
Path to xulrunner SDK for build
1392
--with-xulrunner-sdk=/path/to/sdk
1393
--with-gconf Use Gconf to store preferences
1394
--with-gconf-source=sourceaddress
1395
Config database for installing schema files.
1396
--with-gconf-schema-file-dir=dir
1397
Directory for installing schema files.
1398
--with-gio Use GIO for file I/O
1399
--with-plugin-dir=dir Directory where plugins are stored
1401
Some influential environment variables:
1402
CC C compiler command
1403
CFLAGS C compiler flags
1404
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1405
nonstandard directory <lib dir>
1406
LIBS libraries to pass to the linker, e.g. -l<library>
1407
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1408
you have headers in a nonstandard directory <include dir>
1410
CXX C++ compiler command
1411
CXXFLAGS C++ compiler flags
1412
PKG_CONFIG path to pkg-config utility
1413
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1414
GLIB_LIBS linker flags for GLIB, overriding pkg-config
1416
C compiler flags for GECKO, overriding pkg-config
1417
GECKO_LIBS linker flags for GECKO, overriding pkg-config
1418
NSPR_CFLAGS C compiler flags for NSPR, overriding pkg-config
1419
NSPR_LIBS linker flags for NSPR, overriding pkg-config
1420
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1421
DBUS_LIBS linker flags for DBUS, overriding pkg-config
1423
C compiler flags for GCONF, overriding pkg-config
1424
GCONF_LIBS linker flags for GCONF, overriding pkg-config
1425
GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1426
GIO_LIBS linker flags for GIO, overriding pkg-config
1428
Use these variables to override the choices made by `configure' or to help
1429
it to find libraries and programs with nonstandard names/locations.
1431
Report bugs to the package provider.
1436
if test "$ac_init_help" = "recursive"; then
1437
# If there are subdirs, report their specific --help.
1438
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1439
test -d "$ac_dir" ||
1440
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1445
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1448
# A ".." for each directory in $ac_dir_suffix.
1449
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1450
case $ac_top_builddir_sub in
1451
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1455
ac_abs_top_builddir=$ac_pwd
1456
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1457
# for backward compatibility:
1458
ac_top_builddir=$ac_top_build_prefix
1461
.) # We are building in place.
1463
ac_top_srcdir=$ac_top_builddir_sub
1464
ac_abs_top_srcdir=$ac_pwd ;;
1465
[\\/]* | ?:[\\/]* ) # Absolute name.
1466
ac_srcdir=$srcdir$ac_dir_suffix;
1467
ac_top_srcdir=$srcdir
1468
ac_abs_top_srcdir=$srcdir ;;
1470
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471
ac_top_srcdir=$ac_top_build_prefix$srcdir
1472
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1474
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1476
cd "$ac_dir" || { ac_status=$?; continue; }
1477
# Check for guested configure.
1478
if test -f "$ac_srcdir/configure.gnu"; then
1480
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481
elif test -f "$ac_srcdir/configure"; then
1483
$SHELL "$ac_srcdir/configure" --help=recursive
1485
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487
cd "$ac_pwd" || { ac_status=$?; break; }
1491
test -n "$ac_init_help" && exit $ac_status
1492
if $ac_init_version; then
1495
generated by GNU Autoconf 2.65
1497
Copyright (C) 2009 Free Software Foundation, Inc.
1498
This configure script is free software; the Free Software Foundation
1499
gives unlimited permission to copy, distribute and modify it.
1504
## ------------------------ ##
1505
## Autoconf initialization. ##
1506
## ------------------------ ##
1508
# ac_fn_c_try_compile LINENO
1509
# --------------------------
1510
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1511
ac_fn_c_try_compile ()
1513
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1514
rm -f conftest.$ac_objext
1515
if { { ac_try="$ac_compile"
1517
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1518
*) ac_try_echo=$ac_try;;
1520
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1521
$as_echo "$ac_try_echo"; } >&5
1522
(eval "$ac_compile") 2>conftest.err
1524
if test -s conftest.err; then
1525
grep -v '^ *+' conftest.err >conftest.er1
1526
cat conftest.er1 >&5
1527
mv -f conftest.er1 conftest.err
1529
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1530
test $ac_status = 0; } && {
1531
test -z "$ac_c_werror_flag" ||
1532
test ! -s conftest.err
1533
} && test -s conftest.$ac_objext; then :
1536
$as_echo "$as_me: failed program was:" >&5
1537
sed 's/^/| /' conftest.$ac_ext >&5
1541
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1542
as_fn_set_status $ac_retval
1544
} # ac_fn_c_try_compile
1546
# ac_fn_c_try_link LINENO
1547
# -----------------------
1548
# Try to link conftest.$ac_ext, and return whether this succeeded.
1551
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552
rm -f conftest.$ac_objext conftest$ac_exeext
1553
if { { ac_try="$ac_link"
1555
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1556
*) ac_try_echo=$ac_try;;
1558
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559
$as_echo "$ac_try_echo"; } >&5
1560
(eval "$ac_link") 2>conftest.err
1562
if test -s conftest.err; then
1563
grep -v '^ *+' conftest.err >conftest.er1
1564
cat conftest.er1 >&5
1565
mv -f conftest.er1 conftest.err
1567
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568
test $ac_status = 0; } && {
1569
test -z "$ac_c_werror_flag" ||
1570
test ! -s conftest.err
1571
} && test -s conftest$ac_exeext && {
1572
test "$cross_compiling" = yes ||
1573
$as_test_x conftest$ac_exeext
1577
$as_echo "$as_me: failed program was:" >&5
1578
sed 's/^/| /' conftest.$ac_ext >&5
1582
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1583
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1584
# interfere with the next link command; also delete a directory that is
1585
# left behind by Apple's compiler. We do this before executing the actions.
1586
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1587
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1588
as_fn_set_status $ac_retval
1590
} # ac_fn_c_try_link
1592
# ac_fn_c_try_cpp LINENO
1593
# ----------------------
1594
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1597
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598
if { { ac_try="$ac_cpp conftest.$ac_ext"
1600
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1601
*) ac_try_echo=$ac_try;;
1603
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604
$as_echo "$ac_try_echo"; } >&5
1605
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1607
if test -s conftest.err; then
1608
grep -v '^ *+' conftest.err >conftest.er1
1609
cat conftest.er1 >&5
1610
mv -f conftest.er1 conftest.err
1612
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613
test $ac_status = 0; } >/dev/null && {
1614
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1615
test ! -s conftest.err
1619
$as_echo "$as_me: failed program was:" >&5
1620
sed 's/^/| /' conftest.$ac_ext >&5
1624
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1625
as_fn_set_status $ac_retval
1629
# ac_fn_c_try_run LINENO
1630
# ----------------------
1631
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1632
# that executables *can* be run.
1635
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636
if { { ac_try="$ac_link"
1638
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1639
*) ac_try_echo=$ac_try;;
1641
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642
$as_echo "$ac_try_echo"; } >&5
1643
(eval "$ac_link") 2>&5
1645
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1647
{ { case "(($ac_try" in
1648
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1649
*) ac_try_echo=$ac_try;;
1651
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652
$as_echo "$ac_try_echo"; } >&5
1653
(eval "$ac_try") 2>&5
1655
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656
test $ac_status = 0; }; }; then :
1659
$as_echo "$as_me: program exited with status $ac_status" >&5
1660
$as_echo "$as_me: failed program was:" >&5
1661
sed 's/^/| /' conftest.$ac_ext >&5
1663
ac_retval=$ac_status
1665
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1666
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1667
as_fn_set_status $ac_retval
1671
# ac_fn_cxx_try_compile LINENO
1672
# ----------------------------
1673
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1674
ac_fn_cxx_try_compile ()
1676
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677
rm -f conftest.$ac_objext
1678
if { { ac_try="$ac_compile"
1680
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681
*) ac_try_echo=$ac_try;;
1683
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684
$as_echo "$ac_try_echo"; } >&5
1685
(eval "$ac_compile") 2>conftest.err
1687
if test -s conftest.err; then
1688
grep -v '^ *+' conftest.err >conftest.er1
1689
cat conftest.er1 >&5
1690
mv -f conftest.er1 conftest.err
1692
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693
test $ac_status = 0; } && {
1694
test -z "$ac_cxx_werror_flag" ||
1695
test ! -s conftest.err
1696
} && test -s conftest.$ac_objext; then :
1699
$as_echo "$as_me: failed program was:" >&5
1700
sed 's/^/| /' conftest.$ac_ext >&5
1704
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1705
as_fn_set_status $ac_retval
1707
} # ac_fn_cxx_try_compile
1709
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1710
# -------------------------------------------------------
1711
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1712
# the include files in INCLUDES and setting the cache variable VAR
1714
ac_fn_c_check_header_mongrel ()
1716
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1719
$as_echo_n "checking for $2... " >&6; }
1720
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1721
$as_echo_n "(cached) " >&6
1724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1725
$as_echo "$ac_res" >&6; }
1727
# Is the header compilable?
1728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1729
$as_echo_n "checking $2 usability... " >&6; }
1730
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1731
/* end confdefs.h. */
1735
if ac_fn_c_try_compile "$LINENO"; then :
1736
ac_header_compiler=yes
1738
ac_header_compiler=no
1740
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1742
$as_echo "$ac_header_compiler" >&6; }
1744
# Is the header present?
1745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1746
$as_echo_n "checking $2 presence... " >&6; }
1747
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748
/* end confdefs.h. */
1751
if ac_fn_c_try_cpp "$LINENO"; then :
1752
ac_header_preproc=yes
1754
ac_header_preproc=no
1756
rm -f conftest.err conftest.$ac_ext
1757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1758
$as_echo "$ac_header_preproc" >&6; }
1760
# So? What about this header?
1761
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1763
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1764
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1765
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1766
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1769
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1770
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1771
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1772
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1773
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1774
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1775
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1776
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1777
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1778
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782
$as_echo_n "checking for $2... " >&6; }
1783
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1784
$as_echo_n "(cached) " >&6
1786
eval "$3=\$ac_header_compiler"
1789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790
$as_echo "$ac_res" >&6; }
1792
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1794
} # ac_fn_c_check_header_mongrel
1796
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797
# -------------------------------------------------------
1798
# Tests whether HEADER exists and can be compiled using the include files in
1799
# INCLUDES, setting the cache variable VAR accordingly.
1800
ac_fn_c_check_header_compile ()
1802
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804
$as_echo_n "checking for $2... " >&6; }
1805
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1806
$as_echo_n "(cached) " >&6
1808
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809
/* end confdefs.h. */
1813
if ac_fn_c_try_compile "$LINENO"; then :
1818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822
$as_echo "$ac_res" >&6; }
1823
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1825
} # ac_fn_c_check_header_compile
1827
# ac_fn_c_check_func LINENO FUNC VAR
1828
# ----------------------------------
1829
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1830
ac_fn_c_check_func ()
1832
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834
$as_echo_n "checking for $2... " >&6; }
1835
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1836
$as_echo_n "(cached) " >&6
1838
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839
/* end confdefs.h. */
1840
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1841
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1842
#define $2 innocuous_$2
1844
/* System header to define __stub macros and hopefully few prototypes,
1845
which can conflict with char $2 (); below.
1846
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1847
<limits.h> exists even on freestanding compilers. */
1850
# include <limits.h>
1852
# include <assert.h>
1857
/* Override any GCC internal prototype to avoid an error.
1858
Use char because int might match the return type of a GCC
1859
builtin and then its argument prototype would still apply. */
1864
/* The GNU C library defines this for functions which it implements
1865
to always fail with ENOSYS. Some functions are actually named
1866
something starting with __ and the normal name is an alias. */
1867
#if defined __stub_$2 || defined __stub___$2
1879
if ac_fn_c_try_link "$LINENO"; then :
1884
rm -f core conftest.err conftest.$ac_objext \
1885
conftest$ac_exeext conftest.$ac_ext
1888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1889
$as_echo "$ac_res" >&6; }
1890
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1892
} # ac_fn_c_check_func
1893
cat >config.log <<_ACEOF
1894
This file contains any messages produced by compilers while
1895
running configure, to aid debugging if configure makes a mistake.
1897
It was created by $as_me, which was
1898
generated by GNU Autoconf 2.65. Invocation command line was
1910
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1911
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1912
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1913
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1914
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1916
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1917
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1919
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1920
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1921
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1922
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1923
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1924
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1925
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1929
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933
test -z "$as_dir" && as_dir=.
1934
$as_echo "PATH: $as_dir"
1950
# Keep a trace of the command line.
1951
# Strip out --no-create and --no-recursion so they do not pile up.
1952
# Strip out --silent because we don't want to record it for future runs.
1953
# Also quote any args containing shell meta-characters.
1954
# Make two passes to allow for proper duplicate-argument suppression.
1958
ac_must_keep_next=false
1964
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1965
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1966
| -silent | --silent | --silen | --sile | --sil)
1969
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1972
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1974
as_fn_append ac_configure_args1 " '$ac_arg'"
1975
if test $ac_must_keep_next = true; then
1976
ac_must_keep_next=false # Got value, back to normal.
1979
*=* | --config-cache | -C | -disable-* | --disable-* \
1980
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1981
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1982
| -with-* | --with-* | -without-* | --without-* | --x)
1983
case "$ac_configure_args0 " in
1984
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1987
-* ) ac_must_keep_next=true ;;
1990
as_fn_append ac_configure_args " '$ac_arg'"
1995
{ ac_configure_args0=; unset ac_configure_args0;}
1996
{ ac_configure_args1=; unset ac_configure_args1;}
1998
# When interrupted or exit'd, cleanup temporary files, and complete
1999
# config.log. We remove comments because anyway the quotes in there
2000
# would cause problems or look ugly.
2001
# WARNING: Use '\'' to represent an apostrophe within the trap.
2002
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2003
trap 'exit_status=$?
2004
# Save into config.log some information that might help in debugging.
2009
## ---------------- ##
2010
## Cache variables. ##
2011
## ---------------- ##
2014
# The following way of writing the cache mishandles newlines in values,
2016
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2017
eval ac_val=\$$ac_var
2021
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2022
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2025
_ | IFS | as_nl) ;; #(
2026
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2027
*) { eval $ac_var=; unset $ac_var;} ;;
2032
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2033
*${as_nl}ac_space=\ *)
2035
"s/'\''/'\''\\\\'\'''\''/g;
2036
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2039
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2047
## ----------------- ##
2048
## Output variables. ##
2049
## ----------------- ##
2052
for ac_var in $ac_subst_vars
2054
eval ac_val=\$$ac_var
2056
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2058
$as_echo "$ac_var='\''$ac_val'\''"
2062
if test -n "$ac_subst_files"; then
2064
## ------------------- ##
2065
## File substitutions. ##
2066
## ------------------- ##
2069
for ac_var in $ac_subst_files
2071
eval ac_val=\$$ac_var
2073
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2075
$as_echo "$ac_var='\''$ac_val'\''"
2080
if test -s confdefs.h; then
2090
test "$ac_signal" != 0 &&
2091
$as_echo "$as_me: caught signal $ac_signal"
2092
$as_echo "$as_me: exit $exit_status"
2094
rm -f core *.core core.conftest.* &&
2095
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2098
for ac_signal in 1 2 13 15; do
2099
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2103
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2104
rm -f -r conftest* confdefs.h
2106
$as_echo "/* confdefs.h */" > confdefs.h
2108
# Predefined preprocessor variables.
2110
cat >>confdefs.h <<_ACEOF
2111
#define PACKAGE_NAME "$PACKAGE_NAME"
2114
cat >>confdefs.h <<_ACEOF
2115
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2118
cat >>confdefs.h <<_ACEOF
2119
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2122
cat >>confdefs.h <<_ACEOF
2123
#define PACKAGE_STRING "$PACKAGE_STRING"
2126
cat >>confdefs.h <<_ACEOF
2127
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2130
cat >>confdefs.h <<_ACEOF
2131
#define PACKAGE_URL "$PACKAGE_URL"
2135
# Let the site file select an alternate cache file if it wants to.
2136
# Prefer an explicitly selected file to automatically selected ones.
2139
if test -n "$CONFIG_SITE"; then
2140
ac_site_file1=$CONFIG_SITE
2141
elif test "x$prefix" != xNONE; then
2142
ac_site_file1=$prefix/share/config.site
2143
ac_site_file2=$prefix/etc/config.site
2145
ac_site_file1=$ac_default_prefix/share/config.site
2146
ac_site_file2=$ac_default_prefix/etc/config.site
2148
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2150
test "x$ac_site_file" = xNONE && continue
2151
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2152
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2153
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2154
sed 's/^/| /' "$ac_site_file" >&5
2159
if test -r "$cache_file"; then
2160
# Some versions of bash will fail to source /dev/null (special files
2161
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2162
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2163
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2164
$as_echo "$as_me: loading cache $cache_file" >&6;}
2166
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2167
*) . "./$cache_file";;
2171
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2172
$as_echo "$as_me: creating cache $cache_file" >&6;}
2176
# Check that the precious variables saved in the cache have kept the same
2178
ac_cache_corrupted=false
2179
for ac_var in $ac_precious_vars; do
2180
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2181
eval ac_new_set=\$ac_env_${ac_var}_set
2182
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2183
eval ac_new_val=\$ac_env_${ac_var}_value
2184
case $ac_old_set,$ac_new_set in
2186
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2187
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2188
ac_cache_corrupted=: ;;
2190
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2191
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2192
ac_cache_corrupted=: ;;
2195
if test "x$ac_old_val" != "x$ac_new_val"; then
2196
# differences in whitespace do not lead to failure.
2197
ac_old_val_w=`echo x $ac_old_val`
2198
ac_new_val_w=`echo x $ac_new_val`
2199
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2200
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2201
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2202
ac_cache_corrupted=:
2204
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2205
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2206
eval $ac_var=\$ac_old_val
2208
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2209
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2210
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2211
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2214
# Pass precious variables to config.status.
2215
if test "$ac_new_set" = set; then
2217
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2218
*) ac_arg=$ac_var=$ac_new_val ;;
2220
case " $ac_configure_args " in
2221
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2222
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2226
if $ac_cache_corrupted; then
2227
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2228
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2229
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2230
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2231
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2233
## -------------------- ##
2234
## Main body of script. ##
2235
## -------------------- ##
2238
ac_cpp='$CPP $CPPFLAGS'
2239
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2240
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2241
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2244
am__api_version='1.11'
2247
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2248
for ac_t in install-sh install.sh shtool; do
2249
if test -f "$ac_dir/$ac_t"; then
2251
ac_install_sh="$ac_aux_dir/$ac_t -c"
2256
if test -z "$ac_aux_dir"; then
2257
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2260
# These three variables are undocumented and unsupported,
2261
# and are intended to be withdrawn in a future Autoconf release.
2262
# They can cause serious problems if a builder's source tree is in a directory
2263
# whose full name contains unusual characters.
2264
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2265
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2266
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2269
# Find a good install program. We prefer a C program (faster),
2270
# so one script is as good as another. But avoid the broken or
2271
# incompatible versions:
2272
# SysV /etc/install, /usr/sbin/install
2273
# SunOS /usr/etc/install
2274
# IRIX /sbin/install
2276
# AmigaOS /C/install, which installs bootblocks on floppy discs
2277
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2278
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2279
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2280
# OS/2's system install, which has a completely different semantic
2281
# ./install, which can be erroneously created by make from ./install.sh.
2282
# Reject install programs that cannot install multiple files.
2283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2284
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2285
if test -z "$INSTALL"; then
2286
if test "${ac_cv_path_install+set}" = set; then :
2287
$as_echo_n "(cached) " >&6
2289
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293
test -z "$as_dir" && as_dir=.
2294
# Account for people who put trailing slashes in PATH elements.
2295
case $as_dir/ in #((
2296
./ | .// | /[cC]/* | \
2297
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2298
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2301
# OSF1 and SCO ODT 3.0 have their own names for install.
2302
# Don't use installbsd from OSF since it installs stuff as root
2304
for ac_prog in ginstall scoinst install; do
2305
for ac_exec_ext in '' $ac_executable_extensions; do
2306
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2307
if test $ac_prog = install &&
2308
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2309
# AIX install. It has an incompatible calling convention.
2311
elif test $ac_prog = install &&
2312
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2313
# program-specific install script used by HP pwplus--don't use.
2316
rm -rf conftest.one conftest.two conftest.dir
2317
echo one > conftest.one
2318
echo two > conftest.two
2320
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2321
test -s conftest.one && test -s conftest.two &&
2322
test -s conftest.dir/conftest.one &&
2323
test -s conftest.dir/conftest.two
2325
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2338
rm -rf conftest.one conftest.two conftest.dir
2341
if test "${ac_cv_path_install+set}" = set; then
2342
INSTALL=$ac_cv_path_install
2344
# As a last resort, use the slow shell script. Don't cache a
2345
# value for INSTALL within a source directory, because that will
2346
# break other packages using the cache if that directory is
2347
# removed, or if the value is a relative name.
2348
INSTALL=$ac_install_sh
2351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2352
$as_echo "$INSTALL" >&6; }
2354
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2355
# It thinks the first close brace ends the variable substitution.
2356
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2358
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2360
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2363
$as_echo_n "checking whether build environment is sane... " >&6; }
2366
echo timestamp > conftest.file
2367
# Reject unsafe characters in $srcdir or the absolute working directory
2368
# name. Accept space and tab only in the latter.
2372
*[\\\"\#\$\&\'\`$am_lf]*)
2373
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2376
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2377
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2380
# Do `set' in a subshell so we don't clobber the current shell's
2381
# arguments. Must try -L first in case configure is actually a
2382
# symlink; some systems play weird games with the mod time of symlinks
2383
# (eg FreeBSD returns the mod time of the symlink's containing
2386
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2387
if test "$*" = "X"; then
2389
set X `ls -t "$srcdir/configure" conftest.file`
2392
if test "$*" != "X $srcdir/configure conftest.file" \
2393
&& test "$*" != "X conftest.file $srcdir/configure"; then
2395
# If neither matched, then we have a broken ls. This can happen
2396
# if, for instance, CONFIG_SHELL is bash and it inherits a
2397
# broken ls alias from the environment. This has actually
2398
# happened. Such a system could not be considered "sane".
2399
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2400
alias in your environment" "$LINENO" 5
2403
test "$2" = conftest.file
2409
as_fn_error "newly created file is older than distributed files!
2410
Check your system clock" "$LINENO" 5
2412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2413
$as_echo "yes" >&6; }
2414
test "$program_prefix" != NONE &&
2415
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2416
# Use a double $ so make ignores it.
2417
test "$program_suffix" != NONE &&
2418
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2419
# Double any \ or $.
2420
# By default was `s,x,x', remove it if useless.
2421
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2422
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2424
# expand $ac_aux_dir to an absolute path
2425
am_aux_dir=`cd $ac_aux_dir && pwd`
2427
if test x"${MISSING+set}" != xset; then
2430
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2432
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2435
# Use eval to expand $SHELL
2436
if eval "$MISSING --run true"; then
2437
am_missing_run="$MISSING --run "
2440
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2441
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2444
if test x"${install_sh}" != xset; then
2447
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2449
install_sh="\${SHELL} $am_aux_dir/install-sh"
2453
# Installed binaries are usually stripped using `strip' when the user
2454
# run `make install-strip'. However `strip' might not be the right
2455
# tool to use in cross-compilation environments, therefore Automake
2456
# will honor the `STRIP' environment variable to overrule this program.
2457
if test "$cross_compiling" != no; then
2458
if test -n "$ac_tool_prefix"; then
2459
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2460
set dummy ${ac_tool_prefix}strip; ac_word=$2
2461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462
$as_echo_n "checking for $ac_word... " >&6; }
2463
if test "${ac_cv_prog_STRIP+set}" = set; then :
2464
$as_echo_n "(cached) " >&6
2466
if test -n "$STRIP"; then
2467
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2469
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2473
test -z "$as_dir" && as_dir=.
2474
for ac_exec_ext in '' $ac_executable_extensions; do
2475
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2477
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2486
STRIP=$ac_cv_prog_STRIP
2487
if test -n "$STRIP"; then
2488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2489
$as_echo "$STRIP" >&6; }
2491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492
$as_echo "no" >&6; }
2497
if test -z "$ac_cv_prog_STRIP"; then
2499
# Extract the first word of "strip", so it can be a program name with args.
2500
set dummy strip; ac_word=$2
2501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502
$as_echo_n "checking for $ac_word... " >&6; }
2503
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2504
$as_echo_n "(cached) " >&6
2506
if test -n "$ac_ct_STRIP"; then
2507
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2509
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513
test -z "$as_dir" && as_dir=.
2514
for ac_exec_ext in '' $ac_executable_extensions; do
2515
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2516
ac_cv_prog_ac_ct_STRIP="strip"
2517
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2527
if test -n "$ac_ct_STRIP"; then
2528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2529
$as_echo "$ac_ct_STRIP" >&6; }
2531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532
$as_echo "no" >&6; }
2535
if test "x$ac_ct_STRIP" = x; then
2538
case $cross_compiling:$ac_tool_warned in
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2541
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2542
ac_tool_warned=yes ;;
2547
STRIP="$ac_cv_prog_STRIP"
2551
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2554
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2555
if test -z "$MKDIR_P"; then
2556
if test "${ac_cv_path_mkdir+set}" = set; then :
2557
$as_echo_n "(cached) " >&6
2559
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2563
test -z "$as_dir" && as_dir=.
2564
for ac_prog in mkdir gmkdir; do
2565
for ac_exec_ext in '' $ac_executable_extensions; do
2566
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2567
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2568
'mkdir (GNU coreutils) '* | \
2569
'mkdir (coreutils) '* | \
2570
'mkdir (fileutils) '4.1*)
2571
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2581
test -d ./--version && rmdir ./--version
2582
if test "${ac_cv_path_mkdir+set}" = set; then
2583
MKDIR_P="$ac_cv_path_mkdir -p"
2585
# As a last resort, use the slow shell script. Don't cache a
2586
# value for MKDIR_P within a source directory, because that will
2587
# break other packages using the cache if that directory is
2588
# removed, or if the value is a relative name.
2589
MKDIR_P="$ac_install_sh -d"
2592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2593
$as_echo "$MKDIR_P" >&6; }
2597
[\\/$]* | ?:[\\/]*) ;;
2598
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2601
for ac_prog in gawk mawk nawk awk
2603
# Extract the first word of "$ac_prog", so it can be a program name with args.
2604
set dummy $ac_prog; ac_word=$2
2605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606
$as_echo_n "checking for $ac_word... " >&6; }
2607
if test "${ac_cv_prog_AWK+set}" = set; then :
2608
$as_echo_n "(cached) " >&6
2610
if test -n "$AWK"; then
2611
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2613
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617
test -z "$as_dir" && as_dir=.
2618
for ac_exec_ext in '' $ac_executable_extensions; do
2619
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620
ac_cv_prog_AWK="$ac_prog"
2621
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2631
if test -n "$AWK"; then
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2633
$as_echo "$AWK" >&6; }
2635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636
$as_echo "no" >&6; }
2640
test -n "$AWK" && break
2643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2644
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2646
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2647
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2648
$as_echo_n "(cached) " >&6
2650
cat >conftest.make <<\_ACEOF
2653
@echo '@@@%%%=$(MAKE)=@@@%%%'
2655
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2656
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2658
eval ac_cv_prog_make_${ac_make}_set=yes;;
2660
eval ac_cv_prog_make_${ac_make}_set=no;;
2664
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2666
$as_echo "yes" >&6; }
2669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2670
$as_echo "no" >&6; }
2671
SET_MAKE="MAKE=${MAKE-make}"
2674
rm -rf .tst 2>/dev/null
2675
mkdir .tst 2>/dev/null
2676
if test -d .tst; then
2681
rmdir .tst 2>/dev/null
2683
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2684
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2685
# is not polluted with repeated "-I."
2686
am__isrc=' -I$(srcdir)'
2687
# test to see if srcdir already configured
2688
if test -f $srcdir/config.status; then
2689
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2693
# test whether we have cygpath
2694
if test -z "$CYGPATH_W"; then
2695
if (cygpath --version) >/dev/null 2>/dev/null; then
2696
CYGPATH_W='cygpath -w'
2703
# Define the identity of the package.
2704
PACKAGE=gecko-mediaplayer
2708
cat >>confdefs.h <<_ACEOF
2709
#define PACKAGE "$PACKAGE"
2713
cat >>confdefs.h <<_ACEOF
2714
#define VERSION "$VERSION"
2717
# Some tools Automake needs.
2719
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2722
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2725
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2728
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2731
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2733
# We need awk for the "check" target. The system "awk" is bad on
2735
# Always define AMTAR for backward compatibility.
2737
AMTAR=${AMTAR-"${am_missing_run}tar"}
2739
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2745
ac_config_headers="$ac_config_headers config.h"
2748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2749
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2750
# Check whether --enable-maintainer-mode was given.
2751
if test "${enable_maintainer_mode+set}" = set; then :
2752
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2754
USE_MAINTAINER_MODE=no
2757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2758
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2759
if test $USE_MAINTAINER_MODE = yes; then
2760
MAINTAINER_MODE_TRUE=
2761
MAINTAINER_MODE_FALSE='#'
2763
MAINTAINER_MODE_TRUE='#'
2764
MAINTAINER_MODE_FALSE=
2767
MAINT=$MAINTAINER_MODE_TRUE
2771
DEPDIR="${am__leading_dot}deps"
2773
ac_config_commands="$ac_config_commands depfiles"
2776
am_make=${MAKE-make}
2777
cat > confinc << 'END'
2779
@echo this is the am__doit target
2782
# If we don't find an include directive, just comment out the code.
2783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2784
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2788
# First try GNU make style include.
2789
echo "include confinc" > confmf
2790
# Ignore all kinds of additional output from `make'.
2791
case `$am_make -s -f confmf 2> /dev/null` in #(
2792
*the\ am__doit\ target*)
2798
# Now try BSD make style include.
2799
if test "$am__include" = "#"; then
2800
echo '.include "confinc"' > confmf
2801
case `$am_make -s -f confmf 2> /dev/null` in #(
2802
*the\ am__doit\ target*)
2803
am__include=.include
2811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2812
$as_echo "$_am_result" >&6; }
2813
rm -f confinc confmf
2815
# Check whether --enable-dependency-tracking was given.
2816
if test "${enable_dependency_tracking+set}" = set; then :
2817
enableval=$enable_dependency_tracking;
2820
if test "x$enable_dependency_tracking" != xno; then
2821
am_depcomp="$ac_aux_dir/depcomp"
2824
if test "x$enable_dependency_tracking" != xno; then
2834
ac_cpp='$CPP $CPPFLAGS'
2835
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2836
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2837
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2838
if test -n "$ac_tool_prefix"; then
2839
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2840
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842
$as_echo_n "checking for $ac_word... " >&6; }
2843
if test "${ac_cv_prog_CC+set}" = set; then :
2844
$as_echo_n "(cached) " >&6
2846
if test -n "$CC"; then
2847
ac_cv_prog_CC="$CC" # Let the user override the test.
2849
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853
test -z "$as_dir" && as_dir=.
2854
for ac_exec_ext in '' $ac_executable_extensions; do
2855
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2857
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2867
if test -n "$CC"; then
2868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2869
$as_echo "$CC" >&6; }
2871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872
$as_echo "no" >&6; }
2877
if test -z "$ac_cv_prog_CC"; then
2879
# Extract the first word of "gcc", so it can be a program name with args.
2880
set dummy gcc; ac_word=$2
2881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882
$as_echo_n "checking for $ac_word... " >&6; }
2883
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2884
$as_echo_n "(cached) " >&6
2886
if test -n "$ac_ct_CC"; then
2887
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2889
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893
test -z "$as_dir" && as_dir=.
2894
for ac_exec_ext in '' $ac_executable_extensions; do
2895
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896
ac_cv_prog_ac_ct_CC="gcc"
2897
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2907
if test -n "$ac_ct_CC"; then
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2909
$as_echo "$ac_ct_CC" >&6; }
2911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912
$as_echo "no" >&6; }
2915
if test "x$ac_ct_CC" = x; then
2918
case $cross_compiling:$ac_tool_warned in
2920
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2921
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2922
ac_tool_warned=yes ;;
2930
if test -z "$CC"; then
2931
if test -n "$ac_tool_prefix"; then
2932
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2933
set dummy ${ac_tool_prefix}cc; ac_word=$2
2934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935
$as_echo_n "checking for $ac_word... " >&6; }
2936
if test "${ac_cv_prog_CC+set}" = set; then :
2937
$as_echo_n "(cached) " >&6
2939
if test -n "$CC"; then
2940
ac_cv_prog_CC="$CC" # Let the user override the test.
2942
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946
test -z "$as_dir" && as_dir=.
2947
for ac_exec_ext in '' $ac_executable_extensions; do
2948
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949
ac_cv_prog_CC="${ac_tool_prefix}cc"
2950
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960
if test -n "$CC"; then
2961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2962
$as_echo "$CC" >&6; }
2964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965
$as_echo "no" >&6; }
2971
if test -z "$CC"; then
2972
# Extract the first word of "cc", so it can be a program name with args.
2973
set dummy cc; ac_word=$2
2974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975
$as_echo_n "checking for $ac_word... " >&6; }
2976
if test "${ac_cv_prog_CC+set}" = set; then :
2977
$as_echo_n "(cached) " >&6
2979
if test -n "$CC"; then
2980
ac_cv_prog_CC="$CC" # Let the user override the test.
2983
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987
test -z "$as_dir" && as_dir=.
2988
for ac_exec_ext in '' $ac_executable_extensions; do
2989
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2991
ac_prog_rejected=yes
2995
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002
if test $ac_prog_rejected = yes; then
3003
# We found a bogon in the path, so make sure we never use it.
3004
set dummy $ac_cv_prog_CC
3006
if test $# != 0; then
3007
# We chose a different compiler from the bogus one.
3008
# However, it has the same basename, so the bogon will be chosen
3009
# first if we set CC to just the basename; use the full file name.
3011
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3017
if test -n "$CC"; then
3018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3019
$as_echo "$CC" >&6; }
3021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022
$as_echo "no" >&6; }
3027
if test -z "$CC"; then
3028
if test -n "$ac_tool_prefix"; then
3029
for ac_prog in cl.exe
3031
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3032
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034
$as_echo_n "checking for $ac_word... " >&6; }
3035
if test "${ac_cv_prog_CC+set}" = set; then :
3036
$as_echo_n "(cached) " >&6
3038
if test -n "$CC"; then
3039
ac_cv_prog_CC="$CC" # Let the user override the test.
3041
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045
test -z "$as_dir" && as_dir=.
3046
for ac_exec_ext in '' $ac_executable_extensions; do
3047
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3049
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059
if test -n "$CC"; then
3060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3061
$as_echo "$CC" >&6; }
3063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064
$as_echo "no" >&6; }
3068
test -n "$CC" && break
3071
if test -z "$CC"; then
3073
for ac_prog in cl.exe
3075
# Extract the first word of "$ac_prog", so it can be a program name with args.
3076
set dummy $ac_prog; ac_word=$2
3077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078
$as_echo_n "checking for $ac_word... " >&6; }
3079
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3080
$as_echo_n "(cached) " >&6
3082
if test -n "$ac_ct_CC"; then
3083
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3085
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3089
test -z "$as_dir" && as_dir=.
3090
for ac_exec_ext in '' $ac_executable_extensions; do
3091
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3092
ac_cv_prog_ac_ct_CC="$ac_prog"
3093
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3102
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3103
if test -n "$ac_ct_CC"; then
3104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3105
$as_echo "$ac_ct_CC" >&6; }
3107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108
$as_echo "no" >&6; }
3112
test -n "$ac_ct_CC" && break
3115
if test "x$ac_ct_CC" = x; then
3118
case $cross_compiling:$ac_tool_warned in
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3121
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3122
ac_tool_warned=yes ;;
3131
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3133
as_fn_error "no acceptable C compiler found in \$PATH
3134
See \`config.log' for more details." "$LINENO" 5; }
3136
# Provide some information about the compiler.
3137
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3140
for ac_option in --version -v -V -qversion; do
3141
{ { ac_try="$ac_compiler $ac_option >&5"
3143
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144
*) ac_try_echo=$ac_try;;
3146
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3147
$as_echo "$ac_try_echo"; } >&5
3148
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3150
if test -s conftest.err; then
3152
... rest of stderr output deleted ...
3153
10q' conftest.err >conftest.er1
3154
cat conftest.er1 >&5
3156
rm -f conftest.er1 conftest.err
3157
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3158
test $ac_status = 0; }
3161
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162
/* end confdefs.h. */
3172
ac_clean_files_save=$ac_clean_files
3173
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3174
# Try to create an executable without -o first, disregard a.out.
3175
# It will help us diagnose broken compilers, and finding out an intuition
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3178
$as_echo_n "checking whether the C compiler works... " >&6; }
3179
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3181
# The possible output files:
3182
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3185
for ac_file in $ac_files
3188
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3189
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3194
if { { ac_try="$ac_link_default"
3196
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197
*) ac_try_echo=$ac_try;;
3199
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200
$as_echo "$ac_try_echo"; } >&5
3201
(eval "$ac_link_default") 2>&5
3203
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3204
test $ac_status = 0; }; then :
3205
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3206
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3207
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3208
# so that the user can short-circuit this test for compilers unknown to
3210
for ac_file in $ac_files ''
3212
test -f "$ac_file" || continue
3214
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3217
# We found the default executable, but exeext='' is most
3221
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3223
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3225
# We set ac_cv_exeext here because the later test for it is not
3226
# safe: cross compilers may not add the suffix if given an `-o'
3227
# argument, so we may need to know it at that point already.
3228
# Even if this section looks crufty: it has the advantage of
3235
test "$ac_cv_exeext" = no && ac_cv_exeext=
3240
if test -z "$ac_file"; then :
3241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242
$as_echo "no" >&6; }
3243
$as_echo "$as_me: failed program was:" >&5
3244
sed 's/^/| /' conftest.$ac_ext >&5
3246
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248
{ as_fn_set_status 77
3249
as_fn_error "C compiler cannot create executables
3250
See \`config.log' for more details." "$LINENO" 5; }; }
3252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3253
$as_echo "yes" >&6; }
3255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3256
$as_echo_n "checking for C compiler default output file name... " >&6; }
3257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3258
$as_echo "$ac_file" >&6; }
3259
ac_exeext=$ac_cv_exeext
3261
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3262
ac_clean_files=$ac_clean_files_save
3263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3264
$as_echo_n "checking for suffix of executables... " >&6; }
3265
if { { ac_try="$ac_link"
3267
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268
*) ac_try_echo=$ac_try;;
3270
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3271
$as_echo "$ac_try_echo"; } >&5
3272
(eval "$ac_link") 2>&5
3274
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3275
test $ac_status = 0; }; then :
3276
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3277
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3278
# work properly (i.e., refer to `conftest.exe'), while it won't with
3280
for ac_file in conftest.exe conftest conftest.*; do
3281
test -f "$ac_file" || continue
3283
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3284
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3290
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3291
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3292
as_fn_error "cannot compute suffix of executables: cannot compile and link
3293
See \`config.log' for more details." "$LINENO" 5; }
3295
rm -f conftest conftest$ac_cv_exeext
3296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3297
$as_echo "$ac_cv_exeext" >&6; }
3299
rm -f conftest.$ac_ext
3300
EXEEXT=$ac_cv_exeext
3302
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303
/* end confdefs.h. */
3308
FILE *f = fopen ("conftest.out", "w");
3309
return ferror (f) || fclose (f) != 0;
3315
ac_clean_files="$ac_clean_files conftest.out"
3316
# Check that the compiler produces executables we can run. If not, either
3317
# the compiler is broken, or we cross compile.
3318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3319
$as_echo_n "checking whether we are cross compiling... " >&6; }
3320
if test "$cross_compiling" != yes; then
3321
{ { ac_try="$ac_link"
3323
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324
*) ac_try_echo=$ac_try;;
3326
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3327
$as_echo "$ac_try_echo"; } >&5
3328
(eval "$ac_link") 2>&5
3330
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3331
test $ac_status = 0; }
3332
if { ac_try='./conftest$ac_cv_exeext'
3333
{ { case "(($ac_try" in
3334
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335
*) ac_try_echo=$ac_try;;
3337
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3338
$as_echo "$ac_try_echo"; } >&5
3339
(eval "$ac_try") 2>&5
3341
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3342
test $ac_status = 0; }; }; then
3345
if test "$cross_compiling" = maybe; then
3348
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3349
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350
as_fn_error "cannot run C compiled programs.
3351
If you meant to cross compile, use \`--host'.
3352
See \`config.log' for more details." "$LINENO" 5; }
3356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3357
$as_echo "$cross_compiling" >&6; }
3359
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3360
ac_clean_files=$ac_clean_files_save
3361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3362
$as_echo_n "checking for suffix of object files... " >&6; }
3363
if test "${ac_cv_objext+set}" = set; then :
3364
$as_echo_n "(cached) " >&6
3366
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367
/* end confdefs.h. */
3377
rm -f conftest.o conftest.obj
3378
if { { ac_try="$ac_compile"
3380
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381
*) ac_try_echo=$ac_try;;
3383
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3384
$as_echo "$ac_try_echo"; } >&5
3385
(eval "$ac_compile") 2>&5
3387
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3388
test $ac_status = 0; }; then :
3389
for ac_file in conftest.o conftest.obj conftest.*; do
3390
test -f "$ac_file" || continue;
3392
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3393
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3398
$as_echo "$as_me: failed program was:" >&5
3399
sed 's/^/| /' conftest.$ac_ext >&5
3401
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403
as_fn_error "cannot compute suffix of object files: cannot compile
3404
See \`config.log' for more details." "$LINENO" 5; }
3406
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3409
$as_echo "$ac_cv_objext" >&6; }
3410
OBJEXT=$ac_cv_objext
3412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3413
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3414
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3415
$as_echo_n "(cached) " >&6
3417
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418
/* end confdefs.h. */
3431
if ac_fn_c_try_compile "$LINENO"; then :
3436
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3441
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3442
if test $ac_compiler_gnu = yes; then
3447
ac_test_CFLAGS=${CFLAGS+set}
3448
ac_save_CFLAGS=$CFLAGS
3449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3450
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3451
if test "${ac_cv_prog_cc_g+set}" = set; then :
3452
$as_echo_n "(cached) " >&6
3454
ac_save_c_werror_flag=$ac_c_werror_flag
3455
ac_c_werror_flag=yes
3458
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459
/* end confdefs.h. */
3469
if ac_fn_c_try_compile "$LINENO"; then :
3473
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474
/* end confdefs.h. */
3484
if ac_fn_c_try_compile "$LINENO"; then :
3487
ac_c_werror_flag=$ac_save_c_werror_flag
3489
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490
/* end confdefs.h. */
3500
if ac_fn_c_try_compile "$LINENO"; then :
3503
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3508
ac_c_werror_flag=$ac_save_c_werror_flag
3510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3511
$as_echo "$ac_cv_prog_cc_g" >&6; }
3512
if test "$ac_test_CFLAGS" = set; then
3513
CFLAGS=$ac_save_CFLAGS
3514
elif test $ac_cv_prog_cc_g = yes; then
3515
if test "$GCC" = yes; then
3521
if test "$GCC" = yes; then
3527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3528
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3529
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3530
$as_echo_n "(cached) " >&6
3532
ac_cv_prog_cc_c89=no
3534
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535
/* end confdefs.h. */
3538
#include <sys/types.h>
3539
#include <sys/stat.h>
3540
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3541
struct buf { int x; };
3542
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3543
static char *e (p, i)
3549
static char *f (char * (*g) (char **, int), char **p, ...)
3554
s = g (p, va_arg (v,int));
3559
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3560
function prototypes and stuff, but not '\xHH' hex character constants.
3561
These don't provoke an error unfortunately, instead are silently treated
3562
as 'x'. The following induces an error, until -std is added to get
3563
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3564
array size at least. It's necessary to write '\x00'==0 to get something
3565
that's true only with -std. */
3566
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3568
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3569
inside strings and character constants. */
3571
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3573
int test (int i, double x);
3574
struct s1 {int (*f) (int a);};
3575
struct s2 {int (*f) (double a);};
3576
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3582
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3587
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3588
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3590
CC="$ac_save_CC $ac_arg"
3591
if ac_fn_c_try_compile "$LINENO"; then :
3592
ac_cv_prog_cc_c89=$ac_arg
3594
rm -f core conftest.err conftest.$ac_objext
3595
test "x$ac_cv_prog_cc_c89" != "xno" && break
3597
rm -f conftest.$ac_ext
3602
case "x$ac_cv_prog_cc_c89" in
3604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3605
$as_echo "none needed" >&6; } ;;
3607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3608
$as_echo "unsupported" >&6; } ;;
3610
CC="$CC $ac_cv_prog_cc_c89"
3611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3612
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3614
if test "x$ac_cv_prog_cc_c89" != xno; then :
3619
ac_cpp='$CPP $CPPFLAGS'
3620
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3621
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3622
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3624
depcc="$CC" am_compiler_list=
3626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3627
$as_echo_n "checking dependency style of $depcc... " >&6; }
3628
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3629
$as_echo_n "(cached) " >&6
3631
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3632
# We make a subdir and do the tests there. Otherwise we can end up
3633
# making bogus files that we don't know about and never remove. For
3634
# instance it was reported that on HP-UX the gcc test will end up
3635
# making a dummy file named `D' -- because `-MD' means `put the output
3638
# Copy depcomp to subdir because otherwise we won't find it if we're
3639
# using a relative directory.
3640
cp "$am_depcomp" conftest.dir
3642
# We will build objects and dependencies in a subdirectory because
3643
# it helps to detect inapplicable dependency modes. For instance
3644
# both Tru64's cc and ICC support -MD to output dependencies as a
3645
# side effect of compilation, but ICC will put the dependencies in
3646
# the current directory while Tru64 will put them in the object
3650
am_cv_CC_dependencies_compiler_type=none
3651
if test "$am_compiler_list" = ""; then
3652
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3655
case " $depcc " in #(
3656
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3659
for depmode in $am_compiler_list; do
3660
# Setup a source with many dependencies, because some compilers
3661
# like to wrap large dependency lists on column 80 (with \), and
3662
# we should not choose a depcomp mode which is confused by this.
3664
# We need to recreate these files for each test, as the compiler may
3665
# overwrite some of them when testing with obscure command lines.
3666
# This happens at least with the AIX C compiler.
3668
for i in 1 2 3 4 5 6; do
3669
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3670
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3671
# Solaris 8's {/usr,}/bin/sh.
3672
touch sub/conftst$i.h
3674
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3676
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3677
# mode. It turns out that the SunPro C++ compiler does not properly
3678
# handle `-M -o', and we need to detect this. Also, some Intel
3679
# versions had trouble with output in subdirs
3680
am__obj=sub/conftest.${OBJEXT-o}
3681
am__minus_obj="-o $am__obj"
3684
# This depmode causes a compiler race in universal mode.
3685
test "$am__universal" = false || continue
3688
# after this tag, mechanisms are not by side-effect, so they'll
3689
# only be used when explicitly requested
3690
if test "x$enable_dependency_tracking" = xyes; then
3696
msvisualcpp | msvcmsys)
3697
# This compiler won't grok `-c -o', but also, the minuso test has
3698
# not run yet. These depmodes are late enough in the game, and
3699
# so weak that their functioning should not be impacted.
3700
am__obj=conftest.${OBJEXT-o}
3705
if depmode=$depmode \
3706
source=sub/conftest.c object=$am__obj \
3707
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3708
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3709
>/dev/null 2>conftest.err &&
3710
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3711
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3712
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3713
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3714
# icc doesn't choke on unknown options, it will just issue warnings
3715
# or remarks (even with -Werror). So we grep stderr for any message
3716
# that says an option was ignored or not supported.
3717
# When given -MP, icc 7.0 and 7.1 complain thusly:
3718
# icc: Command line warning: ignoring option '-M'; no argument required
3719
# The diagnosis changed in icc 8.0:
3720
# icc: Command line remark: option '-MP' not supported
3721
if (grep 'ignoring option' conftest.err ||
3722
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3723
am_cv_CC_dependencies_compiler_type=$depmode
3732
am_cv_CC_dependencies_compiler_type=none
3736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3737
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3738
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3741
test "x$enable_dependency_tracking" != xno \
3742
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3744
am__fastdepCC_FALSE='#'
3746
am__fastdepCC_TRUE='#'
3747
am__fastdepCC_FALSE=
3752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3753
$as_echo_n "checking for library containing strerror... " >&6; }
3754
if test "${ac_cv_search_strerror+set}" = set; then :
3755
$as_echo_n "(cached) " >&6
3757
ac_func_search_save_LIBS=$LIBS
3758
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759
/* end confdefs.h. */
3761
/* Override any GCC internal prototype to avoid an error.
3762
Use char because int might match the return type of a GCC
3763
builtin and then its argument prototype would still apply. */
3776
for ac_lib in '' cposix; do
3777
if test -z "$ac_lib"; then
3778
ac_res="none required"
3781
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3783
if ac_fn_c_try_link "$LINENO"; then :
3784
ac_cv_search_strerror=$ac_res
3786
rm -f core conftest.err conftest.$ac_objext \
3788
if test "${ac_cv_search_strerror+set}" = set; then :
3792
if test "${ac_cv_search_strerror+set}" = set; then :
3795
ac_cv_search_strerror=no
3798
LIBS=$ac_func_search_save_LIBS
3800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3801
$as_echo "$ac_cv_search_strerror" >&6; }
3802
ac_res=$ac_cv_search_strerror
3803
if test "$ac_res" != no; then :
3804
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3809
ac_cpp='$CPP $CPPFLAGS'
3810
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3811
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3812
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3813
if test -n "$ac_tool_prefix"; then
3814
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3815
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3817
$as_echo_n "checking for $ac_word... " >&6; }
3818
if test "${ac_cv_prog_CC+set}" = set; then :
3819
$as_echo_n "(cached) " >&6
3821
if test -n "$CC"; then
3822
ac_cv_prog_CC="$CC" # Let the user override the test.
3824
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3828
test -z "$as_dir" && as_dir=.
3829
for ac_exec_ext in '' $ac_executable_extensions; do
3830
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3831
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3832
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3842
if test -n "$CC"; then
3843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3844
$as_echo "$CC" >&6; }
3846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847
$as_echo "no" >&6; }
3852
if test -z "$ac_cv_prog_CC"; then
3854
# Extract the first word of "gcc", so it can be a program name with args.
3855
set dummy gcc; ac_word=$2
3856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3857
$as_echo_n "checking for $ac_word... " >&6; }
3858
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3859
$as_echo_n "(cached) " >&6
3861
if test -n "$ac_ct_CC"; then
3862
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3864
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3868
test -z "$as_dir" && as_dir=.
3869
for ac_exec_ext in '' $ac_executable_extensions; do
3870
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3871
ac_cv_prog_ac_ct_CC="gcc"
3872
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3881
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3882
if test -n "$ac_ct_CC"; then
3883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3884
$as_echo "$ac_ct_CC" >&6; }
3886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887
$as_echo "no" >&6; }
3890
if test "x$ac_ct_CC" = x; then
3893
case $cross_compiling:$ac_tool_warned in
3895
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3896
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3897
ac_tool_warned=yes ;;
3905
if test -z "$CC"; then
3906
if test -n "$ac_tool_prefix"; then
3907
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3908
set dummy ${ac_tool_prefix}cc; ac_word=$2
3909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910
$as_echo_n "checking for $ac_word... " >&6; }
3911
if test "${ac_cv_prog_CC+set}" = set; then :
3912
$as_echo_n "(cached) " >&6
3914
if test -n "$CC"; then
3915
ac_cv_prog_CC="$CC" # Let the user override the test.
3917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3921
test -z "$as_dir" && as_dir=.
3922
for ac_exec_ext in '' $ac_executable_extensions; do
3923
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3924
ac_cv_prog_CC="${ac_tool_prefix}cc"
3925
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3935
if test -n "$CC"; then
3936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3937
$as_echo "$CC" >&6; }
3939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940
$as_echo "no" >&6; }
3946
if test -z "$CC"; then
3947
# Extract the first word of "cc", so it can be a program name with args.
3948
set dummy cc; ac_word=$2
3949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950
$as_echo_n "checking for $ac_word... " >&6; }
3951
if test "${ac_cv_prog_CC+set}" = set; then :
3952
$as_echo_n "(cached) " >&6
3954
if test -n "$CC"; then
3955
ac_cv_prog_CC="$CC" # Let the user override the test.
3958
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962
test -z "$as_dir" && as_dir=.
3963
for ac_exec_ext in '' $ac_executable_extensions; do
3964
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3965
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3966
ac_prog_rejected=yes
3970
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3977
if test $ac_prog_rejected = yes; then
3978
# We found a bogon in the path, so make sure we never use it.
3979
set dummy $ac_cv_prog_CC
3981
if test $# != 0; then
3982
# We chose a different compiler from the bogus one.
3983
# However, it has the same basename, so the bogon will be chosen
3984
# first if we set CC to just the basename; use the full file name.
3986
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3992
if test -n "$CC"; then
3993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3994
$as_echo "$CC" >&6; }
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997
$as_echo "no" >&6; }
4002
if test -z "$CC"; then
4003
if test -n "$ac_tool_prefix"; then
4004
for ac_prog in cl.exe
4006
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4007
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4009
$as_echo_n "checking for $ac_word... " >&6; }
4010
if test "${ac_cv_prog_CC+set}" = set; then :
4011
$as_echo_n "(cached) " >&6
4013
if test -n "$CC"; then
4014
ac_cv_prog_CC="$CC" # Let the user override the test.
4016
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4020
test -z "$as_dir" && as_dir=.
4021
for ac_exec_ext in '' $ac_executable_extensions; do
4022
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4023
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4024
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4034
if test -n "$CC"; then
4035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4036
$as_echo "$CC" >&6; }
4038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039
$as_echo "no" >&6; }
4043
test -n "$CC" && break
4046
if test -z "$CC"; then
4048
for ac_prog in cl.exe
4050
# Extract the first word of "$ac_prog", so it can be a program name with args.
4051
set dummy $ac_prog; ac_word=$2
4052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4053
$as_echo_n "checking for $ac_word... " >&6; }
4054
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4055
$as_echo_n "(cached) " >&6
4057
if test -n "$ac_ct_CC"; then
4058
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4060
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064
test -z "$as_dir" && as_dir=.
4065
for ac_exec_ext in '' $ac_executable_extensions; do
4066
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4067
ac_cv_prog_ac_ct_CC="$ac_prog"
4068
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4077
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4078
if test -n "$ac_ct_CC"; then
4079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4080
$as_echo "$ac_ct_CC" >&6; }
4082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083
$as_echo "no" >&6; }
4087
test -n "$ac_ct_CC" && break
4090
if test "x$ac_ct_CC" = x; then
4093
case $cross_compiling:$ac_tool_warned in
4095
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4096
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4097
ac_tool_warned=yes ;;
4106
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4108
as_fn_error "no acceptable C compiler found in \$PATH
4109
See \`config.log' for more details." "$LINENO" 5; }
4111
# Provide some information about the compiler.
4112
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4115
for ac_option in --version -v -V -qversion; do
4116
{ { ac_try="$ac_compiler $ac_option >&5"
4118
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119
*) ac_try_echo=$ac_try;;
4121
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4122
$as_echo "$ac_try_echo"; } >&5
4123
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4125
if test -s conftest.err; then
4127
... rest of stderr output deleted ...
4128
10q' conftest.err >conftest.er1
4129
cat conftest.er1 >&5
4131
rm -f conftest.er1 conftest.err
4132
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4133
test $ac_status = 0; }
4136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4137
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4138
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4139
$as_echo_n "(cached) " >&6
4141
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142
/* end confdefs.h. */
4155
if ac_fn_c_try_compile "$LINENO"; then :
4160
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4165
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4166
if test $ac_compiler_gnu = yes; then
4171
ac_test_CFLAGS=${CFLAGS+set}
4172
ac_save_CFLAGS=$CFLAGS
4173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4174
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4175
if test "${ac_cv_prog_cc_g+set}" = set; then :
4176
$as_echo_n "(cached) " >&6
4178
ac_save_c_werror_flag=$ac_c_werror_flag
4179
ac_c_werror_flag=yes
4182
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183
/* end confdefs.h. */
4193
if ac_fn_c_try_compile "$LINENO"; then :
4197
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198
/* end confdefs.h. */
4208
if ac_fn_c_try_compile "$LINENO"; then :
4211
ac_c_werror_flag=$ac_save_c_werror_flag
4213
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214
/* end confdefs.h. */
4224
if ac_fn_c_try_compile "$LINENO"; then :
4227
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232
ac_c_werror_flag=$ac_save_c_werror_flag
4234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4235
$as_echo "$ac_cv_prog_cc_g" >&6; }
4236
if test "$ac_test_CFLAGS" = set; then
4237
CFLAGS=$ac_save_CFLAGS
4238
elif test $ac_cv_prog_cc_g = yes; then
4239
if test "$GCC" = yes; then
4245
if test "$GCC" = yes; then
4251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4252
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4253
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4254
$as_echo_n "(cached) " >&6
4256
ac_cv_prog_cc_c89=no
4258
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259
/* end confdefs.h. */
4262
#include <sys/types.h>
4263
#include <sys/stat.h>
4264
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4265
struct buf { int x; };
4266
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4267
static char *e (p, i)
4273
static char *f (char * (*g) (char **, int), char **p, ...)
4278
s = g (p, va_arg (v,int));
4283
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4284
function prototypes and stuff, but not '\xHH' hex character constants.
4285
These don't provoke an error unfortunately, instead are silently treated
4286
as 'x'. The following induces an error, until -std is added to get
4287
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4288
array size at least. It's necessary to write '\x00'==0 to get something
4289
that's true only with -std. */
4290
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4292
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4293
inside strings and character constants. */
4295
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4297
int test (int i, double x);
4298
struct s1 {int (*f) (int a);};
4299
struct s2 {int (*f) (double a);};
4300
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4306
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4311
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4312
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4314
CC="$ac_save_CC $ac_arg"
4315
if ac_fn_c_try_compile "$LINENO"; then :
4316
ac_cv_prog_cc_c89=$ac_arg
4318
rm -f core conftest.err conftest.$ac_objext
4319
test "x$ac_cv_prog_cc_c89" != "xno" && break
4321
rm -f conftest.$ac_ext
4326
case "x$ac_cv_prog_cc_c89" in
4328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4329
$as_echo "none needed" >&6; } ;;
4331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4332
$as_echo "unsupported" >&6; } ;;
4334
CC="$CC $ac_cv_prog_cc_c89"
4335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4336
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4338
if test "x$ac_cv_prog_cc_c89" != xno; then :
4343
ac_cpp='$CPP $CPPFLAGS'
4344
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348
depcc="$CC" am_compiler_list=
4350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4351
$as_echo_n "checking dependency style of $depcc... " >&6; }
4352
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4353
$as_echo_n "(cached) " >&6
4355
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4356
# We make a subdir and do the tests there. Otherwise we can end up
4357
# making bogus files that we don't know about and never remove. For
4358
# instance it was reported that on HP-UX the gcc test will end up
4359
# making a dummy file named `D' -- because `-MD' means `put the output
4362
# Copy depcomp to subdir because otherwise we won't find it if we're
4363
# using a relative directory.
4364
cp "$am_depcomp" conftest.dir
4366
# We will build objects and dependencies in a subdirectory because
4367
# it helps to detect inapplicable dependency modes. For instance
4368
# both Tru64's cc and ICC support -MD to output dependencies as a
4369
# side effect of compilation, but ICC will put the dependencies in
4370
# the current directory while Tru64 will put them in the object
4374
am_cv_CC_dependencies_compiler_type=none
4375
if test "$am_compiler_list" = ""; then
4376
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4379
case " $depcc " in #(
4380
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4383
for depmode in $am_compiler_list; do
4384
# Setup a source with many dependencies, because some compilers
4385
# like to wrap large dependency lists on column 80 (with \), and
4386
# we should not choose a depcomp mode which is confused by this.
4388
# We need to recreate these files for each test, as the compiler may
4389
# overwrite some of them when testing with obscure command lines.
4390
# This happens at least with the AIX C compiler.
4392
for i in 1 2 3 4 5 6; do
4393
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4394
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4395
# Solaris 8's {/usr,}/bin/sh.
4396
touch sub/conftst$i.h
4398
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4400
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4401
# mode. It turns out that the SunPro C++ compiler does not properly
4402
# handle `-M -o', and we need to detect this. Also, some Intel
4403
# versions had trouble with output in subdirs
4404
am__obj=sub/conftest.${OBJEXT-o}
4405
am__minus_obj="-o $am__obj"
4408
# This depmode causes a compiler race in universal mode.
4409
test "$am__universal" = false || continue
4412
# after this tag, mechanisms are not by side-effect, so they'll
4413
# only be used when explicitly requested
4414
if test "x$enable_dependency_tracking" = xyes; then
4420
msvisualcpp | msvcmsys)
4421
# This compiler won't grok `-c -o', but also, the minuso test has
4422
# not run yet. These depmodes are late enough in the game, and
4423
# so weak that their functioning should not be impacted.
4424
am__obj=conftest.${OBJEXT-o}
4429
if depmode=$depmode \
4430
source=sub/conftest.c object=$am__obj \
4431
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4432
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4433
>/dev/null 2>conftest.err &&
4434
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4435
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4436
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4437
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4438
# icc doesn't choke on unknown options, it will just issue warnings
4439
# or remarks (even with -Werror). So we grep stderr for any message
4440
# that says an option was ignored or not supported.
4441
# When given -MP, icc 7.0 and 7.1 complain thusly:
4442
# icc: Command line warning: ignoring option '-M'; no argument required
4443
# The diagnosis changed in icc 8.0:
4444
# icc: Command line remark: option '-MP' not supported
4445
if (grep 'ignoring option' conftest.err ||
4446
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4447
am_cv_CC_dependencies_compiler_type=$depmode
4456
am_cv_CC_dependencies_compiler_type=none
4460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4461
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4462
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4465
test "x$enable_dependency_tracking" != xno \
4466
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4468
am__fastdepCC_FALSE='#'
4470
am__fastdepCC_TRUE='#'
4471
am__fastdepCC_FALSE=
4476
ac_cpp='$CPP $CPPFLAGS'
4477
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4478
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4479
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4480
if test -n "$ac_tool_prefix"; then
4481
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4482
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484
$as_echo_n "checking for $ac_word... " >&6; }
4485
if test "${ac_cv_prog_CC+set}" = set; then :
4486
$as_echo_n "(cached) " >&6
4488
if test -n "$CC"; then
4489
ac_cv_prog_CC="$CC" # Let the user override the test.
4491
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4495
test -z "$as_dir" && as_dir=.
4496
for ac_exec_ext in '' $ac_executable_extensions; do
4497
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4498
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4499
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509
if test -n "$CC"; then
4510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4511
$as_echo "$CC" >&6; }
4513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4514
$as_echo "no" >&6; }
4519
if test -z "$ac_cv_prog_CC"; then
4521
# Extract the first word of "gcc", so it can be a program name with args.
4522
set dummy gcc; ac_word=$2
4523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4524
$as_echo_n "checking for $ac_word... " >&6; }
4525
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4526
$as_echo_n "(cached) " >&6
4528
if test -n "$ac_ct_CC"; then
4529
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4531
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535
test -z "$as_dir" && as_dir=.
4536
for ac_exec_ext in '' $ac_executable_extensions; do
4537
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4538
ac_cv_prog_ac_ct_CC="gcc"
4539
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4548
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4549
if test -n "$ac_ct_CC"; then
4550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4551
$as_echo "$ac_ct_CC" >&6; }
4553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4554
$as_echo "no" >&6; }
4557
if test "x$ac_ct_CC" = x; then
4560
case $cross_compiling:$ac_tool_warned in
4562
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4563
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4564
ac_tool_warned=yes ;;
4572
if test -z "$CC"; then
4573
if test -n "$ac_tool_prefix"; then
4574
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4575
set dummy ${ac_tool_prefix}cc; ac_word=$2
4576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577
$as_echo_n "checking for $ac_word... " >&6; }
4578
if test "${ac_cv_prog_CC+set}" = set; then :
4579
$as_echo_n "(cached) " >&6
4581
if test -n "$CC"; then
4582
ac_cv_prog_CC="$CC" # Let the user override the test.
4584
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588
test -z "$as_dir" && as_dir=.
4589
for ac_exec_ext in '' $ac_executable_extensions; do
4590
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4591
ac_cv_prog_CC="${ac_tool_prefix}cc"
4592
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4602
if test -n "$CC"; then
4603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4604
$as_echo "$CC" >&6; }
4606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607
$as_echo "no" >&6; }
4613
if test -z "$CC"; then
4614
# Extract the first word of "cc", so it can be a program name with args.
4615
set dummy cc; ac_word=$2
4616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617
$as_echo_n "checking for $ac_word... " >&6; }
4618
if test "${ac_cv_prog_CC+set}" = set; then :
4619
$as_echo_n "(cached) " >&6
4621
if test -n "$CC"; then
4622
ac_cv_prog_CC="$CC" # Let the user override the test.
4625
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629
test -z "$as_dir" && as_dir=.
4630
for ac_exec_ext in '' $ac_executable_extensions; do
4631
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4632
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4633
ac_prog_rejected=yes
4637
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644
if test $ac_prog_rejected = yes; then
4645
# We found a bogon in the path, so make sure we never use it.
4646
set dummy $ac_cv_prog_CC
4648
if test $# != 0; then
4649
# We chose a different compiler from the bogus one.
4650
# However, it has the same basename, so the bogon will be chosen
4651
# first if we set CC to just the basename; use the full file name.
4653
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4659
if test -n "$CC"; then
4660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4661
$as_echo "$CC" >&6; }
4663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664
$as_echo "no" >&6; }
4669
if test -z "$CC"; then
4670
if test -n "$ac_tool_prefix"; then
4671
for ac_prog in cl.exe
4673
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4674
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676
$as_echo_n "checking for $ac_word... " >&6; }
4677
if test "${ac_cv_prog_CC+set}" = set; then :
4678
$as_echo_n "(cached) " >&6
4680
if test -n "$CC"; then
4681
ac_cv_prog_CC="$CC" # Let the user override the test.
4683
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4687
test -z "$as_dir" && as_dir=.
4688
for ac_exec_ext in '' $ac_executable_extensions; do
4689
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4690
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4691
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4701
if test -n "$CC"; then
4702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4703
$as_echo "$CC" >&6; }
4705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706
$as_echo "no" >&6; }
4710
test -n "$CC" && break
4713
if test -z "$CC"; then
4715
for ac_prog in cl.exe
4717
# Extract the first word of "$ac_prog", so it can be a program name with args.
4718
set dummy $ac_prog; ac_word=$2
4719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720
$as_echo_n "checking for $ac_word... " >&6; }
4721
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4722
$as_echo_n "(cached) " >&6
4724
if test -n "$ac_ct_CC"; then
4725
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731
test -z "$as_dir" && as_dir=.
4732
for ac_exec_ext in '' $ac_executable_extensions; do
4733
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4734
ac_cv_prog_ac_ct_CC="$ac_prog"
4735
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4744
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4745
if test -n "$ac_ct_CC"; then
4746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4747
$as_echo "$ac_ct_CC" >&6; }
4749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750
$as_echo "no" >&6; }
4754
test -n "$ac_ct_CC" && break
4757
if test "x$ac_ct_CC" = x; then
4760
case $cross_compiling:$ac_tool_warned in
4762
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4763
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4764
ac_tool_warned=yes ;;
4773
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4774
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4775
as_fn_error "no acceptable C compiler found in \$PATH
4776
See \`config.log' for more details." "$LINENO" 5; }
4778
# Provide some information about the compiler.
4779
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4782
for ac_option in --version -v -V -qversion; do
4783
{ { ac_try="$ac_compiler $ac_option >&5"
4785
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786
*) ac_try_echo=$ac_try;;
4788
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4789
$as_echo "$ac_try_echo"; } >&5
4790
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4792
if test -s conftest.err; then
4794
... rest of stderr output deleted ...
4795
10q' conftest.err >conftest.er1
4796
cat conftest.er1 >&5
4798
rm -f conftest.er1 conftest.err
4799
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4800
test $ac_status = 0; }
4803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4804
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4805
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4806
$as_echo_n "(cached) " >&6
4808
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809
/* end confdefs.h. */
4822
if ac_fn_c_try_compile "$LINENO"; then :
4827
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4828
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4832
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4833
if test $ac_compiler_gnu = yes; then
4838
ac_test_CFLAGS=${CFLAGS+set}
4839
ac_save_CFLAGS=$CFLAGS
4840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4841
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4842
if test "${ac_cv_prog_cc_g+set}" = set; then :
4843
$as_echo_n "(cached) " >&6
4845
ac_save_c_werror_flag=$ac_c_werror_flag
4846
ac_c_werror_flag=yes
4849
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850
/* end confdefs.h. */
4860
if ac_fn_c_try_compile "$LINENO"; then :
4864
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4865
/* end confdefs.h. */
4875
if ac_fn_c_try_compile "$LINENO"; then :
4878
ac_c_werror_flag=$ac_save_c_werror_flag
4880
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881
/* end confdefs.h. */
4891
if ac_fn_c_try_compile "$LINENO"; then :
4894
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4898
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899
ac_c_werror_flag=$ac_save_c_werror_flag
4901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4902
$as_echo "$ac_cv_prog_cc_g" >&6; }
4903
if test "$ac_test_CFLAGS" = set; then
4904
CFLAGS=$ac_save_CFLAGS
4905
elif test $ac_cv_prog_cc_g = yes; then
4906
if test "$GCC" = yes; then
4912
if test "$GCC" = yes; then
4918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4919
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4920
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4921
$as_echo_n "(cached) " >&6
4923
ac_cv_prog_cc_c89=no
4925
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926
/* end confdefs.h. */
4929
#include <sys/types.h>
4930
#include <sys/stat.h>
4931
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4932
struct buf { int x; };
4933
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4934
static char *e (p, i)
4940
static char *f (char * (*g) (char **, int), char **p, ...)
4945
s = g (p, va_arg (v,int));
4950
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4951
function prototypes and stuff, but not '\xHH' hex character constants.
4952
These don't provoke an error unfortunately, instead are silently treated
4953
as 'x'. The following induces an error, until -std is added to get
4954
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4955
array size at least. It's necessary to write '\x00'==0 to get something
4956
that's true only with -std. */
4957
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4959
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4960
inside strings and character constants. */
4962
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4964
int test (int i, double x);
4965
struct s1 {int (*f) (int a);};
4966
struct s2 {int (*f) (double a);};
4967
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4973
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4978
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4979
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4981
CC="$ac_save_CC $ac_arg"
4982
if ac_fn_c_try_compile "$LINENO"; then :
4983
ac_cv_prog_cc_c89=$ac_arg
4985
rm -f core conftest.err conftest.$ac_objext
4986
test "x$ac_cv_prog_cc_c89" != "xno" && break
4988
rm -f conftest.$ac_ext
4993
case "x$ac_cv_prog_cc_c89" in
4995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4996
$as_echo "none needed" >&6; } ;;
4998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4999
$as_echo "unsupported" >&6; } ;;
5001
CC="$CC $ac_cv_prog_cc_c89"
5002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5003
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5005
if test "x$ac_cv_prog_cc_c89" != xno; then :
5010
ac_cpp='$CPP $CPPFLAGS'
5011
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5012
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5013
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5015
depcc="$CC" am_compiler_list=
5017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5018
$as_echo_n "checking dependency style of $depcc... " >&6; }
5019
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5020
$as_echo_n "(cached) " >&6
5022
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5023
# We make a subdir and do the tests there. Otherwise we can end up
5024
# making bogus files that we don't know about and never remove. For
5025
# instance it was reported that on HP-UX the gcc test will end up
5026
# making a dummy file named `D' -- because `-MD' means `put the output
5029
# Copy depcomp to subdir because otherwise we won't find it if we're
5030
# using a relative directory.
5031
cp "$am_depcomp" conftest.dir
5033
# We will build objects and dependencies in a subdirectory because
5034
# it helps to detect inapplicable dependency modes. For instance
5035
# both Tru64's cc and ICC support -MD to output dependencies as a
5036
# side effect of compilation, but ICC will put the dependencies in
5037
# the current directory while Tru64 will put them in the object
5041
am_cv_CC_dependencies_compiler_type=none
5042
if test "$am_compiler_list" = ""; then
5043
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5046
case " $depcc " in #(
5047
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5050
for depmode in $am_compiler_list; do
5051
# Setup a source with many dependencies, because some compilers
5052
# like to wrap large dependency lists on column 80 (with \), and
5053
# we should not choose a depcomp mode which is confused by this.
5055
# We need to recreate these files for each test, as the compiler may
5056
# overwrite some of them when testing with obscure command lines.
5057
# This happens at least with the AIX C compiler.
5059
for i in 1 2 3 4 5 6; do
5060
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5061
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5062
# Solaris 8's {/usr,}/bin/sh.
5063
touch sub/conftst$i.h
5065
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5067
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5068
# mode. It turns out that the SunPro C++ compiler does not properly
5069
# handle `-M -o', and we need to detect this. Also, some Intel
5070
# versions had trouble with output in subdirs
5071
am__obj=sub/conftest.${OBJEXT-o}
5072
am__minus_obj="-o $am__obj"
5075
# This depmode causes a compiler race in universal mode.
5076
test "$am__universal" = false || continue
5079
# after this tag, mechanisms are not by side-effect, so they'll
5080
# only be used when explicitly requested
5081
if test "x$enable_dependency_tracking" = xyes; then
5087
msvisualcpp | msvcmsys)
5088
# This compiler won't grok `-c -o', but also, the minuso test has
5089
# not run yet. These depmodes are late enough in the game, and
5090
# so weak that their functioning should not be impacted.
5091
am__obj=conftest.${OBJEXT-o}
5096
if depmode=$depmode \
5097
source=sub/conftest.c object=$am__obj \
5098
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5099
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5100
>/dev/null 2>conftest.err &&
5101
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5102
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5103
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5104
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5105
# icc doesn't choke on unknown options, it will just issue warnings
5106
# or remarks (even with -Werror). So we grep stderr for any message
5107
# that says an option was ignored or not supported.
5108
# When given -MP, icc 7.0 and 7.1 complain thusly:
5109
# icc: Command line warning: ignoring option '-M'; no argument required
5110
# The diagnosis changed in icc 8.0:
5111
# icc: Command line remark: option '-MP' not supported
5112
if (grep 'ignoring option' conftest.err ||
5113
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5114
am_cv_CC_dependencies_compiler_type=$depmode
5123
am_cv_CC_dependencies_compiler_type=none
5127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5128
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5129
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5132
test "x$enable_dependency_tracking" != xno \
5133
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5135
am__fastdepCC_FALSE='#'
5137
am__fastdepCC_TRUE='#'
5138
am__fastdepCC_FALSE=
5143
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5146
ac_cpp='$CPP $CPPFLAGS'
5147
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5148
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5149
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5151
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5152
# On Suns, sometimes $CPP names a directory.
5153
if test -n "$CPP" && test -d "$CPP"; then
5156
if test -z "$CPP"; then
5157
if test "${ac_cv_prog_CPP+set}" = set; then :
5158
$as_echo_n "(cached) " >&6
5160
# Double quotes because CPP needs to be expanded
5161
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5164
for ac_c_preproc_warn_flag in '' yes
5166
# Use a header file that comes with gcc, so configuring glibc
5167
# with a fresh cross-compiler works.
5168
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5169
# <limits.h> exists even on freestanding compilers.
5170
# On the NeXT, cc -E runs the code through the compiler's parser,
5171
# not just through cpp. "Syntax error" is here to catch this case.
5172
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5173
/* end confdefs.h. */
5175
# include <limits.h>
5177
# include <assert.h>
5181
if ac_fn_c_try_cpp "$LINENO"; then :
5184
# Broken: fails on valid input.
5187
rm -f conftest.err conftest.$ac_ext
5189
# OK, works on sane cases. Now check whether nonexistent headers
5190
# can be detected and how.
5191
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5192
/* end confdefs.h. */
5193
#include <ac_nonexistent.h>
5195
if ac_fn_c_try_cpp "$LINENO"; then :
5196
# Broken: success on invalid input.
5199
# Passes both tests.
5203
rm -f conftest.err conftest.$ac_ext
5206
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5207
rm -f conftest.err conftest.$ac_ext
5208
if $ac_preproc_ok; then :
5220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5221
$as_echo "$CPP" >&6; }
5223
for ac_c_preproc_warn_flag in '' yes
5225
# Use a header file that comes with gcc, so configuring glibc
5226
# with a fresh cross-compiler works.
5227
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5228
# <limits.h> exists even on freestanding compilers.
5229
# On the NeXT, cc -E runs the code through the compiler's parser,
5230
# not just through cpp. "Syntax error" is here to catch this case.
5231
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5232
/* end confdefs.h. */
5234
# include <limits.h>
5236
# include <assert.h>
5240
if ac_fn_c_try_cpp "$LINENO"; then :
5243
# Broken: fails on valid input.
5246
rm -f conftest.err conftest.$ac_ext
5248
# OK, works on sane cases. Now check whether nonexistent headers
5249
# can be detected and how.
5250
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251
/* end confdefs.h. */
5252
#include <ac_nonexistent.h>
5254
if ac_fn_c_try_cpp "$LINENO"; then :
5255
# Broken: success on invalid input.
5258
# Passes both tests.
5262
rm -f conftest.err conftest.$ac_ext
5265
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5266
rm -f conftest.err conftest.$ac_ext
5267
if $ac_preproc_ok; then :
5270
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5271
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5272
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5273
See \`config.log' for more details." "$LINENO" 5; }
5277
ac_cpp='$CPP $CPPFLAGS'
5278
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5279
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5280
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5284
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5285
if test "${ac_cv_path_GREP+set}" = set; then :
5286
$as_echo_n "(cached) " >&6
5288
if test -z "$GREP"; then
5289
ac_path_GREP_found=false
5290
# Loop through the user's path and test for each of PROGNAME-LIST
5291
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5295
test -z "$as_dir" && as_dir=.
5296
for ac_prog in grep ggrep; do
5297
for ac_exec_ext in '' $ac_executable_extensions; do
5298
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5299
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5300
# Check for GNU ac_path_GREP and select it if it is found.
5301
# Check for GNU $ac_path_GREP
5302
case `"$ac_path_GREP" --version 2>&1` in
5304
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5307
$as_echo_n 0123456789 >"conftest.in"
5310
cat "conftest.in" "conftest.in" >"conftest.tmp"
5311
mv "conftest.tmp" "conftest.in"
5312
cp "conftest.in" "conftest.nl"
5313
$as_echo 'GREP' >> "conftest.nl"
5314
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5315
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5316
as_fn_arith $ac_count + 1 && ac_count=$as_val
5317
if test $ac_count -gt ${ac_path_GREP_max-0}; then
5318
# Best one so far, save it but keep looking for a better one
5319
ac_cv_path_GREP="$ac_path_GREP"
5320
ac_path_GREP_max=$ac_count
5322
# 10*(2^10) chars as input seems more than enough
5323
test $ac_count -gt 10 && break
5325
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5328
$ac_path_GREP_found && break 3
5333
if test -z "$ac_cv_path_GREP"; then
5334
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5337
ac_cv_path_GREP=$GREP
5341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5342
$as_echo "$ac_cv_path_GREP" >&6; }
5343
GREP="$ac_cv_path_GREP"
5346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5347
$as_echo_n "checking for egrep... " >&6; }
5348
if test "${ac_cv_path_EGREP+set}" = set; then :
5349
$as_echo_n "(cached) " >&6
5351
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5352
then ac_cv_path_EGREP="$GREP -E"
5354
if test -z "$EGREP"; then
5355
ac_path_EGREP_found=false
5356
# Loop through the user's path and test for each of PROGNAME-LIST
5357
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5358
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5361
test -z "$as_dir" && as_dir=.
5362
for ac_prog in egrep; do
5363
for ac_exec_ext in '' $ac_executable_extensions; do
5364
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5365
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5366
# Check for GNU ac_path_EGREP and select it if it is found.
5367
# Check for GNU $ac_path_EGREP
5368
case `"$ac_path_EGREP" --version 2>&1` in
5370
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5373
$as_echo_n 0123456789 >"conftest.in"
5376
cat "conftest.in" "conftest.in" >"conftest.tmp"
5377
mv "conftest.tmp" "conftest.in"
5378
cp "conftest.in" "conftest.nl"
5379
$as_echo 'EGREP' >> "conftest.nl"
5380
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5381
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5382
as_fn_arith $ac_count + 1 && ac_count=$as_val
5383
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5384
# Best one so far, save it but keep looking for a better one
5385
ac_cv_path_EGREP="$ac_path_EGREP"
5386
ac_path_EGREP_max=$ac_count
5388
# 10*(2^10) chars as input seems more than enough
5389
test $ac_count -gt 10 && break
5391
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5394
$ac_path_EGREP_found && break 3
5399
if test -z "$ac_cv_path_EGREP"; then
5400
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5403
ac_cv_path_EGREP=$EGREP
5408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5409
$as_echo "$ac_cv_path_EGREP" >&6; }
5410
EGREP="$ac_cv_path_EGREP"
5413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5414
$as_echo_n "checking for ANSI C header files... " >&6; }
5415
if test "${ac_cv_header_stdc+set}" = set; then :
5416
$as_echo_n "(cached) " >&6
5418
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419
/* end confdefs.h. */
5433
if ac_fn_c_try_compile "$LINENO"; then :
5434
ac_cv_header_stdc=yes
5436
ac_cv_header_stdc=no
5438
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5440
if test $ac_cv_header_stdc = yes; then
5441
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5442
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5443
/* end confdefs.h. */
5447
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5448
$EGREP "memchr" >/dev/null 2>&1; then :
5451
ac_cv_header_stdc=no
5457
if test $ac_cv_header_stdc = yes; then
5458
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5459
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5460
/* end confdefs.h. */
5464
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5465
$EGREP "free" >/dev/null 2>&1; then :
5468
ac_cv_header_stdc=no
5474
if test $ac_cv_header_stdc = yes; then
5475
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5476
if test "$cross_compiling" = yes; then :
5479
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480
/* end confdefs.h. */
5483
#if ((' ' & 0x0FF) == 0x020)
5484
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5485
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5487
# define ISLOWER(c) \
5488
(('a' <= (c) && (c) <= 'i') \
5489
|| ('j' <= (c) && (c) <= 'r') \
5490
|| ('s' <= (c) && (c) <= 'z'))
5491
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5494
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5499
for (i = 0; i < 256; i++)
5500
if (XOR (islower (i), ISLOWER (i))
5501
|| toupper (i) != TOUPPER (i))
5506
if ac_fn_c_try_run "$LINENO"; then :
5509
ac_cv_header_stdc=no
5511
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5512
conftest.$ac_objext conftest.beam conftest.$ac_ext
5517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5518
$as_echo "$ac_cv_header_stdc" >&6; }
5519
if test $ac_cv_header_stdc = yes; then
5521
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5528
ac_cpp='$CPP $CPPFLAGS'
5529
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5530
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5531
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5533
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5534
# On Suns, sometimes $CPP names a directory.
5535
if test -n "$CPP" && test -d "$CPP"; then
5538
if test -z "$CPP"; then
5539
if test "${ac_cv_prog_CPP+set}" = set; then :
5540
$as_echo_n "(cached) " >&6
5542
# Double quotes because CPP needs to be expanded
5543
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5546
for ac_c_preproc_warn_flag in '' yes
5548
# Use a header file that comes with gcc, so configuring glibc
5549
# with a fresh cross-compiler works.
5550
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5551
# <limits.h> exists even on freestanding compilers.
5552
# On the NeXT, cc -E runs the code through the compiler's parser,
5553
# not just through cpp. "Syntax error" is here to catch this case.
5554
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555
/* end confdefs.h. */
5557
# include <limits.h>
5559
# include <assert.h>
5563
if ac_fn_c_try_cpp "$LINENO"; then :
5566
# Broken: fails on valid input.
5569
rm -f conftest.err conftest.$ac_ext
5571
# OK, works on sane cases. Now check whether nonexistent headers
5572
# can be detected and how.
5573
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5574
/* end confdefs.h. */
5575
#include <ac_nonexistent.h>
5577
if ac_fn_c_try_cpp "$LINENO"; then :
5578
# Broken: success on invalid input.
5581
# Passes both tests.
5585
rm -f conftest.err conftest.$ac_ext
5588
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5589
rm -f conftest.err conftest.$ac_ext
5590
if $ac_preproc_ok; then :
5602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5603
$as_echo "$CPP" >&6; }
5605
for ac_c_preproc_warn_flag in '' yes
5607
# Use a header file that comes with gcc, so configuring glibc
5608
# with a fresh cross-compiler works.
5609
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5610
# <limits.h> exists even on freestanding compilers.
5611
# On the NeXT, cc -E runs the code through the compiler's parser,
5612
# not just through cpp. "Syntax error" is here to catch this case.
5613
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5614
/* end confdefs.h. */
5616
# include <limits.h>
5618
# include <assert.h>
5622
if ac_fn_c_try_cpp "$LINENO"; then :
5625
# Broken: fails on valid input.
5628
rm -f conftest.err conftest.$ac_ext
5630
# OK, works on sane cases. Now check whether nonexistent headers
5631
# can be detected and how.
5632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633
/* end confdefs.h. */
5634
#include <ac_nonexistent.h>
5636
if ac_fn_c_try_cpp "$LINENO"; then :
5637
# Broken: success on invalid input.
5640
# Passes both tests.
5644
rm -f conftest.err conftest.$ac_ext
5647
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5648
rm -f conftest.err conftest.$ac_ext
5649
if $ac_preproc_ok; then :
5652
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5653
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5654
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5655
See \`config.log' for more details." "$LINENO" 5; }
5659
ac_cpp='$CPP $CPPFLAGS'
5660
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5661
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5662
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5665
ac_cpp='$CXXCPP $CPPFLAGS'
5666
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5667
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5668
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5669
if test -z "$CXX"; then
5670
if test -n "$CCC"; then
5673
if test -n "$ac_tool_prefix"; then
5674
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5676
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5677
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679
$as_echo_n "checking for $ac_word... " >&6; }
5680
if test "${ac_cv_prog_CXX+set}" = set; then :
5681
$as_echo_n "(cached) " >&6
5683
if test -n "$CXX"; then
5684
ac_cv_prog_CXX="$CXX" # Let the user override the test.
5686
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690
test -z "$as_dir" && as_dir=.
5691
for ac_exec_ext in '' $ac_executable_extensions; do
5692
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5693
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5694
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704
if test -n "$CXX"; then
5705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5706
$as_echo "$CXX" >&6; }
5708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709
$as_echo "no" >&6; }
5713
test -n "$CXX" && break
5716
if test -z "$CXX"; then
5718
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5720
# Extract the first word of "$ac_prog", so it can be a program name with args.
5721
set dummy $ac_prog; ac_word=$2
5722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723
$as_echo_n "checking for $ac_word... " >&6; }
5724
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5725
$as_echo_n "(cached) " >&6
5727
if test -n "$ac_ct_CXX"; then
5728
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5730
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5734
test -z "$as_dir" && as_dir=.
5735
for ac_exec_ext in '' $ac_executable_extensions; do
5736
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5737
ac_cv_prog_ac_ct_CXX="$ac_prog"
5738
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5748
if test -n "$ac_ct_CXX"; then
5749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5750
$as_echo "$ac_ct_CXX" >&6; }
5752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753
$as_echo "no" >&6; }
5757
test -n "$ac_ct_CXX" && break
5760
if test "x$ac_ct_CXX" = x; then
5763
case $cross_compiling:$ac_tool_warned in
5765
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5766
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5767
ac_tool_warned=yes ;;
5775
# Provide some information about the compiler.
5776
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5779
for ac_option in --version -v -V -qversion; do
5780
{ { ac_try="$ac_compiler $ac_option >&5"
5782
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5783
*) ac_try_echo=$ac_try;;
5785
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5786
$as_echo "$ac_try_echo"; } >&5
5787
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
5789
if test -s conftest.err; then
5791
... rest of stderr output deleted ...
5792
10q' conftest.err >conftest.er1
5793
cat conftest.er1 >&5
5795
rm -f conftest.er1 conftest.err
5796
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5797
test $ac_status = 0; }
5800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5801
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5802
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5803
$as_echo_n "(cached) " >&6
5805
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806
/* end confdefs.h. */
5819
if ac_fn_cxx_try_compile "$LINENO"; then :
5824
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5825
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5829
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5830
if test $ac_compiler_gnu = yes; then
5835
ac_test_CXXFLAGS=${CXXFLAGS+set}
5836
ac_save_CXXFLAGS=$CXXFLAGS
5837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5838
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5839
if test "${ac_cv_prog_cxx_g+set}" = set; then :
5840
$as_echo_n "(cached) " >&6
5842
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5843
ac_cxx_werror_flag=yes
5846
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5847
/* end confdefs.h. */
5857
if ac_fn_cxx_try_compile "$LINENO"; then :
5858
ac_cv_prog_cxx_g=yes
5861
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5862
/* end confdefs.h. */
5872
if ac_fn_cxx_try_compile "$LINENO"; then :
5875
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5877
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5878
/* end confdefs.h. */
5888
if ac_fn_cxx_try_compile "$LINENO"; then :
5889
ac_cv_prog_cxx_g=yes
5891
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5893
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5895
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5896
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5899
$as_echo "$ac_cv_prog_cxx_g" >&6; }
5900
if test "$ac_test_CXXFLAGS" = set; then
5901
CXXFLAGS=$ac_save_CXXFLAGS
5902
elif test $ac_cv_prog_cxx_g = yes; then
5903
if test "$GXX" = yes; then
5909
if test "$GXX" = yes; then
5916
ac_cpp='$CPP $CPPFLAGS'
5917
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5918
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5919
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5921
depcc="$CXX" am_compiler_list=
5923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5924
$as_echo_n "checking dependency style of $depcc... " >&6; }
5925
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5926
$as_echo_n "(cached) " >&6
5928
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5929
# We make a subdir and do the tests there. Otherwise we can end up
5930
# making bogus files that we don't know about and never remove. For
5931
# instance it was reported that on HP-UX the gcc test will end up
5932
# making a dummy file named `D' -- because `-MD' means `put the output
5935
# Copy depcomp to subdir because otherwise we won't find it if we're
5936
# using a relative directory.
5937
cp "$am_depcomp" conftest.dir
5939
# We will build objects and dependencies in a subdirectory because
5940
# it helps to detect inapplicable dependency modes. For instance
5941
# both Tru64's cc and ICC support -MD to output dependencies as a
5942
# side effect of compilation, but ICC will put the dependencies in
5943
# the current directory while Tru64 will put them in the object
5947
am_cv_CXX_dependencies_compiler_type=none
5948
if test "$am_compiler_list" = ""; then
5949
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5952
case " $depcc " in #(
5953
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5956
for depmode in $am_compiler_list; do
5957
# Setup a source with many dependencies, because some compilers
5958
# like to wrap large dependency lists on column 80 (with \), and
5959
# we should not choose a depcomp mode which is confused by this.
5961
# We need to recreate these files for each test, as the compiler may
5962
# overwrite some of them when testing with obscure command lines.
5963
# This happens at least with the AIX C compiler.
5965
for i in 1 2 3 4 5 6; do
5966
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5967
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5968
# Solaris 8's {/usr,}/bin/sh.
5969
touch sub/conftst$i.h
5971
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5973
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5974
# mode. It turns out that the SunPro C++ compiler does not properly
5975
# handle `-M -o', and we need to detect this. Also, some Intel
5976
# versions had trouble with output in subdirs
5977
am__obj=sub/conftest.${OBJEXT-o}
5978
am__minus_obj="-o $am__obj"
5981
# This depmode causes a compiler race in universal mode.
5982
test "$am__universal" = false || continue
5985
# after this tag, mechanisms are not by side-effect, so they'll
5986
# only be used when explicitly requested
5987
if test "x$enable_dependency_tracking" = xyes; then
5993
msvisualcpp | msvcmsys)
5994
# This compiler won't grok `-c -o', but also, the minuso test has
5995
# not run yet. These depmodes are late enough in the game, and
5996
# so weak that their functioning should not be impacted.
5997
am__obj=conftest.${OBJEXT-o}
6002
if depmode=$depmode \
6003
source=sub/conftest.c object=$am__obj \
6004
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6005
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6006
>/dev/null 2>conftest.err &&
6007
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6008
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6009
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6010
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6011
# icc doesn't choke on unknown options, it will just issue warnings
6012
# or remarks (even with -Werror). So we grep stderr for any message
6013
# that says an option was ignored or not supported.
6014
# When given -MP, icc 7.0 and 7.1 complain thusly:
6015
# icc: Command line warning: ignoring option '-M'; no argument required
6016
# The diagnosis changed in icc 8.0:
6017
# icc: Command line remark: option '-MP' not supported
6018
if (grep 'ignoring option' conftest.err ||
6019
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6020
am_cv_CXX_dependencies_compiler_type=$depmode
6029
am_cv_CXX_dependencies_compiler_type=none
6033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6034
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6035
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6038
test "x$enable_dependency_tracking" != xno \
6039
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6040
am__fastdepCXX_TRUE=
6041
am__fastdepCXX_FALSE='#'
6043
am__fastdepCXX_TRUE='#'
6044
am__fastdepCXX_FALSE=
6048
if test "x$CC" != xcc; then
6049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
6050
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
6052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
6053
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
6055
set dummy $CC; ac_cc=`$as_echo "$2" |
6056
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6057
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
6058
$as_echo_n "(cached) " >&6
6060
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061
/* end confdefs.h. */
6071
# Make sure it works both with $CC and with simple cc.
6072
# We do the test twice because some compilers refuse to overwrite an
6073
# existing .o file with -o, though they will create one.
6074
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6076
if { { case "(($ac_try" in
6077
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6078
*) ac_try_echo=$ac_try;;
6080
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6081
$as_echo "$ac_try_echo"; } >&5
6082
(eval "$ac_try") 2>&5
6084
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6085
test $ac_status = 0; } &&
6086
test -f conftest2.$ac_objext && { { case "(($ac_try" in
6087
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6088
*) ac_try_echo=$ac_try;;
6090
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6091
$as_echo "$ac_try_echo"; } >&5
6092
(eval "$ac_try") 2>&5
6094
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6095
test $ac_status = 0; };
6097
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
6098
if test "x$CC" != xcc; then
6099
# Test first that cc exists at all.
6100
if { ac_try='cc -c conftest.$ac_ext >&5'
6101
{ { case "(($ac_try" in
6102
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6103
*) ac_try_echo=$ac_try;;
6105
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6106
$as_echo "$ac_try_echo"; } >&5
6107
(eval "$ac_try") 2>&5
6109
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6110
test $ac_status = 0; }; }; then
6111
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6113
if { { case "(($ac_try" in
6114
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6115
*) ac_try_echo=$ac_try;;
6117
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6118
$as_echo "$ac_try_echo"; } >&5
6119
(eval "$ac_try") 2>&5
6121
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6122
test $ac_status = 0; } &&
6123
test -f conftest2.$ac_objext && { { case "(($ac_try" in
6124
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6125
*) ac_try_echo=$ac_try;;
6127
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6128
$as_echo "$ac_try_echo"; } >&5
6129
(eval "$ac_try") 2>&5
6131
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6132
test $ac_status = 0; };
6137
# cc exists but doesn't like -o.
6138
eval ac_cv_prog_cc_${ac_cc}_c_o=no
6143
eval ac_cv_prog_cc_${ac_cc}_c_o=no
6145
rm -f core conftest*
6148
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
6149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6150
$as_echo "yes" >&6; }
6152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153
$as_echo "no" >&6; }
6155
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
6159
# FIXME: we rely on the cache variable name because
6160
# there is no other way.
6162
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6163
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6164
if test "$am_t" != yes; then
6165
# Losing compiler, so override with the script.
6166
# FIXME: It is wrong to rewrite CC.
6167
# But if we don't then we get into trouble of one sort or another.
6168
# A longer-term fix would be to have automake use am__CC in this case,
6169
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6170
CC="$am_aux_dir/compile $CC"
6174
if test -n "$ac_tool_prefix"; then
6175
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6176
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6178
$as_echo_n "checking for $ac_word... " >&6; }
6179
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6180
$as_echo_n "(cached) " >&6
6182
if test -n "$RANLIB"; then
6183
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6189
test -z "$as_dir" && as_dir=.
6190
for ac_exec_ext in '' $ac_executable_extensions; do
6191
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6192
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6193
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6202
RANLIB=$ac_cv_prog_RANLIB
6203
if test -n "$RANLIB"; then
6204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6205
$as_echo "$RANLIB" >&6; }
6207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6208
$as_echo "no" >&6; }
6213
if test -z "$ac_cv_prog_RANLIB"; then
6214
ac_ct_RANLIB=$RANLIB
6215
# Extract the first word of "ranlib", so it can be a program name with args.
6216
set dummy ranlib; ac_word=$2
6217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6218
$as_echo_n "checking for $ac_word... " >&6; }
6219
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6220
$as_echo_n "(cached) " >&6
6222
if test -n "$ac_ct_RANLIB"; then
6223
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6225
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229
test -z "$as_dir" && as_dir=.
6230
for ac_exec_ext in '' $ac_executable_extensions; do
6231
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6232
ac_cv_prog_ac_ct_RANLIB="ranlib"
6233
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6243
if test -n "$ac_ct_RANLIB"; then
6244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6245
$as_echo "$ac_ct_RANLIB" >&6; }
6247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6248
$as_echo "no" >&6; }
6251
if test "x$ac_ct_RANLIB" = x; then
6254
case $cross_compiling:$ac_tool_warned in
6256
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6257
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6258
ac_tool_warned=yes ;;
6260
RANLIB=$ac_ct_RANLIB
6263
RANLIB="$ac_cv_prog_RANLIB"
6267
GETTEXT_PACKAGE=gecko-mediaplayer
6270
cat >>confdefs.h <<_ACEOF
6271
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6275
ALL_LINGUAS="cs de es fr ja it nl pl pt_BR tr"
6276
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6277
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6278
inttypes.h stdint.h unistd.h
6280
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6281
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6283
eval as_val=\$$as_ac_Header
6284
if test "x$as_val" = x""yes; then :
6285
cat >>confdefs.h <<_ACEOF
6286
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6295
for ac_header in locale.h
6297
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
6298
if test "x$ac_cv_header_locale_h" = x""yes; then :
6299
cat >>confdefs.h <<_ACEOF
6300
#define HAVE_LOCALE_H 1
6307
if test $ac_cv_header_locale_h = yes; then
6308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
6309
$as_echo_n "checking for LC_MESSAGES... " >&6; }
6310
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
6311
$as_echo_n "(cached) " >&6
6313
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314
/* end confdefs.h. */
6324
if ac_fn_c_try_link "$LINENO"; then :
6325
am_cv_val_LC_MESSAGES=yes
6327
am_cv_val_LC_MESSAGES=no
6329
rm -f core conftest.err conftest.$ac_objext \
6330
conftest$ac_exeext conftest.$ac_ext
6332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
6333
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
6334
if test $am_cv_val_LC_MESSAGES = yes; then
6336
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
6343
gt_cv_have_gettext=no
6349
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
6350
if test "x$ac_cv_header_libintl_h" = x""yes; then :
6351
gt_cv_func_dgettext_libintl="no"
6352
libintl_extra_libs=""
6355
# First check in libc
6357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
6358
$as_echo_n "checking for ngettext in libc... " >&6; }
6359
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
6360
$as_echo_n "(cached) " >&6
6362
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6363
/* end confdefs.h. */
6365
#include <libintl.h>
6370
return !ngettext ("","", 1)
6375
if ac_fn_c_try_link "$LINENO"; then :
6376
gt_cv_func_ngettext_libc=yes
6378
gt_cv_func_ngettext_libc=no
6380
rm -f core conftest.err conftest.$ac_objext \
6381
conftest$ac_exeext conftest.$ac_ext
6384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
6385
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
6387
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
6389
$as_echo_n "checking for dgettext in libc... " >&6; }
6390
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
6391
$as_echo_n "(cached) " >&6
6393
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6394
/* end confdefs.h. */
6396
#include <libintl.h>
6401
return !dgettext ("","")
6406
if ac_fn_c_try_link "$LINENO"; then :
6407
gt_cv_func_dgettext_libc=yes
6409
gt_cv_func_dgettext_libc=no
6411
rm -f core conftest.err conftest.$ac_objext \
6412
conftest$ac_exeext conftest.$ac_ext
6415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
6416
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
6419
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6420
for ac_func in bind_textdomain_codeset
6422
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6423
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6424
cat >>confdefs.h <<_ACEOF
6425
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6434
# If we don't have everything we want, check in libintl
6436
if test "$gt_cv_func_dgettext_libc" != "yes" \
6437
|| test "$gt_cv_func_ngettext_libc" != "yes" \
6438
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
6441
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
6442
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
6443
$as_echo_n "(cached) " >&6
6445
ac_check_lib_save_LIBS=$LIBS
6447
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448
/* end confdefs.h. */
6450
/* Override any GCC internal prototype to avoid an error.
6451
Use char because int might match the return type of a GCC
6452
builtin and then its argument prototype would still apply. */
6456
char bindtextdomain ();
6460
return bindtextdomain ();
6465
if ac_fn_c_try_link "$LINENO"; then :
6466
ac_cv_lib_intl_bindtextdomain=yes
6468
ac_cv_lib_intl_bindtextdomain=no
6470
rm -f core conftest.err conftest.$ac_objext \
6471
conftest$ac_exeext conftest.$ac_ext
6472
LIBS=$ac_check_lib_save_LIBS
6474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
6475
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6476
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
6477
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6478
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6479
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
6480
$as_echo_n "(cached) " >&6
6482
ac_check_lib_save_LIBS=$LIBS
6484
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6485
/* end confdefs.h. */
6487
/* Override any GCC internal prototype to avoid an error.
6488
Use char because int might match the return type of a GCC
6489
builtin and then its argument prototype would still apply. */
6502
if ac_fn_c_try_link "$LINENO"; then :
6503
ac_cv_lib_intl_ngettext=yes
6505
ac_cv_lib_intl_ngettext=no
6507
rm -f core conftest.err conftest.$ac_objext \
6508
conftest$ac_exeext conftest.$ac_ext
6509
LIBS=$ac_check_lib_save_LIBS
6511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6512
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6513
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
6514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
6515
$as_echo_n "checking for dgettext in -lintl... " >&6; }
6516
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
6517
$as_echo_n "(cached) " >&6
6519
ac_check_lib_save_LIBS=$LIBS
6521
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6522
/* end confdefs.h. */
6524
/* Override any GCC internal prototype to avoid an error.
6525
Use char because int might match the return type of a GCC
6526
builtin and then its argument prototype would still apply. */
6539
if ac_fn_c_try_link "$LINENO"; then :
6540
ac_cv_lib_intl_dgettext=yes
6542
ac_cv_lib_intl_dgettext=no
6544
rm -f core conftest.err conftest.$ac_objext \
6545
conftest$ac_exeext conftest.$ac_ext
6546
LIBS=$ac_check_lib_save_LIBS
6548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
6549
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
6550
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
6551
gt_cv_func_dgettext_libintl=yes
6559
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
6561
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
6562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
6564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6565
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6566
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
6567
$as_echo_n "(cached) " >&6
6569
ac_check_lib_save_LIBS=$LIBS
6570
LIBS="-lintl -liconv $LIBS"
6571
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572
/* end confdefs.h. */
6574
/* Override any GCC internal prototype to avoid an error.
6575
Use char because int might match the return type of a GCC
6576
builtin and then its argument prototype would still apply. */
6589
if ac_fn_c_try_link "$LINENO"; then :
6590
ac_cv_lib_intl_ngettext=yes
6592
ac_cv_lib_intl_ngettext=no
6594
rm -f core conftest.err conftest.$ac_objext \
6595
conftest$ac_exeext conftest.$ac_ext
6596
LIBS=$ac_check_lib_save_LIBS
6598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6599
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6600
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
6601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
6602
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
6603
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
6604
$as_echo_n "(cached) " >&6
6606
ac_check_lib_save_LIBS=$LIBS
6607
LIBS="-lintl -liconv $LIBS"
6608
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609
/* end confdefs.h. */
6611
/* Override any GCC internal prototype to avoid an error.
6612
Use char because int might match the return type of a GCC
6613
builtin and then its argument prototype would still apply. */
6621
return dcgettext ();
6626
if ac_fn_c_try_link "$LINENO"; then :
6627
ac_cv_lib_intl_dcgettext=yes
6629
ac_cv_lib_intl_dcgettext=no
6631
rm -f core conftest.err conftest.$ac_objext \
6632
conftest$ac_exeext conftest.$ac_ext
6633
LIBS=$ac_check_lib_save_LIBS
6635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
6636
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
6637
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
6638
gt_cv_func_dgettext_libintl=yes
6639
libintl_extra_libs=-liconv
6651
# If we found libintl, then check in it for bind_textdomain_codeset();
6652
# we'll prefer libc if neither have bind_textdomain_codeset(),
6653
# and both have dgettext and ngettext
6655
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6656
glib_save_LIBS="$LIBS"
6657
LIBS="$LIBS -lintl $libintl_extra_libs"
6658
unset ac_cv_func_bind_textdomain_codeset
6659
for ac_func in bind_textdomain_codeset
6661
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6662
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6663
cat >>confdefs.h <<_ACEOF
6664
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6670
LIBS="$glib_save_LIBS"
6672
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6673
gt_cv_func_dgettext_libc=no
6675
if test "$gt_cv_func_dgettext_libc" = "yes" \
6676
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
6677
gt_cv_func_dgettext_libintl=no
6683
if test "$gt_cv_func_dgettext_libc" = "yes" \
6684
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
6685
gt_cv_have_gettext=yes
6688
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6689
INTLLIBS="-lintl $libintl_extra_libs"
6692
if test "$gt_cv_have_gettext" = "yes"; then
6694
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6696
# Extract the first word of "msgfmt", so it can be a program name with args.
6697
set dummy msgfmt; ac_word=$2
6698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699
$as_echo_n "checking for $ac_word... " >&6; }
6700
if test "${ac_cv_path_MSGFMT+set}" = set; then :
6701
$as_echo_n "(cached) " >&6
6705
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6708
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6709
for ac_dir in $PATH; do
6710
test -z "$ac_dir" && ac_dir=.
6711
if test -f $ac_dir/$ac_word; then
6712
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6713
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6719
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6723
MSGFMT="$ac_cv_path_MSGFMT"
6724
if test "$MSGFMT" != "no"; then
6725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6726
$as_echo "$MSGFMT" >&6; }
6728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729
$as_echo "no" >&6; }
6731
if test "$MSGFMT" != "no"; then
6732
glib_save_LIBS="$LIBS"
6733
LIBS="$LIBS $INTLLIBS"
6734
for ac_func in dcgettext
6736
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6737
if test "x$ac_cv_func_dcgettext" = x""yes; then :
6738
cat >>confdefs.h <<_ACEOF
6739
#define HAVE_DCGETTEXT 1
6746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6747
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
6748
cat >conftest.foo <<_ACEOF
6752
"Content-Type: text/plain; charset=UTF-8\n"
6753
"Project-Id-Version: test 1.0\n"
6754
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
6755
"Last-Translator: test <foo@bar.xx>\n"
6756
"Language-Team: C <LL@li.org>\n"
6757
"MIME-Version: 1.0\n"
6758
"Content-Transfer-Encoding: 8bit\n"
6761
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6762
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6764
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6765
test $ac_status = 0; }; then
6766
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6767
$as_echo "yes" >&6; }
6768
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769
$as_echo "no" >&6; }
6770
echo "$as_me: failed input was:" >&5
6771
sed 's/^/| /' conftest.foo >&5
6774
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6775
set dummy gmsgfmt; ac_word=$2
6776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777
$as_echo_n "checking for $ac_word... " >&6; }
6778
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
6779
$as_echo_n "(cached) " >&6
6783
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6786
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790
test -z "$as_dir" && as_dir=.
6791
for ac_exec_ext in '' $ac_executable_extensions; do
6792
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6793
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6794
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6801
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6805
GMSGFMT=$ac_cv_path_GMSGFMT
6806
if test -n "$GMSGFMT"; then
6807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6808
$as_echo "$GMSGFMT" >&6; }
6810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811
$as_echo "no" >&6; }
6815
# Extract the first word of "xgettext", so it can be a program name with args.
6816
set dummy xgettext; ac_word=$2
6817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818
$as_echo_n "checking for $ac_word... " >&6; }
6819
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
6820
$as_echo_n "(cached) " >&6
6824
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6827
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6828
for ac_dir in $PATH; do
6829
test -z "$ac_dir" && ac_dir=.
6830
if test -f $ac_dir/$ac_word; then
6831
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6832
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6838
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6842
XGETTEXT="$ac_cv_path_XGETTEXT"
6843
if test "$XGETTEXT" != ":"; then
6844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6845
$as_echo "$XGETTEXT" >&6; }
6847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848
$as_echo "no" >&6; }
6851
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852
/* end confdefs.h. */
6857
extern int _nl_msg_cat_cntr;
6858
return _nl_msg_cat_cntr
6863
if ac_fn_c_try_link "$LINENO"; then :
6869
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6870
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6885
rm -f core conftest.err conftest.$ac_objext \
6886
conftest$ac_exeext conftest.$ac_ext
6887
LIBS="$glib_save_LIBS"
6890
gt_cv_have_gettext=no
6898
if test "$gt_cv_have_gettext" = "yes" ; then
6900
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6904
if test "$XGETTEXT" != ":"; then
6905
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6909
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6914
# We need to process the po/ directory.
6917
ac_config_commands="$ac_config_commands default-1"
6920
for lang in $ALL_LINGUAS; do
6921
GMOFILES="$GMOFILES $lang.gmo"
6922
POFILES="$POFILES $lang.po"
6937
if test "$gt_cv_have_gettext" = "yes"; then
6938
if test "x$ALL_LINGUAS" = "x"; then
6941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6942
$as_echo_n "checking for catalogs to be installed... " >&6; }
6944
for presentlang in $ALL_LINGUAS; do
6946
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6947
desiredlanguages="$LINGUAS"
6949
desiredlanguages="$ALL_LINGUAS"
6951
for desiredlang in $desiredlanguages; do
6952
# Use the presentlang catalog if desiredlang is
6953
# a. equal to presentlang, or
6954
# b. a variant of presentlang (because in this case,
6955
# presentlang can be used as a fallback for messages
6956
# which are not translated in the desiredlang catalog).
6957
case "$desiredlang" in
6958
"$presentlang"*) useit=yes;;
6961
if test $useit = yes; then
6962
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6965
LINGUAS=$NEW_LINGUAS
6966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6967
$as_echo "$LINGUAS" >&6; }
6970
if test -n "$LINGUAS"; then
6971
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6976
if test -n "$ac_aux_dir"; then
6977
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6979
if test -z "$MKINSTALLDIRS"; then
6980
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6984
test -d po || mkdir po
6985
if test "x$srcdir" != "x."; then
6986
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6987
posrcprefix="$srcdir/"
6989
posrcprefix="../$srcdir/"
6995
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6996
< $srcdir/po/POTFILES.in > po/POTFILES
7001
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7002
if test -n "$ac_tool_prefix"; then
7003
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7004
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006
$as_echo_n "checking for $ac_word... " >&6; }
7007
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7008
$as_echo_n "(cached) " >&6
7012
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7015
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7019
test -z "$as_dir" && as_dir=.
7020
for ac_exec_ext in '' $ac_executable_extensions; do
7021
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7022
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7023
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7033
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7034
if test -n "$PKG_CONFIG"; then
7035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7036
$as_echo "$PKG_CONFIG" >&6; }
7038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7039
$as_echo "no" >&6; }
7044
if test -z "$ac_cv_path_PKG_CONFIG"; then
7045
ac_pt_PKG_CONFIG=$PKG_CONFIG
7046
# Extract the first word of "pkg-config", so it can be a program name with args.
7047
set dummy pkg-config; ac_word=$2
7048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7049
$as_echo_n "checking for $ac_word... " >&6; }
7050
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
7051
$as_echo_n "(cached) " >&6
7053
case $ac_pt_PKG_CONFIG in
7055
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7058
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7062
test -z "$as_dir" && as_dir=.
7063
for ac_exec_ext in '' $ac_executable_extensions; do
7064
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7065
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7066
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7077
if test -n "$ac_pt_PKG_CONFIG"; then
7078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7079
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
7081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082
$as_echo "no" >&6; }
7085
if test "x$ac_pt_PKG_CONFIG" = x; then
7088
case $cross_compiling:$ac_tool_warned in
7090
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7091
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7092
ac_tool_warned=yes ;;
7094
PKG_CONFIG=$ac_pt_PKG_CONFIG
7097
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7101
if test -n "$PKG_CONFIG"; then
7102
_pkg_min_version=0.9.0
7103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7104
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7105
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7107
$as_echo "yes" >&6; }
7109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110
$as_echo "no" >&6; }
7117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
7118
$as_echo_n "checking for GLIB... " >&6; }
7120
if test -n "$GLIB_CFLAGS"; then
7121
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
7122
elif test -n "$PKG_CONFIG"; then
7123
if test -n "$PKG_CONFIG" && \
7124
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 \""; } >&5
7125
($PKG_CONFIG --exists --print-errors "glib-2.0 ") 2>&5
7127
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7128
test $ac_status = 0; }; then
7129
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 " 2>/dev/null`
7136
if test -n "$GLIB_LIBS"; then
7137
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
7138
elif test -n "$PKG_CONFIG"; then
7139
if test -n "$PKG_CONFIG" && \
7140
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 \""; } >&5
7141
($PKG_CONFIG --exists --print-errors "glib-2.0 ") 2>&5
7143
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7144
test $ac_status = 0; }; then
7145
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 " 2>/dev/null`
7155
if test $pkg_failed = yes; then
7157
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7158
_pkg_short_errors_supported=yes
7160
_pkg_short_errors_supported=no
7162
if test $_pkg_short_errors_supported = yes; then
7163
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 " 2>&1`
7165
GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 " 2>&1`
7167
# Put the nasty error message in config.log where it belongs
7168
echo "$GLIB_PKG_ERRORS" >&5
7170
as_fn_error "Package requirements (glib-2.0 ) were not met:
7174
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7175
installed software in a non-standard prefix.
7177
Alternatively, you may set the environment variables GLIB_CFLAGS
7178
and GLIB_LIBS to avoid the need to call pkg-config.
7179
See the pkg-config man page for more details.
7181
elif test $pkg_failed = untried; then
7182
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7183
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7184
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
7185
is in your PATH or set the PKG_CONFIG environment variable to the full
7188
Alternatively, you may set the environment variables GLIB_CFLAGS
7189
and GLIB_LIBS to avoid the need to call pkg-config.
7190
See the pkg-config man page for more details.
7192
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7193
See \`config.log' for more details." "$LINENO" 5; }
7195
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
7196
GLIB_LIBS=$pkg_cv_GLIB_LIBS
7197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7198
$as_echo "yes" >&6; }
7205
# Check whether --with-xulrunner-sdk was given.
7206
if test "${with_xulrunner_sdk+set}" = set; then :
7207
withval=$with_xulrunner_sdk;
7208
XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk
7209
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"
7210
GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
7211
# Check whether --enable-new-libxul was given.
7212
if test "${enable_new_libxul+set}" = set; then :
7213
enableval=$enable_new_libxul; usenewlibxul=$enableval
7219
if test $usenewlibxul == yes; then
7220
GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
7222
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7230
if test "$GECKO_CFLAGS" = ""; then
7233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7234
$as_echo_n "checking for GECKO... " >&6; }
7236
if test -n "$GECKO_CFLAGS"; then
7237
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7238
elif test -n "$PKG_CONFIG"; then
7239
if test -n "$PKG_CONFIG" && \
7240
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 2.0\""; } >&5
7241
($PKG_CONFIG --exists --print-errors "libxul >= 2.0") 2>&5
7243
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7244
test $ac_status = 0; }; then
7245
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 2.0" 2>/dev/null`
7252
if test -n "$GECKO_LIBS"; then
7253
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7254
elif test -n "$PKG_CONFIG"; then
7255
if test -n "$PKG_CONFIG" && \
7256
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 2.0\""; } >&5
7257
($PKG_CONFIG --exists --print-errors "libxul >= 2.0") 2>&5
7259
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7260
test $ac_status = 0; }; then
7261
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 2.0" 2>/dev/null`
7271
if test $pkg_failed = yes; then
7273
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7274
_pkg_short_errors_supported=yes
7276
_pkg_short_errors_supported=no
7278
if test $_pkg_short_errors_supported = yes; then
7279
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 2.0" 2>&1`
7281
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 2.0" 2>&1`
7283
# Put the nasty error message in config.log where it belongs
7284
echo "$GECKO_PKG_ERRORS" >&5
7286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287
$as_echo "no" >&6; }
7288
{ $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 2.0 beta 5 not found, trying another" >&5
7289
$as_echo "$as_me: libxul >= 2.0 beta 5 not found, trying another" >&6;}
7290
elif test $pkg_failed = untried; then
7291
{ $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 2.0 beta 5 not found, trying another" >&5
7292
$as_echo "$as_me: libxul >= 2.0 beta 5 not found, trying another" >&6;}
7294
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7295
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7297
$as_echo "yes" >&6; }
7298
GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
7299
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7300
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 2.0 beta 5" >&5
7301
$as_echo "$as_me: Using libxul >= 2.0 beta 5" >&6;}
7306
if test "$GECKO_CFLAGS" = ""; then
7309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7310
$as_echo_n "checking for GECKO... " >&6; }
7312
if test -n "$GECKO_CFLAGS"; then
7313
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7314
elif test -n "$PKG_CONFIG"; then
7315
if test -n "$PKG_CONFIG" && \
7316
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5
7317
($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5
7319
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7320
test $ac_status = 0; }; then
7321
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul < 1.9.2" 2>/dev/null`
7328
if test -n "$GECKO_LIBS"; then
7329
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7330
elif test -n "$PKG_CONFIG"; then
7331
if test -n "$PKG_CONFIG" && \
7332
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5
7333
($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5
7335
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7336
test $ac_status = 0; }; then
7337
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul < 1.9.2" 2>/dev/null`
7347
if test $pkg_failed = yes; then
7349
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7350
_pkg_short_errors_supported=yes
7352
_pkg_short_errors_supported=no
7354
if test $_pkg_short_errors_supported = yes; then
7355
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul < 1.9.2" 2>&1`
7357
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul < 1.9.2" 2>&1`
7359
# Put the nasty error message in config.log where it belongs
7360
echo "$GECKO_PKG_ERRORS" >&5
7362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363
$as_echo "no" >&6; }
7364
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5
7365
$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;}
7366
elif test $pkg_failed = untried; then
7367
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5
7368
$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;}
7370
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7371
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7373
$as_echo "yes" >&6; }
7374
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul < 1.9.2" >&5
7375
$as_echo "$as_me: Using libxul < 1.9.2" >&6;}
7379
if test "$GECKO_CFLAGS" = ""; then
7382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7383
$as_echo_n "checking for GECKO... " >&6; }
7385
if test -n "$GECKO_CFLAGS"; then
7386
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7387
elif test -n "$PKG_CONFIG"; then
7388
if test -n "$PKG_CONFIG" && \
7389
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5
7390
($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5
7392
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7393
test $ac_status = 0; }; then
7394
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 1.9.2" 2>/dev/null`
7401
if test -n "$GECKO_LIBS"; then
7402
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7403
elif test -n "$PKG_CONFIG"; then
7404
if test -n "$PKG_CONFIG" && \
7405
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5
7406
($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5
7408
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7409
test $ac_status = 0; }; then
7410
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 1.9.2" 2>/dev/null`
7420
if test $pkg_failed = yes; then
7422
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7423
_pkg_short_errors_supported=yes
7425
_pkg_short_errors_supported=no
7427
if test $_pkg_short_errors_supported = yes; then
7428
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 1.9.2" 2>&1`
7430
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 1.9.2" 2>&1`
7432
# Put the nasty error message in config.log where it belongs
7433
echo "$GECKO_PKG_ERRORS" >&5
7435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7436
$as_echo "no" >&6; }
7437
{ $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5
7438
$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;}
7439
elif test $pkg_failed = untried; then
7440
{ $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5
7441
$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;}
7443
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7444
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7446
$as_echo "yes" >&6; }
7448
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7449
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 1.9.2" >&5
7450
$as_echo "$as_me: Using libxul >= 1.9.2" >&6;}
7455
if test "$GECKO_CFLAGS" = ""; then
7458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7459
$as_echo_n "checking for GECKO... " >&6; }
7461
if test -n "$GECKO_CFLAGS"; then
7462
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7463
elif test -n "$PKG_CONFIG"; then
7464
if test -n "$PKG_CONFIG" && \
7465
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5
7466
($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5
7468
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7469
test $ac_status = 0; }; then
7470
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul-unstable" 2>/dev/null`
7477
if test -n "$GECKO_LIBS"; then
7478
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7479
elif test -n "$PKG_CONFIG"; then
7480
if test -n "$PKG_CONFIG" && \
7481
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5
7482
($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5
7484
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7485
test $ac_status = 0; }; then
7486
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul-unstable" 2>/dev/null`
7496
if test $pkg_failed = yes; then
7498
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7499
_pkg_short_errors_supported=yes
7501
_pkg_short_errors_supported=no
7503
if test $_pkg_short_errors_supported = yes; then
7504
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul-unstable" 2>&1`
7506
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul-unstable" 2>&1`
7508
# Put the nasty error message in config.log where it belongs
7509
echo "$GECKO_PKG_ERRORS" >&5
7511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512
$as_echo "no" >&6; }
7513
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5
7514
$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;}
7515
elif test $pkg_failed = untried; then
7516
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5
7517
$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;}
7519
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7520
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7522
$as_echo "yes" >&6; }
7523
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul-unstable" >&5
7524
$as_echo "$as_me: Using libxul-unstable" >&6;}
7529
if test "$GECKO_CFLAGS" = ""; then
7532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7533
$as_echo_n "checking for GECKO... " >&6; }
7535
if test -n "$GECKO_CFLAGS"; then
7536
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7537
elif test -n "$PKG_CONFIG"; then
7538
if test -n "$PKG_CONFIG" && \
7539
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5
7540
($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
7542
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7543
test $ac_status = 0; }; then
7544
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin mozilla-xpcom" 2>/dev/null`
7551
if test -n "$GECKO_LIBS"; then
7552
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7553
elif test -n "$PKG_CONFIG"; then
7554
if test -n "$PKG_CONFIG" && \
7555
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5
7556
($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
7558
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7559
test $ac_status = 0; }; then
7560
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin mozilla-xpcom" 2>/dev/null`
7570
if test $pkg_failed = yes; then
7572
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7573
_pkg_short_errors_supported=yes
7575
_pkg_short_errors_supported=no
7577
if test $_pkg_short_errors_supported = yes; then
7578
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
7580
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
7582
# Put the nasty error message in config.log where it belongs
7583
echo "$GECKO_PKG_ERRORS" >&5
7585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7586
$as_echo "no" >&6; }
7587
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5
7588
$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
7589
elif test $pkg_failed = untried; then
7590
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5
7591
$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
7593
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7594
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7596
$as_echo "yes" >&6; }
7597
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using mozilla" >&5
7598
$as_echo "$as_me: Using mozilla" >&6;}
7603
if test "$GECKO_CFLAGS" = ""; then
7606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7607
$as_echo_n "checking for GECKO... " >&6; }
7609
if test -n "$GECKO_CFLAGS"; then
7610
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7611
elif test -n "$PKG_CONFIG"; then
7612
if test -n "$PKG_CONFIG" && \
7613
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5
7614
($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
7616
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7617
test $ac_status = 0; }; then
7618
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom" 2>/dev/null`
7625
if test -n "$GECKO_LIBS"; then
7626
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7627
elif test -n "$PKG_CONFIG"; then
7628
if test -n "$PKG_CONFIG" && \
7629
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5
7630
($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
7632
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7633
test $ac_status = 0; }; then
7634
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom" 2>/dev/null`
7644
if test $pkg_failed = yes; then
7646
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7647
_pkg_short_errors_supported=yes
7649
_pkg_short_errors_supported=no
7651
if test $_pkg_short_errors_supported = yes; then
7652
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "firefox-plugin firefox-xpcom" 2>&1`
7654
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "firefox-plugin firefox-xpcom" 2>&1`
7656
# Put the nasty error message in config.log where it belongs
7657
echo "$GECKO_PKG_ERRORS" >&5
7659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660
$as_echo "no" >&6; }
7661
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5
7662
$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
7663
elif test $pkg_failed = untried; then
7664
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5
7665
$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
7667
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7668
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7670
$as_echo "yes" >&6; }
7671
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using firefox" >&5
7672
$as_echo "$as_me: Using firefox" >&6;}
7677
if test "$GECKO_CFLAGS" = ""; then
7680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7681
$as_echo_n "checking for GECKO... " >&6; }
7683
if test -n "$GECKO_CFLAGS"; then
7684
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7685
elif test -n "$PKG_CONFIG"; then
7686
if test -n "$PKG_CONFIG" && \
7687
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5
7688
($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
7690
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7691
test $ac_status = 0; }; then
7692
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
7699
if test -n "$GECKO_LIBS"; then
7700
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7701
elif test -n "$PKG_CONFIG"; then
7702
if test -n "$PKG_CONFIG" && \
7703
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5
7704
($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
7706
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7707
test $ac_status = 0; }; then
7708
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
7718
if test $pkg_failed = yes; then
7720
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7721
_pkg_short_errors_supported=yes
7723
_pkg_short_errors_supported=no
7725
if test $_pkg_short_errors_supported = yes; then
7726
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
7728
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
7730
# Put the nasty error message in config.log where it belongs
7731
echo "$GECKO_PKG_ERRORS" >&5
7733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7734
$as_echo "no" >&6; }
7735
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5
7736
$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
7737
elif test $pkg_failed = untried; then
7738
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5
7739
$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
7741
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7742
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7744
$as_echo "yes" >&6; }
7745
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using seamonkey" >&5
7746
$as_echo "$as_me: Using seamonkey" >&6;}
7751
if test "$GECKO_CFLAGS" = ""; then
7754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7755
$as_echo_n "checking for GECKO... " >&6; }
7757
if test -n "$GECKO_CFLAGS"; then
7758
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7759
elif test -n "$PKG_CONFIG"; then
7760
if test -n "$PKG_CONFIG" && \
7761
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5
7762
($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
7764
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7765
test $ac_status = 0; }; then
7766
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom" 2>/dev/null`
7773
if test -n "$GECKO_LIBS"; then
7774
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7775
elif test -n "$PKG_CONFIG"; then
7776
if test -n "$PKG_CONFIG" && \
7777
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5
7778
($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
7780
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7781
test $ac_status = 0; }; then
7782
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom" 2>/dev/null`
7792
if test $pkg_failed = yes; then
7794
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7795
_pkg_short_errors_supported=yes
7797
_pkg_short_errors_supported=no
7799
if test $_pkg_short_errors_supported = yes; then
7800
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1`
7802
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1`
7804
# Put the nasty error message in config.log where it belongs
7805
echo "$GECKO_PKG_ERRORS" >&5
7807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7808
$as_echo "no" >&6; }
7809
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5
7810
$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;}
7811
elif test $pkg_failed = untried; then
7812
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5
7813
$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;}
7815
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7816
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7818
$as_echo "yes" >&6; }
7819
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using xulrunner" >&5
7820
$as_echo "$as_me: Using xulrunner" >&6;}
7825
if test "$GECKO_CFLAGS" = ""; then
7828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7829
$as_echo_n "checking for GECKO... " >&6; }
7831
if test -n "$GECKO_CFLAGS"; then
7832
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7833
elif test -n "$PKG_CONFIG"; then
7834
if test -n "$PKG_CONFIG" && \
7835
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5
7836
($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5
7838
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7839
test $ac_status = 0; }; then
7840
pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom" 2>/dev/null`
7847
if test -n "$GECKO_LIBS"; then
7848
pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7849
elif test -n "$PKG_CONFIG"; then
7850
if test -n "$PKG_CONFIG" && \
7851
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5
7852
($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5
7854
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7855
test $ac_status = 0; }; then
7856
pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom" 2>/dev/null`
7866
if test $pkg_failed = yes; then
7868
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7869
_pkg_short_errors_supported=yes
7871
_pkg_short_errors_supported=no
7873
if test $_pkg_short_errors_supported = yes; then
7874
GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "iceape-plugin iceape-xpcom" 2>&1`
7876
GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "iceape-plugin iceape-xpcom" 2>&1`
7878
# Put the nasty error message in config.log where it belongs
7879
echo "$GECKO_PKG_ERRORS" >&5
7881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882
$as_echo "no" >&6; }
7883
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5
7884
$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;}
7885
elif test $pkg_failed = untried; then
7886
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5
7887
$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;}
7889
GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7890
GECKO_LIBS=$pkg_cv_GECKO_LIBS
7891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7892
$as_echo "yes" >&6; }
7893
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using iceape" >&5
7894
$as_echo "$as_me: Using iceape" >&6;}
7901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5
7902
$as_echo_n "checking for NSPR... " >&6; }
7904
if test -n "$NSPR_CFLAGS"; then
7905
pkg_cv_NSPR_CFLAGS="$NSPR_CFLAGS"
7906
elif test -n "$PKG_CONFIG"; then
7907
if test -n "$PKG_CONFIG" && \
7908
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr\""; } >&5
7909
($PKG_CONFIG --exists --print-errors "nspr") 2>&5
7911
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7912
test $ac_status = 0; }; then
7913
pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr" 2>/dev/null`
7920
if test -n "$NSPR_LIBS"; then
7921
pkg_cv_NSPR_LIBS="$NSPR_LIBS"
7922
elif test -n "$PKG_CONFIG"; then
7923
if test -n "$PKG_CONFIG" && \
7924
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr\""; } >&5
7925
($PKG_CONFIG --exists --print-errors "nspr") 2>&5
7927
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7928
test $ac_status = 0; }; then
7929
pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "nspr" 2>/dev/null`
7939
if test $pkg_failed = yes; then
7941
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7942
_pkg_short_errors_supported=yes
7944
_pkg_short_errors_supported=no
7946
if test $_pkg_short_errors_supported = yes; then
7947
NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nspr" 2>&1`
7949
NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors "nspr" 2>&1`
7951
# Put the nasty error message in config.log where it belongs
7952
echo "$NSPR_PKG_ERRORS" >&5
7954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7955
$as_echo "no" >&6; }
7956
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5
7957
$as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;}
7958
elif test $pkg_failed = untried; then
7959
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5
7960
$as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;}
7962
NSPR_CFLAGS=$pkg_cv_NSPR_CFLAGS
7963
NSPR_LIBS=$pkg_cv_NSPR_LIBS
7964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7965
$as_echo "yes" >&6; }
7967
libdir=`$PKG_CONFIG --variable=libdir nspr`
7978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
7979
$as_echo_n "checking for DBUS... " >&6; }
7981
if test -n "$DBUS_CFLAGS"; then
7982
pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
7983
elif test -n "$PKG_CONFIG"; then
7984
if test -n "$PKG_CONFIG" && \
7985
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.95 dbus-glib-1 >= 0.70\""; } >&5
7986
($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70") 2>&5
7988
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7989
test $ac_status = 0; }; then
7990
pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null`
7997
if test -n "$DBUS_LIBS"; then
7998
pkg_cv_DBUS_LIBS="$DBUS_LIBS"
7999
elif test -n "$PKG_CONFIG"; then
8000
if test -n "$PKG_CONFIG" && \
8001
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.95 dbus-glib-1 >= 0.70\""; } >&5
8002
($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70") 2>&5
8004
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8005
test $ac_status = 0; }; then
8006
pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null`
8016
if test $pkg_failed = yes; then
8018
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8019
_pkg_short_errors_supported=yes
8021
_pkg_short_errors_supported=no
8023
if test $_pkg_short_errors_supported = yes; then
8024
DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
8026
DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
8028
# Put the nasty error message in config.log where it belongs
8029
echo "$DBUS_PKG_ERRORS" >&5
8031
as_fn_error "Package requirements (dbus-1 >= 0.95 dbus-glib-1 >= 0.70) were not met:
8035
Consider adjusting the PKG_CONFIG_PATH environment variable if you
8036
installed software in a non-standard prefix.
8038
Alternatively, you may set the environment variables DBUS_CFLAGS
8039
and DBUS_LIBS to avoid the need to call pkg-config.
8040
See the pkg-config man page for more details.
8042
elif test $pkg_failed = untried; then
8043
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8044
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8045
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
8046
is in your PATH or set the PKG_CONFIG environment variable to the full
8049
Alternatively, you may set the environment variables DBUS_CFLAGS
8050
and DBUS_LIBS to avoid the need to call pkg-config.
8051
See the pkg-config man page for more details.
8053
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8054
See \`config.log' for more details." "$LINENO" 5; }
8056
DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
8057
DBUS_LIBS=$pkg_cv_DBUS_LIBS
8058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8059
$as_echo "yes" >&6; }
8066
# Check whether --with-gconf was given.
8067
if test "${with_gconf+set}" = set; then :
8068
withval=$with_gconf; if false; then
8069
GCONF_SCHEMAS_INSTALL_TRUE=
8070
GCONF_SCHEMAS_INSTALL_FALSE='#'
8072
GCONF_SCHEMAS_INSTALL_TRUE='#'
8073
GCONF_SCHEMAS_INSTALL_FALSE=
8080
if test "x$with_gconf" != xno; then :
8083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
8084
$as_echo_n "checking for GCONF... " >&6; }
8086
if test -n "$GCONF_CFLAGS"; then
8087
pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
8088
elif test -n "$PKG_CONFIG"; then
8089
if test -n "$PKG_CONFIG" && \
8090
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
8091
($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
8093
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8094
test $ac_status = 0; }; then
8095
pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
8102
if test -n "$GCONF_LIBS"; then
8103
pkg_cv_GCONF_LIBS="$GCONF_LIBS"
8104
elif test -n "$PKG_CONFIG"; then
8105
if test -n "$PKG_CONFIG" && \
8106
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
8107
($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
8109
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8110
test $ac_status = 0; }; then
8111
pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
8121
if test $pkg_failed = yes; then
8123
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8124
_pkg_short_errors_supported=yes
8126
_pkg_short_errors_supported=no
8128
if test $_pkg_short_errors_supported = yes; then
8129
GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1`
8131
GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1`
8133
# Put the nasty error message in config.log where it belongs
8134
echo "$GCONF_PKG_ERRORS" >&5
8136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137
$as_echo "no" >&6; }
8139
GCONF_SCHEMAS_INSTALL_TRUE=
8140
GCONF_SCHEMAS_INSTALL_FALSE='#'
8142
GCONF_SCHEMAS_INSTALL_TRUE='#'
8143
GCONF_SCHEMAS_INSTALL_FALSE=
8145
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using keystore for preferences" >&5
8146
$as_echo "$as_me: Using keystore for preferences" >&6;}
8147
elif test $pkg_failed = untried; then
8149
GCONF_SCHEMAS_INSTALL_TRUE=
8150
GCONF_SCHEMAS_INSTALL_FALSE='#'
8152
GCONF_SCHEMAS_INSTALL_TRUE='#'
8153
GCONF_SCHEMAS_INSTALL_FALSE=
8155
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using keystore for preferences" >&5
8156
$as_echo "$as_me: Using keystore for preferences" >&6;}
8158
GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
8159
GCONF_LIBS=$pkg_cv_GCONF_LIBS
8160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8161
$as_echo "yes" >&6; }
8163
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
8164
GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
8166
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
8170
# Check whether --with-gconf-source was given.
8171
if test "${with_gconf_source+set}" = set; then :
8172
withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
8177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
8178
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
8180
if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
8181
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
8185
# Check whether --with-gconf-schema-file-dir was given.
8186
if test "${with_gconf_schema_file_dir+set}" = set; then :
8187
withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
8192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
8193
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
8195
# Check whether --enable-schemas-install was given.
8196
if test "${enable_schemas_install+set}" = set; then :
8197
enableval=$enable_schemas_install; case ${enableval} in
8199
*) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
8203
if test "$enable_schemas_install" != no; then
8204
GCONF_SCHEMAS_INSTALL_TRUE=
8205
GCONF_SCHEMAS_INSTALL_FALSE='#'
8207
GCONF_SCHEMAS_INSTALL_TRUE='#'
8208
GCONF_SCHEMAS_INSTALL_FALSE=
8212
GCONF_DEFINES="-DHAVE_GCONF"
8213
$as_echo "#define HAVE_GCONF 1" >>confdefs.h
8223
# Check whether --with-gio was given.
8224
if test "${with_gio+set}" = set; then :
8230
if test "x$with_gio" != xno; then :
8233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
8234
$as_echo_n "checking for GIO... " >&6; }
8236
if test -n "$GIO_CFLAGS"; then
8237
pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
8238
elif test -n "$PKG_CONFIG"; then
8239
if test -n "$PKG_CONFIG" && \
8240
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
8241
($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
8243
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8244
test $ac_status = 0; }; then
8245
pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
8252
if test -n "$GIO_LIBS"; then
8253
pkg_cv_GIO_LIBS="$GIO_LIBS"
8254
elif test -n "$PKG_CONFIG"; then
8255
if test -n "$PKG_CONFIG" && \
8256
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
8257
($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
8259
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8260
test $ac_status = 0; }; then
8261
pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
8271
if test $pkg_failed = yes; then
8273
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8274
_pkg_short_errors_supported=yes
8276
_pkg_short_errors_supported=no
8278
if test $_pkg_short_errors_supported = yes; then
8279
GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0" 2>&1`
8281
GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0" 2>&1`
8283
# Put the nasty error message in config.log where it belongs
8284
echo "$GIO_PKG_ERRORS" >&5
8286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287
$as_echo "no" >&6; }
8288
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5
8289
$as_echo "$as_me: WARNING: Compiling without gio support" >&2;}
8290
elif test $pkg_failed = untried; then
8291
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5
8292
$as_echo "$as_me: WARNING: Compiling without gio support" >&2;}
8294
GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
8295
GIO_LIBS=$pkg_cv_GIO_LIBS
8296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8297
$as_echo "yes" >&6; }
8298
GIO_DEFINES="-DGIO_ENABLED"
8299
$as_echo "#define GIO_ENABLED 1" >>confdefs.h
8309
# Check whether --with-plugin_dir was given.
8310
if test "${with_plugin_dir+set}" = set; then :
8311
withval=$with_plugin_dir; plugindir=$withval
8313
plugindir='$(libdir)/mozilla/plugins'
8318
# Check whether --enable-caching was given.
8319
if test "${enable_caching+set}" = set; then :
8320
enableval=$enable_caching; usecache=$enableval
8326
if test $usecache != yes; then
8327
GECKO_CFLAGS="$GECKO_CFLAGS -DDISABLE_CACHE"
8332
ac_config_files="$ac_config_files Makefile gecko-mediaplayer.spec src/Makefile src/libgmlib/Makefile po/Makefile.in"
8334
cat >confcache <<\_ACEOF
8335
# This file is a shell script that caches the results of configure
8336
# tests run on this system so they can be shared between configure
8337
# scripts and configure runs, see configure's option --config-cache.
8338
# It is not useful on other systems. If it contains results you don't
8339
# want to keep, you may remove or edit it.
8341
# config.status only pays attention to the cache file if you give it
8342
# the --recheck option to rerun configure.
8344
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8345
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8350
# The following way of writing the cache mishandles newlines in values,
8351
# but we know of no workaround that is simple, portable, and efficient.
8352
# So, we kill variables containing newlines.
8353
# Ultrix sh set writes to stderr and can't be redirected directly,
8354
# and sets the high bit in the cache file unless we assign to the vars.
8356
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8357
eval ac_val=\$$ac_var
8361
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8362
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8365
_ | IFS | as_nl) ;; #(
8366
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8367
*) { eval $ac_var=; unset $ac_var;} ;;
8373
case $as_nl`(ac_space=' '; set) 2>&1` in #(
8374
*${as_nl}ac_space=\ *)
8375
# `set' does not quote correctly, so add quotes: double-quote
8376
# substitution turns \\\\ into \\, and sed turns \\ into \.
8379
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8382
# `set' quotes correctly as required by POSIX, so do not add quotes.
8383
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8392
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8394
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8396
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8397
if test -w "$cache_file"; then
8398
test "x$cache_file" != "x/dev/null" &&
8399
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8400
$as_echo "$as_me: updating cache $cache_file" >&6;}
8401
cat confcache >$cache_file
8403
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8404
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8409
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8410
# Let make expand exec_prefix.
8411
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8413
DEFS=-DHAVE_CONFIG_H
8417
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8418
# 1. Remove the extension, and $U if already installed.
8419
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8420
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8421
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8422
# will be set to the directory where LIBOBJS objects are built.
8423
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8424
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8428
LTLIBOBJS=$ac_ltlibobjs
8431
if test -n "$EXEEXT"; then
8433
am__EXEEXT_FALSE='#'
8439
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8440
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
8441
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8443
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8444
as_fn_error "conditional \"AMDEP\" was never defined.
8445
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8447
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8448
as_fn_error "conditional \"am__fastdepCC\" was never defined.
8449
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8451
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8452
as_fn_error "conditional \"am__fastdepCC\" was never defined.
8453
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8455
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8456
as_fn_error "conditional \"am__fastdepCC\" was never defined.
8457
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8459
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8460
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
8461
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8463
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8464
as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8465
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8467
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8468
as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8469
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8471
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8472
as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8473
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8475
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8476
as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8477
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8480
: ${CONFIG_STATUS=./config.status}
8482
ac_clean_files_save=$ac_clean_files
8483
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8484
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8485
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8487
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8489
# Generated by $as_me.
8490
# Run this file to recreate the current configuration.
8491
# Compiler output produced by configure, useful for debugging
8492
# configure, is in config.log if it exists.
8498
SHELL=\${CONFIG_SHELL-$SHELL}
8501
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8502
## -------------------- ##
8503
## M4sh Initialization. ##
8504
## -------------------- ##
8506
# Be more Bourne compatible
8507
DUALCASE=1; export DUALCASE # for MKS sh
8508
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8511
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8512
# is contrary to our usage. Disable this feature.
8513
alias -g '${1+"$@"}'='"$@"'
8514
setopt NO_GLOB_SUBST
8516
case `(set -o) 2>/dev/null` in #(
8528
# Printing a long string crashes Solaris 7 /usr/bin/printf.
8529
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8530
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8531
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8532
# Prefer a ksh shell builtin over an external printf program on Solaris,
8533
# but without wasting forks for bash or zsh.
8534
if test -z "$BASH_VERSION$ZSH_VERSION" \
8535
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8536
as_echo='print -r --'
8537
as_echo_n='print -rn --'
8538
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8539
as_echo='printf %s\n'
8540
as_echo_n='printf %s'
8542
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8543
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8544
as_echo_n='/usr/ucb/echo -n'
8546
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8547
as_echo_n_body='eval
8551
expr "X$arg" : "X\\(.*\\)$as_nl";
8552
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8554
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8556
export as_echo_n_body
8557
as_echo_n='sh -c $as_echo_n_body as_echo'
8560
as_echo='sh -c $as_echo_body as_echo'
8563
# The user is always right.
8564
if test "${PATH_SEPARATOR+set}" != set; then
8566
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8567
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8574
# We need space, tab and new line, in precisely that order. Quoting is
8575
# there to prevent editors from complaining about space-tab.
8576
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8577
# splitting by setting IFS to empty value.)
8580
# Find who we are. Look in the path if we contain no directory separator.
8582
*[\\/]* ) as_myself=$0 ;;
8583
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8587
test -z "$as_dir" && as_dir=.
8588
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8594
# We did not find ourselves, most probably we were run as `sh COMMAND'
8595
# in which case we are not to be found in the path.
8596
if test "x$as_myself" = x; then
8599
if test ! -f "$as_myself"; then
8600
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8604
# Unset variables that we do not need and which cause bugs (e.g. in
8605
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8606
# suppresses any "Segmentation fault" message there. '((' could
8607
# trigger a bug in pdksh 5.2.14.
8608
for as_var in BASH_ENV ENV MAIL MAILPATH
8609
do eval test x\${$as_var+set} = xset \
8610
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8623
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8626
# as_fn_error ERROR [LINENO LOG_FD]
8627
# ---------------------------------
8628
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8629
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8630
# script with status $?, using 1 if that was 0.
8633
as_status=$?; test $as_status -eq 0 && as_status=1
8635
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8636
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8638
$as_echo "$as_me: error: $1" >&2
8639
as_fn_exit $as_status
8643
# as_fn_set_status STATUS
8644
# -----------------------
8645
# Set $? to STATUS, without forking.
8649
} # as_fn_set_status
8653
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8663
# Portably unset VAR.
8666
{ eval $1=; unset $1;}
8668
as_unset=as_fn_unset
8669
# as_fn_append VAR VALUE
8670
# ----------------------
8671
# Append the text in VALUE to the end of the definition contained in VAR. Take
8672
# advantage of any shell optimizations that allow amortized linear growth over
8673
# repeated appends, instead of the typical quadratic growth present in naive
8675
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8676
eval 'as_fn_append ()
8687
# as_fn_arith ARG...
8688
# ------------------
8689
# Perform arithmetic evaluation on the ARGs, and store the result in the
8690
# global $as_val. Take advantage of shells that can avoid forks. The arguments
8691
# must be portable across $(()) and expr.
8692
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8693
eval 'as_fn_arith ()
8700
as_val=`expr "$@" || test $? -eq 1`
8705
if expr a : '\(a\)' >/dev/null 2>&1 &&
8706
test "X`expr 00001 : '.*\(...\)'`" = X001; then
8712
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8713
as_basename=basename
8718
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8724
as_me=`$as_basename -- "$0" ||
8725
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8726
X"$0" : 'X\(//\)$' \| \
8727
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8729
sed '/^.*\/\([^/][^/]*\)\/*$/{
8743
# Avoid depending upon Character Ranges.
8744
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8745
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8746
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8747
as_cr_digits='0123456789'
8748
as_cr_alnum=$as_cr_Letters$as_cr_digits
8750
ECHO_C= ECHO_N= ECHO_T=
8751
case `echo -n x` in #(((((
8753
case `echo 'xy\c'` in
8754
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
8756
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8763
rm -f conf$$ conf$$.exe conf$$.file
8764
if test -d conf$$.dir; then
8765
rm -f conf$$.dir/conf$$.file
8768
mkdir conf$$.dir 2>/dev/null
8770
if (echo >conf$$.file) 2>/dev/null; then
8771
if ln -s conf$$.file conf$$ 2>/dev/null; then
8773
# ... but there are two gotchas:
8774
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8775
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8776
# In both cases, we have to default to `cp -p'.
8777
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8779
elif ln conf$$.file conf$$ 2>/dev/null; then
8787
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8788
rmdir conf$$.dir 2>/dev/null
8793
# Create "$as_dir" as a directory, including parents if necessary.
8798
-*) as_dir=./$as_dir;;
8800
test -d "$as_dir" || eval $as_mkdir_p || {
8804
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8805
*) as_qdir=$as_dir;;
8807
as_dirs="'$as_qdir' $as_dirs"
8808
as_dir=`$as_dirname -- "$as_dir" ||
8809
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8810
X"$as_dir" : 'X\(//\)[^/]' \| \
8811
X"$as_dir" : 'X\(//\)$' \| \
8812
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8813
$as_echo X"$as_dir" |
8814
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8831
test -d "$as_dir" && break
8833
test -z "$as_dirs" || eval "mkdir $as_dirs"
8834
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
8838
if mkdir -p . 2>/dev/null; then
8839
as_mkdir_p='mkdir -p "$as_dir"'
8841
test -d ./-p && rmdir ./-p
8845
if test -x / >/dev/null 2>&1; then
8848
if ls -dL / >/dev/null 2>&1; then
8855
if test -d "$1"; then
8861
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8862
???[sx]*):;;*)false;;esac;fi
8866
as_executable_p=$as_test_x
8868
# Sed expression to map a string onto a valid CPP name.
8869
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8871
# Sed expression to map a string onto a valid variable name.
8872
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8876
## ----------------------------------- ##
8877
## Main body of $CONFIG_STATUS script. ##
8878
## ----------------------------------- ##
8880
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8882
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8883
# Save the log message, to keep $0 and so on meaningful, and to
8884
# report actual input values of CONFIG_FILES etc. instead of their
8885
# values after options handling.
8887
This file was extended by $as_me, which was
8888
generated by GNU Autoconf 2.65. Invocation command line was
8890
CONFIG_FILES = $CONFIG_FILES
8891
CONFIG_HEADERS = $CONFIG_HEADERS
8892
CONFIG_LINKS = $CONFIG_LINKS
8893
CONFIG_COMMANDS = $CONFIG_COMMANDS
8896
on `(hostname || uname -n) 2>/dev/null | sed 1q`
8901
case $ac_config_files in *"
8902
"*) set x $ac_config_files; shift; ac_config_files=$*;;
8905
case $ac_config_headers in *"
8906
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8910
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8911
# Files that config.status was made for.
8912
config_files="$ac_config_files"
8913
config_headers="$ac_config_headers"
8914
config_commands="$ac_config_commands"
8918
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8920
\`$as_me' instantiates files and other configuration actions
8921
from templates according to the current configuration. Unless the files
8922
and actions are specified as TAGs, all are instantiated by default.
8924
Usage: $0 [OPTION]... [TAG]...
8926
-h, --help print this help, then exit
8927
-V, --version print version number and configuration settings, then exit
8928
--config print configuration, then exit
8929
-q, --quiet, --silent
8930
do not print progress messages
8931
-d, --debug don't remove temporary files
8932
--recheck update $as_me by reconfiguring in the same conditions
8933
--file=FILE[:TEMPLATE]
8934
instantiate the configuration file FILE
8935
--header=FILE[:TEMPLATE]
8936
instantiate the configuration header FILE
8938
Configuration files:
8941
Configuration headers:
8944
Configuration commands:
8947
Report bugs to the package provider."
8950
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8951
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8954
configured by $0, generated by GNU Autoconf 2.65,
8955
with options \\"\$ac_cs_config\\"
8957
Copyright (C) 2009 Free Software Foundation, Inc.
8958
This config.status script is free software; the Free Software Foundation
8959
gives unlimited permission to copy, distribute and modify it."
8966
test -n "\$AWK" || AWK=awk
8969
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8970
# The default lists apply if the user does not specify any file.
8976
ac_option=`expr "X$1" : 'X\([^=]*\)='`
8977
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8988
# Handling of the options.
8989
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8991
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8992
$as_echo "$ac_cs_version"; exit ;;
8993
--config | --confi | --conf | --con | --co | --c )
8994
$as_echo "$ac_cs_config"; exit ;;
8995
--debug | --debu | --deb | --de | --d | -d )
8997
--file | --fil | --fi | --f )
9000
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9002
as_fn_append CONFIG_FILES " '$ac_optarg'"
9003
ac_need_defaults=false;;
9004
--header | --heade | --head | --hea )
9007
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9009
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9010
ac_need_defaults=false;;
9012
# Conflict between --help and --header
9013
as_fn_error "ambiguous option: \`$1'
9014
Try \`$0 --help' for more information.";;
9015
--help | --hel | -h )
9016
$as_echo "$ac_cs_usage"; exit ;;
9017
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
9018
| -silent | --silent | --silen | --sile | --sil | --si | --s)
9022
-*) as_fn_error "unrecognized option: \`$1'
9023
Try \`$0 --help' for more information." ;;
9025
*) as_fn_append ac_config_targets " $1"
9026
ac_need_defaults=false ;;
9032
ac_configure_extra_args=
9034
if $ac_cs_silent; then
9036
ac_configure_extra_args="$ac_configure_extra_args --silent"
9040
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9041
if \$ac_cs_recheck; then
9042
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9044
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9045
CONFIG_SHELL='$SHELL'
9051
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9055
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9056
## Running $as_me. ##
9062
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9066
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9071
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9073
# Handling of arguments.
9074
for ac_config_target in $ac_config_targets
9076
case $ac_config_target in
9077
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9078
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9079
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
9080
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9081
"gecko-mediaplayer.spec") CONFIG_FILES="$CONFIG_FILES gecko-mediaplayer.spec" ;;
9082
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9083
"src/libgmlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/libgmlib/Makefile" ;;
9084
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9086
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9091
# If the user did not use the arguments to specify the items to instantiate,
9092
# then the envvar interface is used. Set only those that are not.
9093
# We use the long form for the default assignment because of an extremely
9094
# bizarre bug on SunOS 4.1.3.
9095
if $ac_need_defaults; then
9096
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9097
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9098
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9101
# Have a temporary directory for convenience. Make it in the build tree
9102
# simply because there is no reason against having it here, and in addition,
9103
# creating and moving files from /tmp can sometimes cause problems.
9104
# Hook for its removal unless debugging.
9105
# Note that there is a small window in which the directory will not be cleaned:
9106
# after its creation but before its name has been assigned to `$tmp'.
9110
trap 'exit_status=$?
9111
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9113
trap 'as_fn_exit 1' 1 2 13 15
9115
# Create a (secure) tmp directory for tmp files.
9118
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9119
test -n "$tmp" && test -d "$tmp"
9122
tmp=./conf$$-$RANDOM
9123
(umask 077 && mkdir "$tmp")
9124
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
9126
# Set up the scripts for CONFIG_FILES section.
9127
# No need to generate them if there are no CONFIG_FILES.
9128
# This happens for instance with `./config.status config.h'.
9129
if test -n "$CONFIG_FILES"; then
9132
ac_cr=`echo X | tr X '\015'`
9133
# On cygwin, bash can eat \r inside `` if the user requested igncr.
9134
# But we know of no other shell where ac_cr would be empty at this
9135
# point, so we can use a bashism as a fallback.
9136
if test "x$ac_cr" = x; then
9137
eval ac_cr=\$\'\\r\'
9139
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9140
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9146
echo 'BEGIN {' >"$tmp/subs1.awk" &&
9151
echo "cat >conf$$subs.awk <<_ACEOF" &&
9152
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9155
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9156
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9158
for ac_last_try in false false false false false :; do
9159
. ./conf$$subs.sh ||
9160
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9162
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9163
if test $ac_delim_n = $ac_delim_num; then
9165
elif $ac_last_try; then
9166
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9168
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9173
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9174
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9178
s/^/S["/; s/!.*/"]=/
9188
s/\(.\{148\}\)..*/\1/
9190
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9195
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9202
s/\(.\{148\}\)..*/\1/
9204
s/["\\]/\\&/g; s/^/"/; s/$/"/
9208
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9213
' <conf$$subs.awk | sed '
9218
' >>$CONFIG_STATUS || ac_write_fail=1
9219
rm -f conf$$subs.awk
9220
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9222
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9223
for (key in S) S_is_set[key] = 1
9229
nfields = split(line, field, "@")
9231
len = length(field[1])
9232
for (i = 2; i < nfields; i++) {
9234
keylen = length(key)
9235
if (S_is_set[key]) {
9237
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9238
len += length(value) + length(field[++i])
9249
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9250
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9251
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9254
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9255
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
9258
# VPATH may cause trouble with some makes, so we remove $(srcdir),
9259
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9260
# trailing colons and then remove the whole line if VPATH becomes empty
9261
# (actually we leave an empty line to preserve line numbers).
9262
if test "x$srcdir" = x.; then
9263
ac_vpsub='/^[ ]*VPATH[ ]*=/{
9267
s/^\([^=]*=[ ]*\):*/\1/
9273
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9274
fi # test -n "$CONFIG_FILES"
9276
# Set up the scripts for CONFIG_HEADERS section.
9277
# No need to generate them if there are no CONFIG_HEADERS.
9278
# This happens for instance with `./config.status Makefile'.
9279
if test -n "$CONFIG_HEADERS"; then
9280
cat >"$tmp/defines.awk" <<\_ACAWK ||
9284
# Transform confdefs.h into an awk script `defines.awk', embedded as
9285
# here-document in config.status, that substitutes the proper values into
9286
# config.h.in to produce config.h.
9288
# Create a delimiter string that does not exist in confdefs.h, to ease
9289
# handling of long lines.
9291
for ac_last_try in false false :; do
9292
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9293
if test -z "$ac_t"; then
9295
elif $ac_last_try; then
9296
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
9298
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9302
# For the awk script, D is an array of macro values keyed by name,
9303
# likewise P contains macro parameters if any. Preserve backslash
9304
# newline sequences.
9306
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9308
s/.\{148\}/&'"$ac_delim"'/g
9311
s/^[ ]*#[ ]*define[ ][ ]*/ /
9318
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9320
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9324
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9325
D["\1"]=" \3\\\\\\n"\\/p
9327
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9332
s/.\{148\}/&'"$ac_delim"'/g
9337
s/["\\]/\\&/g; s/^/"/; s/$/"/p
9340
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9342
' <confdefs.h | sed '
9343
s/'"$ac_delim"'/"\\\
9344
"/g' >>$CONFIG_STATUS || ac_write_fail=1
9346
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9347
for (key in D) D_is_set[key] = 1
9350
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9352
split(line, arg, " ")
9353
if (arg[1] == "#") {
9357
defundef = substr(arg[1], 2)
9360
split(mac1, mac2, "(") #)
9362
prefix = substr(line, 1, index(line, defundef) - 1)
9363
if (D_is_set[macro]) {
9364
# Preserve the white space surrounding the "#".
9365
print prefix "define", macro P[macro] D[macro]
9368
# Replace #undef with comments. This is necessary, for example,
9369
# in the case of _POSIX_SOURCE, which is predefined and required
9370
# on some systems where configure will not decide to define it.
9371
if (defundef == "undef") {
9372
print "/*", prefix defundef, macro, "*/"
9380
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9381
as_fn_error "could not setup config headers machinery" "$LINENO" 5
9382
fi # test -n "$CONFIG_HEADERS"
9385
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9390
:[FHLC]) ac_mode=$ac_tag; continue;;
9392
case $ac_mode$ac_tag in
9394
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
9395
:[FH]-) ac_tag=-:-;;
9396
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9413
-) ac_f="$tmp/stdin";;
9414
*) # Look for the file first in the build tree, then in the source tree
9415
# (if the path is not absolute). The absolute path cannot be DOS-style,
9416
# because $ac_f cannot contain `:'.
9420
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9422
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9424
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9425
as_fn_append ac_file_inputs " '$ac_f'"
9428
# Let's still pretend it is `configure' which instantiates (i.e., don't
9429
# use $as_me), people would be surprised to read:
9430
# /* config.h. Generated by config.status. */
9431
configure_input='Generated from '`
9432
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9434
if test x"$ac_file" != x-; then
9435
configure_input="$ac_file. $configure_input"
9436
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9437
$as_echo "$as_me: creating $ac_file" >&6;}
9439
# Neutralize special characters interpreted by sed in replacement strings.
9440
case $configure_input in #(
9441
*\&* | *\|* | *\\* )
9442
ac_sed_conf_input=`$as_echo "$configure_input" |
9443
sed 's/[\\\\&|]/\\\\&/g'`;; #(
9444
*) ac_sed_conf_input=$configure_input;;
9448
*:-:* | *:-) cat >"$tmp/stdin" \
9449
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
9454
ac_dir=`$as_dirname -- "$ac_file" ||
9455
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9456
X"$ac_file" : 'X\(//\)[^/]' \| \
9457
X"$ac_file" : 'X\(//\)$' \| \
9458
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9459
$as_echo X"$ac_file" |
9460
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9477
as_dir="$ac_dir"; as_fn_mkdir_p
9481
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9483
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9484
# A ".." for each directory in $ac_dir_suffix.
9485
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9486
case $ac_top_builddir_sub in
9487
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9488
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9491
ac_abs_top_builddir=$ac_pwd
9492
ac_abs_builddir=$ac_pwd$ac_dir_suffix
9493
# for backward compatibility:
9494
ac_top_builddir=$ac_top_build_prefix
9497
.) # We are building in place.
9499
ac_top_srcdir=$ac_top_builddir_sub
9500
ac_abs_top_srcdir=$ac_pwd ;;
9501
[\\/]* | ?:[\\/]* ) # Absolute name.
9502
ac_srcdir=$srcdir$ac_dir_suffix;
9503
ac_top_srcdir=$srcdir
9504
ac_abs_top_srcdir=$srcdir ;;
9506
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9507
ac_top_srcdir=$ac_top_build_prefix$srcdir
9508
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9510
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9520
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9521
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9525
[\\/$]* | ?:[\\/]* ) ;;
9526
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9530
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9531
# If the template does not know about datarootdir, expand it.
9532
# FIXME: This hack should be removed a few years after 2.60.
9533
ac_datarootdir_hack=; ac_datarootdir_seen=
9544
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9545
*datarootdir*) ac_datarootdir_seen=yes;;
9546
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9547
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9548
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9550
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9551
ac_datarootdir_hack='
9552
s&@datadir@&$datadir&g
9553
s&@docdir@&$docdir&g
9554
s&@infodir@&$infodir&g
9555
s&@localedir@&$localedir&g
9556
s&@mandir@&$mandir&g
9557
s&\\\${datarootdir}&$datarootdir&g' ;;
9561
# Neutralize VPATH when `$srcdir' = `.'.
9562
# Shell code in configure.ac might set extrasub.
9563
# FIXME: do we really want to maintain this feature?
9564
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9565
ac_sed_extra="$ac_vpsub
9568
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9570
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9571
s|@configure_input@|$ac_sed_conf_input|;t t
9572
s&@top_builddir@&$ac_top_builddir_sub&;t t
9573
s&@top_build_prefix@&$ac_top_build_prefix&;t t
9574
s&@srcdir@&$ac_srcdir&;t t
9575
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9576
s&@top_srcdir@&$ac_top_srcdir&;t t
9577
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9578
s&@builddir@&$ac_builddir&;t t
9579
s&@abs_builddir@&$ac_abs_builddir&;t t
9580
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9581
s&@INSTALL@&$ac_INSTALL&;t t
9582
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9583
$ac_datarootdir_hack
9585
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9586
|| as_fn_error "could not create $ac_file" "$LINENO" 5
9588
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9589
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9590
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9591
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9592
which seems to be undefined. Please make sure it is defined." >&5
9593
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9594
which seems to be undefined. Please make sure it is defined." >&2;}
9598
-) cat "$tmp/out" && rm -f "$tmp/out";;
9599
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9601
|| as_fn_error "could not create $ac_file" "$LINENO" 5
9607
if test x"$ac_file" != x-; then
9609
$as_echo "/* $configure_input */" \
9610
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9611
} >"$tmp/config.h" \
9612
|| as_fn_error "could not create $ac_file" "$LINENO" 5
9613
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9614
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9615
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9618
mv "$tmp/config.h" "$ac_file" \
9619
|| as_fn_error "could not create $ac_file" "$LINENO" 5
9622
$as_echo "/* $configure_input */" \
9623
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9624
|| as_fn_error "could not create -" "$LINENO" 5
9626
# Compute "$ac_file"'s index in $config_headers.
9629
for _am_header in $config_headers :; do
9631
$_am_arg | $_am_arg:* )
9634
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
9637
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9638
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9639
X"$_am_arg" : 'X\(//\)[^/]' \| \
9640
X"$_am_arg" : 'X\(//\)$' \| \
9641
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9642
$as_echo X"$_am_arg" |
9643
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9659
s/.*/./; q'`/stamp-h$_am_stamp_count
9662
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9663
$as_echo "$as_me: executing $ac_file commands" >&6;}
9668
case $ac_file$ac_mode in
9669
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9670
# Autoconf 2.62 quotes --file arguments for eval, but not when files
9671
# are listed without --file. Let's play safe and only enable the eval
9672
# if we detect the quoting.
9673
case $CONFIG_FILES in
9674
*\'*) eval set x "$CONFIG_FILES" ;;
9675
*) set x $CONFIG_FILES ;;
9680
# Strip MF so we end up with the name of the file.
9681
mf=`echo "$mf" | sed -e 's/:.*$//'`
9682
# Check whether this is an Automake generated Makefile or not.
9683
# We used to match only the files named `Makefile.in', but
9684
# some people rename them; so instead we look at the file content.
9685
# Grep'ing the first line is not enough: some people post-process
9686
# each Makefile.in and add a new line on top of each file to say so.
9687
# Grep'ing the whole file is not good either: AIX grep has a line
9688
# limit of 2048, but all sed's we know have understand at least 4000.
9689
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9690
dirpart=`$as_dirname -- "$mf" ||
9691
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9692
X"$mf" : 'X\(//\)[^/]' \| \
9693
X"$mf" : 'X\(//\)$' \| \
9694
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9696
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9716
# Extract the definition of DEPDIR, am__include, and am__quote
9717
# from the Makefile without running `make'.
9718
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9719
test -z "$DEPDIR" && continue
9720
am__include=`sed -n 's/^am__include = //p' < "$mf"`
9721
test -z "am__include" && continue
9722
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9723
# When using ansi2knr, U may be empty or an underscore; expand it
9724
U=`sed -n 's/^U = //p' < "$mf"`
9725
# Find all dependency output files, they are included files with
9726
# $(DEPDIR) in their names. We invoke sed twice because it is the
9727
# simplest approach to changing $(DEPDIR) to its actual value in the
9729
for file in `sed -n "
9730
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9731
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9732
# Make sure the directory exists.
9733
test -f "$dirpart/$file" && continue
9734
fdir=`$as_dirname -- "$file" ||
9735
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9736
X"$file" : 'X\(//\)[^/]' \| \
9737
X"$file" : 'X\(//\)$' \| \
9738
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9740
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9757
as_dir=$dirpart/$fdir; as_fn_mkdir_p
9758
# echo "creating $dirpart/$file"
9759
echo '# dummy' > "$dirpart/$file"
9764
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
9765
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
9774
ac_clean_files=$ac_clean_files_save
9776
test $ac_write_fail = 0 ||
9777
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
9780
# configure is writing to config.log, and then calls config.status.
9781
# config.status does its own redirection, appending to config.log.
9782
# Unfortunately, on DOS this fails, as config.log is still kept open
9783
# by configure, so config.status won't be able to write to it; its
9784
# output is simply discarded. So we exec the FD to /dev/null,
9785
# effectively closing config.log, so it can be properly (re)opened and
9786
# appended to by config.status. When coming back to configure, we
9787
# need to make the FD available again.
9788
if test "$no_create" != yes; then
9790
ac_config_status_args=
9791
test "$silent" = yes &&
9792
ac_config_status_args="$ac_config_status_args --quiet"
9794
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9796
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
9797
# would make configure fail if this is the last instruction.
9798
$ac_cs_success || as_fn_exit $?
9800
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9801
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9802
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}