"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
xfe-1.43.1.tar.gz and xfe-1.43.2.tar.gz

About: Xfe (X File Explorer) is a file manager and browser (using the FOX toolkit).

configure  (xfe-1.43.1):configure  (xfe-1.43.2)
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for xfe 1.43.1. # Generated by GNU Autoconf 2.69 for xfe 1.43.2.
# #
# #
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# #
# #
# This configure script is free software; the Free Software Foundation # This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it. # gives unlimited permission to copy, distribute and modify it.
## -------------------- ## ## -------------------- ##
## M4sh Initialization. ## ## M4sh Initialization. ##
## -------------------- ## ## -------------------- ##
skipping to change at line 573 skipping to change at line 573
ac_config_libobj_dir=. ac_config_libobj_dir=.
LIBOBJS= LIBOBJS=
cross_compiling=no cross_compiling=no
subdirs= subdirs=
MFLAGS= MFLAGS=
MAKEFLAGS= MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='xfe' PACKAGE_NAME='xfe'
PACKAGE_TARNAME='xfe' PACKAGE_TARNAME='xfe'
PACKAGE_VERSION='1.43.1' PACKAGE_VERSION='1.43.2'
PACKAGE_STRING='xfe 1.43.1' PACKAGE_STRING='xfe 1.43.2'
PACKAGE_BUGREPORT='' PACKAGE_BUGREPORT=''
PACKAGE_URL='' PACKAGE_URL=''
ac_unique_file="src/XFileExplorer.cpp" ac_unique_file="src/XFileExplorer.cpp"
# Factoring default headers for most tests. # Factoring default headers for most tests.
ac_includes_default="\ ac_includes_default="\
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_SYS_TYPES_H #ifdef HAVE_SYS_TYPES_H
# include <sys/types.h> # include <sys/types.h>
#endif #endif
skipping to change at line 617 skipping to change at line 617
#endif #endif
#ifdef HAVE_STDINT_H #ifdef HAVE_STDINT_H
# include <stdint.h> # include <stdint.h>
#endif #endif
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif" #endif"
gt_needs= gt_needs=
ac_header_list= ac_header_list=
gl_use_threads_default=
ac_func_list= ac_func_list=
ac_subst_vars='am__EXEEXT_FALSE ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE am__EXEEXT_TRUE
LTLIBOBJS LTLIBOBJS
STARTUPNOTIFY_FALSE STARTUPNOTIFY_FALSE
STARTUPNOTIFY_TRUE STARTUPNOTIFY_TRUE
x11_xcb_LIBS x11_xcb_LIBS
x11_xcb_CFLAGS x11_xcb_CFLAGS
xcb_event_LIBS xcb_event_LIBS
xcb_event_CFLAGS xcb_event_CFLAGS
skipping to change at line 653 skipping to change at line 654
LIBINTL LIBINTL
INTLLIBS INTLLIBS
INTL_LIBTOOL_SUFFIX_PREFIX INTL_LIBTOOL_SUFFIX_PREFIX
INTLOBJS INTLOBJS
GENCAT GENCAT
INSTOBJEXT INSTOBJEXT
DATADIRNAME DATADIRNAME
CATOBJEXT CATOBJEXT
USE_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL
BUILD_INCLUDED_LIBINTL BUILD_INCLUDED_LIBINTL
LTLIBC
WINDRES
WOE32
WOE32DLL WOE32DLL
HAVE_WPRINTF HAVE_WPRINTF
HAVE_NEWLOCALE
HAVE_SNPRINTF HAVE_SNPRINTF
HAVE_ASPRINTF HAVE_ASPRINTF
HAVE_POSIX_PRINTF HAVE_POSIX_PRINTF
INTL_DEFAULT_VERBOSITY
INTL_MACOSX_LIBS INTL_MACOSX_LIBS
GLIBC21 GLIBC21
INTLBISON INTLBISON
LTLIBICONV LTLIBICONV
LIBICONV LIBICONV
LTLIBMULTITHREAD LTLIBMULTITHREAD
LIBMULTITHREAD LIBMULTITHREAD
LTLIBTHREAD LTLIBTHREAD
LIBTHREAD LIBTHREAD
LIBPTH_PREFIX
LTLIBPTH LTLIBPTH
LIBPTH LIBPTH
PRI_MACROS_BROKEN PRI_MACROS_BROKEN
ALLOCA ALLOCA
HAVE_VISIBILITY HAVE_VISIBILITY
CFLAG_VISIBILITY CFLAG_VISIBILITY
RANLIB RANLIB
GLIBC2 GLIBC2
host_os host_os
host_vendor host_vendor
host_cpu host_cpu
host host
build_os build_os
build_vendor build_vendor
build_cpu build_cpu
build build
XGETTEXT_EXTRA_OPTIONS
XGETTEXT_015 XGETTEXT_015
GMSGFMT_015 GMSGFMT_015
MSGFMT_015 MSGFMT_015
GETTEXT_MACRO_VERSION
SED
GETTEXT_PACKAGE GETTEXT_PACKAGE
ALL_LINGUAS ALL_LINGUAS
INTLTOOL_PERL INTLTOOL_PERL
GMSGFMT GMSGFMT
MSGFMT MSGFMT
MSGMERGE MSGMERGE
XGETTEXT XGETTEXT
INTLTOOL_POLICY_RULE INTLTOOL_POLICY_RULE
INTLTOOL_SERVICE_RULE INTLTOOL_SERVICE_RULE
INTLTOOL_THEME_RULE INTLTOOL_THEME_RULE
skipping to change at line 1415 skipping to change at line 1425
eval ac_cv_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_value=\$${ac_var}
done done
# #
# Report the --help message. # Report the --help message.
# #
if test "$ac_init_help" = "long"; then if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures xfe 1.43.1 to adapt to many kinds of systems. \`configure' configures xfe 1.43.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables. VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets. Defaults for the options are specified in brackets.
Configuration: Configuration:
-h, --help display this help and exit -h, --help display this help and exit
skipping to change at line 1490 skipping to change at line 1500
--x-libraries=DIR X library files are in DIR --x-libraries=DIR X library files are in DIR
System types: System types:
--build=BUILD configure for building on BUILD [guessed] --build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD] --host=HOST cross-compile to build programs to run on HOST [BUILD]
_ACEOF _ACEOF
fi fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of xfe 1.43.1:";; short | recursive ) echo "Configuration of xfe 1.43.2:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
Optional Features: Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options --disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-silent-rules less verbose build output (undo: "make V=1") --enable-silent-rules less verbose build output (undo: "make V=1")
--disable-silent-rules verbose build output (undo: "make V=0") --disable-silent-rules verbose build output (undo: "make V=0")
--enable-dependency-tracking --enable-dependency-tracking
do not reject slow dependency extractors do not reject slow dependency extractors
--disable-dependency-tracking --disable-dependency-tracking
speeds up one-time build speeds up one-time build
--disable-nls do not use Native Language Support --disable-nls do not use Native Language Support
--enable-threads={posix|solaris|pth|win32} --enable-threads={posix|solaris|pth|windows}
specify multithreading API specify multithreading API
--disable-threads build without multithread safety --disable-threads build without multithread safety
--disable-rpath do not hardcode runtime library paths --disable-rpath do not hardcode runtime library paths
--disable-largefile omit support for large files --disable-largefile omit support for large files
--disable-sn compile without startup notification support --disable-sn compile without startup notification support
--enable-debug compile for debugging --enable-debug compile for debugging
--enable-minimalflags respect system flags as much as possible --enable-minimalflags respect system flags as much as possible
--enable-release compile for release (advanced optimizations) --enable-release compile for release (advanced optimizations)
Optional Packages: Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-gnu-ld assume the C compiler uses GNU ld default=no --with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib
--without-libpth-prefix don't search for libpth in includedir and libdir --without-libpth-prefix don't search for libpth in includedir and libdir
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
--without-libiconv-prefix don't search for libiconv in includedir and libd ir --without-libiconv-prefix don't search for libiconv in includedir and libd ir
--with-included-gettext use the GNU gettext library included here --with-included-gettext use the GNU gettext library included here
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
--without-libintl-prefix don't search for libintl in includedir and libdir --without-libintl-prefix don't search for libintl in includedir and libdir
--with-x use the X Window System --with-x use the X Window System
--with-xrandr compile with XRandR support --with-xrandr compile with XRandR support
skipping to change at line 1634 skipping to change at line 1644
else else
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi || ac_status=$? fi || ac_status=$?
cd "$ac_pwd" || { ac_status=$?; break; } cd "$ac_pwd" || { ac_status=$?; break; }
done done
fi fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
xfe configure 1.43.1 xfe configure 1.43.2
generated by GNU Autoconf 2.69 generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it. gives unlimited permission to copy, distribute and modify it.
_ACEOF _ACEOF
exit exit
fi fi
## ------------------------ ## ## ------------------------ ##
skipping to change at line 2088 skipping to change at line 2098
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
fi fi
eval ac_res=\$$3 eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; } $as_echo "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_func } # ac_fn_c_check_func
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
# ---------------------------------------------
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
# accordingly.
ac_fn_c_check_decl ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
as_decl_name=`echo $2|sed 's/ *(.*//'`
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is dec
lared" >&5
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
if eval \${$3+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main ()
{
#ifndef $as_decl_name
#ifdef __cplusplus
(void) $as_decl_use;
#else
(void) $as_decl_name;
#endif
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
eval "$3=yes"
else
eval "$3=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_decl
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
# -------------------------------------------- # --------------------------------------------
# Tries to find the compile-time value of EXPR in a program that includes # Tries to find the compile-time value of EXPR in a program that includes
# INCLUDES, setting VAR accordingly. Returns whether the value could be # INCLUDES, setting VAR accordingly. Returns whether the value could be
# computed # computed
ac_fn_c_compute_int () ac_fn_c_compute_int ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
if test "$cross_compiling" = yes; then if test "$cross_compiling" = yes; then
# Depending upon the size, compute the lo and hi bounds. # Depending upon the size, compute the lo and hi bounds.
skipping to change at line 2501 skipping to change at line 2557
# left behind by Apple's compiler. We do this before executing the actions. # left behind by Apple's compiler. We do this before executing the actions.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval as_fn_set_status $ac_retval
} # ac_fn_cxx_try_link } # ac_fn_cxx_try_link
cat >config.log <<_ACEOF cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by xfe $as_me 1.43.1, which was It was created by xfe $as_me 1.43.2, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
_ACEOF _ACEOF
exec 5>>config.log exec 5>>config.log
{ {
cat <<_ASUNAME cat <<_ASUNAME
## --------- ## ## --------- ##
## Platform. ## ## Platform. ##
skipping to change at line 2782 skipping to change at line 2838
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
$as_echo "$as_me: creating cache $cache_file" >&6;} $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file >$cache_file
fi fi
gt_needs="$gt_needs " gt_needs="$gt_needs "
as_fn_append ac_header_list " stdlib.h" as_fn_append ac_header_list " stdlib.h"
as_fn_append ac_header_list " unistd.h" as_fn_append ac_header_list " unistd.h"
as_fn_append ac_header_list " sys/param.h" as_fn_append ac_header_list " sys/param.h"
as_fn_append ac_func_list " symlink"
as_fn_append ac_header_list " sys/time.h" as_fn_append ac_header_list " sys/time.h"
as_fn_append ac_func_list " alarm" as_fn_append ac_func_list " alarm"
as_fn_append ac_header_list " utime.h" as_fn_append ac_header_list " utime.h"
# Check that the precious variables saved in the cache have kept the same # Check that the precious variables saved in the cache have kept the same
# value. # value.
ac_cache_corrupted=false ac_cache_corrupted=false
for ac_var in $ac_precious_vars; do for ac_var in $ac_precious_vars; do
eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_old_set=\$ac_cv_env_${ac_var}_set
eval ac_new_set=\$ac_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set
eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_old_val=\$ac_cv_env_${ac_var}_value
skipping to change at line 3363 skipping to change at line 3420
if test -z "$CYGPATH_W"; then if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w' CYGPATH_W='cygpath -w'
else else
CYGPATH_W=echo CYGPATH_W=echo
fi fi
fi fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='xfe' PACKAGE='xfe'
VERSION='1.43.1' VERSION='1.43.2'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define PACKAGE "$PACKAGE" #define PACKAGE "$PACKAGE"
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define VERSION "$VERSION" #define VERSION "$VERSION"
_ACEOF _ACEOF
# Some tools Automake needs. # Some tools Automake needs.
skipping to change at line 6621 skipping to change at line 6678
fi fi
# Substitute ALL_LINGUAS so we can use it in po/Makefile # Substitute ALL_LINGUAS so we can use it in po/Makefile
GETTEXT_PACKAGE=xfe GETTEXT_PACKAGE=xfe
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
_ACEOF _ACEOF
mkdir_p="$MKDIR_P" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not trunca
case $mkdir_p in te output" >&5
[\\/$]* | ?:[\\/]*) ;; $as_echo_n "checking for a sed that does not truncate output... " >&6; }
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; if ${ac_cv_path_SED+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbb/
for ac_i in 1 2 3 4 5 6 7; do
ac_script="$ac_script$as_nl$ac_script"
done
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
{ ac_script=; unset ac_script;}
if test -z "$SED"; then
ac_path_SED_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_prog in sed gsed; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_SED" || continue
# Check for GNU ac_path_SED and select it if it is found.
# Check for GNU $ac_path_SED
case `"$ac_path_SED" --version 2>&1` in
*GNU*)
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
*)
ac_count=0
$as_echo_n 0123456789 >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
$as_echo '' >> "conftest.nl"
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null |
| break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
as_fn_arith $ac_count + 1 && ac_count=$as_val
if test $ac_count -gt ${ac_path_SED_max-0}; then
# Best one so far, save it but keep looking for a better one
ac_cv_path_SED="$ac_path_SED"
ac_path_SED_max=$ac_count
fi
# 10*(2^10) chars as input seems more than enough
test $ac_count -gt 10 && break
done
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac esac
$ac_path_SED_found && break 3
done
done
done
IFS=$as_save_IFS
if test -z "$ac_cv_path_SED"; then
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
fi
else
ac_cv_path_SED=$SED
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
$as_echo "$ac_cv_path_SED" >&6; }
SED="$ac_cv_path_SED"
rm -f conftest.sed
GETTEXT_MACRO_VERSION=0.19
# Prepare PATH_SEPARATOR. # Prepare PATH_SEPARATOR.
# The user is always right. # The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then if test "${PATH_SEPARATOR+set}" != set; then
echo "#! /bin/sh" >conf$$.sh # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
echo "exit 0" >>conf$$.sh # contains only /bin. Note that ksh looks also at the FPATH variable,
chmod +x conf$$.sh # so we have to set that as well for the test.
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=:
PATH_SEPARATOR=';' (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
else && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
PATH_SEPARATOR=: || PATH_SEPARATOR=';'
fi }
rm -f conf$$.sh
fi fi
# Find out how to test for executable files. Don't use a zero-byte file, # Find out how to test for executable files. Don't use a zero-byte file,
# as systems may use methods other than mode bits to determine executability. # as systems may use methods other than mode bits to determine executability.
cat >conf$$.file <<_ASEOF cat >conf$$.file <<_ASEOF
#! /bin/sh #! /bin/sh
exit 0 exit 0
_ASEOF _ASEOF
chmod +x conf$$.file chmod +x conf$$.file
if test -x conf$$.file >/dev/null 2>&1; then if test -x conf$$.file >/dev/null 2>&1; then
skipping to change at line 6749 skipping to change at line 6870
esac esac
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
*) GMSGFMT_015=$GMSGFMT ;; *) GMSGFMT_015=$GMSGFMT ;;
esac esac
# Prepare PATH_SEPARATOR. # Prepare PATH_SEPARATOR.
# The user is always right. # The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then if test "${PATH_SEPARATOR+set}" != set; then
echo "#! /bin/sh" >conf$$.sh # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
echo "exit 0" >>conf$$.sh # contains only /bin. Note that ksh looks also at the FPATH variable,
chmod +x conf$$.sh # so we have to set that as well for the test.
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=:
PATH_SEPARATOR=';' (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
else && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
PATH_SEPARATOR=: || PATH_SEPARATOR=';'
fi }
rm -f conf$$.sh
fi fi
# Find out how to test for executable files. Don't use a zero-byte file, # Find out how to test for executable files. Don't use a zero-byte file,
# as systems may use methods other than mode bits to determine executability. # as systems may use methods other than mode bits to determine executability.
cat >conf$$.file <<_ASEOF cat >conf$$.file <<_ASEOF
#! /bin/sh #! /bin/sh
exit 0 exit 0
_ASEOF _ASEOF
chmod +x conf$$.file chmod +x conf$$.file
if test -x conf$$.file >/dev/null 2>&1; then if test -x conf$$.file >/dev/null 2>&1; then
skipping to change at line 6825 skipping to change at line 6945
rm -f messages.po rm -f messages.po
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
*) XGETTEXT_015=$XGETTEXT ;; *) XGETTEXT_015=$XGETTEXT ;;
esac esac
# Prepare PATH_SEPARATOR. # Prepare PATH_SEPARATOR.
# The user is always right. # The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then if test "${PATH_SEPARATOR+set}" != set; then
echo "#! /bin/sh" >conf$$.sh # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
echo "exit 0" >>conf$$.sh # contains only /bin. Note that ksh looks also at the FPATH variable,
chmod +x conf$$.sh # so we have to set that as well for the test.
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=:
PATH_SEPARATOR=';' (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
else && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
PATH_SEPARATOR=: || PATH_SEPARATOR=';'
fi }
rm -f conf$$.sh
fi fi
# Find out how to test for executable files. Don't use a zero-byte file, # Find out how to test for executable files. Don't use a zero-byte file,
# as systems may use methods other than mode bits to determine executability. # as systems may use methods other than mode bits to determine executability.
cat >conf$$.file <<_ASEOF cat >conf$$.file <<_ASEOF
#! /bin/sh #! /bin/sh
exit 0 exit 0
_ASEOF _ASEOF
chmod +x conf$$.file chmod +x conf$$.file
if test -x conf$$.file >/dev/null 2>&1; then if test -x conf$$.file >/dev/null 2>&1; then
skipping to change at line 6892 skipping to change at line 7011
if test "$MSGMERGE" != ":"; then if test "$MSGMERGE" != ":"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
$as_echo "$MSGMERGE" >&6; } $as_echo "$MSGMERGE" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
test -n "$localedir" || localedir='${datadir}/locale' test -n "$localedir" || localedir='${datadir}/locale'
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
ac_config_commands="$ac_config_commands po-directories" ac_config_commands="$ac_config_commands po-directories"
# Make sure we can run config.sub. # Make sure we can run config.sub.
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
$as_echo_n "checking build system type... " >&6; } $as_echo_n "checking build system type... " >&6; }
if ${ac_cv_build+:} false; then : if ${ac_cv_build+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
skipping to change at line 6973 skipping to change at line 7094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the G NU C Library 2 or newer" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the G NU C Library 2 or newer" >&5
$as_echo_n "checking whether we are using the GNU C Library 2 or newer... " >&6; } $as_echo_n "checking whether we are using the GNU C Library 2 or newer... " >&6; }
if ${ac_cv_gnu_library_2+:} false; then : if ${ac_cv_gnu_library_2+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <features.h> #include <features.h>
#ifdef __GNU_LIBRARY__ #ifdef __GNU_LIBRARY__
#if (__GLIBC__ >= 2) #if (__GLIBC__ >= 2) && !defined __UCLIBC__
Lucky GNU user Lucky GNU user
#endif #endif
#endif #endif
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "Lucky GNU user" >/dev/null 2>&1; then : $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
ac_cv_gnu_library_2=yes ac_cv_gnu_library_2=yes
else else
ac_cv_gnu_library_2=no ac_cv_gnu_library_2=no
skipping to change at line 7087 skipping to change at line 7208
esac esac
RANLIB=$ac_ct_RANLIB RANLIB=$ac_ct_RANLIB
fi fi
else else
RANLIB="$ac_cv_prog_RANLIB" RANLIB="$ac_cv_prog_RANLIB"
fi fi
CFLAG_VISIBILITY= CFLAG_VISIBILITY=
HAVE_VISIBILITY=0 HAVE_VISIBILITY=0
if test -n "$GCC"; then if test -n "$GCC"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility decl { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -W
arations" >&5 error option is usable" >&5
$as_echo_n "checking whether the -Werror option is usable... " >&6; }
if ${gl_cv_cc_vis_werror+:} false; then :
$as_echo_n "(cached) " >&6
else
gl_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Werror"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_cc_vis_werror=yes
else
gl_cv_cc_vis_werror=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS="$gl_save_CFLAGS"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
$as_echo "$gl_cv_cc_vis_werror" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility
declarations" >&5
$as_echo_n "checking for simple visibility declarations... " >&6; } $as_echo_n "checking for simple visibility declarations... " >&6; }
if ${gl_cv_cc_visibility+:} false; then : if ${gl_cv_cc_visibility+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
gl_save_CFLAGS="$CFLAGS" gl_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fvisibility=hidden" CFLAGS="$CFLAGS -fvisibility=hidden"
if test $gl_cv_cc_vis_werror = yes; then
CFLAGS="$CFLAGS -Werror"
fi
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("hidden"))) int hiddenvar;
extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("default"))) int exportedvar;
extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("hidden"))) int hiddenfunc (vo
extern __attribute__((__visibility__("default"))) int exportedfunc (voi id);
d); extern __attribute__((__visibility__("default"))) int exportedfunc
(void);
void dummyfunc (void) {}
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_cc_visibility=yes gl_cv_cc_visibility=yes
skipping to change at line 7191 skipping to change at line 7347
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
$as_echo_n "checking for stdint.h... " >&6; } $as_echo_n "checking for stdint.h... " >&6; }
if ${gl_cv_header_stdint_h+:} false; then : if ${gl_cv_header_stdint_h+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <sys/types.h> #include <sys/types.h>
#include <stdint.h> #include <stdint.h>
int int
main () main ()
{ {
uintmax_t i = (uintmax_t) -1; return !i; uintmax_t i = (uintmax_t) -1; return !i;
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_header_stdint_h=yes gl_cv_header_stdint_h=yes
skipping to change at line 7600 skipping to change at line 7756
fi fi
rm -f conftest.mmap conftest.txt rm -f conftest.mmap conftest.txt
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
$as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; } $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
if ${gt_cv_int_divbyzero_sigfpe+:} false; then : if ${gt_cv_int_divbyzero_sigfpe+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test "$cross_compiling" = yes; then : gt_cv_int_divbyzero_sigfpe=
case "$host_os" in
# Guess based on the CPU. macos* | darwin[6-9]* | darwin[1-9][0-9]*)
# On Mac OS X 10.2 or newer, just assume the same as when cross-
# compiling. If we were to perform the real test, 1 Crash Report
# dialog window would pop up.
case "$host_cpu" in case "$host_cpu" in
alpha* | i3456786 | m68k | s390*) i[34567]86 | x86_64)
gt_cv_int_divbyzero_sigfpe="guessing yes";; gt_cv_int_divbyzero_sigfpe="guessing yes" ;;
*)
gt_cv_int_divbyzero_sigfpe="guessing no";;
esac esac
;;
esac
if test -z "$gt_cv_int_divbyzero_sigfpe"; then
if test "$cross_compiling" = yes; then :
# Guess based on the CPU.
case "$host_cpu" in
alpha* | i[34567]86 | x86_64 | m68k | s390*)
gt_cv_int_divbyzero_sigfpe="guessing yes";;
*)
gt_cv_int_divbyzero_sigfpe="guessing no";;
esac
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdlib.h> #include <stdlib.h>
#include <signal.h> #include <signal.h>
static void static void
#ifdef __cplusplus
sigfpe_handler (int sig) sigfpe_handler (int sig)
#else
sigfpe_handler (sig) int sig;
#endif
{ {
/* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
exit (sig != SIGFPE); _exit (sig != SIGFPE);
} }
int x = 1; int x = 1;
int y = 0; int y = 0;
int z; int z;
int nan; int nan;
int main () int main ()
{ {
signal (SIGFPE, sigfpe_handler); signal (SIGFPE, sigfpe_handler);
skipping to change at line 7647 skipping to change at line 7812
#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
signal (SIGTRAP, sigfpe_handler); signal (SIGTRAP, sigfpe_handler);
#endif #endif
/* Linux/SPARC yields signal SIGILL. */ /* Linux/SPARC yields signal SIGILL. */
#if defined (__sparc__) && defined (__linux__) #if defined (__sparc__) && defined (__linux__)
signal (SIGILL, sigfpe_handler); signal (SIGILL, sigfpe_handler);
#endif #endif
z = x / y; z = x / y;
nan = y / y; nan = y / y;
exit (1); exit (2);
} }
_ACEOF _ACEOF
if ac_fn_c_try_run "$LINENO"; then : if ac_fn_c_try_run "$LINENO"; then :
gt_cv_int_divbyzero_sigfpe=yes gt_cv_int_divbyzero_sigfpe=yes
else else
gt_cv_int_divbyzero_sigfpe=no gt_cv_int_divbyzero_sigfpe=no
fi fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext conftest.$ac_objext conftest.beam conftest.$ac_ext
fi fi
fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >& 5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >& 5
$as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; } $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
case "$gt_cv_int_divbyzero_sigfpe" in case "$gt_cv_int_divbyzero_sigfpe" in
*yes) value=1;; *yes) value=1;;
*) value=0;; *) value=0;;
esac esac
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define INTDIV0_RAISES_SIGFPE $value #define INTDIV0_RAISES_SIGFPE $value
_ACEOF _ACEOF
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
$as_echo_n "checking for inttypes.h... " >&6; } $as_echo_n "checking for inttypes.h... " >&6; }
if ${gl_cv_header_inttypes_h+:} false; then : if ${gl_cv_header_inttypes_h+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <sys/types.h> #include <sys/types.h>
#include <inttypes.h> #include <inttypes.h>
int int
main () main ()
{ {
uintmax_t i = (uintmax_t) -1; return !i; uintmax_t i = (uintmax_t) -1; return !i;
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
gl_cv_header_inttypes_h=yes gl_cv_header_inttypes_h=yes
skipping to change at line 7711 skipping to change at line 7880
#define HAVE_INTTYPES_H_WITH_UINTMAX 1 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
_ACEOF _ACEOF
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
$as_echo_n "checking for unsigned long long int... " >&6; } $as_echo_n "checking for unsigned long long int... " >&6; }
if ${ac_cv_type_unsigned_long_long_int+:} false; then : if ${ac_cv_type_unsigned_long_long_int+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext ac_cv_type_unsigned_long_long_int=yes
if test "x${ac_cv_prog_cc_c99-no}" = xno; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
unsigned long long int ull = 18446744073709551615ULL;
typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1 /* For now, do not test the preprocessor; as of 2007 there are too many
? 1 : -1)]; implementations with broken preprocessors. Perhaps this can
int i = 63; be revisited in 2012. In the meantime, code should not expect
#if to work with literals wider than 32 bits. */
/* Test literals. */
long long int ll = 9223372036854775807ll;
long long int nll = -9223372036854775807LL;
unsigned long long int ull = 18446744073709551615ULL;
/* Test constant expressions. */
typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
? 1 : -1)];
typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
? 1 : -1)];
int i = 63;
int int
main () main ()
{ {
unsigned long long int ullmax = 18446744073709551615ull; /* Test availability of runtime routines for shift and division. */
return (ull << 63 | ull >> 63 | ull << i | ull >> i long long int llmax = 9223372036854775807ll;
| ullmax / ull | ullmax % ull); unsigned long long int ullmax = 18446744073709551615ull;
return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
| (llmax / ll) | (llmax % ll)
| (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
| (ullmax / ull) | (ullmax % ull));
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
ac_cv_type_unsigned_long_long_int=yes
else else
ac_cv_type_unsigned_long_long_int=no ac_cv_type_unsigned_long_long_int=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_ int" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_ int" >&5
$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
if test $ac_cv_type_unsigned_long_long_int = yes; then if test $ac_cv_type_unsigned_long_long_int = yes; then
$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
fi fi
ac_cv_type_unsigned_long_long=$ac_cv_type_unsigned_long_long_int
if test $ac_cv_type_unsigned_long_long = yes; then
$as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
fi
if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; the n if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; the n
test $ac_cv_type_unsigned_long_long = yes \ test $ac_cv_type_unsigned_long_long_int = yes \
&& ac_type='unsigned long long' \ && ac_type='unsigned long long' \
|| ac_type='unsigned long' || ac_type='unsigned long'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define uintmax_t $ac_type #define uintmax_t $ac_type
_ACEOF _ACEOF
else else
$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
skipping to change at line 7787 skipping to change at line 7968
if test $ac_cv_header_inttypes_h = yes; then if test $ac_cv_header_inttypes_h = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRI xNN macros are broken" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRI xNN macros are broken" >&5
$as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; } $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
if ${gt_cv_inttypes_pri_broken+:} false; then : if ${gt_cv_inttypes_pri_broken+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <inttypes.h> #include <inttypes.h>
#ifdef PRId32 #ifdef PRId32
char *p = PRId32; char *p = PRId32;
#endif #endif
int int
main () main ()
{ {
; ;
skipping to change at line 7822 skipping to change at line 8004
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define PRI_MACROS_BROKEN 1 #define PRI_MACROS_BROKEN 1
_ACEOF _ACEOF
PRI_MACROS_BROKEN=1 PRI_MACROS_BROKEN=1
else else
PRI_MACROS_BROKEN=0 PRI_MACROS_BROKEN=0
fi fi
# Check whether --enable-threads was given. # Check whether --enable-threads was given.
if test "${enable_threads+set}" = set; then : if test "${enable_threads+set}" = set; then :
enableval=$enable_threads; gl_use_threads=$enableval enableval=$enable_threads; gl_use_threads=$enableval
else else
case "$host_os" in if test -n "$gl_use_threads_default"; then
osf*) gl_use_threads=no ;; gl_use_threads="$gl_use_threads_default"
*) gl_use_threads=yes ;; else
esac case "$host_os" in
osf*) gl_use_thre
ads=no ;;
cygwin*)
case `uname -r` in
1.[0-5].*) gl_use_threads=no ;;
*) gl_use_threads=yes ;;
esac
;;
*) gl_use_threads=yes ;;
esac
fi
fi fi
if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
# For using <pthread.h>: # For using <pthread.h>:
case "$host_os" in case "$host_os" in
osf*) osf*)
# On OSF/1, the compiler needs the flag -D_REENTRANT so that it # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
# groks <pthread.h>. cc also understands the flag -pthread, but # groks <pthread.h>. cc also understands the flag -pthread, but
# we don't use it because 1. gcc-2.95 doesn't understand -pthread, # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
# 2. putting a flag into CPPFLAGS that has an effect on the linker # 2. putting a flag into CPPFLAGS that has an effect on the linker
# causes the AC_TRY_LINK test below to succeed unexpectedly, # causes the AC_LINK_IFELSE test below to succeed unexpectedly,
# leading to wrong values of LIBTHREAD and LTLIBTHREAD. # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
CPPFLAGS="$CPPFLAGS -D_REENTRANT" CPPFLAGS="$CPPFLAGS -D_REENTRANT"
;; ;;
esac esac
# Some systems optimize for single-threaded programs by default, and # Some systems optimize for single-threaded programs by default, and
# need special flags to disable these optimizations. For example, the # need special flags to disable these optimizations. For example, the
# definition of 'errno' in <errno.h>. # definition of 'errno' in <errno.h>.
case "$host_os" in case "$host_os" in
aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
skipping to change at line 7880 skipping to change at line 8072
# Check whether --with-gnu-ld was given. # Check whether --with-gnu-ld was given.
if test "${with_gnu_ld+set}" = set; then : if test "${with_gnu_ld+set}" = set; then :
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
else else
with_gnu_ld=no with_gnu_ld=no
fi fi
# Prepare PATH_SEPARATOR. # Prepare PATH_SEPARATOR.
# The user is always right. # The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then if test "${PATH_SEPARATOR+set}" != set; then
echo "#! /bin/sh" >conf$$.sh # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
echo "exit 0" >>conf$$.sh # contains only /bin. Note that ksh looks also at the FPATH variable,
chmod +x conf$$.sh # so we have to set that as well for the test.
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=:
PATH_SEPARATOR=';' (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
else && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
PATH_SEPARATOR=: || PATH_SEPARATOR=';'
fi }
rm -f conf$$.sh
fi fi
ac_prog=ld ac_prog=ld
if test "$GCC" = yes; then if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path. # Check if gcc -print-prog-name=ld gives a path.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
$as_echo_n "checking for ld used by GCC... " >&6; } $as_echo_n "checking for ld used by $CC... " >&6; }
case $host in case $host in
*-*-mingw*) *-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw # gcc leaves a trailing carriage return which upsets mingw
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
*) *)
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
esac esac
case $ac_prog in case $ac_prog in
# Accept absolute paths. # Accept absolute paths.
[\\/]* | [A-Za-z]:[\\/]*) [\\/]* | ?:[\\/]*)
re_direlt='/[^/][^/]*/\.\./' re_direlt='/[^/][^/]*/\.\./'
# Canonicalize the path of ld # Canonicalize the pathname of ld
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
done done
test -z "$LD" && LD="$ac_prog" test -z "$LD" && LD="$ac_prog"
;; ;;
"") "")
# If it fails, then pretend we aren't using GCC. # If it fails, then pretend we aren't using GCC.
ac_prog=ld ac_prog=ld
;; ;;
*) *)
# If it is relative, then search for the first ld in PATH. # If it is relative, then search for the first ld in PATH.
with_gnu_ld=unknown with_gnu_ld=unknown
skipping to change at line 7933 skipping to change at line 8125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
$as_echo_n "checking for GNU ld... " >&6; } $as_echo_n "checking for GNU ld... " >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
$as_echo_n "checking for non-GNU ld... " >&6; } $as_echo_n "checking for non-GNU ld... " >&6; }
fi fi
if ${acl_cv_path_LD+:} false; then : if ${acl_cv_path_LD+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -z "$LD"; then if test -z "$LD"; then
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
for ac_dir in $PATH; do for ac_dir in $PATH; do
IFS="$acl_save_ifs"
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
acl_cv_path_LD="$ac_dir/$ac_prog" acl_cv_path_LD="$ac_dir/$ac_prog"
# Check to see if the program is GNU ld. I'd rather use --version, # Check to see if the program is GNU ld. I'd rather use --version,
# but apparently some GNU ld's only accept -v. # but apparently some variants of GNU ld only accept -v.
# Break only if it was the GNU/non-GNU ld that we prefer. # Break only if it was the GNU/non-GNU ld that we prefer.
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
*GNU* | *'with BFD'*) *GNU* | *'with BFD'*)
test "$with_gnu_ld" != no && break ;; test "$with_gnu_ld" != no && break
;;
*) *)
test "$with_gnu_ld" != yes && break ;; test "$with_gnu_ld" != yes && break
;;
esac esac
fi fi
done done
IFS="$ac_save_ifs" IFS="$acl_save_ifs"
else else
acl_cv_path_LD="$LD" # Let the user override the test with a path. acl_cv_path_LD="$LD" # Let the user override the test with a path.
fi fi
fi fi
LD="$acl_cv_path_LD" LD="$acl_cv_path_LD"
if test -n "$LD"; then if test -n "$LD"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
$as_echo "$LD" >&6; } $as_echo "$LD" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
if ${acl_cv_prog_gnu_ld+:} false; then : if ${acl_cv_prog_gnu_ld+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
# I'd rather use --version here, but apparently some GNU ld's only accept -v. # I'd rather use --version here, but apparently some GNU lds only accept -v.
case `$LD -v 2>&1 </dev/null` in case `$LD -v 2>&1 </dev/null` in
*GNU* | *'with BFD'*) *GNU* | *'with BFD'*)
acl_cv_prog_gnu_ld=yes ;; acl_cv_prog_gnu_ld=yes
;;
*) *)
acl_cv_prog_gnu_ld=no ;; acl_cv_prog_gnu_ld=no
;;
esac esac
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
$as_echo "$acl_cv_prog_gnu_ld" >&6; } $as_echo "$acl_cv_prog_gnu_ld" >&6; }
with_gnu_ld=$acl_cv_prog_gnu_ld with_gnu_ld=$acl_cv_prog_gnu_ld
{ $as_echo "$as_me:${as_lineno-$ LINENO}: checking for shared library run path origin" >&5 { $as_echo "$as_me:${as_lineno-$ LINENO}: checking for shared library run path origin" >&5
$as_echo_n "checking for shared library run path origin... " >&6; } $as_echo_n "checking for shared library run path origin... " >&6; }
if ${acl_cv_rpath+:} false; then : if ${acl_cv_rpath+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
skipping to change at line 7997 skipping to change at line 8194
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
. ./conftest.sh . ./conftest.sh
rm -f ./conftest.sh rm -f ./conftest.sh
acl_cv_rpath=done acl_cv_rpath=done
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
$as_echo "$acl_cv_rpath" >&6; } $as_echo "$acl_cv_rpath" >&6; }
wl="$acl_cv_wl" wl="$acl_cv_wl"
libext="$acl_cv_libext" acl_libext="$acl_cv_libext"
shlibext="$acl_cv_shlibext" acl_shlibext="$acl_cv_shlibext"
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_libname_spec="$acl_cv_libname_spec"
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_library_names_spec="$acl_cv_library_names_spec"
hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
hardcode_minus_L="$acl_cv_hardcode_minus_L" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
acl_hardcode_direct="$acl_cv_hardcode_direct"
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
# Check whether --enable-rpath was given. # Check whether --enable-rpath was given.
if test "${enable_rpath+set}" = set; then : if test "${enable_rpath+set}" = set; then :
enableval=$enable_rpath; : enableval=$enable_rpath; :
else else
enable_rpath=yes enable_rpath=yes
fi fi
acl_libdirstem=lib acl_libdirstem=lib
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libr acl_libdirstem2=
aries: ,,p' | sed -e 's,^=,,'` case "$host_os" in
if test -n "$searchpath"; then solaris*)
acl_save_IFS="${IFS= }"; IFS=":" { $as_echo "$as_me:${as_lineno-$LINENO}: che
for searchdir in $searchpath; do cking for 64-bit host" >&5
if test -d "$searchdir"; then $as_echo_n "checking for 64-bit host... " >&6; }
case "$searchdir" in if ${gl_cv_solaris_64bit+:} false; then :
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;; $as_echo_n "(cached) " >&6
*) searchdir=`cd "$searchdir" && pwd` else
case "$searchdir" in cat confdefs.h - <<_ACEOF >conftest.$ac_ext
*/lib64 ) acl_libdirstem=lib64 ;; /* end confdefs.h. */
esac ;;
#ifdef _LP64
sixtyfour bits
#endif
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "sixtyfour bits" >/dev/null 2>&1; then :
gl_cv_solaris_64bit=yes
else
gl_cv_solaris_64bit=no
fi
rm -f conftest*
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
$as_echo "$gl_cv_solaris_64bit" >&6; }
if test $gl_cv_solaris_64bit = yes; then
acl_libdirstem=lib/64
case "$host_cpu" in
sparc*) acl_libdirstem2=lib/sparcv9 ;;
i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
esac esac
fi fi
done ;;
IFS="$acl_save_IFS" *)
fi searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^
libraries: ,,p' | sed -e 's,^=,,'`
if test -n "$searchpath"; then
acl_save_IFS="${IFS= }"; IFS=":"
for searchdir in $searchpath; do
if test -d "$searchdir"; then
case "$searchdir" in
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
*/../ | */.. )
# Better ignore directories of this form. They are misleading.
;;
*) searchdir=`cd "$searchdir" && pwd`
case "$searchdir" in
*/lib64 ) acl_libdirstem=lib64 ;;
esac ;;
esac
fi
done
IFS="$acl_save_IFS"
fi
;;
esac
test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
gl_threads_api=none gl_threads_api=none
LIBTHREAD= LIBTHREAD=
LTLIBTHREAD= LTLIBTHREAD=
LIBMULTITHREAD= LIBMULTITHREAD=
LTLIBMULTITHREAD= LTLIBMULTITHREAD=
if test "$gl_use_threads" != no; then if test "$gl_use_threads" != no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbo ls can be declared weak" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbo ls can be declared weak" >&5
$as_echo_n "checking whether imported symbols can be declared weak... " >&6; } $as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
gl_have_weak=no if ${gl_cv_have_weak+:} false; then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext $as_echo_n "(cached) " >&6
else
gl_cv_have_weak=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
extern void xyzzy (); extern void xyzzy ();
#pragma weak xyzzy #pragma weak xyzzy
int int
main () main ()
{ {
xyzzy(); xyzzy();
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
gl_have_weak=yes gl_cv_have_weak=maybe
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_weak" >&5 if test $gl_cv_have_weak = maybe; then
$as_echo "$gl_have_weak" >&6; } if test "$cross_compiling" = yes; then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifdef __ELF__
Extensible Linking Format
#endif
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "Extensible Linking Format" >/dev/null 2>&1; then :
gl_cv_have_weak="guessing yes"
else
gl_cv_have_weak="guessing no"
fi
rm -f conftest*
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
#pragma weak fputs
int main ()
{
return (fputs == NULL);
}
_ACEOF
if ac_fn_c_try_run "$LINENO"; then :
gl_cv_have_weak=yes
else
gl_cv_have_weak=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5
$as_echo "$gl_cv_have_weak" >&6; }
if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
# On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
# it groks <pthread.h>. It's added above, in gl_LOCK_EARLY_BODY. # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h " "$ac_includes_default" ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h " "$ac_includes_default"
if test "x$ac_cv_header_pthread_h" = xyes; then : if test "x$ac_cv_header_pthread_h" = xyes; then :
gl_have_pthread_h=yes gl_have_pthread_h=yes
else else
gl_have_pthread_h=no gl_have_pthread_h=no
fi fi
if test "$gl_have_pthread_h" = yes; then if test "$gl_have_pthread_h" = yes; then
# Other possible tests: # Other possible tests:
# -lpthreads (FSU threads, PCthreads) # -lpthreads (FSU threads, PCthreads)
# -lgthreads # -lgthreads
gl_have_pthread= gl_have_pthread=
# Test whether both pthread_mutex_lock and pthread_mutexattr_init exist # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
# in libc. IRIX 6.5 has the first one in both libc and libpthread, but # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
# the second one only in libpthread, and lock.c needs it. # the second one only in libpthread, and lock.c needs it.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext #
# If -pthread works, prefer it to -lpthread, since Ubuntu 14.04
# needs -pthread for some reason. See:
# http://lists.gnu.org/archive/html/bug-gnulib/2014-09/msg00023.html
save_LIBS=$LIBS
for gl_pthread in '' '-pthread'; do
LIBS="$LIBS $gl_pthread"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <pthread.h> #include <pthread.h>
pthread_mutex_t m;
pthread_mutexattr_t ma;
int int
main () main ()
{ {
pthread_mutex_lock((pthread_mutex_t*)0); pthread_mutex_lock (&m);
pthread_mutexattr_init((pthread_mutexattr_t*)0); pthread_mutexattr_init (&ma);
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
gl_have_pthread=yes gl_have_pthread=yes
LIBTHREAD=$gl_pthread LTLIBTHREAD=$gl_pthread
LIBMULTITHREAD=$gl_pthread LTLIBMULTITHREAD=$gl_pthread
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$save_LIBS
test -n "$gl_have_pthread" && break
done
# Test for libpthread by looking for pthread_kill. (Not pthread_self, # Test for libpthread by looking for pthread_kill. (Not pthread_self,
# since it is defined as a macro on OSF/1.) # since it is defined as a macro on OSF/1.)
if test -n "$gl_have_pthread"; then if test -n "$gl_have_pthread" && test -z "$LIBTHREAD"; then
# The program links fine without libpthread. But it may actually # The program links fine without libpthread. But it may actually
# need to link with libpthread in order to create multiple threads. # need to link with libpthread in order to create multiple threads.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
$as_echo_n "checking for pthread_kill in -lpthread... " >&6; } $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
if ${ac_cv_lib_pthread_pthread_kill+:} false; then : if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthread $LIBS" LIBS="-lpthread $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
skipping to change at line 8147 skipping to change at line 8447
# pthread_create will actually create a thread. # pthread_create will actually create a thread.
case "$host_os" in case "$host_os" in
solaris* | hpux*) solaris* | hpux*)
$as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h $as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
esac esac
fi fi
else elif test -z "$gl_have_pthread"; then
# Some library is needed. Try libpthread and libc_r. # Some library is needed. Try libpthread and libc_r.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
$as_echo_n "checking for pthread_kill in -lpthread... " >&6; } $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
if ${ac_cv_lib_pthread_pthread_kill+:} false; then : if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthread $LIBS" LIBS="-lpthread $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
skipping to change at line 8243 skipping to change at line 8543
fi fi
fi fi
fi fi
if test -n "$gl_have_pthread"; then if test -n "$gl_have_pthread"; then
gl_threads_api=posix gl_threads_api=posix
$as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h $as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h
if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
if test $gl_have_weak = yes; then if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
$as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h $as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
LIBTHREAD= LIBTHREAD=
LTLIBTHREAD= LTLIBTHREAD=
fi fi
fi fi
# OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
# pthread_rwlock_* functions.
ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rw
lock_t" "#include <pthread.h>
"
if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
$as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
fi
# glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <pthread.h>
int
main ()
{
#if __FreeBSD__ == 4
error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
#else
int x = (int)PTHREAD_MUTEX_RECURSIVE;
return !x;
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
$as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
fi fi
if test -z "$gl_have_pthread"; then if test -z "$gl_have_pthread"; then
if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
gl_have_solaristhread= gl_have_solaristhread=
gl_save_LIBS="$LIBS" gl_save_LIBS="$LIBS"
LIBS="$LIBS -lthread" LIBS="$LIBS -lthread"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <thread.h> #include <thread.h>
#include <synch.h> #include <synch.h>
int int
main () main ()
{ {
thr_self(); thr_self();
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
gl_have_solaristhread=yes gl_have_solaristhread=yes
skipping to change at line 8319 skipping to change at line 8588
LIBS="$gl_save_LIBS" LIBS="$gl_save_LIBS"
if test -n "$gl_have_solaristhread"; then if test -n "$gl_have_solaristhread"; then
gl_threads_api=solaris gl_threads_api=solaris
LIBTHREAD=-lthread LIBTHREAD=-lthread
LTLIBTHREAD=-lthread LTLIBTHREAD=-lthread
LIBMULTITHREAD="$LIBTHREAD" LIBMULTITHREAD="$LIBTHREAD"
LTLIBMULTITHREAD="$LTLIBTHREAD" LTLIBMULTITHREAD="$LTLIBTHREAD"
$as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h $as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h
if test $gl_have_weak = yes; then if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
$as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h $as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
LIBTHREAD= LIBTHREAD=
LTLIBTHREAD= LTLIBTHREAD=
fi fi
fi fi
fi fi
fi fi
if test "$gl_use_threads" = pth; then if test "$gl_use_threads" = pth; then
skipping to change at line 8373 skipping to change at line 8642
eval additional_includedir=\"$includedir\" eval additional_includedir=\"$includedir\"
eval additional_libdir=\"$libdir\" eval additional_libdir=\"$libdir\"
exec_prefix="$acl_save_exec_prefix" exec_prefix="$acl_save_exec_prefix"
prefix="$acl_save_prefix" prefix="$acl_save_prefix"
else else
additional_includedir="$withval/include" additional_includedir="$withval/include"
additional_libdir="$withval/$acl_libdirstem" additional_libdir="$withval/$acl_libdirstem"
if test "$acl_libdirstem2" != "$acl_libdirstem" \
&& ! test -d "$withval/$acl_libdirstem"; then
additional_libdir="$withval/$acl_libdirstem2"
fi
fi fi
fi fi
fi fi
LIBPTH= LIBPTH=
LTLIBPTH= LTLIBPTH=
INCPTH= INCPTH=
LIBPTH_PREFIX=
HAVE_LIBPTH=
rpathdirs= rpathdirs=
ltrpathdirs= ltrpathdirs=
names_already_handled= names_already_handled=
names_next_round='pth ' names_next_round='pth '
while test -n "$names_next_round"; do while test -n "$names_next_round"; do
names_this_round="$names_next_round" names_this_round="$names_next_round"
names_next_round= names_next_round=
for name in $names_this_round; do for name in $names_this_round; do
already_handled= already_handled=
for n in $names_already_handled; do for n in $names_already_handled; do
if test "$n" = "$name"; then if test "$n" = "$name"; then
already_handled=yes already_handled=yes
break break
fi fi
done done
if test -z "$already_handled"; then if test -z "$already_handled"; then
names_already_handled="$names_already_handled $name" names_already_handled="$names_already_handled $name"
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrst uvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrst uvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
eval value=\"\$HAVE_LIB$uppername\" eval value=\"\$HAVE_LIB$uppername\"
if test -n "$value"; then if test -n "$value"; then
if test "$value" = yes; then if test "$value" = yes; then
eval value=\"\$LIB$uppername\" eval value=\"\$LIB$uppername\"
test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value" test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
eval value=\"\$LTLIB$uppername\" eval value=\"\$LTLIB$uppername\"
test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value" test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
else else
: :
fi fi
else else
found_dir= found_dir=
found_la= found_la=
found_so= found_so=
found_a= found_a=
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
if test -n "$acl_shlibext"; then
shrext=".$acl_shlibext" # typically: shrext=.so
else
shrext=
fi
if test $use_additional = yes; then if test $use_additional = yes; then
if test -n "$shlibext" \ dir="$additional_libdir"
&& { test -f "$additional_libdir/lib$name.$shlibext" \ if test -n "$acl_shlibext"; then
|| { test "$shlibext" = dll \ if test -f "$dir/$libname$shrext"; then
&& test -f "$additional_libdir/lib$name.dll.a"; }; }; t found_dir="$dir"
hen found_so="$dir/$libname$shrext"
found_dir="$additional_libdir"
if test -f "$additional_libdir/lib$name.$shlibext"; then
found_so="$additional_libdir/lib$name.$shlibext"
else else
found_so="$additional_libdir/lib$name.dll.a" if test "$acl_library_names_spec" = '$libname$shrext$versuffix';
then
ver=`(cd "$dir" && \
for f in "$libname$shrext".*; do echo "$f"; done \
| sed -e "s,^$libname$shrext\\\\.,," \
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
| sed 1q ) 2>/dev/null`
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
found_dir="$dir"
found_so="$dir/$libname$shrext.$ver"
fi
else
eval library_names=\"$acl_library_names_spec\"
for f in $library_names; do
if test -f "$dir/$f"; then
found_dir="$dir"
found_so="$dir/$f"
break
fi
done
fi
fi fi
if test -f "$additional_libdir/lib$name.la"; then fi
found_la="$additional_libdir/lib$name.la" if test "X$found_dir" = "X"; then
if test -f "$dir/$libname.$acl_libext"; then
found_dir="$dir"
found_a="$dir/$libname.$acl_libext"
fi fi
else fi
if test -f "$additional_libdir/lib$name.$libext"; then if test "X$found_dir" != "X"; then
found_dir="$additional_libdir" if test -f "$dir/$libname.la"; then
found_a="$additional_libdir/lib$name.$libext" found_la="$dir/$libname.la"
if test -f "$additional_libdir/lib$name.la"; then
found_la="$additional_libdir/lib$name.la"
fi
fi fi
fi fi
fi fi
if test "X$found_dir" = "X"; then if test "X$found_dir" = "X"; then
for x in $LDFLAGS $LTLIBPTH; do for x in $LDFLAGS $LTLIBPTH; do
acl_save_prefix="$prefix" acl_save_prefix="$prefix"
prefix="$acl_final_prefix" prefix="$acl_final_prefix"
acl_save_exec_prefix="$exec_prefix" acl_save_exec_prefix="$exec_prefix"
exec_prefix="$acl_final_exec_prefix" exec_prefix="$acl_final_exec_prefix"
eval x=\"$x\" eval x=\"$x\"
exec_prefix="$acl_save_exec_prefix" exec_prefix="$acl_save_exec_prefix"
prefix="$acl_save_prefix" prefix="$acl_save_prefix"
case "$x" in case "$x" in
-L*) -L*)
dir=`echo "X$x" | sed -e 's/^X-L//'` dir=`echo "X$x" | sed -e 's/^X-L//'`
if test -n "$shlibext" \ if test -n "$acl_shlibext"; then
&& { test -f "$dir/lib$name.$shlibext" \ if test -f "$dir/$libname$shrext"; then
|| { test "$shlibext" = dll \
&& test -f "$dir/lib$name.dll.a"; }; }; then
found_dir="$dir"
if test -f "$dir/lib$name.$shlibext"; then
found_so="$dir/lib$name.$shlibext"
else
found_so="$dir/lib$name.dll.a"
fi
if test -f "$dir/lib$name.la"; then
found_la="$dir/lib$name.la"
fi
else
if test -f "$dir/lib$name.$libext"; then
found_dir="$dir" found_dir="$dir"
found_a="$dir/lib$name.$libext" found_so="$dir/$libname$shrext"
if test -f "$dir/lib$name.la"; then else
found_la="$dir/lib$name.la" if test "$acl_library_names_spec" = '$libname$shrext$versu
fi ffix'; then
ver=`(cd "$dir" && \
for f in "$libname$shrext".*; do echo "$f"; done \
| sed -e "s,^$libname$shrext\\\\.,," \
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5
\
| sed 1q ) 2>/dev/null`
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"
; then
found_dir="$dir"
found_so="$dir/$libname$shrext.$ver"
fi
else
eval library_names=\"$acl_library_names_spec\"
for f in $library_names; do
if test -f "$dir/$f"; then
found_dir="$dir"
found_so="$dir/$f"
break
fi
done
fi
fi
fi
if test "X$found_dir" = "X"; then
if test -f "$dir/$libname.$acl_libext"; then
found_dir="$dir"
found_a="$dir/$libname.$acl_libext"
fi
fi
if test "X$found_dir" != "X"; then
if test -f "$dir/$libname.la"; then
found_la="$dir/$libname.la"
fi fi
fi fi
;; ;;
esac esac
if test "X$found_dir" != "X"; then if test "X$found_dir" != "X"; then
break break
fi fi
done done
fi fi
if test "X$found_dir" != "X"; then if test "X$found_dir" != "X"; then
LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name" LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
if test "X$found_so" != "X"; then if test "X$found_so" != "X"; then
if test "$enable_rpath" if test "$enable_rpath"
= no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then = no \
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
else else
haveit= haveit=
for x in $ltrpathdirs; do for x in $ltrpathdirs; do
if test "X$x" = "X$found_dir"; then if test "X$x" = "X$found_dir"; then
haveit=yes haveit=yes
break break
fi fi
done done
if test -z "$haveit"; then if test -z "$haveit"; then
ltrpathdirs="$ltrpathdirs $found_dir" ltrpathdirs="$ltrpathdirs $found_dir"
fi fi
if test "$hardcode_direct" = yes; then if test "$acl_hardcode_direct" = yes; then
LIBPTH="${LIBPTH}${LIBPTH: + }$found_so" LIBPTH="${LIBPTH}${LIBPTH: + }$found_so"
else else
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_min us_L" = no; then if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hard code_minus_L" = no; then
LIBPTH="${LIBPTH}${L IBPTH:+ }$found_so" LIBPTH="${LIBPTH}${L IBPTH:+ }$found_so"
haveit= haveit=
for x in $rpathdirs; do for x in $rpathdirs; do
if test "X$x" = "X$found_dir"; then if test "X$x" = "X$found_dir"; then
haveit=yes haveit=yes
break break
fi fi
done done
if test -z "$haveit"; then if test -z "$haveit"; then
rpathdirs="$rpathdirs $found_dir" rpathdirs="$rpathdirs $found_dir"
skipping to change at line 8532 skipping to change at line 8848
prefix="$acl_save_prefix" prefix="$acl_save_prefix"
if test "X$x" = "X-L$found_dir"; then if test "X$x" = "X-L$found_dir"; then
haveit=yes haveit=yes
break break
fi fi
done done
if test -z "$haveit"; then if test -z "$haveit"; then
LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir" LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
fi fi
if test "$hardcode_minus_L" != no; then if test "$acl_hardcode_minus_L" != no; then
LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
else else
LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name" LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
fi fi
fi fi
fi fi
fi fi
else else
if test "X$found_a" != "X"; then if test "X$found_a" != "X"; then
LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a" LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
else else
LIBPTH="${LIBPTH}${LIBPTH:+ }-L$ found_dir -l$name" LIBPTH="${LIBPTH}${LIBPTH:+ }-L$ found_dir -l$name"
fi fi
fi fi
additional_includedir= additional_includedir=
case "$found_dir" in case "$found_dir" in
*/$acl_libdirstem | */$acl_libdirstem/) */$acl_libdirstem | */$acl_libdirstem/)
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir stem/"'*$,,'` basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir stem/"'*$,,'`
if test "$name" = 'pth'; then
LIBPTH_PREFIX="$basedir"
fi
additional_includedir="$basedir/include"
;;
*/$acl_libdirstem2 | */$acl_libdirstem2/)
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir
stem2/"'*$,,'`
if test "$name" = 'pth'; then
LIBPTH_PREFIX="$basedir"
fi
additional_includedir="$basedir/include" additional_includedir="$basedir/include"
;; ;;
esac esac
if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X"; then
if test "X$additional_includedir" != "X/usr/incl ude"; then if test "X$additional_includedir" != "X/usr/incl ude"; then
haveit= haveit=
if test "X$additional_includedir" = "X/usr/local/include"; then if test "X$additional_includedir" = "X/usr/local/include"; then
if test -n "$GCC"; then if test -n "$GCC"; then
case $host_os in case $host_os in
linux* | gnu* | k*bsd*-gnu) haveit=yes;; linux* | gnu* | k*bsd*-gnu) haveit=yes;;
skipping to change at line 8599 skipping to change at line 8925
save_libdir="$libdir" save_libdir="$libdir"
case "$found_la" in case "$found_la" in
*/* | *\\*) . "$found_la" ;; */* | *\\*) . "$found_la" ;;
*) . "./$found_la" ;; *) . "./$found_la" ;;
esac esac
libdir="$save_libdir" libdir="$save_libdir"
for dep in $dependency_libs; do for dep in $dependency_libs; do
case "$dep" in case "$dep" in
-L*) -L*)
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"
; then
haveit= haveit=
if test "X$additional_libdir" = "X/usr/local/$acl_libdirst if test "X$additional_libdir" = "X/usr/local/$acl_libdirst
em"; then em" \
|| test "X$additional_libdir" = "X/usr/local/$acl_libdi
rstem2"; then
if test -n "$GCC"; then if test -n "$GCC"; then
case $host_os in case $host_os in
linux* | gnu* | k*bsd*-gnu) haveit=yes;; linux* | gnu* | k*bsd*-gnu) haveit=yes;;
esac esac
fi fi
fi fi
if test -z "$haveit"; then if test -z "$haveit"; then
haveit= haveit=
for x in $LDFLAGS $LIBPTH; do for x in $LDFLAGS $LIBPTH; do
skipping to change at line 8701 skipping to change at line 9029
fi fi
else else
LIBPTH="${LIBPTH}${L IBPTH:+ }-l$name" LIBPTH="${LIBPTH}${L IBPTH:+ }-l$name"
LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name" LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
fi fi
fi fi
fi fi
done done
done done
if test "X$rpathdirs" != "X"; then if test "X$rpathdirs" != "X"; then
if test -n "$hardcode_libdir_separator"; then if test -n "$acl_hardcode_libdir_separator"; then
alldirs= alldirs=
for found_dir in $rpathdirs; do for found_dir in $rpathdirs; do
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
done done
acl_save_libdir="$libdir" acl_save_libdir="$libdir"
libdir="$alldirs" libdir="$alldirs"
eval flag=\"$hardcode_libdir_flag_spec\" eval flag=\"$acl_hardcode_libdir_flag_spec\"
libdir="$acl_save_libdir" libdir="$acl_save_libdir"
LIBPTH="${LIBPTH}${LIBPTH:+ }$flag" LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
else else
for found_dir in $rpathdirs; do for found_dir in $rpathdirs; do
acl_save_libdir="$libdir" acl_save_libdir="$libdir"
libdir="$found_dir" libdir="$found_dir"
eval flag=\"$hardcode_libdir_flag_spec\" eval flag=\"$acl_hardcode_libdir_flag_spec\"
libdir="$acl_save_libdir" libdir="$acl_save_libdir"
LIBPTH="${LIBPTH}${LIBPTH:+ }$flag" LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
done done
fi fi
fi fi
if test "X$ltrpathdirs" != "X"; then if test "X$ltrpathdirs" != "X"; then
for found_dir in $ltrpathdirs; do for found_dir in $ltrpathdirs; do
LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir" LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
done done
fi fi
ac_cv_libpth_libs="$LIBPTH" ac_cv_libpth_libs="$LIBPTH"
ac_cv_libpth_ltlibs="$LTLIBPTH" ac_cv_libpth_ltlibs="$LTLIBPTH"
ac_cv_libpth_cppflags="$INCPTH" ac_cv_libpth_cppflags="$INCPTH"
ac_cv_libpth_prefix="$LIBPTH_PREFIX"
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
$as_echo "$ac_cv_libpth_libs" >&6; } $as_echo "$ac_cv_libpth_libs" >&6; }
LIBPTH="$ac_cv_libpth_libs" LIBPTH="$ac_cv_libpth_libs"
LTLIBPTH="$ac_cv_libpth_ltlibs" LTLIBPTH="$ac_cv_libpth_ltlibs"
INCPTH="$ac_cv_libpth_cppflags" INCPTH="$ac_cv_libpth_cppflags"
LIBPTH_PREFIX="$ac_cv_libpth_prefix"
for element in $INCPTH; do for element in $INCPTH; do
haveit= haveit=
for x in $CPPFLAGS; do for x in $CPPFLAGS; do
acl_save_prefix="$prefix" acl_save_prefix="$prefix"
prefix="$acl_final_prefix" prefix="$acl_final_prefix"
acl_save_exec_prefix="$exec_prefix" acl_save_exec_prefix="$exec_prefix"
exec_prefix="$acl_final_exec_prefix" exec_prefix="$acl_final_exec_prefix"
eval x=\"$x\" eval x=\"$x\"
skipping to change at line 8764 skipping to change at line 9094
done done
if test -z "$haveit"; then if test -z "$haveit"; then
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
fi fi
done done
HAVE_LIBPTH=yes HAVE_LIBPTH=yes
gl_have_pth= gl_have_pth=
gl_save_LIBS="$LIBS" gl_save_LIBS="$LIBS"
LIBS="$LIBS -lpth" LIBS="$LIBS $LIBPTH"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <pth.h> #include <pth.h>
int int
main () main ()
{ {
pth_self(); pth_self();
; ;
return 0; return 0;
} }
skipping to change at line 8792 skipping to change at line 9122
if test -n "$gl_have_pth"; then if test -n "$gl_have_pth"; then
gl_threads_api=pth gl_threads_api=pth
LIBTHREAD="$LIBPTH" LIBTHREAD="$LIBPTH"
LTLIBTHREAD="$LTLIBPTH" LTLIBTHREAD="$LTLIBPTH"
LIBMULTITHREAD="$LIBTHREAD" LIBMULTITHREAD="$LIBTHREAD"
LTLIBMULTITHREAD="$LTLIBTHREAD" LTLIBMULTITHREAD="$LTLIBTHREAD"
$as_echo "#define USE_PTH_THREADS 1" >>confdefs.h $as_echo "#define USE_PTH_THREADS 1" >>confdefs.h
if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
if test $gl_have_weak = yes; then if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
$as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h $as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h
LIBTHREAD= LIBTHREAD=
LTLIBTHREAD= LTLIBTHREAD=
fi fi
fi fi
else else
CPPFLAGS="$gl_save_CPPFLAGS" CPPFLAGS="$gl_save_CPPFLAGS"
fi fi
fi fi
if test -z "$gl_have_pthread"; then if test -z "$gl_have_pthread"; then
if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then case "$gl_use_threads" in
if { case "$host_os" in yes | windows | win32) # The 'win32' is for backward compatibility.
mingw*) true;; if { case "$host_os" in
*) false;; mingw*) true;;
esac *) false;;
}; then esac
gl_threads_api=win32 }; then
gl_threads_api=windows
$as_echo "#define USE_WIN32_THREADS 1" >>confdefs.h $as_echo "#define USE_WINDOWS_THREADS 1" >>confdefs.h
fi fi
fi ;;
esac
fi fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
$as_echo_n "checking for multithread API to use... " >&6; } $as_echo_n "checking for multithread API to use... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
$as_echo "$gl_threads_api" >&6; } $as_echo "$gl_threads_api" >&6; }
if test "$gl_threads_api" = posix; then
# OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the
# pthread_rwlock_* functions.
ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t
" "#include <pthread.h>
"
if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
$as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
fi
# glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <pthread.h>
int
main ()
{
#if __FreeBSD__ == 4
error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
#elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \
&& __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070)
error "No, in Mac OS X < 10.7 recursive mutexes actually don't work."
#else
int x = (int)PTHREAD_MUTEX_RECURSIVE;
return !x;
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
$as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
:
use_additional=yes use_additional=yes
acl_save_prefix="$prefix" acl_save_prefix="$prefix"
prefix="$acl_final_prefix" prefix="$acl_final_prefix"
acl_save_exec_prefix="$exec_prefix" acl_save_exec_prefix="$exec_prefix"
exec_prefix="$acl_final_exec_prefix" exec_prefix="$acl_final_exec_prefix"
eval additional_includedir=\"$includedir\" eval additional_includedir=\"$includedir\"
eval additional_libdir=\"$libdir\" eval additional_libdir=\"$libdir\"
skipping to change at line 8859 skipping to change at line 9234
eval additional_includedir=\"$includedir\" eval additional_includedir=\"$includedir\"
eval additional_libdir=\"$libdir\" eval additional_libdir=\"$libdir\"
exec_prefix="$acl_save_exec_prefix" exec_prefix="$acl_save_exec_prefix"
prefix="$acl_save_prefix" prefix="$acl_save_prefix"
else else
additional_includedir="$withval/include" additional_includedir="$withval/include"
additional_libdir="$withval/$acl_libdirstem" additional_libdir="$withval/$acl_libdirstem"
if test "$acl_libdirstem2" != "$acl_libdirstem" \
&& ! test -d "$withval/$acl_libdirstem"; then
additional_libdir="$withval/$acl_libdirstem2"
fi
fi fi
fi fi
fi fi
LIBICONV= LIBICONV=
LTLIBICONV= LTLIBICONV=
INCICONV= INCICONV=
LIBICONV_PREFIX=
HAVE_LIBICONV=
rpathdirs= rpathdirs=
ltrpathdirs= ltrpathdirs=
names_already_handled= names_already_handled=
names_next_round='iconv ' names_next_round='iconv '
while test -n "$names_next_round"; do while test -n "$names_next_round"; do
names_this_round="$names_next_round" names_this_round="$names_next_round"
names_next_round= names_next_round=
for name in $names_this_round; do for name in $names_this_round; do
already_handled= already_handled=
for n in $names_already_handled; do for n in $names_already_handled; do
if test "$n" = "$name"; then if test "$n" = "$name"; then
already_handled=yes already_handled=yes
break break
fi fi
done done
if test -z "$already_handled"; then if test -z "$already_handled"; then
names_already_handled="$names_already_handled $name" names_already_handled="$names_already_handled $name"
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrst uvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrst uvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
eval value=\"\$HAVE_LIB$uppername\" eval value=\"\$HAVE_LIB$uppername\"
if test -n "$value"; then if test -n "$value"; then
if test "$value" = yes; then if test "$value" = yes; then
eval value=\"\$LIB$uppername\" eval value=\"\$LIB$uppername\"
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
eval value=\"\$LTLIB$uppername\" eval value=\"\$LTLIB$uppername\"
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
else else
: :
fi fi
else else
found_dir= found_dir=
found_la= found_la=
found_so= found_so=
found_a= found_a=
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
if test -n "$acl_shlibext"; then
shrext=".$acl_shlibext" # typically: shrext=.so
else
shrext=
fi
if test $use_additional = yes; then if test $use_additional = yes; then
if test -n "$shlibext" \ dir="$additional_libdir"
&& { test -f "$additional_libdir/lib$name.$shlibext" \ if test -n "$acl_shlibext"; then
|| { test "$shlibext" = dll \ if test -f "$dir/$libname$shrext"; then
&& test -f "$additional_libdir/lib$name.dll.a"; }; }; t found_dir="$dir"
hen found_so="$dir/$libname$shrext"
found_dir="$additional_libdir"
if test -f "$additional_libdir/lib$name.$shlibext"; then
found_so="$additional_libdir/lib$name.$shlibext"
else else
found_so="$additional_libdir/lib$name.dll.a" if test "$acl_library_names_spec" = '$libname$shrext$versuffix';
then
ver=`(cd "$dir" && \
for f in "$libname$shrext".*; do echo "$f"; done \
| sed -e "s,^$libname$shrext\\\\.,," \
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
| sed 1q ) 2>/dev/null`
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
found_dir="$dir"
found_so="$dir/$libname$shrext.$ver"
fi
else
eval library_names=\"$acl_library_names_spec\"
for f in $library_names; do
if test -f "$dir/$f"; then
found_dir="$dir"
found_so="$dir/$f"
break
fi
done
fi
fi fi
if test -f "$additional_libdir/lib$name.la"; then fi
found_la="$additional_libdir/lib$name.la" if test "X$found_dir" = "X"; then
if test -f "$dir/$libname.$acl_libext"; then
found_dir="$dir"
found_a="$dir/$libname.$acl_libext"
fi fi
else fi
if test -f "$additional_libdir/lib$name.$libext"; then if test "X$found_dir" != "X"; then
found_dir="$additional_libdir" if test -f "$dir/$libname.la"; then
found_a="$additional_libdir/lib$name.$libext" found_la="$dir/$libname.la"
if test -f "$additional_libdir/lib$name.la"; then
found_la="$additional_libdir/lib$name.la"
fi
fi fi
fi fi
fi fi
if test "X$found_dir" = "X"; then if test "X$found_dir" = "X"; then
for x in $LDFLAGS $LTLIBICONV; do for x in $LDFLAGS $LTLIBICONV; do
acl_save_prefix="$prefix" acl_save_prefix="$prefix"
prefix="$acl_final_prefix" prefix="$acl_final_prefix"
acl_save_exec_prefix="$exec_prefix" acl_save_exec_prefix="$exec_prefix"
exec_prefix="$acl_final_exec_prefix" exec_prefix="$acl_final_exec_prefix"
eval x=\"$x\" eval x=\"$x\"
exec_prefix="$acl_save_exec_prefix" exec_prefix="$acl_save_exec_prefix"
prefix="$acl_save_prefix" prefix="$acl_save_prefix"
case "$x" in case "$x" in
-L*) -L*)
dir=`echo "X$x" | sed -e 's/^X-L//'` dir=`echo "X$x" | sed -e 's/^X-L//'`
if test -n "$shlibext" \ if test -n "$acl_shlibext"; then
&& { test -f "$dir/lib$name.$shlibext" \ if test -f "$dir/$libname$shrext"; then
|| { test "$shlibext" = dll \ found_dir="$dir"
&& test -f "$dir/lib$name.dll.a"; }; }; then found_so="$dir/$libname$shrext"
found_dir="$dir"
if test -f "$dir/lib$name.$shlibext"; then
found_so="$dir/lib$name.$shlibext"
else else
found_so="$dir/lib$name.dll.a" if test "$acl_library_names_spec" = '$libname$shrext$versu
fi ffix'; then
if test -f "$dir/lib$name.la"; then ver=`(cd "$dir" && \
found_la="$dir/lib$name.la" for f in "$libname$shrext".*; do echo "$f"; done \
| sed -e "s,^$libname$shrext\\\\.,," \
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5
\
| sed 1q ) 2>/dev/null`
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"
; then
found_dir="$dir"
found_so="$dir/$libname$shrext.$ver"
fi
else
eval library_names=\"$acl_library_names_spec\"
for f in $library_names; do
if test -f "$dir/$f"; then
found_dir="$dir"
found_so="$dir/$f"
break
fi
done
fi
fi fi
else fi
if test -f "$dir/lib$name.$libext"; then if test "X$found_dir" = "X"; then
if test -f "$dir/$libname.$acl_libext"; then
found_dir="$dir" found_dir="$dir"
found_a="$dir/lib$name.$libext" found_a="$dir/$libname.$acl_libext"
if test -f "$dir/lib$name.la"; then fi
found_la="$dir/lib$name.la" fi
fi if test "X$found_dir" != "X"; then
if test -f "$dir/$libname.la"; then
found_la="$dir/$libname.la"
fi fi
fi fi
;; ;;
esac esac
if test "X$found_dir" != "X"; then if test "X$found_dir" != "X"; then
break break
fi fi
done done
fi fi
if test "X$found_dir" != "X"; then if test "X$found_dir" != "X"; then
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l $name" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l $name"
if test "X$found_so" != "X"; then if test "X$found_so" != "X"; then
if test "$enable_rpath" if test "$enable_rpath"
= no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then = no \
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
else else
haveit= haveit=
for x in $ltrpathdirs; do for x in $ltrpathdirs; do
if test "X$x" = "X$found_dir"; then if test "X$x" = "X$found_dir"; then
haveit=yes haveit=yes
break break
fi fi
done done
if test -z "$haveit"; then if test -z "$haveit"; then
ltrpathdirs="$ltrpathdirs $found_dir" ltrpathdirs="$ltrpathdirs $found_dir"
fi fi
if test "$hardcode_direct" = yes; then if test "$acl_hardcode_direct" = yes; then
LIBICONV="${LIBICONV}${LIB ICONV:+ }$found_so" LIBICONV="${LIBICONV}${LIB ICONV:+ }$found_so"
else else
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_min us_L" = no; then if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hard code_minus_L" = no; then
LIBICONV="${LIBICONV }${LIBICONV:+ }$found_so" LIBICONV="${LIBICONV }${LIBICONV:+ }$found_so"
haveit= haveit=
for x in $rpathdirs; do for x in $rpathdirs; do
if test "X$x" = "X$found_dir"; then if test "X$x" = "X$found_dir"; then
haveit=yes haveit=yes
break break
fi fi
done done
if test -z "$haveit"; then if test -z "$haveit"; then
rpathdirs="$rpathdirs $found_dir" rpathdirs="$rpathdirs $found_dir"
skipping to change at line 9018 skipping to change at line 9440
prefix="$acl_save_prefix" prefix="$acl_save_prefix"
if test "X$x" = "X-L$found_dir"; then if test "X$x" = "X-L$found_dir"; then
haveit=yes haveit=yes
break break
fi fi
done done
if test -z "$haveit"; then if test -z "$haveit"; then
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
fi fi
if test "$hardcode_minus_L" != no; then if test "$acl_hardcode_minus_L" != no; then
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
else else
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
fi fi
fi fi
fi fi
fi fi
else else
if test "X$found_a" != "X"; then if test "X$found_a" != "X"; then
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
else else
LIBICONV="${LIBICONV}${LIBICONV: + }-L$found_dir -l$name" LIBICONV="${LIBICONV}${LIBICONV: + }-L$found_dir -l$name"
fi fi
fi fi
additional_includedir= additional_includedir=
case "$found_dir" in case "$found_dir" in
*/$acl_libdirstem | */$acl_libdirstem/) */$acl_libdirstem | */$acl_libdirstem/)
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir stem/"'*$,,'` basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir stem/"'*$,,'`
if test "$name" = 'iconv'; then
LIBICONV_PREFIX="$basedir"
fi
additional_includedir="$basedir/include"
;;
*/$acl_libdirstem2 | */$acl_libdirstem2/)
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir
stem2/"'*$,,'`
if test "$name" = 'iconv'; then
LIBICONV_PREFIX="$basedir"
fi
additional_includedir="$basedir/include" additional_includedir="$basedir/include"
;; ;;
esac esac
if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X"; then
if test "X$additional_includedir" != "X/usr/incl ude"; then if test "X$additional_includedir" != "X/usr/incl ude"; then
haveit= haveit=
if test "X$additional_includedir" = "X/usr/local/include"; then if test "X$additional_includedir" = "X/usr/local/include"; then
if test -n "$GCC"; then if test -n "$GCC"; then
case $host_os in case $host_os in
linux* | gnu* | k*bsd*-gnu) haveit=yes;; linux* | gnu* | k*bsd*-gnu) haveit=yes;;
skipping to change at line 9085 skipping to change at line 9517
save_libdir="$libdir" save_libdir="$libdir"
case "$found_la" in case "$found_la" in
*/* | *\\*) . "$found_la" ;; */* | *\\*) . "$found_la" ;;
*) . "./$found_la" ;; *) . "./$found_la" ;;
esac esac
libdir="$save_libdir" libdir="$save_libdir"
for dep in $dependency_libs; do for dep in $dependency_libs; do
case "$dep" in case "$dep" in
-L*) -L*)
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"
; then
haveit= haveit=
if test "X$additional_libdir" = "X/usr/local/$acl_libdirst if test "X$additional_libdir" = "X/usr/local/$acl_libdirst
em"; then em" \
|| test "X$additional_libdir" = "X/usr/local/$acl_libdi
rstem2"; then
if test -n "$GCC"; then if test -n "$GCC"; then
case $host_os in case $host_os in
linux* | gnu* | k*bsd*-gnu) haveit=yes;; linux* | gnu* | k*bsd*-gnu) haveit=yes;;
esac esac
fi fi
fi fi
if test -z "$haveit"; then if test -z "$haveit"; then
haveit= haveit=
for x in $LDFLAGS $LIBICONV; do for x in $LDFLAGS $LIBICONV; do
skipping to change at line 9187 skipping to change at line 9621
fi fi
else else
LIBICONV="${LIBICONV }${LIBICONV:+ }-l$name" LIBICONV="${LIBICONV }${LIBICONV:+ }-l$name"
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
fi fi
fi fi
fi fi
done done
done done
if test "X$rpathdirs" != "X"; then if test "X$rpathdirs" != "X"; then
if test -n "$hardcode_libdir_separator"; then if test -n "$acl_hardcode_libdir_separator"; then
alldirs= alldirs=
for found_dir in $rpathdirs; do for found_dir in $rpathdirs; do
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
done done
acl_save_libdir="$libdir" acl_save_libdir="$libdir"
libdir="$alldirs" libdir="$alldirs"
eval flag=\"$hardcode_libdir_flag_spec\" eval flag=\"$acl_hardcode_libdir_flag_spec\"
libdir="$acl_save_libdir" libdir="$acl_save_libdir"
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
else else
for found_dir in $rpathdirs; do for found_dir in $rpathdirs; do
acl_save_libdir="$libdir" acl_save_libdir="$libdir"
libdir="$found_dir" libdir="$found_dir"
eval flag=\"$hardcode_libdir_flag_spec\" eval flag=\"$acl_hardcode_libdir_flag_spec\"
libdir="$acl_save_libdir" libdir="$acl_save_libdir"
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
done done
fi fi
fi fi
if test "X$ltrpathdirs" != "X"; then if test "X$ltrpathdirs" != "X"; then
for found_dir in $ltrpathdirs; do for found_dir in $ltrpathdirs; do
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
done done
fi fi
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }
int
main ()
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
$as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
for ac_header in argz.h inttypes.h limits.h unistd.h sys/param.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default"
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
for ac_func in getcwd getegid geteuid getgid getuid mempcpy munmap \
stpcpy strcasecmp strdup strtoul tsearch argz_count argz_stringify \
argz_next __fsetlocking
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is dec
lared" >&5
$as_echo_n "checking whether feof_unlocked is declared... " >&6; }
if ${ac_cv_have_decl_feof_unlocked+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
int
main ()
{
#ifndef feof_unlocked
char *p = (char *) feof_unlocked;
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_have_decl_feof_unlocked=yes
else
ac_cv_have_decl_feof_unlocked=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked"
>&5
$as_echo "$ac_cv_have_decl_feof_unlocked" >&6; }
if test $ac_cv_have_decl_feof_unlocked = yes; then
gt_value=1
else
gt_value=0
fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_FEOF_UNLOCKED $gt_value
_ACEOF
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is de
clared" >&5
$as_echo_n "checking whether fgets_unlocked is declared... " >&6; }
if ${ac_cv_have_decl_fgets_unlocked+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
int
main ()
{
#ifndef fgets_unlocked
char *p = (char *) fgets_unlocked;
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_have_decl_fgets_unlocked=yes
else
ac_cv_have_decl_fgets_unlocked=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked
" >&5
$as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; }
if test $ac_cv_have_decl_fgets_unlocked = yes; then
gt_value=1
else
gt_value=0
fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_FGETS_UNLOCKED $gt_value
_ACEOF
am_save_CPPFLAGS="$CPPFLAGS" am_save_CPPFLAGS="$CPPFLAGS"
for element in $INCICONV; do for element in $INCICONV; do
haveit= haveit=
for x in $CPPFLAGS; do for x in $CPPFLAGS; do
acl_save_prefix="$prefix" acl_save_prefix="$prefix"
prefix="$acl_final_prefix" prefix="$acl_final_prefix"
acl_save_exec_prefix="$exec_prefix" acl_save_exec_prefix="$exec_prefix"
exec_prefix="$acl_final_exec_prefix" exec_prefix="$acl_final_exec_prefix"
skipping to change at line 9371 skipping to change at line 9681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
$as_echo_n "checking for iconv... " >&6; } $as_echo_n "checking for iconv... " >&6; }
if ${am_cv_func_iconv+:} false; then : if ${am_cv_func_iconv+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_func_iconv="no, consider installing GNU libiconv"
am_cv_lib_iconv=no am_cv_lib_iconv=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdlib.h> #include <stdlib.h>
#include <iconv.h> #include <iconv.h>
int int
main () main ()
{ {
iconv_t cd = iconv_open("",""); iconv_t cd = iconv_open("","");
iconv(cd,NULL,NULL,NULL,NULL); iconv(cd,NULL,NULL,NULL,NULL);
iconv_close(cd); iconv_close(cd);
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
am_cv_func_iconv=yes am_cv_func_iconv=yes
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
if test "$am_cv_func_iconv" != yes; then if test "$am_cv_func_iconv" != yes; then
am_save_LIBS="$LIBS" am_save_LIBS="$LIBS"
LIBS="$LIBS $LIBICONV" LIBS="$LIBS $LIBICONV"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdlib.h> #include <stdlib.h>
#include <iconv.h> #include <iconv.h>
int int
main () main ()
{ {
iconv_t cd = iconv_open("",""); iconv_t cd = iconv_open("","");
iconv(cd,NULL,NULL,NULL,NULL); iconv(cd,NULL,NULL,NULL,NULL);
iconv_close(cd); iconv_close(cd);
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
am_cv_lib_iconv=yes am_cv_lib_iconv=yes
am_cv_func_iconv=yes am_cv_func_iconv=yes
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS="$am_save_LIBS" LIBS="$am_save_LIBS"
fi fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
$as_echo "$am_cv_func_iconv" >&6; } $as_echo "$am_cv_func_iconv" >&6; }
if test "$am_cv_func_iconv" = yes; then if test "$am_cv_func_iconv" = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
$as_echo_n "checking for working iconv... " >&6; }
if ${am_cv_func_iconv_works+:} false; then :
$as_echo_n "(cached) " >&6
else
am_save_LIBS="$LIBS"
if test $am_cv_lib_iconv = yes; then
LIBS="$LIBS $LIBICONV"
fi
am_cv_func_iconv_works=no
for ac_iconv_const in '' 'const'; do
if test "$cross_compiling" = yes; then :
case "$host_os" in
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
*) am_cv_func_iconv_works="guessing yes" ;;
esac
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <iconv.h>
#include <string.h>
#ifndef ICONV_CONST
# define ICONV_CONST $ac_iconv_const
#endif
int
main ()
{
int result = 0;
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
returns. */
{
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
if (cd_utf8_to_88591 != (iconv_t)(-1))
{
static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
char buf[10];
ICONV_CONST char *inptr = input;
size_t inbytesleft = strlen (input);
char *outptr = buf;
size_t outbytesleft = sizeof (buf);
size_t res = iconv (cd_utf8_to_88591,
&inptr, &inbytesleft,
&outptr, &outbytesleft);
if (res == 0)
result |= 1;
iconv_close (cd_utf8_to_88591);
}
}
/* Test against Solaris 10 bug: Failures are not distinguishable from
successful returns. */
{
iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
if (cd_ascii_to_88591 != (iconv_t)(-1))
{
static ICONV_CONST char input[] = "\263";
char buf[10];
ICONV_CONST char *inptr = input;
size_t inbytesleft = strlen (input);
char *outptr = buf;
size_t outbytesleft = sizeof (buf);
size_t res = iconv (cd_ascii_to_88591,
&inptr, &inbytesleft,
&outptr, &outbytesleft);
if (res == 0)
result |= 2;
iconv_close (cd_ascii_to_88591);
}
}
/* Test against AIX 6.1..7.1 bug: Buffer overrun. */
{
iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
if (cd_88591_to_utf8 != (iconv_t)(-1))
{
static ICONV_CONST char input[] = "\304";
static char buf[2] = { (char)0xDE, (char)0xAD };
ICONV_CONST char *inptr = input;
size_t inbytesleft = 1;
char *outptr = buf;
size_t outbytesleft = 1;
size_t res = iconv (cd_88591_to_utf8,
&inptr, &inbytesleft,
&outptr, &outbytesleft);
if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
result |= 4;
iconv_close (cd_88591_to_utf8);
}
}
#if 0 /* This bug could be worked around by the caller. */
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
{
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
if (cd_88591_to_utf8 != (iconv_t)(-1))
{
static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne
Augenma\337";
char buf[50];
ICONV_CONST char *inptr = input;
size_t inbytesleft = strlen (input);
char *outptr = buf;
size_t outbytesleft = sizeof (buf);
size_t res = iconv (cd_88591_to_utf8,
&inptr, &inbytesleft,
&outptr, &outbytesleft);
if ((int)res > 0)
result |= 8;
iconv_close (cd_88591_to_utf8);
}
}
#endif
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
provided. */
if (/* Try standardized names. */
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
/* Try IRIX, OSF/1 names. */
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
/* Try AIX names. */
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
/* Try HP-UX names. */
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
result |= 16;
return result;
;
return 0;
}
_ACEOF
if ac_fn_c_try_run "$LINENO"; then :
am_cv_func_iconv_works=yes
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
test "$am_cv_func_iconv_works" = no || break
done
LIBS="$am_save_LIBS"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
$as_echo "$am_cv_func_iconv_works" >&6; }
case "$am_cv_func_iconv_works" in
*no) am_func_iconv=no am_cv_lib_iconv=no ;;
*) am_func_iconv=yes ;;
esac
else
am_func_iconv=no am_cv_lib_iconv=no
fi
if test "$am_func_iconv" = yes; then
$as_echo "#define HAVE_ICONV 1" >>confdefs.h $as_echo "#define HAVE_ICONV 1" >>confdefs.h
fi fi
if test "$am_cv_lib_iconv" = yes; then if test "$am_cv_lib_iconv" = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
$as_echo_n "checking how to link with libiconv... " >&6; } $as_echo_n "checking how to link with libiconv... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
$as_echo "$LIBICONV" >&6; } $as_echo "$LIBICONV" >&6; }
else else
skipping to change at line 9449 skipping to change at line 9914
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdlib.h> #include <stdlib.h>
#include <iconv.h> #include <iconv.h>
extern extern
#ifdef __cplusplus #ifdef __cplusplus
"C" "C"
#endif #endif
#if defined(__STDC__) || defined(__cplusplus) #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, si ze_t *outbytesleft); size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, si ze_t *outbytesleft);
#else #else
size_t iconv(); size_t iconv();
#endif #endif
int int
main () main ()
{ {
; ;
skipping to change at line 9473 skipping to change at line 9938
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
am_cv_proto_iconv_arg1="" am_cv_proto_iconv_arg1=""
else else
am_cv_proto_iconv_arg1="const" am_cv_proto_iconv_arg1="const"
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg 1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg 1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
fi fi
am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- { $as_echo "$as_me:${as_lineno-$LINENO}: result:
}$am_cv_proto_iconv" >&5 $am_cv_proto_iconv" >&5
$as_echo "${ac_t:- $as_echo "
}$am_cv_proto_iconv" >&6; } $am_cv_proto_iconv" >&6; }
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define ICONV_CONST $am_cv_proto_iconv_arg1 #define ICONV_CONST $am_cv_proto_iconv_arg1
_ACEOF _ACEOF
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NL_LOCALE_NAME macro
" >&5
$as_echo_n "checking for NL_LOCALE_NAME macro... " >&6; }
if ${gt_cv_nl_locale_name+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <langinfo.h> int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }
#include <locale.h>
int int
main () main ()
{ {
char* cs = nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES));
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
gt_cv_nl_locale_name=yes
else $as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h
gt_cv_nl_locale_name=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
for ac_header in argz.h inttypes.h limits.h unistd.h sys/param.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default"
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_nl_locale_name" >&5
$as_echo "$gt_cv_nl_locale_name" >&6; }
if test $gt_cv_nl_locale_name = yes; then
$as_echo "#define HAVE_NL_LOCALE_NAME 1" >>confdefs.h done
for ac_func in getcwd getegid geteuid getgid getuid mempcpy munmap \
stpcpy strcasecmp strdup strtoul tsearch uselocale argz_count \
argz_stringify argz_next __fsetlocking
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
done
if test $ac_cv_func_uselocale = yes; then
for ac_func in getlocalename_l
do :
ac_fn_c_check_func "$LINENO" "getlocalename_l" "ac_cv_func_getlocalename_l"
if test "x$ac_cv_func_getlocalename_l" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_GETLOCALENAME_L 1
_ACEOF
fi
done
fi fi
for ac_prog in bison ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unl
ocked" "#include <stdio.h>
"
if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
ac_have_decl=1
else
ac_have_decl=0
fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
_ACEOF
ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "
#include <stdio.h>
"
if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
ac_have_decl=1
else
ac_have_decl=0
fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
_ACEOF
for ac_prog in bison
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_INTLBISON+:} false; then : if ${ac_cv_prog_INTLBISON+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$INTLBISON"; then if test -n "$INTLBISON"; then
ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test. ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
skipping to change at line 9567 skipping to change at line 10081
done done
if test -z "$INTLBISON"; then if test -z "$INTLBISON"; then
ac_verc_fail=yes ac_verc_fail=yes
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
$as_echo_n "checking version of bison... " >&6; } $as_echo_n "checking version of bison... " >&6; }
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9 ]*\.[0-9.]*\).*$/\1/p'` ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9 ]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) 2.[7-9]* | [3-9].*)
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
esac esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
$as_echo "$ac_prog_version" >&6; } $as_echo "$ac_prog_version" >&6; }
fi fi
if test $ac_verc_fail = yes; then if test $ac_verc_fail = yes; then
INTLBISON=: INTLBISON=:
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
$as_echo_n "checking for long long int... " >&6; } $as_echo_n "checking for long long int... " >&6; }
if ${ac_cv_type_long_long_int+:} false; then : if ${ac_cv_type_long_long_int+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_cv_type_long_long_int=yes
if test "x${ac_cv_prog_cc_c99-no}" = xno; then
ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
if test $ac_cv_type_long_long_int = yes; then
if test "$cross_compiling" = yes; then :
:
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
long long int ll = 9223372036854775807ll; #include <limits.h>
long long int nll = -9223372036854775807LL; #ifndef LLONG_MAX
typedef int a[((-9223372036854775807LL < 0 # define HALF \
&& 0 < 9223372036854775807ll) (1LL << (sizeof (long long int) * CHAR_BIT - 2))
? 1 : -1)]; # define LLONG_MAX (HALF - 1 + HALF)
int i = 63; #endif
int int
main () main ()
{ {
long long int llmax = 9223372036854775807ll; long long int n = 1;
return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) int i;
| (llmax / ll) | (llmax % ll)); for (i = 0; ; i++)
{
long long int m = n << i;
if (m >> i != n)
return 1;
if (LLONG_MAX / 2 < m)
break;
}
return 0;
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_run "$LINENO"; then :
ac_cv_type_long_long_int=yes
else else
ac_cv_type_long_long_int=no ac_cv_type_long_long_int=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest$ac_exeext conftest.$ac_ext conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
fi
fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
$as_echo "$ac_cv_type_long_long_int" >&6; } $as_echo "$ac_cv_type_long_long_int" >&6; }
if test $ac_cv_type_long_long_int = yes; then if test $ac_cv_type_long_long_int = yes; then
$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
$as_echo_n "checking for long double... " >&6; }
if ${gt_cv_c_long_double+:} false; then :
$as_echo_n "(cached) " >&6
else
if test "$GCC" = yes; then
gt_cv_c_long_double=yes
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* The Stardent Vistra knows sizeof(long double), but does not support
it. */
long double foo = 0.0;
/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
int array [2*(sizeof(long double) >= sizeof(double)) - 1];
int
main ()
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
gt_cv_c_long_double=yes
else
gt_cv_c_long_double=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_long_double" >&5
$as_echo "$gt_cv_c_long_double" >&6; }
if test $gt_cv_c_long_double = yes; then
$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
$as_echo_n "checking for wchar_t... " >&6; } $as_echo_n "checking for wchar_t... " >&6; }
if ${gt_cv_c_wchar_t+:} false; then : if ${gt_cv_c_wchar_t+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <stddef.h> #include <stddef.h>
wchar_t foo = (wchar_t)'\0'; wchar_t foo = (wchar_t)'\0';
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
gt_cv_c_wchar_t=yes gt_cv_c_wchar_t=yes
skipping to change at line 9696 skipping to change at line 10189
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
$as_echo_n "checking for wint_t... " >&6; } $as_echo_n "checking for wint_t... " >&6; }
if ${gt_cv_c_wint_t+:} false; then : if ${gt_cv_c_wint_t+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
<wchar.h>.
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
before <wchar.h>. */
#include <stddef.h>
#include <stdio.h>
#include <time.h>
#include <wchar.h> #include <wchar.h>
wint_t foo = (wchar_t)'\0'; wint_t foo = (wchar_t)'\0';
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
gt_cv_c_wint_t=yes gt_cv_c_wint_t=yes
skipping to change at line 9742 skipping to change at line 10243
#include <stdint.h> #include <stdint.h>
#endif #endif
#if HAVE_INTTYPES_H_WITH_UINTMAX #if HAVE_INTTYPES_H_WITH_UINTMAX
#include <inttypes.h> #include <inttypes.h>
#endif #endif
int int
main () main ()
{ {
intmax_t x = -1; intmax_t x = -1;
return !x; return !x;
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
gt_cv_c_intmax_t=yes gt_cv_c_intmax_t=yes
else else
gt_cv_c_intmax_t=no gt_cv_c_intmax_t=no
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
skipping to change at line 9770 skipping to change at line 10271
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports PO SIX/XSI format strings" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports PO SIX/XSI format strings" >&5
$as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6 ; } $as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6 ; }
if ${gt_cv_func_printf_posix+:} false; then : if ${gt_cv_func_printf_posix+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test "$cross_compiling" = yes; then : if test "$cross_compiling" = yes; then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __C YGWIN__ #if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MING W32__ || defined __CYGWIN__
notposix notposix
#endif #endif
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "notposix" >/dev/null 2>&1; then : $EGREP "notposix" >/dev/null 2>&1; then :
gt_cv_func_printf_posix="guessing no" gt_cv_func_printf_posix="guessing no"
else else
gt_cv_func_printf_posix="guessing yes" gt_cv_func_printf_posix="guessing yes"
fi fi
skipping to change at line 9822 skipping to change at line 10323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
$as_echo "$gt_cv_func_printf_posix" >&6; } $as_echo "$gt_cv_func_printf_posix" >&6; }
case $gt_cv_func_printf_posix in case $gt_cv_func_printf_posix in
*yes) *yes)
$as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h $as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
;; ;;
esac esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the G { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the G
NU C Library 2.1 or newer" >&5 NU C Library >= 2.1 or uClibc" >&5
$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >& $as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc...
6; } " >&6; }
if ${ac_cv_gnu_library_2_1+:} false; then : if ${ac_cv_gnu_library_2_1+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <features.h> #include <features.h>
#ifdef __GNU_LIBRARY__ #ifdef __GNU_LIBRARY__
#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
Lucky GNU user Lucky GNU user
#endif #endif
#endif #endif
#ifdef __UCLIBC__
Lucky user
#endif
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "Lucky GNU user" >/dev/null 2>&1; then : $EGREP "Lucky" >/dev/null 2>&1; then :
ac_cv_gnu_library_2_1=yes ac_cv_gnu_library_2_1=yes
else else
ac_cv_gnu_library_2_1=no ac_cv_gnu_library_2_1=no
fi fi
rm -f conftest* rm -f conftest*
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
$as_echo "$ac_cv_gnu_library_2_1" >&6; } $as_echo "$ac_cv_gnu_library_2_1" >&6; }
skipping to change at line 9866 skipping to change at line 10370
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_STDINT_H 1 #define HAVE_STDINT_H 1
_ACEOF _ACEOF
fi fi
done done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
$as_echo_n "checking for SIZE_MAX... " >&6; } $as_echo_n "checking for SIZE_MAX... " >&6; }
if ${gl_cv_size_max+:} false; then : if ${gl_cv_size_max+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
gl_cv_size_max= gl_cv_size_max=
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <limits.h> #include <limits.h>
#if HAVE_STDINT_H #if HAVE_STDINT_H
#include <stdint.h> #include <stdint.h>
skipping to change at line 9907 skipping to change at line 10411
if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int) " "fits_in_uint" "#include <stddef.h>"; then : if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int) " "fits_in_uint" "#include <stddef.h>"; then :
else else
fits_in_uint= fits_in_uint=
fi fi
if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
if test $fits_in_uint = 1; then if test $fits_in_uint = 1; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <stddef.h> #include <stddef.h>
extern size_t foo; extern size_t foo;
extern unsigned long foo; extern unsigned long foo;
int
main ()
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
fits_in_uint=0
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
if test $fits_in_uint = 1; then
gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
else
gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
fi
else
gl_cv_size_max='((size_t)~(size_t)0)'
fi
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
$as_echo "$gl_cv_size_max" >&6; }
if test "$gl_cv_size_max" != yes; then
cat >>confdefs.h <<_ACEOF
#define SIZE_MAX $gl_cv_size_max
_ACEOF
fi
for ac_header in stdint.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac
_includes_default"
if test "x$ac_cv_header_stdint_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_STDINT_H 1
_ACEOF
fi
done
for ac_func in $ac_func_list
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
$as_echo_n "checking for working fcntl.h... " >&6; }
if ${gl_cv_header_working_fcntl_h+:} false; then :
$as_echo_n "(cached) " >&6
else
if test "$cross_compiling" = yes; then :
gl_cv_header_working_fcntl_h=cross-compiling
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
#if HAVE_UNISTD_H
# include <unistd.h>
#else /* on Windows with MSVC */
# include <io.h>
# include <stdlib.h>
# defined sleep(n) _sleep ((n) * 1000)
#endif
#include <fcntl.h>
#ifndef O_NOATIME
#define O_NOATIME 0
#endif
#ifndef O_NOFOLLOW
#define O_NOFOLLOW 0
#endif
static int const constants[] =
{
O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
};
int int
main () main ()
{ {
int result = !constants;
#if HAVE_SYMLINK
{
static char const sym[] = "conftest.sym";
if (symlink ("/dev/null", sym) != 0)
result |= 2;
else
{
int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
if (fd >= 0)
{
close (fd);
result |= 4;
}
}
if (unlink (sym) != 0 || symlink (".", sym) != 0)
result |= 2;
else
{
int fd = open (sym, O_RDONLY | O_NOFOLLOW);
if (fd >= 0)
{
close (fd);
result |= 4;
}
}
unlink (sym);
}
#endif
{
static char const file[] = "confdefs.h";
int fd = open (file, O_RDONLY | O_NOATIME);
if (fd < 0)
result |= 8;
else
{
struct stat st0;
if (fstat (fd, &st0) != 0)
result |= 16;
else
{
char c;
sleep (1);
if (read (fd, &c, 1) != 1)
result |= 24;
else
{
if (close (fd) != 0)
result |= 32;
else
{
struct stat st1;
if (stat (file, &st1) != 0)
result |= 40;
else
if (st0.st_atime != st1.st_atime)
result |= 64;
}
}
}
}
}
return result;
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_run "$LINENO"; then :
fits_in_uint=0 gl_cv_header_working_fcntl_h=yes
else
case $? in #(
4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
*) gl_cv_header_working_fcntl_h='no';;
esac
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
if test $fits_in_uint = 1; then
gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
else
gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
fi
else
gl_cv_size_max='((size_t)~(size_t)0)'
fi
fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h"
>&5
$as_echo "$gl_cv_header_working_fcntl_h" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 case $gl_cv_header_working_fcntl_h in #(
$as_echo "$gl_cv_size_max" >&6; } *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
if test "$gl_cv_size_max" != yes; then *) ac_val=1;;
esac
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define SIZE_MAX $gl_cv_size_max #define HAVE_WORKING_O_NOATIME $ac_val
_ACEOF _ACEOF
fi case $gl_cv_header_working_fcntl_h in #(
*O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
*) ac_val=1;;
esac
for ac_header in stdint.h cat >>confdefs.h <<_ACEOF
do : #define HAVE_WORKING_O_NOFOLLOW $ac_val
ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac
_includes_default"
if test "x$ac_cv_header_stdint_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_STDINT_H 1
_ACEOF _ACEOF
fi
done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppVa lue" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppVa lue" >&5
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
gt_save_LIBS="$LIBS" gt_save_LIBS="$LIBS"
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <CoreFoundation/CFPreferences.h> #include <CoreFoundation/CFPreferences.h>
skipping to change at line 10031 skipping to change at line 10685
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
fi fi
INTL_MACOSX_LIBS= INTL_MACOSX_LIBS=
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLoca leCopyCurrent = yes; then if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLoca leCopyCurrent = yes; then
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
fi fi
case "$enable_silent_rules" in
yes) INTL_DEFAULT_VERBOSITY=0;;
no) INTL_DEFAULT_VERBOSITY=1;;
*) INTL_DEFAULT_VERBOSITY=1;;
esac
ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_ default" ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_ default"
if test "x$ac_cv_type_ptrdiff_t" = xyes; then : if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
else else
$as_echo "#define ptrdiff_t long" >>confdefs.h $as_echo "#define ptrdiff_t long" >>confdefs.h
fi fi
for ac_header in stddef.h stdlib.h string.h for ac_header in features.h stddef.h stdlib.h string.h
do : do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include s_default" ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include s_default"
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF _ACEOF
fi fi
done done
for ac_func in asprintf fwprintf putenv setenv setlocale snprintf wcslen for ac_func in asprintf fwprintf newlocale putenv setenv setlocale \
snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb
do : do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF _ACEOF
fi fi
done done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declare ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#inc
d" >&5 lude <stdio.h>
$as_echo_n "checking whether _snprintf is declared... " >&6; } "
if ${ac_cv_have_decl__snprintf+:} false; then : if test "x$ac_cv_have_decl__snprintf" = xyes; then :
$as_echo_n "(cached) " >&6 ac_have_decl=1
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
int
main ()
{
#ifndef _snprintf
char *p = (char *) _snprintf;
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_have_decl__snprintf=yes
else else
ac_cv_have_decl__snprintf=no ac_have_decl=0
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5
$as_echo "$ac_cv_have_decl__snprintf" >&6; }
if test $ac_cv_have_decl__snprintf = yes; then
gt_value=1
else
gt_value=0
fi
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_DECL__SNPRINTF $gt_value #define HAVE_DECL__SNPRINTF $ac_have_decl
_ACEOF
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declar
ed" >&5
$as_echo_n "checking whether _snwprintf is declared... " >&6; }
if ${ac_cv_have_decl__snwprintf+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
int
main ()
{
#ifndef _snwprintf
char *p = (char *) _snwprintf;
#endif
;
return 0;
}
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : ac_fn_c_check_decl "$LINENO" "_snwprintf" "ac_cv_have_decl__snwprintf" "#include
ac_cv_have_decl__snwprintf=yes <stdio.h>
"
if test "x$ac_cv_have_decl__snwprintf" = xyes; then :
ac_have_decl=1
else else
ac_cv_have_decl__snwprintf=no ac_have_decl=0
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&
5
$as_echo "$ac_cv_have_decl__snwprintf" >&6; }
if test $ac_cv_have_decl__snwprintf = yes; then
gt_value=1
else
gt_value=0
fi
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_DECL__SNWPRINTF $gt_value #define HAVE_DECL__SNWPRINTF $ac_have_decl
_ACEOF _ACEOF
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is dec ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unl
lared" >&5 ocked" "#include <stdio.h>
$as_echo_n "checking whether getc_unlocked is declared... " >&6; } "
if ${ac_cv_have_decl_getc_unlocked+:} false; then : if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
$as_echo_n "(cached) " >&6 ac_have_decl=1
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
int
main ()
{
#ifndef getc_unlocked
char *p = (char *) getc_unlocked;
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_have_decl_getc_unlocked=yes
else else
ac_cv_have_decl_getc_unlocked=no ac_have_decl=0
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked"
>&5
$as_echo "$ac_cv_have_decl_getc_unlocked" >&6; }
if test $ac_cv_have_decl_getc_unlocked = yes; then
gt_value=1
else
gt_value=0
fi
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_GETC_UNLOCKED $gt_value #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
_ACEOF _ACEOF
case $gt_cv_func_printf_posix in case $gt_cv_func_printf_posix in
*yes) HAVE_POSIX_PRINTF=1 ;; *yes) HAVE_POSIX_PRINTF=1 ;;
*) HAVE_POSIX_PRINTF=0 ;; *) HAVE_POSIX_PRINTF=0 ;;
esac esac
if test "$ac_cv_func_asprintf" = yes; then if test "$ac_cv_func_asprintf" = yes; then
HAVE_ASPRINTF=1 HAVE_ASPRINTF=1
else else
HAVE_ASPRINTF=0 HAVE_ASPRINTF=0
fi fi
if test "$ac_cv_func_snprintf" = yes; then if test "$ac_cv_func_snprintf" = yes; then
HAVE_SNPRINTF=1 HAVE_SNPRINTF=1
else else
HAVE_SNPRINTF=0 HAVE_SNPRINTF=0
fi fi
if test "$ac_cv_func_newlocale" = yes; then
HAVE_NEWLOCALE=1
else
HAVE_NEWLOCALE=0
fi
if test "$ac_cv_func_wprintf" = yes; then if test "$ac_cv_func_wprintf" = yes; then
HAVE_WPRINTF=1 HAVE_WPRINTF=1
else else
HAVE_WPRINTF=0 HAVE_WPRINTF=0
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
if ${am_cv_langinfo_codeset+:} false; then : if ${am_cv_langinfo_codeset+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
skipping to change at line 10272 skipping to change at line 10857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5
$as_echo "$gt_cv_val_LC_MESSAGES" >&6; } $as_echo "$gt_cv_val_LC_MESSAGES" >&6; }
if test $gt_cv_val_LC_MESSAGES = yes; then if test $gt_cv_val_LC_MESSAGES = yes; then
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
fi fi
if test "$enable_shared" = yes; then if test "$enable_shared" = yes; then
case "$host_os" in case "$host_os" in
cygwin*) is_woe32dll=yes ;; mingw* | cygwin*) is_woe32dll=yes ;;
*) is_woe32dll=no ;; *) is_woe32dll=no ;;
esac esac
else else
is_woe32dll=no is_woe32dll=no
fi fi
WOE32DLL=$is_woe32dll WOE32DLL=$is_woe32dll
case "$host_os" in
mingw* | cygwin*) is_woe32=yes ;;
*) is_woe32=no ;;
esac
WOE32=$is_woe32
if test $WOE32 = yes; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}windres", so it can be a program
name with args.
set dummy ${ac_tool_prefix}windres; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_WINDRES+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$WINDRES"; then
ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
WINDRES=$ac_cv_prog_WINDRES
if test -n "$WINDRES"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
$as_echo "$WINDRES" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
fi
if test -z "$ac_cv_prog_WINDRES"; then
ac_ct_WINDRES=$WINDRES
# Extract the first word of "windres", so it can be a program name with args.
set dummy windres; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_WINDRES"; then
ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_WINDRES="windres"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
if test -n "$ac_ct_WINDRES"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
$as_echo "$ac_ct_WINDRES" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$ac_ct_WINDRES" = x; then
WINDRES=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;}
ac_tool_warned=yes ;;
esac
WINDRES=$ac_ct_WINDRES
fi
else
WINDRES="$ac_cv_prog_WINDRES"
fi
fi
case "$host_os" in
hpux*) LTLIBC="" ;;
*) LTLIBC="-lc" ;;
esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppVa lue" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppVa lue" >&5
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
gt_save_LIBS="$LIBS" gt_save_LIBS="$LIBS"
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <CoreFoundation/CFPreferences.h> #include <CoreFoundation/CFPreferences.h>
skipping to change at line 10410 skipping to change at line 11100
gt_expression_test_code= gt_expression_test_code=
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in lib c" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in lib c" >&5
$as_echo_n "checking for GNU gettext in libc... " >&6; } $as_echo_n "checking for GNU gettext in libc... " >&6; }
if eval \${$gt_func_gnugettext_libc+:} false; then : if eval \${$gt_func_gnugettext_libc+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <libintl.h> #include <libintl.h>
$gt_revision_test_code #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
extern int _nl_msg_cat_cntr; extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings; extern int *_nl_domain_bindings;
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings
)
#else
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
#endif
$gt_revision_test_code
int int
main () main ()
{ {
bindtextdomain ("", ""); bindtextdomain ("", "");
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_b return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
indings
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
eval "$gt_func_gnugettext_libc=yes" eval "$gt_func_gnugettext_libc=yes"
else else
eval "$gt_func_gnugettext_libc=no" eval "$gt_func_gnugettext_libc=no"
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
skipping to change at line 10472 skipping to change at line 11171
eval additional_includedir=\"$includedir\" eval additional_includedir=\"$includedir\"
eval additional_libdir=\"$libdir\" eval additional_libdir=\"$libdir\"
exec_prefix="$acl_save_exec_prefix" exec_prefix="$acl_save_exec_prefix"
prefix="$acl_save_prefix" prefix="$acl_save_prefix"
else else
additional_includedir="$withval/include" additional_includedir="$withval/include"
additional_libdir="$withval/$acl_libdirstem" additional_libdir="$withval/$acl_libdirstem"
if test "$acl_libdirstem2" != "$acl_libdirstem" \
&& ! test -d "$withval/$acl_libdirstem"; then
additional_libdir="$withval/$acl_libdirstem2"
fi
fi fi
fi fi
fi fi
LIBINTL= LIBINTL=
LTLIBINTL= LTLIBINTL=
INCINTL= INCINTL=
LIBINTL_PREFIX=
HAVE_LIBINTL=
rpathdirs= rpathdirs=
ltrpathdirs= ltrpathdirs=
names_already_handled= names_already_handled=
names_next_round='intl ' names_next_round='intl '
while test -n "$names_next_round"; do while test -n "$names_next_round"; do
names_this_round="$names_next_round" names_this_round="$names_next_round"
names_next_round= names_next_round=
for name in $names_this_round; do for name in $names_this_round; do
already_handled= already_handled=
for n in $names_already_handled; do for n in $names_already_handled; do
if test "$n" = "$name"; then if test "$n" = "$name"; then
already_handled=yes already_handled=yes
break break
fi fi
done done
if test -z "$already_handled"; then if test -z "$already_handled"; then
names_already_handled="$names_already_handled $name" names_already_handled="$names_already_handled $name"
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrst uvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrst uvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
eval value=\"\$HAVE_LIB$uppername\" eval value=\"\$HAVE_LIB$uppername\"
if test -n "$value"; then if test -n "$value"; then
if test "$value" = yes; then if test "$value" = yes; then
eval value=\"\$LIB$uppername\" eval value=\"\$LIB$uppername\"
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
eval value=\"\$LTLIB$uppername\" eval value=\"\$LTLIB$uppername\"
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
else else
: :
fi fi
else else
found_dir= found_dir=
found_la= found_la=
found_so= found_so=
found_a= found_a=
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
if test -n "$acl_shlibext"; then
shrext=".$acl_shlibext" # typically: shrext=.so
else
shrext=
fi
if test $use_additional = yes; then if test $use_additional = yes; then
if test -n "$shlibext" \ dir="$additional_libdir"
&& { test -f "$additional_libdir/lib$name.$shlibext" \ if test -n "$acl_shlibext"; then
|| { test "$shlibext" = dll \ if test -f "$dir/$libname$shrext"; then
&& test -f "$additional_libdir/lib$name.dll.a"; }; }; t found_dir="$dir"
hen found_so="$dir/$libname$shrext"
found_dir="$additional_libdir"
if test -f "$additional_libdir/lib$name.$shlibext"; then
found_so="$additional_libdir/lib$name.$shlibext"
else else
found_so="$additional_libdir/lib$name.dll.a" if test "$acl_library_names_spec" = '$libname$shrext$versuffix';
then
ver=`(cd "$dir" && \
for f in "$libname$shrext".*; do echo "$f"; done \
| sed -e "s,^$libname$shrext\\\\.,," \
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
| sed 1q ) 2>/dev/null`
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
found_dir="$dir"
found_so="$dir/$libname$shrext.$ver"
fi
else
eval library_names=\"$acl_library_names_spec\"
for f in $library_names; do
if test -f "$dir/$f"; then
found_dir="$dir"
found_so="$dir/$f"
break
fi
done
fi
fi fi
if test -f "$additional_libdir/lib$name.la"; then fi
found_la="$additional_libdir/lib$name.la" if test "X$found_dir" = "X"; then
if test -f "$dir/$libname.$acl_libext"; then
found_dir="$dir"
found_a="$dir/$libname.$acl_libext"
fi fi
else fi
if test -f "$additional_libdir/lib$name.$libext"; then if test "X$found_dir" != "X"; then
found_dir="$additional_libdir" if test -f "$dir/$libname.la"; then
found_a="$additional_libdir/lib$name.$libext" found_la="$dir/$libname.la"
if test -f "$additional_libdir/lib$name.la"; then
found_la="$additional_libdir/lib$name.la"
fi
fi fi
fi fi
fi fi
if test "X$found_dir" = "X"; then if test "X$found_dir" = "X"; then
for x in $LDFLAGS $LTLIBINTL; do for x in $LDFLAGS $LTLIBINTL; do
acl_save_prefix="$prefix" acl_save_prefix="$prefix"
prefix="$acl_final_prefix" prefix="$acl_final_prefix"
acl_save_exec_prefix="$exec_prefix" acl_save_exec_prefix="$exec_prefix"
exec_prefix="$acl_final_exec_prefix" exec_prefix="$acl_final_exec_prefix"
eval x=\"$x\" eval x=\"$x\"
exec_prefix="$acl_save_exec_prefix" exec_prefix="$acl_save_exec_prefix"
prefix="$acl_save_prefix" prefix="$acl_save_prefix"
case "$x" in case "$x" in
-L*) -L*)
dir=`echo "X$x" | sed -e 's/^X-L//'` dir=`echo "X$x" | sed -e 's/^X-L//'`
if test -n "$shlibext" \ if test -n "$acl_shlibext"; then
&& { test -f "$dir/lib$name.$shlibext" \ if test -f "$dir/$libname$shrext"; then
|| { test "$shlibext" = dll \ found_dir="$dir"
&& test -f "$dir/lib$name.dll.a"; }; }; then found_so="$dir/$libname$shrext"
found_dir="$dir"
if test -f "$dir/lib$name.$shlibext"; then
found_so="$dir/lib$name.$shlibext"
else else
found_so="$dir/lib$name.dll.a" if test "$acl_library_names_spec" = '$libname$shrext$versu
fi ffix'; then
if test -f "$dir/lib$name.la"; then ver=`(cd "$dir" && \
found_la="$dir/lib$name.la" for f in "$libname$shrext".*; do echo "$f"; done \
| sed -e "s,^$libname$shrext\\\\.,," \
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5
\
| sed 1q ) 2>/dev/null`
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"
; then
found_dir="$dir"
found_so="$dir/$libname$shrext.$ver"
fi
else
eval library_names=\"$acl_library_names_spec\"
for f in $library_names; do
if test -f "$dir/$f"; then
found_dir="$dir"
found_so="$dir/$f"
break
fi
done
fi
fi fi
else fi
if test -f "$dir/lib$name.$libext"; then if test "X$found_dir" = "X"; then
if test -f "$dir/$libname.$acl_libext"; then
found_dir="$dir" found_dir="$dir"
found_a="$dir/lib$name.$libext" found_a="$dir/$libname.$acl_libext"
if test -f "$dir/lib$name.la"; then fi
found_la="$dir/lib$name.la" fi
fi if test "X$found_dir" != "X"; then
if test -f "$dir/$libname.la"; then
found_la="$dir/$libname.la"
fi fi
fi fi
;; ;;
esac esac
if test "X$found_dir" != "X"; then if test "X$found_dir" != "X"; then
break break
fi fi
done done
fi fi
if test "X$found_dir" != "X"; then if test "X$found_dir" != "X"; then
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$na me" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$na me"
if test "X$found_so" != "X"; then if test "X$found_so" != "X"; then
if test "$enable_rpath" if test "$enable_rpath"
= no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then = no \
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
else else
haveit= haveit=
for x in $ltrpathdirs; do for x in $ltrpathdirs; do
if test "X$x" = "X$found_dir"; then if test "X$x" = "X$found_dir"; then
haveit=yes haveit=yes
break break
fi fi
done done
if test -z "$haveit"; then if test -z "$haveit"; then
ltrpathdirs="$ltrpathdirs $found_dir" ltrpathdirs="$ltrpathdirs $found_dir"
fi fi
if test "$hardcode_direct" = yes; then if test "$acl_hardcode_direct" = yes; then
LIBINTL="${LIBINTL}${LIBIN TL:+ }$found_so" LIBINTL="${LIBINTL}${LIBIN TL:+ }$found_so"
else else
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_min us_L" = no; then if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hard code_minus_L" = no; then
LIBINTL="${LIBINTL}$ {LIBINTL:+ }$found_so" LIBINTL="${LIBINTL}$ {LIBINTL:+ }$found_so"
haveit= haveit=
for x in $rpathdirs; do for x in $rpathdirs; do
if test "X$x" = "X$found_dir"; then if test "X$x" = "X$found_dir"; then
haveit=yes haveit=yes
break break
fi fi
done done
if test -z "$haveit"; then if test -z "$haveit"; then
rpathdirs="$rpathdirs $found_dir" rpathdirs="$rpathdirs $found_dir"
skipping to change at line 10631 skipping to change at line 11377
prefix="$acl_save_prefix" prefix="$acl_save_prefix"
if test "X$x" = "X-L$found_dir"; then if test "X$x" = "X-L$found_dir"; then
haveit=yes haveit=yes
break break
fi fi
done done
if test -z "$haveit"; then if test -z "$haveit"; then
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
fi fi
if test "$hardcode_minus_L" != no; then if test "$acl_hardcode_minus_L" != no; then
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
else else
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
fi fi
fi fi
fi fi
fi fi
else else
if test "X$found_a" != "X"; then if test "X$found_a" != "X"; then
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
else else
LIBINTL="${LIBINTL}${LIBINTL:+ } -L$found_dir -l$name" LIBINTL="${LIBINTL}${LIBINTL:+ } -L$found_dir -l$name"
fi fi
fi fi
additional_includedir= additional_includedir=
case "$found_dir" in case "$found_dir" in
*/$acl_libdirstem | */$acl_libdirstem/) */$acl_libdirstem | */$acl_libdirstem/)
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir stem/"'*$,,'` basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir stem/"'*$,,'`
if test "$name" = 'intl'; then
LIBINTL_PREFIX="$basedir"
fi
additional_includedir="$basedir/include"
;;
*/$acl_libdirstem2 | */$acl_libdirstem2/)
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdir
stem2/"'*$,,'`
if test "$name" = 'intl'; then
LIBINTL_PREFIX="$basedir"
fi
additional_includedir="$basedir/include" additional_includedir="$basedir/include"
;; ;;
esac esac
if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X"; then
if test "X$additional_includedir" != "X/usr/incl ude"; then if test "X$additional_includedir" != "X/usr/incl ude"; then
haveit= haveit=
if test "X$additional_includedir" = "X/usr/local/include"; then if test "X$additional_includedir" = "X/usr/local/include"; then
if test -n "$GCC"; then if test -n "$GCC"; then
case $host_os in case $host_os in
linux* | gnu* | k*bsd*-gnu) haveit=yes;; linux* | gnu* | k*bsd*-gnu) haveit=yes;;
skipping to change at line 10698 skipping to change at line 11454
save_libdir="$libdir" save_libdir="$libdir"
case "$found_la" in case "$found_la" in
*/* | *\\*) . "$found_la" ;; */* | *\\*) . "$found_la" ;;
*) . "./$found_la" ;; *) . "./$found_la" ;;
esac esac
libdir="$save_libdir" libdir="$save_libdir"
for dep in $dependency_libs; do for dep in $dependency_libs; do
case "$dep" in case "$dep" in
-L*) -L*)
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"
; then
haveit= haveit=
if test "X$additional_libdir" = "X/usr/local/$acl_libdirst if test "X$additional_libdir" = "X/usr/local/$acl_libdirst
em"; then em" \
|| test "X$additional_libdir" = "X/usr/local/$acl_libdi
rstem2"; then
if test -n "$GCC"; then if test -n "$GCC"; then
case $host_os in case $host_os in
linux* | gnu* | k*bsd*-gnu) haveit=yes;; linux* | gnu* | k*bsd*-gnu) haveit=yes;;
esac esac
fi fi
fi fi
if test -z "$haveit"; then if test -z "$haveit"; then
haveit= haveit=
for x in $LDFLAGS $LIBINTL; do for x in $LDFLAGS $LIBINTL; do
skipping to change at line 10800 skipping to change at line 11558
fi fi
else else
LIBINTL="${LIBINTL}$ {LIBINTL:+ }-l$name" LIBINTL="${LIBINTL}$ {LIBINTL:+ }-l$name"
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
fi fi
fi fi
fi fi
done done
done done
if test "X$rpathdirs" != "X"; then if test "X$rpathdirs" != "X"; then
if test -n "$hardcode_libdir_separator"; then if test -n "$acl_hardcode_libdir_separator"; then
alldirs= alldirs=
for found_dir in $rpathdirs; do for found_dir in $rpathdirs; do
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
done done
acl_save_libdir="$libdir" acl_save_libdir="$libdir"
libdir="$alldirs" libdir="$alldirs"
eval flag=\"$hardcode_libdir_flag_spec\" eval flag=\"$acl_hardcode_libdir_flag_spec\"
libdir="$acl_save_libdir" libdir="$acl_save_libdir"
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
else else
for found_dir in $rpathdirs; do for found_dir in $rpathdirs; do
acl_save_libdir="$libdir" acl_save_libdir="$libdir"
libdir="$found_dir" libdir="$found_dir"
eval flag=\"$hardcode_libdir_flag_spec\" eval flag=\"$acl_hardcode_libdir_flag_spec\"
libdir="$acl_save_libdir" libdir="$acl_save_libdir"
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
done done
fi fi
fi fi
if test "X$ltrpathdirs" != "X"; then if test "X$ltrpathdirs" != "X"; then
for found_dir in $ltrpathdirs; do for found_dir in $ltrpathdirs; do
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
done done
fi fi
skipping to change at line 10837 skipping to change at line 11595
$as_echo_n "checking for GNU gettext in libintl... " >&6; } $as_echo_n "checking for GNU gettext in libintl... " >&6; }
if eval \${$gt_func_gnugettext_libintl+:} false; then : if eval \${$gt_func_gnugettext_libintl+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
gt_save_CPPFLAGS="$CPPFLAGS" gt_save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $INCINTL" CPPFLAGS="$CPPFLAGS $INCINTL"
gt_save_LIBS="$LIBS" gt_save_LIBS="$LIBS"
LIBS="$LIBS $LIBINTL" LIBS="$LIBS $LIBINTL"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <libintl.h> #include <libintl.h>
$gt_revision_test_code #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
extern int _nl_msg_cat_cntr; extern int _nl_msg_cat_cntr;
extern extern
#ifdef __cplusplus #ifdef __cplusplus
"C" "C"
#endif #endif
const char *_nl_expand_alias (const char *); const char *_nl_expand_alias (const char *);
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("
"))
#else
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
#endif
$gt_revision_test_code
int int
main () main ()
{ {
bindtextdomain ("", ""); bindtextdomain ("", "");
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
lias ("")
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
eval "$gt_func_gnugettext_libintl=yes" eval "$gt_func_gnugettext_libintl=yes"
else else
eval "$gt_func_gnugettext_libintl=no" eval "$gt_func_gnugettext_libintl=no"
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test " $gt_val" != yes; } && test -n "$LIBICONV"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test " $gt_val" != yes; } && test -n "$LIBICONV"; then
LIBS="$LIBS $LIBICONV" LIBS="$LIBS $LIBICONV"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <libintl.h> #include <libintl.h>
$gt_revision_test_code #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
extern int _nl_msg_cat_cntr; extern int _nl_msg_cat_cntr;
extern extern
#ifdef __cplusplus #ifdef __cplusplus
"C" "C"
#endif #endif
const char *_nl_expand_alias (const char *); const char *_nl_expand_alias (const char *);
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("
"))
#else
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
#endif
$gt_revision_test_code
int int
main () main ()
{ {
bindtextdomain ("", ""); bindtextdomain ("", "");
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
lias ("")
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
LIBINTL="$LIBINTL $LIBICONV" LIBINTL="$LIBINTL $LIBICONV"
LTLIBINTL="$LTLIBINTL $LTLIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV"
eval "$gt_func_gnugettext_libintl=yes" eval "$gt_func_gnugettext_libintl=yes"
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
fi fi
CPPFLAGS="$gt_save_CPPFLAGS" CPPFLAGS="$gt_save_CPPFLAGS"
LIBS="$gt_save_LIBS" LIBS="$gt_save_LIBS"
fi fi
eval ac_res=\$$gt_func_gnugettext_libintl eval ac_res=\$$gt_func_gnugettext_libintl
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
skipping to change at line 12901 skipping to change at line 13677
case " $LIBOBJS " in case " $LIBOBJS " in
*" malloc.$ac_objext "* ) ;; *" malloc.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS malloc.$ac_objext" *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
;; ;;
esac esac
$as_echo "#define malloc rpl_malloc" >>confdefs.h $as_echo "#define malloc rpl_malloc" >>confdefs.h
fi fi
for ac_func in $ac_func_list
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
$as_echo_n "checking for working mktime... " >&6; } $as_echo_n "checking for working mktime... " >&6; }
if ${ac_cv_func_working_mktime+:} false; then : if ${ac_cv_func_working_mktime+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test "$cross_compiling" = yes; then : if test "$cross_compiling" = yes; then :
ac_cv_func_working_mktime=no ac_cv_func_working_mktime=no
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
skipping to change at line 15146 skipping to change at line 15910
## Main body of $CONFIG_STATUS script. ## ## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ## ## ----------------------------------- ##
_ASEOF _ASEOF
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# Save the log message, to keep $0 and so on meaningful, and to # Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by xfe $as_me 1.43.1, which was This file was extended by xfe $as_me 1.43.2, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS CONFIG_LINKS = $CONFIG_LINKS
CONFIG_COMMANDS = $CONFIG_COMMANDS CONFIG_COMMANDS = $CONFIG_COMMANDS
$ $0 $@ $ $0 $@
on `(hostname || uname -n) 2>/dev/null | sed 1q` on `(hostname || uname -n) 2>/dev/null | sed 1q`
" "
skipping to change at line 15211 skipping to change at line 15975
Configuration commands: Configuration commands:
$config_commands $config_commands
Report bugs to the package provider." Report bugs to the package provider."
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`"
ac_cs_version="\\ ac_cs_version="\\
xfe config.status 1.43.1 xfe config.status 1.43.2
configured by $0, generated by GNU Autoconf 2.69, configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it." gives unlimited permission to copy, distribute and modify it."
ac_pwd='$ac_pwd' ac_pwd='$ac_pwd'
srcdir='$srcdir' srcdir='$srcdir'
INSTALL='$INSTALL' INSTALL='$INSTALL'
skipping to change at line 16060 skipping to change at line 16824
"po-directories":C) "po-directories":C)
for ac_file in $CONFIG_FILES; do for ac_file in $CONFIG_FILES; do
# Support "outfile[:infile[:infile...]]" # Support "outfile[:infile[:infile...]]"
case "$ac_file" in case "$ac_file" in
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
esac esac
# PO directories have a Makefile.in generated from Makefile.in.in. # PO directories have a Makefile.in generated from Makefile.in.in.
case "$ac_file" in */Makefile.in) case "$ac_file" in */Makefile.in)
# Adjust a relative srcdir. # Adjust a relative srcdir.
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
# In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.13 it is called $ac_given_srcdir.
# In autoconf-2.50 it is called $srcdir. # In autoconf-2.50 it is called $srcdir.
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
case "$ac_given_srcdir" in case "$ac_given_srcdir" in
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
/*) top_srcdir="$ac_given_srcdir" ;; /*) top_srcdir="$ac_given_srcdir" ;;
*) top_srcdir="$ac_dots$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac esac
# Treat a directory as a PO directory if and only if it has a # Treat a directory as a PO directory if and only if it has a
# POTFILES.in file. This allows packages to have multiple PO # POTFILES.in file. This allows packages to have multiple PO
# directories under different names or in different locations. # directories under different names or in different locations.
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
rm -f "$ac_dir/POTFILES" rm -f "$ac_dir/POTFILES"
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo " creating $ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo " creating $ac_dir/POTFILES"
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ] gt_tab=`printf '\t'`
*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${
dir/POTFILES" gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/"
> "$ac_dir/POTFILES"
POMAKEFILEDEPS="POTFILES.in" POMAKEFILEDEPS="POTFILES.in"
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
# on $ac_dir but don't depend on user-specified configuration # on $ac_dir but don't depend on user-specified configuration
# parameters. # parameters.
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
# The LINGUAS file contains the set of available languages. # The LINGUAS file contains the set of available languages.
if test -n "$OBSOLETE_ALL_LINGUAS"; then if test -n "$OBSOLETE_ALL_LINGUAS"; then
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure .in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure .in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
fi fi
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/ LINGUAS"` ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/ LINGUAS"`
# Hide the ALL_LINGUAS assigment from automake < 1.5. # Hide the ALL_LINGUAS assignment from automake < 1.5.
eval 'ALL_LINGUAS''=$ALL_LINGUAS_' eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
else else
# The set of available languages was given in configure.in. # The set of available languages was given in configure.in.
# Hide the ALL_LINGUAS assigment from automake < 1.5. # Hide the ALL_LINGUAS assignment from automake < 1.5.
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
fi fi
# Compute POFILES # Compute POFILES
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
# Compute UPDATEPOFILES # Compute UPDATEPOFILES
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
# Compute DUMMYPOFILES # Compute DUMMYPOFILES
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
# Compute GMOFILES # Compute GMOFILES
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
 End of changes. 246 change blocks. 
735 lines changed or deleted 1527 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)