# --- Option ---

# Location of (installed) TeX Live 2008
TL=/opt/TeX

# Location of this file (and archives)
SRC=/opt/home-supp/tl08

# Location of build
CMP_TEMP=/tmp

# "-march=native" can be used if >=gcc-4.2. 
CFLAGS="-O3 -march=native -fomit-frame-pointer -s"
# CFLAGS="-O3 -fomit-frame-pointer -s -Wall"
# CFLAGS="-g"

# Default pTeX character encode
CONF_OPT="--with-ptexenc=UTF8"
# CONF_OPT="--with-ptexenc=JIS"
# CONF_OPT="--with-ptexenc=EUC"
# CONF_OPT="--with-ptexenc=SJIS"

# (OPTIONAL) Set xdvi toolkit to motif.
CONF_OPT="$CONF_OPT --with-xdvi-x-toolkit=motif"

# (OPTIONAL) Install otf package
OTFINST=1
#OTFINST=0  #<- Don't install otf package.

# (OPTIONAL) use FAM256 patch
FAM256=1
#FAM256=0  #<- Don't apply FAM256 patch.

#----------------
# Modified from common.sh (in ptexlive)
# for auto-detecting gmake etc.
MAKE=make
PATCH=patch
TAR=tar
ZCAT=zcat
gmake   --version > /dev/null 2>&1 && MAKE=gmake
gmake   --version > /dev/null 2>&1 && export TL_MAKE=gmake
gpatch  --version > /dev/null 2>&1 && PATCH=gpatch
gtar    --version > /dev/null 2>&1 && TAR=gtar
gzcat   --version > /dev/null 2>&1 && ZCAT=gzcat

