[Groonga-commit] groonga/groonga [master] Don't require libevent with --disable-option-checking option.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 2月 22日 (水) 21:29:45 JST


Kouhei Sutou	2012-02-22 21:29:45 +0900 (Wed, 22 Feb 2012)

  New Revision: ccd492be0496d34aceaf5fb2aac830bce1c60c25

  Log:
    Don't require libevent with --disable-option-checking option.
    
    --with-libevent means --with-libevent=auto with
    --disable-option-checking.

  Modified files:
    configure.ac

  Modified: configure.ac (+1 -1)
===================================================================
--- configure.ac    2012-02-22 19:30:46 +0900 (950a767)
+++ configure.ac    2012-02-22 21:29:45 +0900 (b7c21e4)
@@ -887,7 +887,7 @@ if test "x$with_libevent" != "xno"; then
     LIBEVENT_CFLAGS="$libevent_cflags"
     LIBEVENT_LIBS="$libevent_ldflags"
   else
-    if test "x$with_libevent" = "xyes"; then
+    if test "$enable_option_checking" != "no" -a "x$with_libevent" = "xyes"; then
       AC_MSG_ERROR("No libevent found")
     fi
   fi




Groonga-commit メーリングリストの案内
Back to archive index