mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Merge branch 'master' into plugins
Conflicts: configure.ac
This commit is contained in:
commit
b9f3799982
23
configure.ac
23
configure.ac
@ -3,17 +3,6 @@
|
||||
|
||||
AC_INIT([profanity], [0.4.0], [boothj5web@gmail.com])
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
PACKAGE_STATUS="development"
|
||||
|
||||
### Get git branch and revision if in development
|
||||
if test "x$PACKAGE_STATUS" = xdevelopment; then
|
||||
AM_CONDITIONAL([INCLUDE_GIT_VERSION], [true])
|
||||
AC_DEFINE([HAVE_GIT_VERSION], [1], [Include git info])
|
||||
else
|
||||
AM_CONDITIONAL([INCLUDE_GIT_VERSION], [false])
|
||||
fi
|
||||
|
||||
AC_DEFINE_UNQUOTED([PACKAGE_STATUS], ["$PACKAGE_STATUS"], [Status of this build])
|
||||
AC_CONFIG_SRCDIR([src/main.c])
|
||||
AC_CONFIG_HEADERS([src/config.h])
|
||||
AM_INIT_AUTOMAKE([foreign subdir-objects])
|
||||
@ -30,6 +19,18 @@ AS_CASE([$host_os],
|
||||
[cygwin], [PLATFORM="cygwin"],
|
||||
[PLATFORM="nix"])
|
||||
|
||||
PACKAGE_STATUS="development"
|
||||
|
||||
### Get git branch and revision if in development
|
||||
if test "x$PACKAGE_STATUS" = xdevelopment; then
|
||||
AM_CONDITIONAL([INCLUDE_GIT_VERSION], [true])
|
||||
AC_DEFINE([HAVE_GIT_VERSION], [1], [Include git info])
|
||||
else
|
||||
AM_CONDITIONAL([INCLUDE_GIT_VERSION], [false])
|
||||
fi
|
||||
|
||||
AC_DEFINE_UNQUOTED([PACKAGE_STATUS], ["$PACKAGE_STATUS"], [Status of this build])
|
||||
|
||||
AS_IF([test "x$PLATFORM" = xcygwin],
|
||||
[AC_DEFINE([PLATFORM_CYGWIN], [1], [Cygwin])])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user