automake
[Top][All Lists]
Advanced

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

AM_AUTOCONF does not work?


From: Jose Roman Bilbao
Subject: AM_AUTOCONF does not work?
Date: Mon, 09 Feb 2004 10:02:02 +0100

Hi,

Can anybody tell my why this code is not substituting the variable
WITH_OPENGL in my automake.am and how should I write it to work?

MDL_HAVE_OPENGL

AM_CONDITIONAL( WITH_OPENGL, test -n $GL_FLAGS)
#AM_CONDITIONAL( WITH_OPENGL, test -n $GL_LIBS)

AC_SUBST([WITH_OPENGL])

GL_FLAGS has contents. If I uncomment GL_LIBS configure complaints about
too many arguments. Anyway, just using GL_FLAGS this code in the
Makefile.am does not work:

if WITH_OPENGL
        EXECUTABLES = phan3D
else
        EXECUTABLES = 
endif

bin_PROGRAMS = $(EXECUTABLE)

Thanks,





reply via email to

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