[PATCH] Make `gtk.m4' friendlier to more shells



Hi,

Here's a patch to make gtk.m4 use `...` instead of $(...).

  Index: ChangeLog
  ===================================================================
  RCS file: /debian/home/gnomecvs/gtk+/ChangeLog,v
  retrieving revision 1.249
  diff -u -p -r1.249 ChangeLog
  --- ChangeLog	1998/03/15 21:46:01	1.249
  +++ ChangeLog	1998/03/15 22:45:37
  @@ -1,3 +1,7 @@
  +1998-03-15  Raja R Harinath  <harinath@cs.umn.edu>
  +
  +	* gtk.m4: Not all shells understand $(...).  Use `...` instead.
  +
   Sun Mar 15 22:44:33 1998  Tim Janik  <timj@gimp.org>

	  * gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted
  Index: gtk.m4
  ===================================================================
  RCS file: /debian/home/gnomecvs/gtk+/gtk.m4,v
  retrieving revision 1.4
  diff -u -p -r1.4 gtk.m4
  --- gtk.m4	1998/03/15 03:46:28	1.4
  +++ gtk.m4	1998/03/15 22:45:37
  @@ -13,8 +13,8 @@ dnl
     AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
     no_gtk=""
     if test "$GTK_CONFIG" != "no" ; then
  -    GTK_CFLAGS=$($GTK_CONFIG --cflags)
  -    GTK_LIBS=$($GTK_CONFIG --libs)
  +    GTK_CFLAGS=`$GTK_CONFIG --cflags`
  +    GTK_LIBS=`$GTK_CONFIG --libs`
       ac_save_CFLAGS="$CFLAGS"
       ac_save_LIBS="$LIBS"
       CFLAGS="$CFLAGS $GTK_CFLAGS"

I can commit it if it is ok.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]