--- freetype-config	2003-11-29 23:08:22.000000000 -0800
+++ /opt/toolchain/arm-linux/local.bak/bin/freetype-config	2003-10-09 23:57:34.000000000 -0700
@@ -1,7 +1,7 @@
 #! /bin/sh
 
-prefix=/usr/X11R6
-exec_prefix=/usr/X11R6
+prefix=/opt/toolchain/arm-linux/local/X11R6
+exec_prefix=${prefix}
 
 usage()
 {
@@ -79,9 +79,9 @@
 fi
 
 if test "$echo_cflags" = "yes" ; then
- cflags="-I/usr/X11R6/include/freetype2"
- if test "/usr/X11R6/include" != "/usr/include" ; then
-  echo -I/usr/X11R6/include $cflags
+ cflags="-I${prefix}/include/freetype2"
+ if test "${prefix}/include" != "/usr/include" ; then
+  echo -I${prefix}/include $cflags
  else
   echo $cflags
  fi
@@ -89,8 +89,8 @@
 
 if test "$echo_libs" = "yes" ; then
  libs="-lfreetype"
- if test "/usr/X11R6/lib" != "/usr/lib" ; then
-  echo -L/usr/X11R6/lib $libs
+ if test "${exec_prefix}/lib" != "/usr/lib" ; then
+  echo -L${exec_prefix}/lib $libs
  else
   echo $libs
  fi
@@ -98,7 +98,7 @@
 
 if test "$echo_libtool" = "yes" ; then
  convlib="libfreetype.la"
- echo /usr/X11R6/lib/$convlib
+ echo ${exec_prefix}/lib/$convlib
 fi
 
 # EOF
