views:

37

answers:

1

How do I define macros on a per-project, or per file level in a C project using autotools?

Presently I have this: mount_cpfs_CPPFLAGS = -DFUSE_USE_VERSION=28, but I'm not sure that this is the "portable" way to define a C macro.

A: 

Consider using generated header files with AC_DEFINE.

jpalecek