X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config%2Famanda%2Flibs.m4;fp=config%2Famanda%2Flibs.m4;h=50b7f756247c18994837562656de629d279846b8;hb=691567b16c13087b31ee4c2b6d038e57872fae82;hp=e6acb04cd4b9b0d6409401d2ddd100ebb174279b;hpb=cc7d7b45afc706099acf7ff2490ec5667d370651;p=debian%2Famanda diff --git a/config/amanda/libs.m4 b/config/amanda/libs.m4 index e6acb04..50b7f75 100644 --- a/config/amanda/libs.m4 +++ b/config/amanda/libs.m4 @@ -147,6 +147,11 @@ AC_DEFUN([AMANDA_CHECK_GLIB], [ fi fi + # remove deprecated warning for newer version + if $PKG_CONFIG --atleast-version 2.30.0 glib-2.0; then + AMANDA_DISABLE_GCC_WARNING(deprecated-declarations) + fi + # GLIB_CPPFLAGS is not set by autoconf, yet GLIB_CFLAGS contains what GLIB_CPPFLAGS should contain. AMANDA_ADD_CPPFLAGS($GLIB_CFLAGS) AMANDA_ADD_LIBS($GLIB_LIBS)