Added a --libtool option, which returns the absolute path to the

libtool convenience library.
This commit is contained in:
Tom Kacvinsky 2000-11-12 02:55:25 +00:00
parent 8a2503aaef
commit e503527c64
2 changed files with 16 additions and 0 deletions

View File

@ -13,6 +13,7 @@ Options:
[--exec-prefix[=DIR]]
[--version]
[--libs]
[--libtool]
[--cflags]
EOF
exit $1
@ -53,6 +54,9 @@ while test $# -gt 0; do
--libs)
echo_libs=yes
;;
--libtool)
echo_libtool=yes
;;
*)
usage 1 1>&2
;;
@ -78,5 +82,9 @@ if test "$echo_libs" = "yes"; then
libs="-lfreetype"
echo -L@libdir@ $libs
fi
if test "$echo_libtool" = "yes"; then
convlib="libfreetype.la"
echo @libdir@/$convlib
fi
# EOF

View File

@ -13,6 +13,7 @@ Options:
[--exec-prefix[=DIR]]
[--version]
[--libs]
[--libtool]
[--cflags]
EOF
exit $1
@ -53,6 +54,9 @@ while test $# -gt 0; do
--libs)
echo_libs=yes
;;
--libtool)
echo_libtool=yes
;;
*)
usage 1 1>&2
;;
@ -78,5 +82,9 @@ if test "$echo_libs" = "yes"; then
libs="-lfreetype"
echo -L@libdir@ $libs
fi
if test "$echo_libtool" = "yes"; then
convlib="libfreetype.la"
echo @libdir@/$convlib
fi
# EOF