Skip to content

Commit

Permalink
Fix configure script - wasn't setting CPPFLAGS correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Jan 24, 2024
1 parent dfacc3f commit 971e028
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -3830,7 +3830,7 @@ then :

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
CPPFLAGS="$CFLAGS $($PKGCONFIG --cflags pappl2)"
CPPFLAGS="$CPPFLAGS $($PKGCONFIG --cflags pappl2)"
LIBS="$($PKGCONFIG --libs pappl2) $LIBS"

else $as_nop
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ dnl PAPPL library...
AC_MSG_CHECKING([for PAPPL library v2.0 or later])
AS_IF([$PKGCONFIG --exists pappl2 --atleast-version=2.0], [
AC_MSG_RESULT([yes])
CPPFLAGS="$CFLAGS $($PKGCONFIG --cflags pappl2)"
CPPFLAGS="$CPPFLAGS $($PKGCONFIG --cflags pappl2)"
LIBS="$($PKGCONFIG --libs pappl2) $LIBS"
], [
AC_MSG_RESULT([no])
Expand Down

0 comments on commit 971e028

Please sign in to comment.