Build: error if solariscc is not found

Fail configure if the solariscc is not found and give the builder
a message to cope with non-standard installation paths for
sunstudio.

Change-Id: I64c1e752833f2aa824f4a15cc144e54bb03a1ec8
Reviewed-on: http://gerrit.openafs.org/7204
Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
Michael Meffie 2012-04-13 13:01:05 -04:00 committed by Derrick Brashear
parent a187be182c
commit c11d1c0319

View File

@ -375,6 +375,9 @@ case $system in
AC_MSG_RESULT(sun4)
AC_PATH_PROG(SOLARISCC, [cc], ,
[/opt/SUNWspro/bin:/opt/SunStudioExpress/bin])
if test "x$SOLARISCC" = "x" ; then
AC_MSG_FAILURE(Could not find the solaris cc program. Please define the environment variable SOLARISCC to specify the path.)
fi
SOLARIS_UFSVFS_HAS_DQRWLOCK
SOLARIS_FS_HAS_FS_ROLLED
SOLARIS_SOLOOKUP_TAKES_SOCKPARAMS