summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChoe Hwanjin <choe.hwanjin@gmail.com>2005-09-25 22:55:24 +0900
committerChoe Hwanjin <choe.hwanjin@gmail.com>2005-09-25 22:55:24 +0900
commitb889352c8cc7340417e2dc0897620e80b26b3f7b (patch)
treeec6c6df055defb0c9b981e62dd645d293c9e59db /configure.ac
parent31bb1e9a3812dc392a9b8a8102ecf21eae354c63 (diff)
downloadlibhangul-b889352c8cc7340417e2dc0897620e80b26b3f7b.tar.gz
* libtoolize
* added pkgconfig file git-svn-id: http://kldp.net/svn/hangul/libhangul/trunk@18 8f00fcd2-89fc-0310-932e-b01be5b65e01
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac23
1 files changed, 22 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8cf0191..83e7baa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,9 +7,28 @@ AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([hangul/hangul.h])
AC_CONFIG_HEADER([config.h])
+LIBHANGUL_MAJOR_VERSION=0
+LIBHANGUL_MINOR_VERSION=0
+LIBHANGUL_MICRO_VERSION=1
+
+LIBHANGUL_VERSION=$LIBHANGUL_MAJOR_VERSION.$LIBHANGUL_MINOR_VERSION.$LIBHANGUL_MICRO_VERSION
+AC_SUBST(LIBHANGUL_MAJOR_VERSION)
+AC_SUBST(LIBHANGUL_MINOR_VERSION)
+AC_SUBST(LIBHANGUL_MICRO_VERSION)
+AC_SUBST(LIBHANGUL_VERSION)
+
+# library version
+LIBHANGUL_CURRENT=0
+LIBHANGUL_REVISION=0
+LIBHANGUL_AGE=0
+
+AC_SUBST(LIBHANGUL_CURRENT)
+AC_SUBST(LIBHANGUL_REVISION)
+AC_SUBST(LIBHANGUL_AGE)
+
# Checks for programs.
AC_PROG_CC
-AC_PROG_RANLIB
+AC_PROG_LIBTOOL
# Checks for libraries.
@@ -26,5 +45,7 @@ AC_CONFIG_FILES([
Makefile
hangul/Makefile
test/Makefile
+libhangul.pc
])
+
AC_OUTPUT