Testsuite: dynamic libraries are usable on Solaris
authorMartin Preen <preen@informatik.uni-freiburg.de>
Mon, 30 Sep 2019 15:49:44 +0000 (16:49 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Mon, 30 Sep 2019 15:50:23 +0000 (16:50 +0100)
test/configure
test/configure.ac

index d6d66b4dc2c7f2e76c7784dfb61641e448e80da5..42b405585089395ba2e22ab6dea2dfc0f67843f2 100755 (executable)
@@ -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"
index 858b8e30f8b02747171feaa03a71838bbba4b2e5..1aed4d106003e4459ecb23bb7603bd2186da2778 100644 (file)
@@ -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"