mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixes for RPM build
This commit is contained in:
@ -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
|
|||||||
#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
|
||||||
|
|
||||||
|
|
||||||
|
10
acinclude.m4
10
acinclude.m4
@ -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 ---------------------------------------------------------------------------
|
|||||||
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 ---------------------------------------------------------------------------
|
|||||||
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
|
|||||||
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()
|
|||||||
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,
|
|||||||
)
|
)
|
||||||
|
|
||||||
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
|
|||||||
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}
|
||||||
|
Reference in New Issue
Block a user