Birger Toedtmann schrieb am Tue, Mar 12, 2002 at 03:03:52PM +0100: [...] > > I'll see if I could hack autoconf to parse /usr/include/db.h (or the like) for > DB_VERSION_MAJOR and set dbenv->set_errpfx() respectively. Mmmh, as I write > this - why not just doing it the following way: > > strcpy(mydb, "db") > strcat(mydb, DB_VERSION_MAJOR); > dbenv->set_errpfx(dbenv, mydb); [...]
Urgs, ah, this is braindead, as DB_VERSION_MAJOR is no string - forget about this stupid idea... Regards, Birger