mirror of
https://github.com/stefanberger/swtpm.git
synced 2025-08-22 10:30:52 +00:00

Older systems, such as RHEL 6, need the m4 directory to be created. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
19 lines
261 B
Bash
Executable File
19 lines
261 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e # exit on errors
|
|
|
|
srcdir=`dirname $0`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
olddir=`pwd`
|
|
cd "$srcdir"
|
|
|
|
test ! -d m4 && mkdir m4
|
|
|
|
autoreconf --verbose --force --install
|
|
|
|
cd "$olddir"
|
|
if [ -z "$NOCONFIGURE" ]; then
|
|
"$srcdir"/configure ${1+"$@"}
|
|
fi
|