/[gentoo-x86]/eclass/mysql.eclass
Gentoo

Diff of /eclass/mysql.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.39 Revision 1.40
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.39 2006/10/20 14:44:01 chtekk Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.40 2006/10/20 15:22:24 chtekk Exp $
4 4
5# Author: Francesco Riosa <vivo@gentoo.org> 5# Author: Francesco Riosa <vivo@gentoo.org>
6# Maintainer: Luca Longinotti <chtekk@gentoo.org> 6# Maintainer: Luca Longinotti <chtekk@gentoo.org>
7 7
8# Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too 8# Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too
269 && useq "max-idx-128" \ 269 && useq "max-idx-128" \
270 && myconf="${myconf} --with-max-indexes=128" 270 && myconf="${myconf} --with-max-indexes=128"
271} 271}
272 272
273configure_51() { 273configure_51() {
274 # TODO : !!!!! readd --withouth-readline 274 # TODO: !!!! readd --without-readline
275 # the failure depend upon config/ac-macros/readline.m4 checking into 275 # the failure depend upon config/ac-macros/readline.m4 checking into
276 # readline.h instead of history.h 276 # readline.h instead of history.h
277 myconf="${myconf} $(use_with ssl)" 277 myconf="${myconf} $(use_with ssl)"
278 myconf="${myconf} --enable-assembler" 278 myconf="${myconf} --enable-assembler"
279 myconf="${myconf} --with-geometry" 279 myconf="${myconf} --with-geometry"
575 && myconf="${myconf} --with-max-indexes=128" 575 && myconf="${myconf} --with-max-indexes=128"
576 576
577 mysql_version_is_at_least "5.01.05.00" \ 577 mysql_version_is_at_least "5.01.05.00" \
578 && myconf="${myconf} --with-row-based-replication" 578 && myconf="${myconf} --with-row-based-replication"
579 579
580 # TODO: Rechek again later, there were problems with assembler enabled 580 # TODO: Recheck again later, there were problems with assembler enabled
581 # and some combination of USE flags with MySQL 5.1 581 # and some combinations of USE flags with MySQL 5.1
582 if mysql_check_version_range "5.01.00.00 to 5.01.08.99" ; then 582 if mysql_check_version_range "5.01.00.00 to 5.01.08.99" ; then
583 myconf="${myconf} --disable-assembler" 583 myconf="${myconf} --disable-assembler"
584 else 584 else
585 myconf="${myconf} --enable-assembler" 585 myconf="${myconf} --enable-assembler"
586 fi 586 fi

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

  ViewVC Help
Powered by ViewVC 1.1.20