+AC_CHECK_LIB([guile-2.2],[scm_c_define],[:],[
+AC_CHECK_LIB([guile-2.0],[scm_c_define],[:],[
AC_CHECK_LIB([guile],[gh_define],[echo this prevents default actions from occurring > /dev/null],
[BIND_GUILE="no";AC_MSG_NOTICE([libguile not found, disabling guile binding])],[])
+])])
+AC_CHECK_LIB([guile-2.2],[scm_c_define],[:],[
+AC_CHECK_LIB([guile-2.0],[scm_c_define],[:],[
AC_CHECK_LIB([guile],[gh_define],[echo this prevents default actions from occurring > /dev/null],
[BIND_GUILE="no";AC_MSG_NOTICE([libguile not found, disabling guile binding])],[])
+])])