File: autogen.sh

package info (click to toggle)
patchutils 0.2.11-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 800 kB
  • ctags: 182
  • sloc: ansic: 3,496; sh: 2,547; xml: 997; makefile: 193; perl: 101
file content (31 lines) | stat: -rwxr-xr-x 533 bytes parent folder | download
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
29
30
31
#! /bin/sh

# Use automake 1.5
AMVER=-1.5

# Use autoconf 2.53
ACVER=-2.53

./clean.sh

# add files 'config.guess', 'config.sub', 'ltconfig', 'ltmain.sh'
#libtoolize --automake --force || exit 1

# generate 'aclocal.m4', and use our macros in ./m4
#aclocal -I ./m4
aclocal$AMVER  || exit 1

autoheader$ACVER || exit 1

#  generate Makefile.in's from Makefile.am's
automake$AMVER --add-missing || exit 1

# generate configure from configure.in
autoconf$ACVER || exit 1

echo "Now run ./configure"

#./configure "$@" || exit 1
#make