case "$gtkmm_enable_warnings" in
none|no) gtkmm_warning_flags='';;
minimum|yes) gtkmm_warning_flags='-Wall -Wno-unused-parameter';;
- maximum) gtkmm_warning_flags='-W -Wall -Wno-unused-parameter';;
- hardcore) gtkmm_warning_flags='-W -Wall -Werror -Wno-unused-parameter';;
+ maximum) gtkmm_warning_flags='-W -Wall';;
+ hardcore) gtkmm_warning_flags='-W -Wall -Werror';;
esac
gtkmm_use_flags=''
debug_flags="-DNDEBUG -g"
;;
no|*)
- debug_flags="-DNDEBUG -Wno-deprecated"
+ debug_flags="-DNDEBUG"
;;
esac
AC_MSG_RESULT([$profiling])
])
-AC_DEFUN([AC_ARG_TIMELIMIT],
-[
- AC_ARG_ENABLE(timelimit,[ --enable-timelimit=[[days]] Set number of usable days(default=forever)],[
- death_time=$((`date +%s`+$enableval*60*60*24))
- AC_DEFINE_UNQUOTED(DEATH_TIME,$death_time, [ Describes the time at which the library will stop working ] )
- ],
- [
- death_time="no"
- ])
-])
-
-AC_DEFUN([AC_ARG_LICENSE_KEY],
-[
- AC_ARG_ENABLE(license_key,[ --enable-license-key Turn on license key requirement],[
- AC_DEFINE(LICENSE_KEY_REQUIRED,, [ Enables license key checks ] )
- ],
- [
- ])
-])
-
-AC_DEFUN([AC_ARG_TIMELIMIT],
-[
- AC_ARG_ENABLE(timelimit,[ --enable-timelimit=[[days]] Set number of usable days(default=forever)],[
- death_time=$((`date +%s`+$enableval*60*60*24))
- AC_DEFINE_UNQUOTED(DEATH_TIME,$death_time, [ Describes the time at which the library will stop working ] )
- ],
- [
- death_time="no"
- ])
-])
-
MINGW_FLAGS="-mno-cygwin"