Commit | Line | Data |
---|---|---|
805e021f CE |
1 | AC_DEFUN([SOLARIS_PATH_CC], [ |
2 | AC_PATH_PROG([SOLARISCC], [cc], [], | |
3 | [m4_join([:], | |
4 | [/opt/SUNWspro/bin], | |
5 | [/opt/SunStudioExpress/bin], | |
6 | [/opt/developerstudio12.5/bin], | |
7 | [/opt/solarisstudio12.4/bin], | |
8 | [/opt/solarisstudio12.3/bin], | |
9 | [/opt/solstudio12.2/bin], | |
10 | [/opt/sunstudio12.1/bin])]) | |
11 | AS_IF([test "x$SOLARISCC" = "x"], | |
12 | [AC_MSG_FAILURE([m4_join([ ], | |
13 | [Could not find the solaris cc program.], | |
14 | [Please define the environment variable SOLARISCC to specify the path.])])]) | |
15 | ]) |