From d7f3a86b18ffa182688a86c25efd32081a7f8dd9 Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 7 Aug 2006 02:59:00 +0000 Subject: use onig-config in configure.in. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1119 ee746299-78ed-0310-b773-934348b2243d --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.in') 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`" -- cgit v1.2.3