mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Fix autoconf warning about AC_CANONICAL_TARGET ordering
AM_INIT_AUTOMAKE requires AC_ARG_PROGRAM so should go after AC_CANONICAL_TARGET for proper program name mangling. This fixes "AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET" warning as emitted by autoconf 2.69.
This commit is contained in:
parent
409268e2b6
commit
90ea2fabe6
@ -6,7 +6,6 @@ AC_CONFIG_AUX_DIR([build-aux])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_SRCDIR([src/main.c])
|
||||
AC_CONFIG_HEADERS([src/config.h])
|
||||
AM_INIT_AUTOMAKE([foreign subdir-objects])
|
||||
|
||||
AC_PROG_CC
|
||||
LT_INIT
|
||||
@ -23,6 +22,8 @@ AS_CASE([$target_os],
|
||||
[cygwin], [PLATFORM="cygwin"],
|
||||
[PLATFORM="nix"])
|
||||
|
||||
AM_INIT_AUTOMAKE([foreign subdir-objects])
|
||||
|
||||
PACKAGE_STATUS="development"
|
||||
|
||||
## Get git branch and revision if in development
|
||||
|
Loading…
Reference in New Issue
Block a user