Commit 91fb8310 authored by unknown's avatar unknown

configure.in, net_serv.cc, compile-netware-END:

  Changes for Netware


sql/net_serv.cc:
  Netware needs <sys/select.h>
configure.in:
  Call of "comp_err" has moved, changed code for Netware that
  edits make files to reflect this
netware/BUILD/compile-netware-END:
  After correcting "configure.in" to edit make files correctly,
  removed obsolete "sed" of "extra/Makefile.am" for Netware
parent 12ea72d1
...@@ -1137,7 +1137,7 @@ dnl Is this the right match for DEC OSF on alpha? ...@@ -1137,7 +1137,7 @@ dnl Is this the right match for DEC OSF on alpha?
# Edit Makefile.in files. # Edit Makefile.in files.
# #
echo -n "configuring Makefile.in files for NetWare... " echo -n "configuring Makefile.in files for NetWare... "
for file in sql/Makefile.in libmysql/Makefile.in libmysql_r/Makefile.in sql/share/Makefile.in strings/Makefile.in client/Makefile.in for file in sql/Makefile.in libmysql/Makefile.in libmysql_r/Makefile.in extra/Makefile.in strings/Makefile.in client/Makefile.in
do do
# echo "#### $file ####" # echo "#### $file ####"
filedir="`dirname $file`" filedir="`dirname $file`"
...@@ -1163,9 +1163,9 @@ s,\(\./gen_lex_hash\)\$(EXEEXT),\1.linux, ...@@ -1163,9 +1163,9 @@ s,\(\./gen_lex_hash\)\$(EXEEXT),\1.linux,
s%\(mysqld_DEPENDENCIES = \) %\1$lib_DEPENDENCIES % s%\(mysqld_DEPENDENCIES = \) %\1$lib_DEPENDENCIES %
EOF EOF
;; ;;
sql/share/Makefile.in) extra/Makefile.in)
cat > $filesed << EOF cat > $filesed << EOF
s,\(extra/comp_err\),\1.linux, s,\(extra/comp_err\)\$(EXEEXT),\1.linux,
EOF EOF
;; ;;
libmysql/Makefile.in) libmysql/Makefile.in)
......
...@@ -21,11 +21,6 @@ rm -rf Makefile.in.bk ...@@ -21,11 +21,6 @@ rm -rf Makefile.in.bk
# run auto tools # run auto tools
. $path/compile-AUTOTOOLS . $path/compile-AUTOTOOLS
# For NetWare there is no comp_err but comp_err.linux
sed -e "s/comp_err/comp_err.linux/g" extra/Makefile.am > extra/Makefile.am.$$
sed -e "s/replace comp_err.linux/replace comp_err/g" extra/Makefile.am.$$ > extra/Makefile.am
rm extra/Makefile.am.$$
# configure # configure
./configure $base_configs $extra_configs ./configure $base_configs $extra_configs
......
...@@ -52,6 +52,10 @@ ...@@ -52,6 +52,10 @@
#include <signal.h> #include <signal.h>
#include <errno.h> #include <errno.h>
#ifdef __NETWARE__
#include <sys/select.h>
#endif
#ifdef EMBEDDED_LIBRARY #ifdef EMBEDDED_LIBRARY
#undef MYSQL_SERVER #undef MYSQL_SERVER
#undef MYSQL_CLIENT #undef MYSQL_CLIENT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment