build: Remove subdir-objects as it breaks make distclean
We are not using this option in any of our projects and it is breaking
make distclean. Remove the option for now.
make[2]: Entering directory `/openggsn-0.91/_build/ggsn'
Makefile:307: ../lib/.deps/getopt.Po: No such file or directory
Makefile:308: ../lib/.deps/getopt1.Po: No such file or directory
make[2]: *** No rule to make target `../lib/.deps/getopt1.Po'. Stop.
diff --git a/configure.in b/configure.in
index 9761df7..a4a281b 100644
--- a/configure.in
+++ b/configure.in
@@ -15,15 +15,11 @@
AC_PROG_AWK
AC_PROG_CPP
AC_PROG_CXX
-AC_PROG_RANLIB
+LT_INIT
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_LIBOBJ_DIR([lib])
-#JJAKO Check for libtool
-AC_PROG_LIBTOOL
-AM_PROG_LIBTOOL
-
AC_ARG_ENABLE(static-exec,
[ --enable-static-exec Enable static linking of executables],
[ EXEC_LDFLAGS="-all-static"])