X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fm4%2Fsubs.m4;h=9614e65035bc66d6c478871be0a1c36eca1746ae;hb=e04326ba64c93538ac90a04a0a16d6c82400819b;hp=7815530524b214d3590add1b447b4792c3aa2ff3;hpb=0d7c50731bcd9fb694c4fec3ff345f6626bc35f9;p=synfig.git diff --git a/synfig-studio/trunk/m4/subs.m4 b/synfig-studio/trunk/m4/subs.m4 index 7815530..9614e65 100755 --- a/synfig-studio/trunk/m4/subs.m4 +++ b/synfig-studio/trunk/m4/subs.m4 @@ -20,8 +20,8 @@ AC_DEFUN([AC_ARG_WARNINGS], 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='' @@ -83,7 +83,7 @@ AC_DEFUN([AC_ARG_DEBUG], debug_flags="-DNDEBUG -g" ;; no|*) - debug_flags="-DNDEBUG -Wno-deprecated" + debug_flags="-DNDEBUG" ;; esac @@ -177,38 +177,6 @@ AC_DEFUN([AC_ARG_PROFILING], 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 ] ) - ], - [ - license_key="no" - ]) -]) - -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"