RE: zvt is killing me...



Naba,
It worked...  thank you very much.

Michael,
I stopped trying to fix it when it wasn't broken anymore, but I'm sure your
suggestion would have worked as well.
Thank you for your help.

Shane

-----Original Message-----
From: Naba Kumar [mailto:kh_naba yahoo com]
Sent: Friday, January 25, 2002 2:49 AM
To: Clancy, Shane W.
Cc: gnome-devel-list gnome org
Subject: RE: zvt is killing me...



On Thu, 2002-01-24 at 21:03, Clancy, Shane W. wrote:
> 
> Sure...
> here's configure.in:
> 
> dnl Process this file with autoconf to produce a configure script.
> 
> AC_INIT(configure.in)
> AM_INIT_AUTOMAKE(zvt_try, 0.1)
> AM_CONFIG_HEADER(config.h)
> 
> dnl Pick up the Gnome macros.
> AM_ACLOCAL_INCLUDE(macros)
> 
> GNOME_INIT
> AC_ISC_POSIX
> AC_PROG_CC
> AM_PROG_CC_STDC
> AC_HEADER_STDC
> 
> GNOME_COMPILE_WARNINGS
> GNOME_X_CHECKS

Add the following lines here:

ZVT_CFLAGS=`gnome-config --cflags zvt`
ZVT_LIBS=`gnome-config --libs zvt`
AC_SUBST(ZVT_CFLAGS)
AC_SUBST(ZVT_LIBS)

> 
> dnl Add the languages which your application supports here.
> ALL_LINGUAS=""
> AM_GNU_GETTEXT
> 
> dnl Set PACKAGE_LOCALE_DIR in config.h.
> if test "x${prefix}" = "xNONE"; then
>   AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR,
> "${ac_default_prefix}/${DATADIRNAME}/locale")
> else
>   AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR,
"${prefix}/${DATADIRNAME}/locale")
> fi
> 
> AC_OUTPUT([
> Makefile
> macros/Makefile
> src/Makefile
> intl/Makefile
> po/Makefile.in
> ])
> 
> and here's Makefile.am:
> [...]

We need your src/Makefile.am and not Top Makefile.am. In
src/Makefile.am, modify like this:

INCLUDES = ......\
	.....\
	$(ZVT_CFLAGS)

..........
..........
..........

yourtarget_LDADD = ......\
	......\
	$(ZVT_LIBS)

And autogen.sh the whole thing.

-- 
Regards,
-naba

There is no fool to the old fool.
		-- John Heywood


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
gnome-devel-list mailing list
gnome-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-devel-list



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