Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: 59a5d455af7935f0a0750e2a206f1bc4ac2423ca (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
#! /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
for fname in INSTALL ar-lib compile depcomp install-sh missing \
             mkinstalldirs py-compile test-driver
do
  [ -r /usr/share/automake-1.14/$fname ] && \
    cp -f /usr/share/automake-1.14/$fname $fname
done

# generate aclocal.m4 from configure.ac
aclocal

# 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