Distributing/Installing a whole directory

2004-03-11 Thread Jose Roman Bilbao
Hi, I have a multiple subdirs library which I am autoconfiguring. The question is: I have a subdirectory with its Makefile.am where I have got some .cc files which I build with no problem. In this directory I have got a subdirectory called html where I store the help for the executable

AM_AUTOCONF does not work?

2004-02-09 Thread Jose Roman Bilbao
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

Conditional problem

2004-02-06 Thread Jose Roman Bilbao
Hi, What is wrong with this piece of code? It always says that there is no OpenGL although it has been found: #checking for OpenGL MDL_HAVE_OPENGL if test -z $GL_LIBS then AC_MSG_RESULT([GL libs not found, OpenGL disabled.]) else if test -z $GL_CFLAGS then

Libs ordering in LDADD

2003-10-19 Thread Jose Roman Bilbao
Hi all, Why do I need a specific order when writing LDADD rules?. If I dont I get lots of Undefined references. Is this a bug?, If not... Which rule should I follow in order to write correct MAkefile.am files?. cheers, Roman

dynamic libraries, static executable

2003-10-15 Thread Jose Roman Bilbao
Hi, Is it possible to build a statically linked program against dynamic libraries so I dont need them anymore? If so... How can I do it? If not... must I build statically all the dynamic libraries I wan to include in my program?. Many thanks, Roman

2 questions about libraries

2003-06-17 Thread Jose Roman Bilbao
Hi, I am finally reaching the end of my autotoolization of my program but I still have two questions I think will be easy to solve but I can not figure out how to do it... 1st: I have a multiple subdirectories project. One of those directories stores again multiple subdirectories. In each of

Sources in multiple directories

2002-11-11 Thread Jose Roman Bilbao
Hi, I know this is a very common topic in the forum but I would like to know when will automake be able to operate with multiple directories. Thanks