forked from minhngoc25a/freetype2
* builds/unix/freetype-config.in: Fix problems with separate
--prefix and --exec-prefix. more robust handling of pathname wildcard matching.
This commit is contained in:
parent
b6c1bf861a
commit
c7c2c91ad0
|
@ -1,7 +1,12 @@
|
||||||
|
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>
|
2001-01-11 David Turner <david.turner@freetype.org>
|
||||||
|
|
||||||
* docs/docmaker.py: Added cross-references generation as well as
|
* 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>
|
2001-01-10 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=@exec_prefix@
|
exec_prefix=@exec_prefix@
|
||||||
exec_prefix_set=no
|
|
||||||
|
|
||||||
usage()
|
usage()
|
||||||
{
|
{
|
||||||
|
@ -23,7 +22,6 @@ if test $# -eq 0; then
|
||||||
usage 1 1>&2
|
usage 1 1>&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
while test $# -gt 0; do
|
while test $# -gt 0; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||||
|
@ -33,6 +31,7 @@ while test $# -gt 0; do
|
||||||
case $1 in
|
case $1 in
|
||||||
--prefix=*)
|
--prefix=*)
|
||||||
prefix=$optarg
|
prefix=$optarg
|
||||||
|
local_prefix=yes
|
||||||
;;
|
;;
|
||||||
--prefix)
|
--prefix)
|
||||||
echo_prefix=yes
|
echo_prefix=yes
|
||||||
|
@ -40,6 +39,7 @@ while test $# -gt 0; do
|
||||||
--exec-prefix=*)
|
--exec-prefix=*)
|
||||||
exec_prefix=$optarg
|
exec_prefix=$optarg
|
||||||
exec_prefix_set=yes
|
exec_prefix_set=yes
|
||||||
|
local_prefix=yes
|
||||||
;;
|
;;
|
||||||
--exec-prefix)
|
--exec-prefix)
|
||||||
echo_exec_prefix=yes
|
echo_exec_prefix=yes
|
||||||
|
@ -64,8 +64,10 @@ while test $# -gt 0; do
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
if test "$exec_prefix_set" = "no"; then
|
if test "$local_prefix" = "yes" ; then
|
||||||
|
if test "$exec_prefix_set" != "yes"; then
|
||||||
exec_prefix=$prefix
|
exec_prefix=$prefix
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$echo_prefix" = "yes"; then
|
if test "$echo_prefix" = "yes"; then
|
||||||
|
|
Loading…
Reference in New Issue