X Tutup
Skip to content

Commit fb95e82

Browse files
author
Sebastiano Merlino
committed
Avoid warnings in bootstrap execution
Modernized usage of autotools
1 parent 933fc77 commit fb95e82

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ m4_define([libhttpserver_REVISION],[1])dnl
2626
m4_define([libhttpserver_PKG_VERSION],[libhttpserver_MAJOR_VERSION.libhttpserver_MINOR_VERSION.libhttpserver_REVISION])dnl
2727
m4_define([libhttpserver_LDF_VERSION],[libhttpserver_MAJOR_VERSION:libhttpserver_MINOR_VERSION:libhttpserver_REVISION])dnl
2828
AC_INIT([libhttpserver], libhttpserver_PKG_VERSION, [electrictwister2000@gmail.com])
29-
AM_INIT_AUTOMAKE([libhttpserver], libhttpserver_PKG_VERSION)
29+
AM_INIT_AUTOMAKE
3030
AC_CONFIG_HEADERS([config.h])
3131
AC_CONFIG_MACRO_DIR([m4])
3232

src/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# License along with this library; if not, write to the Free Software
1717
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1818

19-
INCLUDES = -I../ -I$(srcdir)/httpserver/
19+
AM_CPPFLAGS = -I../ -I$(srcdir)/httpserver/
2020
METASOURCES = AUTO
2121
lib_LTLIBRARIES = libhttpserver.la
2222
libhttpserver_la_SOURCES = string_utilities.cpp webserver.cpp http_utils.cpp http_endpoint.cpp http_request.cpp http_response.cpp http_resource.cpp

test/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1818

1919
LDADD = $(top_builddir)/src/libhttpserver.la
20-
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/httpserver/
20+
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/httpserver/
2121
METASOURCES = AUTO
2222
check_PROGRAMS = basic
2323

0 commit comments

Comments
 (0)
X Tutup