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