ill second that.
autoconf is that bad. i havent written any m4 scripts though. and
couldnt get automake to work.
matt
On Mon, 6 Feb 2006, John Calcote wrote:
You know, I've recently finished reading the manuals for m4, libtool,
autoconf, and automake. After 1000 pages of reading, I was
i am going to take a break from this i think. i have been reading
examples manuals for at least 2 weeks on this. too much time. and i
still can not get it to work.
i put the lastest try at
icarus.cc.uic.edu/~mhull1/mine-0.0.9.tar.gz
i have automake version 1.4 - 1.9 installed. i was at
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.
src/gtk
what is different with only a single makefile ?
thanks
matt
On Sun, 8 Jan 2006, Ralf Corsepius wrote:
On Sat, 2006-01-07 at 15:55 -0600, Matt Hull wrote:
is it possible to only have one top level makefile ?
In most cases, yes.
will that work with
make install, make clean
) $(INCPATH) -o gtkmain.o src/gtk-1.2/gtkmain.c
i am guessing that its trying to link to main, but should do that last
after it compiles main.
thanks
matt
On Thu, 5 Jan 2006, Ralf Corsepius wrote:
On Wed, 2006-01-04 at 16:34 -0600, Matt Hull wrote:
thanks, i think i got that kinda working
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
___
Autoconf mailing list
#PKG_CHECK_MODULES(GTKCONFIG, [$pkg_modules])
that fails
thanks
matt
On Mon, 2 Jan 2006, Giles wrote:
On Monday 02 January 2006 01:58, Matt Hull wrote:
i am trying to write a hello world app that can use nothing, gtk 1.2, or
2.0.
sofar, nothing with autoconf works
Have a look at 'man pkg-config
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
i am trying to write a hello world app that can use nothing, gtk 1.2, or
2.0.
sofar, nothing with autoconf works
i tried this:
# check if gtk should be used
AC_ARG_WITH(gtk, [ --with-gtk use GTK GUI toolkit ])
if test $with_gtk = yes -o $enable_gtk = yes ; then
if test $withval