Use rb_errinfo() instead of ruby_errinfo for Ruby 1.9
[strongswan.git] / configure.in
index 2516ea9..97a7ad3 100644 (file)
@@ -673,6 +673,7 @@ if test x$dumm = xtrue; then
                [AC_MSG_RESULT([$LIBS]); RUBYLIB=$LIBS],
                [AC_MSG_ERROR([not found])])
        AC_SUBST(RUBYLIB)
                [AC_MSG_RESULT([$LIBS]); RUBYLIB=$LIBS],
                [AC_MSG_ERROR([not found])])
        AC_SUBST(RUBYLIB)
+       AC_CHECK_FUNCS(rb_errinfo)
        LIBS=$saved_LIBS
 fi
 
        LIBS=$saved_LIBS
 fi