Makefile.am Help for GnomeProgram make errors



Hello,

I am using Anjuta.  I need help with a particular piece of configuration
in order to make GnomeProgram work properly.

I get this series of errors when trying to make the program:

main.c: In function âmainâ:
main.c:121: error: âPREFIXâ undeclared (first use in this function)
main.c:121: error: (Each undeclared identifier is reported only once
main.c:121: error: for each function it appears in.)
main.c:121: error: âSYSCONFDIRâ undeclared (first use in this function)
main.c:121: error: âDATADIRâ undeclared (first use in this function)
main.c:121: error: âLIBDIRâ undeclared (first use in this function)

I know I need to put PREFIX, SYSCONFDIR, etc in the Makefiles as a
CFLAGS -DPREFIX= thing, but I'm not sure how do do this properly.  

I *think* I need to add something to Makefile.am ... but I'm not sure of
the magic entry to put there.

Please help!

-- Tony





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]