-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure.ac: add option to disable image output
Even when the gd library is present, it may be desirable to not build 'vnstati' as image output is an optional feature. Also, when testing for the gd library, use gdImagePng() instead of gdImageLine() since it's possible that the installed gd library doesn't have PNG support. In such cases, the test in the configure script passed (because gdImageLine() is always present), but the build failed with: src/vnstati.o: In function `writeoutput': vnstati.c:(.text+0x3fc): undefined reference to `gdImagePng' collect2: error: ld returned 1 exit status
- Loading branch information
Showing
3 changed files
with
95 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters