Add missing check for PNG library
As Peter Stuge pointed out, it works anyway if fltk is built with png support because solvespace uses the flags returned by fltk-config. If fltk was built with png support enabled, these include -lpng.pull/3/head
parent
6cfa884406
commit
afdf3145b2
|
@ -95,6 +95,13 @@ AH_VERBATIM([MSVC_FLAGS], [#if defined(_MSC_VER) && defined(_WIN32)
|
|||
# define WIN32_LEAN_AND_MEAN 1
|
||||
#endif])
|
||||
|
||||
AC_CHECK_LIB(
|
||||
[png], [png_set_sig_bytes], [],
|
||||
[AC_MSG_ERROR([Cannot find -lpng])])
|
||||
AC_CHECK_HEADERS(
|
||||
[png.h], [],
|
||||
[AC_MSG_ERROR([Cannot find png.h])])
|
||||
|
||||
##
|
||||
## FLTK
|
||||
##
|
||||
|
|
Loading…
Reference in New Issue