X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/e25173ccb05ea96b9cc291c5b16ffc7a4511be8c..39b50ea455811e8dfe4a09ad02e5151e25124324:/configure.ac diff --git a/configure.ac b/configure.ac index 42594de..ed1e5de 100644 --- a/configure.ac +++ b/configure.ac @@ -18,17 +18,7 @@ AM_CONDITIONAL([BUNDLED_LIBLTDL], [test x$LTDLDEPS != x]) 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], @@ -69,12 +59,11 @@ AC_MSG_RESULT([$use_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 lib/Makefile src/Makefile + libuobject.pc ]) AC_OUTPUT