gl_INIT
-AC_ARG_WITH([gobject],
- [AS_HELP_STRING([--with-gobject],
- [build tools requiring libgobject [default=yes]]
- )],
- [],
- [with_gobject=yes])
-
-have_gobject=no
-if test x$with_gobject = xyes; then
-AM_PATH_GLIB_2_0(, [have_gobject=yes], [have_gobject=no], [gobject])
-fi
+CHECK_GLIB_2([], [gobject])
AC_ARG_WITH([modlib],
[AS_HELP_STRING([--with-modlib],
AM_CONDITIONAL([USE_LIBMODPLUG], [test x$use_modlib = xmodplug])
AM_CONDITIONAL([USE_DUMMYMOD], [test x$use_modlib = xnone])
-AM_CONDITIONAL([BUILD_UPKG], [test x$have_gobject = xyes])
-
AC_CONFIG_FILES([
Makefile
libltdl/Makefile