X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/a26eff8ba11dcf9a6aa21e1537397bbbfb6a927e..HEAD:/configure.ac diff --git a/configure.ac b/configure.ac index e190000..fe3dae9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -dnl Copyright © 2019-2021 Nick Bowler +dnl Copyright © 2019-2023 Nick Bowler dnl dnl Based on original work Copyright © 1999-2013 Jiri (George) Lebl. dnl @@ -6,6 +6,8 @@ dnl License GPLv2+: GNU General Public License version 2 or any later version. dnl This is free software: you are free to change and redistribute it. dnl There is NO WARRANTY, to the extent permitted by law. +DX_PATCH_GNULIB + AC_INIT([GObject Builder], [2.0.20a], [nbowler@draconx.ca], [gob-dx]) AC_CONFIG_SRCDIR([src/treefuncs.def]) AC_CONFIG_AUX_DIR([build-aux]) @@ -41,6 +43,13 @@ dnl Dependencies for test suite DX_LIB_GLIB2([], [gobject], [HAVE_GOBJECT=true], [HAVE_GOBJECT=false]) AC_SUBST([HAVE_GOBJECT]) +save_LIBS=$LIBS +LIBS="$LIBS $LIBGLIB_LIBS" +AC_CHECK_FUNCS([g_string_append_printf g_ascii_strcasecmp]) +LIBS=$save_LIBS + +AM_CONDITIONAL([GOB_STRCASE], [test x"$ac_cv_func_g_ascii_strcasecmp" = x"no"]) + AS_IF([$HAVE_GOBJECT], [AC_CACHE_CHECK([whether libgobject supports private data members], [dx_cv_libgobject_privates],