i have been reading and trying for at least a week and not sure what to
do. i am trying to write a hello world app that has an option to use gtk
1.2 ior gtk 2.0 or nothing. i wrote a small demo program that i can not
get working. could someone either help with it or give me a few tips on
it.
i
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 "$
;= 2.0.0"
#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, not
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
n 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 man
) $(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 kind
is it possible to only have one top level makefile ? will that work with
make install, make clean, and make dist ?
thanks
matt
___
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf
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.
x27;s are:
src
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 t
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 first
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 fr
11 matches
Mail list logo