automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

makefile.am from --with-package option


From: Matt Hull
Subject: makefile.am from --with-package option
Date: Wed, 4 Jan 2006 01:07:50 -0600 (CST)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]