Skip to content

Commit

Permalink
libcupsfilters does not use glib, removed the check in configure.ac.
Browse files Browse the repository at this point in the history
As a remainder of the old cups-filters there was still a check for
glib which made ./configure error out with glib absent. Removed this.
  • Loading branch information
tillkamppeter committed Nov 24, 2022
1 parent 5f465b9 commit ca04892
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGES - OpenPrinting libcupsfilters v2.0b1 - 2022-11-17

## CHANGES IN V2.0b2 (TBA)

- libcupsfilters does not use glib, removed the check in configure.ac.

## CHANGES IN V2.0b1 (17th November 2022)

- Introduced the filter functions concept converting filter
Expand Down
21 changes: 0 additions & 21 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ AC_SUBST(EXIF_CFLAGS)
# ======================
AVAHI_LIBS=""
AVAHI_CFLAGS=""
AVAHI_GLIB_CFLAGS=""
AVAHI_GLIB_LIBS=""

AC_ARG_ENABLE([avahi],
[AS_HELP_STRING([--disable-avahi], [Disable DNS Service Discovery support using Avahi.])],
Expand All @@ -263,25 +261,6 @@ fi
AC_SUBST(AVAHI_LIBS)
AC_SUBST(AVAHI_CFLAGS)

PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.30.2])
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)

if test x$enable_avahi != xno; then
PKG_CHECK_MODULES(AVAHI_GLIB, [avahi-glib])
fi

AC_SUBST(AVAHI_GLIB_CFLAGS)
AC_SUBST(AVAHI_GLIB_LIBS)

PKG_CHECK_MODULES(GIO, [gio-2.0])
AC_SUBST(GIO_CFLAGS)
AC_SUBST(GIO_LIBS)

PKG_CHECK_MODULES(GIO_UNIX, [gio-unix-2.0])
AC_SUBST(GIO_UNIX_CFLAGS)
AC_SUBST(GIO_UNIX_LIBS)

# ==========================================
# Check for various required modules for PDF
# ==========================================
Expand Down

0 comments on commit ca04892

Please sign in to comment.