19660
19115
_pkg_short_errors_supported=no
19662
19117
if test $_pkg_short_errors_supported = yes; then
19663
EXTRA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 pidgin >= 2.0"`
19118
EXTRA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0"`
19665
EXTRA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 pidgin >= 2.0"`
19120
EXTRA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0"`
19667
19122
# Put the nasty error message in config.log where it belongs
19668
19123
echo "$EXTRA_PKG_ERRORS" >&5
19670
{ echo "$as_me:$LINENO: result: no" >&5
19671
echo "${ECHO_T}no" >&6; }
19672
{ { echo "$as_me:$LINENO: error: glib" >&5
19673
echo "$as_me: error: glib" >&2;}
19674
{ (exit gtk and pidgin required); exit gtk and pidgin required; }; }
19125
{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0) were not met:
19129
Consider adjusting the PKG_CONFIG_PATH environment variable if you
19130
installed software in a non-standard prefix.
19132
Alternatively, you may set the environment variables EXTRA_CFLAGS
19133
and EXTRA_LIBS to avoid the need to call pkg-config.
19134
See the pkg-config man page for more details.
19136
echo "$as_me: error: Package requirements (glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0) were not met:
19140
Consider adjusting the PKG_CONFIG_PATH environment variable if you
19141
installed software in a non-standard prefix.
19143
Alternatively, you may set the environment variables EXTRA_CFLAGS
19144
and EXTRA_LIBS to avoid the need to call pkg-config.
19145
See the pkg-config man page for more details.
19147
{ (exit 1); exit 1; }; }
19675
19148
elif test $pkg_failed = untried; then
19676
{ { echo "$as_me:$LINENO: error: glib" >&5
19677
echo "$as_me: error: glib" >&2;}
19678
{ (exit gtk and pidgin required); exit gtk and pidgin required; }; }
19149
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
19150
is in your PATH or set the PKG_CONFIG environment variable to the full
19151
path to pkg-config.
19153
Alternatively, you may set the environment variables EXTRA_CFLAGS
19154
and EXTRA_LIBS to avoid the need to call pkg-config.
19155
See the pkg-config man page for more details.
19157
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
19158
See \`config.log' for more details." >&5
19159
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
19160
is in your PATH or set the PKG_CONFIG environment variable to the full
19161
path to pkg-config.
19163
Alternatively, you may set the environment variables EXTRA_CFLAGS
19164
and EXTRA_LIBS to avoid the need to call pkg-config.
19165
See the pkg-config man page for more details.
19167
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
19168
See \`config.log' for more details." >&2;}
19169
{ (exit 1); exit 1; }; }
19680
19171
EXTRA_CFLAGS=$pkg_cv_EXTRA_CFLAGS
19681
19172
EXTRA_LIBS=$pkg_cv_EXTRA_LIBS
19682
{ echo "$as_me:$LINENO: result: yes" >&5
19683
echo "${ECHO_T}yes" >&6; }
19173
echo "$as_me:$LINENO: result: yes" >&5
19174
echo "${ECHO_T}yes" >&6
19687
ac_config_files="$ac_config_files Makefile"
19179
case "$am__api_version" in
19181
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
19182
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
19183
{ (exit 1); exit 1; }; }
19189
if test -n ""; then
19190
echo "$as_me:$LINENO: checking for intltool >= " >&5
19191
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6
19193
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
19194
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
19195
INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
19197
echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
19198
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
19199
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
19200
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5
19201
echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;}
19202
{ (exit 1); exit 1; }; }
19205
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19206
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19207
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19208
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19209
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
19210
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19211
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19212
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19213
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19214
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19215
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19216
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
19217
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19218
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19219
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19220
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19221
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19222
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19243
# Use the tools built into the package, not the ones that are installed.
19244
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
19246
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
19248
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
19251
# Extract the first word of "perl", so it can be a program name with args.
19252
set dummy perl; ac_word=$2
19253
echo "$as_me:$LINENO: checking for $ac_word" >&5
19254
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19255
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
19256
echo $ECHO_N "(cached) $ECHO_C" >&6
19258
case $INTLTOOL_PERL in
19260
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
19263
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19264
for as_dir in $PATH
19267
test -z "$as_dir" && as_dir=.
19268
for ac_exec_ext in '' $ac_executable_extensions; do
19269
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19270
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
19271
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19280
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
19282
if test -n "$INTLTOOL_PERL"; then
19283
echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
19284
echo "${ECHO_T}$INTLTOOL_PERL" >&6
19286
echo "$as_me:$LINENO: result: no" >&5
19287
echo "${ECHO_T}no" >&6
19290
if test -z "$INTLTOOL_PERL"; then
19291
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
19292
echo "$as_me: error: perl not found; required for intltool" >&2;}
19293
{ (exit 1); exit 1; }; }
19295
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
19296
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
19297
echo "$as_me: error: perl 5.x required for intltool" >&2;}
19298
{ (exit 1); exit 1; }; }
19300
if test "x" != "xno-xml"; then
19301
echo "$as_me:$LINENO: checking for XML::Parser" >&5
19302
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
19303
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
19304
echo "$as_me:$LINENO: result: ok" >&5
19305
echo "${ECHO_T}ok" >&6
19307
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
19308
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
19309
{ (exit 1); exit 1; }; }
19313
# Extract the first word of "iconv", so it can be a program name with args.
19314
set dummy iconv; ac_word=$2
19315
echo "$as_me:$LINENO: checking for $ac_word" >&5
19316
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19317
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
19318
echo $ECHO_N "(cached) $ECHO_C" >&6
19320
case $INTLTOOL_ICONV in
19322
ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
19325
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19326
for as_dir in $PATH
19329
test -z "$as_dir" && as_dir=.
19330
for ac_exec_ext in '' $ac_executable_extensions; do
19331
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19332
ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
19333
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19339
test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
19343
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
19345
if test -n "$INTLTOOL_ICONV"; then
19346
echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
19347
echo "${ECHO_T}$INTLTOOL_ICONV" >&6
19349
echo "$as_me:$LINENO: result: no" >&5
19350
echo "${ECHO_T}no" >&6
19353
# Extract the first word of "msgfmt", so it can be a program name with args.
19354
set dummy msgfmt; ac_word=$2
19355
echo "$as_me:$LINENO: checking for $ac_word" >&5
19356
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19357
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
19358
echo $ECHO_N "(cached) $ECHO_C" >&6
19360
case $INTLTOOL_MSGFMT in
19362
ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
19365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19366
for as_dir in $PATH
19369
test -z "$as_dir" && as_dir=.
19370
for ac_exec_ext in '' $ac_executable_extensions; do
19371
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19372
ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
19373
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19379
test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
19383
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
19385
if test -n "$INTLTOOL_MSGFMT"; then
19386
echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
19387
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6
19389
echo "$as_me:$LINENO: result: no" >&5
19390
echo "${ECHO_T}no" >&6
19393
# Extract the first word of "msgmerge", so it can be a program name with args.
19394
set dummy msgmerge; ac_word=$2
19395
echo "$as_me:$LINENO: checking for $ac_word" >&5
19396
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19397
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
19398
echo $ECHO_N "(cached) $ECHO_C" >&6
19400
case $INTLTOOL_MSGMERGE in
19402
ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
19405
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19406
for as_dir in $PATH
19409
test -z "$as_dir" && as_dir=.
19410
for ac_exec_ext in '' $ac_executable_extensions; do
19411
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19412
ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
19413
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19419
test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
19423
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
19425
if test -n "$INTLTOOL_MSGMERGE"; then
19426
echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
19427
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6
19429
echo "$as_me:$LINENO: result: no" >&5
19430
echo "${ECHO_T}no" >&6
19433
# Extract the first word of "xgettext", so it can be a program name with args.
19434
set dummy xgettext; ac_word=$2
19435
echo "$as_me:$LINENO: checking for $ac_word" >&5
19436
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19437
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
19438
echo $ECHO_N "(cached) $ECHO_C" >&6
19440
case $INTLTOOL_XGETTEXT in
19442
ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
19445
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19446
for as_dir in $PATH
19449
test -z "$as_dir" && as_dir=.
19450
for ac_exec_ext in '' $ac_executable_extensions; do
19451
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19452
ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
19453
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19459
test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
19463
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
19465
if test -n "$INTLTOOL_XGETTEXT"; then
19466
echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
19467
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6
19469
echo "$as_me:$LINENO: result: no" >&5
19470
echo "${ECHO_T}no" >&6
19474
# Substitute ALL_LINGUAS so we can use it in po/Makefile
19480
ac_config_commands="$ac_config_commands intltool"
19485
GETTEXT_PACKAGE=pidgin-otr
19488
cat >>confdefs.h <<_ACEOF
19489
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
19493
ALL_LINGUAS="es fr nl sk"
19496
for ac_header in locale.h
19498
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19499
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19500
echo "$as_me:$LINENO: checking for $ac_header" >&5
19501
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19502
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19503
echo $ECHO_N "(cached) $ECHO_C" >&6
19505
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19506
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19508
# Is the header compilable?
19509
echo "$as_me:$LINENO: checking $ac_header usability" >&5
19510
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19511
cat >conftest.$ac_ext <<_ACEOF
19514
cat confdefs.h >>conftest.$ac_ext
19515
cat >>conftest.$ac_ext <<_ACEOF
19516
/* end confdefs.h. */
19517
$ac_includes_default
19518
#include <$ac_header>
19520
rm -f conftest.$ac_objext
19521
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19522
(eval $ac_compile) 2>conftest.er1
19524
grep -v '^ *+' conftest.er1 >conftest.err
19526
cat conftest.err >&5
19527
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528
(exit $ac_status); } &&
19529
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19530
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531
(eval $ac_try) 2>&5
19533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534
(exit $ac_status); }; } &&
19535
{ ac_try='test -s conftest.$ac_objext'
19536
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537
(eval $ac_try) 2>&5
19539
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540
(exit $ac_status); }; }; then
19541
ac_header_compiler=yes
19543
echo "$as_me: failed program was:" >&5
19544
sed 's/^/| /' conftest.$ac_ext >&5
19546
ac_header_compiler=no
19548
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19549
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19550
echo "${ECHO_T}$ac_header_compiler" >&6
19552
# Is the header present?
19553
echo "$as_me:$LINENO: checking $ac_header presence" >&5
19554
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19555
cat >conftest.$ac_ext <<_ACEOF
19558
cat confdefs.h >>conftest.$ac_ext
19559
cat >>conftest.$ac_ext <<_ACEOF
19560
/* end confdefs.h. */
19561
#include <$ac_header>
19563
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19564
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19566
grep -v '^ *+' conftest.er1 >conftest.err
19568
cat conftest.err >&5
19569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570
(exit $ac_status); } >/dev/null; then
19571
if test -s conftest.err; then
19572
ac_cpp_err=$ac_c_preproc_warn_flag
19573
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19580
if test -z "$ac_cpp_err"; then
19581
ac_header_preproc=yes
19583
echo "$as_me: failed program was:" >&5
19584
sed 's/^/| /' conftest.$ac_ext >&5
19586
ac_header_preproc=no
19588
rm -f conftest.err conftest.$ac_ext
19589
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19590
echo "${ECHO_T}$ac_header_preproc" >&6
19592
# So? What about this header?
19593
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19595
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19596
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19597
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19598
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19599
ac_header_preproc=yes
19602
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19603
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19604
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19605
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19606
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19607
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19608
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19609
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19610
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19611
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19612
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19613
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19616
## ------------------------------------- ##
19617
## Report this to the pidgin-otr lists. ##
19618
## ------------------------------------- ##
19621
sed "s/^/$as_me: WARNING: /" >&2
19624
echo "$as_me:$LINENO: checking for $ac_header" >&5
19625
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19626
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19627
echo $ECHO_N "(cached) $ECHO_C" >&6
19629
eval "$as_ac_Header=\$ac_header_preproc"
19631
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19632
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19635
if test `eval echo '${'$as_ac_Header'}'` = yes; then
19636
cat >>confdefs.h <<_ACEOF
19637
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19644
if test $ac_cv_header_locale_h = yes; then
19645
echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
19646
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
19647
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
19648
echo $ECHO_N "(cached) $ECHO_C" >&6
19650
cat >conftest.$ac_ext <<_ACEOF
19653
cat confdefs.h >>conftest.$ac_ext
19654
cat >>conftest.$ac_ext <<_ACEOF
19655
/* end confdefs.h. */
19656
#include <locale.h>
19665
rm -f conftest.$ac_objext conftest$ac_exeext
19666
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19667
(eval $ac_link) 2>conftest.er1
19669
grep -v '^ *+' conftest.er1 >conftest.err
19671
cat conftest.err >&5
19672
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673
(exit $ac_status); } &&
19674
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19675
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676
(eval $ac_try) 2>&5
19678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679
(exit $ac_status); }; } &&
19680
{ ac_try='test -s conftest$ac_exeext'
19681
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19682
(eval $ac_try) 2>&5
19684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685
(exit $ac_status); }; }; then
19686
am_cv_val_LC_MESSAGES=yes
19688
echo "$as_me: failed program was:" >&5
19689
sed 's/^/| /' conftest.$ac_ext >&5
19691
am_cv_val_LC_MESSAGES=no
19693
rm -f conftest.err conftest.$ac_objext \
19694
conftest$ac_exeext conftest.$ac_ext
19696
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
19697
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
19698
if test $am_cv_val_LC_MESSAGES = yes; then
19700
cat >>confdefs.h <<\_ACEOF
19701
#define HAVE_LC_MESSAGES 1
19709
gt_cv_have_gettext=no
19715
if test "${ac_cv_header_libintl_h+set}" = set; then
19716
echo "$as_me:$LINENO: checking for libintl.h" >&5
19717
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
19718
if test "${ac_cv_header_libintl_h+set}" = set; then
19719
echo $ECHO_N "(cached) $ECHO_C" >&6
19721
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
19722
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
19724
# Is the header compilable?
19725
echo "$as_me:$LINENO: checking libintl.h usability" >&5
19726
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
19727
cat >conftest.$ac_ext <<_ACEOF
19730
cat confdefs.h >>conftest.$ac_ext
19731
cat >>conftest.$ac_ext <<_ACEOF
19732
/* end confdefs.h. */
19733
$ac_includes_default
19734
#include <libintl.h>
19736
rm -f conftest.$ac_objext
19737
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19738
(eval $ac_compile) 2>conftest.er1
19740
grep -v '^ *+' conftest.er1 >conftest.err
19742
cat conftest.err >&5
19743
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744
(exit $ac_status); } &&
19745
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19746
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747
(eval $ac_try) 2>&5
19749
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750
(exit $ac_status); }; } &&
19751
{ ac_try='test -s conftest.$ac_objext'
19752
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753
(eval $ac_try) 2>&5
19755
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756
(exit $ac_status); }; }; then
19757
ac_header_compiler=yes
19759
echo "$as_me: failed program was:" >&5
19760
sed 's/^/| /' conftest.$ac_ext >&5
19762
ac_header_compiler=no
19764
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19765
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19766
echo "${ECHO_T}$ac_header_compiler" >&6
19768
# Is the header present?
19769
echo "$as_me:$LINENO: checking libintl.h presence" >&5
19770
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
19771
cat >conftest.$ac_ext <<_ACEOF
19774
cat confdefs.h >>conftest.$ac_ext
19775
cat >>conftest.$ac_ext <<_ACEOF
19776
/* end confdefs.h. */
19777
#include <libintl.h>
19779
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19780
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19782
grep -v '^ *+' conftest.er1 >conftest.err
19784
cat conftest.err >&5
19785
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786
(exit $ac_status); } >/dev/null; then
19787
if test -s conftest.err; then
19788
ac_cpp_err=$ac_c_preproc_warn_flag
19789
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19796
if test -z "$ac_cpp_err"; then
19797
ac_header_preproc=yes
19799
echo "$as_me: failed program was:" >&5
19800
sed 's/^/| /' conftest.$ac_ext >&5
19802
ac_header_preproc=no
19804
rm -f conftest.err conftest.$ac_ext
19805
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19806
echo "${ECHO_T}$ac_header_preproc" >&6
19808
# So? What about this header?
19809
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19811
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
19812
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19813
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
19814
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
19815
ac_header_preproc=yes
19818
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
19819
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
19820
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
19821
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
19822
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
19823
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
19824
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
19825
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
19826
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
19827
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
19828
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
19829
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
19832
## ------------------------------------- ##
19833
## Report this to the pidgin-otr lists. ##
19834
## ------------------------------------- ##
19837
sed "s/^/$as_me: WARNING: /" >&2
19840
echo "$as_me:$LINENO: checking for libintl.h" >&5
19841
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
19842
if test "${ac_cv_header_libintl_h+set}" = set; then
19843
echo $ECHO_N "(cached) $ECHO_C" >&6
19845
ac_cv_header_libintl_h=$ac_header_preproc
19847
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
19848
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
19851
if test $ac_cv_header_libintl_h = yes; then
19852
gt_cv_func_dgettext_libintl="no"
19853
libintl_extra_libs=""
19856
# First check in libc
19858
echo "$as_me:$LINENO: checking for ngettext in libc" >&5
19859
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6
19860
if test "${gt_cv_func_ngettext_libc+set}" = set; then
19861
echo $ECHO_N "(cached) $ECHO_C" >&6
19863
cat >conftest.$ac_ext <<_ACEOF
19866
cat confdefs.h >>conftest.$ac_ext
19867
cat >>conftest.$ac_ext <<_ACEOF
19868
/* end confdefs.h. */
19870
#include <libintl.h>
19875
return !ngettext ("","", 1)
19880
rm -f conftest.$ac_objext conftest$ac_exeext
19881
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19882
(eval $ac_link) 2>conftest.er1
19884
grep -v '^ *+' conftest.er1 >conftest.err
19886
cat conftest.err >&5
19887
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888
(exit $ac_status); } &&
19889
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19890
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891
(eval $ac_try) 2>&5
19893
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894
(exit $ac_status); }; } &&
19895
{ ac_try='test -s conftest$ac_exeext'
19896
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19897
(eval $ac_try) 2>&5
19899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900
(exit $ac_status); }; }; then
19901
gt_cv_func_ngettext_libc=yes
19903
echo "$as_me: failed program was:" >&5
19904
sed 's/^/| /' conftest.$ac_ext >&5
19906
gt_cv_func_ngettext_libc=no
19908
rm -f conftest.err conftest.$ac_objext \
19909
conftest$ac_exeext conftest.$ac_ext
19912
echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
19913
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6
19915
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19916
echo "$as_me:$LINENO: checking for dgettext in libc" >&5
19917
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
19918
if test "${gt_cv_func_dgettext_libc+set}" = set; then
19919
echo $ECHO_N "(cached) $ECHO_C" >&6
19921
cat >conftest.$ac_ext <<_ACEOF
19924
cat confdefs.h >>conftest.$ac_ext
19925
cat >>conftest.$ac_ext <<_ACEOF
19926
/* end confdefs.h. */
19928
#include <libintl.h>
19933
return !dgettext ("","")
19938
rm -f conftest.$ac_objext conftest$ac_exeext
19939
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19940
(eval $ac_link) 2>conftest.er1
19942
grep -v '^ *+' conftest.er1 >conftest.err
19944
cat conftest.err >&5
19945
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946
(exit $ac_status); } &&
19947
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19948
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19949
(eval $ac_try) 2>&5
19951
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952
(exit $ac_status); }; } &&
19953
{ ac_try='test -s conftest$ac_exeext'
19954
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19955
(eval $ac_try) 2>&5
19957
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958
(exit $ac_status); }; }; then
19959
gt_cv_func_dgettext_libc=yes
19961
echo "$as_me: failed program was:" >&5
19962
sed 's/^/| /' conftest.$ac_ext >&5
19964
gt_cv_func_dgettext_libc=no
19966
rm -f conftest.err conftest.$ac_objext \
19967
conftest$ac_exeext conftest.$ac_ext
19970
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
19971
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
19974
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19976
for ac_func in bind_textdomain_codeset
19978
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19979
echo "$as_me:$LINENO: checking for $ac_func" >&5
19980
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19981
if eval "test \"\${$as_ac_var+set}\" = set"; then
19982
echo $ECHO_N "(cached) $ECHO_C" >&6
19984
cat >conftest.$ac_ext <<_ACEOF
19987
cat confdefs.h >>conftest.$ac_ext
19988
cat >>conftest.$ac_ext <<_ACEOF
19989
/* end confdefs.h. */
19990
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19991
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19992
#define $ac_func innocuous_$ac_func
19994
/* System header to define __stub macros and hopefully few prototypes,
19995
which can conflict with char $ac_func (); below.
19996
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19997
<limits.h> exists even on freestanding compilers. */
20000
# include <limits.h>
20002
# include <assert.h>
20007
/* Override any gcc2 internal prototype to avoid an error. */
20012
/* We use char because int might match the return type of a gcc2
20013
builtin and then its argument prototype would still apply. */
20015
/* The GNU C library defines this for functions which it implements
20016
to always fail with ENOSYS. Some functions are actually named
20017
something starting with __ and the normal name is an alias. */
20018
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20021
char (*f) () = $ac_func;
20030
return f != $ac_func;
20035
rm -f conftest.$ac_objext conftest$ac_exeext
20036
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20037
(eval $ac_link) 2>conftest.er1
20039
grep -v '^ *+' conftest.er1 >conftest.err
20041
cat conftest.err >&5
20042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043
(exit $ac_status); } &&
20044
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20045
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20046
(eval $ac_try) 2>&5
20048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049
(exit $ac_status); }; } &&
20050
{ ac_try='test -s conftest$ac_exeext'
20051
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20052
(eval $ac_try) 2>&5
20054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055
(exit $ac_status); }; }; then
20056
eval "$as_ac_var=yes"
20058
echo "$as_me: failed program was:" >&5
20059
sed 's/^/| /' conftest.$ac_ext >&5
20061
eval "$as_ac_var=no"
20063
rm -f conftest.err conftest.$ac_objext \
20064
conftest$ac_exeext conftest.$ac_ext
20066
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20067
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20068
if test `eval echo '${'$as_ac_var'}'` = yes; then
20069
cat >>confdefs.h <<_ACEOF
20070
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20079
# If we don't have everything we want, check in libintl
20081
if test "$gt_cv_func_dgettext_libc" != "yes" \
20082
|| test "$gt_cv_func_ngettext_libc" != "yes" \
20083
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
20085
echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
20086
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
20087
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
20088
echo $ECHO_N "(cached) $ECHO_C" >&6
20090
ac_check_lib_save_LIBS=$LIBS
20091
LIBS="-lintl $LIBS"
20092
cat >conftest.$ac_ext <<_ACEOF
20095
cat confdefs.h >>conftest.$ac_ext
20096
cat >>conftest.$ac_ext <<_ACEOF
20097
/* end confdefs.h. */
20099
/* Override any gcc2 internal prototype to avoid an error. */
20103
/* We use char because int might match the return type of a gcc2
20104
builtin and then its argument prototype would still apply. */
20105
char bindtextdomain ();
20114
rm -f conftest.$ac_objext conftest$ac_exeext
20115
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20116
(eval $ac_link) 2>conftest.er1
20118
grep -v '^ *+' conftest.er1 >conftest.err
20120
cat conftest.err >&5
20121
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122
(exit $ac_status); } &&
20123
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20124
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125
(eval $ac_try) 2>&5
20127
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128
(exit $ac_status); }; } &&
20129
{ ac_try='test -s conftest$ac_exeext'
20130
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131
(eval $ac_try) 2>&5
20133
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134
(exit $ac_status); }; }; then
20135
ac_cv_lib_intl_bindtextdomain=yes
20137
echo "$as_me: failed program was:" >&5
20138
sed 's/^/| /' conftest.$ac_ext >&5
20140
ac_cv_lib_intl_bindtextdomain=no
20142
rm -f conftest.err conftest.$ac_objext \
20143
conftest$ac_exeext conftest.$ac_ext
20144
LIBS=$ac_check_lib_save_LIBS
20146
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
20147
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
20148
if test $ac_cv_lib_intl_bindtextdomain = yes; then
20149
echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
20150
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
20151
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
20152
echo $ECHO_N "(cached) $ECHO_C" >&6
20154
ac_check_lib_save_LIBS=$LIBS
20155
LIBS="-lintl $LIBS"
20156
cat >conftest.$ac_ext <<_ACEOF
20159
cat confdefs.h >>conftest.$ac_ext
20160
cat >>conftest.$ac_ext <<_ACEOF
20161
/* end confdefs.h. */
20163
/* Override any gcc2 internal prototype to avoid an error. */
20167
/* We use char because int might match the return type of a gcc2
20168
builtin and then its argument prototype would still apply. */
20178
rm -f conftest.$ac_objext conftest$ac_exeext
20179
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20180
(eval $ac_link) 2>conftest.er1
20182
grep -v '^ *+' conftest.er1 >conftest.err
20184
cat conftest.err >&5
20185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186
(exit $ac_status); } &&
20187
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20188
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20189
(eval $ac_try) 2>&5
20191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192
(exit $ac_status); }; } &&
20193
{ ac_try='test -s conftest$ac_exeext'
20194
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20195
(eval $ac_try) 2>&5
20197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198
(exit $ac_status); }; }; then
20199
ac_cv_lib_intl_ngettext=yes
20201
echo "$as_me: failed program was:" >&5
20202
sed 's/^/| /' conftest.$ac_ext >&5
20204
ac_cv_lib_intl_ngettext=no
20206
rm -f conftest.err conftest.$ac_objext \
20207
conftest$ac_exeext conftest.$ac_ext
20208
LIBS=$ac_check_lib_save_LIBS
20210
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
20211
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
20212
if test $ac_cv_lib_intl_ngettext = yes; then
20213
echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
20214
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
20215
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
20216
echo $ECHO_N "(cached) $ECHO_C" >&6
20218
ac_check_lib_save_LIBS=$LIBS
20219
LIBS="-lintl $LIBS"
20220
cat >conftest.$ac_ext <<_ACEOF
20223
cat confdefs.h >>conftest.$ac_ext
20224
cat >>conftest.$ac_ext <<_ACEOF
20225
/* end confdefs.h. */
20227
/* Override any gcc2 internal prototype to avoid an error. */
20231
/* We use char because int might match the return type of a gcc2
20232
builtin and then its argument prototype would still apply. */
20242
rm -f conftest.$ac_objext conftest$ac_exeext
20243
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20244
(eval $ac_link) 2>conftest.er1
20246
grep -v '^ *+' conftest.er1 >conftest.err
20248
cat conftest.err >&5
20249
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250
(exit $ac_status); } &&
20251
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20252
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20253
(eval $ac_try) 2>&5
20255
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256
(exit $ac_status); }; } &&
20257
{ ac_try='test -s conftest$ac_exeext'
20258
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259
(eval $ac_try) 2>&5
20261
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262
(exit $ac_status); }; }; then
20263
ac_cv_lib_intl_dgettext=yes
20265
echo "$as_me: failed program was:" >&5
20266
sed 's/^/| /' conftest.$ac_ext >&5
20268
ac_cv_lib_intl_dgettext=no
20270
rm -f conftest.err conftest.$ac_objext \
20271
conftest$ac_exeext conftest.$ac_ext
20272
LIBS=$ac_check_lib_save_LIBS
20274
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
20275
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
20276
if test $ac_cv_lib_intl_dgettext = yes; then
20277
gt_cv_func_dgettext_libintl=yes
20285
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
20286
echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
20287
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
20288
echo "$as_me:$LINENO: result: " >&5
20289
echo "${ECHO_T}" >&6
20290
echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
20291
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
20292
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
20293
echo $ECHO_N "(cached) $ECHO_C" >&6
20295
ac_check_lib_save_LIBS=$LIBS
20296
LIBS="-lintl -liconv $LIBS"
20297
cat >conftest.$ac_ext <<_ACEOF
20300
cat confdefs.h >>conftest.$ac_ext
20301
cat >>conftest.$ac_ext <<_ACEOF
20302
/* end confdefs.h. */
20304
/* Override any gcc2 internal prototype to avoid an error. */
20308
/* We use char because int might match the return type of a gcc2
20309
builtin and then its argument prototype would still apply. */
20319
rm -f conftest.$ac_objext conftest$ac_exeext
20320
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20321
(eval $ac_link) 2>conftest.er1
20323
grep -v '^ *+' conftest.er1 >conftest.err
20325
cat conftest.err >&5
20326
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327
(exit $ac_status); } &&
20328
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20329
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330
(eval $ac_try) 2>&5
20332
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333
(exit $ac_status); }; } &&
20334
{ ac_try='test -s conftest$ac_exeext'
20335
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20336
(eval $ac_try) 2>&5
20338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339
(exit $ac_status); }; }; then
20340
ac_cv_lib_intl_ngettext=yes
20342
echo "$as_me: failed program was:" >&5
20343
sed 's/^/| /' conftest.$ac_ext >&5
20345
ac_cv_lib_intl_ngettext=no
20347
rm -f conftest.err conftest.$ac_objext \
20348
conftest$ac_exeext conftest.$ac_ext
20349
LIBS=$ac_check_lib_save_LIBS
20351
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
20352
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
20353
if test $ac_cv_lib_intl_ngettext = yes; then
20354
echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
20355
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
20356
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
20357
echo $ECHO_N "(cached) $ECHO_C" >&6
20359
ac_check_lib_save_LIBS=$LIBS
20360
LIBS="-lintl -liconv $LIBS"
20361
cat >conftest.$ac_ext <<_ACEOF
20364
cat confdefs.h >>conftest.$ac_ext
20365
cat >>conftest.$ac_ext <<_ACEOF
20366
/* end confdefs.h. */
20368
/* Override any gcc2 internal prototype to avoid an error. */
20372
/* We use char because int might match the return type of a gcc2
20373
builtin and then its argument prototype would still apply. */
20383
rm -f conftest.$ac_objext conftest$ac_exeext
20384
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20385
(eval $ac_link) 2>conftest.er1
20387
grep -v '^ *+' conftest.er1 >conftest.err
20389
cat conftest.err >&5
20390
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391
(exit $ac_status); } &&
20392
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20393
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394
(eval $ac_try) 2>&5
20396
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397
(exit $ac_status); }; } &&
20398
{ ac_try='test -s conftest$ac_exeext'
20399
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400
(eval $ac_try) 2>&5
20402
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403
(exit $ac_status); }; }; then
20404
ac_cv_lib_intl_dcgettext=yes
20406
echo "$as_me: failed program was:" >&5
20407
sed 's/^/| /' conftest.$ac_ext >&5
20409
ac_cv_lib_intl_dcgettext=no
20411
rm -f conftest.err conftest.$ac_objext \
20412
conftest$ac_exeext conftest.$ac_ext
20413
LIBS=$ac_check_lib_save_LIBS
20415
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
20416
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
20417
if test $ac_cv_lib_intl_dcgettext = yes; then
20418
gt_cv_func_dgettext_libintl=yes
20419
libintl_extra_libs=-liconv
20431
# If we found libintl, then check in it for bind_textdomain_codeset();
20432
# we'll prefer libc if neither have bind_textdomain_codeset(),
20433
# and both have dgettext and ngettext
20435
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
20436
glib_save_LIBS="$LIBS"
20437
LIBS="$LIBS -lintl $libintl_extra_libs"
20438
unset ac_cv_func_bind_textdomain_codeset
20440
for ac_func in bind_textdomain_codeset
20442
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20443
echo "$as_me:$LINENO: checking for $ac_func" >&5
20444
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20445
if eval "test \"\${$as_ac_var+set}\" = set"; then
20446
echo $ECHO_N "(cached) $ECHO_C" >&6
20448
cat >conftest.$ac_ext <<_ACEOF
20451
cat confdefs.h >>conftest.$ac_ext
20452
cat >>conftest.$ac_ext <<_ACEOF
20453
/* end confdefs.h. */
20454
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20455
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20456
#define $ac_func innocuous_$ac_func
20458
/* System header to define __stub macros and hopefully few prototypes,
20459
which can conflict with char $ac_func (); below.
20460
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20461
<limits.h> exists even on freestanding compilers. */
20464
# include <limits.h>
20466
# include <assert.h>
20471
/* Override any gcc2 internal prototype to avoid an error. */
20476
/* We use char because int might match the return type of a gcc2
20477
builtin and then its argument prototype would still apply. */
20479
/* The GNU C library defines this for functions which it implements
20480
to always fail with ENOSYS. Some functions are actually named
20481
something starting with __ and the normal name is an alias. */
20482
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20485
char (*f) () = $ac_func;
20494
return f != $ac_func;
20499
rm -f conftest.$ac_objext conftest$ac_exeext
20500
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20501
(eval $ac_link) 2>conftest.er1
20503
grep -v '^ *+' conftest.er1 >conftest.err
20505
cat conftest.err >&5
20506
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507
(exit $ac_status); } &&
20508
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20509
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20510
(eval $ac_try) 2>&5
20512
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513
(exit $ac_status); }; } &&
20514
{ ac_try='test -s conftest$ac_exeext'
20515
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20516
(eval $ac_try) 2>&5
20518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519
(exit $ac_status); }; }; then
20520
eval "$as_ac_var=yes"
20522
echo "$as_me: failed program was:" >&5
20523
sed 's/^/| /' conftest.$ac_ext >&5
20525
eval "$as_ac_var=no"
20527
rm -f conftest.err conftest.$ac_objext \
20528
conftest$ac_exeext conftest.$ac_ext
20530
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20531
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20532
if test `eval echo '${'$as_ac_var'}'` = yes; then
20533
cat >>confdefs.h <<_ACEOF
20534
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20540
LIBS="$glib_save_LIBS"
20542
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
20543
gt_cv_func_dgettext_libc=no
20545
if test "$gt_cv_func_dgettext_libc" = "yes" \
20546
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
20547
gt_cv_func_dgettext_libintl=no
20553
if test "$gt_cv_func_dgettext_libc" = "yes" \
20554
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
20555
gt_cv_have_gettext=yes
20558
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
20559
INTLLIBS="-lintl $libintl_extra_libs"
20562
if test "$gt_cv_have_gettext" = "yes"; then
20564
cat >>confdefs.h <<\_ACEOF
20565
#define HAVE_GETTEXT 1
20568
# Extract the first word of "msgfmt", so it can be a program name with args.
20569
set dummy msgfmt; ac_word=$2
20570
echo "$as_me:$LINENO: checking for $ac_word" >&5
20571
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20572
if test "${ac_cv_path_MSGFMT+set}" = set; then
20573
echo $ECHO_N "(cached) $ECHO_C" >&6
20577
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
20580
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20581
for ac_dir in $PATH; do
20582
test -z "$ac_dir" && ac_dir=.
20583
if test -f $ac_dir/$ac_word; then
20584
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
20585
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
20591
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
20595
MSGFMT="$ac_cv_path_MSGFMT"
20596
if test "$MSGFMT" != "no"; then
20597
echo "$as_me:$LINENO: result: $MSGFMT" >&5
20598
echo "${ECHO_T}$MSGFMT" >&6
20600
echo "$as_me:$LINENO: result: no" >&5
20601
echo "${ECHO_T}no" >&6
20603
if test "$MSGFMT" != "no"; then
20604
glib_save_LIBS="$LIBS"
20605
LIBS="$LIBS $INTLLIBS"
20607
for ac_func in dcgettext
20609
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20610
echo "$as_me:$LINENO: checking for $ac_func" >&5
20611
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20612
if eval "test \"\${$as_ac_var+set}\" = set"; then
20613
echo $ECHO_N "(cached) $ECHO_C" >&6
20615
cat >conftest.$ac_ext <<_ACEOF
20618
cat confdefs.h >>conftest.$ac_ext
20619
cat >>conftest.$ac_ext <<_ACEOF
20620
/* end confdefs.h. */
20621
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20622
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20623
#define $ac_func innocuous_$ac_func
20625
/* System header to define __stub macros and hopefully few prototypes,
20626
which can conflict with char $ac_func (); below.
20627
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20628
<limits.h> exists even on freestanding compilers. */
20631
# include <limits.h>
20633
# include <assert.h>
20638
/* Override any gcc2 internal prototype to avoid an error. */
20643
/* We use char because int might match the return type of a gcc2
20644
builtin and then its argument prototype would still apply. */
20646
/* The GNU C library defines this for functions which it implements
20647
to always fail with ENOSYS. Some functions are actually named
20648
something starting with __ and the normal name is an alias. */
20649
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20652
char (*f) () = $ac_func;
20661
return f != $ac_func;
20666
rm -f conftest.$ac_objext conftest$ac_exeext
20667
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20668
(eval $ac_link) 2>conftest.er1
20670
grep -v '^ *+' conftest.er1 >conftest.err
20672
cat conftest.err >&5
20673
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674
(exit $ac_status); } &&
20675
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20676
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20677
(eval $ac_try) 2>&5
20679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680
(exit $ac_status); }; } &&
20681
{ ac_try='test -s conftest$ac_exeext'
20682
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20683
(eval $ac_try) 2>&5
20685
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686
(exit $ac_status); }; }; then
20687
eval "$as_ac_var=yes"
20689
echo "$as_me: failed program was:" >&5
20690
sed 's/^/| /' conftest.$ac_ext >&5
20692
eval "$as_ac_var=no"
20694
rm -f conftest.err conftest.$ac_objext \
20695
conftest$ac_exeext conftest.$ac_ext
20697
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20698
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20699
if test `eval echo '${'$as_ac_var'}'` = yes; then
20700
cat >>confdefs.h <<_ACEOF
20701
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20707
# Extract the first word of "gmsgfmt", so it can be a program name with args.
20708
set dummy gmsgfmt; ac_word=$2
20709
echo "$as_me:$LINENO: checking for $ac_word" >&5
20710
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20711
if test "${ac_cv_path_GMSGFMT+set}" = set; then
20712
echo $ECHO_N "(cached) $ECHO_C" >&6
20716
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
20719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20720
for as_dir in $PATH
20723
test -z "$as_dir" && as_dir=.
20724
for ac_exec_ext in '' $ac_executable_extensions; do
20725
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20726
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20727
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20733
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20737
GMSGFMT=$ac_cv_path_GMSGFMT
20739
if test -n "$GMSGFMT"; then
20740
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
20741
echo "${ECHO_T}$GMSGFMT" >&6
20743
echo "$as_me:$LINENO: result: no" >&5
20744
echo "${ECHO_T}no" >&6
20747
# Extract the first word of "xgettext", so it can be a program name with args.
20748
set dummy xgettext; ac_word=$2
20749
echo "$as_me:$LINENO: checking for $ac_word" >&5
20750
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20751
if test "${ac_cv_path_XGETTEXT+set}" = set; then
20752
echo $ECHO_N "(cached) $ECHO_C" >&6
20754
case "$XGETTEXT" in
20756
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
20759
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20760
for ac_dir in $PATH; do
20761
test -z "$ac_dir" && ac_dir=.
20762
if test -f $ac_dir/$ac_word; then
20763
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
20764
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
20770
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
20774
XGETTEXT="$ac_cv_path_XGETTEXT"
20775
if test "$XGETTEXT" != ":"; then
20776
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
20777
echo "${ECHO_T}$XGETTEXT" >&6
20779
echo "$as_me:$LINENO: result: no" >&5
20780
echo "${ECHO_T}no" >&6
20783
cat >conftest.$ac_ext <<_ACEOF
20786
cat confdefs.h >>conftest.$ac_ext
20787
cat >>conftest.$ac_ext <<_ACEOF
20788
/* end confdefs.h. */
20793
extern int _nl_msg_cat_cntr;
20794
return _nl_msg_cat_cntr
20799
rm -f conftest.$ac_objext conftest$ac_exeext
20800
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20801
(eval $ac_link) 2>conftest.er1
20803
grep -v '^ *+' conftest.er1 >conftest.err
20805
cat conftest.err >&5
20806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807
(exit $ac_status); } &&
20808
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20809
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20810
(eval $ac_try) 2>&5
20812
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813
(exit $ac_status); }; } &&
20814
{ ac_try='test -s conftest$ac_exeext'
20815
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816
(eval $ac_try) 2>&5
20818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819
(exit $ac_status); }; }; then
20823
echo "$as_me: failed program was:" >&5
20824
sed 's/^/| /' conftest.$ac_ext >&5
20828
echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
20829
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
20830
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
20831
echo $ECHO_N "(cached) $ECHO_C" >&6
20833
cat >conftest.$ac_ext <<_ACEOF
20836
cat confdefs.h >>conftest.$ac_ext
20837
cat >>conftest.$ac_ext <<_ACEOF
20838
/* end confdefs.h. */
20839
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
20840
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20841
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
20843
/* System header to define __stub macros and hopefully few prototypes,
20844
which can conflict with char bind_textdomain_codeset (); below.
20845
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20846
<limits.h> exists even on freestanding compilers. */
20849
# include <limits.h>
20851
# include <assert.h>
20854
#undef bind_textdomain_codeset
20856
/* Override any gcc2 internal prototype to avoid an error. */
20861
/* We use char because int might match the return type of a gcc2
20862
builtin and then its argument prototype would still apply. */
20863
char bind_textdomain_codeset ();
20864
/* The GNU C library defines this for functions which it implements
20865
to always fail with ENOSYS. Some functions are actually named
20866
something starting with __ and the normal name is an alias. */
20867
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
20870
char (*f) () = bind_textdomain_codeset;
20879
return f != bind_textdomain_codeset;
20884
rm -f conftest.$ac_objext conftest$ac_exeext
20885
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20886
(eval $ac_link) 2>conftest.er1
20888
grep -v '^ *+' conftest.er1 >conftest.err
20890
cat conftest.err >&5
20891
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892
(exit $ac_status); } &&
20893
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20894
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895
(eval $ac_try) 2>&5
20897
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898
(exit $ac_status); }; } &&
20899
{ ac_try='test -s conftest$ac_exeext'
20900
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901
(eval $ac_try) 2>&5
20903
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904
(exit $ac_status); }; }; then
20905
ac_cv_func_bind_textdomain_codeset=yes
20907
echo "$as_me: failed program was:" >&5
20908
sed 's/^/| /' conftest.$ac_ext >&5
20910
ac_cv_func_bind_textdomain_codeset=no
20912
rm -f conftest.err conftest.$ac_objext \
20913
conftest$ac_exeext conftest.$ac_ext
20915
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
20916
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
20917
if test $ac_cv_func_bind_textdomain_codeset = yes; then
20932
rm -f conftest.err conftest.$ac_objext \
20933
conftest$ac_exeext conftest.$ac_ext
20934
LIBS="$glib_save_LIBS"
20937
gt_cv_have_gettext=no
20945
if test "$gt_cv_have_gettext" = "yes" ; then
20947
cat >>confdefs.h <<\_ACEOF
20948
#define ENABLE_NLS 1
20953
if test "$XGETTEXT" != ":"; then
20954
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
20957
echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
20958
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
20963
# We need to process the po/ directory.
20966
ac_config_commands="$ac_config_commands default-1"
20969
for lang in $ALL_LINGUAS; do
20970
GMOFILES="$GMOFILES $lang.gmo"
20971
POFILES="$POFILES $lang.po"
20986
if test "$gt_cv_have_gettext" = "yes"; then
20987
if test "x$ALL_LINGUAS" = "x"; then
20990
echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
20991
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
20993
for presentlang in $ALL_LINGUAS; do
20995
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
20996
desiredlanguages="$LINGUAS"
20998
desiredlanguages="$ALL_LINGUAS"
21000
for desiredlang in $desiredlanguages; do
21001
# Use the presentlang catalog if desiredlang is
21002
# a. equal to presentlang, or
21003
# b. a variant of presentlang (because in this case,
21004
# presentlang can be used as a fallback for messages
21005
# which are not translated in the desiredlang catalog).
21006
case "$desiredlang" in
21007
"$presentlang"*) useit=yes;;
21010
if test $useit = yes; then
21011
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
21014
LINGUAS=$NEW_LINGUAS
21015
echo "$as_me:$LINENO: result: $LINGUAS" >&5
21016
echo "${ECHO_T}$LINGUAS" >&6
21019
if test -n "$LINGUAS"; then
21020
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
21025
if test -n "$ac_aux_dir"; then
21026
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
21028
if test -z "$MKINSTALLDIRS"; then
21029
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
21033
test -d po || mkdir po
21034
if test "x$srcdir" != "x."; then
21035
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
21036
posrcprefix="$srcdir/"
21038
posrcprefix="../$srcdir/"
21044
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
21045
< $srcdir/po/POTFILES.in > po/POTFILES
21048
ac_config_files="$ac_config_files Makefile po/Makefile.in"
19689
21049
cat >confcache <<\_ACEOF
19690
21050
# This file is a shell script that caches the results of configure
19691
21051
# tests run on this system so they can be shared between configure
20294
21638
# Have a temporary directory for convenience. Make it in the build tree
20295
# simply because there is no reason against having it here, and in addition,
21639
# simply because there is no reason to put it here, and in addition,
20296
21640
# creating and moving files from /tmp can sometimes cause problems.
20297
# Hook for its removal unless debugging.
20298
# Note that there is a small window in which the directory will not be cleaned:
20299
# after its creation but before its name has been assigned to `$tmp'.
21641
# Create a temporary directory, and hook for its removal unless debugging.
20303
trap 'exit_status=$?
20304
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21644
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20306
21645
trap '{ (exit 1); exit 1; }' 1 2 13 15
20308
21648
# Create a (secure) tmp directory for tmp files.
20311
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21651
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20312
21652
test -n "$tmp" && test -d "$tmp"
20315
tmp=./conf$$-$RANDOM
20316
(umask 077 && mkdir "$tmp")
21655
tmp=./confstat$$-$RANDOM
21656
(umask 077 && mkdir $tmp)
20319
21659
echo "$me: cannot create a temporary directory in ." >&2
20320
21660
{ (exit 1); exit 1; }
21665
cat >>$CONFIG_STATUS <<_ACEOF
20324
# Set up the sed scripts for CONFIG_FILES section.
21668
# CONFIG_FILES section.
20327
21671
# No need to generate the scripts if there are no CONFIG_FILES.
20328
21672
# This happens for instance when ./config.status config.h
20329
if test -n "$CONFIG_FILES"; then
20336
for ac_last_try in false false false false false :; do
20337
cat >conf$$subs.sed <<_ACEOF
20338
SHELL!$SHELL$ac_delim
20339
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20340
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20341
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20342
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20343
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20344
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20345
exec_prefix!$exec_prefix$ac_delim
20346
prefix!$prefix$ac_delim
20347
program_transform_name!$program_transform_name$ac_delim
20348
bindir!$bindir$ac_delim
20349
sbindir!$sbindir$ac_delim
20350
libexecdir!$libexecdir$ac_delim
20351
datarootdir!$datarootdir$ac_delim
20352
datadir!$datadir$ac_delim
20353
sysconfdir!$sysconfdir$ac_delim
20354
sharedstatedir!$sharedstatedir$ac_delim
20355
localstatedir!$localstatedir$ac_delim
20356
includedir!$includedir$ac_delim
20357
oldincludedir!$oldincludedir$ac_delim
20358
docdir!$docdir$ac_delim
20359
infodir!$infodir$ac_delim
20360
htmldir!$htmldir$ac_delim
20361
dvidir!$dvidir$ac_delim
20362
pdfdir!$pdfdir$ac_delim
20363
psdir!$psdir$ac_delim
20364
libdir!$libdir$ac_delim
20365
localedir!$localedir$ac_delim
20366
mandir!$mandir$ac_delim
20367
DEFS!$DEFS$ac_delim
20368
ECHO_C!$ECHO_C$ac_delim
20369
ECHO_N!$ECHO_N$ac_delim
20370
ECHO_T!$ECHO_T$ac_delim
20371
LIBS!$LIBS$ac_delim
20372
build_alias!$build_alias$ac_delim
20373
host_alias!$host_alias$ac_delim
20374
target_alias!$target_alias$ac_delim
20375
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20376
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20377
INSTALL_DATA!$INSTALL_DATA$ac_delim
20378
am__isrc!$am__isrc$ac_delim
20379
CYGPATH_W!$CYGPATH_W$ac_delim
20380
PACKAGE!$PACKAGE$ac_delim
20381
VERSION!$VERSION$ac_delim
20382
ACLOCAL!$ACLOCAL$ac_delim
20383
AUTOCONF!$AUTOCONF$ac_delim
20384
AUTOMAKE!$AUTOMAKE$ac_delim
20385
AUTOHEADER!$AUTOHEADER$ac_delim
20386
MAKEINFO!$MAKEINFO$ac_delim
20387
install_sh!$install_sh$ac_delim
20388
STRIP!$STRIP$ac_delim
20389
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20390
mkdir_p!$mkdir_p$ac_delim
20392
SET_MAKE!$SET_MAKE$ac_delim
20393
am__leading_dot!$am__leading_dot$ac_delim
20394
AMTAR!$AMTAR$ac_delim
20395
am__tar!$am__tar$ac_delim
20396
am__untar!$am__untar$ac_delim
20398
CFLAGS!$CFLAGS$ac_delim
20399
LDFLAGS!$LDFLAGS$ac_delim
20400
CPPFLAGS!$CPPFLAGS$ac_delim
20401
ac_ct_CC!$ac_ct_CC$ac_delim
20402
EXEEXT!$EXEEXT$ac_delim
20403
OBJEXT!$OBJEXT$ac_delim
20404
DEPDIR!$DEPDIR$ac_delim
20405
am__include!$am__include$ac_delim
20406
am__quote!$am__quote$ac_delim
20407
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20408
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20409
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20410
CCDEPMODE!$CCDEPMODE$ac_delim
20411
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20412
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20413
build!$build$ac_delim
20414
build_cpu!$build_cpu$ac_delim
20415
build_vendor!$build_vendor$ac_delim
20416
build_os!$build_os$ac_delim
20417
host!$host$ac_delim
20418
host_cpu!$host_cpu$ac_delim
20419
host_vendor!$host_vendor$ac_delim
20420
host_os!$host_os$ac_delim
20421
GREP!$GREP$ac_delim
20422
EGREP!$EGREP$ac_delim
20423
LN_S!$LN_S$ac_delim
20424
ECHO!$ECHO$ac_delim
20426
RANLIB!$RANLIB$ac_delim
20429
CXXFLAGS!$CXXFLAGS$ac_delim
20430
ac_ct_CXX!$ac_ct_CXX$ac_delim
20431
CXXDEPMODE!$CXXDEPMODE$ac_delim
20432
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20433
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20434
CXXCPP!$CXXCPP$ac_delim
20437
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20439
elif $ac_last_try; then
20440
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20441
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20442
{ (exit 1); exit 1; }; }
20444
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20448
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20449
if test -n "$ac_eof"; then
20450
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20451
ac_eof=`expr $ac_eof + 1`
20454
cat >>$CONFIG_STATUS <<_ACEOF
20455
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20456
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20459
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20460
s/^/s,@/; s/!/@,|#_!!_#|/
20463
s/'"$ac_delim"'$/,g/; t
20465
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20466
' >>$CONFIG_STATUS <conf$$subs.sed
20467
rm -f conf$$subs.sed
20468
cat >>$CONFIG_STATUS <<_ACEOF
20474
for ac_last_try in false false false false false :; do
20475
cat >conf$$subs.sed <<_ACEOF
20477
FFLAGS!$FFLAGS$ac_delim
20478
ac_ct_F77!$ac_ct_F77$ac_delim
20479
LIBTOOL!$LIBTOOL$ac_delim
20480
LIBGCRYPT_CONFIG!$LIBGCRYPT_CONFIG$ac_delim
20481
LIBGCRYPT_CFLAGS!$LIBGCRYPT_CFLAGS$ac_delim
20482
LIBGCRYPT_LIBS!$LIBGCRYPT_LIBS$ac_delim
20483
LIBOTR_CFLAGS!$LIBOTR_CFLAGS$ac_delim
20484
LIBOTR_LIBS!$LIBOTR_LIBS$ac_delim
20485
PKG_CONFIG!$PKG_CONFIG$ac_delim
20486
EXTRA_CFLAGS!$EXTRA_CFLAGS$ac_delim
20487
EXTRA_LIBS!$EXTRA_LIBS$ac_delim
20488
LIBOBJS!$LIBOBJS$ac_delim
20489
LTLIBOBJS!$LTLIBOBJS$ac_delim
20492
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
20494
elif $ac_last_try; then
20495
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20496
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20497
{ (exit 1); exit 1; }; }
20499
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20503
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20504
if test -n "$ac_eof"; then
20505
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20506
ac_eof=`expr $ac_eof + 1`
20509
cat >>$CONFIG_STATUS <<_ACEOF
20510
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20511
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20514
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20515
s/^/s,@/; s/!/@,|#_!!_#|/
20518
s/'"$ac_delim"'$/,g/; t
20520
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20521
' >>$CONFIG_STATUS <conf$$subs.sed
20522
rm -f conf$$subs.sed
20523
cat >>$CONFIG_STATUS <<_ACEOF
20530
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20531
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20532
# trailing colons and then remove the whole line if VPATH becomes empty
20533
# (actually we leave an empty line to preserve line numbers).
20534
if test "x$srcdir" = x.; then
20535
ac_vpsub='/^[ ]*VPATH[ ]*=/{
20536
s/:*\$(srcdir):*/:/
20537
s/:*\${srcdir}:*/:/
20539
s/^\([^=]*=[ ]*\):*/\1/
20545
cat >>$CONFIG_STATUS <<\_ACEOF
21673
if test -n "\$CONFIG_FILES"; then
21674
# Protect against being on the right side of a sed subst in config.status.
21675
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21676
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21677
s,@SHELL@,$SHELL,;t t
21678
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21679
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21680
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21681
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21682
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21683
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21684
s,@exec_prefix@,$exec_prefix,;t t
21685
s,@prefix@,$prefix,;t t
21686
s,@program_transform_name@,$program_transform_name,;t t
21687
s,@bindir@,$bindir,;t t
21688
s,@sbindir@,$sbindir,;t t
21689
s,@libexecdir@,$libexecdir,;t t
21690
s,@datadir@,$datadir,;t t
21691
s,@sysconfdir@,$sysconfdir,;t t
21692
s,@sharedstatedir@,$sharedstatedir,;t t
21693
s,@localstatedir@,$localstatedir,;t t
21694
s,@libdir@,$libdir,;t t
21695
s,@includedir@,$includedir,;t t
21696
s,@oldincludedir@,$oldincludedir,;t t
21697
s,@infodir@,$infodir,;t t
21698
s,@mandir@,$mandir,;t t
21699
s,@build_alias@,$build_alias,;t t
21700
s,@host_alias@,$host_alias,;t t
21701
s,@target_alias@,$target_alias,;t t
21702
s,@DEFS@,$DEFS,;t t
21703
s,@ECHO_C@,$ECHO_C,;t t
21704
s,@ECHO_N@,$ECHO_N,;t t
21705
s,@ECHO_T@,$ECHO_T,;t t
21706
s,@LIBS@,$LIBS,;t t
21707
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21708
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21709
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21710
s,@CYGPATH_W@,$CYGPATH_W,;t t
21711
s,@PACKAGE@,$PACKAGE,;t t
21712
s,@VERSION@,$VERSION,;t t
21713
s,@ACLOCAL@,$ACLOCAL,;t t
21714
s,@AUTOCONF@,$AUTOCONF,;t t
21715
s,@AUTOMAKE@,$AUTOMAKE,;t t
21716
s,@AUTOHEADER@,$AUTOHEADER,;t t
21717
s,@MAKEINFO@,$MAKEINFO,;t t
21718
s,@install_sh@,$install_sh,;t t
21719
s,@STRIP@,$STRIP,;t t
21720
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21721
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21722
s,@mkdir_p@,$mkdir_p,;t t
21724
s,@SET_MAKE@,$SET_MAKE,;t t
21725
s,@am__leading_dot@,$am__leading_dot,;t t
21726
s,@AMTAR@,$AMTAR,;t t
21727
s,@am__tar@,$am__tar,;t t
21728
s,@am__untar@,$am__untar,;t t
21730
s,@CFLAGS@,$CFLAGS,;t t
21731
s,@LDFLAGS@,$LDFLAGS,;t t
21732
s,@CPPFLAGS@,$CPPFLAGS,;t t
21733
s,@ac_ct_CC@,$ac_ct_CC,;t t
21734
s,@EXEEXT@,$EXEEXT,;t t
21735
s,@OBJEXT@,$OBJEXT,;t t
21736
s,@DEPDIR@,$DEPDIR,;t t
21737
s,@am__include@,$am__include,;t t
21738
s,@am__quote@,$am__quote,;t t
21739
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21740
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21741
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21742
s,@CCDEPMODE@,$CCDEPMODE,;t t
21743
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21744
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21745
s,@build@,$build,;t t
21746
s,@build_cpu@,$build_cpu,;t t
21747
s,@build_vendor@,$build_vendor,;t t
21748
s,@build_os@,$build_os,;t t
21749
s,@host@,$host,;t t
21750
s,@host_cpu@,$host_cpu,;t t
21751
s,@host_vendor@,$host_vendor,;t t
21752
s,@host_os@,$host_os,;t t
21753
s,@EGREP@,$EGREP,;t t
21754
s,@LN_S@,$LN_S,;t t
21755
s,@ECHO@,$ECHO,;t t
21757
s,@ac_ct_AR@,$ac_ct_AR,;t t
21758
s,@RANLIB@,$RANLIB,;t t
21759
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21762
s,@CXXFLAGS@,$CXXFLAGS,;t t
21763
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21764
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21765
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21766
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21767
s,@CXXCPP@,$CXXCPP,;t t
21769
s,@FFLAGS@,$FFLAGS,;t t
21770
s,@ac_ct_F77@,$ac_ct_F77,;t t
21771
s,@LIBTOOL@,$LIBTOOL,;t t
21772
s,@LIBGCRYPT_CONFIG@,$LIBGCRYPT_CONFIG,;t t
21773
s,@LIBGCRYPT_CFLAGS@,$LIBGCRYPT_CFLAGS,;t t
21774
s,@LIBGCRYPT_LIBS@,$LIBGCRYPT_LIBS,;t t
21775
s,@LIBOTR_CFLAGS@,$LIBOTR_CFLAGS,;t t
21776
s,@LIBOTR_LIBS@,$LIBOTR_LIBS,;t t
21777
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21778
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
21779
s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
21780
s,@EXTRA_LIBS@,$EXTRA_LIBS,;t t
21781
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
21782
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
21783
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
21784
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
21785
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
21786
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
21787
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
21788
s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
21789
s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
21790
s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
21791
s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
21792
s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
21793
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
21794
s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
21795
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
21796
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
21797
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
21798
s,@INTLTOOL_SERVICE_RULE@,$INTLTOOL_SERVICE_RULE,;t t
21799
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
21800
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
21801
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
21802
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
21803
s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
21804
s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
21805
s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
21806
s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
21807
s,@ALL_LINGUAS@,$ALL_LINGUAS,;t t
21808
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
21809
s,@USE_NLS@,$USE_NLS,;t t
21810
s,@MSGFMT@,$MSGFMT,;t t
21811
s,@GMSGFMT@,$GMSGFMT,;t t
21812
s,@XGETTEXT@,$XGETTEXT,;t t
21813
s,@CATALOGS@,$CATALOGS,;t t
21814
s,@CATOBJEXT@,$CATOBJEXT,;t t
21815
s,@DATADIRNAME@,$DATADIRNAME,;t t
21816
s,@GMOFILES@,$GMOFILES,;t t
21817
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
21818
s,@INTLLIBS@,$INTLLIBS,;t t
21819
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
21820
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
21821
s,@POFILES@,$POFILES,;t t
21822
s,@POSUB@,$POSUB,;t t
21823
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
21824
s,@LIBOBJS@,$LIBOBJS,;t t
21825
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21830
cat >>$CONFIG_STATUS <<\_ACEOF
21831
# Split the substitutions into bite-sized pieces for seds with
21832
# small command number limits, like on Digital OSF/1 and HP-UX.
21833
ac_max_sed_lines=48
21834
ac_sed_frag=1 # Number of current file.
21835
ac_beg=1 # First line for current file.
21836
ac_end=$ac_max_sed_lines # Line after last line for current file.
21839
while $ac_more_lines; do
21840
if test $ac_beg -gt 1; then
21841
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21843
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21845
if test ! -s $tmp/subs.frag; then
21846
ac_more_lines=false
21848
# The purpose of the label and of the branching condition is to
21849
# speed up the sed processing (if there are no `@' at all, there
21850
# is no need to browse any of the substitutions).
21851
# These are the two extra sed commands mentioned above.
21853
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21854
if test -z "$ac_sed_cmds"; then
21855
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21857
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21859
ac_sed_frag=`expr $ac_sed_frag + 1`
21861
ac_end=`expr $ac_end + $ac_max_sed_lines`
21864
if test -z "$ac_sed_cmds"; then
20546
21867
fi # test -n "$CONFIG_FILES"
20549
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
20552
:[FHLC]) ac_mode=$ac_tag; continue;;
20554
case $ac_mode$ac_tag in
20556
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20557
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20558
{ (exit 1); exit 1; }; };;
20559
:[FH]-) ac_tag=-:-;;
20560
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20577
-) ac_f="$tmp/stdin";;
20578
*) # Look for the file first in the build tree, then in the source tree
20579
# (if the path is not absolute). The absolute path cannot be DOS-style,
20580
# because $ac_f cannot contain `:'.
20584
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20586
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20587
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20588
{ (exit 1); exit 1; }; };;
20590
ac_file_inputs="$ac_file_inputs $ac_f"
20593
# Let's still pretend it is `configure' which instantiates (i.e., don't
20594
# use $as_me), people would be surprised to read:
20595
# /* config.h. Generated by config.status. */
20596
configure_input="Generated from "`IFS=:
20597
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20598
if test x"$ac_file" != x-; then
20599
configure_input="$ac_file. $configure_input"
20600
{ echo "$as_me:$LINENO: creating $ac_file" >&5
20601
echo "$as_me: creating $ac_file" >&6;}
20605
*:-:* | *:-) cat >"$tmp/stdin";;
20610
ac_dir=`$as_dirname -- "$ac_file" ||
21870
cat >>$CONFIG_STATUS <<\_ACEOF
21871
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21872
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21874
- | *:- | *:-:* ) # input from stdin
21876
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21877
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21878
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21879
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21880
* ) ac_file_in=$ac_file.in ;;
21883
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21884
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20611
21885
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20612
21886
X"$ac_file" : 'X\(//\)[^/]' \| \
20613
21887
X"$ac_file" : 'X\(//\)$' \| \
20614
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21888
X"$ac_file" : 'X\(/\)' \| \
21889
. : '\(.\)' 2>/dev/null ||
20615
21890
echo X"$ac_file" |
20616
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20620
/^X\(\/\/\)[^/].*/{
20635
-*) as_dir=./$as_dir;;
20637
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21891
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21892
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21893
/^X\(\/\/\)$/{ s//\1/; q; }
21894
/^X\(\/\).*/{ s//\1/; q; }
21896
{ if $as_mkdir_p; then
20641
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20642
*) as_qdir=$as_dir;;
20644
as_dirs="'$as_qdir' $as_dirs"
20645
as_dir=`$as_dirname -- "$as_dir" ||
21901
while test ! -d "$as_dir"; do
21902
as_dirs="$as_dir $as_dirs"
21903
as_dir=`(dirname "$as_dir") 2>/dev/null ||
20646
21904
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20647
21905
X"$as_dir" : 'X\(//\)[^/]' \| \
20648
21906
X"$as_dir" : 'X\(//\)$' \| \
20649
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21907
X"$as_dir" : 'X\(/\)' \| \
21908
. : '\(.\)' 2>/dev/null ||
20650
21909
echo X"$as_dir" |
20651
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20655
/^X\(\/\/\)[^/].*/{
20668
test -d "$as_dir" && break
21910
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21911
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21912
/^X\(\/\/\)$/{ s//\1/; q; }
21913
/^X\(\/\).*/{ s//\1/; q; }
20670
test -z "$as_dirs" || eval "mkdir $as_dirs"
20671
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20672
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21916
test ! -n "$as_dirs" || mkdir $as_dirs
21917
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21918
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20673
21919
{ (exit 1); exit 1; }; }; }
20674
21921
ac_builddir=.
20677
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21923
if test "$ac_dir" != .; then
20679
21924
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20680
# A ".." for each directory in $ac_dir_suffix.
20681
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20682
case $ac_top_builddir_sub in
20683
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20684
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20687
ac_abs_top_builddir=$ac_pwd
20688
ac_abs_builddir=$ac_pwd$ac_dir_suffix
20689
# for backward compatibility:
20690
ac_top_builddir=$ac_top_build_prefix
21925
# A "../" for each directory in $ac_dir_suffix.
21926
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21928
ac_dir_suffix= ac_top_builddir=
20692
21931
case $srcdir in
20693
.) # We are building in place.
21932
.) # No --srcdir option. We are building in place.
20695
ac_top_srcdir=$ac_top_builddir_sub
20696
ac_abs_top_srcdir=$ac_pwd ;;
20697
[\\/]* | ?:[\\/]* ) # Absolute name.
21934
if test -z "$ac_top_builddir"; then
21937
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21939
[\\/]* | ?:[\\/]* ) # Absolute path.
20698
21940
ac_srcdir=$srcdir$ac_dir_suffix;
20699
ac_top_srcdir=$srcdir
20700
ac_abs_top_srcdir=$srcdir ;;
20701
*) # Relative name.
20702
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20703
ac_top_srcdir=$ac_top_build_prefix$srcdir
20704
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20706
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21941
ac_top_srcdir=$srcdir ;;
21942
*) # Relative path.
21943
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21944
ac_top_srcdir=$ac_top_builddir$srcdir ;;
21947
# Do not use `cd foo && pwd` to compute absolute paths, because
21948
# the directories may not exist.
21950
.) ac_abs_builddir="$ac_dir";;
21953
.) ac_abs_builddir=`pwd`;;
21954
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21955
*) ac_abs_builddir=`pwd`/"$ac_dir";;
21958
case $ac_abs_builddir in
21959
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21961
case ${ac_top_builddir}. in
21962
.) ac_abs_top_builddir=$ac_abs_builddir;;
21963
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21964
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21967
case $ac_abs_builddir in
21968
.) ac_abs_srcdir=$ac_srcdir;;
21971
.) ac_abs_srcdir=$ac_abs_builddir;;
21972
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21973
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21976
case $ac_abs_builddir in
21977
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21979
case $ac_top_srcdir in
21980
.) ac_abs_top_srcdir=$ac_abs_builddir;;
21981
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21982
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20715
21987
case $INSTALL in
20716
21988
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20717
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20719
ac_MKDIR_P=$MKDIR_P
20721
[\\/$]* | ?:[\\/]* ) ;;
20722
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20726
cat >>$CONFIG_STATUS <<\_ACEOF
20727
# If the template does not know about datarootdir, expand it.
20728
# FIXME: This hack should be removed a few years after 2.60.
20729
ac_datarootdir_hack=; ac_datarootdir_seen=
20731
case `sed -n '/datarootdir/ {
20740
' $ac_file_inputs` in
20741
*datarootdir*) ac_datarootdir_seen=yes;;
20742
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20743
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20744
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20746
cat >>$CONFIG_STATUS <<_ACEOF
20747
ac_datarootdir_hack='
20748
s&@datadir@&$datadir&g
20749
s&@docdir@&$docdir&g
20750
s&@infodir@&$infodir&g
20751
s&@localedir@&$localedir&g
20752
s&@mandir@&$mandir&g
20753
s&\\\${datarootdir}&$datarootdir&g' ;;
20757
# Neutralize VPATH when `$srcdir' = `.'.
20758
# Shell code in configure.ac might set extrasub.
20759
# FIXME: do we really want to maintain this feature?
21989
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21992
# Let's still pretend it is `configure' which instantiates (i.e., don't
21993
# use $as_me), people would be surprised to read:
21994
# /* config.h. Generated by config.status. */
21995
if test x"$ac_file" = x-; then
21998
configure_input="$ac_file. "
22000
configure_input=$configure_input"Generated from `echo $ac_file_in |
22001
sed 's,.*/,,'` by configure."
22003
# First look for the input files in the build tree, otherwise in the
22005
ac_file_inputs=`IFS=:
22006
for f in $ac_file_in; do
22008
-) echo $tmp/stdin ;;
22010
# Absolute (can't be DOS-style, as IFS=:)
22011
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22012
echo "$as_me: error: cannot find input file: $f" >&2;}
22013
{ (exit 1); exit 1; }; }
22016
if test -f "$f"; then
22019
elif test -f "$srcdir/$f"; then
22024
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22025
echo "$as_me: error: cannot find input file: $f" >&2;}
22026
{ (exit 1); exit 1; }; }
22029
done` || { (exit 1); exit 1; }
22031
if test x"$ac_file" != x-; then
22032
{ echo "$as_me:$LINENO: creating $ac_file" >&5
22033
echo "$as_me: creating $ac_file" >&6;}
20760
22037
cat >>$CONFIG_STATUS <<_ACEOF
20761
22038
sed "$ac_vpsub
20764
22041
cat >>$CONFIG_STATUS <<\_ACEOF
20766
22043
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20767
s&@configure_input@&$configure_input&;t t
20768
s&@top_builddir@&$ac_top_builddir_sub&;t t
20769
s&@srcdir@&$ac_srcdir&;t t
20770
s&@abs_srcdir@&$ac_abs_srcdir&;t t
20771
s&@top_srcdir@&$ac_top_srcdir&;t t
20772
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20773
s&@builddir@&$ac_builddir&;t t
20774
s&@abs_builddir@&$ac_abs_builddir&;t t
20775
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20776
s&@INSTALL@&$ac_INSTALL&;t t
20777
s&@MKDIR_P@&$ac_MKDIR_P&;t t
20778
$ac_datarootdir_hack
20779
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
20781
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20782
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20783
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20784
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20785
which seems to be undefined. Please make sure it is defined." >&5
20786
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20787
which seems to be undefined. Please make sure it is defined." >&2;}
20791
-) cat "$tmp/out"; rm -f "$tmp/out";;
20792
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22044
s,@configure_input@,$configure_input,;t t
22045
s,@srcdir@,$ac_srcdir,;t t
22046
s,@abs_srcdir@,$ac_abs_srcdir,;t t
22047
s,@top_srcdir@,$ac_top_srcdir,;t t
22048
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22049
s,@builddir@,$ac_builddir,;t t
22050
s,@abs_builddir@,$ac_abs_builddir,;t t
22051
s,@top_builddir@,$ac_top_builddir,;t t
22052
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22053
s,@INSTALL@,$ac_INSTALL,;t t
22054
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22056
if test x"$ac_file" != x-; then
22057
mv $tmp/out $ac_file
20801
# Transform confdefs.h into a sed script `conftest.defines', that
20802
# substitutes the proper values into config.h.in to produce config.h.
20803
rm -f conftest.defines conftest.tail
20804
# First, append a space to every undef/define line, to ease matching.
20805
echo 's/$/ /' >conftest.defines
20806
# Then, protect against being on the right side of a sed subst, or in
20807
# an unquoted here document, in config.status. If some macros were
20808
# called several times there might be several #defines for the same
20809
# symbol, which is useless. But do not sort them, since the last
20810
# AC_DEFINE must be honored.
20811
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20812
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20813
# NAME is the cpp macro being defined, VALUE is the value it is being given.
20814
# PARAMS is the parameter list in the macro definition--in most cases, it's
20815
# just an empty string.
20816
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
20817
ac_dB='\\)[ (].*,\\1define\\2'
22065
cat >>$CONFIG_STATUS <<\_ACEOF
22068
# CONFIG_HEADER section.
22071
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22072
# NAME is the cpp macro being defined and VALUE is the value it is being given.
22074
# ac_d sets the value in "#define NAME VALUE" lines.
22075
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22076
ac_dB='[ ].*$,\1#\2'
20825
s/^[ ]*#[ ]*define[ ][ ]*//
20830
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
20831
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
20832
' >>conftest.defines
20834
# Remove the space that was appended to ease matching.
20835
# Then replace #undef with comments. This is necessary, for
22079
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22080
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22081
ac_uB='$,\1#\2define\3'
22085
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
22086
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22088
- | *:- | *:-:* ) # input from stdin
22090
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22091
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22092
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22093
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22094
* ) ac_file_in=$ac_file.in ;;
22097
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
22098
echo "$as_me: creating $ac_file" >&6;}
22100
# First look for the input files in the build tree, otherwise in the
22102
ac_file_inputs=`IFS=:
22103
for f in $ac_file_in; do
22105
-) echo $tmp/stdin ;;
22107
# Absolute (can't be DOS-style, as IFS=:)
22108
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22109
echo "$as_me: error: cannot find input file: $f" >&2;}
22110
{ (exit 1); exit 1; }; }
22111
# Do quote $f, to prevent DOS paths from being IFS'd.
22114
if test -f "$f"; then
22117
elif test -f "$srcdir/$f"; then
22122
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22123
echo "$as_me: error: cannot find input file: $f" >&2;}
22124
{ (exit 1); exit 1; }; }
22127
done` || { (exit 1); exit 1; }
22128
# Remove the trailing spaces.
22129
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22133
# Transform confdefs.h into two sed scripts, `conftest.defines' and
22134
# `conftest.undefs', that substitutes the proper values into
22135
# config.h.in to produce config.h. The first handles `#define'
22136
# templates, and the second `#undef' templates.
22137
# And first: Protect against being on the right side of a sed subst in
22138
# config.status. Protect against being in an unquoted here document
22139
# in config.status.
22140
rm -f conftest.defines conftest.undefs
22141
# Using a here document instead of a string reduces the quoting nightmare.
22142
# Putting comments in sed scripts is not portable.
22144
# `end' is used to avoid that the second main sed command (meant for
22145
# 0-ary CPP macros) applies to n-ary macro definitions.
22146
# See the Autoconf documentation for `clear'.
22147
cat >confdef2sed.sed <<\_ACEOF
22152
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22154
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22157
# If some macros were called several times there might be several times
22158
# the same #defines, which is useless. Nevertheless, we may not want to
22159
# sort them, since we want the *last* AC-DEFINE to be honored.
22160
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22161
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22162
rm -f confdef2sed.sed
22164
# This sed command replaces #undef with comments. This is necessary, for
20836
22165
# example, in the case of _POSIX_SOURCE, which is predefined and required
20837
22166
# on some systems where configure will not decide to define it.
20838
# (The regexp can be short, since the line contains either #define or #undef.)
20840
s,^[ #]*u.*,/* & */,' >>conftest.defines
20842
# Break up conftest.defines:
20843
ac_max_sed_lines=50
20845
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
20846
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
20847
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
20849
ac_in='$ac_file_inputs'
20850
ac_out='"$tmp/out1"'
20851
ac_nxt='"$tmp/out2"'
22167
cat >>conftest.undefs <<\_ACEOF
22168
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22171
# Break up conftest.defines because some shells have a limit on the size
22172
# of here documents, and old seds have small limits too (100 cmds).
22173
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22174
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22175
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22176
echo ' :' >>$CONFIG_STATUS
22177
rm -f conftest.tail
22178
while grep . conftest.defines >/dev/null
20855
# Write a here document:
20856
cat >>$CONFIG_STATUS <<_ACEOF
20857
# First, check the format of the line:
20858
cat >"\$tmp/defines.sed" <<\\CEOF
20859
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
20860
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
20864
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22180
# Write a limited-size here document to $tmp/defines.sed.
22181
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22182
# Speed up: don't consider the non `#define' lines.
22183
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22184
# Work around the forget-to-reset-the-flag bug.
22185
echo 't clr' >>$CONFIG_STATUS
22186
echo ': clr' >>$CONFIG_STATUS
22187
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
20866
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
20867
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
20868
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
20869
grep . conftest.tail >/dev/null || break
22189
sed -f $tmp/defines.sed $tmp/in >$tmp/out
22191
mv $tmp/out $tmp/in
22193
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
20870
22194
rm -f conftest.defines
20871
22195
mv conftest.tail conftest.defines
20873
rm -f conftest.defines conftest.tail
20875
echo "ac_result=$ac_in" >>$CONFIG_STATUS
22197
rm -f conftest.defines
22198
echo ' fi # grep' >>$CONFIG_STATUS
22199
echo >>$CONFIG_STATUS
22201
# Break up conftest.undefs because some shells have a limit on the size
22202
# of here documents, and old seds have small limits too (100 cmds).
22203
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22204
rm -f conftest.tail
22205
while grep . conftest.undefs >/dev/null
22207
# Write a limited-size here document to $tmp/undefs.sed.
22208
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22209
# Speed up: don't consider the non `#undef'
22210
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22211
# Work around the forget-to-reset-the-flag bug.
22212
echo 't clr' >>$CONFIG_STATUS
22213
echo ': clr' >>$CONFIG_STATUS
22214
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22216
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22218
mv $tmp/out $tmp/in
22220
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22221
rm -f conftest.undefs
22222
mv conftest.tail conftest.undefs
22224
rm -f conftest.undefs
20876
22226
cat >>$CONFIG_STATUS <<\_ACEOF
22227
# Let's still pretend it is `configure' which instantiates (i.e., don't
22228
# use $as_me), people would be surprised to read:
22229
# /* config.h. Generated by config.status. */
22230
if test x"$ac_file" = x-; then
22231
echo "/* Generated by configure. */" >$tmp/config.h
22233
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22235
cat $tmp/in >>$tmp/config.h
20877
22237
if test x"$ac_file" != x-; then
20878
echo "/* $configure_input */" >"$tmp/config.h"
20879
cat "$ac_result" >>"$tmp/config.h"
20880
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22238
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
20881
22239
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20882
22240
echo "$as_me: $ac_file is unchanged" >&6;}
22242
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22243
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22244
X"$ac_file" : 'X\(//\)[^/]' \| \
22245
X"$ac_file" : 'X\(//\)$' \| \
22246
X"$ac_file" : 'X\(/\)' \| \
22247
. : '\(.\)' 2>/dev/null ||
22249
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22250
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22251
/^X\(\/\/\)$/{ s//\1/; q; }
22252
/^X\(\/\).*/{ s//\1/; q; }
22254
{ if $as_mkdir_p; then
22259
while test ! -d "$as_dir"; do
22260
as_dirs="$as_dir $as_dirs"
22261
as_dir=`(dirname "$as_dir") 2>/dev/null ||
22262
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22263
X"$as_dir" : 'X\(//\)[^/]' \| \
22264
X"$as_dir" : 'X\(//\)$' \| \
22265
X"$as_dir" : 'X\(/\)' \| \
22266
. : '\(.\)' 2>/dev/null ||
22268
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22269
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22270
/^X\(\/\/\)$/{ s//\1/; q; }
22271
/^X\(\/\).*/{ s//\1/; q; }
22274
test ! -n "$as_dirs" || mkdir $as_dirs
22275
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22276
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22277
{ (exit 1); exit 1; }; }; }
20884
22279
rm -f $ac_file
20885
mv "$tmp/config.h" $ac_file
22280
mv $tmp/config.h $ac_file
20888
echo "/* $configure_input */"
22284
rm -f $tmp/config.h
20892
22286
# Compute $ac_file's index in $config_headers.
20893
22287
_am_stamp_count=1
20894
22288
for _am_header in $config_headers :; do