3 glib_libs="@glib_libs@"
4 glib_cflags="@glib_cflags@"
7 exec_prefix=@exec_prefix@
11 Usage: gtk-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
13 if test $# -eq 0; then
18 while test $# -gt 0; do
20 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
27 if test $exec_prefix_set = no ; then
45 if test @includedir@ != /usr/include ; then
46 includes=-I@includedir@
47 for i in $glib_cflags ; do
48 if test $i = -I@includedir@ ; then
53 echo $includes @x_cflags@ $glib_cflags
58 for i in $glib_libs ; do
59 if test $i != -L@libdir@ ; then
60 if test -z "$my_glib_libs" ; then
63 my_glib_libs="$my_glib_libs $i"
67 echo $libdirs @x_ldflags@ -lgtk -lgdk $my_glib_libs @INTLLIBS@ @x_libs@ @GDK_WLIBS@ -lm