mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-11-27 11:43:51 +08:00
Adjusted autotools files to build more cleanly on newer autoconf/automake versions
Signed-off-by: David Sommerseth <davids@redhat.com> Acked-by: Steffan Karger <steffan.karger@fox-it.com> Message-Id: <1389803764-5879-1-git-send-email-davids@redhat.com> URL: http://article.gmane.org/gmane.network.openvpn.devel/8239 Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
parent
8f7d5e671a
commit
fb69bfd05e
@ -686,7 +686,7 @@ fi
|
||||
|
||||
case "${with_mem_check}" in
|
||||
valgrind)
|
||||
AC_CHECK_HEADER(
|
||||
AC_CHECK_HEADERS(
|
||||
[valgrind/memcheck.h],
|
||||
[
|
||||
CFLAGS="${CFLAGS} -g -fno-inline"
|
||||
@ -700,7 +700,7 @@ case "${with_mem_check}" in
|
||||
)
|
||||
;;
|
||||
dmalloc)
|
||||
AC_CHECK_HEADER(
|
||||
AC_CHECK_HEADERS(
|
||||
[dmalloc.h],
|
||||
[AC_CHECK_LIB(
|
||||
[dmalloc],
|
||||
@ -929,7 +929,7 @@ if test "$enable_snappy" = "yes" && test "$enable_comp_stub" = "no"; then
|
||||
|
||||
saved_CFLAGS="${CFLAGS}"
|
||||
CFLAGS="${CFLAGS} ${SNAPPY_CFLAGS}"
|
||||
AC_CHECK_HEADER(snappy-c.h,
|
||||
AC_CHECK_HEADERS(snappy-c.h,
|
||||
,
|
||||
[
|
||||
AC_MSG_RESULT([Snappy headers not found.])
|
||||
@ -968,7 +968,7 @@ if test "$enable_lz4" = "yes" && test "$enable_comp_stub" = "no"; then
|
||||
|
||||
saved_CFLAGS="${CFLAGS}"
|
||||
CFLAGS="${CFLAGS} ${LZ4_CFLAGS}"
|
||||
AC_CHECK_HEADER(lz4.h,
|
||||
AC_CHECK_HEADERS(lz4.h,
|
||||
,
|
||||
[
|
||||
AC_MSG_RESULT([LZ4 headers not found.])
|
||||
|
@ -18,7 +18,7 @@ EXTRA_DIST = \
|
||||
openvpn.vcxproj \
|
||||
openvpn.vcxproj.filters
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src/compat
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user