diff options
author | Yusuke Sato <yusukes@chromium.org> | 2010-05-11 11:33:05 +0900 |
---|---|---|
committer | Peng Huang <shawn.p.huang@gmail.com> | 2010-08-23 16:34:39 +0800 |
commit | ff252da6d8603fcf3679a369a63ceb731f2caeb7 (patch) | |
tree | 9a658f2f01d6cb73d56cbcb6bcc35471b1461cda | |
parent | 8fef79fdf46eb0c9a342c76f79b613540dbf6632 (diff) | |
download | ibus-libpinyin-ff252da6d8603fcf3679a369a63ceb731f2caeb7.tar.gz ibus-libpinyin-ff252da6d8603fcf3679a369a63ceb731f2caeb7.tar.xz ibus-libpinyin-ff252da6d8603fcf3679a369a63ceb731f2caeb7.zip |
Tiny modification to m4/boost.m4.
Pass $CXXFLAGS to $ac_cpp to make cross-compilation of ibus-pinyin easy.
BUG=none
TEST=ran emerge-x86-generic -a ibus-pinyin.
Review URL: http://codereview.chromium.org/2045008
-rw-r--r-- | m4/boost.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/boost.m4 b/m4/boost.m4 index ee3013f..343c2be 100644 --- a/m4/boost.m4 +++ b/m4/boost.m4 @@ -67,7 +67,7 @@ dnl strip `\n' with backquotes, not the `\r'. This results in dnl boost_cv_lib_version='1_37\r' for instance, which breaks dnl everything else. dnl Cannot use 'dnl' after [$4] because a trailing dnl may break AC_CACHE_CHECK -(eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | +(eval "$ac_cpp $CXXFLAGS conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | tr -d '\r' | $SED -n -e "$1" >conftest.i 2>&1], [$3], |