dnl ---- configure.ac for gb.form.htmlview

m4_include([../version.m4])

AC_INIT([gambas3-gb-form-htmlview],[GB_VERSION],[GB_MAIL],[],[GB_URL])

AC_CONFIG_MACRO_DIR([m4])
GB_INIT(gb.form.htmlview)
LT_INIT

if test "$have_gcc_std_cpp20" = "yes"; then
  gb_htmlview_src="src"
  AC_MSG_NOTICE([Using C++17 source code])
else
  gb_htmlview_src="src-cpp11"
  AC_MSG_NOTICE([Using C++11 source code])
fi

GB_COMPONENT(htmlview, HTMLVIEW, gb.form.htmlview, [$gb_htmlview_src], [], [], [], [])

AC_CONFIG_FILES([Makefile src/Makefile src-cpp11/Makefile])

AC_OUTPUT
GB_PRINT_MESSAGES
