configure.ac: Actually get the mLib compiler options used.
authorMark Wooding <mdw@marauder.distorted.org.uk>
Sat, 11 Jun 2011 18:53:06 +0000 (19:53 +0100)
committerMark Wooding <mdw@marauder.distorted.org.uk>
Sat, 11 Jun 2011 18:53:06 +0000 (19:53 +0100)
Didn't notice this before, but nothing actually took any notice of
the `mLib_CFLAGS' variable.  Add it to `AM_CFLAGS' so that the right
thing happens.

configure.ac

index 99b488e..f433382 100644 (file)
@@ -37,12 +37,14 @@ AC_PROG_CC
 AX_CFLAGS_WARN_ALL
 AM_PROG_LIBTOOL
 mdw_LIBTOOL_VERSION_INFO
+AC_SUBST([AM_CFLAGS])
 
 dnl Types.
 AC_TYPE_UID_T
 
 dnl Packages.
 PKG_CHECK_MODULES([mLib], [mLib >= 2.0.4])
+AM_CFLAGS="$AM_CFLAGS $mLib_CFLAGS"
 
 dnl--------------------------------------------------------------------------
 dnl Output.