Adopt FLTK 1.4

This commit is contained in:
2026-01-06 22:56:54 -05:00
parent bd58a08686
commit c875bbe78b

View File

@ -223,12 +223,14 @@ case $fltk_version in
LIBFLTK_CXXFLAGS=`$FLTK_CONFIG --cxxflags`
LIBFLTK_CFLAGS=`$FLTK_CONFIG --cflags`
LIBFLTK_LIBS=`$FLTK_CONFIG --ldflags`;;
1.4.*) AC_MSG_RESULT(no)
AC_MSG_ERROR([FLTK $fltk_version not supported yet; use FLTK 1.3]);;
1.4.*) AC_MSG_RESULT(yes)
LIBFLTK_CXXFLAGS=`$FLTK_CONFIG --cxxflags`
LIBFLTK_CFLAGS=`$FLTK_CONFIG --cflags`
LIBFLTK_LIBS=`$FLTK_CONFIG --ldflags`;;
?*) AC_MSG_RESULT(no)
AC_MSG_ERROR(FLTK 1.3 required; version found: $fltk_version);;
AC_MSG_ERROR(FLTK 1.3 or 1.4 required; version found: $fltk_version);;
*) AC_MSG_RESULT(no)
AC_MSG_ERROR(FLTK 1.3 required; fltk-config not found)
AC_MSG_ERROR(FLTK 1.3 or 1.4 required; fltk-config not found)
esac
dnl -----------------------------------