X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=configure.ac;h=561b39e3908a32eadf7b3fed3933035e70a336fd;hp=39129322d1de7bf8f522bc144d23877580c5aeeb;hb=6dd7ae54e742339cc49e640d1076a310a0f4eedd;hpb=9351bfa7871c88a5ad6e63f1d9c4483f50e4fed1 diff --git a/configure.ac b/configure.ac index 3912932..561b39e 100644 --- a/configure.ac +++ b/configure.ac @@ -42,6 +42,8 @@ case "${host}" in AC_MSG_ERROR([windres could not be found]) fi AC_SUBST(WINDRES) + AC_PATH_PROGS([MAKENSIS], [makensis]) + AC_SUBST(MAKENSIS) ;; *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.]) +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 @@ -295,6 +303,7 @@ AC_CONFIG_FILES([Makefile doc/yoink.6 extra/Makefile extra/yoink.spec + make-win32-installer.sh src/Makefile]) AC_CONFIG_HEADERS([src/config.h])