./configure --prefix=/usr/mysql/5.1 --sysconfdir=/etc/mysql/5.1 --localstatedir=/var/mysql/5.1/data --libexecdir=/usr/mysql/5.1/bin --with-extra-charsets=complex --with-server-suffix=-standard --enable-thread-safe-client --enable-local-infile --with-named-curses-libs=-lcurses --with-big-tables --disable-shared --with-readline --with-plugins=partition,blackhole,csv,ibmdb2i,innobase,innodb_plugin,myisam,myisammrg