i have a simple hello world i am trying to get working.  i have:

src/main.c
src/gtk/gtkmain.c
src/gtk/gtkmain.h

i almost got it working except that when it tries to build gtkmain it
fails with undefined reference to main.  looks like its trying to build a
final appllication and link it together.  but the gtkmain is only enabled
when the user selects it from configure as such:

./configure --with-gtk

src/makefile.am has
bin_PROGRAMS = mine
mine_SOURCES = main.c

src/gtk/makefile.am has
bin_PROGRAMS = gtk
gtk_SOURCES = gtk.c gtk.h

how can i build the dependencies without linking ?

thanks

matt


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to