|
|
05f6862 |
Index: arts-1.5.4/acinclude.m4
|
|
|
05f6862 |
===================================================================
|
|
|
05f6862 |
--- arts-1.5.4.orig/acinclude.m4
|
|
|
05f6862 |
+++ arts-1.5.4/acinclude.m4
|
|
|
05f6862 |
@@ -12040,28 +12040,12 @@ fi
|
|
|
05f6862 |
])# AC_LTDL_SYS_DLOPEN_DEPLIBS
|
|
|
05f6862 |
|
|
|
05f6862 |
AC_DEFUN([AC_LTDL_SHLIBEXT],
|
|
|
05f6862 |
-[AC_REQUIRE([AC_LTDL_SNARF_CONFIG])dnl
|
|
|
05f6862 |
+[AC_REQUIRE([AC_LIBTOOL_SYS_DYNAMIC_LINKER])dnl
|
|
|
05f6862 |
AC_CACHE_CHECK([which extension is used for shared libraries],
|
|
|
05f6862 |
libltdl_cv_shlibext, [dnl
|
|
|
05f6862 |
-(
|
|
|
05f6862 |
- last=
|
|
|
05f6862 |
- case "$host_os" in
|
|
|
05f6862 |
- cygwin* | mingw*)
|
|
|
05f6862 |
- last=".dll"
|
|
|
05f6862 |
- ;;
|
|
|
05f6862 |
- *)
|
|
|
05f6862 |
- for spec in $library_names_spec; do
|
|
|
05f6862 |
- last="$spec"
|
|
|
05f6862 |
- done
|
|
|
05f6862 |
- ;;
|
|
|
05f6862 |
- esac
|
|
|
05f6862 |
-changequote(, )
|
|
|
05f6862 |
- echo "$last" | sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//' > conftest
|
|
|
05f6862 |
-changequote([, ])
|
|
|
05f6862 |
-)
|
|
|
05f6862 |
-libltdl_cv_shlibext=`cat conftest`
|
|
|
05f6862 |
-rm -f conftest
|
|
|
05f6862 |
-])
|
|
|
05f6862 |
+module=yes
|
|
|
05f6862 |
+eval libltdl_cv_shlibext=$shrext
|
|
|
05f6862 |
+ ])
|
|
|
05f6862 |
if test -n "$libltdl_cv_shlibext"; then
|
|
|
05f6862 |
AC_DEFINE_UNQUOTED(LTDL_SHLIB_EXT, "$libltdl_cv_shlibext",
|
|
|
05f6862 |
[Define to the extension used for shared libraries, say, ".so". ])
|
|
|
05f6862 |
Index: arts-1.5.4/libltdl/ltdl.m4
|
|
|
05f6862 |
===================================================================
|
|
|
05f6862 |
--- arts-1.5.4.orig/libltdl/ltdl.m4
|
|
|
05f6862 |
+++ arts-1.5.4/libltdl/ltdl.m4
|
|
|
05f6862 |
@@ -118,27 +118,11 @@ fi
|
|
|
05f6862 |
])# AC_LTDL_SYS_DLOPEN_DEPLIBS
|
|
|
05f6862 |
|
|
|
05f6862 |
AC_DEFUN([AC_LTDL_SHLIBEXT],
|
|
|
05f6862 |
-[AC_REQUIRE([AC_LTDL_SNARF_CONFIG])dnl
|
|
|
05f6862 |
+[AC_REQUIRE([AC_LIBTOOL_SYS_DYNAMIC_LINKER])dnl
|
|
|
05f6862 |
AC_CACHE_CHECK([which extension is used for shared libraries],
|
|
|
05f6862 |
libltdl_cv_shlibext, [dnl
|
|
|
05f6862 |
-(
|
|
|
05f6862 |
- last=
|
|
|
05f6862 |
- case "$host_os" in
|
|
|
05f6862 |
- cygwin* | mingw*)
|
|
|
05f6862 |
- last=".dll"
|
|
|
05f6862 |
- ;;
|
|
|
05f6862 |
- *)
|
|
|
05f6862 |
- for spec in $library_names_spec; do
|
|
|
05f6862 |
- last="$spec"
|
|
|
05f6862 |
- done
|
|
|
05f6862 |
- ;;
|
|
|
05f6862 |
- esac
|
|
|
05f6862 |
-changequote(, )
|
|
|
05f6862 |
- echo "$last" | sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//' > conftest
|
|
|
05f6862 |
-changequote([, ])
|
|
|
05f6862 |
-)
|
|
|
05f6862 |
-libltdl_cv_shlibext=`cat conftest`
|
|
|
05f6862 |
-rm -f conftest
|
|
|
05f6862 |
+module=yes
|
|
|
05f6862 |
+eval libltdl_cv_shlibext=$shrext
|
|
|
05f6862 |
])
|
|
|
05f6862 |
if test -n "$libltdl_cv_shlibext"; then
|
|
|
05f6862 |
AC_DEFINE_UNQUOTED(LTDL_SHLIB_EXT, "$libltdl_cv_shlibext",
|