--- configure.orig	Wed Apr 28 21:03:38 1999
+++ configure	Tue May 11 16:47:14 1999
@@ -1780,7 +1780,7 @@
 if test "$GXX" = "yes"
 then
   # mysqld requires this when compiled with gcc
-  CXXFLAGS="$CXXFLAGS -fno-implicit-templates"
+  CXXFLAGS="$CXXFLAGS -fno-inline"
 fi
 
 # Avoid bug in fcntl on some versions of linux
@@ -2199,30 +2199,7 @@
 echo $ac_n "checking "how to check if pid exists"""... $ac_c" 1>&6
 echo "configure:2201: checking "how to check if pid exists"" >&5
 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
-  { 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; }
-fi
-
+FIND_PROC="$PS -uaxww | grep mysqld | grep \" \$\$PID \" > /dev/null"
 echo "$ac_t"""$FIND_PROC"" 1>&6
 
 # Check if a pid is valid
@@ -3704,8 +3681,6 @@
 #define $ac_tr_lib 1
 EOF
 
-  LIBS="-lc_r $LIBS"
-
 else
   echo "$ac_t""no" 1>&6
 fi
@@ -3959,14 +3934,6 @@
 else
   CFLAGS="$CFLAGS -DDBUG_OFF"
   CXXFLAGS="$CXXFLAGS -DDBUG_OFF"
-  if test "$ac_cv_prog_gcc" = "yes"
-  then
-    CFLAGS="-O6 $CFLAGS"
-    CXXFLAGS="-O $CXXFLAGS"	# Should be -O3 with gcc or g++
-  else
-    CFLAGS="-O $CFLAGS"
-    CXXFLAGS="-O $CXXFLAGS"
-  fi
 fi
 
 # Force static compilation to avoid linking probles/get more speed
