From 971e0288542db9302d5f64017258679212b5bc6f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 24 Jan 2024 08:20:34 -0500 Subject: [PATCH] Fix configure script - wasn't setting CPPFLAGS correctly. --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index a339691..e98df25 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 4c2083c..a6747a9 100644 --- a/configure.ac +++ b/configure.ac @@ -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])