$NetBSD: patch-configure,v 1.6 2024/05/08 11:16:49 he Exp $ Pretend expat.h is found: it is guaranteed by PkgSrc, but on Darwin it might be buried inside an SDK; we don't want the SDK path being exposed in CFLAGS. --- configure.orig 2017-07-09 07:41:42.000000000 +0000 +++ configure @@ -21900,7 +21900,7 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libexpat" >&5 printf %s "checking for libexpat... " >&6; } -found_libexpat="no" +found_libexpat="yes" for dir in $withval ; do if test -f "$dir/include/expat.h"; then found_libexpat="yes"