2007-02-19 20:29:33 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
for pkg in $@
|
|
|
|
do
|
|
|
|
varname="$(echo "${pkg}" | tr a-z A-Z)"
|
2007-02-19 20:34:06 +00:00
|
|
|
echo '[ -z "${'${varname}'_CFLAGS}" ] && '${varname}'_CFLAGS="$('${pkg}'-config --cflags)"'
|
2007-02-19 22:09:23 +00:00
|
|
|
echo '[ -z "${'${varname}'_LIBS}" ] && '${varname}'_LIBS="$('${pkg}'-config --libs)"'
|
2007-02-19 20:29:33 +00:00
|
|
|
done
|