summaryrefslogtreecommitdiff
path: root/dev-libs/iniparser/files/iniparser-3.0-autotools.patch
blob: 361c96a7d4fbbd83c74fe8e42ad00572bda8d071 (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
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,8 @@
+ACLOCAL_AMFLAGS = -I config
+
+lib_LTLIBRARIES = libiniparser.la
+
+libiniparser_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@
+libiniparser_la_SOURCES = src/dictionary.c  src/iniparser.c
+
+include_HEADERS = src/dictionary.h  src/iniparser.h
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,24 @@
+AC_PREREQ([2.65])
+AC_INIT([iniparser], [3.0], [ndevilla@free.fr])
+
+AC_CONFIG_AUX_DIR(config)
+AC_CONFIG_MACRO_DIR(config)
+
+AM_INIT_AUTOMAKE([1.8 foreign])
+
+SHARED_VERSION_INFO="0"
+AC_SUBST(SHARED_VERSION_INFO)
+
+# Checks for programs.
+AC_PROG_CC
+AC_SYS_LARGEFILE
+
+LT_INIT
+# Checks for header files.
+AC_CHECK_HEADERS([ ctype.h stdio.h stdlib.h string.h ])
+
+# Checks for library functions.
+AC_CHECK_FUNCS([strcmp])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT