detect_gfortran 158 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/bash

function detect_gfortran()
{
    command -v $1 >/dev/null 2>&1
    if [ $? -ne 0 ]; then
      dgc_ret=0
      return
    fi

    dgc_ret=1
}