Return ARCHLIB and various QT4_... from yate-config so packages building on top of Yate don't have to detect them again.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2663 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2009-05-29 12:06:11 +00:00
parent ebb5c68092
commit f4271b5a98
1 changed files with 22 additions and 1 deletions

View File

@ -4,7 +4,7 @@ ustr='Usage: yate-config [--cflags] [--includes] [--c-all]
[--ldflags] [--libs] [--ld-all] [--ld-nostrip] [--ld-strip]
[--config] [--modules] [--share]
[--helpdir] [--scripts] [--skins]
[--version] [--release]'
[--version] [--release] [--archlib] [--param=...]'
if [ "$#" = 0 ]; then
echo "$ustr"
exit 0
@ -71,6 +71,27 @@ while [ "$#" != 0 ]; do
--scripts)
echo "$shrdir/scripts"
;;
--archlib)
echo "@ARCHLIB@"
;;
--param=QT4_VER)
echo "@QT4_VER@"
;;
--param=QT4_MOC)
echo "@QT4_MOC@"
;;
--param=QT4_INC)
echo "@QT4_INC@"
;;
--param=QT4_LIB)
echo "@QT4_LIB@"
;;
--param=QT4_INC_NET)
echo "@QT4_INC_NET@"
;;
--param=QT4_LIB_NET)
echo "@QT4_LIB_NET@"
;;
*)
echo "I didn't understand: $1" >&2
echo "$ustr" >&2