summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-04 14:30:15 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-04 14:30:15 +0800
commit4195a7f93387a60fb3c8a37d7a14189728a57e7b (patch)
tree77b674d95a81746fb5d2ef669f0a21a103b4f340
parentc9f3b3a455bffe4cc49c0538a077932612910eb6 (diff)
Strip down autotools files to what's necessary
-rw-r--r--Makefile.am7
-rw-r--r--configure.ac7
2 files changed, 3 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am
index 5f94fbb..1c46e4e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,3 @@
-ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES = libicclient.la
libicclient_la_SOURCES = \
request.h \
@@ -18,10 +17,4 @@ pkginclude_HEADERS = \
icclient/member.h \
icclient/admin.h \
icclient/client.h
-
libicclient_la_LDFLAGS = -lcurl
-
-#bin_PROGRAMS = icclienttest
-#icclienttest_SOURCES = main.c
-#icclienttest_LDADD = libicclient.la
-#icclienttest_LDFLAGS = -lcurl
diff --git a/configure.ac b/configure.ac
index ce29659..7317c8c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,15 +1,14 @@
AC_INIT([icclient], [0.0], [pt@darapsa.co.id])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PROG_CC
-AM_PROG_AR
-LT_INIT
-AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile])
-AC_CONFIG_MACRO_DIRS([m4])
+AC_CONFIG_HEADERS([config.h])
AC_CHECK_HEADER_STDBOOL
AC_C_INLINE
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
+AM_PROG_AR
+LT_INIT
AC_OUTPUT