diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-08-07 02:59:00 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-08-07 02:59:00 +0000 |
commit | d7f3a86b18ffa182688a86c25efd32081a7f8dd9 (patch) | |
tree | a9b8a27e204f1de370583626982a72d9b91addb5 /configure.in | |
parent | 2d2c86cbd9bbd1fc44ff338ed89ebae535c359a5 (diff) |
use onig-config in configure.in.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1119 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 82a82b90..7e87bf9c 100644 --- a/configure.in +++ b/configure.in @@ -285,7 +285,8 @@ if test "$ac_cv_enable_oniguruma" = yes; then AC_MSG_CHECKING([whether Oniguruma is available]) dnl AC_CHECK_PROG(ONIG_CONFIG, onig-config, onig-config) ONIG_CONFIG=onig-config - if $ONIG_CONFIG --version; then + ONIG_VERSION=`$ONIG_CONFIG --version 2>/dev/null` + if test "x$ONIG_VERSION" != "x"; then AC_MSG_RESULT(yes) CFLAGS="$CFLAGS `$ONIG_CONFIG --cflags`" LIBS="$LIBS `$ONIG_CONFIG --libs`" |