net-tools/autogen.sh
lohhiiccc 526b452827 build!: replace custom build system with Autotools
BREAKING CHANGE: build now requires ./autogen.sh before ./configure.
2026-03-29 15:33:45 +02:00

15 lines
354 B
Bash
Executable file

#!/bin/sh
# autogen.sh - Generate Autotools build files
set -e
# Generate libcli configure first (it's an Autotools submodule)
if [ -f libcli/autogen.sh ]; then
echo "[autogen] Configuring libcli submodule..."
(cd libcli && ./autogen.sh)
fi
echo "[autogen] Running autoreconf..."
autoreconf -fiv
echo "[autogen] Done. Now run: ./configure && make"