summaryrefslogtreecommitdiff
path: root/gtk.m4
diff options
context:
space:
mode:
authorOwen Taylor <owt1@cornell.edu>1998-03-16 06:36:05 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-03-16 06:36:05 +0000
commit27c086bd95025961e1a873c8916c73903a37ec89 (patch)
treef22f779036e3723e996395fe417dea02fb135604 /gtk.m4
parentc91f2c0cfa99d2c354b0e1cd3aaff7a7d680cf8c (diff)
downloadgtk+-27c086bd95025961e1a873c8916c73903a37ec89.tar.gz
Added trailing newline, hopefully will fix the problem with esac
Mon Mar 16 01:33:36 1998 Owen Taylor <owt1@cornell.edu> * gtk-config.in: Added trailing newline, hopefully will fix the problem with esac disappearing. * gtk/Makefile.am (test-debug): Improved test targets will work with --enable-shared [From: Raja R Harinath <harinath@cs.umn.edu>] * gtk.m4: Not all shells understand $(...). Use `...` instead. [From: Raja R Harinath <harinath@cs.umn.edu>] - use AM_PATH_PROG instead of AM_CHECK_PROG, so the user can specify programs not in their path. * Makefile.am: added gtk.m4 to EXTRA_DIST
Diffstat (limited to 'gtk.m4')
-rw-r--r--gtk.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk.m4 b/gtk.m4
index cba6514b48..f6f933cc4d 100644
--- a/gtk.m4
+++ b/gtk.m4
@@ -8,13 +8,13 @@ AC_DEFUN(AM_PATH_GTK,
[dnl
dnl Get the cflags and libraries from the gtk-config script
dnl
- AC_CHECK_PROG(GTK_CONFIG, gtk-config, gtk-config, no)
+ AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
min_gtk_version=ifelse([$1], ,0.99.7,$1)
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"