diff --git a/Jamconfig.in b/Jamconfig.in index dd43175..002eb7d 100644 --- a/Jamconfig.in +++ b/Jamconfig.in @@ -69,9 +69,9 @@ if $(SUN_COMPILER) { } else { # gcc assumed WALL ?= "-Wall" ; - # some C libraries have issues with C++ when given '-pedantic' flag, so - # setting 'jam -sPEDANTIC=""' will allow compilation - PEDANTIC ?= "-pedantic" ; + # by default we do not use -pedantic; programs that use C libraries (HAL older versions) and eFLTK will fail + # to compile with it + PEDANTIC ?= ; WNO_LONG_LONG ?= "-Wno-long-long" ; } diff --git a/configure.in b/configure.in index 18b1e72..ebf709b 100644 --- a/configure.in +++ b/configure.in @@ -148,7 +148,14 @@ if test -n "$FLTK_CONFIG"; then case "$fltk_version" in ["1.1."[789]]) AC_MSG_RESULT(yes) ;; - *) + ["1.1.10"]) + AC_MSG_RESULT(yes) + ;; + dnl check for FLTK 1.3.x branch + ["1.3."[01]]) + AC_MSG_RESULT([yes... Looks like you have unstable FLTK branch ($fltk_version). EDE is not well tested with these FLTK versions]) + ;; + *) AC_MSG_ERROR([Looks like you have an older FLTK version ($fltk_version). Required is >= 1.1.7]) esac