Advertisement

configure.in and knowing directories

Started by January 07, 2004 10:11 PM
1 comment, last by Fratt 20 years, 8 months ago
hi, i''ve got some things to add the the flags in configure.in (most include dirs and headers), but my whole direcory is set that programs could be in different sub-directories levels, so adding something like -I../../include is not true all the time. I know, in a makefile.am I could have add the root directory of the project by $top_srcdir, but I don''t know how to do that under configure.in in order to avoid telling it in all makefiles I could only find poor documentation about that. If someone knows, please tell me how. regards fratt
clicky

According to the above clicky you need to do
export VARIABLE_NAME = value

or just

export VARIABLE_NAME

In the toplevel makefile, this might work in the toplevel Makefile.am
"THE INFORMATION CONTAINED IN THIS REPORT IS CLASSIFIED; DO NOT GO TO FOX NEWS TO READ OR OBTAIN A COPY." , the pentagon
Advertisement
yes but export VARIABLE_NAME= what ??

All people who will want to install it on its computer should untar it anywhere he wants, not knowing the current directory.

Thanks, anyway, for the first step you gave me.

jdf

This topic is closed to new replies.

Advertisement