From 3801aa00e36b6cea5ccf2a6f8e5a8ccbe0a409c4 Mon Sep 17 00:00:00 2001 From: Eric Branlund Date: Sun, 15 Sep 2019 01:20:01 -0700 Subject: [PATCH] Added comment about unexpected, but beneficial, side effects from AC_PATH_XTRA on Mac OS X. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 3733886ef..def84c751 100644 --- a/configure.ac +++ b/configure.ac @@ -82,6 +82,10 @@ AC_CHECK_LIB(iconv, iconv_open) AC_CHECK_FILE(/dev/urandom, AC_DEFINE(RNG_DEVICE, "/dev/urandom", [Random Number Generation device file])) dnl Checks for header files. +dnl AC_PATH_XTRA has side effects on CPP which are beneficial on Mac OS X. +dnl Removing it or conditionally executing it will likely lead to warnings +dnl on that platform about the preprocessor disagreeing with the compiler on +dnl the tests in AC_CHECK_HEADERS. AC_PATH_XTRA if test "$have_x" = yes; then LIBS="$LIBS -lX11" -- 2.11.0