Commit da6f235c authored by unknown's avatar unknown

Fixes for RPM build


Build-tools/Do-rpm:
  Fix for RPM build
acinclude.m4:
  Cleanup
configure.in:
  Cleanup
support-files/mysql.spec.sh:
  Cleanup
parent 3ef287ce
...@@ -210,7 +210,7 @@ if [ $? != 0 ]; then ...@@ -210,7 +210,7 @@ if [ $? != 0 ]; then
tail $log tail $log
fi fi
if [ ! x$local_build=x1 ]; then if [ x$local_build != x1 ]; then
# Build perl RPM (we currently need to be root to do this and that is # Build perl RPM (we currently need to be root to do this and that is
# not possible) # not possible)
...@@ -228,5 +228,3 @@ if [ ! x$local_build=x1 ]; then ...@@ -228,5 +228,3 @@ if [ ! x$local_build=x1 ]; then
#scp $owner@$bmachine:$rpmdir/SRPMS/Perl*-*.rpm $bpath/NEW-RPMS #scp $owner@$bmachine:$rpmdir/SRPMS/Perl*-*.rpm $bpath/NEW-RPMS
fi fi
) > $log 2>&1 ) > $log 2>&1
...@@ -690,7 +690,7 @@ fi ...@@ -690,7 +690,7 @@ fi
AC_DEFUN(MYSQL_CHECK_VIO, [ AC_DEFUN(MYSQL_CHECK_VIO, [
AC_ARG_WITH([vio], AC_ARG_WITH([vio],
[ --with-vio Include the Virtual IO support], [ --with-vio Include the Virtual IO support],
[vio="$withval"], [vio="$withval"],
[vio=no]) [vio=no])
...@@ -1054,9 +1054,9 @@ dnl --------------------------------------------------------------------------- ...@@ -1054,9 +1054,9 @@ dnl ---------------------------------------------------------------------------
AC_DEFUN([MYSQL_CHECK_INNODB], [ AC_DEFUN([MYSQL_CHECK_INNODB], [
AC_ARG_WITH([innodb], AC_ARG_WITH([innodb],
[\ [\
--with-innodb Use Innodb], --without-innodb Do not include the InnoDB table handler],
[innodb="$withval"], [innodb="$withval"],
[innodb=no]) [innodb=yes])
AC_MSG_CHECKING([for Innodb]) AC_MSG_CHECKING([for Innodb])
...@@ -1132,7 +1132,7 @@ dnl --------------------------------------------------------------------------- ...@@ -1132,7 +1132,7 @@ dnl ---------------------------------------------------------------------------
AC_DEFUN([MYSQL_CHECK_GEMINI], [ AC_DEFUN([MYSQL_CHECK_GEMINI], [
AC_ARG_WITH([gemini], AC_ARG_WITH([gemini],
[\ [\
--with-gemini[=DIR] Use Gemini DB located in DIR], --with-gemini[=DIR] Use Gemini DB located in DIR],
[gemini="$withval"], [gemini="$withval"],
[gemini=no]) [gemini=no])
...@@ -1251,7 +1251,7 @@ changequote([, ])dnl ...@@ -1251,7 +1251,7 @@ changequote([, ])dnl
AC_DEFUN(AC_SYS_LARGEFILE, AC_DEFUN(AC_SYS_LARGEFILE,
[AC_REQUIRE([AC_CANONICAL_HOST]) [AC_REQUIRE([AC_CANONICAL_HOST])
AC_ARG_ENABLE(largefile, AC_ARG_ENABLE(largefile,
[ --disable-largefile Omit support for large files]) [ --disable-largefile Omit support for large files])
if test "$enable_largefile" != no; then if test "$enable_largefile" != no; then
AC_CHECK_TOOL(GETCONF, getconf) AC_CHECK_TOOL(GETCONF, getconf)
AC_SYS_LARGEFILE_FLAGS(CFLAGS) AC_SYS_LARGEFILE_FLAGS(CFLAGS)
......
...@@ -699,7 +699,7 @@ int main() ...@@ -699,7 +699,7 @@ int main()
AC_MSG_RESULT($atom_ops) AC_MSG_RESULT($atom_ops)
AC_ARG_WITH(pstack, AC_ARG_WITH(pstack,
[ --with-pstack Use the pstack backtrace library], [ --with-pstack Use the pstack backtrace library],
[ USE_PSTACK=$withval ], [ USE_PSTACK=$withval ],
[ USE_PSTACK=no ]) [ USE_PSTACK=no ])
pstack_libs= pstack_libs=
...@@ -1752,8 +1752,7 @@ AC_ARG_WITH(embedded-server, ...@@ -1752,8 +1752,7 @@ AC_ARG_WITH(embedded-server,
) )
AC_ARG_WITH(extra-tools, AC_ARG_WITH(extra-tools,
[ --without-extra-tools Skip building utilites in the tools \ [ --without-extra-tools Skip building utilites in the tools directory.],
directory.],
[with_tools=$withval], [with_tools=$withval],
[with_tools=yes] [with_tools=yes]
) )
......
...@@ -219,7 +219,7 @@ automake ...@@ -219,7 +219,7 @@ automake
BuildMySQL "--disable-shared" \ BuildMySQL "--disable-shared" \
"--with-mysqld-ldflags='-all-static'" \ "--with-mysqld-ldflags='-all-static'" \
"--with-client-ldflags='-all-static'" \ "--with-client-ldflags='-all-static'" \
"--without-berkeley-db --without-innodb" "--without-berkeley-db --with-innodb"
nm --numeric-sort sql/mysqld > sql/mysqld.sym nm --numeric-sort sql/mysqld > sql/mysqld.sym
%install -n mysql-%{mysql_version} %install -n mysql-%{mysql_version}
......
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