gtk2/gtk-config.in

28 lines
419 B
Plaintext
Raw Normal View History

#!/bin/sh
prefix=@prefix@
exec_prefix=@exec_prefix@
usage="\
Usage: gtk-config [--version] [--libs] [--cflags]"
if test $# -ne 1 ; then
echo "${usage}" 1>&2
exit 1
fi
case $1 in
--version)
echo @GTK_VERSION@
;;
--cflags)
echo -I@includedir@ @x_cflags@
;;
--libs)
echo -L@libdir@ @x_ldflags@ -lgtk -lgdk -lglib @x_libs@ -lm
;;
*)
echo "${usage}" 1>&2
exit 1
;;
esac