File use_system_ltdl.patch of Package libneurosim

diff --git a/Makefile.am b/Makefile.am
index 949fd86..ec32d47 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,3 @@
 AUTOMAKE_OPTIONS = subdir-objects
 
-SUBDIRS = libltdl neurosim libpyneurosim
+SUBDIRS = neurosim libpyneurosim
diff --git a/configure.ac b/configure.ac
index c0cda78..85db57f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -203,10 +203,8 @@ CXXFLAGS=
 NS_SET_LDFLAGS
 LDFLAGS=
 
-LT_PATH_LD
-LT_CONFIG_LTDL_DIR([libltdl])
-_LTDL_CONVENIENCE                 ## put libltdl into a convenience library
 LT_INIT([dlopen])                 ## use libtool
+LTDL_INIT
 m4_pattern_allow([LT_LIBEXT])     ## supress false positive message by autoconf
 
 if test "x$BUILD_SHARED" != xno ; then
@@ -215,7 +213,6 @@ if test "x$BUILD_SHARED" != xno ; then
   fi
 fi
 
-AC_CONFIG_SUBDIRS(libltdl)        ## also configure subdir containing libltdl
 AC_PROG_LIBTOOL
 
 #-- Set the language to C++
openSUSE Build Service is sponsored by