#!/bin/sh # ## mysql-4.0.x ## Linux 2.4.xx i386 with `gcc' 2.95.3 ## ## usage ## sh 'this-file' ## CFLAGS="-O2 -mcpu=pentiumpro" CXX=gcc CXXFLAGS="-O2 -mcpu=pentiumpro -felide-constructors" ./configure \ --prefix=/usr/local/mysql \ --enable-thread-safe-client \ --enable-local-infile \ --with-mysqld-ldflags=-all-static \ --with-client-ldflags=-all-static \ --with-mysqld-user=mysql \ --enable-assembler \ --with-raid \ --with-pthread \ --with-innodb \ --with-charset=euc_kr \ --with-unix-socket-path=/tmp/mysql.sock \ --with-comment \ --with-vio \ #--with-libwrap \ #--with-mysqlfs \ exit 0