mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
c8e5c809ed
Thu Mar 12 18:01:03 1998 Owen Taylor <owt1@cornell.edu> * gtk.m4 gtk-config.in Makefile.am configure.in: Added a new mechanism for GTK-dependent programs to find out about the installed GTK. (Does not remove any current functionality) * gtk+-xconfig.in: Was no longer used for anything.
28 lines
419 B
Bash
28 lines
419 B
Bash
#!/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 |