Re: [GtkGLExt] need help for a correct start
- From: Ralf Corsepius <rc040203 freenet de>
- To: Alexander Nagel <feuerschwanz76 web de>
- Cc: gtkglext-list gnome org
- Subject: Re: [GtkGLExt] need help for a correct start
- Date: Mon, 31 Oct 2005 07:33:07 +0100
On Sun, 2005-10-30 at 16:50 +0100, Alexander Nagel wrote:
> Hi i'm new gtkglext and i have some question.
> What is the best way for configure & make to register that your
> extension is installed?
>
> Now i have in configure.ac
>
> GTKGL_CFLAGS="-I/usr/include/gtkglext-1.0/
> -I/usr/local/include/gtkglext-1.0/ -I/usr/lib/gtkglext-1.0/include/
> -I/usr/local/lib/gtkglext-1.0/include/"
>
> AC_CHECK_LIB(gtkglext-x11-1.0, gtk_gl_init,
> GTKGL_LIBS="-lgdkglext-x11-1.0",exit,)
>
> AC_SUBST(GTKGL_LIBS)
> AC_SUBST(GTKGL_CFLAGS)
>
> Is this enough??
Well, ... forget about this approach (It's broken and unnecessarily complex)
PKG_CHECK_MODULES([GTKGLEXT],[gtkglext-1.0])
should be sufficient.
Ralf
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]