From 67567152a10173ae01e29eeda32267160c3c96c4 Mon Sep 17 00:00:00 2001 From: darco Date: Sun, 30 Oct 2005 04:34:39 +0000 Subject: [PATCH] nur git-svn-id: http://svn.voria.com/code@30 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/app.cpp | 4 ++++ synfig-studio/trunk/win32build.sh | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp b/synfig-studio/trunk/src/gtkmm/app.cpp index 7295b3e..277cc80 100644 --- a/synfig-studio/trunk/src/gtkmm/app.cpp +++ b/synfig-studio/trunk/src/gtkmm/app.cpp @@ -450,6 +450,7 @@ int v_key_check(const char* key, U32* serial, U32 appid) int check_license(String basedir) { +#ifdef LICENSE_KEY_REQUIRED String key; String license_file; @@ -488,6 +489,9 @@ int check_license(String basedir) } synfig::info("License Authenticated -- Serial #%05d",serial); return serial; +#else + return 1; +#endif } /* diff --git a/synfig-studio/trunk/win32build.sh b/synfig-studio/trunk/win32build.sh index 2616725..385c17c 100755 --- a/synfig-studio/trunk/win32build.sh +++ b/synfig-studio/trunk/win32build.sh @@ -1,6 +1,7 @@ #!/bin/sh -OPT_FLAGS="--disable-optimization --disable-debug --enable-license-key" +#OPT_FLAGS="--disable-optimization --disable-debug --enable-license-key" +OPT_FLAGS="--disable-optimization --disable-debug --disable-license-key" ./configure --host=mingw32 --prefix=C:/PROGRA~1/Synfig $OPT_FLAGS -- 2.7.4