From 159c89d7bf96ac978dfbf90f60b610fc02f81678 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Wed, 7 Jan 2009 20:05:30 +0000 Subject: [PATCH] Suppress spurious warnings from configure about --datarootdir [rt19097] --- RELNOTES | 2 ++ configure.ac | 3 +++ 2 files changed, 5 insertions(+) diff --git a/RELNOTES b/RELNOTES index dd118d5e..039b6a3d 100644 --- a/RELNOTES +++ b/RELNOTES @@ -50,6 +50,8 @@ work on other platforms. Please report any problems and suggested fixes to (which are bogus corruption read from the packet anyway). It also carries a hopefully more useful explanation. +- Suppress spurious warnings from configure about --datarootdir + Changes since 4.1.0b1 - A missing "else" in dhcrelay.c could have caused an interface not to diff --git a/configure.ac b/configure.ac index 781300c1..f16ee875 100644 --- a/configure.ac +++ b/configure.ac @@ -12,6 +12,9 @@ SAVE_CFLAGS="$CFLAGS" # Now find our C compiler. AC_PROG_CC +# Suppress warnings about --datarootdir +AC_DEFUN([AC_DATAROOTDIR_CHECKED]) + # If we have gcc, and AC_PROG_CC changed the flags, then we know the # user did not specify any flags. Add warnings in this case. if test "$GCC" = "yes"; then