[Groonga-commit] groonga/groonga [master] use AC_ARG_ENABLE instead of AC_ARG_WITH for --disable-libedit.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 9月 19日 (日) 15:50:47 JST


Kouhei Sutou	2010-09-19 06:50:47 +0000 (Sun, 19 Sep 2010)

  New Revision: 67f7e4baef13dae23e931bed372b1763fdeafccd

  Log:
    use AC_ARG_ENABLE instead of AC_ARG_WITH for --disable-libedit.
    
    Reported by MATSUU Takuto. Thanks!!!

  Modified files:
    configure.ac

  Modified: configure.ac (+2 -2)
===================================================================
--- configure.ac    2010-09-17 10:19:11 +0000 (fdc5c9b)
+++ configure.ac    2010-09-19 06:50:47 +0000 (e103775)
@@ -478,10 +478,10 @@ AM_CONDITIONAL([WITH_UNIT_TEST],
                      "$ac_cv_ruby_available" = "yes"])
 
 # libedit
-AC_ARG_WITH(libedit,
+AC_ARG_ENABLE(libedit,
   [AS_HELP_STRING([--disable-libedit],
     [use libedit for console. [default=auto-detect]])],
-  [enable_libedit="$withval"],
+  [enable_libedit="$enableval"],
   [enable_libedit="auto"])
 if test "x$enable_libedit" != "xno"; then
   PKG_CHECK_MODULES([LIBEDIT], [libedit >= 3.0],




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