-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconfigure.ac
67 lines (55 loc) · 2.21 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
dnl Copyright (C) 2016-2022 Red Hat, Inc.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; version 2 of the License.
dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
dnl MA 02110-1301, USA. A copy of the GNU General Public License is
dnl also available at http://www.gnu.org/copyleft/gpl.html.
define([VERSION_NUMBER], [4.5.6])
define([RELEASEVER], [0.0])
AC_INIT([ovirt-node-ng-image-update], VERSION_NUMBER, [[email protected]])
AM_INIT_AUTOMAKE([-Wall -Werror foreign -Wno-portability tar-pax no-dependencies])
PACKAGE_RPM_VERSION="VERSION_NUMBER"
AC_SUBST([PACKAGE_RPM_VERSION])
PACKAGE_RPM_RELEASE="0.$(date +%Y%m%d).0"
AC_SUBST([PACKAGE_RPM_RELEASE])
FINALBUILD=False
AC_SUBST([FINALBUILD])
IMAGENAME="ovirt-node-ng-image"
AC_SUBST([IMAGENAME])
AC_ARG_WITH([distro],
[AS_HELP_STRING([--with-distro=distro], [Base node-ng on distro (default: centos8stream)])],
[DISTRO="$withval"],
[DISTRO="centos8stream"])
AC_SUBST([DISTRO])
AC_ARG_WITH([bootisourl],
[AS_HELP_STRING([--with-bootisourl=URL],
[boot ISO url (default: http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/images/boot.iso)])],
[BOOTISOURL="$withval"],
[BOOTISOURL="http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/images/boot.iso"])
AC_SUBST([BOOTISOURL])
AC_ARG_WITH([bootiso],
[AS_HELP_STRING([--with-bootiso=NAME],
[boot ISO name (default: basename BOOTISOURL var)])],
[BOOTISO="$withval"],
[BOOTISO="$(basename $BOOTISOURL)"])
AC_SUBST([BOOTISO])
AC_ARG_WITH([tmpdir],
[AS_HELP_STRING([--with-tmpdir=DIR],
[path to TMP directory (default: /tmp)])],
[TMPDIR="$withval"],
[TMPDIR="/var/tmp"])
AC_SUBST([TMPDIR])
AC_CONFIG_FILES([
Makefile
])
AC_OUTPUT