Solaris: Be more flexible about compilers
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Tue, 22 Dec 2009 21:38:00 +0000 (21:38 +0000)
committerDerrick Brashear <shadow|account-1000005@unknown>
Tue, 22 Dec 2009 23:23:47 +0000 (15:23 -0800)
commit0f0f6cd613fe1084af948f1765a5e7e0772b117d
treef962b5544ce9e790e44150f8916df922a1196014
parentb631f5d64c629f5cda8ca02d859a089dca0a71fe
Solaris: Be more flexible about compilers

OpenSolaris doesn't have its C compiler in /opt/SUNWspro/bin/cc,
but we still have to be careful to avoid gcc, as that can't
build the kernel module.

As a short term stop gap, add a PATH_PROG test which looks in
both /opt/SUNWspro/bin and /opt/SunStudioExpress/bin for cc.
We probably should look in more places, and in the long run,
we should probably be taking whatever autoconf gives us
(for userspace, at least)

Change-Id: Ie31cf1bf474650a081fc101a2aa40cfa6bd39423
Reviewed-on: http://gerrit.openafs.org/1020
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
acinclude.m4
src/cf/osconf.m4