From: Nicholas N. <nj...@ca...> - 2003-04-18 12:55:11
|
On Fri, 18 Apr 2003, Olly Betts wrote: > > AC_PATH_PROG(GDB, gdb) > > AC_DEFINE(GDB_PATH, @GDB@, "gdb path") > > AC_SUBST(GDB) > > > > doesn't work cause configure don't do subsititution in > > config.h.in when creating config.h, I don't think there is > > any way to put it in config.h.in. > > There is - just use this: > > AC_PATH_PROG(GDB, gdb) > AC_DEFINE_UNQUOTED(GDB_PATH, "$GDB", "gdb with path") Ah, perfect, just what I wanted. I just committed the change. Thanks. N |