How to detect GD in source code.
| From: | D . Walsh | Date: | Fri, 28 Jan 2005 07:43:25 +0000 |
| Subject: | How to detect GD in source code. | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-14445@lists.php.net to get a copy of this message | ||
I've been writing a module, it is dependent on some GD functions, how can I detect that GD has been installed PHP native?
I'm not talking about php code to see if the functions are available.
Is there a macro or something that will detect if GD is installed native?
If not,do you have code that detects if GD or a GD function is installed native?
Anything I can add to aclocal.m4 and/or configure.ac would be greatly appreciated.
-- Dale