Remove -Wno-deprecated since it is no longer needed and just causes extra warnings...
[synfig.git] / synfig-studio / trunk / m4 / subs.m4
index 7815530..9614e65 100755 (executable)
@@ -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"