2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for gigolo 0.4.2.
5
# Report bugs to <http://bugs.xfce.org/>.
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
# Use a proper internal environment variable to ensure we don't fall
138
# into an infinite loop, continuously re-executing ourselves.
139
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
_as_can_reexec=no; export _as_can_reexec;
141
# We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149
*v*x* | *x*v* ) as_opts=-vx ;;
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
# We don't want this to propagate to other subprocesses.
161
{ _as_can_reexec=; unset _as_can_reexec;}
162
if test "x$CONFIG_SHELL" = x; then
163
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
# is contrary to our usage. Disable this feature.
168
alias -g '\${1+\"\$@\"}'='\"\$@\"'
171
case \`(set -o) 2>/dev/null\` in #(
179
as_required="as_fn_return () { (exit \$1); }
180
as_fn_success () { as_fn_return 0; }
181
as_fn_failure () { as_fn_return 1; }
182
as_fn_ret_success () { return 0; }
183
as_fn_ret_failure () { return 1; }
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
exitcode=1; echo positional parameters were not saved.
195
test x\$exitcode = x0 || exit 1
197
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
test \$(( 1 + 1 )) = 2 || exit 1"
202
if (eval "$as_required") 2>/dev/null; then :
207
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215
test -z "$as_dir" && as_dir=.
219
for as_base in sh bash ksh sh5; do
220
# Try only shells that exist, to save several forks.
221
as_shell=$as_dir/$as_base
222
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224
CONFIG_SHELL=$as_shell as_have_required=yes
225
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235
CONFIG_SHELL=$SHELL as_have_required=yes
240
if test "x$CONFIG_SHELL" != x; then :
242
# We cannot yet assume a decent shell, so we have to provide a
243
# neutralization value for shells without unset; and this also
244
# works around shells that cannot unset nonexistent variables.
245
# Preserve -v and -x to the replacement shell.
248
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250
*v*x* | *x*v* ) as_opts=-vx ;;
255
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256
# Admittedly, this is quite paranoid, since all the known shells bail
257
# out after a failed `exec'.
258
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262
if test x$as_have_required = xno; then :
263
$as_echo "$0: This script requires a shell more modern than all"
264
$as_echo "$0: the shells that I found on your system."
265
if test x${ZSH_VERSION+set} = xset ; then
266
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
269
$as_echo "$0: Please tell bug-autoconf@gnu.org and
270
$0: http://bugs.xfce.org/ about your system, including any
271
$0: error possibly output before this message. Then install
272
$0: a modern shell, or manually run the script under such a
273
$0: shell if you do have one."
279
SHELL=${CONFIG_SHELL-/bin/sh}
281
# Unset more variables known to interfere with behavior of common tools.
282
CLICOLOR_FORCE= GREP_OPTIONS=
283
unset CLICOLOR_FORCE GREP_OPTIONS
285
## --------------------- ##
286
## M4sh Shell Functions. ##
287
## --------------------- ##
290
# Portably unset VAR.
293
{ eval $1=; unset $1;}
297
# as_fn_set_status STATUS
298
# -----------------------
299
# Set $? to STATUS, without forking.
307
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317
# Create "$as_dir" as a directory, including parents if necessary.
322
-*) as_dir=./$as_dir;;
324
test -d "$as_dir" || eval $as_mkdir_p || {
328
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331
as_dirs="'$as_qdir' $as_dirs"
332
as_dir=`$as_dirname -- "$as_dir" ||
333
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334
X"$as_dir" : 'X\(//\)[^/]' \| \
335
X"$as_dir" : 'X\(//\)$' \| \
336
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337
$as_echo X"$as_dir" |
338
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355
test -d "$as_dir" && break
357
test -z "$as_dirs" || eval "mkdir $as_dirs"
358
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363
# as_fn_executable_p FILE
364
# -----------------------
365
# Test if FILE is an executable regular file.
366
as_fn_executable_p ()
368
test -f "$1" && test -x "$1"
369
} # as_fn_executable_p
370
# as_fn_append VAR VALUE
371
# ----------------------
372
# Append the text in VALUE to the end of the definition contained in VAR. Take
373
# advantage of any shell optimizations that allow amortized linear growth over
374
# repeated appends, instead of the typical quadratic growth present in naive
376
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377
eval 'as_fn_append ()
390
# Perform arithmetic evaluation on the ARGs, and store the result in the
391
# global $as_val. Take advantage of shells that can avoid forks. The arguments
392
# must be portable across $(()) and expr.
393
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401
as_val=`expr "$@" || test $? -eq 1`
406
# as_fn_error STATUS ERROR [LINENO LOG_FD]
407
# ----------------------------------------
408
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410
# script with STATUS, using 1 if that was 0.
413
as_status=$1; test $as_status -eq 0 && as_status=1
415
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418
$as_echo "$as_me: error: $2" >&2
419
as_fn_exit $as_status
422
if expr a : '\(a\)' >/dev/null 2>&1 &&
423
test "X`expr 00001 : '.*\(...\)'`" = X001; then
429
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441
as_me=`$as_basename -- "$0" ||
442
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443
X"$0" : 'X\(//\)$' \| \
444
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446
sed '/^.*\/\([^/][^/]*\)\/*$/{
460
# Avoid depending upon Character Ranges.
461
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464
as_cr_digits='0123456789'
465
as_cr_alnum=$as_cr_Letters$as_cr_digits
468
as_lineno_1=$LINENO as_lineno_1a=$LINENO
469
as_lineno_2=$LINENO as_lineno_2a=$LINENO
470
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488
chmod +x "$as_me.lineno" ||
489
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492
# already done that, so ensure we don't try to do so again and fall
493
# in an infinite loop. This has already happened in practice.
494
_as_can_reexec=no; export _as_can_reexec
495
# Don't try to exec as it changes $[0], causing all sort of problems
496
# (the dirname of $[0] is not the place where we might find the
497
# original and so on. Autoconf is especially sensitive to this).
499
# Exit status is that of the last command.
503
ECHO_C= ECHO_N= ECHO_T=
504
case `echo -n x` in #(((((
506
case `echo 'xy\c'` in
507
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
509
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516
rm -f conf$$ conf$$.exe conf$$.file
517
if test -d conf$$.dir; then
518
rm -f conf$$.dir/conf$$.file
521
mkdir conf$$.dir 2>/dev/null
523
if (echo >conf$$.file) 2>/dev/null; then
524
if ln -s conf$$.file conf$$ 2>/dev/null; then
526
# ... but there are two gotchas:
527
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529
# In both cases, we have to default to `cp -pR'.
530
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532
elif ln conf$$.file conf$$ 2>/dev/null; then
540
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541
rmdir conf$$.dir 2>/dev/null
543
if mkdir -p . 2>/dev/null; then
544
as_mkdir_p='mkdir -p "$as_dir"'
546
test -d ./-p && rmdir ./-p
551
as_executable_p=as_fn_executable_p
553
# Sed expression to map a string onto a valid CPP name.
554
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
# Sed expression to map a string onto a valid variable name.
557
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560
test -n "$DJDIR" || exec 7<&0 </dev/null
564
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565
# so uname gets run too.
566
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571
ac_default_prefix=/usr/local
573
ac_config_libobj_dir=.
580
# Identity of this package.
581
PACKAGE_NAME='gigolo'
582
PACKAGE_TARNAME='gigolo'
583
PACKAGE_VERSION='0.4.2'
584
PACKAGE_STRING='gigolo 0.4.2'
585
PACKAGE_BUGREPORT='http://bugs.xfce.org/'
588
ac_unique_file="src/main.c"
589
# Factoring default headers for most tests.
590
ac_includes_default="\
592
#ifdef HAVE_SYS_TYPES_H
593
# include <sys/types.h>
595
#ifdef HAVE_SYS_STAT_H
596
# include <sys/stat.h>
602
# ifdef HAVE_STDLIB_H
607
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612
#ifdef HAVE_STRINGS_H
613
# include <strings.h>
615
#ifdef HAVE_INTTYPES_H
616
# include <inttypes.h>
625
ac_subst_vars='am__EXEEXT_FALSE
633
INTLTOOL_SERVICE_RULE
635
INTLTOOL_SCHEMAS_RULE
637
INTLTOOL_XML_NOMERGE_RULE
642
INTLTOOL_SOUNDLIST_RULE
649
INTLTOOL_DIRECTORY_RULE
650
INTLTOOL_DESKTOP_RULE
651
intltool__v_merge_options_0
652
intltool__v_merge_options_
653
INTLTOOL_V_MERGE_OPTIONS
716
INSTALL_STRIP_PROGRAM
758
program_transform_name
771
enable_option_checking
773
enable_dependency_tracking
778
ac_precious_vars='build_alias
794
# Initialize some variables set by options.
796
ac_init_version=false
797
ac_unrecognized_opts=
799
# The variables have the same names as the options, with
800
# dashes changed to underlines.
808
program_transform_name=s,x,x,
816
# Installation directory options.
817
# These are left unexpanded so users can "make install exec_prefix=/foo"
818
# and all the variables that are supposed to be based on exec_prefix
819
# by default will actually change.
820
# Use braces instead of parens because sh, perl, etc. also accept them.
821
# (The list follows the same order as the GNU Coding Standards.)
822
bindir='${exec_prefix}/bin'
823
sbindir='${exec_prefix}/sbin'
824
libexecdir='${exec_prefix}/libexec'
825
datarootdir='${prefix}/share'
826
datadir='${datarootdir}'
827
sysconfdir='${prefix}/etc'
828
sharedstatedir='${prefix}/com'
829
localstatedir='${prefix}/var'
830
includedir='${prefix}/include'
831
oldincludedir='/usr/include'
832
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833
infodir='${datarootdir}/info'
838
libdir='${exec_prefix}/lib'
839
localedir='${datarootdir}/locale'
840
mandir='${datarootdir}/man'
846
# If the previous option needs an argument, assign it.
847
if test -n "$ac_prev"; then
848
eval $ac_prev=\$ac_option
854
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
859
# Accept the important Cygnus configure options, so we can diagnose typos.
861
case $ac_dashdash$ac_option in
865
-bindir | --bindir | --bindi | --bind | --bin | --bi)
867
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
870
-build | --build | --buil | --bui | --bu)
871
ac_prev=build_alias ;;
872
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
873
build_alias=$ac_optarg ;;
875
-cache-file | --cache-file | --cache-fil | --cache-fi \
876
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
877
ac_prev=cache_file ;;
878
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
879
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
880
cache_file=$ac_optarg ;;
883
cache_file=config.cache ;;
885
-datadir | --datadir | --datadi | --datad)
887
-datadir=* | --datadir=* | --datadi=* | --datad=*)
888
datadir=$ac_optarg ;;
890
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
891
| --dataroo | --dataro | --datar)
892
ac_prev=datarootdir ;;
893
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
894
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
895
datarootdir=$ac_optarg ;;
897
-disable-* | --disable-*)
898
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
899
# Reject names that are not valid shell variable names.
900
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
901
as_fn_error $? "invalid feature name: $ac_useropt"
902
ac_useropt_orig=$ac_useropt
903
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904
case $ac_user_opts in
908
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
909
ac_unrecognized_sep=', ';;
911
eval enable_$ac_useropt=no ;;
913
-docdir | --docdir | --docdi | --doc | --do)
915
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
918
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
920
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
923
-enable-* | --enable-*)
924
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
925
# Reject names that are not valid shell variable names.
926
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927
as_fn_error $? "invalid feature name: $ac_useropt"
928
ac_useropt_orig=$ac_useropt
929
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930
case $ac_user_opts in
934
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
935
ac_unrecognized_sep=', ';;
937
eval enable_$ac_useropt=\$ac_optarg ;;
939
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
940
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
941
| --exec | --exe | --ex)
942
ac_prev=exec_prefix ;;
943
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
944
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
945
| --exec=* | --exe=* | --ex=*)
946
exec_prefix=$ac_optarg ;;
948
-gas | --gas | --ga | --g)
949
# Obsolete; use --with-gas.
952
-help | --help | --hel | --he | -h)
954
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
955
ac_init_help=recursive ;;
956
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
957
ac_init_help=short ;;
959
-host | --host | --hos | --ho)
960
ac_prev=host_alias ;;
961
-host=* | --host=* | --hos=* | --ho=*)
962
host_alias=$ac_optarg ;;
964
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
966
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
968
htmldir=$ac_optarg ;;
970
-includedir | --includedir | --includedi | --included | --include \
971
| --includ | --inclu | --incl | --inc)
972
ac_prev=includedir ;;
973
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
974
| --includ=* | --inclu=* | --incl=* | --inc=*)
975
includedir=$ac_optarg ;;
977
-infodir | --infodir | --infodi | --infod | --info | --inf)
979
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
980
infodir=$ac_optarg ;;
982
-libdir | --libdir | --libdi | --libd)
984
-libdir=* | --libdir=* | --libdi=* | --libd=*)
987
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
988
| --libexe | --libex | --libe)
989
ac_prev=libexecdir ;;
990
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
991
| --libexe=* | --libex=* | --libe=*)
992
libexecdir=$ac_optarg ;;
994
-localedir | --localedir | --localedi | --localed | --locale)
996
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
997
localedir=$ac_optarg ;;
999
-localstatedir | --localstatedir | --localstatedi | --localstated \
1000
| --localstate | --localstat | --localsta | --localst | --locals)
1001
ac_prev=localstatedir ;;
1002
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1003
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1004
localstatedir=$ac_optarg ;;
1006
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1008
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1009
mandir=$ac_optarg ;;
1011
-nfp | --nfp | --nf)
1012
# Obsolete; use --without-fp.
1015
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1016
| --no-cr | --no-c | -n)
1019
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1020
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1023
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1024
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1025
| --oldin | --oldi | --old | --ol | --o)
1026
ac_prev=oldincludedir ;;
1027
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1028
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1029
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1030
oldincludedir=$ac_optarg ;;
1032
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1034
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1035
prefix=$ac_optarg ;;
1037
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1038
| --program-pre | --program-pr | --program-p)
1039
ac_prev=program_prefix ;;
1040
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1041
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1042
program_prefix=$ac_optarg ;;
1044
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1045
| --program-suf | --program-su | --program-s)
1046
ac_prev=program_suffix ;;
1047
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1048
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1049
program_suffix=$ac_optarg ;;
1051
-program-transform-name | --program-transform-name \
1052
| --program-transform-nam | --program-transform-na \
1053
| --program-transform-n | --program-transform- \
1054
| --program-transform | --program-transfor \
1055
| --program-transfo | --program-transf \
1056
| --program-trans | --program-tran \
1057
| --progr-tra | --program-tr | --program-t)
1058
ac_prev=program_transform_name ;;
1059
-program-transform-name=* | --program-transform-name=* \
1060
| --program-transform-nam=* | --program-transform-na=* \
1061
| --program-transform-n=* | --program-transform-=* \
1062
| --program-transform=* | --program-transfor=* \
1063
| --program-transfo=* | --program-transf=* \
1064
| --program-trans=* | --program-tran=* \
1065
| --progr-tra=* | --program-tr=* | --program-t=*)
1066
program_transform_name=$ac_optarg ;;
1068
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1070
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1071
pdfdir=$ac_optarg ;;
1073
-psdir | --psdir | --psdi | --psd | --ps)
1075
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1078
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1079
| -silent | --silent | --silen | --sile | --sil)
1082
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1084
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1086
sbindir=$ac_optarg ;;
1088
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1089
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1090
| --sharedst | --shareds | --shared | --share | --shar \
1092
ac_prev=sharedstatedir ;;
1093
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1094
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1095
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1097
sharedstatedir=$ac_optarg ;;
1099
-site | --site | --sit)
1101
-site=* | --site=* | --sit=*)
1104
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1106
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1107
srcdir=$ac_optarg ;;
1109
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1110
| --syscon | --sysco | --sysc | --sys | --sy)
1111
ac_prev=sysconfdir ;;
1112
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1113
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1114
sysconfdir=$ac_optarg ;;
1116
-target | --target | --targe | --targ | --tar | --ta | --t)
1117
ac_prev=target_alias ;;
1118
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1119
target_alias=$ac_optarg ;;
1121
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1124
-version | --version | --versio | --versi | --vers | -V)
1125
ac_init_version=: ;;
1128
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1129
# Reject names that are not valid shell variable names.
1130
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131
as_fn_error $? "invalid package name: $ac_useropt"
1132
ac_useropt_orig=$ac_useropt
1133
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134
case $ac_user_opts in
1138
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1139
ac_unrecognized_sep=', ';;
1141
eval with_$ac_useropt=\$ac_optarg ;;
1143
-without-* | --without-*)
1144
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1145
# Reject names that are not valid shell variable names.
1146
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1147
as_fn_error $? "invalid package name: $ac_useropt"
1148
ac_useropt_orig=$ac_useropt
1149
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150
case $ac_user_opts in
1154
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1155
ac_unrecognized_sep=', ';;
1157
eval with_$ac_useropt=no ;;
1160
# Obsolete; use --with-x.
1163
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1164
| --x-incl | --x-inc | --x-in | --x-i)
1165
ac_prev=x_includes ;;
1166
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1167
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1168
x_includes=$ac_optarg ;;
1170
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1171
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1172
ac_prev=x_libraries ;;
1173
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1174
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1175
x_libraries=$ac_optarg ;;
1177
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1178
Try \`$0 --help' for more information"
1182
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1183
# Reject names that are not valid shell variable names.
1184
case $ac_envvar in #(
1185
'' | [0-9]* | *[!_$as_cr_alnum]* )
1186
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1188
eval $ac_envvar=\$ac_optarg
1189
export $ac_envvar ;;
1192
# FIXME: should be removed in autoconf 3.0.
1193
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1194
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1195
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1196
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1202
if test -n "$ac_prev"; then
1203
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1204
as_fn_error $? "missing argument to $ac_option"
1207
if test -n "$ac_unrecognized_opts"; then
1208
case $enable_option_checking in
1210
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1211
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1215
# Check all directory arguments for consistency.
1216
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1217
datadir sysconfdir sharedstatedir localstatedir includedir \
1218
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1219
libdir localedir mandir
1221
eval ac_val=\$$ac_var
1222
# Remove trailing slashes.
1225
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1226
eval $ac_var=\$ac_val;;
1228
# Be sure to have absolute directory names.
1230
[\\/$]* | ?:[\\/]* ) continue;;
1231
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1233
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1236
# There might be people who depend on the old broken behavior: `$host'
1237
# used to hold the argument of --host etc.
1238
# FIXME: To remove some day.
1241
target=$target_alias
1243
# FIXME: To remove some day.
1244
if test "x$host_alias" != x; then
1245
if test "x$build_alias" = x; then
1246
cross_compiling=maybe
1247
elif test "x$build_alias" != "x$host_alias"; then
1253
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1255
test "$silent" = yes && exec 6>/dev/null
1258
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1259
ac_ls_di=`ls -di .` &&
1260
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1261
as_fn_error $? "working directory cannot be determined"
1262
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263
as_fn_error $? "pwd does not report name of working directory"
1266
# Find the source files, if location was not specified.
1267
if test -z "$srcdir"; then
1268
ac_srcdir_defaulted=yes
1269
# Try the directory containing this script, then the parent directory.
1270
ac_confdir=`$as_dirname -- "$as_myself" ||
1271
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272
X"$as_myself" : 'X\(//\)[^/]' \| \
1273
X"$as_myself" : 'X\(//\)$' \| \
1274
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275
$as_echo X"$as_myself" |
1276
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1294
if test ! -r "$srcdir/$ac_unique_file"; then
1298
ac_srcdir_defaulted=no
1300
if test ! -r "$srcdir/$ac_unique_file"; then
1301
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1302
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1304
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1306
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1308
# When building in place, set srcdir=.
1309
if test "$ac_abs_confdir" = "$ac_pwd"; then
1312
# Remove unnecessary trailing slashes from srcdir.
1313
# Double slashes in file names in object file debugging info
1314
# mess up M-x gdb in Emacs.
1316
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318
for ac_var in $ac_precious_vars; do
1319
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1320
eval ac_env_${ac_var}_value=\$${ac_var}
1321
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1322
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1326
# Report the --help message.
1328
if test "$ac_init_help" = "long"; then
1329
# Omit some internal or obsolete options to make the list less imposing.
1330
# This message is too long to be a string in the A/UX 3.1 sh.
1332
\`configure' configures gigolo 0.4.2 to adapt to many kinds of systems.
1334
Usage: $0 [OPTION]... [VAR=VALUE]...
1336
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337
VAR=VALUE. See below for descriptions of some of the useful variables.
1339
Defaults for the options are specified in brackets.
1342
-h, --help display this help and exit
1343
--help=short display options specific to this package
1344
--help=recursive display the short help of all the included packages
1345
-V, --version display version information and exit
1346
-q, --quiet, --silent do not print \`checking ...' messages
1347
--cache-file=FILE cache test results in FILE [disabled]
1348
-C, --config-cache alias for \`--cache-file=config.cache'
1349
-n, --no-create do not create output files
1350
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1352
Installation directories:
1353
--prefix=PREFIX install architecture-independent files in PREFIX
1354
[$ac_default_prefix]
1355
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358
By default, \`make install' will install all the files in
1359
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361
for instance \`--prefix=\$HOME'.
1363
For better control, use the options below.
1365
Fine tuning of the installation directories:
1366
--bindir=DIR user executables [EPREFIX/bin]
1367
--sbindir=DIR system admin executables [EPREFIX/sbin]
1368
--libexecdir=DIR program executables [EPREFIX/libexec]
1369
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372
--libdir=DIR object code libraries [EPREFIX/lib]
1373
--includedir=DIR C header files [PREFIX/include]
1374
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1375
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377
--infodir=DIR info documentation [DATAROOTDIR/info]
1378
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379
--mandir=DIR man documentation [DATAROOTDIR/man]
1380
--docdir=DIR documentation root [DATAROOTDIR/doc/gigolo]
1381
--htmldir=DIR html documentation [DOCDIR]
1382
--dvidir=DIR dvi documentation [DOCDIR]
1383
--pdfdir=DIR pdf documentation [DOCDIR]
1384
--psdir=DIR ps documentation [DOCDIR]
1390
--program-prefix=PREFIX prepend PREFIX to installed program names
1391
--program-suffix=SUFFIX append SUFFIX to installed program names
1392
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1396
if test -n "$ac_init_help"; then
1397
case $ac_init_help in
1398
short | recursive ) echo "Configuration of gigolo 0.4.2:";;
1403
--disable-option-checking ignore unrecognized --enable/--with options
1404
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1405
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1406
--enable-silent-rules less verbose build output (undo: "make V=1")
1407
--disable-silent-rules verbose build output (undo: "make V=0")
1408
--enable-dependency-tracking
1409
do not reject slow dependency extractors
1410
--disable-dependency-tracking
1411
speeds up one-time build
1412
--disable-deprecated Disable deprecated GTK functions.
1413
--disable-nls do not use Native Language Support
1416
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1417
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1419
--with-locales-dir=DIR Install locales into DIR
1422
Some influential environment variables:
1423
CC C compiler command
1424
CFLAGS C compiler flags
1425
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1426
nonstandard directory <lib dir>
1427
LIBS libraries to pass to the linker, e.g. -l<library>
1428
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1429
you have headers in a nonstandard directory <include dir>
1431
PKG_CONFIG path to pkg-config utility
1433
directories to add to pkg-config's search path
1435
path overriding pkg-config's built-in search path
1436
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1437
GTK_LIBS linker flags for GTK, overriding pkg-config
1439
Use these variables to override the choices made by `configure' or to help
1440
it to find libraries and programs with nonstandard names/locations.
1442
Report bugs to <http://bugs.xfce.org/>.
1447
if test "$ac_init_help" = "recursive"; then
1448
# If there are subdirs, report their specific --help.
1449
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1450
test -d "$ac_dir" ||
1451
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1456
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1458
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1459
# A ".." for each directory in $ac_dir_suffix.
1460
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1461
case $ac_top_builddir_sub in
1462
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1463
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1466
ac_abs_top_builddir=$ac_pwd
1467
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1468
# for backward compatibility:
1469
ac_top_builddir=$ac_top_build_prefix
1472
.) # We are building in place.
1474
ac_top_srcdir=$ac_top_builddir_sub
1475
ac_abs_top_srcdir=$ac_pwd ;;
1476
[\\/]* | ?:[\\/]* ) # Absolute name.
1477
ac_srcdir=$srcdir$ac_dir_suffix;
1478
ac_top_srcdir=$srcdir
1479
ac_abs_top_srcdir=$srcdir ;;
1481
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1482
ac_top_srcdir=$ac_top_build_prefix$srcdir
1483
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1485
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1487
cd "$ac_dir" || { ac_status=$?; continue; }
1488
# Check for guested configure.
1489
if test -f "$ac_srcdir/configure.gnu"; then
1491
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1492
elif test -f "$ac_srcdir/configure"; then
1494
$SHELL "$ac_srcdir/configure" --help=recursive
1496
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1498
cd "$ac_pwd" || { ac_status=$?; break; }
1502
test -n "$ac_init_help" && exit $ac_status
1503
if $ac_init_version; then
1505
gigolo configure 0.4.2
1506
generated by GNU Autoconf 2.69
1508
Copyright (C) 2012 Free Software Foundation, Inc.
1509
This configure script is free software; the Free Software Foundation
1510
gives unlimited permission to copy, distribute and modify it.
1515
## ------------------------ ##
1516
## Autoconf initialization. ##
1517
## ------------------------ ##
1519
# ac_fn_c_try_compile LINENO
1520
# --------------------------
1521
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1522
ac_fn_c_try_compile ()
1524
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525
rm -f conftest.$ac_objext
1526
if { { ac_try="$ac_compile"
1528
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1529
*) ac_try_echo=$ac_try;;
1531
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532
$as_echo "$ac_try_echo"; } >&5
1533
(eval "$ac_compile") 2>conftest.err
1535
if test -s conftest.err; then
1536
grep -v '^ *+' conftest.err >conftest.er1
1537
cat conftest.er1 >&5
1538
mv -f conftest.er1 conftest.err
1540
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541
test $ac_status = 0; } && {
1542
test -z "$ac_c_werror_flag" ||
1543
test ! -s conftest.err
1544
} && test -s conftest.$ac_objext; then :
1547
$as_echo "$as_me: failed program was:" >&5
1548
sed 's/^/| /' conftest.$ac_ext >&5
1552
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1553
as_fn_set_status $ac_retval
1555
} # ac_fn_c_try_compile
1557
# ac_fn_c_try_cpp LINENO
1558
# ----------------------
1559
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1562
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563
if { { ac_try="$ac_cpp conftest.$ac_ext"
1565
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1566
*) ac_try_echo=$ac_try;;
1568
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569
$as_echo "$ac_try_echo"; } >&5
1570
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1572
if test -s conftest.err; then
1573
grep -v '^ *+' conftest.err >conftest.er1
1574
cat conftest.er1 >&5
1575
mv -f conftest.er1 conftest.err
1577
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578
test $ac_status = 0; } > conftest.i && {
1579
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1580
test ! -s conftest.err
1584
$as_echo "$as_me: failed program was:" >&5
1585
sed 's/^/| /' conftest.$ac_ext >&5
1589
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590
as_fn_set_status $ac_retval
1594
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1595
# -------------------------------------------------------
1596
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1597
# the include files in INCLUDES and setting the cache variable VAR
1599
ac_fn_c_check_header_mongrel ()
1601
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602
if eval \${$3+:} false; then :
1603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604
$as_echo_n "checking for $2... " >&6; }
1605
if eval \${$3+:} false; then :
1606
$as_echo_n "(cached) " >&6
1609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1610
$as_echo "$ac_res" >&6; }
1612
# Is the header compilable?
1613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1614
$as_echo_n "checking $2 usability... " >&6; }
1615
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1616
/* end confdefs.h. */
1620
if ac_fn_c_try_compile "$LINENO"; then :
1621
ac_header_compiler=yes
1623
ac_header_compiler=no
1625
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1627
$as_echo "$ac_header_compiler" >&6; }
1629
# Is the header present?
1630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1631
$as_echo_n "checking $2 presence... " >&6; }
1632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633
/* end confdefs.h. */
1636
if ac_fn_c_try_cpp "$LINENO"; then :
1637
ac_header_preproc=yes
1639
ac_header_preproc=no
1641
rm -f conftest.err conftest.i conftest.$ac_ext
1642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1643
$as_echo "$ac_header_preproc" >&6; }
1645
# So? What about this header?
1646
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1648
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1649
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1650
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1651
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1654
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1655
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1656
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1657
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1658
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1659
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1660
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1661
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1662
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1663
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1664
( $as_echo "## ------------------------------------ ##
1665
## Report this to http://bugs.xfce.org/ ##
1666
## ------------------------------------ ##"
1667
) | sed "s/^/$as_me: WARNING: /" >&2
1670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1671
$as_echo_n "checking for $2... " >&6; }
1672
if eval \${$3+:} false; then :
1673
$as_echo_n "(cached) " >&6
1675
eval "$3=\$ac_header_compiler"
1678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1679
$as_echo "$ac_res" >&6; }
1681
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683
} # ac_fn_c_check_header_mongrel
1685
# ac_fn_c_try_run LINENO
1686
# ----------------------
1687
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1688
# that executables *can* be run.
1691
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692
if { { ac_try="$ac_link"
1694
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695
*) ac_try_echo=$ac_try;;
1697
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698
$as_echo "$ac_try_echo"; } >&5
1699
(eval "$ac_link") 2>&5
1701
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1703
{ { case "(($ac_try" in
1704
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1705
*) ac_try_echo=$ac_try;;
1707
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708
$as_echo "$ac_try_echo"; } >&5
1709
(eval "$ac_try") 2>&5
1711
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712
test $ac_status = 0; }; }; then :
1715
$as_echo "$as_me: program exited with status $ac_status" >&5
1716
$as_echo "$as_me: failed program was:" >&5
1717
sed 's/^/| /' conftest.$ac_ext >&5
1719
ac_retval=$ac_status
1721
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1722
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1723
as_fn_set_status $ac_retval
1727
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1728
# -------------------------------------------------------
1729
# Tests whether HEADER exists and can be compiled using the include files in
1730
# INCLUDES, setting the cache variable VAR accordingly.
1731
ac_fn_c_check_header_compile ()
1733
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735
$as_echo_n "checking for $2... " >&6; }
1736
if eval \${$3+:} false; then :
1737
$as_echo_n "(cached) " >&6
1739
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740
/* end confdefs.h. */
1744
if ac_fn_c_try_compile "$LINENO"; then :
1749
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1753
$as_echo "$ac_res" >&6; }
1754
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756
} # ac_fn_c_check_header_compile
1758
# ac_fn_c_try_link LINENO
1759
# -----------------------
1760
# Try to link conftest.$ac_ext, and return whether this succeeded.
1763
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764
rm -f conftest.$ac_objext conftest$ac_exeext
1765
if { { ac_try="$ac_link"
1767
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768
*) ac_try_echo=$ac_try;;
1770
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771
$as_echo "$ac_try_echo"; } >&5
1772
(eval "$ac_link") 2>conftest.err
1774
if test -s conftest.err; then
1775
grep -v '^ *+' conftest.err >conftest.er1
1776
cat conftest.er1 >&5
1777
mv -f conftest.er1 conftest.err
1779
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780
test $ac_status = 0; } && {
1781
test -z "$ac_c_werror_flag" ||
1782
test ! -s conftest.err
1783
} && test -s conftest$ac_exeext && {
1784
test "$cross_compiling" = yes ||
1785
test -x conftest$ac_exeext
1789
$as_echo "$as_me: failed program was:" >&5
1790
sed 's/^/| /' conftest.$ac_ext >&5
1794
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1795
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1796
# interfere with the next link command; also delete a directory that is
1797
# left behind by Apple's compiler. We do this before executing the actions.
1798
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800
as_fn_set_status $ac_retval
1802
} # ac_fn_c_try_link
1804
# ac_fn_c_check_func LINENO FUNC VAR
1805
# ----------------------------------
1806
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1807
ac_fn_c_check_func ()
1809
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811
$as_echo_n "checking for $2... " >&6; }
1812
if eval \${$3+:} false; then :
1813
$as_echo_n "(cached) " >&6
1815
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816
/* end confdefs.h. */
1817
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1818
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1819
#define $2 innocuous_$2
1821
/* System header to define __stub macros and hopefully few prototypes,
1822
which can conflict with char $2 (); below.
1823
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1824
<limits.h> exists even on freestanding compilers. */
1827
# include <limits.h>
1829
# include <assert.h>
1834
/* Override any GCC internal prototype to avoid an error.
1835
Use char because int might match the return type of a GCC
1836
builtin and then its argument prototype would still apply. */
1841
/* The GNU C library defines this for functions which it implements
1842
to always fail with ENOSYS. Some functions are actually named
1843
something starting with __ and the normal name is an alias. */
1844
#if defined __stub_$2 || defined __stub___$2
1856
if ac_fn_c_try_link "$LINENO"; then :
1861
rm -f core conftest.err conftest.$ac_objext \
1862
conftest$ac_exeext conftest.$ac_ext
1865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866
$as_echo "$ac_res" >&6; }
1867
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869
} # ac_fn_c_check_func
1870
cat >config.log <<_ACEOF
1871
This file contains any messages produced by compilers while
1872
running configure, to aid debugging if configure makes a mistake.
1874
It was created by gigolo $as_me 0.4.2, which was
1875
generated by GNU Autoconf 2.69. Invocation command line was
1887
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1888
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1889
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1890
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1891
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1893
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1894
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1896
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1897
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1898
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1899
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1900
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1901
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1902
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1906
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910
test -z "$as_dir" && as_dir=.
1911
$as_echo "PATH: $as_dir"
1927
# Keep a trace of the command line.
1928
# Strip out --no-create and --no-recursion so they do not pile up.
1929
# Strip out --silent because we don't want to record it for future runs.
1930
# Also quote any args containing shell meta-characters.
1931
# Make two passes to allow for proper duplicate-argument suppression.
1935
ac_must_keep_next=false
1941
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1942
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1943
| -silent | --silent | --silen | --sile | --sil)
1946
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1949
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1951
as_fn_append ac_configure_args1 " '$ac_arg'"
1952
if test $ac_must_keep_next = true; then
1953
ac_must_keep_next=false # Got value, back to normal.
1956
*=* | --config-cache | -C | -disable-* | --disable-* \
1957
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1958
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1959
| -with-* | --with-* | -without-* | --without-* | --x)
1960
case "$ac_configure_args0 " in
1961
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1964
-* ) ac_must_keep_next=true ;;
1967
as_fn_append ac_configure_args " '$ac_arg'"
1972
{ ac_configure_args0=; unset ac_configure_args0;}
1973
{ ac_configure_args1=; unset ac_configure_args1;}
1975
# When interrupted or exit'd, cleanup temporary files, and complete
1976
# config.log. We remove comments because anyway the quotes in there
1977
# would cause problems or look ugly.
1978
# WARNING: Use '\'' to represent an apostrophe within the trap.
1979
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1980
trap 'exit_status=$?
1981
# Save into config.log some information that might help in debugging.
1985
$as_echo "## ---------------- ##
1986
## Cache variables. ##
1987
## ---------------- ##"
1989
# The following way of writing the cache mishandles newlines in values,
1991
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1992
eval ac_val=\$$ac_var
1996
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1997
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2000
_ | IFS | as_nl) ;; #(
2001
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2002
*) { eval $ac_var=; unset $ac_var;} ;;
2007
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2008
*${as_nl}ac_space=\ *)
2010
"s/'\''/'\''\\\\'\'''\''/g;
2011
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2014
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2021
$as_echo "## ----------------- ##
2022
## Output variables. ##
2023
## ----------------- ##"
2025
for ac_var in $ac_subst_vars
2027
eval ac_val=\$$ac_var
2029
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2031
$as_echo "$ac_var='\''$ac_val'\''"
2035
if test -n "$ac_subst_files"; then
2036
$as_echo "## ------------------- ##
2037
## File substitutions. ##
2038
## ------------------- ##"
2040
for ac_var in $ac_subst_files
2042
eval ac_val=\$$ac_var
2044
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2046
$as_echo "$ac_var='\''$ac_val'\''"
2051
if test -s confdefs.h; then
2052
$as_echo "## ----------- ##
2059
test "$ac_signal" != 0 &&
2060
$as_echo "$as_me: caught signal $ac_signal"
2061
$as_echo "$as_me: exit $exit_status"
2063
rm -f core *.core core.conftest.* &&
2064
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2067
for ac_signal in 1 2 13 15; do
2068
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2072
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2073
rm -f -r conftest* confdefs.h
2075
$as_echo "/* confdefs.h */" > confdefs.h
2077
# Predefined preprocessor variables.
2079
cat >>confdefs.h <<_ACEOF
2080
#define PACKAGE_NAME "$PACKAGE_NAME"
2083
cat >>confdefs.h <<_ACEOF
2084
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2087
cat >>confdefs.h <<_ACEOF
2088
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2091
cat >>confdefs.h <<_ACEOF
2092
#define PACKAGE_STRING "$PACKAGE_STRING"
2095
cat >>confdefs.h <<_ACEOF
2096
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2099
cat >>confdefs.h <<_ACEOF
2100
#define PACKAGE_URL "$PACKAGE_URL"
2104
# Let the site file select an alternate cache file if it wants to.
2105
# Prefer an explicitly selected file to automatically selected ones.
2108
if test -n "$CONFIG_SITE"; then
2109
# We do not want a PATH search for config.site.
2110
case $CONFIG_SITE in #((
2111
-*) ac_site_file1=./$CONFIG_SITE;;
2112
*/*) ac_site_file1=$CONFIG_SITE;;
2113
*) ac_site_file1=./$CONFIG_SITE;;
2115
elif test "x$prefix" != xNONE; then
2116
ac_site_file1=$prefix/share/config.site
2117
ac_site_file2=$prefix/etc/config.site
2119
ac_site_file1=$ac_default_prefix/share/config.site
2120
ac_site_file2=$ac_default_prefix/etc/config.site
2122
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2124
test "x$ac_site_file" = xNONE && continue
2125
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2126
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2127
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2128
sed 's/^/| /' "$ac_site_file" >&5
2130
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2131
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2132
as_fn_error $? "failed to load site script $ac_site_file
2133
See \`config.log' for more details" "$LINENO" 5; }
2137
if test -r "$cache_file"; then
2138
# Some versions of bash will fail to source /dev/null (special files
2139
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2140
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2141
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2142
$as_echo "$as_me: loading cache $cache_file" >&6;}
2144
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2145
*) . "./$cache_file";;
2149
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2150
$as_echo "$as_me: creating cache $cache_file" >&6;}
2154
# Check that the precious variables saved in the cache have kept the same
2156
ac_cache_corrupted=false
2157
for ac_var in $ac_precious_vars; do
2158
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2159
eval ac_new_set=\$ac_env_${ac_var}_set
2160
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2161
eval ac_new_val=\$ac_env_${ac_var}_value
2162
case $ac_old_set,$ac_new_set in
2164
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2165
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2166
ac_cache_corrupted=: ;;
2168
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2169
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2170
ac_cache_corrupted=: ;;
2173
if test "x$ac_old_val" != "x$ac_new_val"; then
2174
# differences in whitespace do not lead to failure.
2175
ac_old_val_w=`echo x $ac_old_val`
2176
ac_new_val_w=`echo x $ac_new_val`
2177
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2178
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2179
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2180
ac_cache_corrupted=:
2182
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2183
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2184
eval $ac_var=\$ac_old_val
2186
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2187
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2188
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2189
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2192
# Pass precious variables to config.status.
2193
if test "$ac_new_set" = set; then
2195
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2196
*) ac_arg=$ac_var=$ac_new_val ;;
2198
case " $ac_configure_args " in
2199
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2200
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2204
if $ac_cache_corrupted; then
2205
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2206
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2208
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2209
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2211
## -------------------- ##
2212
## Main body of script. ##
2213
## -------------------- ##
2216
ac_cpp='$CPP $CPPFLAGS'
2217
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2218
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2219
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2222
am__api_version='1.14'
2225
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2226
if test -f "$ac_dir/install-sh"; then
2228
ac_install_sh="$ac_aux_dir/install-sh -c"
2230
elif test -f "$ac_dir/install.sh"; then
2232
ac_install_sh="$ac_aux_dir/install.sh -c"
2234
elif test -f "$ac_dir/shtool"; then
2236
ac_install_sh="$ac_aux_dir/shtool install -c"
2240
if test -z "$ac_aux_dir"; then
2241
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2244
# These three variables are undocumented and unsupported,
2245
# and are intended to be withdrawn in a future Autoconf release.
2246
# They can cause serious problems if a builder's source tree is in a directory
2247
# whose full name contains unusual characters.
2248
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2249
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2250
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2253
# Find a good install program. We prefer a C program (faster),
2254
# so one script is as good as another. But avoid the broken or
2255
# incompatible versions:
2256
# SysV /etc/install, /usr/sbin/install
2257
# SunOS /usr/etc/install
2258
# IRIX /sbin/install
2260
# AmigaOS /C/install, which installs bootblocks on floppy discs
2261
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2262
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2263
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2264
# OS/2's system install, which has a completely different semantic
2265
# ./install, which can be erroneously created by make from ./install.sh.
2266
# Reject install programs that cannot install multiple files.
2267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2268
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2269
if test -z "$INSTALL"; then
2270
if ${ac_cv_path_install+:} false; then :
2271
$as_echo_n "(cached) " >&6
2273
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277
test -z "$as_dir" && as_dir=.
2278
# Account for people who put trailing slashes in PATH elements.
2279
case $as_dir/ in #((
2280
./ | .// | /[cC]/* | \
2281
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2282
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2285
# OSF1 and SCO ODT 3.0 have their own names for install.
2286
# Don't use installbsd from OSF since it installs stuff as root
2288
for ac_prog in ginstall scoinst install; do
2289
for ac_exec_ext in '' $ac_executable_extensions; do
2290
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2291
if test $ac_prog = install &&
2292
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2293
# AIX install. It has an incompatible calling convention.
2295
elif test $ac_prog = install &&
2296
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2297
# program-specific install script used by HP pwplus--don't use.
2300
rm -rf conftest.one conftest.two conftest.dir
2301
echo one > conftest.one
2302
echo two > conftest.two
2304
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2305
test -s conftest.one && test -s conftest.two &&
2306
test -s conftest.dir/conftest.one &&
2307
test -s conftest.dir/conftest.two
2309
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2322
rm -rf conftest.one conftest.two conftest.dir
2325
if test "${ac_cv_path_install+set}" = set; then
2326
INSTALL=$ac_cv_path_install
2328
# As a last resort, use the slow shell script. Don't cache a
2329
# value for INSTALL within a source directory, because that will
2330
# break other packages using the cache if that directory is
2331
# removed, or if the value is a relative name.
2332
INSTALL=$ac_install_sh
2335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2336
$as_echo "$INSTALL" >&6; }
2338
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2339
# It thinks the first close brace ends the variable substitution.
2340
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2342
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2344
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2347
$as_echo_n "checking whether build environment is sane... " >&6; }
2348
# Reject unsafe characters in $srcdir or the absolute working directory
2349
# name. Accept space and tab only in the latter.
2353
*[\\\"\#\$\&\'\`$am_lf]*)
2354
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2357
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2358
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2361
# Do 'set' in a subshell so we don't clobber the current shell's
2362
# arguments. Must try -L first in case configure is actually a
2363
# symlink; some systems play weird games with the mod time of symlinks
2364
# (eg FreeBSD returns the mod time of the symlink's containing
2368
for am_try in 1 2; do
2369
echo "timestamp, slept: $am_has_slept" > conftest.file
2370
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2371
if test "$*" = "X"; then
2373
set X `ls -t "$srcdir/configure" conftest.file`
2375
if test "$*" != "X $srcdir/configure conftest.file" \
2376
&& test "$*" != "X conftest.file $srcdir/configure"; then
2378
# If neither matched, then we have a broken ls. This can happen
2379
# if, for instance, CONFIG_SHELL is bash and it inherits a
2380
# broken ls alias from the environment. This has actually
2381
# happened. Such a system could not be considered "sane".
2382
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2383
alias in your environment" "$LINENO" 5
2385
if test "$2" = conftest.file || test $am_try -eq 2; then
2392
test "$2" = conftest.file
2398
as_fn_error $? "newly created file is older than distributed files!
2399
Check your system clock" "$LINENO" 5
2401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2402
$as_echo "yes" >&6; }
2403
# If we didn't sleep, we still need to ensure time stamps of config.status and
2404
# generated files are strictly newer.
2406
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2413
test "$program_prefix" != NONE &&
2414
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2415
# Use a double $ so make ignores it.
2416
test "$program_suffix" != NONE &&
2417
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2418
# Double any \ or $.
2419
# By default was `s,x,x', remove it if useless.
2420
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2421
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2423
# expand $ac_aux_dir to an absolute path
2424
am_aux_dir=`cd $ac_aux_dir && pwd`
2426
if test x"${MISSING+set}" != xset; then
2429
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2431
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2434
# Use eval to expand $SHELL
2435
if eval "$MISSING --is-lightweight"; then
2436
am_missing_run="$MISSING "
2439
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2440
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2443
if test x"${install_sh}" != xset; then
2446
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2448
install_sh="\${SHELL} $am_aux_dir/install-sh"
2452
# Installed binaries are usually stripped using 'strip' when the user
2453
# run "make install-strip". However 'strip' might not be the right
2454
# tool to use in cross-compilation environments, therefore Automake
2455
# will honor the 'STRIP' environment variable to overrule this program.
2456
if test "$cross_compiling" != no; then
2457
if test -n "$ac_tool_prefix"; then
2458
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2459
set dummy ${ac_tool_prefix}strip; ac_word=$2
2460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2461
$as_echo_n "checking for $ac_word... " >&6; }
2462
if ${ac_cv_prog_STRIP+:} false; then :
2463
$as_echo_n "(cached) " >&6
2465
if test -n "$STRIP"; then
2466
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2468
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472
test -z "$as_dir" && as_dir=.
2473
for ac_exec_ext in '' $ac_executable_extensions; do
2474
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2475
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2476
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485
STRIP=$ac_cv_prog_STRIP
2486
if test -n "$STRIP"; then
2487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2488
$as_echo "$STRIP" >&6; }
2490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491
$as_echo "no" >&6; }
2496
if test -z "$ac_cv_prog_STRIP"; then
2498
# Extract the first word of "strip", so it can be a program name with args.
2499
set dummy strip; ac_word=$2
2500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2501
$as_echo_n "checking for $ac_word... " >&6; }
2502
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2503
$as_echo_n "(cached) " >&6
2505
if test -n "$ac_ct_STRIP"; then
2506
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2508
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512
test -z "$as_dir" && as_dir=.
2513
for ac_exec_ext in '' $ac_executable_extensions; do
2514
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515
ac_cv_prog_ac_ct_STRIP="strip"
2516
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2525
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2526
if test -n "$ac_ct_STRIP"; then
2527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2528
$as_echo "$ac_ct_STRIP" >&6; }
2530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2531
$as_echo "no" >&6; }
2534
if test "x$ac_ct_STRIP" = x; then
2537
case $cross_compiling:$ac_tool_warned in
2539
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2540
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2541
ac_tool_warned=yes ;;
2546
STRIP="$ac_cv_prog_STRIP"
2550
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2553
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2554
if test -z "$MKDIR_P"; then
2555
if ${ac_cv_path_mkdir+:} false; then :
2556
$as_echo_n "(cached) " >&6
2558
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2562
test -z "$as_dir" && as_dir=.
2563
for ac_prog in mkdir gmkdir; do
2564
for ac_exec_ext in '' $ac_executable_extensions; do
2565
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2566
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2567
'mkdir (GNU coreutils) '* | \
2568
'mkdir (coreutils) '* | \
2569
'mkdir (fileutils) '4.1*)
2570
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2580
test -d ./--version && rmdir ./--version
2581
if test "${ac_cv_path_mkdir+set}" = set; then
2582
MKDIR_P="$ac_cv_path_mkdir -p"
2584
# As a last resort, use the slow shell script. Don't cache a
2585
# value for MKDIR_P within a source directory, because that will
2586
# break other packages using the cache if that directory is
2587
# removed, or if the value is a relative name.
2588
MKDIR_P="$ac_install_sh -d"
2591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2592
$as_echo "$MKDIR_P" >&6; }
2594
for ac_prog in gawk mawk nawk awk
2596
# Extract the first word of "$ac_prog", so it can be a program name with args.
2597
set dummy $ac_prog; ac_word=$2
2598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2599
$as_echo_n "checking for $ac_word... " >&6; }
2600
if ${ac_cv_prog_AWK+:} false; then :
2601
$as_echo_n "(cached) " >&6
2603
if test -n "$AWK"; then
2604
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2606
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610
test -z "$as_dir" && as_dir=.
2611
for ac_exec_ext in '' $ac_executable_extensions; do
2612
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2613
ac_cv_prog_AWK="$ac_prog"
2614
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624
if test -n "$AWK"; then
2625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2626
$as_echo "$AWK" >&6; }
2628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2629
$as_echo "no" >&6; }
2633
test -n "$AWK" && break
2636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2637
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2639
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2640
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2641
$as_echo_n "(cached) " >&6
2643
cat >conftest.make <<\_ACEOF
2646
@echo '@@@%%%=$(MAKE)=@@@%%%'
2648
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2649
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2651
eval ac_cv_prog_make_${ac_make}_set=yes;;
2653
eval ac_cv_prog_make_${ac_make}_set=no;;
2657
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2659
$as_echo "yes" >&6; }
2662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2663
$as_echo "no" >&6; }
2664
SET_MAKE="MAKE=${MAKE-make}"
2667
rm -rf .tst 2>/dev/null
2668
mkdir .tst 2>/dev/null
2669
if test -d .tst; then
2674
rmdir .tst 2>/dev/null
2676
# Check whether --enable-silent-rules was given.
2677
if test "${enable_silent_rules+set}" = set; then :
2678
enableval=$enable_silent_rules;
2681
case $enable_silent_rules in # (((
2682
yes) AM_DEFAULT_VERBOSITY=0;;
2683
no) AM_DEFAULT_VERBOSITY=1;;
2684
*) AM_DEFAULT_VERBOSITY=1;;
2686
am_make=${MAKE-make}
2687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2688
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2689
if ${am_cv_make_support_nested_variables+:} false; then :
2690
$as_echo_n "(cached) " >&6
2692
if $as_echo 'TRUE=$(BAR$(V))
2698
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2699
am_cv_make_support_nested_variables=yes
2701
am_cv_make_support_nested_variables=no
2704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2705
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2706
if test $am_cv_make_support_nested_variables = yes; then
2708
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2710
AM_V=$AM_DEFAULT_VERBOSITY
2711
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2715
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2716
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2717
# is not polluted with repeated "-I."
2718
am__isrc=' -I$(srcdir)'
2719
# test to see if srcdir already configured
2720
if test -f $srcdir/config.status; then
2721
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2725
# test whether we have cygpath
2726
if test -z "$CYGPATH_W"; then
2727
if (cygpath --version) >/dev/null 2>/dev/null; then
2728
CYGPATH_W='cygpath -w'
2735
# Define the identity of the package.
2740
cat >>confdefs.h <<_ACEOF
2741
#define PACKAGE "$PACKAGE"
2745
cat >>confdefs.h <<_ACEOF
2746
#define VERSION "$VERSION"
2749
# Some tools Automake needs.
2751
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2754
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2757
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2760
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2763
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2765
# For better backward compatibility. To be removed once Automake 1.9.x
2766
# dies out for good. For more background, see:
2767
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2768
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2769
mkdir_p='$(MKDIR_P)'
2771
# We need awk for the "check" target. The system "awk" is bad on
2773
# Always define AMTAR for backward compatibility. Yes, it's still used
2774
# in the wild :-( We should find a proper way to deprecate it ...
2778
# We'll loop over all known methods to create a tar archive until one works.
2779
_am_tools='gnutar plaintar pax cpio none'
2781
# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2782
# There is notably a 21 bits limit for the UID and the GID. In fact,
2783
# the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2785
am_max_uid=2097151 # 2^21 - 1
2786
am_max_gid=$am_max_uid
2787
# The $UID and $GID variables are not portable, so we need to resort
2788
# to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2789
# below are definitely unexpected, so allow the users to see them
2790
# (that is, avoid stderr redirection).
2791
am_uid=`id -u || echo unknown`
2792
am_gid=`id -g || echo unknown`
2793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2794
$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2795
if test $am_uid -le $am_max_uid; then
2796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2797
$as_echo "yes" >&6; }
2799
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800
$as_echo "no" >&6; }
2803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2804
$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2805
if test $am_gid -le $am_max_gid; then
2806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2807
$as_echo "yes" >&6; }
2809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810
$as_echo "no" >&6; }
2814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2815
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2817
# Go ahead even if we have the value already cached. We do so because we
2818
# need to set the values for the 'am__tar' and 'am__untar' variables.
2819
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2821
for _am_tool in $_am_tools; do
2824
for _am_tar in tar gnutar gtar; do
2825
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
2826
($_am_tar --version) >&5 2>&5
2828
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829
(exit $ac_status); } && break
2831
am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2832
am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2833
am__untar="$_am_tar -xf -"
2836
# Must skip GNU tar: if it does not support --format= it doesn't create
2837
# ustar tarball either.
2838
(tar --version) >/dev/null 2>&1 && continue
2839
am__tar='tar chf - "$$tardir"'
2840
am__tar_='tar chf - "$tardir"'
2841
am__untar='tar xf -'
2844
am__tar='pax -L -x ustar -w "$$tardir"'
2845
am__tar_='pax -L -x ustar -w "$tardir"'
2849
am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2850
am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2851
am__untar='cpio -i -H ustar -d'
2860
# If the value was cached, stop now. We just wanted to have am__tar
2861
# and am__untar set.
2862
test -n "${am_cv_prog_tar_ustar}" && break
2864
# tar/untar a dummy directory, and stop if the command works.
2867
echo GrepMe > conftest.dir/file
2868
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2869
(tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2871
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872
(exit $ac_status); }
2874
if test -s conftest.tar; then
2875
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2876
($am__untar <conftest.tar) >&5 2>&5
2878
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879
(exit $ac_status); }
2880
{ echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2881
(cat conftest.dir/file) >&5 2>&5
2883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884
(exit $ac_status); }
2885
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2890
if ${am_cv_prog_tar_ustar+:} false; then :
2891
$as_echo_n "(cached) " >&6
2893
am_cv_prog_tar_ustar=$_am_tool
2896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2897
$as_echo "$am_cv_prog_tar_ustar" >&6; }
2904
# POSIX will say in a future version that running "rm -f" with no argument
2905
# is OK; and we want to be able to make that assumption in our Makefile
2906
# recipes. So use an aggressive probe to check that the usage we want is
2907
# actually supported "in the wild" to an acceptable degree.
2908
# See automake bug#10828.
2909
# To make any issue more visible, cause the running configure to be aborted
2910
# by default if the 'rm' program in use doesn't match our expectations; the
2911
# user can still override this though.
2912
if rm -f && rm -fr && rm -rf; then : OK; else
2916
Your 'rm' program seems unable to run without file operands specified
2917
on the command line, even when the '-f' option is present. This is contrary
2918
to the behaviour of most rm programs out there, and not conforming with
2919
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2921
Please tell bug-automake@gnu.org about your system, including the value
2922
of your $PATH and any error possibly output before this message. This
2923
can help us improve future automake versions.
2926
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2927
echo 'Configuration will proceed anyway, since you have set the' >&2
2928
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2932
Aborting the configuration process, to ensure you take notice of the issue.
2934
You can download and install GNU coreutils to get an 'rm' implementation
2935
that behaves properly: <http://www.gnu.org/software/coreutils/>.
2937
If you want to complete the configuration process using your problematic
2938
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2939
to "yes", and re-run configure.
2942
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2946
# Check whether --enable-silent-rules was given.
2947
if test "${enable_silent_rules+set}" = set; then :
2948
enableval=$enable_silent_rules;
2951
case $enable_silent_rules in # (((
2952
yes) AM_DEFAULT_VERBOSITY=0;;
2953
no) AM_DEFAULT_VERBOSITY=1;;
2954
*) AM_DEFAULT_VERBOSITY=0;;
2956
am_make=${MAKE-make}
2957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2958
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2959
if ${am_cv_make_support_nested_variables+:} false; then :
2960
$as_echo_n "(cached) " >&6
2962
if $as_echo 'TRUE=$(BAR$(V))
2968
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2969
am_cv_make_support_nested_variables=yes
2971
am_cv_make_support_nested_variables=no
2974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2975
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2976
if test $am_cv_make_support_nested_variables = yes; then
2978
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2980
AM_V=$AM_DEFAULT_VERBOSITY
2981
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2987
ac_config_headers="$ac_config_headers config.h"
2990
DEPDIR="${am__leading_dot}deps"
2992
ac_config_commands="$ac_config_commands depfiles"
2995
am_make=${MAKE-make}
2996
cat > confinc << 'END'
2998
@echo this is the am__doit target
3001
# If we don't find an include directive, just comment out the code.
3002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3003
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3007
# First try GNU make style include.
3008
echo "include confinc" > confmf
3009
# Ignore all kinds of additional output from 'make'.
3010
case `$am_make -s -f confmf 2> /dev/null` in #(
3011
*the\ am__doit\ target*)
3017
# Now try BSD make style include.
3018
if test "$am__include" = "#"; then
3019
echo '.include "confinc"' > confmf
3020
case `$am_make -s -f confmf 2> /dev/null` in #(
3021
*the\ am__doit\ target*)
3022
am__include=.include
3030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3031
$as_echo "$_am_result" >&6; }
3032
rm -f confinc confmf
3034
# Check whether --enable-dependency-tracking was given.
3035
if test "${enable_dependency_tracking+set}" = set; then :
3036
enableval=$enable_dependency_tracking;
3039
if test "x$enable_dependency_tracking" != xno; then
3040
am_depcomp="$ac_aux_dir/depcomp"
3044
if test "x$enable_dependency_tracking" != xno; then
3054
ac_cpp='$CPP $CPPFLAGS'
3055
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3056
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3057
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3058
if test -n "$ac_tool_prefix"; then
3059
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3060
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062
$as_echo_n "checking for $ac_word... " >&6; }
3063
if ${ac_cv_prog_CC+:} false; then :
3064
$as_echo_n "(cached) " >&6
3066
if test -n "$CC"; then
3067
ac_cv_prog_CC="$CC" # Let the user override the test.
3069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073
test -z "$as_dir" && as_dir=.
3074
for ac_exec_ext in '' $ac_executable_extensions; do
3075
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3077
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087
if test -n "$CC"; then
3088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3089
$as_echo "$CC" >&6; }
3091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092
$as_echo "no" >&6; }
3097
if test -z "$ac_cv_prog_CC"; then
3099
# Extract the first word of "gcc", so it can be a program name with args.
3100
set dummy gcc; ac_word=$2
3101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102
$as_echo_n "checking for $ac_word... " >&6; }
3103
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3104
$as_echo_n "(cached) " >&6
3106
if test -n "$ac_ct_CC"; then
3107
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3109
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3113
test -z "$as_dir" && as_dir=.
3114
for ac_exec_ext in '' $ac_executable_extensions; do
3115
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3116
ac_cv_prog_ac_ct_CC="gcc"
3117
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3126
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3127
if test -n "$ac_ct_CC"; then
3128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3129
$as_echo "$ac_ct_CC" >&6; }
3131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3132
$as_echo "no" >&6; }
3135
if test "x$ac_ct_CC" = x; then
3138
case $cross_compiling:$ac_tool_warned in
3140
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3141
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3142
ac_tool_warned=yes ;;
3150
if test -z "$CC"; then
3151
if test -n "$ac_tool_prefix"; then
3152
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3153
set dummy ${ac_tool_prefix}cc; ac_word=$2
3154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155
$as_echo_n "checking for $ac_word... " >&6; }
3156
if ${ac_cv_prog_CC+:} false; then :
3157
$as_echo_n "(cached) " >&6
3159
if test -n "$CC"; then
3160
ac_cv_prog_CC="$CC" # Let the user override the test.
3162
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166
test -z "$as_dir" && as_dir=.
3167
for ac_exec_ext in '' $ac_executable_extensions; do
3168
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3169
ac_cv_prog_CC="${ac_tool_prefix}cc"
3170
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180
if test -n "$CC"; then
3181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3182
$as_echo "$CC" >&6; }
3184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185
$as_echo "no" >&6; }
3191
if test -z "$CC"; then
3192
# Extract the first word of "cc", so it can be a program name with args.
3193
set dummy cc; ac_word=$2
3194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195
$as_echo_n "checking for $ac_word... " >&6; }
3196
if ${ac_cv_prog_CC+:} false; then :
3197
$as_echo_n "(cached) " >&6
3199
if test -n "$CC"; then
3200
ac_cv_prog_CC="$CC" # Let the user override the test.
3203
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207
test -z "$as_dir" && as_dir=.
3208
for ac_exec_ext in '' $ac_executable_extensions; do
3209
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3211
ac_prog_rejected=yes
3215
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222
if test $ac_prog_rejected = yes; then
3223
# We found a bogon in the path, so make sure we never use it.
3224
set dummy $ac_cv_prog_CC
3226
if test $# != 0; then
3227
# We chose a different compiler from the bogus one.
3228
# However, it has the same basename, so the bogon will be chosen
3229
# first if we set CC to just the basename; use the full file name.
3231
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3237
if test -n "$CC"; then
3238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3239
$as_echo "$CC" >&6; }
3241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242
$as_echo "no" >&6; }
3247
if test -z "$CC"; then
3248
if test -n "$ac_tool_prefix"; then
3249
for ac_prog in cl.exe
3251
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3252
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254
$as_echo_n "checking for $ac_word... " >&6; }
3255
if ${ac_cv_prog_CC+:} false; then :
3256
$as_echo_n "(cached) " >&6
3258
if test -n "$CC"; then
3259
ac_cv_prog_CC="$CC" # Let the user override the test.
3261
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265
test -z "$as_dir" && as_dir=.
3266
for ac_exec_ext in '' $ac_executable_extensions; do
3267
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3269
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279
if test -n "$CC"; then
3280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3281
$as_echo "$CC" >&6; }
3283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284
$as_echo "no" >&6; }
3288
test -n "$CC" && break
3291
if test -z "$CC"; then
3293
for ac_prog in cl.exe
3295
# Extract the first word of "$ac_prog", so it can be a program name with args.
3296
set dummy $ac_prog; ac_word=$2
3297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298
$as_echo_n "checking for $ac_word... " >&6; }
3299
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3300
$as_echo_n "(cached) " >&6
3302
if test -n "$ac_ct_CC"; then
3303
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3305
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309
test -z "$as_dir" && as_dir=.
3310
for ac_exec_ext in '' $ac_executable_extensions; do
3311
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3312
ac_cv_prog_ac_ct_CC="$ac_prog"
3313
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3322
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3323
if test -n "$ac_ct_CC"; then
3324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3325
$as_echo "$ac_ct_CC" >&6; }
3327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328
$as_echo "no" >&6; }
3332
test -n "$ac_ct_CC" && break
3335
if test "x$ac_ct_CC" = x; then
3338
case $cross_compiling:$ac_tool_warned in
3340
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342
ac_tool_warned=yes ;;
3351
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353
as_fn_error $? "no acceptable C compiler found in \$PATH
3354
See \`config.log' for more details" "$LINENO" 5; }
3356
# Provide some information about the compiler.
3357
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3360
for ac_option in --version -v -V -qversion; do
3361
{ { ac_try="$ac_compiler $ac_option >&5"
3363
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364
*) ac_try_echo=$ac_try;;
3366
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3367
$as_echo "$ac_try_echo"; } >&5
3368
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3370
if test -s conftest.err; then
3372
... rest of stderr output deleted ...
3373
10q' conftest.err >conftest.er1
3374
cat conftest.er1 >&5
3376
rm -f conftest.er1 conftest.err
3377
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3378
test $ac_status = 0; }
3381
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382
/* end confdefs.h. */
3392
ac_clean_files_save=$ac_clean_files
3393
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3394
# Try to create an executable without -o first, disregard a.out.
3395
# It will help us diagnose broken compilers, and finding out an intuition
3397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3398
$as_echo_n "checking whether the C compiler works... " >&6; }
3399
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3401
# The possible output files:
3402
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3405
for ac_file in $ac_files
3408
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3409
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3414
if { { ac_try="$ac_link_default"
3416
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3417
*) ac_try_echo=$ac_try;;
3419
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3420
$as_echo "$ac_try_echo"; } >&5
3421
(eval "$ac_link_default") 2>&5
3423
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3424
test $ac_status = 0; }; then :
3425
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3426
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3427
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3428
# so that the user can short-circuit this test for compilers unknown to
3430
for ac_file in $ac_files ''
3432
test -f "$ac_file" || continue
3434
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3437
# We found the default executable, but exeext='' is most
3441
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3443
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3445
# We set ac_cv_exeext here because the later test for it is not
3446
# safe: cross compilers may not add the suffix if given an `-o'
3447
# argument, so we may need to know it at that point already.
3448
# Even if this section looks crufty: it has the advantage of
3455
test "$ac_cv_exeext" = no && ac_cv_exeext=
3460
if test -z "$ac_file"; then :
3461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3462
$as_echo "no" >&6; }
3463
$as_echo "$as_me: failed program was:" >&5
3464
sed 's/^/| /' conftest.$ac_ext >&5
3466
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3467
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3468
as_fn_error 77 "C compiler cannot create executables
3469
See \`config.log' for more details" "$LINENO" 5; }
3471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3472
$as_echo "yes" >&6; }
3474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3475
$as_echo_n "checking for C compiler default output file name... " >&6; }
3476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3477
$as_echo "$ac_file" >&6; }
3478
ac_exeext=$ac_cv_exeext
3480
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3481
ac_clean_files=$ac_clean_files_save
3482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3483
$as_echo_n "checking for suffix of executables... " >&6; }
3484
if { { ac_try="$ac_link"
3486
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487
*) ac_try_echo=$ac_try;;
3489
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3490
$as_echo "$ac_try_echo"; } >&5
3491
(eval "$ac_link") 2>&5
3493
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494
test $ac_status = 0; }; then :
3495
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3496
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3497
# work properly (i.e., refer to `conftest.exe'), while it won't with
3499
for ac_file in conftest.exe conftest conftest.*; do
3500
test -f "$ac_file" || continue
3502
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3503
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3509
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3510
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3511
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3512
See \`config.log' for more details" "$LINENO" 5; }
3514
rm -f conftest conftest$ac_cv_exeext
3515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3516
$as_echo "$ac_cv_exeext" >&6; }
3518
rm -f conftest.$ac_ext
3519
EXEEXT=$ac_cv_exeext
3521
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522
/* end confdefs.h. */
3527
FILE *f = fopen ("conftest.out", "w");
3528
return ferror (f) || fclose (f) != 0;
3534
ac_clean_files="$ac_clean_files conftest.out"
3535
# Check that the compiler produces executables we can run. If not, either
3536
# the compiler is broken, or we cross compile.
3537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3538
$as_echo_n "checking whether we are cross compiling... " >&6; }
3539
if test "$cross_compiling" != yes; then
3540
{ { ac_try="$ac_link"
3542
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543
*) ac_try_echo=$ac_try;;
3545
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3546
$as_echo "$ac_try_echo"; } >&5
3547
(eval "$ac_link") 2>&5
3549
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3550
test $ac_status = 0; }
3551
if { ac_try='./conftest$ac_cv_exeext'
3552
{ { case "(($ac_try" in
3553
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554
*) ac_try_echo=$ac_try;;
3556
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3557
$as_echo "$ac_try_echo"; } >&5
3558
(eval "$ac_try") 2>&5
3560
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3561
test $ac_status = 0; }; }; then
3564
if test "$cross_compiling" = maybe; then
3567
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3568
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3569
as_fn_error $? "cannot run C compiled programs.
3570
If you meant to cross compile, use \`--host'.
3571
See \`config.log' for more details" "$LINENO" 5; }
3575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3576
$as_echo "$cross_compiling" >&6; }
3578
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3579
ac_clean_files=$ac_clean_files_save
3580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3581
$as_echo_n "checking for suffix of object files... " >&6; }
3582
if ${ac_cv_objext+:} false; then :
3583
$as_echo_n "(cached) " >&6
3585
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586
/* end confdefs.h. */
3596
rm -f conftest.o conftest.obj
3597
if { { ac_try="$ac_compile"
3599
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600
*) ac_try_echo=$ac_try;;
3602
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3603
$as_echo "$ac_try_echo"; } >&5
3604
(eval "$ac_compile") 2>&5
3606
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3607
test $ac_status = 0; }; then :
3608
for ac_file in conftest.o conftest.obj conftest.*; do
3609
test -f "$ac_file" || continue;
3611
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3612
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3617
$as_echo "$as_me: failed program was:" >&5
3618
sed 's/^/| /' conftest.$ac_ext >&5
3620
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3621
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3622
as_fn_error $? "cannot compute suffix of object files: cannot compile
3623
See \`config.log' for more details" "$LINENO" 5; }
3625
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3628
$as_echo "$ac_cv_objext" >&6; }
3629
OBJEXT=$ac_cv_objext
3631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3632
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3633
if ${ac_cv_c_compiler_gnu+:} false; then :
3634
$as_echo_n "(cached) " >&6
3636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637
/* end confdefs.h. */
3650
if ac_fn_c_try_compile "$LINENO"; then :
3655
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3660
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3661
if test $ac_compiler_gnu = yes; then
3666
ac_test_CFLAGS=${CFLAGS+set}
3667
ac_save_CFLAGS=$CFLAGS
3668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3669
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3670
if ${ac_cv_prog_cc_g+:} false; then :
3671
$as_echo_n "(cached) " >&6
3673
ac_save_c_werror_flag=$ac_c_werror_flag
3674
ac_c_werror_flag=yes
3677
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678
/* end confdefs.h. */
3688
if ac_fn_c_try_compile "$LINENO"; then :
3692
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3693
/* end confdefs.h. */
3703
if ac_fn_c_try_compile "$LINENO"; then :
3706
ac_c_werror_flag=$ac_save_c_werror_flag
3708
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3709
/* end confdefs.h. */
3719
if ac_fn_c_try_compile "$LINENO"; then :
3722
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3724
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3727
ac_c_werror_flag=$ac_save_c_werror_flag
3729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3730
$as_echo "$ac_cv_prog_cc_g" >&6; }
3731
if test "$ac_test_CFLAGS" = set; then
3732
CFLAGS=$ac_save_CFLAGS
3733
elif test $ac_cv_prog_cc_g = yes; then
3734
if test "$GCC" = yes; then
3740
if test "$GCC" = yes; then
3746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3747
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3748
if ${ac_cv_prog_cc_c89+:} false; then :
3749
$as_echo_n "(cached) " >&6
3751
ac_cv_prog_cc_c89=no
3753
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754
/* end confdefs.h. */
3758
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3759
struct buf { int x; };
3760
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3761
static char *e (p, i)
3767
static char *f (char * (*g) (char **, int), char **p, ...)
3772
s = g (p, va_arg (v,int));
3777
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3778
function prototypes and stuff, but not '\xHH' hex character constants.
3779
These don't provoke an error unfortunately, instead are silently treated
3780
as 'x'. The following induces an error, until -std is added to get
3781
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3782
array size at least. It's necessary to write '\x00'==0 to get something
3783
that's true only with -std. */
3784
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3786
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3787
inside strings and character constants. */
3789
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3791
int test (int i, double x);
3792
struct s1 {int (*f) (int a);};
3793
struct s2 {int (*f) (double a);};
3794
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3800
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3805
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3806
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3808
CC="$ac_save_CC $ac_arg"
3809
if ac_fn_c_try_compile "$LINENO"; then :
3810
ac_cv_prog_cc_c89=$ac_arg
3812
rm -f core conftest.err conftest.$ac_objext
3813
test "x$ac_cv_prog_cc_c89" != "xno" && break
3815
rm -f conftest.$ac_ext
3820
case "x$ac_cv_prog_cc_c89" in
3822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3823
$as_echo "none needed" >&6; } ;;
3825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3826
$as_echo "unsupported" >&6; } ;;
3828
CC="$CC $ac_cv_prog_cc_c89"
3829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3830
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3832
if test "x$ac_cv_prog_cc_c89" != xno; then :
3837
ac_cpp='$CPP $CPPFLAGS'
3838
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3843
ac_cpp='$CPP $CPPFLAGS'
3844
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3845
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3846
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3848
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3849
if ${am_cv_prog_cc_c_o+:} false; then :
3850
$as_echo_n "(cached) " >&6
3852
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853
/* end confdefs.h. */
3863
# Make sure it works both with $CC and with simple cc.
3864
# Following AC_PROG_CC_C_O, we do the test twice because some
3865
# compilers refuse to overwrite an existing .o file with -o,
3866
# though they will create one.
3867
am_cv_prog_cc_c_o=yes
3869
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3870
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3872
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873
(exit $ac_status); } \
3874
&& test -f conftest2.$ac_objext; then
3877
am_cv_prog_cc_c_o=no
3881
rm -f core conftest*
3884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3885
$as_echo "$am_cv_prog_cc_c_o" >&6; }
3886
if test "$am_cv_prog_cc_c_o" != yes; then
3887
# Losing compiler, so override with the script.
3888
# FIXME: It is wrong to rewrite CC.
3889
# But if we don't then we get into trouble of one sort or another.
3890
# A longer-term fix would be to have automake use am__CC in this case,
3891
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3892
CC="$am_aux_dir/compile $CC"
3895
ac_cpp='$CPP $CPPFLAGS'
3896
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3897
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3898
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3901
depcc="$CC" am_compiler_list=
3903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3904
$as_echo_n "checking dependency style of $depcc... " >&6; }
3905
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3906
$as_echo_n "(cached) " >&6
3908
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3909
# We make a subdir and do the tests there. Otherwise we can end up
3910
# making bogus files that we don't know about and never remove. For
3911
# instance it was reported that on HP-UX the gcc test will end up
3912
# making a dummy file named 'D' -- because '-MD' means "put the output
3916
# Copy depcomp to subdir because otherwise we won't find it if we're
3917
# using a relative directory.
3918
cp "$am_depcomp" conftest.dir
3920
# We will build objects and dependencies in a subdirectory because
3921
# it helps to detect inapplicable dependency modes. For instance
3922
# both Tru64's cc and ICC support -MD to output dependencies as a
3923
# side effect of compilation, but ICC will put the dependencies in
3924
# the current directory while Tru64 will put them in the object
3928
am_cv_CC_dependencies_compiler_type=none
3929
if test "$am_compiler_list" = ""; then
3930
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3933
case " $depcc " in #(
3934
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3937
for depmode in $am_compiler_list; do
3938
# Setup a source with many dependencies, because some compilers
3939
# like to wrap large dependency lists on column 80 (with \), and
3940
# we should not choose a depcomp mode which is confused by this.
3942
# We need to recreate these files for each test, as the compiler may
3943
# overwrite some of them when testing with obscure command lines.
3944
# This happens at least with the AIX C compiler.
3946
for i in 1 2 3 4 5 6; do
3947
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3948
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3949
# Solaris 10 /bin/sh.
3950
echo '/* dummy */' > sub/conftst$i.h
3952
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3954
# We check with '-c' and '-o' for the sake of the "dashmstdout"
3955
# mode. It turns out that the SunPro C++ compiler does not properly
3956
# handle '-M -o', and we need to detect this. Also, some Intel
3957
# versions had trouble with output in subdirs.
3958
am__obj=sub/conftest.${OBJEXT-o}
3959
am__minus_obj="-o $am__obj"
3962
# This depmode causes a compiler race in universal mode.
3963
test "$am__universal" = false || continue
3966
# After this tag, mechanisms are not by side-effect, so they'll
3967
# only be used when explicitly requested.
3968
if test "x$enable_dependency_tracking" = xyes; then
3974
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3975
# This compiler won't grok '-c -o', but also, the minuso test has
3976
# not run yet. These depmodes are late enough in the game, and
3977
# so weak that their functioning should not be impacted.
3978
am__obj=conftest.${OBJEXT-o}
3983
if depmode=$depmode \
3984
source=sub/conftest.c object=$am__obj \
3985
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3986
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3987
>/dev/null 2>conftest.err &&
3988
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3989
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3990
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3991
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3992
# icc doesn't choke on unknown options, it will just issue warnings
3993
# or remarks (even with -Werror). So we grep stderr for any message
3994
# that says an option was ignored or not supported.
3995
# When given -MP, icc 7.0 and 7.1 complain thusly:
3996
# icc: Command line warning: ignoring option '-M'; no argument required
3997
# The diagnosis changed in icc 8.0:
3998
# icc: Command line remark: option '-MP' not supported
3999
if (grep 'ignoring option' conftest.err ||
4000
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4001
am_cv_CC_dependencies_compiler_type=$depmode
4010
am_cv_CC_dependencies_compiler_type=none
4014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4015
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4016
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4019
test "x$enable_dependency_tracking" != xno \
4020
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4022
am__fastdepCC_FALSE='#'
4024
am__fastdepCC_TRUE='#'
4025
am__fastdepCC_FALSE=
4031
ac_cpp='$CPP $CPPFLAGS'
4032
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4033
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4034
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4036
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4037
# On Suns, sometimes $CPP names a directory.
4038
if test -n "$CPP" && test -d "$CPP"; then
4041
if test -z "$CPP"; then
4042
if ${ac_cv_prog_CPP+:} false; then :
4043
$as_echo_n "(cached) " >&6
4045
# Double quotes because CPP needs to be expanded
4046
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4049
for ac_c_preproc_warn_flag in '' yes
4051
# Use a header file that comes with gcc, so configuring glibc
4052
# with a fresh cross-compiler works.
4053
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4054
# <limits.h> exists even on freestanding compilers.
4055
# On the NeXT, cc -E runs the code through the compiler's parser,
4056
# not just through cpp. "Syntax error" is here to catch this case.
4057
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058
/* end confdefs.h. */
4060
# include <limits.h>
4062
# include <assert.h>
4066
if ac_fn_c_try_cpp "$LINENO"; then :
4069
# Broken: fails on valid input.
4072
rm -f conftest.err conftest.i conftest.$ac_ext
4074
# OK, works on sane cases. Now check whether nonexistent headers
4075
# can be detected and how.
4076
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077
/* end confdefs.h. */
4078
#include <ac_nonexistent.h>
4080
if ac_fn_c_try_cpp "$LINENO"; then :
4081
# Broken: success on invalid input.
4084
# Passes both tests.
4088
rm -f conftest.err conftest.i conftest.$ac_ext
4091
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4092
rm -f conftest.i conftest.err conftest.$ac_ext
4093
if $ac_preproc_ok; then :
4105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4106
$as_echo "$CPP" >&6; }
4108
for ac_c_preproc_warn_flag in '' yes
4110
# Use a header file that comes with gcc, so configuring glibc
4111
# with a fresh cross-compiler works.
4112
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4113
# <limits.h> exists even on freestanding compilers.
4114
# On the NeXT, cc -E runs the code through the compiler's parser,
4115
# not just through cpp. "Syntax error" is here to catch this case.
4116
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117
/* end confdefs.h. */
4119
# include <limits.h>
4121
# include <assert.h>
4125
if ac_fn_c_try_cpp "$LINENO"; then :
4128
# Broken: fails on valid input.
4131
rm -f conftest.err conftest.i conftest.$ac_ext
4133
# OK, works on sane cases. Now check whether nonexistent headers
4134
# can be detected and how.
4135
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136
/* end confdefs.h. */
4137
#include <ac_nonexistent.h>
4139
if ac_fn_c_try_cpp "$LINENO"; then :
4140
# Broken: success on invalid input.
4143
# Passes both tests.
4147
rm -f conftest.err conftest.i conftest.$ac_ext
4150
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4151
rm -f conftest.i conftest.err conftest.$ac_ext
4152
if $ac_preproc_ok; then :
4155
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4156
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4157
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4158
See \`config.log' for more details" "$LINENO" 5; }
4162
ac_cpp='$CPP $CPPFLAGS'
4163
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4164
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4165
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4169
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4170
if ${ac_cv_path_GREP+:} false; then :
4171
$as_echo_n "(cached) " >&6
4173
if test -z "$GREP"; then
4174
ac_path_GREP_found=false
4175
# Loop through the user's path and test for each of PROGNAME-LIST
4176
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4180
test -z "$as_dir" && as_dir=.
4181
for ac_prog in grep ggrep; do
4182
for ac_exec_ext in '' $ac_executable_extensions; do
4183
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4184
as_fn_executable_p "$ac_path_GREP" || continue
4185
# Check for GNU ac_path_GREP and select it if it is found.
4186
# Check for GNU $ac_path_GREP
4187
case `"$ac_path_GREP" --version 2>&1` in
4189
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4192
$as_echo_n 0123456789 >"conftest.in"
4195
cat "conftest.in" "conftest.in" >"conftest.tmp"
4196
mv "conftest.tmp" "conftest.in"
4197
cp "conftest.in" "conftest.nl"
4198
$as_echo 'GREP' >> "conftest.nl"
4199
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4200
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4201
as_fn_arith $ac_count + 1 && ac_count=$as_val
4202
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4203
# Best one so far, save it but keep looking for a better one
4204
ac_cv_path_GREP="$ac_path_GREP"
4205
ac_path_GREP_max=$ac_count
4207
# 10*(2^10) chars as input seems more than enough
4208
test $ac_count -gt 10 && break
4210
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4213
$ac_path_GREP_found && break 3
4218
if test -z "$ac_cv_path_GREP"; then
4219
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4222
ac_cv_path_GREP=$GREP
4226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4227
$as_echo "$ac_cv_path_GREP" >&6; }
4228
GREP="$ac_cv_path_GREP"
4231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4232
$as_echo_n "checking for egrep... " >&6; }
4233
if ${ac_cv_path_EGREP+:} false; then :
4234
$as_echo_n "(cached) " >&6
4236
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4237
then ac_cv_path_EGREP="$GREP -E"
4239
if test -z "$EGREP"; then
4240
ac_path_EGREP_found=false
4241
# Loop through the user's path and test for each of PROGNAME-LIST
4242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4246
test -z "$as_dir" && as_dir=.
4247
for ac_prog in egrep; do
4248
for ac_exec_ext in '' $ac_executable_extensions; do
4249
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4250
as_fn_executable_p "$ac_path_EGREP" || continue
4251
# Check for GNU ac_path_EGREP and select it if it is found.
4252
# Check for GNU $ac_path_EGREP
4253
case `"$ac_path_EGREP" --version 2>&1` in
4255
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4258
$as_echo_n 0123456789 >"conftest.in"
4261
cat "conftest.in" "conftest.in" >"conftest.tmp"
4262
mv "conftest.tmp" "conftest.in"
4263
cp "conftest.in" "conftest.nl"
4264
$as_echo 'EGREP' >> "conftest.nl"
4265
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4266
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4267
as_fn_arith $ac_count + 1 && ac_count=$as_val
4268
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4269
# Best one so far, save it but keep looking for a better one
4270
ac_cv_path_EGREP="$ac_path_EGREP"
4271
ac_path_EGREP_max=$ac_count
4273
# 10*(2^10) chars as input seems more than enough
4274
test $ac_count -gt 10 && break
4276
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4279
$ac_path_EGREP_found && break 3
4284
if test -z "$ac_cv_path_EGREP"; then
4285
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4288
ac_cv_path_EGREP=$EGREP
4293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4294
$as_echo "$ac_cv_path_EGREP" >&6; }
4295
EGREP="$ac_cv_path_EGREP"
4298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4299
$as_echo_n "checking for ANSI C header files... " >&6; }
4300
if ${ac_cv_header_stdc+:} false; then :
4301
$as_echo_n "(cached) " >&6
4303
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304
/* end confdefs.h. */
4318
if ac_fn_c_try_compile "$LINENO"; then :
4319
ac_cv_header_stdc=yes
4321
ac_cv_header_stdc=no
4323
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4325
if test $ac_cv_header_stdc = yes; then
4326
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4327
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328
/* end confdefs.h. */
4332
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4333
$EGREP "memchr" >/dev/null 2>&1; then :
4336
ac_cv_header_stdc=no
4342
if test $ac_cv_header_stdc = yes; then
4343
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4344
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345
/* end confdefs.h. */
4349
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4350
$EGREP "free" >/dev/null 2>&1; then :
4353
ac_cv_header_stdc=no
4359
if test $ac_cv_header_stdc = yes; then
4360
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4361
if test "$cross_compiling" = yes; then :
4364
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365
/* end confdefs.h. */
4368
#if ((' ' & 0x0FF) == 0x020)
4369
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4370
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4372
# define ISLOWER(c) \
4373
(('a' <= (c) && (c) <= 'i') \
4374
|| ('j' <= (c) && (c) <= 'r') \
4375
|| ('s' <= (c) && (c) <= 'z'))
4376
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4379
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4384
for (i = 0; i < 256; i++)
4385
if (XOR (islower (i), ISLOWER (i))
4386
|| toupper (i) != TOUPPER (i))
4391
if ac_fn_c_try_run "$LINENO"; then :
4394
ac_cv_header_stdc=no
4396
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4397
conftest.$ac_objext conftest.beam conftest.$ac_ext
4402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4403
$as_echo "$ac_cv_header_stdc" >&6; }
4404
if test $ac_cv_header_stdc = yes; then
4406
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4410
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4411
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4412
inttypes.h stdint.h unistd.h
4414
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4415
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4417
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4418
cat >>confdefs.h <<_ACEOF
4419
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4428
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4429
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4436
if test "$MINIX" = yes; then
4438
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4441
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4444
$as_echo "#define _MINIX 1" >>confdefs.h
4449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4450
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4451
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4452
$as_echo_n "(cached) " >&6
4454
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455
/* end confdefs.h. */
4457
# define __EXTENSIONS__ 1
4458
$ac_includes_default
4467
if ac_fn_c_try_compile "$LINENO"; then :
4468
ac_cv_safe_to_define___extensions__=yes
4470
ac_cv_safe_to_define___extensions__=no
4472
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4475
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4476
test $ac_cv_safe_to_define___extensions__ = yes &&
4477
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4479
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4481
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4483
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4485
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4493
ac_cpp='$CPP $CPPFLAGS'
4494
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4497
if test -n "$ac_tool_prefix"; then
4498
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4499
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501
$as_echo_n "checking for $ac_word... " >&6; }
4502
if ${ac_cv_prog_CC+:} false; then :
4503
$as_echo_n "(cached) " >&6
4505
if test -n "$CC"; then
4506
ac_cv_prog_CC="$CC" # Let the user override the test.
4508
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4512
test -z "$as_dir" && as_dir=.
4513
for ac_exec_ext in '' $ac_executable_extensions; do
4514
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4515
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4516
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4526
if test -n "$CC"; then
4527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4528
$as_echo "$CC" >&6; }
4530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4531
$as_echo "no" >&6; }
4536
if test -z "$ac_cv_prog_CC"; then
4538
# Extract the first word of "gcc", so it can be a program name with args.
4539
set dummy gcc; ac_word=$2
4540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541
$as_echo_n "checking for $ac_word... " >&6; }
4542
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4543
$as_echo_n "(cached) " >&6
4545
if test -n "$ac_ct_CC"; then
4546
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4548
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552
test -z "$as_dir" && as_dir=.
4553
for ac_exec_ext in '' $ac_executable_extensions; do
4554
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4555
ac_cv_prog_ac_ct_CC="gcc"
4556
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4566
if test -n "$ac_ct_CC"; then
4567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4568
$as_echo "$ac_ct_CC" >&6; }
4570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571
$as_echo "no" >&6; }
4574
if test "x$ac_ct_CC" = x; then
4577
case $cross_compiling:$ac_tool_warned in
4579
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4580
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4581
ac_tool_warned=yes ;;
4589
if test -z "$CC"; then
4590
if test -n "$ac_tool_prefix"; then
4591
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4592
set dummy ${ac_tool_prefix}cc; ac_word=$2
4593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594
$as_echo_n "checking for $ac_word... " >&6; }
4595
if ${ac_cv_prog_CC+:} false; then :
4596
$as_echo_n "(cached) " >&6
4598
if test -n "$CC"; then
4599
ac_cv_prog_CC="$CC" # Let the user override the test.
4601
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605
test -z "$as_dir" && as_dir=.
4606
for ac_exec_ext in '' $ac_executable_extensions; do
4607
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4608
ac_cv_prog_CC="${ac_tool_prefix}cc"
4609
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4619
if test -n "$CC"; then
4620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4621
$as_echo "$CC" >&6; }
4623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624
$as_echo "no" >&6; }
4630
if test -z "$CC"; then
4631
# Extract the first word of "cc", so it can be a program name with args.
4632
set dummy cc; ac_word=$2
4633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634
$as_echo_n "checking for $ac_word... " >&6; }
4635
if ${ac_cv_prog_CC+:} false; then :
4636
$as_echo_n "(cached) " >&6
4638
if test -n "$CC"; then
4639
ac_cv_prog_CC="$CC" # Let the user override the test.
4642
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646
test -z "$as_dir" && as_dir=.
4647
for ac_exec_ext in '' $ac_executable_extensions; do
4648
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4649
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4650
ac_prog_rejected=yes
4654
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4661
if test $ac_prog_rejected = yes; then
4662
# We found a bogon in the path, so make sure we never use it.
4663
set dummy $ac_cv_prog_CC
4665
if test $# != 0; then
4666
# We chose a different compiler from the bogus one.
4667
# However, it has the same basename, so the bogon will be chosen
4668
# first if we set CC to just the basename; use the full file name.
4670
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4676
if test -n "$CC"; then
4677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4678
$as_echo "$CC" >&6; }
4680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681
$as_echo "no" >&6; }
4686
if test -z "$CC"; then
4687
if test -n "$ac_tool_prefix"; then
4688
for ac_prog in cl.exe
4690
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4691
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4693
$as_echo_n "checking for $ac_word... " >&6; }
4694
if ${ac_cv_prog_CC+:} false; then :
4695
$as_echo_n "(cached) " >&6
4697
if test -n "$CC"; then
4698
ac_cv_prog_CC="$CC" # Let the user override the test.
4700
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704
test -z "$as_dir" && as_dir=.
4705
for ac_exec_ext in '' $ac_executable_extensions; do
4706
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4707
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4708
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4718
if test -n "$CC"; then
4719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4720
$as_echo "$CC" >&6; }
4722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723
$as_echo "no" >&6; }
4727
test -n "$CC" && break
4730
if test -z "$CC"; then
4732
for ac_prog in cl.exe
4734
# Extract the first word of "$ac_prog", so it can be a program name with args.
4735
set dummy $ac_prog; ac_word=$2
4736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4737
$as_echo_n "checking for $ac_word... " >&6; }
4738
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4739
$as_echo_n "(cached) " >&6
4741
if test -n "$ac_ct_CC"; then
4742
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748
test -z "$as_dir" && as_dir=.
4749
for ac_exec_ext in '' $ac_executable_extensions; do
4750
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4751
ac_cv_prog_ac_ct_CC="$ac_prog"
4752
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4761
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4762
if test -n "$ac_ct_CC"; then
4763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4764
$as_echo "$ac_ct_CC" >&6; }
4766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4767
$as_echo "no" >&6; }
4771
test -n "$ac_ct_CC" && break
4774
if test "x$ac_ct_CC" = x; then
4777
case $cross_compiling:$ac_tool_warned in
4779
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4780
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4781
ac_tool_warned=yes ;;
4790
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4791
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4792
as_fn_error $? "no acceptable C compiler found in \$PATH
4793
See \`config.log' for more details" "$LINENO" 5; }
4795
# Provide some information about the compiler.
4796
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4799
for ac_option in --version -v -V -qversion; do
4800
{ { ac_try="$ac_compiler $ac_option >&5"
4802
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4803
*) ac_try_echo=$ac_try;;
4805
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4806
$as_echo "$ac_try_echo"; } >&5
4807
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4809
if test -s conftest.err; then
4811
... rest of stderr output deleted ...
4812
10q' conftest.err >conftest.er1
4813
cat conftest.er1 >&5
4815
rm -f conftest.er1 conftest.err
4816
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4817
test $ac_status = 0; }
4820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4821
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4822
if ${ac_cv_c_compiler_gnu+:} false; then :
4823
$as_echo_n "(cached) " >&6
4825
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826
/* end confdefs.h. */
4839
if ac_fn_c_try_compile "$LINENO"; then :
4844
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4849
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4850
if test $ac_compiler_gnu = yes; then
4855
ac_test_CFLAGS=${CFLAGS+set}
4856
ac_save_CFLAGS=$CFLAGS
4857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4858
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4859
if ${ac_cv_prog_cc_g+:} false; then :
4860
$as_echo_n "(cached) " >&6
4862
ac_save_c_werror_flag=$ac_c_werror_flag
4863
ac_c_werror_flag=yes
4866
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867
/* end confdefs.h. */
4877
if ac_fn_c_try_compile "$LINENO"; then :
4881
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4882
/* end confdefs.h. */
4892
if ac_fn_c_try_compile "$LINENO"; then :
4895
ac_c_werror_flag=$ac_save_c_werror_flag
4897
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898
/* end confdefs.h. */
4908
if ac_fn_c_try_compile "$LINENO"; then :
4911
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4913
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4915
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4916
ac_c_werror_flag=$ac_save_c_werror_flag
4918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4919
$as_echo "$ac_cv_prog_cc_g" >&6; }
4920
if test "$ac_test_CFLAGS" = set; then
4921
CFLAGS=$ac_save_CFLAGS
4922
elif test $ac_cv_prog_cc_g = yes; then
4923
if test "$GCC" = yes; then
4929
if test "$GCC" = yes; then
4935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4936
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4937
if ${ac_cv_prog_cc_c89+:} false; then :
4938
$as_echo_n "(cached) " >&6
4940
ac_cv_prog_cc_c89=no
4942
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4943
/* end confdefs.h. */
4947
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4948
struct buf { int x; };
4949
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4950
static char *e (p, i)
4956
static char *f (char * (*g) (char **, int), char **p, ...)
4961
s = g (p, va_arg (v,int));
4966
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4967
function prototypes and stuff, but not '\xHH' hex character constants.
4968
These don't provoke an error unfortunately, instead are silently treated
4969
as 'x'. The following induces an error, until -std is added to get
4970
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4971
array size at least. It's necessary to write '\x00'==0 to get something
4972
that's true only with -std. */
4973
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4975
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4976
inside strings and character constants. */
4978
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4980
int test (int i, double x);
4981
struct s1 {int (*f) (int a);};
4982
struct s2 {int (*f) (double a);};
4983
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4989
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4994
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4995
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4997
CC="$ac_save_CC $ac_arg"
4998
if ac_fn_c_try_compile "$LINENO"; then :
4999
ac_cv_prog_cc_c89=$ac_arg
5001
rm -f core conftest.err conftest.$ac_objext
5002
test "x$ac_cv_prog_cc_c89" != "xno" && break
5004
rm -f conftest.$ac_ext
5009
case "x$ac_cv_prog_cc_c89" in
5011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5012
$as_echo "none needed" >&6; } ;;
5014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5015
$as_echo "unsupported" >&6; } ;;
5017
CC="$CC $ac_cv_prog_cc_c89"
5018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5019
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5021
if test "x$ac_cv_prog_cc_c89" != xno; then :
5026
ac_cpp='$CPP $CPPFLAGS'
5027
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5028
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5029
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5032
ac_cpp='$CPP $CPPFLAGS'
5033
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5034
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5035
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5037
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5038
if ${am_cv_prog_cc_c_o+:} false; then :
5039
$as_echo_n "(cached) " >&6
5041
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5042
/* end confdefs.h. */
5052
# Make sure it works both with $CC and with simple cc.
5053
# Following AC_PROG_CC_C_O, we do the test twice because some
5054
# compilers refuse to overwrite an existing .o file with -o,
5055
# though they will create one.
5056
am_cv_prog_cc_c_o=yes
5058
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5059
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062
(exit $ac_status); } \
5063
&& test -f conftest2.$ac_objext; then
5066
am_cv_prog_cc_c_o=no
5070
rm -f core conftest*
5073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5074
$as_echo "$am_cv_prog_cc_c_o" >&6; }
5075
if test "$am_cv_prog_cc_c_o" != yes; then
5076
# Losing compiler, so override with the script.
5077
# FIXME: It is wrong to rewrite CC.
5078
# But if we don't then we get into trouble of one sort or another.
5079
# A longer-term fix would be to have automake use am__CC in this case,
5080
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5081
CC="$am_aux_dir/compile $CC"
5084
ac_cpp='$CPP $CPPFLAGS'
5085
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5090
depcc="$CC" am_compiler_list=
5092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5093
$as_echo_n "checking dependency style of $depcc... " >&6; }
5094
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5095
$as_echo_n "(cached) " >&6
5097
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5098
# We make a subdir and do the tests there. Otherwise we can end up
5099
# making bogus files that we don't know about and never remove. For
5100
# instance it was reported that on HP-UX the gcc test will end up
5101
# making a dummy file named 'D' -- because '-MD' means "put the output
5105
# Copy depcomp to subdir because otherwise we won't find it if we're
5106
# using a relative directory.
5107
cp "$am_depcomp" conftest.dir
5109
# We will build objects and dependencies in a subdirectory because
5110
# it helps to detect inapplicable dependency modes. For instance
5111
# both Tru64's cc and ICC support -MD to output dependencies as a
5112
# side effect of compilation, but ICC will put the dependencies in
5113
# the current directory while Tru64 will put them in the object
5117
am_cv_CC_dependencies_compiler_type=none
5118
if test "$am_compiler_list" = ""; then
5119
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5122
case " $depcc " in #(
5123
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5126
for depmode in $am_compiler_list; do
5127
# Setup a source with many dependencies, because some compilers
5128
# like to wrap large dependency lists on column 80 (with \), and
5129
# we should not choose a depcomp mode which is confused by this.
5131
# We need to recreate these files for each test, as the compiler may
5132
# overwrite some of them when testing with obscure command lines.
5133
# This happens at least with the AIX C compiler.
5135
for i in 1 2 3 4 5 6; do
5136
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5137
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5138
# Solaris 10 /bin/sh.
5139
echo '/* dummy */' > sub/conftst$i.h
5141
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5143
# We check with '-c' and '-o' for the sake of the "dashmstdout"
5144
# mode. It turns out that the SunPro C++ compiler does not properly
5145
# handle '-M -o', and we need to detect this. Also, some Intel
5146
# versions had trouble with output in subdirs.
5147
am__obj=sub/conftest.${OBJEXT-o}
5148
am__minus_obj="-o $am__obj"
5151
# This depmode causes a compiler race in universal mode.
5152
test "$am__universal" = false || continue
5155
# After this tag, mechanisms are not by side-effect, so they'll
5156
# only be used when explicitly requested.
5157
if test "x$enable_dependency_tracking" = xyes; then
5163
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5164
# This compiler won't grok '-c -o', but also, the minuso test has
5165
# not run yet. These depmodes are late enough in the game, and
5166
# so weak that their functioning should not be impacted.
5167
am__obj=conftest.${OBJEXT-o}
5172
if depmode=$depmode \
5173
source=sub/conftest.c object=$am__obj \
5174
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5175
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5176
>/dev/null 2>conftest.err &&
5177
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5178
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5179
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5180
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5181
# icc doesn't choke on unknown options, it will just issue warnings
5182
# or remarks (even with -Werror). So we grep stderr for any message
5183
# that says an option was ignored or not supported.
5184
# When given -MP, icc 7.0 and 7.1 complain thusly:
5185
# icc: Command line warning: ignoring option '-M'; no argument required
5186
# The diagnosis changed in icc 8.0:
5187
# icc: Command line remark: option '-MP' not supported
5188
if (grep 'ignoring option' conftest.err ||
5189
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5190
am_cv_CC_dependencies_compiler_type=$depmode
5199
am_cv_CC_dependencies_compiler_type=none
5203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5204
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5205
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5208
test "x$enable_dependency_tracking" != xno \
5209
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5211
am__fastdepCC_FALSE='#'
5213
am__fastdepCC_TRUE='#'
5214
am__fastdepCC_FALSE=
5220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5221
$as_echo_n "checking whether ln -s works... " >&6; }
5223
if test "$LN_S" = "ln -s"; then
5224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5225
$as_echo "yes" >&6; }
5227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5228
$as_echo "no, using $LN_S" >&6; }
5234
gtk_modules="gtk+-2.0 >= 2.12.0 gio-2.0 >= 2.16.0 x11"
5242
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5243
if test -n "$ac_tool_prefix"; then
5244
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5245
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5247
$as_echo_n "checking for $ac_word... " >&6; }
5248
if ${ac_cv_path_PKG_CONFIG+:} false; then :
5249
$as_echo_n "(cached) " >&6
5253
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5256
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5260
test -z "$as_dir" && as_dir=.
5261
for ac_exec_ext in '' $ac_executable_extensions; do
5262
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5263
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5264
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5275
if test -n "$PKG_CONFIG"; then
5276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5277
$as_echo "$PKG_CONFIG" >&6; }
5279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280
$as_echo "no" >&6; }
5285
if test -z "$ac_cv_path_PKG_CONFIG"; then
5286
ac_pt_PKG_CONFIG=$PKG_CONFIG
5287
# Extract the first word of "pkg-config", so it can be a program name with args.
5288
set dummy pkg-config; ac_word=$2
5289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290
$as_echo_n "checking for $ac_word... " >&6; }
5291
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5292
$as_echo_n "(cached) " >&6
5294
case $ac_pt_PKG_CONFIG in
5296
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5299
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303
test -z "$as_dir" && as_dir=.
5304
for ac_exec_ext in '' $ac_executable_extensions; do
5305
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5306
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5307
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5317
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5318
if test -n "$ac_pt_PKG_CONFIG"; then
5319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5320
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5323
$as_echo "no" >&6; }
5326
if test "x$ac_pt_PKG_CONFIG" = x; then
5329
case $cross_compiling:$ac_tool_warned in
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5332
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5333
ac_tool_warned=yes ;;
5335
PKG_CONFIG=$ac_pt_PKG_CONFIG
5338
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5342
if test -n "$PKG_CONFIG"; then
5343
_pkg_min_version=0.9.0
5344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5345
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5346
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5348
$as_echo "yes" >&6; }
5350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351
$as_echo "no" >&6; }
5357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
5358
$as_echo_n "checking for GTK... " >&6; }
5360
if test -n "$GTK_CFLAGS"; then
5361
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
5362
elif test -n "$PKG_CONFIG"; then
5363
if test -n "$PKG_CONFIG" && \
5364
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_modules\""; } >&5
5365
($PKG_CONFIG --exists --print-errors "$gtk_modules") 2>&5
5367
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5368
test $ac_status = 0; }; then
5369
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "$gtk_modules" 2>/dev/null`
5370
test "x$?" != "x0" && pkg_failed=yes
5377
if test -n "$GTK_LIBS"; then
5378
pkg_cv_GTK_LIBS="$GTK_LIBS"
5379
elif test -n "$PKG_CONFIG"; then
5380
if test -n "$PKG_CONFIG" && \
5381
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_modules\""; } >&5
5382
($PKG_CONFIG --exists --print-errors "$gtk_modules") 2>&5
5384
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5385
test $ac_status = 0; }; then
5386
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "$gtk_modules" 2>/dev/null`
5387
test "x$?" != "x0" && pkg_failed=yes
5397
if test $pkg_failed = yes; then
5398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399
$as_echo "no" >&6; }
5401
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5402
_pkg_short_errors_supported=yes
5404
_pkg_short_errors_supported=no
5406
if test $_pkg_short_errors_supported = yes; then
5407
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$gtk_modules" 2>&1`
5409
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$gtk_modules" 2>&1`
5411
# Put the nasty error message in config.log where it belongs
5412
echo "$GTK_PKG_ERRORS" >&5
5414
as_fn_error $? "Package requirements ($gtk_modules) were not met:
5418
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5419
installed software in a non-standard prefix.
5421
Alternatively, you may set the environment variables GTK_CFLAGS
5422
and GTK_LIBS to avoid the need to call pkg-config.
5423
See the pkg-config man page for more details." "$LINENO" 5
5424
elif test $pkg_failed = untried; then
5425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5426
$as_echo "no" >&6; }
5427
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5428
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5429
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5430
is in your PATH or set the PKG_CONFIG environment variable to the full
5433
Alternatively, you may set the environment variables GTK_CFLAGS
5434
and GTK_LIBS to avoid the need to call pkg-config.
5435
See the pkg-config man page for more details.
5437
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5438
See \`config.log' for more details" "$LINENO" 5; }
5440
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
5441
GTK_LIBS=$pkg_cv_GTK_LIBS
5442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5443
$as_echo "yes" >&6; }
5450
# --disable-deprecated switch for GTK2 purification
5451
# Check whether --enable-deprecated was given.
5452
if test "${enable_deprecated+set}" = set; then :
5453
enableval=$enable_deprecated; GTK_CFLAGS="$GTK_CFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
5457
GTK_VERSION=`$PKG_CONFIG --modversion gtk+-2.0`
5461
GETTEXT_PACKAGE=gigolo
5463
cat >>confdefs.h <<_ACEOF
5464
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
5469
ALL_LINGUAS="ar ast bg ca cs de el en_AU eo es eu fi fr gl he hr hu id is it ja kk ko lt lv nl oc pl pt pt_BR ru sk sl sr sv te tr ug uk ur ur_PK zh_CN zh_TW "
5471
for ac_header in locale.h
5473
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5474
if test "x$ac_cv_header_locale_h" = xyes; then :
5475
cat >>confdefs.h <<_ACEOF
5476
#define HAVE_LOCALE_H 1
5483
if test $ac_cv_header_locale_h = yes; then
5484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5485
$as_echo_n "checking for LC_MESSAGES... " >&6; }
5486
if ${am_cv_val_LC_MESSAGES+:} false; then :
5487
$as_echo_n "(cached) " >&6
5489
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5490
/* end confdefs.h. */
5500
if ac_fn_c_try_link "$LINENO"; then :
5501
am_cv_val_LC_MESSAGES=yes
5503
am_cv_val_LC_MESSAGES=no
5505
rm -f core conftest.err conftest.$ac_objext \
5506
conftest$ac_exeext conftest.$ac_ext
5508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5509
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5510
if test $am_cv_val_LC_MESSAGES = yes; then
5512
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5519
gt_cv_have_gettext=no
5525
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5526
if test "x$ac_cv_header_libintl_h" = xyes; then :
5527
gt_cv_func_dgettext_libintl="no"
5528
libintl_extra_libs=""
5531
# First check in libc
5533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5534
$as_echo_n "checking for ngettext in libc... " >&6; }
5535
if ${gt_cv_func_ngettext_libc+:} false; then :
5536
$as_echo_n "(cached) " >&6
5538
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5539
/* end confdefs.h. */
5541
#include <libintl.h>
5546
return !ngettext ("","", 1)
5551
if ac_fn_c_try_link "$LINENO"; then :
5552
gt_cv_func_ngettext_libc=yes
5554
gt_cv_func_ngettext_libc=no
5556
rm -f core conftest.err conftest.$ac_objext \
5557
conftest$ac_exeext conftest.$ac_ext
5560
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5561
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
5563
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5565
$as_echo_n "checking for dgettext in libc... " >&6; }
5566
if ${gt_cv_func_dgettext_libc+:} false; then :
5567
$as_echo_n "(cached) " >&6
5569
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5570
/* end confdefs.h. */
5572
#include <libintl.h>
5577
return !dgettext ("","")
5582
if ac_fn_c_try_link "$LINENO"; then :
5583
gt_cv_func_dgettext_libc=yes
5585
gt_cv_func_dgettext_libc=no
5587
rm -f core conftest.err conftest.$ac_objext \
5588
conftest$ac_exeext conftest.$ac_ext
5591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5592
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5595
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5596
for ac_func in bind_textdomain_codeset
5598
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5599
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5600
cat >>confdefs.h <<_ACEOF
5601
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5610
# If we don't have everything we want, check in libintl
5612
if test "$gt_cv_func_dgettext_libc" != "yes" \
5613
|| test "$gt_cv_func_ngettext_libc" != "yes" \
5614
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5617
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5618
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
5619
$as_echo_n "(cached) " >&6
5621
ac_check_lib_save_LIBS=$LIBS
5623
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624
/* end confdefs.h. */
5626
/* Override any GCC internal prototype to avoid an error.
5627
Use char because int might match the return type of a GCC
5628
builtin and then its argument prototype would still apply. */
5632
char bindtextdomain ();
5636
return bindtextdomain ();
5641
if ac_fn_c_try_link "$LINENO"; then :
5642
ac_cv_lib_intl_bindtextdomain=yes
5644
ac_cv_lib_intl_bindtextdomain=no
5646
rm -f core conftest.err conftest.$ac_objext \
5647
conftest$ac_exeext conftest.$ac_ext
5648
LIBS=$ac_check_lib_save_LIBS
5650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5651
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5652
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
5653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5654
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5655
if ${ac_cv_lib_intl_ngettext+:} false; then :
5656
$as_echo_n "(cached) " >&6
5658
ac_check_lib_save_LIBS=$LIBS
5660
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5661
/* end confdefs.h. */
5663
/* Override any GCC internal prototype to avoid an error.
5664
Use char because int might match the return type of a GCC
5665
builtin and then its argument prototype would still apply. */
5678
if ac_fn_c_try_link "$LINENO"; then :
5679
ac_cv_lib_intl_ngettext=yes
5681
ac_cv_lib_intl_ngettext=no
5683
rm -f core conftest.err conftest.$ac_objext \
5684
conftest$ac_exeext conftest.$ac_ext
5685
LIBS=$ac_check_lib_save_LIBS
5687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5688
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5689
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5691
$as_echo_n "checking for dgettext in -lintl... " >&6; }
5692
if ${ac_cv_lib_intl_dgettext+:} false; then :
5693
$as_echo_n "(cached) " >&6
5695
ac_check_lib_save_LIBS=$LIBS
5697
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5698
/* end confdefs.h. */
5700
/* Override any GCC internal prototype to avoid an error.
5701
Use char because int might match the return type of a GCC
5702
builtin and then its argument prototype would still apply. */
5715
if ac_fn_c_try_link "$LINENO"; then :
5716
ac_cv_lib_intl_dgettext=yes
5718
ac_cv_lib_intl_dgettext=no
5720
rm -f core conftest.err conftest.$ac_objext \
5721
conftest$ac_exeext conftest.$ac_ext
5722
LIBS=$ac_check_lib_save_LIBS
5724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5725
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5726
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
5727
gt_cv_func_dgettext_libintl=yes
5735
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5737
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5741
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5742
if ${ac_cv_lib_intl_ngettext+:} false; then :
5743
$as_echo_n "(cached) " >&6
5745
ac_check_lib_save_LIBS=$LIBS
5746
LIBS="-lintl -liconv $LIBS"
5747
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5748
/* end confdefs.h. */
5750
/* Override any GCC internal prototype to avoid an error.
5751
Use char because int might match the return type of a GCC
5752
builtin and then its argument prototype would still apply. */
5765
if ac_fn_c_try_link "$LINENO"; then :
5766
ac_cv_lib_intl_ngettext=yes
5768
ac_cv_lib_intl_ngettext=no
5770
rm -f core conftest.err conftest.$ac_objext \
5771
conftest$ac_exeext conftest.$ac_ext
5772
LIBS=$ac_check_lib_save_LIBS
5774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5775
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5776
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5778
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
5779
if ${ac_cv_lib_intl_dcgettext+:} false; then :
5780
$as_echo_n "(cached) " >&6
5782
ac_check_lib_save_LIBS=$LIBS
5783
LIBS="-lintl -liconv $LIBS"
5784
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5785
/* end confdefs.h. */
5787
/* Override any GCC internal prototype to avoid an error.
5788
Use char because int might match the return type of a GCC
5789
builtin and then its argument prototype would still apply. */
5797
return dcgettext ();
5802
if ac_fn_c_try_link "$LINENO"; then :
5803
ac_cv_lib_intl_dcgettext=yes
5805
ac_cv_lib_intl_dcgettext=no
5807
rm -f core conftest.err conftest.$ac_objext \
5808
conftest$ac_exeext conftest.$ac_ext
5809
LIBS=$ac_check_lib_save_LIBS
5811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5812
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5813
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
5814
gt_cv_func_dgettext_libintl=yes
5815
libintl_extra_libs=-liconv
5827
# If we found libintl, then check in it for bind_textdomain_codeset();
5828
# we'll prefer libc if neither have bind_textdomain_codeset(),
5829
# and both have dgettext and ngettext
5831
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5832
glib_save_LIBS="$LIBS"
5833
LIBS="$LIBS -lintl $libintl_extra_libs"
5834
unset ac_cv_func_bind_textdomain_codeset
5835
for ac_func in bind_textdomain_codeset
5837
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5838
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5839
cat >>confdefs.h <<_ACEOF
5840
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5846
LIBS="$glib_save_LIBS"
5848
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5849
gt_cv_func_dgettext_libc=no
5851
if test "$gt_cv_func_dgettext_libc" = "yes" \
5852
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
5853
gt_cv_func_dgettext_libintl=no
5859
if test "$gt_cv_func_dgettext_libc" = "yes" \
5860
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
5861
gt_cv_have_gettext=yes
5864
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5865
INTLLIBS="-lintl $libintl_extra_libs"
5868
if test "$gt_cv_have_gettext" = "yes"; then
5870
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5872
# Extract the first word of "msgfmt", so it can be a program name with args.
5873
set dummy msgfmt; ac_word=$2
5874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875
$as_echo_n "checking for $ac_word... " >&6; }
5876
if ${ac_cv_path_MSGFMT+:} false; then :
5877
$as_echo_n "(cached) " >&6
5881
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5884
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5885
for ac_dir in $PATH; do
5886
test -z "$ac_dir" && ac_dir=.
5887
if test -f $ac_dir/$ac_word; then
5888
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5889
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5895
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5899
MSGFMT="$ac_cv_path_MSGFMT"
5900
if test "$MSGFMT" != "no"; then
5901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5902
$as_echo "$MSGFMT" >&6; }
5904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905
$as_echo "no" >&6; }
5907
if test "$MSGFMT" != "no"; then
5908
glib_save_LIBS="$LIBS"
5909
LIBS="$LIBS $INTLLIBS"
5910
for ac_func in dcgettext
5912
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
5913
if test "x$ac_cv_func_dcgettext" = xyes; then :
5914
cat >>confdefs.h <<_ACEOF
5915
#define HAVE_DCGETTEXT 1
5922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
5923
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
5924
cat >conftest.foo <<_ACEOF
5928
"Content-Type: text/plain; charset=UTF-8\n"
5929
"Project-Id-Version: test 1.0\n"
5930
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
5931
"Last-Translator: test <foo@bar.xx>\n"
5932
"Language-Team: C <LL@li.org>\n"
5933
"MIME-Version: 1.0\n"
5934
"Content-Transfer-Encoding: 8bit\n"
5937
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
5938
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
5940
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5941
test $ac_status = 0; }; then
5942
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5943
$as_echo "yes" >&6; }
5944
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945
$as_echo "no" >&6; }
5946
echo "$as_me: failed input was:" >&5
5947
sed 's/^/| /' conftest.foo >&5
5950
# Extract the first word of "gmsgfmt", so it can be a program name with args.
5951
set dummy gmsgfmt; ac_word=$2
5952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953
$as_echo_n "checking for $ac_word... " >&6; }
5954
if ${ac_cv_path_GMSGFMT+:} false; then :
5955
$as_echo_n "(cached) " >&6
5959
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5962
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966
test -z "$as_dir" && as_dir=.
5967
for ac_exec_ext in '' $ac_executable_extensions; do
5968
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5970
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5981
GMSGFMT=$ac_cv_path_GMSGFMT
5982
if test -n "$GMSGFMT"; then
5983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5984
$as_echo "$GMSGFMT" >&6; }
5986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987
$as_echo "no" >&6; }
5991
# Extract the first word of "xgettext", so it can be a program name with args.
5992
set dummy xgettext; ac_word=$2
5993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994
$as_echo_n "checking for $ac_word... " >&6; }
5995
if ${ac_cv_path_XGETTEXT+:} false; then :
5996
$as_echo_n "(cached) " >&6
6000
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6003
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6004
for ac_dir in $PATH; do
6005
test -z "$ac_dir" && ac_dir=.
6006
if test -f $ac_dir/$ac_word; then
6007
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6008
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6014
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6018
XGETTEXT="$ac_cv_path_XGETTEXT"
6019
if test "$XGETTEXT" != ":"; then
6020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6021
$as_echo "$XGETTEXT" >&6; }
6023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024
$as_echo "no" >&6; }
6027
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6028
/* end confdefs.h. */
6033
extern int _nl_msg_cat_cntr;
6034
return _nl_msg_cat_cntr
6039
if ac_fn_c_try_link "$LINENO"; then :
6045
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6046
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6065
rm -f core conftest.err conftest.$ac_objext \
6066
conftest$ac_exeext conftest.$ac_ext
6067
LIBS="$glib_save_LIBS"
6070
gt_cv_have_gettext=no
6078
if test "$gt_cv_have_gettext" = "yes" ; then
6080
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6084
if test "$XGETTEXT" != ":"; then
6085
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6089
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6094
# We need to process the po/ directory.
6097
ac_config_commands="$ac_config_commands default-1"
6100
for lang in $ALL_LINGUAS; do
6101
GMOFILES="$GMOFILES $lang.gmo"
6102
POFILES="$POFILES $lang.po"
6117
if test "$gt_cv_have_gettext" = "yes"; then
6118
if test "x$ALL_LINGUAS" = "x"; then
6121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6122
$as_echo_n "checking for catalogs to be installed... " >&6; }
6124
for presentlang in $ALL_LINGUAS; do
6126
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6127
desiredlanguages="$LINGUAS"
6129
desiredlanguages="$ALL_LINGUAS"
6131
for desiredlang in $desiredlanguages; do
6132
# Use the presentlang catalog if desiredlang is
6133
# a. equal to presentlang, or
6134
# b. a variant of presentlang (because in this case,
6135
# presentlang can be used as a fallback for messages
6136
# which are not translated in the desiredlang catalog).
6137
case "$desiredlang" in
6138
"$presentlang"*) useit=yes;;
6141
if test $useit = yes; then
6142
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6145
LINGUAS=$NEW_LINGUAS
6146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6147
$as_echo "$LINGUAS" >&6; }
6150
if test -n "$LINGUAS"; then
6151
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6156
if test -n "$ac_aux_dir"; then
6157
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6159
if test -z "$MKINSTALLDIRS"; then
6160
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6164
test -d po || mkdir po
6165
if test "x$srcdir" != "x."; then
6166
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6167
posrcprefix="$srcdir/"
6169
posrcprefix="../$srcdir/"
6175
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6176
< $srcdir/po/POTFILES.in > po/POTFILES
6179
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6180
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6185
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
6186
$as_echo_n "checking for locales directory... " >&6; }
6188
# Check whether --with-locales-dir was given.
6189
if test "${with_locales_dir+set}" = set; then :
6190
withval=$with_locales_dir; localedir=$withval
6193
if test x"$CATOBJEXT" = x".mo"; then
6194
localedir=$libdir/locale
6196
localedir=$datadir/locale
6201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
6202
$as_echo "$localedir" >&6; }
6205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
6206
$as_echo_n "checking for additional xgettext flags... " >&6; }
6207
if test x"$XGETTEXT_ARGS" = x""; then
6208
XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
6210
XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
6213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
6214
$as_echo "$XGETTEXT_ARGS" >&6; }
6218
for ac_header in locale.h
6220
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
6221
if test "x$ac_cv_header_locale_h" = xyes; then :
6222
cat >>confdefs.h <<_ACEOF
6223
#define HAVE_LOCALE_H 1
6230
if test $ac_cv_header_locale_h = yes; then
6231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
6232
$as_echo_n "checking for LC_MESSAGES... " >&6; }
6233
if ${am_cv_val_LC_MESSAGES+:} false; then :
6234
$as_echo_n "(cached) " >&6
6236
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6237
/* end confdefs.h. */
6247
if ac_fn_c_try_link "$LINENO"; then :
6248
am_cv_val_LC_MESSAGES=yes
6250
am_cv_val_LC_MESSAGES=no
6252
rm -f core conftest.err conftest.$ac_objext \
6253
conftest$ac_exeext conftest.$ac_ext
6255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
6256
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
6257
if test $am_cv_val_LC_MESSAGES = yes; then
6259
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
6266
gt_cv_have_gettext=no
6272
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
6273
if test "x$ac_cv_header_libintl_h" = xyes; then :
6274
gt_cv_func_dgettext_libintl="no"
6275
libintl_extra_libs=""
6278
# First check in libc
6280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
6281
$as_echo_n "checking for ngettext in libc... " >&6; }
6282
if ${gt_cv_func_ngettext_libc+:} false; then :
6283
$as_echo_n "(cached) " >&6
6285
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6286
/* end confdefs.h. */
6288
#include <libintl.h>
6293
return !ngettext ("","", 1)
6298
if ac_fn_c_try_link "$LINENO"; then :
6299
gt_cv_func_ngettext_libc=yes
6301
gt_cv_func_ngettext_libc=no
6303
rm -f core conftest.err conftest.$ac_objext \
6304
conftest$ac_exeext conftest.$ac_ext
6307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
6308
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
6310
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
6312
$as_echo_n "checking for dgettext in libc... " >&6; }
6313
if ${gt_cv_func_dgettext_libc+:} false; then :
6314
$as_echo_n "(cached) " >&6
6316
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317
/* end confdefs.h. */
6319
#include <libintl.h>
6324
return !dgettext ("","")
6329
if ac_fn_c_try_link "$LINENO"; then :
6330
gt_cv_func_dgettext_libc=yes
6332
gt_cv_func_dgettext_libc=no
6334
rm -f core conftest.err conftest.$ac_objext \
6335
conftest$ac_exeext conftest.$ac_ext
6338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
6339
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
6342
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6343
for ac_func in bind_textdomain_codeset
6345
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6346
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6347
cat >>confdefs.h <<_ACEOF
6348
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6357
# If we don't have everything we want, check in libintl
6359
if test "$gt_cv_func_dgettext_libc" != "yes" \
6360
|| test "$gt_cv_func_ngettext_libc" != "yes" \
6361
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
6364
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
6365
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
6366
$as_echo_n "(cached) " >&6
6368
ac_check_lib_save_LIBS=$LIBS
6370
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6371
/* end confdefs.h. */
6373
/* Override any GCC internal prototype to avoid an error.
6374
Use char because int might match the return type of a GCC
6375
builtin and then its argument prototype would still apply. */
6379
char bindtextdomain ();
6383
return bindtextdomain ();
6388
if ac_fn_c_try_link "$LINENO"; then :
6389
ac_cv_lib_intl_bindtextdomain=yes
6391
ac_cv_lib_intl_bindtextdomain=no
6393
rm -f core conftest.err conftest.$ac_objext \
6394
conftest$ac_exeext conftest.$ac_ext
6395
LIBS=$ac_check_lib_save_LIBS
6397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
6398
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6399
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
6400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6401
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6402
if ${ac_cv_lib_intl_ngettext+:} false; then :
6403
$as_echo_n "(cached) " >&6
6405
ac_check_lib_save_LIBS=$LIBS
6407
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6408
/* end confdefs.h. */
6410
/* Override any GCC internal prototype to avoid an error.
6411
Use char because int might match the return type of a GCC
6412
builtin and then its argument prototype would still apply. */
6425
if ac_fn_c_try_link "$LINENO"; then :
6426
ac_cv_lib_intl_ngettext=yes
6428
ac_cv_lib_intl_ngettext=no
6430
rm -f core conftest.err conftest.$ac_objext \
6431
conftest$ac_exeext conftest.$ac_ext
6432
LIBS=$ac_check_lib_save_LIBS
6434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6435
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6436
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
6437
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
6438
$as_echo_n "checking for dgettext in -lintl... " >&6; }
6439
if ${ac_cv_lib_intl_dgettext+:} false; then :
6440
$as_echo_n "(cached) " >&6
6442
ac_check_lib_save_LIBS=$LIBS
6444
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6445
/* end confdefs.h. */
6447
/* Override any GCC internal prototype to avoid an error.
6448
Use char because int might match the return type of a GCC
6449
builtin and then its argument prototype would still apply. */
6462
if ac_fn_c_try_link "$LINENO"; then :
6463
ac_cv_lib_intl_dgettext=yes
6465
ac_cv_lib_intl_dgettext=no
6467
rm -f core conftest.err conftest.$ac_objext \
6468
conftest$ac_exeext conftest.$ac_ext
6469
LIBS=$ac_check_lib_save_LIBS
6471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
6472
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
6473
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
6474
gt_cv_func_dgettext_libintl=yes
6482
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
6484
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
6485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
6487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6488
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6489
if ${ac_cv_lib_intl_ngettext+:} false; then :
6490
$as_echo_n "(cached) " >&6
6492
ac_check_lib_save_LIBS=$LIBS
6493
LIBS="-lintl -liconv $LIBS"
6494
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6495
/* end confdefs.h. */
6497
/* Override any GCC internal prototype to avoid an error.
6498
Use char because int might match the return type of a GCC
6499
builtin and then its argument prototype would still apply. */
6512
if ac_fn_c_try_link "$LINENO"; then :
6513
ac_cv_lib_intl_ngettext=yes
6515
ac_cv_lib_intl_ngettext=no
6517
rm -f core conftest.err conftest.$ac_objext \
6518
conftest$ac_exeext conftest.$ac_ext
6519
LIBS=$ac_check_lib_save_LIBS
6521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6522
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6523
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
6524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
6525
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
6526
if ${ac_cv_lib_intl_dcgettext+:} false; then :
6527
$as_echo_n "(cached) " >&6
6529
ac_check_lib_save_LIBS=$LIBS
6530
LIBS="-lintl -liconv $LIBS"
6531
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532
/* end confdefs.h. */
6534
/* Override any GCC internal prototype to avoid an error.
6535
Use char because int might match the return type of a GCC
6536
builtin and then its argument prototype would still apply. */
6544
return dcgettext ();
6549
if ac_fn_c_try_link "$LINENO"; then :
6550
ac_cv_lib_intl_dcgettext=yes
6552
ac_cv_lib_intl_dcgettext=no
6554
rm -f core conftest.err conftest.$ac_objext \
6555
conftest$ac_exeext conftest.$ac_ext
6556
LIBS=$ac_check_lib_save_LIBS
6558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
6559
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
6560
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
6561
gt_cv_func_dgettext_libintl=yes
6562
libintl_extra_libs=-liconv
6574
# If we found libintl, then check in it for bind_textdomain_codeset();
6575
# we'll prefer libc if neither have bind_textdomain_codeset(),
6576
# and both have dgettext and ngettext
6578
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6579
glib_save_LIBS="$LIBS"
6580
LIBS="$LIBS -lintl $libintl_extra_libs"
6581
unset ac_cv_func_bind_textdomain_codeset
6582
for ac_func in bind_textdomain_codeset
6584
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6585
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6586
cat >>confdefs.h <<_ACEOF
6587
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6593
LIBS="$glib_save_LIBS"
6595
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6596
gt_cv_func_dgettext_libc=no
6598
if test "$gt_cv_func_dgettext_libc" = "yes" \
6599
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
6600
gt_cv_func_dgettext_libintl=no
6606
if test "$gt_cv_func_dgettext_libc" = "yes" \
6607
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
6608
gt_cv_have_gettext=yes
6611
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6612
INTLLIBS="-lintl $libintl_extra_libs"
6615
if test "$gt_cv_have_gettext" = "yes"; then
6617
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6619
# Extract the first word of "msgfmt", so it can be a program name with args.
6620
set dummy msgfmt; ac_word=$2
6621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622
$as_echo_n "checking for $ac_word... " >&6; }
6623
if ${ac_cv_path_MSGFMT+:} false; then :
6624
$as_echo_n "(cached) " >&6
6628
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6631
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6632
for ac_dir in $PATH; do
6633
test -z "$ac_dir" && ac_dir=.
6634
if test -f $ac_dir/$ac_word; then
6635
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6636
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6642
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6646
MSGFMT="$ac_cv_path_MSGFMT"
6647
if test "$MSGFMT" != "no"; then
6648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6649
$as_echo "$MSGFMT" >&6; }
6651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652
$as_echo "no" >&6; }
6654
if test "$MSGFMT" != "no"; then
6655
glib_save_LIBS="$LIBS"
6656
LIBS="$LIBS $INTLLIBS"
6657
for ac_func in dcgettext
6659
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6660
if test "x$ac_cv_func_dcgettext" = xyes; then :
6661
cat >>confdefs.h <<_ACEOF
6662
#define HAVE_DCGETTEXT 1
6669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6670
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
6671
cat >conftest.foo <<_ACEOF
6675
"Content-Type: text/plain; charset=UTF-8\n"
6676
"Project-Id-Version: test 1.0\n"
6677
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
6678
"Last-Translator: test <foo@bar.xx>\n"
6679
"Language-Team: C <LL@li.org>\n"
6680
"MIME-Version: 1.0\n"
6681
"Content-Transfer-Encoding: 8bit\n"
6684
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6685
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6687
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6688
test $ac_status = 0; }; then
6689
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6690
$as_echo "yes" >&6; }
6691
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692
$as_echo "no" >&6; }
6693
echo "$as_me: failed input was:" >&5
6694
sed 's/^/| /' conftest.foo >&5
6697
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6698
set dummy gmsgfmt; ac_word=$2
6699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700
$as_echo_n "checking for $ac_word... " >&6; }
6701
if ${ac_cv_path_GMSGFMT+:} false; then :
6702
$as_echo_n "(cached) " >&6
6706
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6709
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713
test -z "$as_dir" && as_dir=.
6714
for ac_exec_ext in '' $ac_executable_extensions; do
6715
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6716
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6717
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6724
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6728
GMSGFMT=$ac_cv_path_GMSGFMT
6729
if test -n "$GMSGFMT"; then
6730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6731
$as_echo "$GMSGFMT" >&6; }
6733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6734
$as_echo "no" >&6; }
6738
# Extract the first word of "xgettext", so it can be a program name with args.
6739
set dummy xgettext; ac_word=$2
6740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6741
$as_echo_n "checking for $ac_word... " >&6; }
6742
if ${ac_cv_path_XGETTEXT+:} false; then :
6743
$as_echo_n "(cached) " >&6
6747
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6750
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6751
for ac_dir in $PATH; do
6752
test -z "$ac_dir" && ac_dir=.
6753
if test -f $ac_dir/$ac_word; then
6754
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6755
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6761
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6765
XGETTEXT="$ac_cv_path_XGETTEXT"
6766
if test "$XGETTEXT" != ":"; then
6767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6768
$as_echo "$XGETTEXT" >&6; }
6770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771
$as_echo "no" >&6; }
6774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6775
/* end confdefs.h. */
6780
extern int _nl_msg_cat_cntr;
6781
return _nl_msg_cat_cntr
6786
if ac_fn_c_try_link "$LINENO"; then :
6792
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6793
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6812
rm -f core conftest.err conftest.$ac_objext \
6813
conftest$ac_exeext conftest.$ac_ext
6814
LIBS="$glib_save_LIBS"
6817
gt_cv_have_gettext=no
6825
if test "$gt_cv_have_gettext" = "yes" ; then
6827
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6831
if test "$XGETTEXT" != ":"; then
6832
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6836
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6841
# We need to process the po/ directory.
6844
ac_config_commands="$ac_config_commands default-2"
6847
for lang in $ALL_LINGUAS; do
6848
GMOFILES="$GMOFILES $lang.gmo"
6849
POFILES="$POFILES $lang.po"
6864
if test "$gt_cv_have_gettext" = "yes"; then
6865
if test "x$ALL_LINGUAS" = "x"; then
6868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6869
$as_echo_n "checking for catalogs to be installed... " >&6; }
6871
for presentlang in $ALL_LINGUAS; do
6873
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6874
desiredlanguages="$LINGUAS"
6876
desiredlanguages="$ALL_LINGUAS"
6878
for desiredlang in $desiredlanguages; do
6879
# Use the presentlang catalog if desiredlang is
6880
# a. equal to presentlang, or
6881
# b. a variant of presentlang (because in this case,
6882
# presentlang can be used as a fallback for messages
6883
# which are not translated in the desiredlang catalog).
6884
case "$desiredlang" in
6885
"$presentlang"*) useit=yes;;
6888
if test $useit = yes; then
6889
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6892
LINGUAS=$NEW_LINGUAS
6893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6894
$as_echo "$LINGUAS" >&6; }
6897
if test -n "$LINGUAS"; then
6898
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6903
if test -n "$ac_aux_dir"; then
6904
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6906
if test -z "$MKINSTALLDIRS"; then
6907
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6911
test -d po || mkdir po
6912
if test "x$srcdir" != "x."; then
6913
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6914
posrcprefix="$srcdir/"
6916
posrcprefix="../$srcdir/"
6922
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6923
< $srcdir/po/POTFILES.in > po/POTFILES
6926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6927
$as_echo_n "checking whether NLS is requested... " >&6; }
6928
# Check whether --enable-nls was given.
6929
if test "${enable_nls+set}" = set; then :
6930
enableval=$enable_nls; USE_NLS=$enableval
6935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6936
$as_echo "$USE_NLS" >&6; }
6941
case "$am__api_version" in
6943
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
6949
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6950
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
6951
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
6954
$as_echo_n "checking for intltool >= ... " >&6; }
6955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
6956
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
6957
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
6958
as_fn_error $? "Your intltool is too old. You need intltool or later." "$LINENO" 5
6961
# Extract the first word of "intltool-update", so it can be a program name with args.
6962
set dummy intltool-update; ac_word=$2
6963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964
$as_echo_n "checking for $ac_word... " >&6; }
6965
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
6966
$as_echo_n "(cached) " >&6
6968
case $INTLTOOL_UPDATE in
6970
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
6973
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977
test -z "$as_dir" && as_dir=.
6978
for ac_exec_ext in '' $ac_executable_extensions; do
6979
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6980
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
6981
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6991
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
6992
if test -n "$INTLTOOL_UPDATE"; then
6993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
6994
$as_echo "$INTLTOOL_UPDATE" >&6; }
6996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6997
$as_echo "no" >&6; }
7001
# Extract the first word of "intltool-merge", so it can be a program name with args.
7002
set dummy intltool-merge; ac_word=$2
7003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004
$as_echo_n "checking for $ac_word... " >&6; }
7005
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
7006
$as_echo_n "(cached) " >&6
7008
case $INTLTOOL_MERGE in
7010
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
7013
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7017
test -z "$as_dir" && as_dir=.
7018
for ac_exec_ext in '' $ac_executable_extensions; do
7019
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7020
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
7021
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7031
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
7032
if test -n "$INTLTOOL_MERGE"; then
7033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
7034
$as_echo "$INTLTOOL_MERGE" >&6; }
7036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7037
$as_echo "no" >&6; }
7041
# Extract the first word of "intltool-extract", so it can be a program name with args.
7042
set dummy intltool-extract; ac_word=$2
7043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044
$as_echo_n "checking for $ac_word... " >&6; }
7045
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
7046
$as_echo_n "(cached) " >&6
7048
case $INTLTOOL_EXTRACT in
7050
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
7053
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7057
test -z "$as_dir" && as_dir=.
7058
for ac_exec_ext in '' $ac_executable_extensions; do
7059
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7060
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
7061
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7071
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
7072
if test -n "$INTLTOOL_EXTRACT"; then
7073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
7074
$as_echo "$INTLTOOL_EXTRACT" >&6; }
7076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7077
$as_echo "no" >&6; }
7081
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
7082
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
7085
if test -z "$AM_DEFAULT_VERBOSITY"; then
7086
AM_DEFAULT_VERBOSITY=1
7090
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
7091
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
7092
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
7097
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
7098
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
7099
intltool__v_merge_options_0='-q'
7104
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7105
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7106
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7107
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7108
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
7109
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7110
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7111
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7112
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7113
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7114
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7115
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
7116
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
7118
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
7120
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7121
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7122
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7123
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7124
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7125
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7126
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7224
# Check the gettext tools to make sure they are GNU
7225
# Extract the first word of "xgettext", so it can be a program name with args.
7226
set dummy xgettext; ac_word=$2
7227
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228
$as_echo_n "checking for $ac_word... " >&6; }
7229
if ${ac_cv_path_XGETTEXT+:} false; then :
7230
$as_echo_n "(cached) " >&6
7234
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7237
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241
test -z "$as_dir" && as_dir=.
7242
for ac_exec_ext in '' $ac_executable_extensions; do
7243
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7244
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
7245
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7255
XGETTEXT=$ac_cv_path_XGETTEXT
7256
if test -n "$XGETTEXT"; then
7257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
7258
$as_echo "$XGETTEXT" >&6; }
7260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261
$as_echo "no" >&6; }
7265
# Extract the first word of "msgmerge", so it can be a program name with args.
7266
set dummy msgmerge; ac_word=$2
7267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268
$as_echo_n "checking for $ac_word... " >&6; }
7269
if ${ac_cv_path_MSGMERGE+:} false; then :
7270
$as_echo_n "(cached) " >&6
7274
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281
test -z "$as_dir" && as_dir=.
7282
for ac_exec_ext in '' $ac_executable_extensions; do
7283
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7284
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
7285
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7295
MSGMERGE=$ac_cv_path_MSGMERGE
7296
if test -n "$MSGMERGE"; then
7297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
7298
$as_echo "$MSGMERGE" >&6; }
7300
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301
$as_echo "no" >&6; }
7305
# Extract the first word of "msgfmt", so it can be a program name with args.
7306
set dummy msgfmt; ac_word=$2
7307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308
$as_echo_n "checking for $ac_word... " >&6; }
7309
if ${ac_cv_path_MSGFMT+:} false; then :
7310
$as_echo_n "(cached) " >&6
7314
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7317
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7321
test -z "$as_dir" && as_dir=.
7322
for ac_exec_ext in '' $ac_executable_extensions; do
7323
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7324
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
7325
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7335
MSGFMT=$ac_cv_path_MSGFMT
7336
if test -n "$MSGFMT"; then
7337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7338
$as_echo "$MSGFMT" >&6; }
7340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341
$as_echo "no" >&6; }
7345
# Extract the first word of "gmsgfmt", so it can be a program name with args.
7346
set dummy gmsgfmt; ac_word=$2
7347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348
$as_echo_n "checking for $ac_word... " >&6; }
7349
if ${ac_cv_path_GMSGFMT+:} false; then :
7350
$as_echo_n "(cached) " >&6
7354
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7357
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361
test -z "$as_dir" && as_dir=.
7362
for ac_exec_ext in '' $ac_executable_extensions; do
7363
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7365
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7376
GMSGFMT=$ac_cv_path_GMSGFMT
7377
if test -n "$GMSGFMT"; then
7378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
7379
$as_echo "$GMSGFMT" >&6; }
7381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382
$as_echo "no" >&6; }
7386
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
7387
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
7389
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
7390
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
7391
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
7392
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
7393
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
7396
# Extract the first word of "perl", so it can be a program name with args.
7397
set dummy perl; ac_word=$2
7398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7399
$as_echo_n "checking for $ac_word... " >&6; }
7400
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
7401
$as_echo_n "(cached) " >&6
7403
case $INTLTOOL_PERL in
7405
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
7408
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412
test -z "$as_dir" && as_dir=.
7413
for ac_exec_ext in '' $ac_executable_extensions; do
7414
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7415
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
7416
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7426
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
7427
if test -n "$INTLTOOL_PERL"; then
7428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
7429
$as_echo "$INTLTOOL_PERL" >&6; }
7431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432
$as_echo "no" >&6; }
7436
if test -z "$INTLTOOL_PERL"; then
7437
as_fn_error $? "perl not found" "$LINENO" 5
7439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
7440
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
7441
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
7442
if test $? -ne 0; then
7443
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
7445
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
7446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
7447
$as_echo "$IT_PERL_VERSION" >&6; }
7449
if test "x" != "xno-xml"; then
7450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
7451
$as_echo_n "checking for XML::Parser... " >&6; }
7452
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
7453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7454
$as_echo "ok" >&6; }
7456
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
7460
# Substitute ALL_LINGUAS so we can use it in po/Makefile
7463
# Set DATADIRNAME correctly if it is not set yet
7464
# (copied from glib-gettext.m4)
7465
if test -z "$DATADIRNAME"; then
7466
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7467
/* end confdefs.h. */
7472
extern int _nl_msg_cat_cntr;
7473
return _nl_msg_cat_cntr
7478
if ac_fn_c_try_link "$LINENO"; then :
7483
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
7484
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
7496
rm -f core conftest.err conftest.$ac_objext \
7497
conftest$ac_exeext conftest.$ac_ext
7504
# workaround for intltool bug (http://bugzilla.gnome.org/show_bug.cgi?id=490845)
7505
if test "x$MSGFMT" = "xno"; then
7506
as_fn_error $? "msgfmt not found. Please install the gettext package." "$LINENO" 5
7509
# intltool hack to define install_sh on Debian/Ubuntu systems
7510
if test "x$install_sh" = "x"; then
7511
install_sh="`pwd`/install-sh"
7516
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in gigolo.1"
7518
cat >confcache <<\_ACEOF
7519
# This file is a shell script that caches the results of configure
7520
# tests run on this system so they can be shared between configure
7521
# scripts and configure runs, see configure's option --config-cache.
7522
# It is not useful on other systems. If it contains results you don't
7523
# want to keep, you may remove or edit it.
7525
# config.status only pays attention to the cache file if you give it
7526
# the --recheck option to rerun configure.
7528
# `ac_cv_env_foo' variables (set or unset) will be overridden when
7529
# loading this file, other *unset* `ac_cv_foo' will be assigned the
7534
# The following way of writing the cache mishandles newlines in values,
7535
# but we know of no workaround that is simple, portable, and efficient.
7536
# So, we kill variables containing newlines.
7537
# Ultrix sh set writes to stderr and can't be redirected directly,
7538
# and sets the high bit in the cache file unless we assign to the vars.
7540
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7541
eval ac_val=\$$ac_var
7545
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7546
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7549
_ | IFS | as_nl) ;; #(
7550
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7551
*) { eval $ac_var=; unset $ac_var;} ;;
7557
case $as_nl`(ac_space=' '; set) 2>&1` in #(
7558
*${as_nl}ac_space=\ *)
7559
# `set' does not quote correctly, so add quotes: double-quote
7560
# substitution turns \\\\ into \\, and sed turns \\ into \.
7563
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7566
# `set' quotes correctly as required by POSIX, so do not add quotes.
7567
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7576
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7578
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7580
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7581
if test -w "$cache_file"; then
7582
if test "x$cache_file" != "x/dev/null"; then
7583
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7584
$as_echo "$as_me: updating cache $cache_file" >&6;}
7585
if test ! -f "$cache_file" || test -h "$cache_file"; then
7586
cat confcache >"$cache_file"
7588
case $cache_file in #(
7590
mv -f confcache "$cache_file"$$ &&
7591
mv -f "$cache_file"$$ "$cache_file" ;; #(
7593
mv -f confcache "$cache_file" ;;
7598
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7599
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7604
test "x$prefix" = xNONE && prefix=$ac_default_prefix
7605
# Let make expand exec_prefix.
7606
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7608
DEFS=-DHAVE_CONFIG_H
7613
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7614
# 1. Remove the extension, and $U if already installed.
7615
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7616
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7617
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7618
# will be set to the directory where LIBOBJS objects are built.
7619
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7620
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7624
LTLIBOBJS=$ac_ltlibobjs
7627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7628
$as_echo_n "checking that generated files are newer than configure... " >&6; }
7629
if test -n "$am_sleep_pid"; then
7630
# Hide warnings about reused PIDs.
7631
wait $am_sleep_pid 2>/dev/null
7633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7634
$as_echo "done" >&6; }
7635
if test -n "$EXEEXT"; then
7637
am__EXEEXT_FALSE='#'
7643
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7644
as_fn_error $? "conditional \"AMDEP\" was never defined.
7645
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7647
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7648
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7649
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7651
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7652
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7653
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7656
ac_config_commands="$ac_config_commands po/stamp-it"
7660
: "${CONFIG_STATUS=./config.status}"
7662
ac_clean_files_save=$ac_clean_files
7663
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7664
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7665
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7667
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7669
# Generated by $as_me.
7670
# Run this file to recreate the current configuration.
7671
# Compiler output produced by configure, useful for debugging
7672
# configure, is in config.log if it exists.
7678
SHELL=\${CONFIG_SHELL-$SHELL}
7681
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7682
## -------------------- ##
7683
## M4sh Initialization. ##
7684
## -------------------- ##
7686
# Be more Bourne compatible
7687
DUALCASE=1; export DUALCASE # for MKS sh
7688
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7691
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7692
# is contrary to our usage. Disable this feature.
7693
alias -g '${1+"$@"}'='"$@"'
7694
setopt NO_GLOB_SUBST
7696
case `(set -o) 2>/dev/null` in #(
7708
# Printing a long string crashes Solaris 7 /usr/bin/printf.
7709
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7710
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7711
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7712
# Prefer a ksh shell builtin over an external printf program on Solaris,
7713
# but without wasting forks for bash or zsh.
7714
if test -z "$BASH_VERSION$ZSH_VERSION" \
7715
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7716
as_echo='print -r --'
7717
as_echo_n='print -rn --'
7718
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7719
as_echo='printf %s\n'
7720
as_echo_n='printf %s'
7722
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7723
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7724
as_echo_n='/usr/ucb/echo -n'
7726
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7727
as_echo_n_body='eval
7731
expr "X$arg" : "X\\(.*\\)$as_nl";
7732
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7734
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7736
export as_echo_n_body
7737
as_echo_n='sh -c $as_echo_n_body as_echo'
7740
as_echo='sh -c $as_echo_body as_echo'
7743
# The user is always right.
7744
if test "${PATH_SEPARATOR+set}" != set; then
7746
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7747
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7754
# We need space, tab and new line, in precisely that order. Quoting is
7755
# there to prevent editors from complaining about space-tab.
7756
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7757
# splitting by setting IFS to empty value.)
7760
# Find who we are. Look in the path if we contain no directory separator.
7763
*[\\/]* ) as_myself=$0 ;;
7764
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768
test -z "$as_dir" && as_dir=.
7769
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7775
# We did not find ourselves, most probably we were run as `sh COMMAND'
7776
# in which case we are not to be found in the path.
7777
if test "x$as_myself" = x; then
7780
if test ! -f "$as_myself"; then
7781
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7785
# Unset variables that we do not need and which cause bugs (e.g. in
7786
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7787
# suppresses any "Segmentation fault" message there. '((' could
7788
# trigger a bug in pdksh 5.2.14.
7789
for as_var in BASH_ENV ENV MAIL MAILPATH
7790
do eval test x\${$as_var+set} = xset \
7791
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7804
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7807
# as_fn_error STATUS ERROR [LINENO LOG_FD]
7808
# ----------------------------------------
7809
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7810
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7811
# script with STATUS, using 1 if that was 0.
7814
as_status=$1; test $as_status -eq 0 && as_status=1
7816
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7817
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7819
$as_echo "$as_me: error: $2" >&2
7820
as_fn_exit $as_status
7824
# as_fn_set_status STATUS
7825
# -----------------------
7826
# Set $? to STATUS, without forking.
7830
} # as_fn_set_status
7834
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7844
# Portably unset VAR.
7847
{ eval $1=; unset $1;}
7849
as_unset=as_fn_unset
7850
# as_fn_append VAR VALUE
7851
# ----------------------
7852
# Append the text in VALUE to the end of the definition contained in VAR. Take
7853
# advantage of any shell optimizations that allow amortized linear growth over
7854
# repeated appends, instead of the typical quadratic growth present in naive
7856
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7857
eval 'as_fn_append ()
7868
# as_fn_arith ARG...
7869
# ------------------
7870
# Perform arithmetic evaluation on the ARGs, and store the result in the
7871
# global $as_val. Take advantage of shells that can avoid forks. The arguments
7872
# must be portable across $(()) and expr.
7873
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7874
eval 'as_fn_arith ()
7881
as_val=`expr "$@" || test $? -eq 1`
7886
if expr a : '\(a\)' >/dev/null 2>&1 &&
7887
test "X`expr 00001 : '.*\(...\)'`" = X001; then
7893
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7894
as_basename=basename
7899
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7905
as_me=`$as_basename -- "$0" ||
7906
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7907
X"$0" : 'X\(//\)$' \| \
7908
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7910
sed '/^.*\/\([^/][^/]*\)\/*$/{
7924
# Avoid depending upon Character Ranges.
7925
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7926
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7927
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7928
as_cr_digits='0123456789'
7929
as_cr_alnum=$as_cr_Letters$as_cr_digits
7931
ECHO_C= ECHO_N= ECHO_T=
7932
case `echo -n x` in #(((((
7934
case `echo 'xy\c'` in
7935
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
7937
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7944
rm -f conf$$ conf$$.exe conf$$.file
7945
if test -d conf$$.dir; then
7946
rm -f conf$$.dir/conf$$.file
7949
mkdir conf$$.dir 2>/dev/null
7951
if (echo >conf$$.file) 2>/dev/null; then
7952
if ln -s conf$$.file conf$$ 2>/dev/null; then
7954
# ... but there are two gotchas:
7955
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7956
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7957
# In both cases, we have to default to `cp -pR'.
7958
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7960
elif ln conf$$.file conf$$ 2>/dev/null; then
7968
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7969
rmdir conf$$.dir 2>/dev/null
7974
# Create "$as_dir" as a directory, including parents if necessary.
7979
-*) as_dir=./$as_dir;;
7981
test -d "$as_dir" || eval $as_mkdir_p || {
7985
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7986
*) as_qdir=$as_dir;;
7988
as_dirs="'$as_qdir' $as_dirs"
7989
as_dir=`$as_dirname -- "$as_dir" ||
7990
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7991
X"$as_dir" : 'X\(//\)[^/]' \| \
7992
X"$as_dir" : 'X\(//\)$' \| \
7993
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7994
$as_echo X"$as_dir" |
7995
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8012
test -d "$as_dir" && break
8014
test -z "$as_dirs" || eval "mkdir $as_dirs"
8015
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8019
if mkdir -p . 2>/dev/null; then
8020
as_mkdir_p='mkdir -p "$as_dir"'
8022
test -d ./-p && rmdir ./-p
8027
# as_fn_executable_p FILE
8028
# -----------------------
8029
# Test if FILE is an executable regular file.
8030
as_fn_executable_p ()
8032
test -f "$1" && test -x "$1"
8033
} # as_fn_executable_p
8035
as_executable_p=as_fn_executable_p
8037
# Sed expression to map a string onto a valid CPP name.
8038
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8040
# Sed expression to map a string onto a valid variable name.
8041
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8045
## ----------------------------------- ##
8046
## Main body of $CONFIG_STATUS script. ##
8047
## ----------------------------------- ##
8049
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8051
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8052
# Save the log message, to keep $0 and so on meaningful, and to
8053
# report actual input values of CONFIG_FILES etc. instead of their
8054
# values after options handling.
8056
This file was extended by gigolo $as_me 0.4.2, which was
8057
generated by GNU Autoconf 2.69. Invocation command line was
8059
CONFIG_FILES = $CONFIG_FILES
8060
CONFIG_HEADERS = $CONFIG_HEADERS
8061
CONFIG_LINKS = $CONFIG_LINKS
8062
CONFIG_COMMANDS = $CONFIG_COMMANDS
8065
on `(hostname || uname -n) 2>/dev/null | sed 1q`
8070
case $ac_config_files in *"
8071
"*) set x $ac_config_files; shift; ac_config_files=$*;;
8074
case $ac_config_headers in *"
8075
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8079
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8080
# Files that config.status was made for.
8081
config_files="$ac_config_files"
8082
config_headers="$ac_config_headers"
8083
config_commands="$ac_config_commands"
8087
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8089
\`$as_me' instantiates files and other configuration actions
8090
from templates according to the current configuration. Unless the files
8091
and actions are specified as TAGs, all are instantiated by default.
8093
Usage: $0 [OPTION]... [TAG]...
8095
-h, --help print this help, then exit
8096
-V, --version print version number and configuration settings, then exit
8097
--config print configuration, then exit
8098
-q, --quiet, --silent
8099
do not print progress messages
8100
-d, --debug don't remove temporary files
8101
--recheck update $as_me by reconfiguring in the same conditions
8102
--file=FILE[:TEMPLATE]
8103
instantiate the configuration file FILE
8104
--header=FILE[:TEMPLATE]
8105
instantiate the configuration header FILE
8107
Configuration files:
8110
Configuration headers:
8113
Configuration commands:
8116
Report bugs to <http://bugs.xfce.org/>."
8119
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8120
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8122
gigolo config.status 0.4.2
8123
configured by $0, generated by GNU Autoconf 2.69,
8124
with options \\"\$ac_cs_config\\"
8126
Copyright (C) 2012 Free Software Foundation, Inc.
8127
This config.status script is free software; the Free Software Foundation
8128
gives unlimited permission to copy, distribute and modify it."
8135
test -n "\$AWK" || AWK=awk
8138
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8139
# The default lists apply if the user does not specify any file.
8145
ac_option=`expr "X$1" : 'X\([^=]*\)='`
8146
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8150
ac_option=`expr "X$1" : 'X\([^=]*\)='`
8162
# Handling of the options.
8163
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8165
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8166
$as_echo "$ac_cs_version"; exit ;;
8167
--config | --confi | --conf | --con | --co | --c )
8168
$as_echo "$ac_cs_config"; exit ;;
8169
--debug | --debu | --deb | --de | --d | -d )
8171
--file | --fil | --fi | --f )
8174
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8175
'') as_fn_error $? "missing file argument" ;;
8177
as_fn_append CONFIG_FILES " '$ac_optarg'"
8178
ac_need_defaults=false;;
8179
--header | --heade | --head | --hea )
8182
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8184
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8185
ac_need_defaults=false;;
8187
# Conflict between --help and --header
8188
as_fn_error $? "ambiguous option: \`$1'
8189
Try \`$0 --help' for more information.";;
8190
--help | --hel | -h )
8191
$as_echo "$ac_cs_usage"; exit ;;
8192
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
8193
| -silent | --silent | --silen | --sile | --sil | --si | --s)
8197
-*) as_fn_error $? "unrecognized option: \`$1'
8198
Try \`$0 --help' for more information." ;;
8200
*) as_fn_append ac_config_targets " $1"
8201
ac_need_defaults=false ;;
8207
ac_configure_extra_args=
8209
if $ac_cs_silent; then
8211
ac_configure_extra_args="$ac_configure_extra_args --silent"
8215
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8216
if \$ac_cs_recheck; then
8217
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8219
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8220
CONFIG_SHELL='$SHELL'
8226
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8230
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8231
## Running $as_me. ##
8237
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8241
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8247
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8249
# Handling of arguments.
8250
for ac_config_target in $ac_config_targets
8252
case $ac_config_target in
8253
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8254
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8255
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8256
"default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
8257
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8258
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8259
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8260
"gigolo.1") CONFIG_FILES="$CONFIG_FILES gigolo.1" ;;
8261
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
8263
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8268
# If the user did not use the arguments to specify the items to instantiate,
8269
# then the envvar interface is used. Set only those that are not.
8270
# We use the long form for the default assignment because of an extremely
8271
# bizarre bug on SunOS 4.1.3.
8272
if $ac_need_defaults; then
8273
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8274
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8275
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8278
# Have a temporary directory for convenience. Make it in the build tree
8279
# simply because there is no reason against having it here, and in addition,
8280
# creating and moving files from /tmp can sometimes cause problems.
8281
# Hook for its removal unless debugging.
8282
# Note that there is a small window in which the directory will not be cleaned:
8283
# after its creation but before its name has been assigned to `$tmp'.
8287
trap 'exit_status=$?
8289
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8291
trap 'as_fn_exit 1' 1 2 13 15
8293
# Create a (secure) tmp directory for tmp files.
8296
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8300
tmp=./conf$$-$RANDOM
8301
(umask 077 && mkdir "$tmp")
8302
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8305
# Set up the scripts for CONFIG_FILES section.
8306
# No need to generate them if there are no CONFIG_FILES.
8307
# This happens for instance with `./config.status config.h'.
8308
if test -n "$CONFIG_FILES"; then
8311
ac_cr=`echo X | tr X '\015'`
8312
# On cygwin, bash can eat \r inside `` if the user requested igncr.
8313
# But we know of no other shell where ac_cr would be empty at this
8314
# point, so we can use a bashism as a fallback.
8315
if test "x$ac_cr" = x; then
8316
eval ac_cr=\$\'\\r\'
8318
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8319
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8325
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8330
echo "cat >conf$$subs.awk <<_ACEOF" &&
8331
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8334
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8335
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8337
for ac_last_try in false false false false false :; do
8338
. ./conf$$subs.sh ||
8339
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8341
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8342
if test $ac_delim_n = $ac_delim_num; then
8344
elif $ac_last_try; then
8345
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8347
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8352
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8353
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8357
s/^/S["/; s/!.*/"]=/
8367
s/\(.\{148\}\)..*/\1/
8369
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8374
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8381
s/\(.\{148\}\)..*/\1/
8383
s/["\\]/\\&/g; s/^/"/; s/$/"/
8387
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8392
' <conf$$subs.awk | sed '
8397
' >>$CONFIG_STATUS || ac_write_fail=1
8398
rm -f conf$$subs.awk
8399
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8401
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8402
for (key in S) S_is_set[key] = 1
8408
nfields = split(line, field, "@")
8410
len = length(field[1])
8411
for (i = 2; i < nfields; i++) {
8413
keylen = length(key)
8414
if (S_is_set[key]) {
8416
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8417
len += length(value) + length(field[++i])
8428
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8429
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8430
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8433
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8434
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8437
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8438
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8439
# trailing colons and then remove the whole line if VPATH becomes empty
8440
# (actually we leave an empty line to preserve line numbers).
8441
if test "x$srcdir" = x.; then
8442
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8460
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8461
fi # test -n "$CONFIG_FILES"
8463
# Set up the scripts for CONFIG_HEADERS section.
8464
# No need to generate them if there are no CONFIG_HEADERS.
8465
# This happens for instance with `./config.status Makefile'.
8466
if test -n "$CONFIG_HEADERS"; then
8467
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8471
# Transform confdefs.h into an awk script `defines.awk', embedded as
8472
# here-document in config.status, that substitutes the proper values into
8473
# config.h.in to produce config.h.
8475
# Create a delimiter string that does not exist in confdefs.h, to ease
8476
# handling of long lines.
8478
for ac_last_try in false false :; do
8479
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8480
if test -z "$ac_tt"; then
8482
elif $ac_last_try; then
8483
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8485
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8489
# For the awk script, D is an array of macro values keyed by name,
8490
# likewise P contains macro parameters if any. Preserve backslash
8491
# newline sequences.
8493
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8495
s/.\{148\}/&'"$ac_delim"'/g
8498
s/^[ ]*#[ ]*define[ ][ ]*/ /
8505
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8507
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8511
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8512
D["\1"]=" \3\\\\\\n"\\/p
8514
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8519
s/.\{148\}/&'"$ac_delim"'/g
8524
s/["\\]/\\&/g; s/^/"/; s/$/"/p
8527
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8529
' <confdefs.h | sed '
8530
s/'"$ac_delim"'/"\\\
8531
"/g' >>$CONFIG_STATUS || ac_write_fail=1
8533
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8534
for (key in D) D_is_set[key] = 1
8537
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8539
split(line, arg, " ")
8540
if (arg[1] == "#") {
8544
defundef = substr(arg[1], 2)
8547
split(mac1, mac2, "(") #)
8549
prefix = substr(line, 1, index(line, defundef) - 1)
8550
if (D_is_set[macro]) {
8551
# Preserve the white space surrounding the "#".
8552
print prefix "define", macro P[macro] D[macro]
8555
# Replace #undef with comments. This is necessary, for example,
8556
# in the case of _POSIX_SOURCE, which is predefined and required
8557
# on some systems where configure will not decide to define it.
8558
if (defundef == "undef") {
8559
print "/*", prefix defundef, macro, "*/"
8567
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8568
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8569
fi # test -n "$CONFIG_HEADERS"
8572
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8577
:[FHLC]) ac_mode=$ac_tag; continue;;
8579
case $ac_mode$ac_tag in
8581
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8582
:[FH]-) ac_tag=-:-;;
8583
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8600
-) ac_f="$ac_tmp/stdin";;
8601
*) # Look for the file first in the build tree, then in the source tree
8602
# (if the path is not absolute). The absolute path cannot be DOS-style,
8603
# because $ac_f cannot contain `:'.
8607
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8609
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8611
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8612
as_fn_append ac_file_inputs " '$ac_f'"
8615
# Let's still pretend it is `configure' which instantiates (i.e., don't
8616
# use $as_me), people would be surprised to read:
8617
# /* config.h. Generated by config.status. */
8618
configure_input='Generated from '`
8619
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8621
if test x"$ac_file" != x-; then
8622
configure_input="$ac_file. $configure_input"
8623
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8624
$as_echo "$as_me: creating $ac_file" >&6;}
8626
# Neutralize special characters interpreted by sed in replacement strings.
8627
case $configure_input in #(
8628
*\&* | *\|* | *\\* )
8629
ac_sed_conf_input=`$as_echo "$configure_input" |
8630
sed 's/[\\\\&|]/\\\\&/g'`;; #(
8631
*) ac_sed_conf_input=$configure_input;;
8635
*:-:* | *:-) cat >"$ac_tmp/stdin" \
8636
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8641
ac_dir=`$as_dirname -- "$ac_file" ||
8642
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8643
X"$ac_file" : 'X\(//\)[^/]' \| \
8644
X"$ac_file" : 'X\(//\)$' \| \
8645
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8646
$as_echo X"$ac_file" |
8647
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8664
as_dir="$ac_dir"; as_fn_mkdir_p
8668
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8670
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8671
# A ".." for each directory in $ac_dir_suffix.
8672
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8673
case $ac_top_builddir_sub in
8674
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8675
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8678
ac_abs_top_builddir=$ac_pwd
8679
ac_abs_builddir=$ac_pwd$ac_dir_suffix
8680
# for backward compatibility:
8681
ac_top_builddir=$ac_top_build_prefix
8684
.) # We are building in place.
8686
ac_top_srcdir=$ac_top_builddir_sub
8687
ac_abs_top_srcdir=$ac_pwd ;;
8688
[\\/]* | ?:[\\/]* ) # Absolute name.
8689
ac_srcdir=$srcdir$ac_dir_suffix;
8690
ac_top_srcdir=$srcdir
8691
ac_abs_top_srcdir=$srcdir ;;
8693
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8694
ac_top_srcdir=$ac_top_build_prefix$srcdir
8695
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8697
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8707
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8708
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8712
[\\/$]* | ?:[\\/]* ) ;;
8713
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8717
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8718
# If the template does not know about datarootdir, expand it.
8719
# FIXME: This hack should be removed a few years after 2.60.
8720
ac_datarootdir_hack=; ac_datarootdir_seen=
8731
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8732
*datarootdir*) ac_datarootdir_seen=yes;;
8733
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8734
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8735
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8737
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8738
ac_datarootdir_hack='
8739
s&@datadir@&$datadir&g
8740
s&@docdir@&$docdir&g
8741
s&@infodir@&$infodir&g
8742
s&@localedir@&$localedir&g
8743
s&@mandir@&$mandir&g
8744
s&\\\${datarootdir}&$datarootdir&g' ;;
8748
# Neutralize VPATH when `$srcdir' = `.'.
8749
# Shell code in configure.ac might set extrasub.
8750
# FIXME: do we really want to maintain this feature?
8751
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8752
ac_sed_extra="$ac_vpsub
8755
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8757
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8758
s|@configure_input@|$ac_sed_conf_input|;t t
8759
s&@top_builddir@&$ac_top_builddir_sub&;t t
8760
s&@top_build_prefix@&$ac_top_build_prefix&;t t
8761
s&@srcdir@&$ac_srcdir&;t t
8762
s&@abs_srcdir@&$ac_abs_srcdir&;t t
8763
s&@top_srcdir@&$ac_top_srcdir&;t t
8764
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8765
s&@builddir@&$ac_builddir&;t t
8766
s&@abs_builddir@&$ac_abs_builddir&;t t
8767
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8768
s&@INSTALL@&$ac_INSTALL&;t t
8769
s&@MKDIR_P@&$ac_MKDIR_P&;t t
8770
$ac_datarootdir_hack
8772
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8773
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8775
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8776
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8777
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8778
"$ac_tmp/out"`; test -z "$ac_out"; } &&
8779
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8780
which seems to be undefined. Please make sure it is defined" >&5
8781
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8782
which seems to be undefined. Please make sure it is defined" >&2;}
8784
rm -f "$ac_tmp/stdin"
8786
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8787
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8789
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8795
if test x"$ac_file" != x-; then
8797
$as_echo "/* $configure_input */" \
8798
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8799
} >"$ac_tmp/config.h" \
8800
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8801
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8802
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8803
$as_echo "$as_me: $ac_file is unchanged" >&6;}
8806
mv "$ac_tmp/config.h" "$ac_file" \
8807
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8810
$as_echo "/* $configure_input */" \
8811
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8812
|| as_fn_error $? "could not create -" "$LINENO" 5
8814
# Compute "$ac_file"'s index in $config_headers.
8817
for _am_header in $config_headers :; do
8819
$_am_arg | $_am_arg:* )
8822
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
8825
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8826
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8827
X"$_am_arg" : 'X\(//\)[^/]' \| \
8828
X"$_am_arg" : 'X\(//\)$' \| \
8829
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8830
$as_echo X"$_am_arg" |
8831
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8847
s/.*/./; q'`/stamp-h$_am_stamp_count
8850
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8851
$as_echo "$as_me: executing $ac_file commands" >&6;}
8856
case $ac_file$ac_mode in
8857
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8858
# Older Autoconf quotes --file arguments for eval, but not when files
8859
# are listed without --file. Let's play safe and only enable the eval
8860
# if we detect the quoting.
8861
case $CONFIG_FILES in
8862
*\'*) eval set x "$CONFIG_FILES" ;;
8863
*) set x $CONFIG_FILES ;;
8868
# Strip MF so we end up with the name of the file.
8869
mf=`echo "$mf" | sed -e 's/:.*$//'`
8870
# Check whether this is an Automake generated Makefile or not.
8871
# We used to match only the files named 'Makefile.in', but
8872
# some people rename them; so instead we look at the file content.
8873
# Grep'ing the first line is not enough: some people post-process
8874
# each Makefile.in and add a new line on top of each file to say so.
8875
# Grep'ing the whole file is not good either: AIX grep has a line
8876
# limit of 2048, but all sed's we know have understand at least 4000.
8877
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8878
dirpart=`$as_dirname -- "$mf" ||
8879
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8880
X"$mf" : 'X\(//\)[^/]' \| \
8881
X"$mf" : 'X\(//\)$' \| \
8882
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8884
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8904
# Extract the definition of DEPDIR, am__include, and am__quote
8905
# from the Makefile without running 'make'.
8906
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8907
test -z "$DEPDIR" && continue
8908
am__include=`sed -n 's/^am__include = //p' < "$mf"`
8909
test -z "$am__include" && continue
8910
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8911
# Find all dependency output files, they are included files with
8912
# $(DEPDIR) in their names. We invoke sed twice because it is the
8913
# simplest approach to changing $(DEPDIR) to its actual value in the
8915
for file in `sed -n "
8916
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8917
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8918
# Make sure the directory exists.
8919
test -f "$dirpart/$file" && continue
8920
fdir=`$as_dirname -- "$file" ||
8921
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8922
X"$file" : 'X\(//\)[^/]' \| \
8923
X"$file" : 'X\(//\)$' \| \
8924
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8926
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8943
as_dir=$dirpart/$fdir; as_fn_mkdir_p
8944
# echo "creating $dirpart/$file"
8945
echo '# dummy' > "$dirpart/$file"
8950
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
8951
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
8953
"default-2":C) case "$CONFIG_FILES" in *po/Makefile.in*)
8954
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
8957
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
8958
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
8960
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
8965
'"s|^| $ac_top_srcdir/|" \
8966
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
8968
sed '/^POTFILES =/,/[^\\]$/ {
8972
' "po/Makefile.in" >"po/Makefile"
8973
rm -f "po/Makefile.tmp"
8974
mv "po/stamp-it.tmp" "po/stamp-it"
8983
ac_clean_files=$ac_clean_files_save
8985
test $ac_write_fail = 0 ||
8986
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8989
# configure is writing to config.log, and then calls config.status.
8990
# config.status does its own redirection, appending to config.log.
8991
# Unfortunately, on DOS this fails, as config.log is still kept open
8992
# by configure, so config.status won't be able to write to it; its
8993
# output is simply discarded. So we exec the FD to /dev/null,
8994
# effectively closing config.log, so it can be properly (re)opened and
8995
# appended to by config.status. When coming back to configure, we
8996
# need to make the FD available again.
8997
if test "$no_create" != yes; then
8999
ac_config_status_args=
9000
test "$silent" = yes &&
9001
ac_config_status_args="$ac_config_status_args --quiet"
9003
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9005
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
9006
# would make configure fail if this is the last instruction.
9007
$ac_cs_success || as_fn_exit 1
9009
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9010
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9011
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9015
echo "----------------------------------------"
9016
echo "Install in : ${prefix}"
9017
echo "Using GTK version : ${GTK_VERSION}"
9019
echo "Configuration is done OK."