File: reconf

package info (click to toggle)
audacity 1.2.4b-2.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 24,136 kB
  • ctags: 20,445
  • sloc: ansic: 139,567; cpp: 55,998; sh: 24,963; lisp: 3,772; makefile: 1,683; python: 272
file content (42 lines) | stat: -rwxr-xr-x 914 bytes parent folder | download | duplicates (2)
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
32
33
34
35
36
37
38
39
40
41
42
#!/bin/sh

rm -f config.cache

if [ ! -e "src/config.h.in" ]; then
	autoheader
	fi

if [ -d $HOME/Proj/M4 ]; then

	rm -f acinclude.m4.new
	touch acinclude.m4.new
	cat $HOME/Proj/M4/extra_largefile.m4 >>acinclude.m4.new
	cat $HOME/Proj/M4/endian.m4 >>acinclude.m4.new
	cat $HOME/Proj/M4/lrint.m4 >>acinclude.m4.new
	cat $HOME/Proj/M4/lrintf.m4 >>acinclude.m4.new

	if [ -f acinclude.m4 ]; then
		cmp_data=`cmp acinclude.m4 acinclude.m4.new`
		if [ x"$cmp_data" = "x" ]; then
			echo "File acinclude.m4 unchanged."
		else
			echo "Updating acinclude.m4"
			mv -f acinclude.m4.new acinclude.m4
			fi
	else
		mv acinclude.m4.new acinclude.m4
		fi

	echo "Looking in $HOME/Proj/M4 directory."
	aclocal -I $HOME/Proj/M4
else
	aclocal
	fi

sed s/AM_PROG_INSTALL/AC_PROG_INSTALL/ aclocal.m4 >aclocal.m4.bak   
mv -f aclocal.m4.bak aclocal.m4

automake --copy --add-missing
autoconf
# autoreconf -i --force --foreign
exit