Skip to content

Commit

Permalink
Import OAuth APIs from libcups v3.
Browse files Browse the repository at this point in the history
Add HTTP Accept header to HTTP API.

Add CUPS OAuth status to IPP API.
  • Loading branch information
michaelrsweet committed Sep 9, 2024
1 parent 0fa45ad commit 327af60
Show file tree
Hide file tree
Showing 12 changed files with 2,493 additions and 80 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
/cups/testjson
/cups/testjwt
/cups/testlang
/cups/testoauth
/cups/testoptions
/cups/testppd
/cups/testpwg
Expand Down
4 changes: 2 additions & 2 deletions config-scripts/cups-common.m4
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ INSTALLXPC=""
AS_CASE([$host_os_name], [darwin*], [
BACKLIBS="$BACKLIBS -framework IOKit"
SERVERLIBS="$SERVERLIBS -framework IOKit -weak_framework ApplicationServices"
LIBS="-framework CoreFoundation -framework Security $LIBS"
PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC -framework CoreFoundation -framework Security"
LIBS="-framework CoreFoundation -framework CoreServices -framework Security $LIBS"
PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC -framework CoreFoundation -framework CoreServices -framework Security"
dnl Check for framework headers...
AC_CHECK_HEADER([ApplicationServices/ApplicationServices.h], [
Expand Down
12 changes: 6 additions & 6 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -4726,11 +4726,11 @@ if test x$ac_prog_cxx_stdcxx = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
printf %s "checking for $CXX option to enable C++11 features... " >&6; }
if test ${ac_cv_prog_cxx_cxx11+y}
if test ${ac_cv_prog_cxx_11+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_cv_prog_cxx_cxx11=no
ac_cv_prog_cxx_11=no
ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
Expand Down Expand Up @@ -4772,11 +4772,11 @@ if test x$ac_prog_cxx_stdcxx = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
printf %s "checking for $CXX option to enable C++98 features... " >&6; }
if test ${ac_cv_prog_cxx_cxx98+y}
if test ${ac_cv_prog_cxx_98+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_cv_prog_cxx_cxx98=no
ac_cv_prog_cxx_98=no
ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
Expand Down Expand Up @@ -6764,8 +6764,8 @@ case $host_os_name in #(

BACKLIBS="$BACKLIBS -framework IOKit"
SERVERLIBS="$SERVERLIBS -framework IOKit -weak_framework ApplicationServices"
LIBS="-framework CoreFoundation -framework Security $LIBS"
PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC -framework CoreFoundation -framework Security"
LIBS="-framework CoreFoundation -framework CoreServices -framework Security $LIBS"
PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC -framework CoreFoundation -framework CoreServices -framework Security"

ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
Expand Down
Loading

0 comments on commit 327af60

Please sign in to comment.