summaryrefslogtreecommitdiff
path: root/databases/mysql54-server/files/patch-configure
blob: 26a6ce1c6fc70d5113a515acba44716a88501932 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
--- configure.orig	Wed Jan 27 14:41:59 1999
+++ configure	Thu Feb  4 19:50:16 1999
@@ -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
@@ -3684,8 +3661,6 @@
 #define $ac_tr_lib 1
 EOF
 
-  LIBS="-lc_r $LIBS"
-
 else
   echo "$ac_t""no" 1>&6
 fi
@@ -3935,14 +3910,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