summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac5
3 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 183ed07..a85539d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,4 +15,5 @@ depcomp
install-sh
libtool
ltmain.sh
+m4
missing
diff --git a/Makefile.am b/Makefile.am
index 573ef99..0da5a98 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,4 @@
+ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES = libmidtrans.la
libmidtrans_la_SOURCES = midtrans.c
libmidtrans_la_CPPFLAGS = $(DEPS_CFLAGS)
diff --git a/configure.ac b/configure.ac
index cf39de2..4c58cf8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,8 @@
AC_INIT([midtrans], [0.0], [prabowo@darapsa.org])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_CXX
AM_PROG_AR
LT_INIT
PKG_CHECK_MODULES([DEPS], [libcurl json-c])
@@ -10,5 +12,8 @@ case $host in
*) ios=false;;
esac
AM_CONDITIONAL([IOS], [test "x$ios" = xtrue])
+AC_FUNC_MALLOC
+AC_TYPE_SIZE_T
AC_CONFIG_FILES([Makefile])
+AC_CONFIG_MACRO_DIRS([m4])
AC_OUTPUT