diff options
author | Thomas Haller <thaller@redhat.com> | 2023-08-29 11:01:12 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-08-29 11:02:15 +0200 |
commit | 6be46afabdf9763199976473121d065a222b97f3 (patch) | |
tree | 7cbeda64401433cf52f6680b5cacd7dbe88e0b0d | |
parent | 0f60ab3917dae704b6bc889b45a25e932f4cbc3a (diff) | |
parent | 1558bd62459a60bae6c9812e8d2514f67fa46447 (diff) | |
download | libnl-6be46afabdf9763199976473121d065a222b97f3.tar.gz |
build: merge branch 'th/configure-fixes'
-rw-r--r-- | configure.ac | 39 | ||||
-rw-r--r-- | doc/configure.ac | 2 |
2 files changed, 14 insertions, 27 deletions
diff --git a/configure.ac b/configure.ac index ead499ad..185523b3 100644 --- a/configure.ac +++ b/configure.ac @@ -36,11 +36,11 @@ m4_define([libnl_lt_age], [26]) m4_define([libnl_version], [libnl_major_version.libnl_minor_version.libnl_micro_version]) -AC_INIT(libnl, [libnl_version], [], [], [http://www.infradead.org/~tgr/libnl/]) +AC_INIT([libnl],[libnl_version],[],[],[http://www.infradead.org/~tgr/libnl/]) AC_CONFIG_HEADERS([include/config.h]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) -AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) +AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)], []) m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) @@ -64,7 +64,7 @@ AC_SUBST(LT_AGE) AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL -AM_PROG_LIBTOOL +LT_INIT AC_PROG_MKDIR_P AC_CHECK_PROGS(FLEX, 'flex') AC_CHECK_PROGS(YACC, 'bison -y') @@ -152,26 +152,13 @@ fi AC_OUTPUT -echo "-------------------------------------------------------------------------------" -echo " NOTE" -echo "" -echo " There have been some changes starting with 3.2 regarding where and how libnl" -echo " is being installed on the system in order to allow multiple libnl versions" -echo " to be installed in parallel:" -echo "" -echo " - Headers will be installed in ${includedir}/libnl${MAJ_VERSION}, therefore" -echo " you will need to add \"-I/usr/include/libnl${MAJ_VERSION}\" to CFLAGS" -echo "" -echo " - The library basename was renamed to libnl-${MAJ_VERSION}, i.e. the SO names become" -echo " libnl-${MAJ_VERSION}.so., libnl-route-${MAJ_VERSION}.so, etc." -echo "" -echo " - libtool versioning was assumed, to ease detection of compatible library" -echo " versions." -echo "" -echo " If you are using pkg-config for detecting and linking against the library " -echo " things will continue magically as if nothing every happened. If you are " -echo " linking manually you need to adapt your Makefiles or switch to using " -echo " pkg-config files." -echo "" -echo "-------------------------------------------------------------------------------" - +echo +echo "libnl $LIBNL_VERSION configuration${LIBNL_GIT_SHA:+ (git:$LIBNL_GIT_SHA)}:" +echo " --enable-pthreads=$enable_pthreads" +echo " --enable-static=$enable_static" +echo +echo " --enable-debug=$enable_debug" +echo " --enable-cli=$enable_cli" +echo +echo " check: $has_check" +echo diff --git a/doc/configure.ac b/doc/configure.ac index 4fb3cc3d..5e9f6ffe 100644 --- a/doc/configure.ac +++ b/doc/configure.ac @@ -4,7 +4,7 @@ # AC_INIT(libnl-doc, [3.7.0], [http://www.infradead.org/~tgr/libnl/]) -AC_CONFIG_MACRO_DIR([m4]) +AC_CONFIG_MACRO_DIR([../m4]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([foreign]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)], []) |