2000-10-19 13:28:42 +00:00
--- configure.orig Tue Oct 17 22:59:41 2000
+++ configure Thu Oct 19 14:58:15 2000
@@ -1069,7 +1069,7 @@
2000-10-19 09:17:57 +00:00
PROTOCOL_VERSION=10
DOT_FRM_VERSION=6
# See the libtool docs for information on how to do shared lib versions.
2000-10-19 13:28:42 +00:00
-SHARED_LIB_VERSION=10:0:0
2000-10-19 09:17:57 +00:00
+SHARED_LIB_VERSION=6:0:0
# Set all version vars based on $VERSION. How do we do this more elegant ?
# Remember that regexps needs to quote [ and ] since this is run through m4
2000-10-19 13:28:42 +00:00
@@ -2949,7 +2949,7 @@
1999-11-27 11:42:44 +00:00
;;
esac
fi
-HOSTNAME="$ac_cv_path_HOSTNAME"
+HOSTNAME="$ac_cv_path_HOSTNAME -s"
if test -n "$HOSTNAME"; then
echo "$ac_t""$HOSTNAME" 1>&6
else
2000-10-19 13:28:42 +00:00
@@ -3077,35 +3077,7 @@
1998-12-01 02:56:08 +00:00
echo $ac_n "checking "how to check if pid exists"""... $ac_c" 1>&6
2000-10-19 13:28:42 +00:00
echo "configure:3079: checking "how to check if pid exists"" >&5
1998-12-01 02:56:08 +00:00
PS=$ac_cv_path_PS
-# Linux style
-if $PS p $$ 2> /dev/null | grep $0 > /dev/null
-then
- FIND_PROC="$PS p \$\$PID | grep mysqld > /dev/null"
-# Solaris
-elif $PS -p $$ 2> /dev/null | grep $0 > /dev/null
-then
- FIND_PROC="$PS -p \$\$PID | grep mysqld > /dev/null"
-# BSD style
-elif $PS -uaxww 2> /dev/null | grep $0 > /dev/null
-then
- FIND_PROC="$PS -uaxww | grep mysqld | grep \" \$\$PID \" > /dev/null"
-# SysV style
-elif $PS -ef 2> /dev/null | grep $0 > /dev/null
-then
- FIND_PROC="$PS -ef | grep mysqld | grep \" \$\$PID \" > /dev/null"
-# Do anybody use this?
-elif $PS $$ 2> /dev/null | grep $0 > /dev/null
-then
- FIND_PROC="$PS \$\$PID | grep mysqld > /dev/null"
-else
2000-10-19 13:28:42 +00:00
- case $SYSTEM_TYPE in
- *darwin*)
- FIND_PROC="$PS -uaxww | grep mysqld | grep \" \$\$PID \" > /dev/null"
- ;;
- *)
- { echo "configure: error: Could not find the right ps switches. Which OS is this ?. See the Installation chapter in the Reference Manual." 1>&2; exit 1; }
- esac
1998-12-01 02:56:08 +00:00
-fi
+FIND_PROC="$PS -uaxww | grep mysqld | grep \" \$\$PID \" > /dev/null"
2000-10-19 09:17:57 +00:00
1998-12-01 02:56:08 +00:00
echo "$ac_t"""$FIND_PROC"" 1>&6
2000-10-19 13:28:42 +00:00
@@ -5411,8 +5383,6 @@
1999-02-07 22:35:56 +00:00
#define $ac_tr_lib 1
EOF
- LIBS="-lc_r $LIBS"
-
else
echo "$ac_t""no" 1>&6
fi
2000-10-19 13:28:42 +00:00
@@ -5635,28 +5605,6 @@
1999-02-07 22:35:56 +00:00
fi
1999-10-18 08:31:46 +00:00
-# Build optimized or debug version ?
-# First check for gcc and g++
-if test "$ac_cv_prog_gcc" = "yes"
-then
- DEBUG_CFLAGS="-g"
- DEBUG_OPTIMIZE_CC="-O"
2000-10-19 13:28:42 +00:00
- OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE"
1999-10-18 08:31:46 +00:00
-else
- DEBUG_CFLAGS="-g"
- DEBUG_OPTIMIZE_CC=""
- OPTIMIZE_CFLAGS="-O"
-fi
-if test "$ac_cv_prog_cxx_g" = "yes"
-then
- DEBUG_CXXFLAGS="-g"
- DEBUG_OPTIMIZE_CXX="-O"
- OPTIMIZE_CXXFLAGS="-O3"
-else
- DEBUG_CXXFLAGS="-g"
- DEBUG_OPTIMIZE_CXX=""
- OPTIMIZE_CXXFLAGS="-O"
-fi
# Check whether --with-debug or --without-debug was given.
if test "${with_debug+set}" = set; then
withval="$with_debug"
2000-10-19 13:28:42 +00:00
@@ -6337,10 +6285,6 @@
2000-05-03 11:33:14 +00:00
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
-if test "$ac_cv_prog_gxx" = "yes"
-then
- CXXFLAGS="$CXXFLAGS -Werror"
-fi
mysql_cv_btype_last_arg_accept=none
cat > conftest.$ac_ext <<EOF
2000-10-19 13:28:42 +00:00
#line 6347 "configure"
@@ -8348,10 +8292,6 @@
2000-10-19 09:17:57 +00:00
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
-if test "$ac_cv_prog_gxx" = "yes"
-then
- CXXFLAGS="$CXXFLAGS -Werror"
-fi
cat > conftest.$ac_ext <<EOF
2000-10-19 13:28:42 +00:00
#line 8357 "configure"
2000-10-19 09:17:57 +00:00
#include "confdefs.h"
2000-10-19 13:28:42 +00:00
@@ -8416,10 +8356,6 @@
2000-05-03 11:33:14 +00:00
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
-if test "$ac_cv_prog_gxx" = "yes"
-then
- CXXFLAGS="$CXXFLAGS -Werror"
-fi
cat > conftest.$ac_ext <<EOF
2000-10-19 13:28:42 +00:00
#line 8425 "configure"
2000-05-03 11:33:14 +00:00
#include "confdefs.h"
2000-10-19 13:28:42 +00:00
@@ -8483,10 +8419,6 @@
2000-05-03 11:33:14 +00:00
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
-if test "$ac_cv_prog_gxx" = "yes"
-then
- CXXFLAGS="$CXXFLAGS -Werror"
-fi
cat > conftest.$ac_ext <<EOF
2000-10-19 13:28:42 +00:00
#line 8492 "configure"
2000-05-03 11:33:14 +00:00
#include "confdefs.h"
2000-10-19 13:28:42 +00:00
@@ -8770,7 +8702,7 @@
2000-01-25 14:34:38 +00:00
#include <pthread.h>
int main() {
pthread_attr_t thr_attr;
-pthread_attr_setscope(&thr_attr,0);
+XXXpthread_attr_setscope(&thr_attr,0);
; return 0; }
EOF
2000-10-19 13:28:42 +00:00
if { (eval echo configure:8777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -9728,7 +9660,7 @@
1999-04-06 22:28:44 +00:00
echo ""
echo "Configuring MIT Pthreads"
# We will never install so installation paths are not needed.
- (cd mit-pthreads; sh ./configure)
+ (cd mit-pthreads; sh ./configure ${CONFIGURE_ARGS})
echo "End of MIT Pthreads configuration"
echo ""
fi