Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 34 lines (26 sloc) 0.676 kb
3b51655 set up automake
Stig S. Bakken authored
1 #!/bin/sh
2
e67005e Use libtool.
Sascha Schumann authored
3 case "$1" in
4 --copy)
5 automake_flags=--copy
6 shift
7 ;;
8 esac
9
10 libtoolize --force --automake $automake_flags
11
3b51655 set up automake
Stig S. Bakken authored
12 mv aclocal.m4 aclocal.m4.old 2>/dev/null
13 aclocal
14 if cmp aclocal.m4.old aclocal.m4 > /dev/null 2>&1; then
f5bfd16 identify ourselves
Stig S. Bakken authored
15 echo "buildconf: keeping ${1}aclocal.m4"
3b51655 set up automake
Stig S. Bakken authored
16 mv aclocal.m4.old aclocal.m4
17 else
f5bfd16 identify ourselves
Stig S. Bakken authored
18 echo "buildconf: created or modified ${1}aclocal.m4"
3b51655 set up automake
Stig S. Bakken authored
19 fi
20
55218a9 Reactivate autoheader
Sascha Schumann authored
21 autoheader
3b51655 set up automake
Stig S. Bakken authored
22
60d87e1 Add $automake_flags, to allow propagation of --copy
Sascha Schumann authored
23 automake --add-missing --include-deps $automake_flags
3b51655 set up automake
Stig S. Bakken authored
24
25 mv configure configure.old 2>/dev/null
26 autoconf
27 if cmp configure.old configure > /dev/null 2>&1; then
f5bfd16 identify ourselves
Stig S. Bakken authored
28 echo "buildconf: keeping ${1}configure"
3b51655 set up automake
Stig S. Bakken authored
29 mv configure.old configure
30 else
f5bfd16 identify ourselves
Stig S. Bakken authored
31 echo "buildconf: created or modified ${1}configure"
3b51655 set up automake
Stig S. Bakken authored
32 fi
33
Something went wrong with that request. Please try again.