]> Dogcows Code - chaz/yoink/blobdiff - configure.ac
new windows installer script, clarified licenses
[chaz/yoink] / configure.ac
index 39129322d1de7bf8f522bc144d23877580c5aeeb..561b39e3908a32eadf7b3fed3933035e70a336fd 100644 (file)
@@ -42,6 +42,8 @@ case "${host}" in
                        AC_MSG_ERROR([windres could not be found])
                fi
                AC_SUBST(WINDRES)
                        AC_MSG_ERROR([windres could not be found])
                fi
                AC_SUBST(WINDRES)
+               AC_PATH_PROGS([MAKENSIS], [makensis])
+               AC_SUBST(MAKENSIS)
        ;;
        *cygwin*)
                CYGWIN=yes
        ;;
        *cygwin*)
                CYGWIN=yes
@@ -168,6 +170,12 @@ AC_DEFINE_UNQUOTED([VERSION_MINOR], [${VERSION_MINOR:-0}],
 AC_DEFINE_UNQUOTED([VERSION_REVISION], [${VERSION_REVISION:-0}],
                                   [Define to revision version number component.])
 
 AC_DEFINE_UNQUOTED([VERSION_REVISION], [${VERSION_REVISION:-0}],
                                   [Define to revision version number component.])
 
+if test x$WIN32 = xyes
+then
+       PVERSION="${VERSION_MAJOR:-0}.${VERSION_MINOR:-0}.${VERSION_REVISION:-0}.0"
+       AC_SUBST([PVERSION])
+fi
+
 # these are used in src/yoink.rc
 
 
 # these are used in src/yoink.rc
 
 
@@ -295,6 +303,7 @@ AC_CONFIG_FILES([Makefile
                                 doc/yoink.6
                                 extra/Makefile
                                 extra/yoink.spec
                                 doc/yoink.6
                                 extra/Makefile
                                 extra/yoink.spec
+                                make-win32-installer.sh
                  src/Makefile])
 
 AC_CONFIG_HEADERS([src/config.h])
                  src/Makefile])
 
 AC_CONFIG_HEADERS([src/config.h])
This page took 0.017463 seconds and 4 git commands to generate.