Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: 1142f85b0c73fe861c31e18c3403ce7b2f28595e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/sh

# run this to generate all initial .in files etc

# copy some files from automake/autoconf into place
[ -r /usr/share/misc/config.sub ] && \
  cp -f /usr/share/misc/config.sub config.sub
[ -r /usr/share/misc/config.guess ] && \
  cp -f /usr/share/misc/config.guess config.guess
automake_libdir="`automake --print-libdir`"
for fname in INSTALL ar-lib compile depcomp install-sh missing \
             mkinstalldirs py-compile test-driver
do
  [ -r "$automake_libdir/$fname" ] && \
    cp -f "$automake_libdir/$fname" "$fname"
done

# generate aclocal.m4 from configure.ac
aclocal -I m4

# generate config.h.in from configure.ac
autoheader --warnings=all --force

# generate Makefile.in from Makefile.am and configure.ac
automake --warnings=all --add-missing --copy --force-missing

# generate configure from configure.ac
autoconf --warnings=all --force