]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Build: error if solariscc is not found
authorMichael Meffie <mmeffie@sinenomine.net>
Fri, 13 Apr 2012 17:01:05 +0000 (13:01 -0400)
committerPaul Smeddle <paul.smeddle@gmail.com>
Sat, 8 Dec 2012 11:42:49 +0000 (03:42 -0800)
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 <simonxwilkinson@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit c11d1c031940f298e96def822024d2857f603268)

Change-Id: I123b887a66e8f9bad87144934e9cea62f63f2180
Reviewed-on: http://gerrit.openafs.org/8653
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: Paul Smeddle <paul.smeddle@gmail.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
acinclude.m4

index 003b0d9de176ace0d09f5e8996cdeb9beeecc185..362b038f6940ee754a1ff9a13deb0f20659861b2 100644 (file)
@@ -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