#!/bin/bash
#
# configure script for pcr-oracle.
#
# NOT based on autoconf
# Copyright (C) 2023 Olaf Kirch <okir@suse.de>
#
# In order to prepare the modules needed by this script, you
# need microconf from github.com/okirch/microconf
# Simply run microconf in the top-level source directory.
#
# Invoke with --help for a description of options
#
# microconf:begin
# version 0.4.6
# require libtss2
# disable debug-authenticode
# microconf:end

. microconf/prepare

##################################################################
# Get version from RELEASE file
##################################################################
uc_define_version pcr_oracle_version

##################################################################
# Now run all the checks we've lined up
##################################################################
. microconf/check

##################################################################
# Perform substitution steps
##################################################################
. microconf/subst

uc_subst Makefile
uc_subst src/config.h
uc_subst man/pcr-oracle.8
