gtk + autoconf

2008-04-06 Thread Daniel Fetchinson
Hi folks, I've written a gtk app which I'd like to distribute in source format but I don't have too much experience with autoconf and friends. I compile the program manually like this: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT myprog.o -MD -MP -MF .deps/myprog.Tpo `pkg-config --cflags gtk+-2.0` -c -o

Re: gtk + autoconf

2008-04-06 Thread Andreas Volz
Am Sat, 5 Apr 2008 13:22:25 -0700 schrieb Daniel Fetchinson: Hi folks, ... I got this by copying configure.ac from some other project. As you can see the X dependencies are there but how do I put in the right gtk flags and dependencies? Sorry if this is off topic but autoconf and friends

Re: gtk + autoconf

2008-04-06 Thread Rafał Mużyło
On Sat, Apr 05, 2008 at 01:22:25PM -0700, Daniel Fetchinson wrote: AC_PREREQ([2.57]) AC_INIT(myprog,[0.1], [http://mysite/],myprog) AM_INIT_AUTOMAKE([dist-bzip2]) AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) I think AC_CONFIG_HEADERS should be fine above. AC_PROG_CC AC_PROG_INSTALL

Re: gtk + autoconf

2008-04-06 Thread Claudio Saavedra
El sáb, 05-04-2008 a las 13:22 -0700, Daniel Fetchinson escribió: Hi folks, I've written a gtk app which I'd like to distribute in source format but I don't have too much experience with autoconf and friends. I compile the program manually like this: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT

Re: gtk + autoconf

2008-04-06 Thread Daniel Fetchinson
I've written a gtk app which I'd like to distribute in source format but I don't have too much experience with autoconf and friends. I compile the program manually like this: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT myprog.o -MD -MP -MF .deps/myprog.Tpo `pkg-config --cflags gtk+-2.0` -c -o