From b30ed5d2cae6a8a38a828e3e998595f98b3f52ea Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Fri, 13 Apr 2012 13:01:05 -0400 Subject: [PATCH] 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. Reviewed-on: http://gerrit.openafs.org/7204 Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: BuildBot (cherry picked from commit c11d1c031940f298e96def822024d2857f603268) Change-Id: I123b887a66e8f9bad87144934e9cea62f63f2180 Reviewed-on: http://gerrit.openafs.org/8653 Reviewed-by: Derrick Brashear Reviewed-by: Stephan Wiesand Reviewed-by: Paul Smeddle Tested-by: BuildBot --- acinclude.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/acinclude.m4 b/acinclude.m4 index 003b0d9de..362b038f6 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -363,6 +363,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 -- 2.39.5