[exim-cvs] Testsuite: dynamic libraries are usable on Solari…

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Testsuite: dynamic libraries are usable on Solaris
Gitweb: https://git.exim.org/exim.git/commitdiff/fe74809cb55b3d3162bdf7f8323b4422fe1475f9
Commit:     fe74809cb55b3d3162bdf7f8323b4422fe1475f9
Parent:     ec5bf0b83235d01ad0b2865d1819a603441f50f2
Author:     Martin Preen <preen@???>
AuthorDate: Mon Sep 30 16:49:44 2019 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Mon Sep 30 16:50:23 2019 +0100


    Testsuite: dynamic libraries are usable on Solaris
---
 test/configure    | 2 +-
 test/configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/test/configure b/test/configure
index d6d66b4..42b4055 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 858b8e3..1aed4d1 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"