[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] SV decomp failure
From: |
Peter Johansson |
Subject: |
Re: [Bug-gsl] SV decomp failure |
Date: |
Fri, 26 Oct 2012 16:13:27 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120825 Thunderbird/10.0.7 |
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
- Re: [Bug-gsl] SV decomp failure, (continued)
- Re: [Bug-gsl] SV decomp failure, Alexey A. Illarionov, 2012/10/25
- Re: [Bug-gsl] SV decomp failure, Steve Brosnan, 2012/10/25
- Re: [Bug-gsl] SV decomp failure, Rhys Ulerich, 2012/10/25
- Re: [Bug-gsl] SV decomp failure, Peter Johansson, 2012/10/25
- Re: [Bug-gsl] SV decomp failure, Alexey A. Illarionov, 2012/10/26
- Re: [Bug-gsl] SV decomp failure, Peter Johansson, 2012/10/26
- Re: [Bug-gsl] SV decomp failure, Alexey A. Illarionov, 2012/10/26
- Re: [Bug-gsl] SV decomp failure, Peter Johansson, 2012/10/26
- Re: [Bug-gsl] SV decomp failure, Steve Brosnan, 2012/10/26
- Re: [Bug-gsl] SV decomp failure, Alexey A. Illarionov, 2012/10/26
- Re: [Bug-gsl] SV decomp failure,
Peter Johansson <=
- Re: [Bug-gsl] SV decomp failure, Alexey A. Illarionov, 2012/10/26