Skip to content
Snippets Groups Projects
Commit c6ac8b1e authored by Jorrit Fahlke's avatar Jorrit Fahlke
Browse files

hopefully fix FS#695:

use AC_PROG_LIBTOOL and AC_DISABLE_SHARED instead of
LT_INIT([disable-shared]).  LT_INIT may be the new way of doing this, but the
other are not yet deprecated and I could not get LT_INIT to work

tested with libtool 2.2.6 and 1.5.26

[[Imported from SVN: r5779]]
parent ba347ffe
No related branches found
No related tags found
No related merge requests found
......@@ -26,11 +26,12 @@ AC_DEFUN([DUNE_CHECK_ALL],[
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([AC_PROG_CXXCPP])
AC_REQUIRE([AC_PROG_F77])
AC_REQUIRE([LT_COMPAT])
# don't build shared libs per default, this is way better for debugging...
AC_REQUIRE([AC_DISABLE_SHARED])
# we need libtool
dnl do not use LT_INIT since we want to be compatible with libtool 1.5
AC_REQUIRE([AC_PROG_LIBTOOL])
# don't build shared libs per default, this is way better for debugging...
LT_INIT([disable-shared])
AC_REQUIRE([LT_COMPAT])
dnl check dependencies of this module
dnl this test is autogenerated for each module
......
......@@ -3,12 +3,5 @@ dnl libtool 1.5 and libtool 2.x
AC_DEFUN([LT_COMPAT],[
# LT_COMPAT
m4_ifdef([LT_INIT],[],
[
# call AC_DISABLE_SHARED
AC_DISABLE_SHARED
# fake LT_INIT and LT_OUTPUT
AC_DEFUN([LT_INIT])
AC_DEFUN([LT_OUTPUT])
])
m4_ifdef([LT_OUTPUT],[],[AC_DEFUN([LT_OUTPUT])])
])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment