I tried to build shared-mime-info version 0.15 on my AIX system. I used the $CFLAGS variable to specify a specific compiler option (I use the IBM xlc compiler version 6.0). It looks like the content of the variable is used in the configure script but is not used in the Makefile.am file. I made the following patch to change it but I'm not sure this is the way you'd like to do it : ---------- PATCH FOLLOW -------------------- --- Makefile.am.old 2004-12-08 13:14:23.000000000 +0100 +++ Makefile.am 2004-11-08 16:48:32.000000000 +0100 @@ -25,7 +25,7 @@ CLEANFILES = intltool-extract intltool-merge intltool-update freedesktop.org.xml -CFLAGS = $(ALL_CFLAGS) +CFLAGS = $(ALL_CFLAGS) @CFLAGS@ LDFLAGS = $(ALL_LIBS) pkgconfigdir = $(libdir)/pkgconfig ----------------- END OF PATCH ------------------- What do you think about the problem and the patch ? Regards, Vincent.
Fixed in CVS, I used a different fix though: instead of setting CFLAGS in Makefile.am, I set update_mime_database_CFLAGS.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.