Better way to specify where gdb is -- now GDB_PATH is defined in config.h,
which is global, rather than passing it in with -D to the file that needed it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1532 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/configure.in b/configure.in
index 840a985..3c4dc2a 100644
--- a/configure.in
+++ b/configure.in
@@ -24,6 +24,9 @@
 
 # figure out where gdb lives
 AC_PATH_PROG(GDB, gdb)
+# autoheader tries to execute the 3rd string or something;  I get warnings when
+# it's defined.  So just leave it undefined.  --njn 2002-Apr-18
+AC_DEFINE_UNQUOTED(GDB_PATH, "$GDB", "")
 
 # some older automake's don't have it so try something on our own
 ifdef([AM_PROG_AS],[AM_PROG_AS],