xref: /netbsd/external/bsd/tre/dist/utils/autogen.sh (revision 6550d01e)
1#! /bin/sh
2
3set -e
4
5# Clear the cache to get a clean rebuild.
6rm -rf autom4te.cache
7
8# Generate the ChangeLog file.
9darcs changes --summary > ChangeLog
10
11# Replace variables here and there to get a consistent tree.
12./utils/replace-vars.sh
13
14# Set up the standard gettext infrastructure.
15autopoint
16
17# Set up libtool stuff for use with Automake.
18libtoolize --automake
19
20# Update aclocal.m4, using the macros from the m4 directories.
21aclocal -I m4
22
23# Run autoheader to generate config.h.in.
24autoheader
25
26# Create Makefile.in's.
27automake --foreign --add-missing
28
29# Create the configure script.
30autoconf
31