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


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to