1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-03-02 09:47:21 +00:00
Files
PDP-10.klh10/autogen.sh
Olaf Seibert 2ac5184ff2 Add a configure script and remove a tangle of frail #if conditions
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.
2016-01-19 23:41:49 +01:00

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 "$@"