2009-05-09 06:01:53 +02:00
|
|
|
#!/bin/sh
|
2007-04-12 13:20:38 +02:00
|
|
|
|
2009-05-09 06:01:53 +02:00
|
|
|
# Build setup for Solaris 10
|
|
|
|
|
|
|
|
# Make the Sun Freeware packages use the bundled Perl, instead of their own:
|
|
|
|
# ln -s `which perl` /usr/local/bin
|
|
|
|
# Your $PATH needs to include (in this order):
|
|
|
|
# /usr/local/bin:/usr/sfw/bin:/usr/ccs/bin
|
|
|
|
# (For Sun Freeware, bundled GNU utilities, Solaris ar, etc.)
|
|
|
|
#
|
|
|
|
# Required packages from http://sunfreeware.com/indexintel10.html :
|
|
|
|
# (The GNU m4 bundled with Solaris is too old.)
|
|
|
|
# automake-1.10.2-sol10-x86-local.gz
|
|
|
|
# autoconf-2.63-sol10-x86-local.gz
|
|
|
|
# m4-1.4.12-sol10-x86-local.gz
|
|
|
|
# libsigsegv-2.6-sol10-x86-local.gz
|
|
|
|
# libtool-1.5.24-sol10-x86-local.gz
|
|
|
|
# ( how to install these packages:
|
|
|
|
# wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/automake-1.10.2-sol10-x86-local.gz
|
|
|
|
# gunzip automake-1.10.2-sol10-x86-local.gz
|
|
|
|
# pkgadd -d automake-1.10.2-sol10-x86-local
|
|
|
|
# )
|
2007-04-12 13:20:38 +02:00
|
|
|
|
|
|
|
path=`dirname $0`
|
2009-05-09 06:01:53 +02:00
|
|
|
. "$path/SETUP.sh"
|
|
|
|
extra_flags="$amd64_cflags -D__sun -m64 -mtune=athlon64"
|
|
|
|
extra_configs="$amd64_configs $max_configs --with-libevent"
|
2007-04-12 13:20:38 +02:00
|
|
|
|
2009-07-07 13:19:24 +02:00
|
|
|
LDFLAGS="-lmtmalloc -R/usr/sfw/lib/64"
|
2009-05-09 06:01:53 +02:00
|
|
|
export LDFLAGS
|
2007-04-12 13:20:38 +02:00
|
|
|
|
2009-05-09 06:01:53 +02:00
|
|
|
. "$path/FINISH.sh"
|