blob: b65b1d0d67596535996f62bd493fc388f5b3a278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
diff --git a/.gitignore b/.gitignore
index 528fe32..663e6bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,4 +10,5 @@ config.status
configure
depcomp
install-sh
+ltmain.sh
missing
diff --git a/Makefile.am b/Makefile.am
index aa93562..f09994e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
## Makefile.am - procress this file with automake to produce Makefile.in
-lib_LIBRARIES = libfts.a
-libfts_a_SOURCES = fts.c
-libfts_a_HEADERS = fts.h
-libfts_adir = $(includedir)
+lib_LTLIBRARIES = libfts.la
+libfts_la_SOURCES = fts.c
+libfts_la_HEADERS = fts.h
+libfts_ladir = $(includedir)
diff --git a/bootstrap.sh b/bootstrap.sh
index 9e026b5..cd4a585 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+libtoolize
aclocal
autoconf
automake --add-missing
diff --git a/configure.ac b/configure.ac
index 28dd6c6..6f12859 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,7 +7,9 @@ AC_INIT([fts], [1.1], [Jürgen Buchmüller <pullmoll@t-online.de>])
AM_INIT_AUTOMAKE([1.15])
AC_PROG_CC
-AC_PROG_RANLIB
+AC_PROG_LIBTOOL
+
+LT_INIT
AC_CHECK_HEADERS(assert.h dirent.h errno.h fcntl.h stdlib.h string.h unistd.h sys/param.h sys/stat.h)
|