Check for the Sun Studio C compiler on Solaris under /opt.
Also intialize with_python to false.
This commit is contained in:
@@ -140,11 +140,16 @@ if [ "$crossbuild" = "false" ]; then
|
|||||||
;;
|
;;
|
||||||
sol[0-9]*)
|
sol[0-9]*)
|
||||||
# Use the Sun Studio C compiler on Solaris if possible
|
# Use the Sun Studio C compiler on Solaris if possible
|
||||||
if [ -z "$CC" -a -x /usr/bin/cc ]; then
|
if [ -z "$CC" ]; then
|
||||||
CC=/usr/bin/cc; export CC
|
for f in /opt/developerstudio12.[9876]/bin/cc /opt/solarisstudio12.[43]/bin/cc; do
|
||||||
if [ -z "$CFLAGS" ]; then
|
if [ -x $f ]; then
|
||||||
CFLAGS=-O; export CFLAGS
|
CC=$f; export CC
|
||||||
fi
|
if [ -z "$CFLAGS" ]; then
|
||||||
|
CFLAGS=-O; export CFLAGS
|
||||||
|
fi
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -157,6 +162,9 @@ configure_opts="${configure_opts}${configure_opts+$tab}--enable-package-build"
|
|||||||
# Some systems don't have a recent enough OpenSSL for the I/O log server.
|
# Some systems don't have a recent enough OpenSSL for the I/O log server.
|
||||||
with_openssl=false
|
with_openssl=false
|
||||||
|
|
||||||
|
# Not all systems have Python 3.
|
||||||
|
with_python=false
|
||||||
|
|
||||||
# Choose configure options by osversion.
|
# Choose configure options by osversion.
|
||||||
# We use the same configure options as vendor packages when possible.
|
# We use the same configure options as vendor packages when possible.
|
||||||
case "$osversion" in
|
case "$osversion" in
|
||||||
|
Reference in New Issue
Block a user