mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
f9ad283402
Sat Mar 14 01:36:51 1998 Owen Taylor <owt1@cornell.edu> Moved glibconfig.h to $pkglibdir/include. Update to libtool-1.1.
29 lines
458 B
Bash
29 lines
458 B
Bash
#!/bin/sh
|
|
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
|
|
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$libdir/glib/include -I@includedir@ @x_cflags@
|
|
;;
|
|
--libs)
|
|
echo -L@libdir@ @x_ldflags@ -lgtk -lgdk -lglib @x_libs@ -lm
|
|
;;
|
|
*)
|
|
echo "${usage}" 1>&2
|
|
exit 1
|
|
;;
|
|
esac |