]> Pileus Git - ~andy/gtk/commitdiff
Remove GLIB_DIVERT_BEFORE_HELP() on initialization of gdktarget, that was
authorOwen Taylor <otaylor@redhat.com>
Thu, 13 Jan 2005 01:56:42 +0000 (01:56 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 13 Jan 2005 01:56:42 +0000 (01:56 +0000)
2005-01-12  Owen Taylor <otaylor@redhat.com>

        * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
        initialization of gdktarget, that was causing it to be
        evaluated before host was set. Simplify --with-gdktarget help
        message.

        * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1
        which doesn't work with slightly older versions of GNU grep
        in install-libtool-import-lib rule.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
configure.in
gdk-pixbuf/ChangeLog
gdk-pixbuf/Makefile.am
gtk/Makefile.am

index a8759281b890cef4ac47cd07f627c19d7ffa8a6b..c5b11a0c21e3d9684d4d777cb6f8ff92c2a4bbac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2005-01-12  Owen Taylor <otaylor@redhat.com>
+
+       * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
+       initialization of gdktarget, that was causing it to be
+       evaluated before host was set. Simplify --with-gdktarget help
+       message.
+
+       * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1 
+       which doesn't work with slightly older versions of GNU grep 
+       in install-libtool-import-lib rule.
+       
 2005-01-12  Tor Lillqvist  <tlillqvist@novell.com>
 
        Fix for #162790, by Iwan Wong:
index a8759281b890cef4ac47cd07f627c19d7ffa8a6b..c5b11a0c21e3d9684d4d777cb6f8ff92c2a4bbac 100644 (file)
@@ -1,3 +1,14 @@
+2005-01-12  Owen Taylor <otaylor@redhat.com>
+
+       * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
+       initialization of gdktarget, that was causing it to be
+       evaluated before host was set. Simplify --with-gdktarget help
+       message.
+
+       * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1 
+       which doesn't work with slightly older versions of GNU grep 
+       in install-libtool-import-lib rule.
+       
 2005-01-12  Tor Lillqvist  <tlillqvist@novell.com>
 
        Fix for #162790, by Iwan Wong:
index a8759281b890cef4ac47cd07f627c19d7ffa8a6b..c5b11a0c21e3d9684d4d777cb6f8ff92c2a4bbac 100644 (file)
@@ -1,3 +1,14 @@
+2005-01-12  Owen Taylor <otaylor@redhat.com>
+
+       * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
+       initialization of gdktarget, that was causing it to be
+       evaluated before host was set. Simplify --with-gdktarget help
+       message.
+
+       * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1 
+       which doesn't work with slightly older versions of GNU grep 
+       in install-libtool-import-lib rule.
+       
 2005-01-12  Tor Lillqvist  <tlillqvist@novell.com>
 
        Fix for #162790, by Iwan Wong:
index 13682b187307ebf382d330667480c5063825a240..dbea88602c39ee9f08a9cd18a2d4e35f265701a5 100644 (file)
@@ -207,15 +207,13 @@ AC_ARG_WITH(ie55,
             [AC_HELP_STRING([--with-ie55=DIRECTORY],
                             [IE5.5 libs and headers (for Active IMM)])])
 
-GLIB_AC_DIVERT_BEFORE_HELP([
 if test "$platform_win32" = yes; then
   gdktarget=win32
 else
   gdktarget=x11
 fi
-])
 
-AC_ARG_WITH(gdktarget, [  --with-gdktarget=[[x11/linux-fb/win32]] select GDK target [default=$gdktarget]],
+AC_ARG_WITH(gdktarget, [  --with-gdktarget=[[x11/linux-fb/win32]] select non-default GDK target],
        gdktarget=$with_gdktarget)
 
 AC_SUBST(gdktarget)
index 7dc929bb5f4bcc6a5f8287eba44bcebaa715a88c..db00ecc44b54794a41f680c232bc1ec623c4fd01 100644 (file)
@@ -1,3 +1,10 @@
+2005-01-12  Owen Taylor <otaylor@redhat.com>
+
+       * Makefile.am:  Use grep | head -n 1 instead of grep -m 1 
+       which doesn't work
+       with slightly older versions of GNU grep in 
+       install-libtool-import-lib rule.
+
 2005-01-08  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.6.1 ===
index 46dd1243d465e492d431cc191da437eccf0bc295..20a151ab37344a6031df34ef299f05025797fda6 100644 (file)
@@ -19,7 +19,7 @@ install-libtool-import-lib:
 #      (Unfortunately the GNU linker doesn't yet understand the PRIVATE
 #      directive in .def files.)
        for entry in `grep PRIVATE gdk_pixbuf.def | sed -e 's/PRIVATE//'`; do \
-         file=`nm -A .libs/libgdk_pixbuf-$(GTK_API_VERSION).dll.a | tr -d '\r' | grep -m 1 -E $$entry'$$' | cut -d: -f2`; \
+         file=`nm -A .libs/libgdk_pixbuf-$(GTK_API_VERSION).dll.a | tr -d '\r' | grep -E $$entry'$$' | head -n 1 | cut -d: -f2`; \
          ar d .libs/libgdk_pixbuf-$(GTK_API_VERSION).dll.a $$file; \
        done
        $(INSTALL) .libs/libgdk_pixbuf-$(GTK_API_VERSION).dll.a $(DESTDIR)$(libdir)
index 2e0b8a50f6e66438b607c019d5bebea576926f00..e3cfc29b15507f3f0fed8bfa8766f416098421c2 100644 (file)
@@ -47,7 +47,7 @@ gtk-win32res.lo : gtk-win32.rc
 
 install-libtool-import-lib:
        for entry in `grep PRIVATE gtk.def | sed -e 's/PRIVATE//'`; do \
-         file=`nm -A .libs/libgtk-win32-$(GTK_API_VERSION).dll.a | tr -d '\r' | grep -m 1 -E $$entry'$$' | cut -d: -f2`; \
+         file=`nm -A .libs/libgtk-win32-$(GTK_API_VERSION).dll.a | tr -d '\r' | grep -E $$entry'$$' | head -n 1 | cut -d: -f2`; \
          ar d .libs/libgtk-win32-$(GTK_API_VERSION).dll.a $$file; \
        done
        $(INSTALL) .libs/libgtk-win32-$(GTK_API_VERSION).dll.a $(DESTDIR)$(libdir)