* builds/unix/freetype-config.in: Fix problems with separate --prefix and --exec-prefix. more robust handling of pathname wildcard matching.
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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
diff --git a/ChangeLog b/ChangeLog
index 5f67e90..a5ae35a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,14 +1,19 @@
-2001-01-11 David Turner <david.turner@freetype.org>
+2001-01-11 Matthew Crosby <mcrosby@marthon.org>
+
+ * builds/unix/freetype-config.in: Fix problems with separate
+ --prefix and --exec-prefix.
+
+2001-01-11 David Turner <david.turner@freetype.org>
* docs/docmaker.py: Added cross-references generation as well as
- more robust handling of pathname wildward matching
+ more robust handling of pathname wildcard matching.
2001-01-10 Werner Lemberg <wl@gnu.org>
* docs/docmaker.py: Minor improvements to reduce unwanted spaces
and empty lines in output.
-2001-01-09 David Turner <david.turner@freetype.org>
+2001-01-09 David Turner <david.turner@freetype.org>
* docs/docmaker.py: Improved script to generate table of contents
and index pages. It also supports wildcards on non Unix systems.
@@ -127,7 +132,7 @@
* src/autohint/ahhint.c (ah_hinter_load_glyph):
Removed unnecessary comments and commented-out code.
-2000-12-21 David Turner <david.turner@freetype.org>
+2000-12-21 David Turner <david.turner@freetype.org>
* src/cid/cidafm.c, src/cid/cidafm.h: removed un-needed files,
we'll work on supporting CID AFM files later I guess :-)
@@ -153,7 +158,7 @@
* INSTALL: Added info about makepp.
-2000-12-14 David Turner <david.turner@freetype.org>
+2000-12-14 David Turner <david.turner@freetype.org>
Added support for clipped direct rendering in the smooth renderer.
This should not break binary compatibility of existing applications.
@@ -172,7 +177,7 @@
* src/raster/ftraster.c (ft_black_render): Test for unsupported
direct rendering before testing arguments.
-2000-12-13 David Turner <david.turner@freetype.org>
+2000-12-13 David Turner <david.turner@freetype.org>
* include/freetype/config/ft2build.h,
include/freetype/internal/internal.h: Fixed header inclusion macros
@@ -412,7 +417,7 @@
* include/freetype/internal/ftdebug.h: Replaced FT_CAT and FT_XCAT
with a direct solution (which also satifies picky compilers).
-2000-11-28 YAMANO-UCHI Hidetoshi <mer@din.or.jp>
+2000-11-28 YAMANO-UCHI Hidetoshi <mer@din.or.jp>
* src/truetype/ttobjs.c (TT_Init_Size): Fix #ifdef's to work with
disabled interpreter also.
@@ -465,7 +470,7 @@
* src/cff/t2load.c (T2_Get_String): Called T2_Get_Name with a
sid that was off by one.
-2000-11-16 David Turner <david@freetype.org>
+2000-11-16 David Turner <david@freetype.org>
* src/autohint/ahtypes.h (AH_Hinter): Added new fields to control
auto-hinting of synthetic Type 1 fonts.
diff --git a/builds/unix/freetype-config.in b/builds/unix/freetype-config.in
index 577626d..3cee97c 100644
--- a/builds/unix/freetype-config.in
+++ b/builds/unix/freetype-config.in
@@ -2,7 +2,6 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
-exec_prefix_set=no
usage()
{
@@ -23,7 +22,6 @@ if test $# -eq 0; then
usage 1 1>&2
fi
-
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
@@ -33,6 +31,7 @@ while test $# -gt 0; do
case $1 in
--prefix=*)
prefix=$optarg
+ local_prefix=yes
;;
--prefix)
echo_prefix=yes
@@ -40,6 +39,7 @@ while test $# -gt 0; do
--exec-prefix=*)
exec_prefix=$optarg
exec_prefix_set=yes
+ local_prefix=yes
;;
--exec-prefix)
echo_exec_prefix=yes
@@ -64,8 +64,10 @@ while test $# -gt 0; do
shift
done
-if test "$exec_prefix_set" = "no"; then
- exec_prefix=$prefix
+if test "$local_prefix" = "yes" ; then
+ if test "$exec_prefix_set" != "yes"; then
+ exec_prefix=$prefix
+ fi
fi
if test "$echo_prefix" = "yes"; then