You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
833 B
39 lines
833 B
--- /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
|