summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index c6885bffec0..fbfb3119674 100644
--- a/configure.in
+++ b/configure.in
@@ -711,6 +711,7 @@ case $SYSTEM_TYPE in
*bsdi*)
echo "Adding fix for BSDI"
CFLAGS="$CFLAGS -D__BSD__"
+ AC_DEFINE_UNQUOTED(SOCKOPT_OPTLEN_TYPE, size_t)
;;
*sgi-irix6*)
if test "$with_named_thread" = "no"
@@ -1177,10 +1178,6 @@ AC_C_BIGENDIAN
#---START: Used in for client configure
# Check base type of last arg to accept
MYSQL_TYPE_ACCEPT
-case "$SYSTEM_TYPE" in
-*bsdi* ) AC_DEFINE_UNQUOTED(SOCKOPT_OPTLEN_TYPE, size_t);;
-* ) AC_DEFINE_UNQUOTED(SOCKOPT_OPTLEN_TYPE, size_socket);;
-esac
#---END:
# Find where the stack goes