File: configure-site

package info (click to toggle)
vflib3 3.6.14.dfsg-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 11,544 kB
  • ctags: 3,710
  • sloc: ansic: 35,811; sh: 10,370; asm: 3,290; makefile: 961; lisp: 123; perl: 109; awk: 43
file content (48 lines) | stat: -rwxr-xr-x 855 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/sh

#
# Typical invocation of configure script
#
# Most of the case, you want to do this when configure VFlib.
#


machtype=`./config.guess`

case ${machtype} in
i386-*-freebsd*)
  ROOT=/usr/local
  ;;
*-*-linux*)
  ROOT=/usr
  OPT="--prefix=/usr"
  ;;
*)
  ROOT=/usr/local
  ;;
esac


OPT_K="--with-kpathsea \
       --with-kpathsea-includedir=${ROOT}/include \
       --with-kpathsea-libdir=${ROOT}/lib"
OPT_F="--with-freetype \
       --with-freetype-includedir=${ROOT}/include/freetype1/freetype \
       --with-freetype-libdir=${ROOT}/lib"
OPT_T="--with-t1lib \
       --with-t1lib-includedir=${ROOT}/include \
       --with-t1lib-libdir=${ROOT}/lib"
OPT_OPT=""

OPTION="${OPT} ${OPT_K} ${OPT_F} ${OPT_T} ${OPT_OPT}"

echo
echo Run configure for ${machtype}...
echo ./configure ${OPTION}
echo

rm -f config.cache 
./configure ${OPTION}


#EOF