Fix $CWARNFLAGS addition
authorAlan Coopersmith <alan.coopersmith@sun.com>
Sat, 18 Apr 2009 04:59:25 +0000 (21:59 -0700)
committerAlan Coopersmith <alan.coopersmith@sun.com>
Sat, 18 Apr 2009 05:01:36 +0000 (22:01 -0700)
Original addition to configure.ac had typo (missing N) - moving to
Makefile.am allows easier override at build time

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
configure.ac
src/Makefile.am

index 45fd7d7..934f197 100644 (file)
@@ -105,7 +105,6 @@ AC_CHECK_MEMBER([struct pci_io.pi_sel.pc_domain],
                  #include <sys/pciio.h>
                ])
 
-PCIACCESS_CFLAGS="$CWARFLAGS $PCIACCESS_CFLAGS"
 AC_SUBST(PCIACCESS_CFLAGS)
 AC_SUBST(PCIACCESS_LIBS)
                  
index 3e50406..14f2e48 100644 (file)
@@ -21,7 +21,7 @@
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 # DEALINGS IN THE SOFTWARE.
 
-AM_CFLAGS = @PCIACCESS_CFLAGS@
+AM_CFLAGS = $(CWARNFLAGS) @PCIACCESS_CFLAGS@
 
 lib_LTLIBRARIES = libpciaccess.la