#!/bin/sh
CFLAGS=-g
LDFLAGS=-g
CC=gcc
export CFLAGS LDFLAGS CC
#TCLTKROOT=/usr/local/tcltk/8.0.5
export TCLTKROOT
./configure \
--prefix=/usr/local/Modules/@VERSION@ \
--with-module-path=/usr/local/Modules/modulefiles \
--with-version-path=/usr/local/Modules/versions \
--with-etc-path=/etc \
--with-skel-path=/etc/skel \
--with-split-size=960 \
--x-includes=/usr/include/X11 \
--x-libraries=/usr/X11R6/lib \
--with-tcl-include=$TCLTKROOT/include \
--with-tcl-libraries=$TCLTKROOT/lib
exit
# the above values for
# --with-module-path, --with-version-path,
# --with-etc-path, --with-skel-path
# are default values and are here for pedagogical purposes
syntax highlighted by Code2HTML, v. 0.9.1