mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
configure: expand package data, add libstb-hal-config.h if available
Additional header file can be checked with new define HAVE_CONFIG_HAL_H.
This should be downwards compatible too, meaning that build is possible
even without this header.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 446c2dd959
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-01-01 (Tue, 01 Jan 2019)
------------------
This commit was generated by Migit
This commit is contained in:
10
configure.ac
10
configure.ac
@@ -1,3 +1,4 @@
|
||||
# explicit defines for separate revision handling
|
||||
# Keep in sync with git tags! Set tag with 'git tag NI-3.60'.
|
||||
define(ver_major, 3)
|
||||
define(ver_minor, 60)
|
||||
@@ -7,12 +8,18 @@ define(ver_micro, m4_esyscmd([
|
||||
GITREV=$(git rev-list $GITTAG..HEAD --count);
|
||||
printf "$GITREV"
|
||||
]))
|
||||
define(neutrino_rel_cycle, ver_major.ver_minor)
|
||||
|
||||
AC_INIT(NI-Neutrino, ver_major.ver_minor.ver_micro)
|
||||
AM_INIT_AUTOMAKE([nostdinc foreign])
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
|
||||
|
||||
AC_DEFINE(RELEASE_CYCLE, "ver_major.0", [Release cycle information; used in update code])
|
||||
AC_DEFINE(RELEASE_CYCLE, "ver_major.0", [Release cycle information; used in update code; only relevant for flash image releases ])
|
||||
|
||||
AC_DEFINE(PACKAGE_VERSION_MAJOR, ver_major, [Major version number])
|
||||
AC_DEFINE(PACKAGE_VERSION_MINOR, ver_minor, [Minor version number])
|
||||
AC_DEFINE(PACKAGE_VERSION_MICRO, ver_micro, [Micro version number])
|
||||
AC_DEFINE(PACKAGE_VERSION_NEUTRINO_REL_CYCLE, neutrino_rel_cycle, [Neutrino release cycle])
|
||||
|
||||
TUXBOX_APPS
|
||||
TUXBOX_APPS_DIRECTORY
|
||||
@@ -256,6 +263,7 @@ AC_ARG_WITH(stb-hal-includes,
|
||||
AS_HELP_STRING([--with-stb-hal-includes=PATH], [path for libstb-hal includes [[NONE]]]),
|
||||
[STB_HAL_INC="$withval"],
|
||||
[STB_HAL_INC=""])
|
||||
AC_CHECK_HEADER([$STB_HAL_INC/libstb-hal-config.h], [AC_DEFINE(HAVE_CONFIG_HAL_H, 1 , [availability of libstb-hal-config.h as external header from libstb_hal, usable e.g. for package informations])])
|
||||
|
||||
AC_ARG_WITH(stb-hal-build,
|
||||
AS_HELP_STRING([--with-stb-hal-build=PATH], [path where libstb-hal is built [[NONE]]]),
|
||||
|
Reference in New Issue
Block a user