From: Maxime P. <max...@bu...> - 2006-06-20 14:48:09
|
* Michael Reinelt <re...@eu...> [2006-06-20 13:08:38]: > > I wonder if there is a way to distinguish libgd from libgd2 ... ? > Me too. any hints, anybody out there? #ifdef GD2_ID #if GD2_ID == "gd2" echo "gd2 present." #else echo "gd2 not present." #endif This constant is available at the very end of /usr/include/gd.h, you may want to take a look (and check my syntax here, I'm doing it on-the-fly). - Sam -- Maxime Petazzoni (http://www.bulix.org) -- gone crazy, back soon. leave message. |