]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
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 4fd111f7e6f9ac01b2d964310a2ae9cb7d91e041..b2c8190336a16408f0eeb4bf18eb0892c8c391f4 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