1 --- mysql-4.1.22/configure.in.orig 2006-11-02 18:15:41.000000000 -0800
2 +++ mysql-4.1.22/configure.in 2008-04-16 18:01:08.000000000 -0700
6 echo "$i/errmsg.sys: $i/errmsg.txt
7 - \$(top_builddir)/extra/comp_err -C\$(srcdir)/charsets/ $i/errmsg.txt $i/errmsg.sys" \
8 + \$(COMP_ERR) -C\$(srcdir)/charsets/ $i/errmsg.txt $i/errmsg.sys" \
9 >> $AVAILABLE_LANGUAGES_ERRORS_RULES
14 AC_DEFINE(SPRINTF_RETURNS_INT, [1]) AC_MSG_RESULT("int")
17 + AC_DEFINE(SPRINTF_RETURNS_INT, [1]) AC_MSG_RESULT("int")
28 -#include <asm/atomic.h>
35 - return atomic_read(&v) == 28 ? 0 : -1;
38 - [AC_DEFINE([HAVE_ATOMIC_ADD], [1],
39 - [atomic_add() from <asm/atomic.h> (Linux only)])
40 - atom_ops="${atom_ops}atomic_add "],
43 -#include <asm/atomic.h>
50 - return atomic_read(&v) == 18 ? 0 : -1;
53 - [AC_DEFINE([HAVE_ATOMIC_SUB], [1],
54 - [atomic_sub() from <asm/atomic.h> (Linux only)])
55 - atom_ops="${atom_ops}atomic_sub "],
58 if test -z "$atom_ops"; then atom_ops="no"; fi
59 AC_MSG_RESULT($atom_ops)
72 # old method, check headers
73 # Look for LinuxThreads.
74 AC_MSG_CHECKING("LinuxThreads in header file comment")
75 - res=`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l`
76 + res=1#`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l`
79 AC_MSG_RESULT("Found")
80 @@ -1859,20 +1833,6 @@
82 # Do the c++ compiler have a bool type
84 -# Check some common bugs with gcc 2.8.# on sparc
85 -if ! ( expr "$SYSTEM_TYPE" : ".*netware.*" > /dev/null ); then
86 -MYSQL_CHECK_LONGLONG_TO_FLOAT
87 -if test "$ac_cv_conv_longlong_to_float" != "yes"
89 - AC_MSG_ERROR([Your compiler cannot convert a longlong value to a float!
90 -If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try
94 -AC_CHECK_TYPES([sigset_t, off_t], [], [], [#include <sys/types.h>])
95 -AC_CHECK_TYPES([size_t], [], [], [#include <stdio.h>])
96 -AC_CHECK_TYPES([u_int32_t])
100 ######################################################################