mirror of
https://github.com/PDP-10/klh10.git
synced 2026-03-02 09:47:21 +00:00
This only uses autoconf, not automake or libtool or intltool or whatever. This also allows easy building of different emulators in different build directories. I have tested TOPS-20 with pcap|tap+bridge, ITS with pcap|tun|tap+bridge, both on NetBSD and Linux and hopefully everything still works after the fine-tuning.
24 lines
454 B
Bash
Executable File
24 lines
454 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# autogen.sh
|
|
#
|
|
# Usage: ../path/to/autogen.sh [args for configure]
|
|
#
|
|
# (Re)constructs the configure script using the appropriate invocations
|
|
# of autoconf etc, and runs configure with the given arguments.
|
|
#
|
|
# It is strongly recommended to build in a separate directory
|
|
# for easy cleanup.
|
|
|
|
srcdir=$(dirname $0)
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
builddir=$(pwd)
|
|
cd "$srcdir"
|
|
|
|
autoconf -I aclocal
|
|
autoheader
|
|
|
|
cd "$builddir"
|
|
$srcdir/configure "$@"
|