bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] SV decomp failure


From: Alexey A. Illarionov
Subject: Re: [Bug-gsl] SV decomp failure
Date: Thu, 01 Nov 2012 11:48:26 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Firefox/16.0 SeaMonkey/2.13.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I looked closer at the proposed patches. They both do not work.
Mine just fails, since AC_PROG_CC is not allowed inside conditions.
Steve's produces undefined STDC_HEADER in config.h (which for modern
gcc is not acceptable)

It looks like some autotools black magic prevents from implementation
of this trivial modification.

Peter Johansson wrote:
> On 10/26/2012 03:35 PM, Alexey A. Illarionov wrote:
>> === modified file 'configure.ac' --- configure.ac    2011-09-22
>> 16:13:22 +0000 +++ configure.ac    2012-10-26 05:31:05 +0000 @@
>> -85,9 +85,17 @@ dnl Check for which system. AC_CANONICAL_HOST
>> 
>> + dnl Checks for programs. AC_LANG(C) -AC_PROG_CC +case $host_os
>> in +    darwin* ) +        AC_PROG_CC([clang cc gcc]) +
>> ;; +    * ) +        AC_PROG_CC +esac +
> You may wanna consider using similar code with autoconf macro
> 
> AS_CASE([$host_os], [darwin*], [AC_PROG_CC([clang gcc cc])], 
> [AC_PROG_CC])
> 
> it will generate similar shell code, but I find it easier...
>> AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S
>> 
> 


- -- 
С уважением, Алексей Александрович Илларионов.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBAgAGBQJQkpnKAAoJEEBWYSFzoNKelY8H/2trw83x0XhmMCX5IV/3Gb+i
y3f2RgTtllQiUlKwubsaNIK5m9wB+j1b+0aYK0t3ptw7NYFgtqS00gw/YxcxP1by
oKmbwZ3ZGbvgst6E5t1ABpKCZXTPbrOD5KCrAlOtZ+b1OjQnmMwRA/qpQSRoC3Ck
Y2KTdMNl6q1UiTasuxbr/xdqkDZQvDKEvWp0fq4rGPf+OcAt8FCcUuhC0/jfdQKh
ZyX9v0POaaqyebJ1/vqNMhIBv5Y+THj5xO70B7avsjp3EE9MfYFsPZGaXc4A7WyB
GEb8rYcRKszFlZtGZuAd3QAB92F62V8eUZ1//NgJgYvNunktl2tCVqZFokrn3OE=
=t6Qh
-----END PGP SIGNATURE-----



reply via email to

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