configure: Remove CPPFLAGS substitution
authorChuck Lever <chuck.lever@oracle.com>
Thu, 5 Mar 2009 11:16:04 +0000 (06:16 -0500)
committerSteve Dickson <steved@redhat.com>
Thu, 5 Mar 2009 11:16:04 +0000 (06:16 -0500)
At least on my systems, the AM_CPPFLAGS substitution at the end of
configure.ac is not needed.  It adds an extra copy of
"-I../../support/includes" to each compile step.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
configure.ac

index 4fd111f..b2c8190 100644 (file)
@@ -382,7 +382,6 @@ esac
 
 my_am_cflags="-Wall -Wstrict-prototypes $ARCHFLAGS -pipe"
 
-AC_SUBST([AM_CPPFLAGS], ["-I\${top_srcdir}/support/include"])
 AC_SUBST([AM_CFLAGS], ["$my_am_cflags"])
 
 # Make sure that $ACLOCAL_FLAGS are used during a rebuild