diff -Nru liblogging-1.0.5/aclocal.m4 liblogging-1.0.4/aclocal.m4 --- liblogging-1.0.5/aclocal.m4 2014-12-09 10:14:12.000000000 +0000 +++ liblogging-1.0.4/aclocal.m4 2014-04-02 12:30:18.000000000 +0000 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.14.1 -*- Autoconf -*- +# generated automatically by aclocal 1.13.4 -*- Autoconf -*- # Copyright (C) 1996-2013 Free Software Foundation, Inc. @@ -180,6 +180,46 @@ fi[]dnl ])# PKG_CHECK_MODULES + +# PKG_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable pkgconfigdir as the location where a module +# should install pkg-config .pc files. By default the directory is +# $libdir/pkgconfig, but the default can be changed by passing +# DIRECTORY. The user can override through the --with-pkgconfigdir +# parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_INSTALLDIR + + +# PKG_NOARCH_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable noarch_pkgconfigdir as the location where a +# module should install arch-independent pkg-config .pc files. By +# default the directory is $datadir/pkgconfig, but the default can be +# changed by passing DIRECTORY. The user can override through the +# --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_NOARCH_INSTALLDIR + # Copyright (C) 2002-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation @@ -192,10 +232,10 @@ # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.14' +[am__api_version='1.13' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.14.1], [], +m4_if([$1], [1.13.4], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -211,7 +251,7 @@ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.14.1])dnl +[AM_AUTOMAKE_VERSION([1.13.4])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) @@ -578,12 +618,6 @@ # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. -dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. -m4_define([AC_PROG_CC], -m4_defn([AC_PROG_CC]) -[_AM_PROG_CC_C_O -]) - # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- @@ -692,48 +726,7 @@ AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl - -# POSIX will say in a future version that running "rm -f" with no argument -# is OK; and we want to be able to make that assumption in our Makefile -# recipes. So use an aggressive probe to check that the usage we want is -# actually supported "in the wild" to an acceptable degree. -# See automake bug#10828. -# To make any issue more visible, cause the running configure to be aborted -# by default if the 'rm' program in use doesn't match our expectations; the -# user can still override this though. -if rm -f && rm -fr && rm -rf; then : OK; else - cat >&2 <<'END' -Oops! - -Your 'rm' program seems unable to run without file operands specified -on the command line, even when the '-f' option is present. This is contrary -to the behaviour of most rm programs out there, and not conforming with -the upcoming POSIX standard: - -Please tell bug-automake@gnu.org about your system, including the value -of your $PATH and any error possibly output before this message. This -can help us improve future automake versions. - -END - if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then - echo 'Configuration will proceed anyway, since you have set the' >&2 - echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 - echo >&2 - else - cat >&2 <<'END' -Aborting the configuration process, to ensure you take notice of the issue. - -You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . - -If you want to complete the configuration process using your problematic -'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM -to "yes", and re-run configure. - -END - AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) - fi -fi]) +]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further @@ -741,6 +734,7 @@ m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. @@ -852,6 +846,38 @@ rm -f confinc confmf ]) +# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_CC_C_O +# -------------- +# Like AC_PROG_CC_C_O, but changed for automake. +AC_DEFUN([AM_PROG_CC_C_O], +[AC_REQUIRE([AC_PROG_CC_C_O])dnl +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +dnl Make sure AC_PROG_CC is never called again, or it will override our +dnl setting of CC. +m4_define([AC_PROG_CC], + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) +]) + # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2013 Free Software Foundation, Inc. @@ -922,70 +948,6 @@ AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2013 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# _AM_PROG_CC_C_O -# --------------- -# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC -# to automatically call this. -AC_DEFUN([_AM_PROG_CC_C_O], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([compile])dnl -AC_LANG_PUSH([C])dnl -AC_CACHE_CHECK( - [whether $CC understands -c and -o together], - [am_cv_prog_cc_c_o], - [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) - # Make sure it works both with $CC and with simple cc. - # Following AC_PROG_CC_C_O, we do the test twice because some - # compilers refuse to overwrite an existing .o file with -o, - # though they will create one. - am_cv_prog_cc_c_o=yes - for am_i in 1 2; do - if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ - && test -f conftest2.$ac_objext; then - : OK - else - am_cv_prog_cc_c_o=no - break - fi - done - rm -f core conftest* - unset am_i]) -if test "$am_cv_prog_cc_c_o" != yes; then - # Losing compiler, so override with the script. - # FIXME: It is wrong to rewrite CC. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__CC in this case, - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" - CC="$am_aux_dir/compile $CC" -fi -AC_LANG_POP([C])]) - -# For backward compatibility. -AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) - -# Copyright (C) 2001-2013 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_RUN_LOG(COMMAND) -# ------------------- -# Run COMMAND, save the exit status in ac_status, and log it. -# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) -AC_DEFUN([AM_RUN_LOG], -[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD - ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - (exit $ac_status); }]) - # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2013 Free Software Foundation, Inc. diff -Nru liblogging-1.0.5/ChangeLog liblogging-1.0.4/ChangeLog --- liblogging-1.0.5/ChangeLog 2014-12-09 10:13:50.000000000 +0000 +++ liblogging-1.0.4/ChangeLog 2014-04-02 12:29:54.000000000 +0000 @@ -1,20 +1,6 @@ ---------------------------------------------------------------------------- -v1.0.5 2014-12-09 -- cleanup for systemd-journal >= 209 - closes https://github.com/rsyslog/liblogging/issues/17 -- bugfix: date stamp was incorrectly formatted - The day part was totally off. This affected the "uxsock:" and "file:" - drivers. - closes https://github.com/rsyslog/liblogging/issues/21 ----------------------------------------------------------------------------- -v1.0.4 2014-04-03 +v1.0.4 2014-04-02 - fix build problems on some platforms (namely RHEL/CENTOS 5) -- add --disable-man pages ./configure option - This permits to totally turn off man page handling. This is useful for - platforms like RHEL/CENTOS 5 where rst2man is hard to get when building - from git is desired. -- lower build system requirements to autoconf 2.59 - This permits building on RHEL/CENTOs 5 with stock autotools. ---------------------------------------------------------------------------- v1.0.3 2014-03-18 - fix build problem in Ubuntu 10.04 diff -Nru liblogging-1.0.5/config.h.in liblogging-1.0.4/config.h.in --- liblogging-1.0.5/config.h.in 2014-12-09 10:14:14.000000000 +0000 +++ liblogging-1.0.4/config.h.in 2014-04-02 12:30:29.000000000 +0000 @@ -80,6 +80,9 @@ */ #undef LT_OBJDIR +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +#undef NO_MINUS_C_MINUS_O + /* Indicator for a BSD OS */ #undef OS_BSD diff -Nru liblogging-1.0.5/config.sub liblogging-1.0.4/config.sub --- liblogging-1.0.5/config.sub 2014-12-09 10:14:14.000000000 +0000 +++ liblogging-1.0.4/config.sub 2014-03-18 06:09:57.000000000 +0000 @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2013 Free Software Foundation, Inc. -timestamp='2013-08-10' +timestamp='2013-04-24' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -257,7 +257,7 @@ | avr | avr32 \ | be32 | be64 \ | bfin \ - | c4x | c8051 | clipper \ + | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | epiphany \ | fido | fr30 | frv \ @@ -372,7 +372,7 @@ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ - | c8051-* | clipper-* | craynv-* | cydra-* \ + | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ @@ -794,7 +794,7 @@ os=-mingw64 ;; mingw32) - basic_machine=i686-pc + basic_machine=i386-pc os=-mingw32 ;; mingw32ce) @@ -830,7 +830,7 @@ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) - basic_machine=i686-pc + basic_machine=i386-pc os=-msys ;; mvs) @@ -1006,7 +1006,7 @@ ;; ppc64) basic_machine=powerpc64-unknown ;; - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown @@ -1546,9 +1546,6 @@ c4x-* | tic4x-*) os=-coff ;; - c8051-*) - os=-elf - ;; hexagon-*) os=-elf ;; diff -Nru liblogging-1.0.5/configure liblogging-1.0.4/configure --- liblogging-1.0.5/configure 2014-12-09 10:14:13.000000000 +0000 +++ liblogging-1.0.4/configure 2014-04-02 12:30:22.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for liblogging 1.0.5. +# Generated by GNU Autoconf 2.69 for liblogging 1.0.4. # # Report bugs to . # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='liblogging' PACKAGE_TARNAME='liblogging' -PACKAGE_VERSION='1.0.5' -PACKAGE_STRING='liblogging 1.0.5' +PACKAGE_VERSION='1.0.4' +PACKAGE_STRING='liblogging 1.0.4' PACKAGE_BUGREPORT='rgerhards@hq.adiscon.com' PACKAGE_URL='' @@ -635,8 +635,6 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS -ENABLE_MAN_PAGES_FALSE -ENABLE_MAN_PAGES_TRUE RST2MAN ENABLE_JOURNAL_FALSE ENABLE_JOURNAL_TRUE @@ -779,7 +777,6 @@ enable_rfc3195 enable_stdlog enable_journal -enable_man_pages ' ac_precious_vars='build_alias host_alias @@ -1335,7 +1332,7 @@ # 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. cat <<_ACEOF -\`configure' configures liblogging 1.0.5 to adapt to many kinds of systems. +\`configure' configures liblogging 1.0.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1405,7 +1402,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of liblogging 1.0.5:";; + short | recursive ) echo "Configuration of liblogging 1.0.4:";; esac cat <<\_ACEOF @@ -1427,7 +1424,6 @@ --enable-rfc3195 Enable rfc3195 support [default=no] --enable-stdlog Enable stdlog support [default=yes] --enable-journal systemd journal support [default=yes] - --enable-man-pages man-pages support [default=yes] Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1523,7 +1519,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -liblogging configure 1.0.5 +liblogging configure 1.0.4 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1946,7 +1942,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by liblogging $as_me 1.0.5, which was +It was created by liblogging $as_me 1.0.4, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2294,7 +2290,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -am__api_version='1.14' +am__api_version='1.13' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do @@ -2809,7 +2805,7 @@ # Define the identity of the package. PACKAGE='liblogging' - VERSION='1.0.5' + VERSION='1.0.4' cat >>confdefs.h <<_ACEOF @@ -2860,47 +2856,6 @@ -# POSIX will say in a future version that running "rm -f" with no argument -# is OK; and we want to be able to make that assumption in our Makefile -# recipes. So use an aggressive probe to check that the usage we want is -# actually supported "in the wild" to an acceptable degree. -# See automake bug#10828. -# To make any issue more visible, cause the running configure to be aborted -# by default if the 'rm' program in use doesn't match our expectations; the -# user can still override this though. -if rm -f && rm -fr && rm -rf; then : OK; else - cat >&2 <<'END' -Oops! - -Your 'rm' program seems unable to run without file operands specified -on the command line, even when the '-f' option is present. This is contrary -to the behaviour of most rm programs out there, and not conforming with -the upcoming POSIX standard: - -Please tell bug-automake@gnu.org about your system, including the value -of your $PATH and any error possibly output before this message. This -can help us improve future automake versions. - -END - if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then - echo 'Configuration will proceed anyway, since you have set the' >&2 - echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 - echo >&2 - else - cat >&2 <<'END' -Aborting the configuration process, to ensure you take notice of the issue. - -You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . - -If you want to complete the configuration process using your problematic -'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM -to "yes", and re-run configure. - -END - as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 - fi -fi ac_config_headers="$ac_config_headers config.h" @@ -3735,65 +3690,6 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 -$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } -if ${am_cv_prog_cc_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF - # Make sure it works both with $CC and with simple cc. - # Following AC_PROG_CC_C_O, we do the test twice because some - # compilers refuse to overwrite an existing .o file with -o, - # though they will create one. - am_cv_prog_cc_c_o=yes - for am_i in 1 2; do - if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 - ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } \ - && test -f conftest2.$ac_objext; then - : OK - else - am_cv_prog_cc_c_o=no - break - fi - done - rm -f core conftest* - unset am_i -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 -$as_echo "$am_cv_prog_cc_c_o" >&6; } -if test "$am_cv_prog_cc_c_o" != yes; then - # Losing compiler, so override with the script. - # FIXME: It is wrong to rewrite CC. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__CC in this case, - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" - CC="$am_aux_dir/compile $CC" -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -4871,8 +4767,7 @@ ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len" && \ - test undefined != "$lt_cv_sys_max_cmd_len"; then + if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else @@ -5273,6 +5168,10 @@ fi ;; +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + haiku*) lt_cv_deplibs_check_method=pass_all ;; @@ -5311,11 +5210,11 @@ ;; # This must be glibc/ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) +linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; -netbsd* | netbsdelf*-gnu) +netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else @@ -6409,19 +6308,12 @@ LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) - case `/usr/bin/file conftest.o` in - *x86-64*) - LD="${LD-ld} -m elf32_x86_64" - ;; - *) - LD="${LD-ld} -m elf_i386" - ;; - esac + LD="${LD-ld} -m elf_i386" ;; - powerpc64le-*) + powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; - powerpc64-*) + powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -6440,10 +6332,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - powerpcle-*) + powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; - powerpc-*) + powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) @@ -8251,7 +8143,7 @@ lt_prog_compiler_static='-non_shared' ;; - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) @@ -8729,9 +8621,6 @@ openbsd*) with_gnu_ld=no ;; - linux* | k*bsd*-gnu | gnu*) - link_all_deplibs=no - ;; esac ld_shlibs=yes @@ -8953,7 +8842,7 @@ fi ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -9130,7 +9019,6 @@ if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi - link_all_deplibs=no else # not using gcc if test "$host_cpu" = ia64; then @@ -9584,7 +9472,7 @@ link_all_deplibs=yes ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -10421,6 +10309,17 @@ esac ;; +gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no @@ -10537,7 +10436,7 @@ ;; # This must be glibc/ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) +linux* | k*bsd*-gnu | kopensolaris*-gnu) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no @@ -10586,10 +10485,14 @@ # before this can be enabled. hardcode_into_libs=yes + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -10601,18 +10504,6 @@ dynamic_linker='GNU/Linux ld.so' ;; -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - netbsd*) version_type=sunos need_lib_prefix=no @@ -11583,6 +11474,131 @@ # Only expand once: +if test "x$CC" != xcc; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 +$as_echo_n "checking whether cc understands -c and -o together... " >&6; } +fi +set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +# Make sure it works both with $CC and with simple cc. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; +then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; + then + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi + if test "$GCC" = "yes" then AM_CFLAGS="-W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g" @@ -12301,66 +12317,6 @@ pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209 \""; } >&5 - ($PKG_CONFIG --exists --print-errors "libsystemd >= 209 ") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd >= 209 " 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$LIBSYSTEMD_JOURNAL_LIBS"; then - pkg_cv_LIBSYSTEMD_JOURNAL_LIBS="$LIBSYSTEMD_JOURNAL_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209 \""; } >&5 - ($PKG_CONFIG --exists --print-errors "libsystemd >= 209 ") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_LIBSYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd >= 209 " 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd >= 209 " 2>&1` - else - LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd >= 209 " 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$LIBSYSTEMD_JOURNAL_PKG_ERRORS" >&5 - - - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSYSTEMD_JOURNAL" >&5 -$as_echo_n "checking for LIBSYSTEMD_JOURNAL... " >&6; } - -if test -n "$LIBSYSTEMD_JOURNAL_CFLAGS"; then - pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 ac_status=$? @@ -12443,156 +12399,90 @@ $as_echo "yes" >&6; } fi - -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSYSTEMD_JOURNAL" >&5 -$as_echo_n "checking for LIBSYSTEMD_JOURNAL... " >&6; } - -if test -n "$LIBSYSTEMD_JOURNAL_CFLAGS"; then - pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS="$LIBSYSTEMD_JOURNAL_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal >= 197" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried fi -if test -n "$LIBSYSTEMD_JOURNAL_LIBS"; then - pkg_cv_LIBSYSTEMD_JOURNAL_LIBS="$LIBSYSTEMD_JOURNAL_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal >= 197\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libsystemd-journal >= 197") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_LIBSYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd-journal >= 197" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes + if test x$enable_journal = xyes; then + ENABLE_JOURNAL_TRUE= + ENABLE_JOURNAL_FALSE='#' else - pkg_failed=yes -fi - else - pkg_failed=untried + ENABLE_JOURNAL_TRUE='#' + ENABLE_JOURNAL_FALSE= fi +if test "$enable_journal" = "yes"; then +$as_echo "#define ENABLE_JOURNAL 1" >>confdefs.h -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +fi -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if all man pages already exist..." >&5 +$as_echo "$as_me: checking if all man pages already exist..." >&6;} +have_to_generate_man_pages="no" +as_ac_File=`$as_echo "ac_cv_file_"stdlog/stdlog.3"" | $as_tr_sh` +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"stdlog/stdlog.3\"" >&5 +$as_echo_n "checking for \"stdlog/stdlog.3\"... " >&6; } +if eval \${$as_ac_File+:} false; then : + $as_echo_n "(cached) " >&6 else - _pkg_short_errors_supported=no + test "$cross_compiling" = yes && + as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 +if test -r ""stdlog/stdlog.3""; then + eval "$as_ac_File=yes" +else + eval "$as_ac_File=no" fi - if test $_pkg_short_errors_supported = yes; then - LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` - else - LIBSYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal >= 197" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$LIBSYSTEMD_JOURNAL_PKG_ERRORS" >&5 - - as_fn_error $? "Package requirements (libsystemd-journal >= 197) were not met: - -$LIBSYSTEMD_JOURNAL_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -Alternatively, you may set the environment variables LIBSYSTEMD_JOURNAL_CFLAGS -and LIBSYSTEMD_JOURNAL_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details." "$LINENO" 5 -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. +fi +eval ac_res=\$$as_ac_File + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +if eval test \"x\$"$as_ac_File"\" = x"yes"; then : -Alternatively, you may set the environment variables LIBSYSTEMD_JOURNAL_CFLAGS -and LIBSYSTEMD_JOURNAL_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. +cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_"stdlog/stdlog.3"" | $as_tr_cpp` 1 +_ACEOF -To get pkg-config, see . -See \`config.log' for more details" "$LINENO" 5; } else - LIBSYSTEMD_JOURNAL_CFLAGS=$pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS - LIBSYSTEMD_JOURNAL_LIBS=$pkg_cv_LIBSYSTEMD_JOURNAL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + have_to_generate_man_pages="yes" fi - +as_ac_File=`$as_echo "ac_cv_file_"stdlog/stdlogctl.1"" | $as_tr_sh` +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"stdlog/stdlogctl.1\"" >&5 +$as_echo_n "checking for \"stdlog/stdlogctl.1\"... " >&6; } +if eval \${$as_ac_File+:} false; then : + $as_echo_n "(cached) " >&6 else - LIBSYSTEMD_JOURNAL_CFLAGS=$pkg_cv_LIBSYSTEMD_JOURNAL_CFLAGS - LIBSYSTEMD_JOURNAL_LIBS=$pkg_cv_LIBSYSTEMD_JOURNAL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - -fi -fi - if test x$enable_journal = xyes; then - ENABLE_JOURNAL_TRUE= - ENABLE_JOURNAL_FALSE='#' + test "$cross_compiling" = yes && + as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 +if test -r ""stdlog/stdlogctl.1""; then + eval "$as_ac_File=yes" else - ENABLE_JOURNAL_TRUE='#' - ENABLE_JOURNAL_FALSE= + eval "$as_ac_File=no" fi - -if test "$enable_journal" = "yes"; then - -$as_echo "#define ENABLE_JOURNAL 1" >>confdefs.h - fi +eval ac_res=\$$as_ac_File + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +if eval test \"x\$"$as_ac_File"\" = x"yes"; then : + +cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_"stdlog/stdlogctl.1"" | $as_tr_cpp` 1 +_ACEOF -# should man pages be provided? -# Check whether --enable-man-pages was given. -if test "${enable_man_pages+set}" = set; then : - enableval=$enable_man_pages; case "${enableval}" in - yes) enable_man_pages="yes" ;; - no) enable_man_pages="no" ;; - *) as_fn_error $? "bad value ${enableval} for --enable-man-pages" "$LINENO" 5 ;; - esac else - enable_man_pages="yes" + have_to_generate_man_pages="yes" fi -if test "x$enable_man_pages" = "xyes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if all man pages already exist..." >&5 -$as_echo "$as_me: checking if all man pages already exist..." >&6;} - have_to_generate_man_pages="no" - if test ! -r "stdlog/stdlog.3" || test ! -r "stdlog/stdlogctl.1"; then - have_to_generate_man_pages="yes" - fi - if test "x$have_to_generate_man_pages" = "xyes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Some man pages are missing. We need rst2man to generate the missing man pages from source... Alternatively, use --disable-man-pages to build without them." >&5 -$as_echo "Some man pages are missing. We need rst2man to generate the missing man pages from source... Alternatively, use --disable-man-pages to build without them." >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: All man pages found. We don't need rst2man!" >&5 +if test "x$have_to_generate_man_pages" = "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Some man pages are missing. We need rst2man to generate the missing man pages from source..." >&5 +$as_echo "Some man pages are missing. We need rst2man to generate the missing man pages from source..." >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: All man pages found. We don't need rst2man!" >&5 $as_echo "All man pages found. We don't need rst2man!" >&6; } - fi +fi - if test "x$have_to_generate_man_pages" = "xyes"; then - # We need rst2man to generate our man pages - for ac_prog in rst2man rst2man.py +if test "x$have_to_generate_man_pages" = "xyes"; then + # We need rst2man to generate our man pages + for ac_prog in rst2man rst2man.py do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 @@ -12634,20 +12524,11 @@ test -n "$RST2MAN" && break done - if test -z "$RST2MAN"; then - as_fn_error $? "rst2man is required to build man pages. You can use the release tarball with pregenerated man pages to avoid this depedency. Alternatively, use --disable-man-pages to build without them." "$LINENO" 5 - fi - fi -fi - if test x$enable_man_pages = xyes; then - ENABLE_MAN_PAGES_TRUE= - ENABLE_MAN_PAGES_FALSE='#' -else - ENABLE_MAN_PAGES_TRUE='#' - ENABLE_MAN_PAGES_FALSE= + if test -z "$RST2MAN"; then + as_fn_error $? "rst2man is required to build man pages. You can use the release tarball with pregenerated man pages to avoid this depedency." "$LINENO" 5 + fi fi - ac_config_files="$ac_config_files Makefile rfc3195/liblogging-rfc3195.pc rfc3195/doc/Makefile rfc3195/doc/html/Makefile rfc3195/src/Makefile stdlog/liblogging-stdlog.pc stdlog/Makefile" cat >confcache <<\_ACEOF @@ -12795,10 +12676,6 @@ as_fn_error $? "conditional \"ENABLE_JOURNAL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${ENABLE_MAN_PAGES_TRUE}" && test -z "${ENABLE_MAN_PAGES_FALSE}"; then - as_fn_error $? "conditional \"ENABLE_MAN_PAGES\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 @@ -13196,7 +13073,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by liblogging $as_me 1.0.5, which was +This file was extended by liblogging $as_me 1.0.4, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13262,7 +13139,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -liblogging config.status 1.0.5 +liblogging config.status 1.0.4 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -15041,8 +14918,5 @@ echo "stdlog support enabled: $enable_stdlog" echo "systemd journal support: $enable_journal" echo "rfc3195 support enabled: $enable_rfc3195" -echo "enable man pages: $enable_man_pages" -if test "x$enable_man_pages" = "xyes"; then echo "have to generate man pages: $have_to_generate_man_pages" -fi echo "********************************************************" diff -Nru liblogging-1.0.5/configure.ac liblogging-1.0.4/configure.ac --- liblogging-1.0.5/configure.ac 2014-12-09 10:13:59.000000000 +0000 +++ liblogging-1.0.4/configure.ac 2014-04-02 12:29:25.000000000 +0000 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -AC_INIT([liblogging], [1.0.5], [rgerhards@hq.adiscon.com]) +AC_INIT([liblogging], [1.0.4], [rgerhards@hq.adiscon.com]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([rfc3195/src/beepchannel.c]) AC_CONFIG_HEADER([config.h]) @@ -107,46 +107,32 @@ [enable_journal="yes"] ) if test "x$enable_journal" = "xyes"; then - PKG_CHECK_MODULES([LIBSYSTEMD_JOURNAL], [libsystemd >= 209] ,, [ - PKG_CHECK_MODULES([LIBSYSTEMD_JOURNAL], [libsystemd-journal >= 197]) - ]) + PKG_CHECK_MODULES([LIBSYSTEMD_JOURNAL], [libsystemd-journal >= 197]) fi AM_CONDITIONAL(ENABLE_JOURNAL, test x$enable_journal = xyes) if test "$enable_journal" = "yes"; then AC_DEFINE(ENABLE_JOURNAL, 1, [journal support is integrated.]) fi -# should man pages be provided? -AC_ARG_ENABLE(man-pages, - [AS_HELP_STRING([--enable-man-pages],[man-pages support @<:@default=yes@:>@])], - [case "${enableval}" in - yes) enable_man_pages="yes" ;; - no) enable_man_pages="no" ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-man-pages) ;; - esac], - [enable_man_pages="yes"] +AC_CHECKING([if all man pages already exist]) +have_to_generate_man_pages="no" +AC_CHECK_FILES(["stdlog/stdlog.3" "stdlog/stdlogctl.1"], + [], + [have_to_generate_man_pages="yes"] ) -if test "x$enable_man_pages" = "xyes"; then - AC_CHECKING([if all man pages already exist]) - have_to_generate_man_pages="no" - if test ! -r "stdlog/stdlog.3" || test ! -r "stdlog/stdlogctl.1"; then - have_to_generate_man_pages="yes" - fi - if test "x$have_to_generate_man_pages" = "xyes"; then - AC_MSG_RESULT([Some man pages are missing. We need rst2man to generate the missing man pages from source... Alternatively, use --disable-man-pages to build without them.]) - else - AC_MSG_RESULT([All man pages found. We don't need rst2man!]) - fi - - if test "x$have_to_generate_man_pages" = "xyes"; then - # We need rst2man to generate our man pages - AC_CHECK_PROGS([RST2MAN], [rst2man rst2man.py], []) - if test -z "$RST2MAN"; then - AC_MSG_ERROR([rst2man is required to build man pages. You can use the release tarball with pregenerated man pages to avoid this depedency. Alternatively, use --disable-man-pages to build without them.]) - fi - fi +if test "x$have_to_generate_man_pages" = "xyes"; then + AC_MSG_RESULT([Some man pages are missing. We need rst2man to generate the missing man pages from source...]) +else + AC_MSG_RESULT([All man pages found. We don't need rst2man!]) +fi + +if test "x$have_to_generate_man_pages" = "xyes"; then + # We need rst2man to generate our man pages + AC_CHECK_PROGS([RST2MAN], [rst2man rst2man.py], []) + if test -z "$RST2MAN"; then + AC_MSG_ERROR([rst2man is required to build man pages. You can use the release tarball with pregenerated man pages to avoid this depedency.]) + fi fi -AM_CONDITIONAL(ENABLE_MAN_PAGES, test x$enable_man_pages = xyes) AC_CONFIG_FILES([Makefile \ rfc3195/liblogging-rfc3195.pc \ @@ -163,8 +149,5 @@ echo "stdlog support enabled: $enable_stdlog" echo "systemd journal support: $enable_journal" echo "rfc3195 support enabled: $enable_rfc3195" -echo "enable man pages: $enable_man_pages" -if test "x$enable_man_pages" = "xyes"; then echo "have to generate man pages: $have_to_generate_man_pages" -fi echo "********************************************************" diff -Nru liblogging-1.0.5/debian/changelog liblogging-1.0.4/debian/changelog --- liblogging-1.0.5/debian/changelog 2014-12-09 14:41:38.000000000 +0000 +++ liblogging-1.0.4/debian/changelog 2014-04-03 06:57:34.000000000 +0000 @@ -1,20 +1,50 @@ -liblogging (1.0.5-0adiscon1ubuntu1) precise; urgency=medium +liblogging (1.0.4-0adiscon1saucy2) saucy; urgency=low - * New debs + * removed journal - -- Florian Riedl Tue, 09 Dec 2014 15:40:58 +0100 + -- Andre Lorbach Thu, 03 Apr 2014 08:57:25 +0200 -liblogging (1.0.1-0adiscon2) precise; urgency=low +liblogging (1.0.4-0adiscon1saucy1) saucy; urgency=low - * New debs + * new debs for 1.0.4 - -- Andre Lorbach Tue, 04 Feb 2014 11:45:53 +0100 + -- Andre Lorbach Wed, 02 Apr 2014 15:16:06 +0200 -liblogging (1.0.0-0adiscon2) precise; urgency=low +liblogging (1.0.3-0adiscon1saucy1) saucy; urgency=low - * repacked + * new debs for 1.0.3 - -- Andre Lorbach Wed, 22 Jan 2014 11:53:35 +0100 + -- Andre Lorbach Wed, 02 Apr 2014 14:28:26 +0200 + +liblogging (1.0.1.adiscon-0adiscon3saucy3) saucy; urgency=low + + * new + + -- Andre Lorbach Wed, 19 Feb 2014 15:22:48 +0100 + +liblogging (1.0.1-0adiscon3saucy2) saucy; urgency=low + + * new build + + -- Andre Lorbach Wed, 19 Feb 2014 14:33:39 +0100 + +liblogging (1.0.1-0adiscon3saucy1) saucy; urgency=low + + * Updated source + + -- Andre Lorbach Wed, 19 Feb 2014 14:27:24 +0100 + +liblogging (1.0.1-0adiscon2saucy1) saucy; urgency=low + + * Repackaged for PPA + + -- Andre Lorbach Tue, 18 Feb 2014 11:23:58 +0100 + +liblogging (1.0.1-0adiscon1) saucy; urgency=low + + * new debs for 1.0.1 + + -- Andre Lorbach Tue, 04 Feb 2014 09:10:55 +0100 liblogging (1.0.0-0adiscon1) precise; urgency=low diff -Nru liblogging-1.0.5/INSTALL liblogging-1.0.4/INSTALL --- liblogging-1.0.5/INSTALL 2014-12-09 10:14:14.000000000 +0000 +++ liblogging-1.0.4/INSTALL 2014-03-18 06:09:57.000000000 +0000 @@ -12,8 +12,8 @@ Basic Installation ================== - Briefly, the shell command `./configure && make && make install' -should configure, build, and install this package. The following + Briefly, the shell commands `./configure; make; make install' should +configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for instructions specific to this package. Some packages provide this `INSTALL' file but do not implement all of the features documented diff -Nru liblogging-1.0.5/ltmain.sh liblogging-1.0.4/ltmain.sh --- liblogging-1.0.5/ltmain.sh 2014-12-09 10:14:08.000000000 +0000 +++ liblogging-1.0.4/ltmain.sh 2014-03-18 06:09:45.000000000 +0000 @@ -70,7 +70,7 @@ # compiler: $LTCC # compiler flags: $LTCFLAGS # linker: $LD (gnu? $with_gnu_ld) -# $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1.7ubuntu1 +# $progname: (GNU libtool) 2.4.2 # automake: $automake_version # autoconf: $autoconf_version # @@ -80,7 +80,7 @@ PROGRAM=libtool PACKAGE=libtool -VERSION="2.4.2 Debian-2.4.2-1.7ubuntu1" +VERSION=2.4.2 TIMESTAMP="" package_revision=1.3337 @@ -6124,10 +6124,7 @@ case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; - link) - libs="$deplibs %DEPLIBS%" - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" - ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; esac fi if test "$linkmode,$pass" = "lib,dlpreopen"; then @@ -6447,19 +6444,19 @@ # It is a libtool convenience library, so add in its objects. func_append convenience " $ladir/$objdir/$old_library" func_append old_convenience " $ladir/$objdir/$old_library" - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if $opt_preserve_dup_deps ; then - case "$tmp_libs " in - *" $deplib "*) func_append specialdeplibs " $deplib" ;; - esac - fi - func_append tmp_libs " $deplib" - done elif test "$linkmode" != prog && test "$linkmode" != lib; then func_fatal_error "\`$lib' is not a convenience library" fi + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done continue fi # $pass = conv @@ -7352,9 +7349,6 @@ revision="$number_minor" lt_irix_increment=no ;; - *) - func_fatal_configuration "$modename: unknown library version type \`$version_type'" - ;; esac ;; no) diff -Nru liblogging-1.0.5/m4/libtool.m4 liblogging-1.0.4/m4/libtool.m4 --- liblogging-1.0.5/m4/libtool.m4 2014-12-09 10:14:09.000000000 +0000 +++ liblogging-1.0.4/m4/libtool.m4 2014-03-18 06:09:45.000000000 +0000 @@ -1324,19 +1324,12 @@ LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) - case `/usr/bin/file conftest.o` in - *x86-64*) - LD="${LD-ld} -m elf32_x86_64" - ;; - *) - LD="${LD-ld} -m elf_i386" - ;; - esac + LD="${LD-ld} -m elf_i386" ;; - powerpc64le-*) + powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; - powerpc64-*) + powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -1355,10 +1348,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - powerpcle-*) + powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; - powerpc-*) + powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) @@ -1701,8 +1694,7 @@ ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len" && \ - test undefined != "$lt_cv_sys_max_cmd_len"; then + if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else @@ -2526,6 +2518,17 @@ esac ;; +gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no @@ -2642,7 +2645,7 @@ ;; # This must be glibc/ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) +linux* | k*bsd*-gnu | kopensolaris*-gnu) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no @@ -2672,10 +2675,14 @@ # before this can be enabled. hardcode_into_libs=yes + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -2687,18 +2694,6 @@ dynamic_linker='GNU/Linux ld.so' ;; -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - netbsd*) version_type=sunos need_lib_prefix=no @@ -3258,6 +3253,10 @@ fi ;; +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + haiku*) lt_cv_deplibs_check_method=pass_all ;; @@ -3296,11 +3295,11 @@ ;; # This must be glibc/ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) +linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; -netbsd* | netbsdelf*-gnu) +netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else @@ -4048,7 +4047,7 @@ ;; esac ;; - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler @@ -4112,7 +4111,7 @@ ;; esac ;; - netbsd* | netbsdelf*-gnu) + netbsd*) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise @@ -4347,7 +4346,7 @@ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) @@ -4589,9 +4588,6 @@ ;; esac ;; - linux* | k*bsd*-gnu | gnu*) - _LT_TAGVAR(link_all_deplibs, $1)=no - ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; @@ -4654,9 +4650,6 @@ openbsd*) with_gnu_ld=no ;; - linux* | k*bsd*-gnu | gnu*) - _LT_TAGVAR(link_all_deplibs, $1)=no - ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes @@ -4878,7 +4871,7 @@ fi ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -5055,7 +5048,6 @@ if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi - _LT_TAGVAR(link_all_deplibs, $1)=no else # not using gcc if test "$host_cpu" = ia64; then @@ -5360,7 +5352,7 @@ _LT_TAGVAR(link_all_deplibs, $1)=yes ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -6240,6 +6232,9 @@ _LT_TAGVAR(ld_shlibs, $1)=yes ;; + gnu*) + ;; + haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes @@ -6401,7 +6396,7 @@ _LT_TAGVAR(inherit_rpath, $1)=yes ;; - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler diff -Nru liblogging-1.0.5/Makefile.in liblogging-1.0.4/Makefile.in --- liblogging-1.0.5/Makefile.in 2014-12-09 10:14:14.000000000 +0000 +++ liblogging-1.0.4/Makefile.in 2014-04-02 12:30:20.000000000 +0000 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.14.1 from Makefile.am. +# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. @@ -396,8 +396,8 @@ $(am__aclocal_m4_deps): config.h: stamp-h1 - @test -f $@ || rm -f stamp-h1 - @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 + @if test ! -f $@; then rm -f stamp-h1; else :; fi + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 @@ -629,16 +629,10 @@ $(am__post_remove_distdir) dist-tarZ: distdir - @echo WARNING: "Support for shar distribution archives is" \ - "deprecated." >&2 - @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir - @echo WARNING: "Support for distribution archives compressed with" \ - "legacy program 'compress' is deprecated." >&2 - @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir) @@ -680,10 +674,9 @@ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ - && ../configure \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ - --srcdir=.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ diff -Nru liblogging-1.0.5/missing liblogging-1.0.4/missing --- liblogging-1.0.5/missing 2014-12-09 10:14:14.000000000 +0000 +++ liblogging-1.0.4/missing 2014-03-18 06:09:57.000000000 +0000 @@ -1,7 +1,7 @@ #! /bin/sh # Common wrapper for a few potentially missing GNU programs. -scriptversion=2013-10-28.13; # UTC +scriptversion=2012-06-26.16; # UTC # Copyright (C) 1996-2013 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. @@ -160,7 +160,7 @@ ;; autom4te*) echo "You might have modified some maintainer files that require" - echo "the 'autom4te' program to be rebuilt." + echo "the 'automa4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) diff -Nru liblogging-1.0.5/rfc3195/doc/html/Makefile.in liblogging-1.0.4/rfc3195/doc/html/Makefile.in --- liblogging-1.0.5/rfc3195/doc/html/Makefile.in 2014-12-09 10:14:14.000000000 +0000 +++ liblogging-1.0.4/rfc3195/doc/html/Makefile.in 2014-04-02 12:30:20.000000000 +0000 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.14.1 from Makefile.am. +# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. diff -Nru liblogging-1.0.5/rfc3195/doc/Makefile.in liblogging-1.0.4/rfc3195/doc/Makefile.in --- liblogging-1.0.5/rfc3195/doc/Makefile.in 2014-12-09 10:14:14.000000000 +0000 +++ liblogging-1.0.4/rfc3195/doc/Makefile.in 2014-04-02 12:30:20.000000000 +0000 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.14.1 from Makefile.am. +# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. diff -Nru liblogging-1.0.5/rfc3195/src/Makefile.in liblogging-1.0.4/rfc3195/src/Makefile.in --- liblogging-1.0.5/rfc3195/src/Makefile.in 2014-12-09 10:14:15.000000000 +0000 +++ liblogging-1.0.4/rfc3195/src/Makefile.in 2014-04-02 12:30:20.000000000 +0000 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.14.1 from Makefile.am. +# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. @@ -533,14 +533,14 @@ @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< diff -Nru liblogging-1.0.5/stdlog/Makefile.am liblogging-1.0.4/stdlog/Makefile.am --- liblogging-1.0.5/stdlog/Makefile.am 2014-12-09 10:09:47.000000000 +0000 +++ liblogging-1.0.4/stdlog/Makefile.am 2014-03-18 06:07:13.000000000 +0000 @@ -36,14 +36,6 @@ stdlogctl_la_CFLAGS = ${AM_CFLAGS} stdlogctl_LDADD = liblogging-stdlog.la $(SOL_LIBS) -if ENABLE_JOURNAL - liblogging_stdlog_la_LIBADD += $(LIBSYSTEMD_JOURNAL_LIBS) - liblogging_stdlog_la_SOURCES += jrnldrvr.c - tester_LDADD += $(LIBSYSTEMD_JOURNAL_LIBS) - stdlogctl_LDADD += $(LIBSYSTEMD_JOURNAL_LIBS) -endif - -if ENABLE_MAN_PAGES man1_MANS = stdlogctl.1 CLEANFILES += stdlogctl.1 EXTRA_DIST += stdlogctl.1 @@ -57,4 +49,9 @@ stdlog.3: stdlog.rst $(AM_V_GEN) $(RST2MAN) $< $@ + +if ENABLE_JOURNAL + liblogging_stdlog_la_LIBADD += $(LIBSYSTEMD_JOURNAL_LIBS) + liblogging_stdlog_la_SOURCES += jrnldrvr.c + # tester_LDADD += $(LIBSYSTEMD_JOURNAL_LIBS) endif diff -Nru liblogging-1.0.5/stdlog/Makefile.in liblogging-1.0.4/stdlog/Makefile.in --- liblogging-1.0.5/stdlog/Makefile.in 2014-12-09 10:14:15.000000000 +0000 +++ liblogging-1.0.4/stdlog/Makefile.in 2014-04-02 12:30:20.000000000 +0000 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.14.1 from Makefile.am. +# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. @@ -84,10 +84,6 @@ bin_PROGRAMS = stdlogctl$(EXEEXT) @ENABLE_JOURNAL_TRUE@am__append_1 = $(LIBSYSTEMD_JOURNAL_LIBS) @ENABLE_JOURNAL_TRUE@am__append_2 = jrnldrvr.c -@ENABLE_JOURNAL_TRUE@am__append_3 = $(LIBSYSTEMD_JOURNAL_LIBS) -@ENABLE_JOURNAL_TRUE@am__append_4 = $(LIBSYSTEMD_JOURNAL_LIBS) -@ENABLE_MAN_PAGES_TRUE@am__append_5 = stdlogctl.1 stdlog.3 -@ENABLE_MAN_PAGES_TRUE@am__append_6 = stdlogctl.1 stdlog.3 subdir = stdlog DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(srcdir)/liblogging-stdlog.pc.in $(top_srcdir)/depcomp \ @@ -157,12 +153,10 @@ PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) am_stdlogctl_OBJECTS = stdlogctl-stdlogctl.$(OBJEXT) stdlogctl_OBJECTS = $(am_stdlogctl_OBJECTS) -stdlogctl_DEPENDENCIES = liblogging-stdlog.la $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_2) +stdlogctl_DEPENDENCIES = liblogging-stdlog.la $(am__DEPENDENCIES_1) am_tester_OBJECTS = tester.$(OBJEXT) tester_OBJECTS = $(am_tester_OBJECTS) -tester_DEPENDENCIES = liblogging-stdlog.la $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_2) +tester_DEPENDENCIES = liblogging-stdlog.la $(am__DEPENDENCIES_1) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false @@ -353,7 +347,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -CLEANFILES = $(am__append_5) +CLEANFILES = stdlogctl.1 stdlog.3 lib_LTLIBRARIES = liblogging-stdlog.la liblogging_stdlog_la_CPPFLAGS = liblogging_stdlog_la_CFLAGS = ${AM_CFLAGS} @@ -366,19 +360,20 @@ # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html liblogging_stdlog_la_SOURCES = stdlog.c uxsock.c file.c formatter.c \ timeutils.c $(am__append_2) -EXTRA_DIST = stdlog-intern.h stdlog.rst stdlogctl.rst $(am__append_6) +EXTRA_DIST = stdlog-intern.h stdlog.rst stdlogctl.rst stdlogctl.1 \ + stdlog.3 pkginclude_HEADERS = \ stdlog.h noinst_HEADERS = tester_SOURCES = tester.c -tester_LDADD = liblogging-stdlog.la $(SOL_LIBS) $(am__append_3) +tester_LDADD = liblogging-stdlog.la $(SOL_LIBS) stdlogctl_SOURCES = stdlogctl.c stdlogctl_CPPFLAGS = stdlogctl_la_CFLAGS = ${AM_CFLAGS} -stdlogctl_LDADD = liblogging-stdlog.la $(SOL_LIBS) $(am__append_4) -@ENABLE_MAN_PAGES_TRUE@man1_MANS = stdlogctl.1 -@ENABLE_MAN_PAGES_TRUE@man3_MANS = stdlog.3 +stdlogctl_LDADD = liblogging-stdlog.la $(SOL_LIBS) +man1_MANS = stdlogctl.1 +man3_MANS = stdlog.3 all: all-am .SUFFIXES: @@ -540,14 +535,14 @@ @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -939,11 +934,12 @@ uninstall-pkgincludeHEADERS -@ENABLE_MAN_PAGES_TRUE@stdlogctl.1: stdlogctl.rst -@ENABLE_MAN_PAGES_TRUE@ $(AM_V_GEN) $(RST2MAN) $< $@ +stdlogctl.1: stdlogctl.rst + $(AM_V_GEN) $(RST2MAN) $< $@ -@ENABLE_MAN_PAGES_TRUE@stdlog.3: stdlog.rst -@ENABLE_MAN_PAGES_TRUE@ $(AM_V_GEN) $(RST2MAN) $< $@ +stdlog.3: stdlog.rst + $(AM_V_GEN) $(RST2MAN) $< $@ +@ENABLE_JOURNAL_TRUE@ # tester_LDADD += $(LIBSYSTEMD_JOURNAL_LIBS) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff -Nru liblogging-1.0.5/stdlog/timeutils.c liblogging-1.0.4/stdlog/timeutils.c --- liblogging-1.0.5/stdlog/timeutils.c 2014-12-07 11:07:06.000000000 +0000 +++ liblogging-1.0.4/stdlog/timeutils.c 2014-02-18 09:14:49.000000000 +0000 @@ -50,9 +50,9 @@ buf[1] = monthNames[tm->tm_mon][1]; buf[2] = monthNames[tm->tm_mon][2]; buf[3] = ' '; - iDay = (tm->tm_mday / 10) % 10; /* we need to write a space if the first digit is 0 */ + iDay = (tm->tm_wday / 10) % 10; /* we need to write a space if the first digit is 0 */ buf[4] = (iDay > 0) ? iDay + '0' : ' '; - buf[5] = tm->tm_mday % 10 + '0'; + buf[5] = tm->tm_wday % 10 + '0'; buf[6] = ' '; buf[7] = (tm->tm_hour / 10) % 10 + '0'; buf[8] = tm->tm_hour % 10 + '0';