aboutsummaryrefslogtreecommitdiff
blob: 707da3b6b026eaee895ceaf22e0c91634fc153f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- scilab-5.3.3.orig/configure.ac	2012-04-16 21:18:43.000000000 +0100
+++ scilab-5.3.3/configure.ac	2012-05-23 00:54:55.000000000 +0100
@@ -196,16 +196,16 @@
    if test -z "$F77"; then
      AC_MSG_ERROR([You asked me to use gfortran but i haven't been able to find it])
     fi
-fi
 
-if test "$with_intelcompilers" = yes; then
+
+elif test "$with_intelcompilers" = yes; then
    AC_PROG_F77(ifc ifort)
    if test -z "$F77"; then
      AC_MSG_ERROR([You asked me to use ifc (intel fortran compiler) but i haven't been able to find it])
     fi
-fi
+else
+
 
-if test -z "$F77"; then
 ## No Frotran compiler specified... We rely on Autoconf to find the best
    AC_PROG_F77
 fi