#!/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"