Re: makefile.am from --with-package option

2006-01-04 Thread Stepan Kasal
Hello, On Wed, Jan 04, 2006 at 01:07:50AM -0600, Matt Hull wrote: SUBDIRS = src cli-fe @GTK@ use Automake conditionals: SUBDIRS = src cli-fe if WITH_GTK SUBDIRS += gtk endif See the Automake manual for details. Have a nice day, Stepan

Re: makefile.am from --with-package option

2006-01-04 Thread Matt Hull
thanks, i think i got that kinda working. but now its compiling out of order. i have src/main.c that calls the gtkmain() in src/gtk-2.0/gtkmain.c it tries to compile src/main.c first and fails. gcc -DHAVE_CONFIG_H -I. -I. -I.. -Igtk-2.0 -c main.c gcc-o mine main.o -L/usr/lib -lgtk

Re: makefile.am from --with-package option

2006-01-04 Thread Ralf Corsepius
On Wed, 2006-01-04 at 16:34 -0600, Matt Hull wrote: thanks, i think i got that kinda working. but now its compiling out of order. i have src/main.c that calls the gtkmain() in src/gtk-2.0/gtkmain.c it tries to compile src/main.c first and fails. Nope ... gcc -DHAVE_CONFIG_H -I. -I.

makefile.am from --with-package option

2006-01-03 Thread Matt Hull
not sure if i sould post on autoconf or automake... sorry if i posted wrong. working on a hello world program. it has the option to use gtk 1.2 or gtk 2.0 or nothing. i think i got configure.in working, now i need to edit makefile.am. if there the user selected --without-gtk, how do i edit the