From 1493f6f7d4f4b49cc95fc1693cbee19fd3573503 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 29 Oct 2001 16:51:37 +0000 Subject: [PATCH] Don't try to use pkg-config when we didn't find it. (#62944, Eric Lemings) Mon Oct 29 11:31:40 2001 Owen Taylor * m4macros/gtk-2.0.m4: Don't try to use pkg-config when we didn't find it. (#62944, Eric Lemings) * m4macros/gtk-2.0.m4: Fix problem with spaces around = sign in assignment. (#63209, Arkadiusz Miskiewicz) --- ChangeLog | 10 +++++++++- ChangeLog.pre-2-0 | 10 +++++++++- ChangeLog.pre-2-10 | 10 +++++++++- ChangeLog.pre-2-2 | 10 +++++++++- ChangeLog.pre-2-4 | 10 +++++++++- ChangeLog.pre-2-6 | 10 +++++++++- ChangeLog.pre-2-8 | 10 +++++++++- m4macros/gtk-2.0.m4 | 23 +++++++++++++---------- 8 files changed, 76 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index a2f32f86d..e7f97e788 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Mon Oct 29 11:31:40 2001 Owen Taylor + + * m4macros/gtk-2.0.m4: Don't try to use pkg-config + when we didn't find it. (#62944, Eric Lemings) + + * m4macros/gtk-2.0.m4: Fix problem with spaces around = + sign in assignment. (#63209, Arkadiusz Miskiewicz) + 2001-10-29 Anders Carlsson * gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate @@ -90,7 +98,6 @@ file. Install import libraries. 2001-10-29 Anders Carlsson ->>>>>>> 1.2482 * gtk/gtkiconfactory.c (get_default_icons): Fix build. @@ -143,6 +150,7 @@ * docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo changes +>>>>>>> 1.2483 Sun Oct 28 09:15:39 2001 Owen Taylor * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index a2f32f86d..e7f97e788 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,11 @@ +Mon Oct 29 11:31:40 2001 Owen Taylor + + * m4macros/gtk-2.0.m4: Don't try to use pkg-config + when we didn't find it. (#62944, Eric Lemings) + + * m4macros/gtk-2.0.m4: Fix problem with spaces around = + sign in assignment. (#63209, Arkadiusz Miskiewicz) + 2001-10-29 Anders Carlsson * gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate @@ -90,7 +98,6 @@ file. Install import libraries. 2001-10-29 Anders Carlsson ->>>>>>> 1.2482 * gtk/gtkiconfactory.c (get_default_icons): Fix build. @@ -143,6 +150,7 @@ * docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo changes +>>>>>>> 1.2483 Sun Oct 28 09:15:39 2001 Owen Taylor * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a2f32f86d..e7f97e788 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,11 @@ +Mon Oct 29 11:31:40 2001 Owen Taylor + + * m4macros/gtk-2.0.m4: Don't try to use pkg-config + when we didn't find it. (#62944, Eric Lemings) + + * m4macros/gtk-2.0.m4: Fix problem with spaces around = + sign in assignment. (#63209, Arkadiusz Miskiewicz) + 2001-10-29 Anders Carlsson * gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate @@ -90,7 +98,6 @@ file. Install import libraries. 2001-10-29 Anders Carlsson ->>>>>>> 1.2482 * gtk/gtkiconfactory.c (get_default_icons): Fix build. @@ -143,6 +150,7 @@ * docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo changes +>>>>>>> 1.2483 Sun Oct 28 09:15:39 2001 Owen Taylor * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index a2f32f86d..e7f97e788 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,11 @@ +Mon Oct 29 11:31:40 2001 Owen Taylor + + * m4macros/gtk-2.0.m4: Don't try to use pkg-config + when we didn't find it. (#62944, Eric Lemings) + + * m4macros/gtk-2.0.m4: Fix problem with spaces around = + sign in assignment. (#63209, Arkadiusz Miskiewicz) + 2001-10-29 Anders Carlsson * gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate @@ -90,7 +98,6 @@ file. Install import libraries. 2001-10-29 Anders Carlsson ->>>>>>> 1.2482 * gtk/gtkiconfactory.c (get_default_icons): Fix build. @@ -143,6 +150,7 @@ * docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo changes +>>>>>>> 1.2483 Sun Oct 28 09:15:39 2001 Owen Taylor * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a2f32f86d..e7f97e788 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,11 @@ +Mon Oct 29 11:31:40 2001 Owen Taylor + + * m4macros/gtk-2.0.m4: Don't try to use pkg-config + when we didn't find it. (#62944, Eric Lemings) + + * m4macros/gtk-2.0.m4: Fix problem with spaces around = + sign in assignment. (#63209, Arkadiusz Miskiewicz) + 2001-10-29 Anders Carlsson * gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate @@ -90,7 +98,6 @@ file. Install import libraries. 2001-10-29 Anders Carlsson ->>>>>>> 1.2482 * gtk/gtkiconfactory.c (get_default_icons): Fix build. @@ -143,6 +150,7 @@ * docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo changes +>>>>>>> 1.2483 Sun Oct 28 09:15:39 2001 Owen Taylor * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a2f32f86d..e7f97e788 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,11 @@ +Mon Oct 29 11:31:40 2001 Owen Taylor + + * m4macros/gtk-2.0.m4: Don't try to use pkg-config + when we didn't find it. (#62944, Eric Lemings) + + * m4macros/gtk-2.0.m4: Fix problem with spaces around = + sign in assignment. (#63209, Arkadiusz Miskiewicz) + 2001-10-29 Anders Carlsson * gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate @@ -90,7 +98,6 @@ file. Install import libraries. 2001-10-29 Anders Carlsson ->>>>>>> 1.2482 * gtk/gtkiconfactory.c (get_default_icons): Fix build. @@ -143,6 +150,7 @@ * docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo changes +>>>>>>> 1.2483 Sun Oct 28 09:15:39 2001 Owen Taylor * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a2f32f86d..e7f97e788 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,11 @@ +Mon Oct 29 11:31:40 2001 Owen Taylor + + * m4macros/gtk-2.0.m4: Don't try to use pkg-config + when we didn't find it. (#62944, Eric Lemings) + + * m4macros/gtk-2.0.m4: Fix problem with spaces around = + sign in assignment. (#63209, Arkadiusz Miskiewicz) + 2001-10-29 Anders Carlsson * gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate @@ -90,7 +98,6 @@ file. Install import libraries. 2001-10-29 Anders Carlsson ->>>>>>> 1.2482 * gtk/gtkiconfactory.c (get_default_icons): Fix build. @@ -143,6 +150,7 @@ * docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo changes +>>>>>>> 1.2483 Sun Oct 28 09:15:39 2001 Owen Taylor * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed diff --git a/m4macros/gtk-2.0.m4 b/m4macros/gtk-2.0.m4 index 8358f5e2e..a4c326b6e 100644 --- a/m4macros/gtk-2.0.m4 +++ b/m4macros/gtk-2.0.m4 @@ -34,22 +34,25 @@ AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run no_gtk=yes PKG_CONFIG=no fi - fi - - ## don't try to run the test against uninstalled libtool libs - if $PKG_CONFIG --uninstalled $pkg_config_args; then - echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" - enable_gtktest=no + else + no_gtk=yes fi min_gtk_version=ifelse([$1], ,1.3.3,$1) AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version) + if test x$PKG_CONFIG != xno ; then + ## don't try to run the test against uninstalled libtool libs + if $PKG_CONFIG --uninstalled $pkg_config_args; then + echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" + enable_gtktest=no + fi - if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then - : - else - no_gtk = yes + if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then + : + else + no_gtk=yes + fi fi if test x"$no_gtk" = x ; then -- 2.43.2