nur
authordarco <darco@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 30 Oct 2005 04:34:39 +0000 (04:34 +0000)
committerdarco <darco@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 30 Oct 2005 04:34:39 +0000 (04:34 +0000)
git-svn-id: http://svn.voria.com/code@30 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/app.cpp
synfig-studio/trunk/win32build.sh

index 7295b3e..277cc80 100644 (file)
@@ -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 
 }
 
 /*
index 2616725..385c17c 100755 (executable)
@@ -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