|
|
@ -220,6 +220,8 @@ AC_DEFUN([AX_INIT_STANDARD_PROJECT], [ |
|
|
|
SOURCE_DOWNLOAD="${SOURCE_DOWNLOAD:-${AUTHOR_URL}/downloads/${PACKAGE_NAME}}" |
|
|
|
SOURCE_DOWNLOAD="${SOURCE_DOWNLOAD:-${AUTHOR_URL}/downloads/${PACKAGE_NAME}}" |
|
|
|
AX_SUBST(PROJECT_URL) |
|
|
|
AX_SUBST(PROJECT_URL) |
|
|
|
AX_SUBST(SOURCE_DOWNLOAD) |
|
|
|
AX_SUBST(SOURCE_DOWNLOAD) |
|
|
|
|
|
|
|
VENDOR=$((lsb_release -is 2>/dev/null || echo unknown) | tr ' ' '_') |
|
|
|
|
|
|
|
AX_SUBST(VENDOR) |
|
|
|
DISTRO=$(lsb_release -sc 2>/dev/null || uname -s 2>/dev/null) |
|
|
|
DISTRO=$(lsb_release -sc 2>/dev/null || uname -s 2>/dev/null) |
|
|
|
AX_SUBST(DISTRO) |
|
|
|
AX_SUBST(DISTRO) |
|
|
|
ARCH=$((@<:@@<:@ $(uname -sm) =~ 64 @:>@@:>@ && echo amd64) || (@<:@@<:@ $(uname -sm) =~ 'i?86' @:>@@:>@ && echo i386 || uname -sm)) |
|
|
|
ARCH=$((@<:@@<:@ $(uname -sm) =~ 64 @:>@@:>@ && echo amd64) || (@<:@@<:@ $(uname -sm) =~ 'i?86' @:>@@:>@ && echo i386 || uname -sm)) |
|
|
|