mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
132 lines
3.7 KiB
Text
132 lines
3.7 KiB
Text
--- configure.orig Thu Apr 19 15:18:13 2001
|
|
+++ configure Thu Apr 19 15:22:18 2001
|
|
@@ -2983,7 +2983,7 @@
|
|
;;
|
|
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
|
|
@@ -3117,38 +3117,7 @@
|
|
echo $ac_n "checking "how to check if pid exists"""... $ac_c" 1>&6
|
|
echo "configure:3119: 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
|
|
- case $SYSTEM_TYPE in
|
|
- *darwin*)
|
|
- FIND_PROC="$PS -uaxww | grep mysqld | grep \" \$\$PID \" > /dev/null"
|
|
- ;;
|
|
- *cygwin*)
|
|
- FIND_PROC="$PS -e | 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
|
|
-fi
|
|
+FIND_PROC="$PS -uaxww | grep mysqld | grep \" \$\$PID \" > /dev/null"
|
|
|
|
echo "$ac_t"""$FIND_PROC"" 1>&6
|
|
|
|
@@ -5911,7 +5880,6 @@
|
|
#define $ac_tr_lib 1
|
|
EOF
|
|
|
|
- LIBS="-lc_r $LIBS"
|
|
|
|
else
|
|
echo "$ac_t""no" 1>&6
|
|
@@ -6143,28 +6111,6 @@
|
|
fi
|
|
|
|
|
|
-# 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"
|
|
- OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE"
|
|
-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"
|
|
@@ -6845,10 +6791,6 @@
|
|
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
|
|
#line 6855 "configure"
|
|
@@ -8924,10 +8866,6 @@
|
|
#do not treat warnings as errors if we are linking agaist other libc
|
|
#this is to work around gcc not being permissive on non-system includes
|
|
#with respect to ANSI C++
|
|
-if test "$ac_cv_prog_gxx" = "yes" -a "$with_other_libc" = "no"
|
|
-then
|
|
- CXXFLAGS="$CXXFLAGS -Werror"
|
|
-fi
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 8933 "configure"
|
|
#include "confdefs.h"
|
|
@@ -8992,10 +8930,6 @@
|
|
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" -a "$with_other_libc" = "no"
|
|
-then
|
|
- CXXFLAGS="$CXXFLAGS -Werror"
|
|
-fi
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 9001 "configure"
|
|
#include "confdefs.h"
|
|
@@ -9059,10 +8993,6 @@
|
|
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" -a "$with_other_libc" = "no"
|
|
-then
|
|
- CXXFLAGS="$CXXFLAGS -Werror"
|
|
-fi
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 9068 "configure"
|
|
#include "confdefs.h"
|