X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2Fm4%2Fsubs.m4;h=f4dfcf93991edef838c1e75a740e0829b6420149;hb=e04326ba64c93538ac90a04a0a16d6c82400819b;hp=2e3370e3b0c3458b7a7763820ceefec3160c3d9d;hpb=589bf9068c8c3bb9fddf952aeea0836229d47dd6;p=synfig.git diff --git a/ETL/trunk/m4/subs.m4 b/ETL/trunk/m4/subs.m4 index 2e3370e..f4dfcf9 100644 --- a/ETL/trunk/m4/subs.m4 +++ b/ETL/trunk/m4/subs.m4 @@ -19,8 +19,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='' @@ -82,7 +82,7 @@ AC_DEFUN([AC_ARG_DEBUG], debug_flags="-DNDEBUG -g" ;; no|*) - debug_flags="-DNDEBUG -Wno-deprecated" + debug_flags="-DNDEBUG" ;; esac @@ -176,37 +176,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 ] ) - ], - [ - ]) -]) - -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"