Skip to content

Commit 9be88ce

Browse files
committed
updated to work on current OpenSUSE Tumbleweed
1 parent 4430e7d commit 9be88ce

File tree

25 files changed

+32
-28
lines changed

25 files changed

+32
-28
lines changed

base/configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ AC_CHECK_LIB([xml2], [main],
131131
### TLS support ###
132132
save_libs="$LIBS"
133133
AS_IF([test "x$with_openssl" != xno],
134-
[AC_SEARCH_LIBS([SSL_library_init], [ssl :libssl.so.10],
134+
[AC_SEARCH_LIBS([SSL_library_init], [ssl :libssl.so.10 :libssl.so.1.0.0],
135135
[TLS_SUPPORT="yes"
136136
# Check for pkg-config
137137
AC_CHECK_PROG([PKG_CONFIG], [pkg-config], ["yes"], ["no"])

base/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

base/src/intermediate/timecheck/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

base/src/intermediate/timenow/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/input/nfdump/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/input/udp_cpg/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/intermediate/dhcp/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/intermediate/geoip/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/intermediate/profile_stats/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/intermediate/profiler/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/intermediate/stats/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/intermediate/uid/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/storage/fastbit/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/storage/fastbit_compression/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/storage/json/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/storage/lnfstore/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/storage/nfdump/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/storage/postgres/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/storage/statistics/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

plugins/storage/unirec/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

tools/fbitconvert/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

tools/fbitdump/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

tools/fbitexpire/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

tools/fbitmerge/m4/lbr_set_distro.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([LBR_SET_DISTRO],
2626
# Autodetect current distribution
2727
if test -f /etc/redhat-release; then
2828
DISTRO=redhat
29-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
3030
DISTRO=suse
3131
elif test -f /etc/mandrake-release; then
3232
DISTRO='mandrake'

tools/profilesdaemon/m4/lbr_set_distro.m4

+8-4
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,23 @@
1010
# The user option always superseeds other settings.
1111
#
1212
# Currently the macro recognizes following distributions:
13+
#
1314
# redhat
14-
# debian
15-
# mandrake
1615
# suse
16+
# mandrake
17+
# debian
18+
# arch
1719
#
1820
# Author: Petr Velan <[email protected]>
19-
# Modified: 2012-05-03
21+
# Modified: 2015-06-12
2022
#
2123
AC_DEFUN([LBR_SET_DISTRO],
2224
[m4_ifval([$1],[DISTRO=$1],[DISTRO="redhat"])
25+
2326
# Autodetect current distribution
2427
if test -f /etc/redhat-release; then
2528
DISTRO=redhat
26-
elif test -f /etc/SuSE-release; then
29+
elif test -f /etc/SuSE-release -o -f /etc/SUSE-brand; then
2730
DISTRO=suse
2831
elif test -f /etc/mandrake-release; then
2932
DISTRO='mandrake'
@@ -32,6 +35,7 @@ elif test -f /etc/debian_version; then
3235
elif test -f /etc/arch-release; then
3336
DISTRO=arch
3437
fi
38+
3539
# Check if distribution was specified manually
3640
AC_ARG_WITH([distro],
3741
AC_HELP_STRING([--with-distro=DISTRO],[Compile for specific Linux distribution]),

0 commit comments

Comments
 (0)