"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
sarg-2.3.11.tar.gz and sarg-2.4.0.tar.gz

About: SARG ia a Squid Analysis Report Generator.

configure  (sarg-2.3.11):configure  (sarg-2.4.0)
#! /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 sarg 2.3.11. # Generated by GNU Autoconf 2.69 for sarg 2.4.0.
# #
# #
# 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='sarg' PACKAGE_NAME='sarg'
PACKAGE_TARNAME='sarg' PACKAGE_TARNAME='sarg'
PACKAGE_VERSION='2.3.11' PACKAGE_VERSION='2.4.0'
PACKAGE_STRING='sarg 2.3.11' PACKAGE_STRING='sarg 2.4.0'
PACKAGE_BUGREPORT='' PACKAGE_BUGREPORT=''
PACKAGE_URL='' PACKAGE_URL=''
ac_unique_file="log.c" ac_unique_file="log.c"
# 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 640 skipping to change at line 640
XGETTEXT_EXTRA_OPTIONS XGETTEXT_EXTRA_OPTIONS
MSGMERGE MSGMERGE
XGETTEXT_015 XGETTEXT_015
XGETTEXT XGETTEXT
GMSGFMT_015 GMSGFMT_015
MSGFMT_015 MSGFMT_015
GMSGFMT GMSGFMT
MSGFMT MSGFMT
GETTEXT_MACRO_VERSION GETTEXT_MACRO_VERSION
USE_NLS USE_NLS
SED mkdir_p
MKDIR_P MKDIR_P
INSTALL_DATA INSTALL_DATA
INSTALL_SCRIPT INSTALL_SCRIPT
INSTALL_PROGRAM INSTALL_PROGRAM
SET_MAKE SET_MAKE
LTLIBICONV LTLIBICONV
LIBICONV LIBICONV
EGREP EGREP
GREP GREP
CPP CPP
skipping to change at line 716 skipping to change at line 716
ac_user_opts=' ac_user_opts='
enable_option_checking enable_option_checking
with_gcc with_gcc
with_gd with_gd
with_ldap with_ldap
with_iconv with_iconv
with_gnu_ld with_gnu_ld
enable_rpath enable_rpath
with_libiconv_prefix with_libiconv_prefix
with_pcre with_pcre
with_glob
with_zlib
with_bzlib
with_liblzma
enable_nls enable_nls
with_libintl_prefix with_libintl_prefix
enable_largefile enable_largefile
enable_sargphp enable_sargphp
enable_fontdir enable_fontdir
enable_imagedir enable_imagedir
enable_extraprotection enable_extraprotection
enable_doublecheck enable_doublecheck
enable_xsl_man enable_xsl_man
enable_xsl_html enable_xsl_html
skipping to change at line 1283 skipping to change at line 1287
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 sarg 2.3.11 to adapt to many kinds of systems. \`configure' configures sarg 2.4.0 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 1349 skipping to change at line 1353
cat <<\_ACEOF cat <<\_ACEOF
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 sarg 2.3.11:";; short | recursive ) echo "Configuration of sarg 2.4.0:";;
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]
--disable-rpath do not hardcode runtime library paths --disable-rpath do not hardcode runtime library paths
--disable-nls do not use Native Language Support --disable-nls do not use Native Language Support
--disable-largefile omit support for large files --disable-largefile omit support for large files
skipping to change at line 1387 skipping to change at line 1391
Select the directory containing the the XSL Select the directory containing the the XSL
stylesheets to convert DocBook into html page stylesheets to convert DocBook into html page
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)
--without-gcc use CC to compile --without-gcc use CC to compile
--with-gd Compile with support for the graphical gd library --with-gd Compile with support for the graphical gd library
--with-ldap Compile with LDAP support --with-ldap Compile with LDAP support
--with-iconv Compile with support for iconv --with-iconv Compile with support for iconv
--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-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-pcre Compile with support for the Perl Compatible Regular --with-pcre Compile with support for the Perl Compatible Regular
Expressions library Expressions library
--without-glob Ignore wildcards in file names
--with-zlib Compile with support to decompress gz files
--with-bzlib Compile with support to decompress bz2 files
--with-liblzma Compile with support to decompress xz files
--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
Some influential environment variables: Some influential environment variables:
CC C compiler command CC C compiler command
CFLAGS C compiler flags CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir> nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library> LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
skipping to change at line 1471 skipping to change at line 1479
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
sarg configure 2.3.11 sarg configure 2.4.0
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 2122 skipping to change at line 2130
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_decl } # ac_fn_c_check_decl
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 sarg $as_me 2.3.11, which was It was created by sarg $as_me 2.4.0, 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 3535 skipping to change at line 3543
*) *)
CC="$CC $ac_cv_prog_cc_c99" CC="$CC $ac_cv_prog_cc_c99"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
esac esac
if test "x$ac_cv_prog_cc_c99" != xno; then : if test "x$ac_cv_prog_cc_c99" != xno; then :
fi fi
# Report more warnings to improve code quality. # Report more warnings to improve code quality.
CFLAGS="${CFLAGS} -Wall -Wno-sign-compare" CFLAGS="${CFLAGS} -Wall"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra warnings flag in $CC " >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra warnings flag in $CC " >&5
$as_echo_n "checking for extra warnings flag in $CC... " >&6; } $as_echo_n "checking for extra warnings flag in $CC... " >&6; }
saved_CFLAGS="${CFLAGS}" saved_CFLAGS="${CFLAGS}"
CFLAGS="${CFLAGS} -Wextra -Wno-unused-parameter" CFLAGS="${CFLAGS} -Wextra -Wno-unused-parameter"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
have_extra_warnings="yes" have_extra_warnings="yes"
else else
have_extra_warnings="no" have_extra_warnings="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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_extra_warnings" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_extra_warnings" >&5
$as_echo "$have_extra_warnings" >&6; } $as_echo "$have_extra_warnings" >&6; }
if test "$have_extra_warnings" = "no" ; then if test "$have_extra_warnings" = "no"; then :
CFLAGS="${saved_CFLAGS}" CFLAGS="${saved_CFLAGS}"
fi fi
# Don't compare signs as it is a mess
CFLAGS="${CFLAGS} -Wno-sign-compare"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for implicit-function-declarat ion error flag in $CC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for implicit-function-declarat ion error flag in $CC" >&5
$as_echo_n "checking for implicit-function-declaration error flag in $CC... " >& 6; } $as_echo_n "checking for implicit-function-declaration error flag in $CC... " >& 6; }
saved_CFLAGS="${CFLAGS}" saved_CFLAGS="${CFLAGS}"
CFLAGS="${CFLAGS} -Werror=implicit-function-declaration" CFLAGS="${CFLAGS} -Werror=implicit-function-declaration"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
have_implicit_function_declaration="yes" have_implicit_function_declaration="yes"
else else
have_implicit_function_declaration="no" have_implicit_function_declaration="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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_implicit_function_declara tion" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_implicit_function_declara tion" >&5
$as_echo "$have_implicit_function_declaration" >&6; } $as_echo "$have_implicit_function_declaration" >&6; }
if test "$have_implicit_function_declaration" = "no" ; then if test "$have_implicit_function_declaration" = "no"; then :
CFLAGS="${saved_CFLAGS}" CFLAGS="${saved_CFLAGS}"
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for format error flag in $CC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for format error flag in $CC" >&5
$as_echo_n "checking for format error flag in $CC... " >&6; } $as_echo_n "checking for format error flag in $CC... " >&6; }
saved_CFLAGS="${CFLAGS}" saved_CFLAGS="${CFLAGS}"
CFLAGS="${CFLAGS} -Werror=format" CFLAGS="${CFLAGS} -Werror=format"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
have_error_format="yes" have_error_format="yes"
else else
have_error_format="no" have_error_format="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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_error_format" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_error_format" >&5
$as_echo "$have_error_format" >&6; } $as_echo "$have_error_format" >&6; }
if test "$have_error_format" = "no" ; then if test "$have_error_format" = "no"; then :
CFLAGS="${saved_CFLAGS}" CFLAGS="${saved_CFLAGS}"
fi fi
case "$host" in case "$host" in
*-solaris*) *-solaris*)
LDFLAGS="${LDFLAGS} -lsocket -lnsl" LDFLAGS="${LDFLAGS} -lsocket -lnsl"
CFLAGS="-DSOLARIS ${CFLAGS}" CFLAGS="-DSOLARIS ${CFLAGS}"
;; ;;
esac esac
#dnl Checks for programs. #dnl Checks for programs.
skipping to change at line 4162 skipping to change at line 4173
#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_header in stdio.h stdlib.h string.h strings.h sys/time.h time.h unistd.h sys/dirent.h \ for ac_header in stdio.h stdlib.h string.h strings.h sys/time.h time.h unistd.h sys/dirent.h \
dirent.h sys/types.h sys/socket.h netdb.h arpa/inet.h netinet/in. h sys/stat.h \ dirent.h sys/types.h sys/socket.h netdb.h arpa/inet.h netinet/in. h sys/stat.h \
ctype.h errno.h sys/resource.h sys/wait.h stdarg.h inttypes.h lim its.h locale.h \ ctype.h errno.h sys/resource.h sys/wait.h stdarg.h inttypes.h lim its.h locale.h \
execinfo.h math.h libintl.h libgen.h stdbool.h getopt.h fcntl.h execinfo.h math.h libintl.h libgen.h stdbool.h getopt.h fcntl.h f
nmatch.h \
winsock.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
if test $ac_cv_header_getopt_h = "no" ; then if test $ac_cv_header_getopt_h = "no"; then :
as_fn_error $? "\"getopt.h is required to compile sarg\"" "$LINENO" 5 as_fn_error $? "\"getopt.h is required to compile sarg\"" "$LINENO" 5
fi fi
# Build with gd # Build with gd
# Check whether --with-gd was given. # Check whether --with-gd was given.
if test "${with_gd+set}" = set; then : if test "${with_gd+set}" = set; then :
withval=$with_gd; withval=$with_gd;
else else
with_gd=check with_gd=check
fi fi
if ( test "x$with_gd" != "xno" ) ; then if test "x$with_gd" != "xno"; then :
for ac_header in gd.h gdfontl.h gdfontt.h gdfonts.h gdfontmb.h gdfontg.h for ac_header in gd.h gdfontl.h gdfontt.h gdfonts.h gdfontmb.h gdfontg.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
if ( test "x$ac_cv_header_gd_h" = "xyes" ) ; then if test "x$ac_cv_header_gd_h" = "xyes"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdImagePng in -lgd" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdImagePng in -lgd" >&5
$as_echo_n "checking for gdImagePng in -lgd... " >&6; } $as_echo_n "checking for gdImagePng in -lgd... " >&6; }
if ${ac_cv_lib_gd_gdImagePng+:} false; then : if ${ac_cv_lib_gd_gdImagePng+:} 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="-lgd $LIBS" LIBS="-lgd $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 4245 skipping to change at line 4259
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImagePng" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImagePng" >&5
$as_echo "$ac_cv_lib_gd_gdImagePng" >&6; } $as_echo "$ac_cv_lib_gd_gdImagePng" >&6; }
if test "x$ac_cv_lib_gd_gdImagePng" = xyes; then : if test "x$ac_cv_lib_gd_gdImagePng" = xyes; then :
LIBS="-lgd ${LIBS}"; HAVE_GD_LIB="yes" LIBS="-lgd ${LIBS}"; HAVE_GD_LIB="yes"
else else
HAVE_GD_LIB="" HAVE_GD_LIB=""
fi fi
if ( test "x$HAVE_GD_LIB" != "xyes" ) ; then if test "x$HAVE_GD_LIB" != "xyes"; then :
as_fn_error $? "ligbd is required to compile sarg with gd
" "$LINENO" 5 as_fn_error $? "libgd is required to compile sarg with gd
fi " "$LINENO" 5
else
fi
else
gd_status="not found" gd_status="not found"
fi
fi
else else
gd_status="disabled" gd_status="disabled"
fi fi
# Build with LDAP # Build with LDAP
# Check whether --with-ldap was given. # Check whether --with-ldap was given.
if test "${with_ldap+set}" = set; then : if test "${with_ldap+set}" = set; then :
withval=$with_ldap; withval=$with_ldap;
else else
with_ldap=check with_ldap=check
fi fi
if ( test "x$with_ldap" != "xno" ) ; then if test "x$with_ldap" != "xno"; then :
for ac_header in ldap.h
for ac_header in ldap_cdefs.h ldap_features.h ldap.h
do : do :
ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_inc as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ludes_default" ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
if test "x$ac_cv_header_ldap_h" = xyes; then : s_default"
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_LDAP_H 1 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF _ACEOF
else
break
fi fi
done done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -lldap if test "x$ac_cv_header_ldap_h" = "xyes"; then :
" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init i
n -lldap" >&5
$as_echo_n "checking for ldap_init in -lldap... " >&6; } $as_echo_n "checking for ldap_init in -lldap... " >&6; }
if ${ac_cv_lib_ldap_ldap_init+:} false; then : if ${ac_cv_lib_ldap_ldap_init+:} 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="-lldap $LIBS" LIBS="-lldap $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
skipping to change at line 4320 skipping to change at line 4348
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_init" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_init" >&5
$as_echo "$ac_cv_lib_ldap_ldap_init" >&6; } $as_echo "$ac_cv_lib_ldap_ldap_init" >&6; }
if test "x$ac_cv_lib_ldap_ldap_init" = xyes; then : if test "x$ac_cv_lib_ldap_ldap_init" = xyes; then :
LIBS="-lldap ${LIBS}"; HAVE_LDAP="yes" LIBS="-lldap ${LIBS}"; HAVE_LDAP="yes"
else else
HAVE_LDAP="" HAVE_LDAP=""
fi fi
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: Not building with LDAP support a
s requested on the configuration command line" >&5 ldap_status="not found"
$as_echo "$as_me: Not building with LDAP support as requested on the configurati
on command line" >&6;} fi
else
ldap_status="disabled"
fi fi
# Build with iconv # Build with iconv
# Check whether --with-iconv was given. # Check whether --with-iconv was given.
if test "${with_iconv+set}" = set; then : if test "${with_iconv+set}" = set; then :
withval=$with_iconv; withval=$with_iconv;
else else
with_iconv=check with_iconv=check
fi fi
if ( test "x$with_iconv" != "xno" ) ; then
if test "X$prefix" = "XNONE"; then if test "X$prefix" = "XNONE"; then
acl_final_prefix="$ac_default_prefix" acl_final_prefix="$ac_default_prefix"
else else
acl_final_prefix="$prefix" acl_final_prefix="$prefix"
fi fi
if test "X$exec_prefix" = "XNONE"; then if test "X$exec_prefix" = "XNONE"; then
acl_final_exec_prefix='${prefix}' acl_final_exec_prefix='${prefix}'
else else
acl_final_exec_prefix="$exec_prefix" acl_final_exec_prefix="$exec_prefix"
fi fi
skipping to change at line 4360 skipping to change at line 4393
# 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
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which echo "#! /bin/sh" >conf$$.sh
# contains only /bin. Note that ksh looks also at the FPATH variable, echo "exit 0" >>conf$$.sh
# so we have to set that as well for the test. chmod +x conf$$.sh
PATH_SEPARATOR=: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ PATH_SEPARATOR=';'
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ else
|| 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 $CC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
$as_echo_n "checking for ld used by $CC... " >&6; } $as_echo_n "checking for ld used by GCC... " >&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 pathname of ld # Canonicalize the path 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.
skipping to change at line 4413 skipping to change at line 4446
{ $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
acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR IFS="${IFS= }"; ac_save_ifs="$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 variants of GNU ld only accept -v. # but apparently some GNU ld's 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="$acl_save_ifs" IFS="$ac_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 lds only accept -v. # I'd rather use --version here, but apparently some GNU ld's 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 4623 skipping to change at line 4651
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
skipping to change at line 5005 skipping to change at line 5033
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
if test "x$with_iconv" != "xno"; then :
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 5039 skipping to change at line 5069
{ $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
skipping to change at line 5096 skipping to change at line 5122
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 "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
$as_echo_n "checking for working iconv... " >&6; } $as_echo_n "checking for working iconv... " >&6; }
if ${am_cv_func_iconv_works+:} false; then : if ${am_cv_func_iconv_works+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
am_save_LIBS="$LIBS" am_save_LIBS="$LIBS"
if test $am_cv_lib_iconv = yes; then if test $am_cv_lib_iconv = yes; then
LIBS="$LIBS $LIBICONV" LIBS="$LIBS $LIBICONV"
fi fi
am_cv_func_iconv_works=no if test "$cross_compiling" = yes; then :
for ac_iconv_const in '' 'const'; do
if test "$cross_compiling" = yes; then :
case "$host_os" in case "$host_os" in
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
*) am_cv_func_iconv_works="guessing yes" ;; *) am_cv_func_iconv_works="guessing yes" ;;
esac esac
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <iconv.h> #include <iconv.h>
#include <string.h> #include <string.h>
int main ()
#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 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
returns. */ returns. */
{ {
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
if (cd_utf8_to_88591 != (iconv_t)(-1)) if (cd_utf8_to_88591 != (iconv_t)(-1))
{ {
static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ static const char input[] = "\342\202\254"; /* EURO SIGN */
char buf[10]; char buf[10];
ICONV_CONST char *inptr = input; const char *inptr = input;
size_t inbytesleft = strlen (input); size_t inbytesleft = strlen (input);
char *outptr = buf; char *outptr = buf;
size_t outbytesleft = sizeof (buf); size_t outbytesleft = sizeof (buf);
size_t res = iconv (cd_utf8_to_88591, size_t res = iconv (cd_utf8_to_88591,
&inptr, &inbytesleft, (char **) &inptr, &inbytesleft,
&outptr, &outbytesleft); &outptr, &outbytesleft);
if (res == 0) if (res == 0)
result |= 1; return 1;
iconv_close (cd_utf8_to_88591);
} }
} }
/* Test against Solaris 10 bug: Failures are not distinguishable from /* Test against Solaris 10 bug: Failures are not distinguishable from
successful returns. */ successful returns. */
{ {
iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
if (cd_ascii_to_88591 != (iconv_t)(-1)) if (cd_ascii_to_88591 != (iconv_t)(-1))
{ {
static ICONV_CONST char input[] = "\263"; static const char input[] = "\263";
char buf[10]; char buf[10];
ICONV_CONST char *inptr = input; const char *inptr = input;
size_t inbytesleft = strlen (input); size_t inbytesleft = strlen (input);
char *outptr = buf; char *outptr = buf;
size_t outbytesleft = sizeof (buf); size_t outbytesleft = sizeof (buf);
size_t res = iconv (cd_ascii_to_88591, size_t res = iconv (cd_ascii_to_88591,
&inptr, &inbytesleft, (char **) &inptr, &inbytesleft,
&outptr, &outbytesleft); &outptr, &outbytesleft);
if (res == 0) if (res == 0)
result |= 2; return 1;
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. */ #if 0 /* This bug could be worked around by the caller. */
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
{ {
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
if (cd_88591_to_utf8 != (iconv_t)(-1)) if (cd_88591_to_utf8 != (iconv_t)(-1))
{ {
static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augen ma\337";
char buf[50]; char buf[50];
ICONV_CONST char *inptr = input; const char *inptr = input;
size_t inbytesleft = strlen (input); size_t inbytesleft = strlen (input);
char *outptr = buf; char *outptr = buf;
size_t outbytesleft = sizeof (buf); size_t outbytesleft = sizeof (buf);
size_t res = iconv (cd_88591_to_utf8, size_t res = iconv (cd_88591_to_utf8,
&inptr, &inbytesleft, (char **) &inptr, &inbytesleft,
&outptr, &outbytesleft); &outptr, &outbytesleft);
if ((int)res > 0) if ((int)res > 0)
result |= 8; return 1;
iconv_close (cd_88591_to_utf8);
} }
} }
#endif #endif
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
provided. */ provided. */
if (/* Try standardized names. */ if (/* Try standardized names. */
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
/* Try IRIX, OSF/1 names. */ /* Try IRIX, OSF/1 names. */
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
/* Try AIX names. */ /* Try AIX names. */
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
/* Try HP-UX names. */ /* Try HP-UX names. */
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
result |= 16; return 1;
return result;
;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_run "$LINENO"; then : if ac_fn_c_try_run "$LINENO"; then :
am_cv_func_iconv_works=yes am_cv_func_iconv_works=yes
else
am_cv_func_iconv_works=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
test "$am_cv_func_iconv_works" = no || break
done
LIBS="$am_save_LIBS" LIBS="$am_save_LIBS"
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
$as_echo "$am_cv_func_iconv_works" >&6; } $as_echo "$am_cv_func_iconv_works" >&6; }
case "$am_cv_func_iconv_works" in case "$am_cv_func_iconv_works" in
*no) am_func_iconv=no am_cv_lib_iconv=no ;; *no) am_func_iconv=no am_cv_lib_iconv=no ;;
*) am_func_iconv=yes ;; *) am_func_iconv=yes ;;
esac esac
else else
skipping to change at line 5272 skipping to change at line 5264
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(_MSC_VER) || defined(__cplusplus) #if defined(__STDC__) || 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 5307 skipping to change at line 5299
$am_cv_proto_iconv" >&5 $am_cv_proto_iconv" >&5
$as_echo " $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
if test -n "$LIBICONV" ; then if test -n "$LIBICONV"; then :
LIBS="$LIBS $LIBICONV" LIBS="$LIBS $LIBICONV"
fi fi
for ac_header in iconv.h for ac_header in iconv.h
do : do :
ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_i ncludes_default" ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_i ncludes_default"
if test "x$ac_cv_header_iconv_h" = xyes; then : if test "x$ac_cv_header_iconv_h" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_ICONV_H 1 #define HAVE_ICONV_H 1
_ACEOF _ACEOF
fi fi
done done
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: Not building with iconv as reque sted on the configuration command line" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Not building with iconv as reque sted on the configuration command line" >&5
$as_echo "$as_me: Not building with iconv as requested on the configuration comm and line" >&6;} $as_echo "$as_me: Not building with iconv as requested on the configuration comm and line" >&6;}
fi fi
# Build with pcre # Build with pcre
# Check whether --with-pcre was given. # Check whether --with-pcre was given.
if test "${with_pcre+set}" = set; then : if test "${with_pcre+set}" = set; then :
withval=$with_pcre; withval=$with_pcre;
else else
with_pcre=check with_pcre=check
fi fi
if ( test "x$with_pcre" != "xno" ) ; then if test "x$with_pcre" != "xno"; then :
for ac_header in pcre.h for ac_header in pcre.h
do : do :
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_inc ludes_default" ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_inc ludes_default"
if test "x$ac_cv_header_pcre_h" = xyes; then : if test "x$ac_cv_header_pcre_h" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_PCRE_H 1 #define HAVE_PCRE_H 1
_ACEOF _ACEOF
fi fi
done done
if ( test "x$ac_cv_header_pcre_h" = "xyes" ) ; then if test "x$ac_cv_header_pcre_h" = "xyes"; then :
LIBS="$LIBS $(pcre-config --libs)" LIBS="$LIBS $(pcre-config --libs)"
CFLAGS="$CFLAGS $(pcre-config --cflags)" CFLAGS="$CFLAGS $(pcre-config --cflags)"
else
else
pcre_status="not found" pcre_status="not found"
fi
fi
else else
pcre_status="disabled" pcre_status="disabled"
fi
# Build with file globbing
# Check whether --with-glob was given.
if test "${with_glob+set}" = set; then :
withval=$with_glob;
else
with_glob=yes
fi
if test "x$with_glob" != "xno"; then :
for ac_header in glob.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "glob.h" "ac_cv_header_glob_h" "$ac_inc
ludes_default"
if test "x$ac_cv_header_glob_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_GLOB_H 1
_ACEOF
else
if test "x$with_glob" != "xcheck"; then :
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$a
c_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "glob.h not found (use --without-glob to compile without file glo
bbing)
See \`config.log' for more details" "$LINENO" 5; }
fi
fi
done
else
glob_status="disabled"
fi
# Build with zlib
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then :
withval=$with_zlib;
else
with_zlib=check
fi
if test "x$with_zlib" != "xno" ; then :
for ac_header in zlib.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_inc
ludes_default"
if test "x$ac_cv_header_zlib_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_ZLIB_H 1
_ACEOF
fi
done
if test "x$ac_cv_header_zlib_h" = "xyes"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -
lz" >&5
$as_echo_n "checking for gzopen in -lz... " >&6; }
if ${ac_cv_lib_z_gzopen+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lz $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char gzopen ();
int
main ()
{
return gzopen ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_z_gzopen=yes
else
ac_cv_lib_z_gzopen=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
$as_echo "$ac_cv_lib_z_gzopen" >&6; }
if test "x$ac_cv_lib_z_gzopen" = xyes; then :
LIBS="-lz ${LIBS}"
HAVE_ZLIB_LIB="yes"
else
HAVE_ZLIB_LIB=""
fi
if test "x$HAVE_ZLIB_LIB" != "xyes"; then :
as_fn_error $? "zlib was not found" "$LINENO" 5
fi
else
zlib_status="not found"
fi
else
zlib_status="disabled"
fi
# Build with bzlib
# Check whether --with-bzlib was given.
if test "${with_bzlib+set}" = set; then :
withval=$with_bzlib;
else
with_bzlib=check
fi
if test "x$with_bzlib" != "xno" ; then :
for ac_header in bzlib.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_i
ncludes_default"
if test "x$ac_cv_header_bzlib_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_BZLIB_H 1
_ACEOF
fi
done
if test "x$ac_cv_header_bzlib_h" = "xyes"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzReadO
pen in -lbz2" >&5
$as_echo_n "checking for BZ2_bzReadOpen in -lbz2... " >&6; }
if ${ac_cv_lib_bz2_BZ2_bzReadOpen+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lbz2 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char BZ2_bzReadOpen ();
int
main ()
{
return BZ2_bzReadOpen ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_bz2_BZ2_bzReadOpen=yes
else
ac_cv_lib_bz2_BZ2_bzReadOpen=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzReadOpen"
>&5
$as_echo "$ac_cv_lib_bz2_BZ2_bzReadOpen" >&6; }
if test "x$ac_cv_lib_bz2_BZ2_bzReadOpen" = xyes; then :
LIBS="-lbz2 ${LIBS}"
HAVE_BZLIB_LIB="yes"
else
HAVE_BZLIB_LIB=""
fi
if test "x$HAVE_BZLIB_LIB" != "xyes"; then :
as_fn_error $? "bzlib was not found" "$LINENO" 5
fi
else
bzlib_status="not found"
fi
else
bzlib_status="disabled"
fi
# Build with liblzma
# Check whether --with-liblzma was given.
if test "${with_liblzma+set}" = set; then :
withval=$with_liblzma;
else
with_liblzma=check
fi
if test "x$with_liblzma" != "xno" ; then :
for ac_header in lzma.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_inc
ludes_default"
if test "x$ac_cv_header_lzma_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LZMA_H 1
_ACEOF
fi
done
if test "x$ac_cv_header_lzma_h" = "xyes"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_stream
_decoder in -llzma" >&5
$as_echo_n "checking for lzma_stream_decoder in -llzma... " >&6; }
if ${ac_cv_lib_lzma_lzma_stream_decoder+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-llzma $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char lzma_stream_decoder ();
int
main ()
{
return lzma_stream_decoder ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_lzma_lzma_stream_decoder=yes
else
ac_cv_lib_lzma_lzma_stream_decoder=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_stream_dec
oder" >&5
$as_echo "$ac_cv_lib_lzma_lzma_stream_decoder" >&6; }
if test "x$ac_cv_lib_lzma_lzma_stream_decoder" = xyes; then :
LIBS="-llzma ${LIBS}"
HAVE_LIBLZMA_LIB="yes"
else
HAVE_LIBLZMA_LIB=""
fi
if test "x$HAVE_LIBLZMA_LIB" != "xyes"; then :
as_fn_error $? "liblzma was not found" "$LINENO" 5
fi
else
liblzma_status="not found"
fi
else
liblzma_status="disabled"
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const " >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const " >&5
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
if ${ac_cv_c_const+:} false; then : if ${ac_cv_c_const+:} 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. */
skipping to change at line 5644 skipping to change at line 5950
# As a last resort, use the slow shell script. Don't cache a # As a last resort, use the slow shell script. Don't cache a
# value for MKDIR_P within a source directory, because that will # value for MKDIR_P within a source directory, because that will
# break other packages using the cache if that directory is # break other packages using the cache if that directory is
# removed, or if the value is a relative name. # removed, or if the value is a relative name.
MKDIR_P="$ac_install_sh -d" MKDIR_P="$ac_install_sh -d"
fi fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
$as_echo "$MKDIR_P" >&6; } $as_echo "$MKDIR_P" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not trunca mkdir_p="$MKDIR_P"
te output" >&5 case $mkdir_p in
$as_echo_n "checking for a sed that does not truncate output... " >&6; } [\\/$]* | ?:[\\/]*) ;;
if ${ac_cv_path_SED+:} false; then : */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >& 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >& 5
$as_echo_n "checking whether NLS is requested... " >&6; } $as_echo_n "checking whether NLS is requested... " >&6; }
# Check whether --enable-nls was given. # Check whether --enable-nls was given.
if test "${enable_nls+set}" = set; then : if test "${enable_nls+set}" = set; then :
enableval=$enable_nls; USE_NLS=$enableval enableval=$enable_nls; USE_NLS=$enableval
else else
USE_NLS=yes USE_NLS=yes
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
$as_echo "$USE_NLS" >&6; } $as_echo "$USE_NLS" >&6; }
GETTEXT_MACRO_VERSION=0.19 GETTEXT_MACRO_VERSION=0.18
# 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
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which echo "#! /bin/sh" >conf$$.sh
# contains only /bin. Note that ksh looks also at the FPATH variable, echo "exit 0" >>conf$$.sh
# so we have to set that as well for the test. chmod +x conf$$.sh
PATH_SEPARATOR=: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ PATH_SEPARATOR=';'
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ else
|| 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 5848 skipping to change at line 6092
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
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which echo "#! /bin/sh" >conf$$.sh
# contains only /bin. Note that ksh looks also at the FPATH variable, echo "exit 0" >>conf$$.sh
# so we have to set that as well for the test. chmod +x conf$$.sh
PATH_SEPARATOR=: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ PATH_SEPARATOR=';'
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ else
|| 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 5923 skipping to change at line 6168
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
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which echo "#! /bin/sh" >conf$$.sh
# contains only /bin. Note that ksh looks also at the FPATH variable, echo "exit 0" >>conf$$.sh
# so we have to set that as well for the test. chmod +x conf$$.sh
PATH_SEPARATOR=: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ PATH_SEPARATOR=';'
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ else
|| 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 6104 skipping to change at line 6350
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>
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION $gt_revision_test_code
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 + __GNU_GETTEXT_SYMBOL_EXPRESSION return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_b
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 6174 skipping to change at line 6411
{ $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
skipping to change at line 6231 skipping to change at line 6464
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 "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
$as_echo_n "checking for working iconv... " >&6; } $as_echo_n "checking for working iconv... " >&6; }
if ${am_cv_func_iconv_works+:} false; then : if ${am_cv_func_iconv_works+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
am_save_LIBS="$LIBS" am_save_LIBS="$LIBS"
if test $am_cv_lib_iconv = yes; then if test $am_cv_lib_iconv = yes; then
LIBS="$LIBS $LIBICONV" LIBS="$LIBS $LIBICONV"
fi fi
am_cv_func_iconv_works=no if test "$cross_compiling" = yes; then :
for ac_iconv_const in '' 'const'; do
if test "$cross_compiling" = yes; then :
case "$host_os" in case "$host_os" in
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
*) am_cv_func_iconv_works="guessing yes" ;; *) am_cv_func_iconv_works="guessing yes" ;;
esac esac
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <iconv.h> #include <iconv.h>
#include <string.h> #include <string.h>
int main ()
#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 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
returns. */ returns. */
{ {
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
if (cd_utf8_to_88591 != (iconv_t)(-1)) if (cd_utf8_to_88591 != (iconv_t)(-1))
{ {
static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ static const char input[] = "\342\202\254"; /* EURO SIGN */
char buf[10]; char buf[10];
ICONV_CONST char *inptr = input; const char *inptr = input;
size_t inbytesleft = strlen (input); size_t inbytesleft = strlen (input);
char *outptr = buf; char *outptr = buf;
size_t outbytesleft = sizeof (buf); size_t outbytesleft = sizeof (buf);
size_t res = iconv (cd_utf8_to_88591, size_t res = iconv (cd_utf8_to_88591,
&inptr, &inbytesleft, (char **) &inptr, &inbytesleft,
&outptr, &outbytesleft); &outptr, &outbytesleft);
if (res == 0) if (res == 0)
result |= 1; return 1;
iconv_close (cd_utf8_to_88591);
} }
} }
/* Test against Solaris 10 bug: Failures are not distinguishable from /* Test against Solaris 10 bug: Failures are not distinguishable from
successful returns. */ successful returns. */
{ {
iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
if (cd_ascii_to_88591 != (iconv_t)(-1)) if (cd_ascii_to_88591 != (iconv_t)(-1))
{ {
static ICONV_CONST char input[] = "\263"; static const char input[] = "\263";
char buf[10]; char buf[10];
ICONV_CONST char *inptr = input; const char *inptr = input;
size_t inbytesleft = strlen (input); size_t inbytesleft = strlen (input);
char *outptr = buf; char *outptr = buf;
size_t outbytesleft = sizeof (buf); size_t outbytesleft = sizeof (buf);
size_t res = iconv (cd_ascii_to_88591, size_t res = iconv (cd_ascii_to_88591,
&inptr, &inbytesleft, (char **) &inptr, &inbytesleft,
&outptr, &outbytesleft); &outptr, &outbytesleft);
if (res == 0) if (res == 0)
result |= 2; return 1;
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. */ #if 0 /* This bug could be worked around by the caller. */
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
{ {
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
if (cd_88591_to_utf8 != (iconv_t)(-1)) if (cd_88591_to_utf8 != (iconv_t)(-1))
{ {
static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augen ma\337";
char buf[50]; char buf[50];
ICONV_CONST char *inptr = input; const char *inptr = input;
size_t inbytesleft = strlen (input); size_t inbytesleft = strlen (input);
char *outptr = buf; char *outptr = buf;
size_t outbytesleft = sizeof (buf); size_t outbytesleft = sizeof (buf);
size_t res = iconv (cd_88591_to_utf8, size_t res = iconv (cd_88591_to_utf8,
&inptr, &inbytesleft, (char **) &inptr, &inbytesleft,
&outptr, &outbytesleft); &outptr, &outbytesleft);
if ((int)res > 0) if ((int)res > 0)
result |= 8; return 1;
iconv_close (cd_88591_to_utf8);
} }
} }
#endif #endif
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
provided. */ provided. */
if (/* Try standardized names. */ if (/* Try standardized names. */
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
/* Try IRIX, OSF/1 names. */ /* Try IRIX, OSF/1 names. */
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
/* Try AIX names. */ /* Try AIX names. */
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
/* Try HP-UX names. */ /* Try HP-UX names. */
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
result |= 16; return 1;
return result;
;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_run "$LINENO"; then : if ac_fn_c_try_run "$LINENO"; then :
am_cv_func_iconv_works=yes am_cv_func_iconv_works=yes
else
am_cv_func_iconv_works=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
test "$am_cv_func_iconv_works" = no || break
done
LIBS="$am_save_LIBS" LIBS="$am_save_LIBS"
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
$as_echo "$am_cv_func_iconv_works" >&6; } $as_echo "$am_cv_func_iconv_works" >&6; }
case "$am_cv_func_iconv_works" in case "$am_cv_func_iconv_works" in
*no) am_func_iconv=no am_cv_lib_iconv=no ;; *no) am_func_iconv=no am_cv_lib_iconv=no ;;
*) am_func_iconv=yes ;; *) am_func_iconv=yes ;;
esac esac
else else
skipping to change at line 6457 skipping to change at line 6656
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
skipping to change at line 6850 skipping to change at line 7049
$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>
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION $gt_revision_test_code
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 + __GNU_GETTEXT_SYMBOL_EXPRESSION return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a
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>
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION $gt_revision_test_code
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 + __GNU_GETTEXT_SYMBOL_EXPRESSION return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a
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 7311 skipping to change at line 7492
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
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
CFLAGS=$noerror_CFLAGS CFLAGS=$noerror_CFLAGS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bu_cv_have_fopen64" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bu_cv_have_fopen64" >&5
$as_echo "$bu_cv_have_fopen64" >&6; } $as_echo "$bu_cv_have_fopen64" >&6; }
if test "$bu_cv_have_fopen64" != no; then if test "$bu_cv_have_fopen64" != no; then :
$as_echo "#define HAVE_FOPEN64 1" >>confdefs.h $as_echo "#define HAVE_FOPEN64 1" >>confdefs.h
if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE"; then if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE"; then :
$as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h $as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h
fi
fi fi
for ac_func in bzero
do :
ac_fn_c_check_func "$LINENO" "bzero" "ac_cv_func_bzero"
if test "x$ac_cv_func_bzero" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_BZERO 1
_ACEOF
fi fi
done
for ac_func in backtrace for ac_func in backtrace
do : do :
ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace" ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
if test "x$ac_cv_func_backtrace" = xyes; then : if test "x$ac_cv_func_backtrace" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_BACKTRACE 1 #define HAVE_BACKTRACE 1
_ACEOF _ACEOF
fi fi
skipping to change at line 7399 skipping to change at line 7570
do : do :
ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp" ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
if test "x$ac_cv_func_mkstemp" = xyes; then : if test "x$ac_cv_func_mkstemp" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_MKSTEMP 1 #define HAVE_MKSTEMP 1
_ACEOF _ACEOF
fi fi
done done
for ac_func in fnmatch
do :
ac_fn_c_check_func "$LINENO" "fnmatch" "ac_cv_func_fnmatch"
if test "x$ac_cv_func_fnmatch" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_FNMATCH 1
_ACEOF
fi
done
ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_len" "ac_cv_member_ struct_sockaddr_storage_ss_len" "$ac_includes_default" ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_len" "ac_cv_member_ struct_sockaddr_storage_ss_len" "$ac_includes_default"
if test "x$ac_cv_member_struct_sockaddr_storage_ss_len" = xyes; then : if test "x$ac_cv_member_struct_sockaddr_storage_ss_len" = xyes; then :
$as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
fi fi
if test $ac_cv_header_winsock_h = "yes"; then :
# AC_CHECK_LIBS([ws2_32],[WSAGetLastError]) fails because of the __stdcall in
the function prototype
LIBS="$LIBS -lws2_32"
fi
# The cast to long int works around a bug in the HP C Compiler # The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364. # This bug is HP SR number 8606223364.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of rlim_t" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of rlim_t" >&5
$as_echo_n "checking size of rlim_t... " >&6; } $as_echo_n "checking size of rlim_t... " >&6; }
if ${ac_cv_sizeof_rlim_t+:} false; then : if ${ac_cv_sizeof_rlim_t+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (rlim_t))" "ac_cv_sizeof_ rlim_t" "#if HAVE_SYS_RESOURCE_H if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (rlim_t))" "ac_cv_sizeof_ rlim_t" "#if HAVE_SYS_RESOURCE_H
skipping to change at line 7440 skipping to change at line 7629
fi fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_rlim_t" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_rlim_t" >&5
$as_echo "$ac_cv_sizeof_rlim_t" >&6; } $as_echo "$ac_cv_sizeof_rlim_t" >&6; }
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define SIZEOF_RLIM_T $ac_cv_sizeof_rlim_t #define SIZEOF_RLIM_T $ac_cv_sizeof_rlim_t
_ACEOF _ACEOF
if test $ac_cv_sizeof_rlim_t = "4"; then if test $ac_cv_sizeof_rlim_t = "4"; then :
$as_echo "#define RLIM_STRING \"%d\"" >>confdefs.h $as_echo "#define RLIM_STRING \"%d\"" >>confdefs.h
elif test $ac_cv_sizeof_rlim_t = "8"; then elif test $ac_cv_sizeof_rlim_t = "8"; then :
$as_echo "#define RLIM_STRING \"%lli\"" >>confdefs.h $as_echo "#define RLIM_STRING \"%lli\"" >>confdefs.h
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can not detect the size of
your system\'s rlim_t type" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can not detect the size
$as_echo "$as_me: WARNING: can not detect the size of your system\'s rlim_t type of your system rlim_t type" >&5
" >&2;} $as_echo "$as_me: WARNING: can not detect the size of your system rlim_t type" >
&2;}
fi fi
ac_fn_c_check_decl "$LINENO" "LLONG_MAX" "ac_cv_have_decl_LLONG_MAX" "#include < limits.h> ac_fn_c_check_decl "$LINENO" "LLONG_MAX" "ac_cv_have_decl_LLONG_MAX" "#include < limits.h>
" "
if test "x$ac_cv_have_decl_LLONG_MAX" = xyes; then : if test "x$ac_cv_have_decl_LLONG_MAX" = xyes; then :
HAVE_LLONG_MAX="yes" HAVE_LLONG_MAX="yes"
else else
HAVE_LLONG_MAX="no" HAVE_LLONG_MAX="no"
fi fi
if ( test "x$ac_cv_have_decl_LLONG_MAX" != "xyes" ) ; then if test "x$ac_cv_have_decl_LLONG_MAX" != "xyes"; then :
as_fn_error $? "LLONG_MAX is not defined on your system." "$LINENO" 5 as_fn_error $? "LLONG_MAX is not defined on your system." "$LINENO" 5
fi fi
# Check whether --enable-sargphp was given. # Check whether --enable-sargphp was given.
if test "${enable_sargphp+set}" = set; then : if test "${enable_sargphp+set}" = set; then :
enableval=$enable_sargphp; enableval=$enable_sargphp;
if test "$enableval" -a "x$enableval" != "xno" ; then if test "$enableval" -a "x$enableval" != "xno"; then :
SARGPHPDIR=$enableval SARGPHPDIR=$enableval
fi fi
else else
SARGPHPDIR="/var/www/html" SARGPHPDIR="/var/www/html"
fi fi
if test "$SARGPHPDIR" ; then if test "$SARGPHPDIR"; then :
echo "using $SARGPHPDIR as the directory to install sarg-php"
{ $as_echo "$as_me:${as_lineno-$LINENO}: using $SARGPHPDIR as the directo
ry to install sarg-php" >&5
$as_echo "$as_me: using $SARGPHPDIR as the directory to install sarg-php" >&6;}
fi fi
# Check whether --enable-fontdir was given. # Check whether --enable-fontdir was given.
if test "${enable_fontdir+set}" = set; then : if test "${enable_fontdir+set}" = set; then :
enableval=$enable_fontdir; enableval=$enable_fontdir;
if test "$enableval" -a "x$enableval" != "xno" ; then if test "$enableval" -a "x$enableval" != "xno"; then :
FONTDIR=$enableval FONTDIR=$enableval
fi fi
else else
FONTDIR="${datarootdir}/sarg/fonts" FONTDIR="${datarootdir}/sarg/fonts"
fi fi
if test "$FONTDIR" ; then if test "$FONTDIR"; then :
if test "x$prefix" = "xNONE" ; then
tempfullpath=`prefix=$ac_default_prefix ; eval "echo $FONTDIR"` if test "x$prefix" = "xNONE"; then :
else
tempfullpath=`eval "echo $FONTDIR"` tempfullpath=`prefix=$ac_default_prefix ; eval "echo $FONTDIR"`
fi
echo "using $tempfullpath as the directory of the fonts" else
tempfullpath=`eval "echo $FONTDIR"`
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: using $tempfullpath as the direc
tory of the fonts" >&5
$as_echo "$as_me: using $tempfullpath as the directory of the fonts" >&6;}
fi fi
# Check whether --enable-imagedir was given. # Check whether --enable-imagedir was given.
if test "${enable_imagedir+set}" = set; then : if test "${enable_imagedir+set}" = set; then :
enableval=$enable_imagedir; enableval=$enable_imagedir;
if test "$enableval"; then if test "$enableval"; then :
IMAGEDIR=$enableval IMAGEDIR=$enableval
fi fi
else else
IMAGEDIR="${datarootdir}/sarg/images" IMAGEDIR="${datarootdir}/sarg/images"
fi fi
if test "x$prefix" = "xNONE" ; then if test "x$prefix" = "xNONE"; then :
tempfullpath=`prefix=$ac_default_prefix ; eval "echo $IMAGEDIR"`
tempfullpath=`prefix=$ac_default_prefix ; eval "echo $IMAGEDIR"`
else else
tempfullpath=`eval "echo $IMAGEDIR"`
tempfullpath=`eval "echo $IMAGEDIR"`
fi fi
echo "using $tempfullpath as the directory of the images" { $as_echo "$as_me:${as_lineno-$LINENO}: using $tempfullpath as the directory of
the images" >&5
$as_echo "$as_me: using $tempfullpath as the directory of the images" >&6;}
# Check whether --enable-extraprotection was given. # Check whether --enable-extraprotection was given.
if test "${enable_extraprotection+set}" = set; then : if test "${enable_extraprotection+set}" = set; then :
enableval=$enable_extraprotection; enableval=$enable_extraprotection;
if test "$enableval"; then if test "$enableval"; then :
# _FORTIFY_SOURCE may have been defined by the system. It must be undefin
ed before it is changed to the value we want.
CFLAGS="${CFLAGS} -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
"
if test "x$werror_status" != "xfail" ; then
CFLAGS="${CFLAGS} -Werror"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for format security fla # _FORTIFY_SOURCE may have been defined by the system. It must be
g in $CC" >&5 undefined before it is changed to the value we want.
CFLAGS="${CFLAGS} -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_
SOURCE=2"
if test "x$werror_status" != "xfail"; then :
CFLAGS="${CFLAGS} -Werror"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for format secu
rity flag in $CC" >&5
$as_echo_n "checking for format security flag in $CC... " >&6; } $as_echo_n "checking for format security flag in $CC... " >&6; }
saved_CFLAGS="${CFLAGS}" saved_CFLAGS="${CFLAGS}"
CFLAGS="${CFLAGS} -Wformat -Werror=format-security" CFLAGS="${CFLAGS} -Wformat -Werror=format-security"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
have_format_security="yes" have_format_security="yes"
else else
have_format_security="no" have_format_security="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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_format_security" > &5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_format_sec urity" >&5
$as_echo "$have_format_security" >&6; } $as_echo "$have_format_security" >&6; }
if test "$have_format_security" = "no" ; then if test "$have_format_security" = "no"; then :
CFLAGS="${saved_CFLAGS}" CFLAGS="${saved_CFLAGS}"
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for empty body flag in $CC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for empty body flag in $CC" >&5
$as_echo_n "checking for empty body flag in $CC... " >&6; } $as_echo_n "checking for empty body flag in $CC... " >&6; }
saved_CFLAGS="${CFLAGS}" saved_CFLAGS="${CFLAGS}"
CFLAGS="${CFLAGS} -Wempty-body" CFLAGS="${CFLAGS} -Wempty-body"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
have_empty_body="yes" have_empty_body="yes"
else else
have_empty_body="no" have_empty_body="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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_empty_body" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_empty_body " >&5
$as_echo "$have_empty_body" >&6; } $as_echo "$have_empty_body" >&6; }
if test "$have_empty_body" = "no" ; then if test "$have_empty_body" = "no"; then :
CFLAGS="${saved_CFLAGS}" CFLAGS="${saved_CFLAGS}"
fi fi
fi
fi
fi fi
# Check whether --enable-doublecheck was given. # Check whether --enable-doublecheck was given.
if test "${enable_doublecheck+set}" = set; then : if test "${enable_doublecheck+set}" = set; then :
enableval=$enable_doublecheck; enableval=$enable_doublecheck;
if test "$enableval"; then if test "$enableval"; then :
$as_echo "#define ENABLE_DOUBLE_CHECK_DATA 1" >>confdefs.h
fi $as_echo "#define ENABLE_DOUBLE_CHECK_DATA 1" >>confdefs.h
fi
fi fi
# Check whether --enable-xsl-man was given. # Check whether --enable-xsl-man was given.
if test "${enable_xsl_man+set}" = set; then : if test "${enable_xsl_man+set}" = set; then :
enableval=$enable_xsl_man; enableval=$enable_xsl_man;
if test "$enableval"; then if test "$enableval"; then :
XSL_MAN_STYLESHEET=$enableval XSL_MAN_STYLESHEET=$enableval
fi fi
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/sgml/docbook/ stylesheet/xsl/nwalsh/manpages/docbook.xsl" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/sgml/docbook/ stylesheet/xsl/nwalsh/manpages/docbook.xsl" >&5
$as_echo_n "checking for /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/ docbook.xsl... " >&6; } $as_echo_n "checking for /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/ docbook.xsl... " >&6; }
if ${ac_cv_file__usr_share_sgml_docbook_stylesheet_xsl_nwalsh_manpages_docbook_x sl+:} false; then : if ${ac_cv_file__usr_share_sgml_docbook_stylesheet_xsl_nwalsh_manpages_docbook_x sl+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
test "$cross_compiling" = yes && test "$cross_compiling" = yes &&
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO " 5 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO " 5
if test -r "/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl"; then if test -r "/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl"; then
skipping to change at line 7618 skipping to change at line 7828
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE__USR_SHARE_SGML_DOCBOOK_STYLESHEET_XSL_NWALSH_MANPAGES_DOCBOOK_XSL 1 #define HAVE__USR_SHARE_SGML_DOCBOOK_STYLESHEET_XSL_NWALSH_MANPAGES_DOCBOOK_XSL 1
_ACEOF _ACEOF
# debian # debian
XSL_MAN_STYLESHEET="/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpage s/docbook.xsl" XSL_MAN_STYLESHEET="/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpage s/docbook.xsl"
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/sgml/docbook/xs l-stylesheets/manpages/docbook.xsl" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/sgml/doc book/xsl-stylesheets/manpages/docbook.xsl" >&5
$as_echo_n "checking for /usr/share/sgml/docbook/xsl-stylesheets/manpages/docboo k.xsl... " >&6; } $as_echo_n "checking for /usr/share/sgml/docbook/xsl-stylesheets/manpages/docboo k.xsl... " >&6; }
if ${ac_cv_file__usr_share_sgml_docbook_xsl_stylesheets_manpages_docbook_xsl+:} false; then : if ${ac_cv_file__usr_share_sgml_docbook_xsl_stylesheets_manpages_docbook_xsl+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
test "$cross_compiling" = yes && test "$cross_compiling" = yes &&
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO " 5 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO " 5
if test -r "/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"; then if test -r "/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"; then
ac_cv_file__usr_share_sgml_docbook_xsl_stylesheets_manpages_docbook_xsl=yes ac_cv_file__usr_share_sgml_docbook_xsl_stylesheets_manpages_docbook_xsl=yes
else else
ac_cv_file__usr_share_sgml_docbook_xsl_stylesheets_manpages_docbook_xsl=no ac_cv_file__usr_share_sgml_docbook_xsl_stylesheets_manpages_docbook_xsl=no
fi fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_sgml_doc book_xsl_stylesheets_manpages_docbook_xsl" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_sgml_doc book_xsl_stylesheets_manpages_docbook_xsl" >&5
$as_echo "$ac_cv_file__usr_share_sgml_docbook_xsl_stylesheets_manpages_docbook_x sl" >&6; } $as_echo "$ac_cv_file__usr_share_sgml_docbook_xsl_stylesheets_manpages_docbook_x sl" >&6; }
if test "x$ac_cv_file__usr_share_sgml_docbook_xsl_stylesheets_manpages_docbook_x sl" = xyes; then : if test "x$ac_cv_file__usr_share_sgml_docbook_xsl_stylesheets_manpages_docbook_x sl" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE__USR_SHARE_SGML_DOCBOOK_XSL_STYLESHEETS_MANPAGES_DOCBOOK_XSL 1 #define HAVE__USR_SHARE_SGML_DOCBOOK_XSL_STYLESHEETS_MANPAGES_DOCBOOK_XSL 1
_ACEOF _ACEOF
# gentoo # gentoo
XSL_MAN_STYLESHEET="/usr/share/sgml/docbook/xsl-stylesheets/manpages/docb XSL_MAN_STYLESHEET="/usr/share/sgml/docbook/xsl-stylesheets/manpa
ook.xsl" ges/docbook.xsl"
fi fi
fi fi
fi fi
# Check whether --enable-xsl-html was given. # Check whether --enable-xsl-html was given.
if test "${enable_xsl_html+set}" = set; then : if test "${enable_xsl_html+set}" = set; then :
enableval=$enable_xsl_html; enableval=$enable_xsl_html;
if test "$enableval"; then if test "$enableval"; then :
XSL_HTML_STYLESHEET=$enableval XSL_HTML_STYLESHEET=$enableval
fi fi
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/sgml/docbook/ stylesheet/xsl/docbook-xsl/html/onechunk.xsl" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/sgml/docbook/ stylesheet/xsl/docbook-xsl/html/onechunk.xsl" >&5
$as_echo_n "checking for /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/html /onechunk.xsl... " >&6; } $as_echo_n "checking for /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/html /onechunk.xsl... " >&6; }
if ${ac_cv_file__usr_share_sgml_docbook_stylesheet_xsl_docbook_xsl_html_onechunk _xsl+:} false; then : if ${ac_cv_file__usr_share_sgml_docbook_stylesheet_xsl_docbook_xsl_html_onechunk _xsl+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
test "$cross_compiling" = yes && test "$cross_compiling" = yes &&
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO " 5 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO " 5
if test -r "/usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/html/onechunk.xsl "; then if test -r "/usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/html/onechunk.xsl "; then
skipping to change at line 8249 skipping to change at line 8460
## 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 sarg $as_me 2.3.11, which was This file was extended by sarg $as_me 2.4.0, 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 8304 skipping to change at line 8515
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="\\
sarg config.status 2.3.11 sarg config.status 2.4.0
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 8861 skipping to change at line 9072
"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"
gt_tab=`printf '\t'` cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${ *\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_
gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" dir/POTFILES"
> "$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 assignment from automake < 1.5. # Hide the ALL_LINGUAS assigment 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 assignment from automake < 1.5. # Hide the ALL_LINGUAS assigment 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)
skipping to change at line 9001 skipping to change at line 9211
exec 5>>config.log exec 5>>config.log
# Use ||, not &&, to avoid exiting from the if with $? = 1, which # Use ||, not &&, to avoid exiting from the if with $? = 1, which
# would make configure fail if this is the last instruction. # would make configure fail if this is the last instruction.
$ac_cs_success || as_fn_exit 1 $ac_cs_success || as_fn_exit 1
fi fi
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi fi
if ( test "x$gd_status" = "xdisabled" ) ; then if test "x$gd_status" = "xdisabled"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: Not building with gd as requeste d on the configuration command line" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Not building with gd as requeste d on the configuration command line" >&5
$as_echo "$as_me: Not building with gd as requested on the configuration command line" >&6;} $as_echo "$as_me: Not building with gd as requested on the configuration command line" >&6;}
elif ( test "x$gd_status" = "xnot found" ) ; then
elif test "x$gd_status" = "xnot found"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: gd.h was not found so the graphs won't be available in the report" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: gd.h was not found so the graphs won't be available in the report" >&5
$as_echo "$as_me: gd.h was not found so the graphs won't be available in the rep ort" >&6;} $as_echo "$as_me: gd.h was not found so the graphs won't be available in the rep ort" >&6;}
fi fi
if ( test "x$pcre_status" = "xdisabled" ) ; then if test "x$pcre_status" = "xdisabled"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: Not building with pcre as reques ted on the configuration command line" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Not building with pcre as reques ted on the configuration command line" >&5
$as_echo "$as_me: Not building with pcre as requested on the configuration comma nd line" >&6;} $as_echo "$as_me: Not building with pcre as requested on the configuration comma nd line" >&6;}
elif ( test "x$pcre_status" = "xnot found" ) ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: pcre.h was not found so the rege elif test "x$pcre_status" = "xnot found"; then :
xp won't be available in the hostalias" >&5
$as_echo "$as_me: pcre.h was not found so the regexp won't be available in the h { $as_echo "$as_me:${as_lineno-$LINENO}: pcre.h was not found so the rege
ostalias" >&6;} xp won't be available in hostalias" >&5
$as_echo "$as_me: pcre.h was not found so the regexp won't be available in hosta
lias" >&6;}
fi
if test "x$ldap_status" = "xdisabled"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: Not building with LDAP support a
s requested on the configuration command line" >&5
$as_echo "$as_me: Not building with LDAP support as requested on the configurati
on command line" >&6;}
elif test "x$ldap_status" = "xnot found"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: ldap header files not found so L
DAP is not available to resolve user's names" >&5
$as_echo "$as_me: ldap header files not found so LDAP is not available to resolv
e user's names" >&6;}
fi
if test "x$glob_status" = "xdisabled"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: Not building with file globbing
as requested on the configuration command line" >&5
$as_echo "$as_me: Not building with file globbing as requested on the configurat
ion command line" >&6;}
fi
if test "x$zlib_status" = "xdisabled"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: Not building with zlib as reques
ted on the configuration command line" >&5
$as_echo "$as_me: Not building with zlib as requested on the configuration comma
nd line" >&6;}
elif test "x$zlib_status" = "xnot found"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: zlib.h was not found so it won't
be possible to process gzipped files" >&5
$as_echo "$as_me: zlib.h was not found so it won't be possible to process gzippe
d files" >&6;}
fi
if test "x$bzlib_status" = "xdisabled"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: Not building with bzlib as reque
sted on the configuration command line" >&5
$as_echo "$as_me: Not building with bzlib as requested on the configuration comm
and line" >&6;}
elif test "x$bzlib_status" = "xnot found"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: bzlib.h was not found so it won'
t be possible to process bzipped files" >&5
$as_echo "$as_me: bzlib.h was not found so it won't be possible to process bzipp
ed files" >&6;}
fi
if test "x$liblzma_status" = "xdisabled"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: Not building with liblzma as req
uested on the configuration command line" >&5
$as_echo "$as_me: Not building with liblzma as requested on the configuration co
mmand line" >&6;}
elif test "x$liblzma_status" = "xnot found"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: lzma.h was not found so it won't
be possible to process xz files" >&5
$as_echo "$as_me: lzma.h was not found so it won't be possible to process xz fil
es" >&6;}
fi fi
 End of changes. 180 change blocks. 
434 lines changed or deleted 736 lines changed or added

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