[osmo-gmr PATCH 5/7] build: remove unused test and get rid of libtool.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Diego Elio Pettenò flameeyes at flameeyes.eu
Wed Jul 4 22:40:10 UTC 2012


The project is not building any library and is not relying on the .la
files from other libraries, so there is no reason to use libtool in
this context.

Since libtool is gone, there is no reason to keep m4 around anymore.

Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
---
 Makefile.am   |    1 -
 configure.ac  |    8 +-------
 m4/.gitignore |    2 --
 3 files changed, 1 insertions(+), 10 deletions(-)
 delete mode 100644 m4/.gitignore

diff --git a/Makefile.am b/Makefile.am
index f5f703d..152ca98 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,4 @@
 AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
-ACLOCAL_AMFLAGS = -I m4
 
 INCLUDES = $(all_includes) -I$(top_srcdir)/include
 SUBDIRS = src
diff --git a/configure.ac b/configure.ac
index 87cfc79..61d7a24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,22 +11,16 @@ dnl checks for programs
 AC_PROG_MAKE_SET
 AC_PROG_CC
 AC_PROG_INSTALL
-LT_INIT
-AC_PROG_LIBTOOL
+AC_PROG_RANLIB
 
 AC_PATH_PROG(DOXYGEN,doxygen,false)
 AM_CONDITIONAL(HAVE_DOXYGEN, test $DOXYGEN != false)
 
-AC_CONFIG_MACRO_DIR([m4])
-
 dnl checks for libraries
 PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.4.1)
 PKG_CHECK_MODULES(LIBOSMODSP, libosmodsp)
 PKG_CHECK_MODULES(FFTW3F, fftw3f >= 3.2.0)
 
-dnl checks for header files
-AC_HEADER_STDC
-
 # The following test is taken from WebKit's webkit.m4
 saved_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS -fvisibility=hidden "
diff --git a/m4/.gitignore b/m4/.gitignore
deleted file mode 100644
index 64d9bbc..0000000
--- a/m4/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/libtool.m4
-/lt*.m4
-- 
1.7.8.6





More information about the OpenBSC mailing list