summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChoe Hwanjin <choe.hwanjin@gmail.com>2008-12-20 20:56:45 +0900
committerChoe Hwanjin <choe.hwanjin@gmail.com>2008-12-20 20:56:45 +0900
commit76a37cd2463ea085f55bab9777fe6201bddb49b1 (patch)
tree4426a75553accbb74a6a476ffc51da0be8de15bf /configure.ac
parentfa3b58f093b444d9f0fef7afa7934a41ae95a7cd (diff)
downloadlibhangul-76a37cd2463ea085f55bab9777fe6201bddb49b1.tar.gz
unit test 코드 적용:
* check 라이브러리를 이용하여 구현 * check 라이브러리가 없어도 libhangul을 빌드하는 데는 문제 없게 설정 * 시범삼아 syllable iterator 코드의 테스트 코드 작성 git-svn-id: http://kldp.net/svn/hangul/libhangul/trunk@190 8f00fcd2-89fc-0310-932e-b01be5b65e01
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d5f70a4..6f8770e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,11 @@ AC_FUNC_REALLOC
AC_CHECK_FUNCS([munmap])
AC_CHECK_FUNCS([strcasecmp])
+# Checks for unit test framework
+PKG_PROG_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ PKG_CHECK_EXISTS(check, [ PKG_CHECK_MODULES([CHECK], [check]) ])
+fi
AC_CONFIG_FILES([
Makefile