You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add configure options for several PAPPL options (#22)
PAPPL provides several options to set with its server subcommand -
this PR implements configure options for several of them providing
flexibility for maintainers.
AC_DEFINE(ENABLE_PAPPL_BACKENDS, 1, [Build legacy-printer-app with PAPPL backend support])
265
265
])
266
266
267
+
# ===========
268
+
# Admin group
269
+
# ===========
270
+
AC_ARG_WITH([admin_group], AS_HELP_STRING([--with-admin-group=[GROUP]], [Set group which users are authenticated for remote configuration, default=none]), [
271
+
AS_IF([test $withval != yes -a $withval != no], [
272
+
ADMINGROUP=$withval
273
+
], [
274
+
ADMINGROUP="none"
275
+
])
276
+
], [
277
+
ADMINGROUP="none"
278
+
])
279
+
AC_SUBST([ADMINGROUP])
280
+
281
+
# =============================
282
+
# PAM module for authentication
283
+
# =============================
284
+
AC_ARG_WITH([auth_service], AS_HELP_STRING([--with-auth-service=[SERVICE]], [Set PAM service to use for remote request authentication, default=none]), [
285
+
AS_IF([test $withval != yes -a $withval != no], [
286
+
AUTHSERV=$withval
287
+
], [
288
+
AUTHSERV="none"
289
+
])
290
+
], [
291
+
AUTHSERV="none"
292
+
])
293
+
AC_SUBST([AUTHSERV])
294
+
295
+
# =======================================
296
+
# Listening on specified address/hostname
297
+
# =======================================
298
+
AC_ARG_WITH([listen_hostname], AS_HELP_STRING([--with-listen-hostname=[HOSTNAME]], [Set address/hostname where listen for connection, default=local IPv4 and IPv6 addresses]), [
0 commit comments