diff configure @ 251:18ecaae9cc3b

Changed configure to make sure we find gtk 2.0, and not just pkg-config, when checking for GTK 2.x versus GTK 1.x.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 19 Feb 2003 17:26:41 +0000
parents d8af32b1b1cd
children a8015e02b590
line wrap: on
line diff
--- a/configure	Wed Feb 19 11:14:29 2003 +0000
+++ b/configure	Wed Feb 19 17:26:41 2003 +0000
@@ -1196,8 +1196,8 @@
 ac_config_headers="$ac_config_headers config.h"
 
 
-DW_MAJOR_VERSION=0
-DW_MINOR_VERSION=5
+DW_MAJOR_VERSION=1
+DW_MINOR_VERSION=0
 DW_SUB_VERSION=0
 
 
@@ -3615,7 +3615,11 @@
 echo "${ECHO_T}no" >&6
 fi
 
-if test x"$PKG_CFG" = x; then
+if test x"$PKG_CFG" != x; then
+  GTK_LIBS=`$PKG_CFG --silence-errors --libs gtk+-2.0 gthread-2.0`
+fi
+
+if test x"$GTK_LIBS" = x; then
 
 # Check whether --with-glib-prefix or --without-glib-prefix was given.
 if test "${with_glib_prefix+set}" = set; then