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

View File

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