aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--aclocal.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 6fcd970..84e2d2f 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -171,8 +171,8 @@ if test x"$enable_m17n" = xno; then
else
AC_DEFINE(USE_M17N)
WCTARGET="libwc"
- WCCFLAGS="-I. -I.."
- wcinclude="-I./libwc"
+ WCCFLAGS='-I$(srcdir) -I$(srcdir)/..'
+ wcinclude='-I$(srcdir)/libwc'
wclib="-L./libwc -lwc"
AC_MSG_CHECKING(if unicode support is enabled)
AC_ARG_ENABLE(unicode,
@@ -208,7 +208,7 @@ else
[ --with-charset=CHARSET],
[test x"with_charset" = xyes || display_charset="$with_charset"])
AC_MSG_RESULT($display_charset)
- display_charset=`awk '$[1] == "'$display_charset'" {print $[2]}' charset-list`
+ display_charset=`awk '$[1] == "'$display_charset'" {print $[2]}' $srcdir/charset-list`
case "$display_charset" in
WC_CES_ISO_2022_JP*)
system_charset=WC_CES_EUC_JP