헤더 참조 경로를 상대 경로로 바꿈
authorChoe Hwanjin <choe.hwanjin@gmail.com>
Sun, 26 Dec 2010 12:54:23 +0000 (21:54 +0900)
committerChoe Hwanjin <choe.hwanjin@gmail.com>
Sun, 26 Dec 2010 12:54:23 +0000 (21:54 +0900)
configure 디렉토리가 소스 디렉토리와 다른 경우에 에러가 발생한다.
make distcheck를 하면 에러난다. $(top_srcdir)을 써도 되는데,
그냥 쉽게 상대 경로로 참조하도록 수정한다.

git-svn-id: http://kldp.net/svn/hangul/libhangul/trunk@245 8f00fcd2-89fc-0310-932e-b01be5b65e01

tools/Makefile.am
tools/hangul.c

index 29e4fe9..ea26175 100644 (file)
@@ -1,6 +1,5 @@
 
 bin_PROGRAMS = hangul
 
-hangul_CFLAGS = -I../hangul
 hangul_SOURCES = hangul.c
 hangul_LDADD = ../hangul/libhangul.la
index a12e882..0d4f5a8 100644 (file)
@@ -13,7 +13,7 @@
 
 #include <iconv.h>
 
-#include <hangul.h>
+#include "../hangul/hangul.h"
 
 #define _(x) (x)