|
|
@@ -649,6 +649,7 @@ LIBOBJS
|
|
|
SSL_LIBS
|
|
|
SSL_INCLUDES
|
|
|
CCDEBUG
|
|
|
+STATIC
|
|
|
BUILDARCH
|
|
|
BUILDOS
|
|
|
DISTCC
|
|
|
@@ -4347,6 +4348,7 @@ fi
|
|
|
# Test the os and set the module linking settings
|
|
|
|
|
|
EGG_CYGWIN=no
|
|
|
+USE_STATIC=yes
|
|
|
{ $as_echo "$as_me:$LINENO: checking system type" >&5
|
|
|
$as_echo_n "checking system type... " >&6; }
|
|
|
if test "${egg_cv_var_system_type+set}" = set; then
|
|
|
@@ -4595,6 +4597,10 @@ _ACEOF
|
|
|
;;
|
|
|
SunOS)
|
|
|
SUNOS="yes"
|
|
|
+ USE_STATIC="no"
|
|
|
+ ;;
|
|
|
+ Darwin)
|
|
|
+ USE_STATIC="no"
|
|
|
;;
|
|
|
*BSD)
|
|
|
# FreeBSD/OpenBSD/NetBSD
|
|
|
@@ -4624,8 +4630,6 @@ $as_echo "yes" >&6; }
|
|
|
$as_echo "no" >&6; }
|
|
|
{ $as_echo "$as_me:$LINENO: result: Something unknown!" >&5
|
|
|
$as_echo "Something unknown!" >&6; }
|
|
|
- { $as_echo "$as_me:$LINENO: result: If you get dynamic modules to work, be sure to let the devel team know HOW :)" >&5
|
|
|
-$as_echo "If you get dynamic modules to work, be sure to let the devel team know HOW :)" >&6; }
|
|
|
fi
|
|
|
fi
|
|
|
;;
|
|
|
@@ -4771,7 +4775,7 @@ _ACEOF
|
|
|
|
|
|
# Create static binaries
|
|
|
|
|
|
-if test -z "$no_static"
|
|
|
+if test "$USE_STATIC" = "yes"
|
|
|
then
|
|
|
if test -n "$GXX"
|
|
|
then
|
|
|
@@ -4838,13 +4842,17 @@ $as_echo "$egg_cv_var_ccstatic" >&6; }
|
|
|
cat << 'EOF' >&2
|
|
|
configure: error:
|
|
|
|
|
|
- Your C compiler does not support -static.
|
|
|
- This compile flag is required for the botpack.
|
|
|
+ Your OS or C++ compiler does not support -static.
|
|
|
+ This compile flag is required for the botpack on this OS.
|
|
|
|
|
|
EOF
|
|
|
exit 1
|
|
|
fi
|
|
|
fi
|
|
|
+
|
|
|
+ STATIC="-static"
|
|
|
+else
|
|
|
+ STATIC=""
|
|
|
fi
|
|
|
|
|
|
|