Commit f455b811 authored by François Grisez's avatar François Grisez

Fix build with Autotools

parent 637d7506
......@@ -17,12 +17,16 @@ rpm:
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = belle-sip.pc
EXTRA_DIST=belle-sip.spec belle-sip.spec.in autogen.sh
EXTRA_DIST += CMakeLists.txt \
cmake/BelleSIPConfig.cmake.in \
cmake/FindAntlr3.cmake \
cmake/FindZlib.cmake \
config.h.cmake \
include/CMakeLists.txt \
src/CMakeLists.txt \
tester/CMakeLists.txt
EXTRA_DIST= \
belle-sip.spec \
belle-sip.spec.in \
autogen.sh \
CMakeLists.txt \
cmake/BelleSIPConfig.cmake.in \
cmake/FindAntlr3.cmake \
cmake/FindZlib.cmake \
config.h.cmake \
include/CMakeLists.txt \
src/CMakeLists.txt \
tester/CMakeLists.txt \
README.md
......@@ -25,7 +25,7 @@ AC_CANONICAL_SYSTEM
dnl initialize pkg-config so that we can use it within if else fi statements.
PKG_PROG_PKG_CONFIG()
AM_INIT_AUTOMAKE([subdir-objects])
AM_INIT_AUTOMAKE([subdir-objects foreign])
AM_SILENT_RULES(yes)
# Checks for programs.
......
......@@ -37,6 +37,7 @@ belle_sip_parse_SOURCES=parse.c
belle_http_get_SOURCES=get.c
belle_sip_resolve_SOURCES=resolve.c
belle_sip_resolve_CFLAGS=$(TLS_CFLAGS)
AM_CPPFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/src
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment