mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-07-18 07:29:15 +03:00
For my convenience, pass all bootstrap CLI arguments on to autoreconf. This is useful when testing with e.g. -Wall and -Werror arguments.
26 lines
522 B
Bash
Executable File
26 lines
522 B
Bash
Executable File
#! /bin/sh
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
: ${AUTORECONF="autoreconf${AC_VER}"}
|
|
: ${AUTOHEADER="autoheader${AC_VER}"}
|
|
: ${AUTOCONF="autoconf${AC_VER}"}
|
|
: ${ACLOCAL="aclocal${AM_VER}"}
|
|
: ${AUTOMAKE="automake${AM_VER}"}
|
|
|
|
export ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE
|
|
|
|
# Bootstrap the build system.
|
|
|
|
set -x
|
|
|
|
rm -rf autom4te.cache
|
|
|
|
# MacOS calls it "glibtoolize", everyone else "libtoolize"
|
|
# probe for that
|
|
LIBTOOLIZE=libtoolize
|
|
glibtoolize --version > /dev/null 2>&1 && LIBTOOLIZE=glibtoolize
|
|
export LIBTOOLIZE
|
|
|
|
${AUTORECONF} -i "$@"
|