Hi all I've tried to set the C flags for my package globally and used AM_CLFAGS for this. Unfortunately AM_CLFAGS is only honored if it is defined in the same Makefile.am.
AM_CFLAGS = -Wall -ansi -pedantic pkglib_LTLIBRARIES = libmysqlbackend.la libmysqlbackend_la_SOURCES = mysqlbackend.c libmysqlbackend_la_CFLAGS = $(AM_CFLAGS) This works, but as soon as I move AM_CFLAGS to the Makefile.am in the parent directory, they aren't set any more. Is this the way it was intended and the only way to set them globally is to AC_SUBST them or is there something wrong in my files? Thanks for your help Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc
pgpT9rYZMha6u.pgp
Description: PGP signature
