summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/configure2
-rw-r--r--test/configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/configure b/test/configure
index d6d66b4dc..42b405585 100755
--- a/test/configure
+++ b/test/configure
@@ -3273,7 +3273,7 @@ done
host_os=`uname -s`
case $CC-$host_os in
- gcc-*linux* | gcc-*Linux* | gcc-*LINUX* | gcc-FreeBSD)
+ gcc-*linux* | gcc-*Linux* | gcc-*LINUX* | gcc-FreeBSD | gcc-*SunOS* | cc-*SunOS* )
LOADED=bin/loaded
LOADED_OPT="-shared -fPIC"
echo "Using gcc on $host_os: will compile dynamically loaded module"
diff --git a/test/configure.ac b/test/configure.ac
index 858b8e30f..1aed4d106 100644
--- a/test/configure.ac
+++ b/test/configure.ac
@@ -31,7 +31,7 @@ dnl "install" script for some weird reason.
host_os=`uname -s`
case $CC-$host_os in
- gcc-*linux* | gcc-*Linux* | gcc-*LINUX* | gcc-FreeBSD)
+ gcc-*linux* | gcc-*Linux* | gcc-*LINUX* | gcc-FreeBSD | gcc-*SunOS* | cc-*SunOS* )
LOADED=bin/loaded
LOADED_OPT="-shared -fPIC"
echo "Using gcc on $host_os: will compile dynamically loaded module"