Ralf Wildenhues wrote:
> * Dan Smithers wrote on Fri, Jan 23, 2009 at 03:22:18PM CET:
>> bin_PROGRAM=exec
>> exec_SOURCES=exec.c
>> exec_LDADD=$(top_builddir)/../libname/src/.libs -lname
> Please replace this line with
> exec_LDADD=$(top_builddir)/../libname/src/libname.la
>>>
>>> I think that it can be overridden in the call to
>>> /configure BOOSTDIR=
>> I'v just checked and it can't be done this way - presumably this needs
>> to be done before autoreconf is run. I can't find a way to add an
>> argument to autoreconf.
>
> Why add it to autoreconf? The simplest would
* Dan Smithers wrote on Fri, Jan 23, 2009 at 03:22:18PM CET:
> bin_PROGRAM=exec
> exec_SOURCES=exec.c
> exec_LDADD=$(top_builddir)/../libname/src/.libs -lname
> >>> Please replace this line with
> >>> exec_LDADD=$(top_builddir)/../libname/src/libname.la
> >>>
> >>> but I do wonder:
>>> BOOSTDIR=[/vol/build/boost_1_37_0]
>> For eventual other users of your package, this should not be hard-coded
>> but made configurable.
>
> I think that it can be overridden in the call to
> /configure BOOSTDIR=
I'v just checked and it can't be done this way - presumably this needs
to be done
Hi Ralph,
thanks for the help.
>
Also, I am a bit confused about when to use $(srcdir) and $(top_builddir).
>>> Well, imagine instead of
>>> cd build
>>> ../configure
>>>
>>> I would do
>>>
>>> mkdir /dev/shm/build
>>> cd /dev/shm/build
>>> /path/to/configure
>> I think that this
Hello Dan,
* Dan Smithers wrote on Thu, Jan 22, 2009 at 11:35:32AM CET:
> >> Sometime this works fine. On other occasions I get an error
> >>
> >> automake-1.10: no Automake input file found for
> >> `activation_analyser/src/Makefile.in'
> >> automake-1.10: no input file among supplied arguments.
Thanks for the reply Ralph,
>> I have configure.ac in the top directories and Makefile.am in all source
>> directories and top directories.
>>
>> I use a sequence
>>
>> autoreconf --install
>> cd build
>> ../configure
>> make
>>
>> Sometime this works fine. On other occasions I get an error
>>
>>
Hello Dan,
* Dan Smithers wrote on Wed, Jan 21, 2009 at 03:19:06PM CET:
> I have configure.ac in the top directories and Makefile.am in all source
> directories and top directories.
>
> I use a sequence
>
> autoreconf --install
> cd build
> ../configure
> make
>
> Sometime this works fine. On
Hi,
I have a strange problem with my autotools setup.
I have configure.ac in the top directories and Makefile.am in all source
directories and top directories.
I use a sequence
autoreconf --install
cd build
../configure
make
Sometime this works fine. On other occasions I get an error
automak