Switch for static/ dynamic linking

2008-12-23 Thread Stefan Bienert
Hi! I'm planing to include a switch in my configure script to link external libraries static in my project. The question is how to do this? I can't find a good hint in the docs. Is there already an Autoconf macro defined? Or must I create everything by myself? For dynamic linking, I would use

AC_SUBST and AC_CACHE_VAL

2009-05-12 Thread Stefan Bienert
same value several times? I guess there is something like sb_cv_foo_set for the cahing mechanism, but where is the difference in testing for that instead of putting the AC_SUBST stuff into the AC_CACHE_CHECK command-to-set section? greetings, Stefan -- Stefan Bienert Zentrum fuer Bioinformatik Un

Re: AC_SUBST and AC_CACHE_VAL

2009-05-13 Thread Stefan Bienert
Hi Ralf, > What does the last line have to do with the ones before that? Oh, I forgot to mention: I have this stuff in a macro. It's meant to check for certain flags and if accepted by the program, the flag is added to the flag-list. Now I have another macro, which invokes the flag checks by AC_R

Re: AC_SUBST and AC_CACHE_VAL

2009-05-13 Thread Stefan Bienert
Hi again, > OK, but still the last line had no logical connection with the other > ones, so I wondered whether we were missing something. Oh, well, AC_SUBST should only be called, if the issue checked by AC_CACHE_CHECK is true. I probably forgot to mention this either. Sorry. > Old habit. Use A

Re: AC_SUBST and AC_CACHE_VAL

2009-05-13 Thread Stefan Bienert
> Wating for you to implement it. ;-) Well, I suspected something like this...right now I'm on some contrib' to gnulib, then I have promised the automake people to try to help and then I could try to make a satisfying implementation of AS_FOR...wait! I've to clean my flat before everything else ;

How to treat libraries...

2007-07-09 Thread Stefan Bienert
s, Stefan -- Stefan Bienert Zentrum fuer Bioinformatik Universitaet Hamburg Bundesstrasse 43 20146 Hamburg Germany Email: [EMAIL PROTECTED] Phone: +49 (40) 42838 7345 Fax:+49 (40) 42838 7332 ___ Autoconf mailing list Autoconf@gnu.org http://lis

Problems with AC_LANG_WERROR

2008-01-04 Thread Stefan Bienert
o me... Please excuse my use of language here, I'm very new to this whole GNU build system - thingi and do not know the right terms for everything. greetings, Stefan -- Stefan Bienert Zentrum fuer Bioinformatik Universitaet Hamburg Bundesstrasse 43 20146 Hamburg Germany Email: [EMAIL PR

pthreads

2008-01-29 Thread Stefan Bienert
for me. The macro is GPL with an exception on the product of it. I need somethin BSDish with sort of no limitations in use... greetings, Stefan -- Stefan Bienert Zentrum fuer Bioinformatik Universitaet Hamburg Bundesstrasse 43 20146 Hamburg Germany Email: [EMAIL PROTECTED] Phone: +49 (40) 42838

Re: pthreads

2008-01-29 Thread Stefan Bienert
Bob Friesenhahn wrote: On Tue, 29 Jan 2008, Stefan Bienert wrote: I already found acx_pthread in the autoconf-archive but it has the wrong license for me. The macro is GPL with an exception on the product of it. I need somethin BSDish with sort of no limitations in use... It is good to

Re: pthreads

2008-01-29 Thread Stefan Bienert
? This would require including the source of the ACX_PTHREAD macro in the project directory. As far as I understand the whole license thing (I am defenitively not a lawyer) including GPl-Code in your project makes the project GPL... greetings, Stefan -- Stefan Bienert Zentrum fuer

Re: pthreads

2008-01-30 Thread Stefan Bienert
package (making the software accessible to the public), it should be OK to use our own license on the project. Right or not? greetings, Stefan -- Stefan Bienert Zentrum fuer Bioinformatik Universitaet Hamburg Bundesstrasse 43 20146 Hamburg Germany Email: [EMAIL PROTECTED] Phone: +49 (40) 42838

AH_VERBATIM not working!?

2008-02-01 Thread Stefan Bienert
Hi there, should'nt AH_VERBATIM ([HAVE_SNPRINTF], [/*BAR*/]) result in /*BAR*/ written somewhere in config.h or config.h.in? Well, for me it does not! What can I do? greetings, Stefan -- Stefan Bienert Zentrum fuer Bioinformatik Universitaet Hamburg Bundesstrasse 43