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 makefile.am so that it doenst try to compile it ? i found on google to do: SUBDIRS = src cli-fe @GTK@ but if gtk isnt included in the makefile SUBDIRS then its not included in the dist package. how can i have the makefile not compile the gtk if not selected and still be in the dist package ? thanks matt