Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure.ac: remove final traces of avahi #558

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
27 changes: 0 additions & 27 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -268,32 +268,6 @@ AS_IF([test "x$with_ippfind_path" != "xsystem"], [
AC_DEFINE_UNQUOTED([CUPS_IPPFIND], "$CUPS_IPPFIND", [ippfind binary to use.])


dnl Avahi
AVAHI_LIBS=""
AVAHI_CFLAGS=""

AC_ARG_ENABLE([avahi],
[AS_HELP_STRING([--disable-avahi], [Disable DNS Service Discovery support using Avahi.])],
[enable_avahi="$enableval"],
[enable_avahi=yes]
)
AM_CONDITIONAL([ENABLE_AVAHI], [test "x$enable_avahi" != "xno"])

AC_ARG_WITH(avahi-libs,
[AS_HELP_STRING([--with-avahi-libs], [Set directory for Avahi library.])],
AVAHI_LIBS="-L$withval $AVAHI_LIBS",)
AC_ARG_WITH(avahi-includes,
[AS_HELP_STRING([--with-avahi-includes], [Set directory for Avahi includes])],
AVAHI_CFLAGS="-I$withval $AVAHI_CFLAGS",)

if test "x$enable_avahi" != xno; then
PKG_CHECK_MODULES(AVAHI, avahi-client,
[AC_DEFINE(HAVE_AVAHI, [], [Define if you have the avahi library])])
fi

AC_SUBST(AVAHI_LIBS)
AC_SUBST(AVAHI_CFLAGS)

# ===================================
# Check for large files and long long
# ===================================
Expand Down Expand Up @@ -423,7 +397,6 @@ Build configuration:
pstops: ${enable_pstops}
rastertopwg: ${enable_rastertopwg}
shell: ${with_shell}
avahi: ${enable_avahi}
universal CUPS filter: ${enable_universal_cups_filter}
individual CUPS filters: ${enable_individual_cups_filters}
driverless: ${enable_driverless}
Expand Down