From 1cdb55995c319f791d3c686fa30e410d7910da7c Mon Sep 17 00:00:00 2001 From: imaginos Date: Tue, 24 Aug 2004 22:43:56 +0000 Subject: [PATCH] more sun adeptations git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@12 726aef4b-f618-498e-8847-2d620e286838 --- configure | 3 +++ configure.in | 3 +++ modules/buildmod.in | 5 ++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 42d08e88..bd58b110 100755 --- a/configure +++ b/configure @@ -2760,6 +2760,9 @@ fi MODFLAGS="$MODFLAGS -I`pwd`" MODTARGET="modules" appendLib -ldl + if `echo $host_os | grep -i 'sol' >/dev/null 2>/dev/null`; then + appendCXX -mimpure-text + fi fi # diff --git a/configure.in b/configure.in index 705e816f..bab839d5 100644 --- a/configure.in +++ b/configure.in @@ -56,6 +56,9 @@ if test "$MODULES" = "yes"; then MODFLAGS="$MODFLAGS -I`pwd`" MODTARGET="modules" appendLib -ldl + if `echo $host_os | grep -i 'sol' >/dev/null 2>/dev/null`; then + appendCXX -mimpure-text + fi fi # diff --git a/modules/buildmod.in b/modules/buildmod.in index f56c9545..b5822d06 100644 --- a/modules/buildmod.in +++ b/modules/buildmod.in @@ -22,7 +22,10 @@ if [ "$1" = "--libs" ]; then fi if [ "$1" = "--all" ]; then - FILES=`ls` + FILES="email raw sample shell" + if `echo $CXXFLAGS | grep 'HAVE_LIBSSL' >/dev/null 2>/dev/null`; then + FILES="$FILES schat savebuff" + fi else FILES=$@ fi