diff options
author | fujiwarat <takao.fujiwara1@gmail.com> | 2010-04-26 14:26:41 +0900 |
---|---|---|
committer | fujiwarat <takao.fujiwara1@gmail.com> | 2010-04-26 14:26:41 +0900 |
commit | 9c70d6ba2c3f346add0fa72fc55ca7899b5fc98e (patch) | |
tree | b1ce3b0a1e8df82edf0e297feb2e2cc590b49542 | |
parent | 34030e3f1115e34e5dd9c9c419ac4bb73bf62d09 (diff) | |
download | ibus-anthy-9c70d6ba2c3f346add0fa72fc55ca7899b5fc98e.tar.gz |
Fix sh equal and swig include path. #883, #884
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | engine/Makefile.am | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index ecb00e4..c2a378c 100644 --- a/configure.ac +++ b/configure.ac @@ -72,7 +72,7 @@ NTH_HALFKANA_CANDIDATE],, dnl - check swig AC_PATH_PROG(SWIG, swig) -if test x"$SWIG" == x""; then +if test x"$SWIG" = x""; then AC_MSG_ERROR([can not find swig]) fi AC_SUBST(SWIG) @@ -85,7 +85,7 @@ dnl - check python AM_PATH_PYTHON([2.5]) AC_PATH_PROG(PYTHON_CONFIG, python$PYTHON_VERSION-config) -if test x"$PYTHON_CONFIG" == x""; then +if test x"$PYTHON_CONFIG" = x""; then AC_PATH_PROG(PYTHON_CONFIG, python-config) fi if test x"$PYTHON_CONFIG" != x""; then diff --git a/engine/Makefile.am b/engine/Makefile.am index 6c2dae3..d54f17c 100644 --- a/engine/Makefile.am +++ b/engine/Makefile.am @@ -62,7 +62,7 @@ engine_DATA = anthy.xml enginedir = $(datadir)/ibus/component anthy.py anthy_wrap.c: anthy.i - $(SWIG) -python -I/usr/include -o anthy_wrap.c $(srcdir)/anthy.i + $(SWIG) -python $(ANTHY_CFLAGS) -I/usr/include -o anthy_wrap.c $(srcdir)/anthy.i anthy.xml: anthy.xml.in ( \ |