Diff

Differences From Artifact [3d66c1a312]:

To Artifact [f9bb8ef467]:


1
2

3
4
5
6
7
8
9
10
11
12
13
14

15
16
17
18
19
20
#! /bin/bash


(
	mkdir aclocal >/dev/null 2>/dev/null
	cd aclocal || exit 1

	for file in shobj.m4 tcl.m4; do
		rm -f "${file}"

		wget -O "${file}.new" "http://rkeene.org/devel/autoconf/${file}" || continue

		mv "${file}.new" "${file}"
	done
)


cat aclocal/*.m4 > aclocal.m4 || exit 1
autoconf || exit 1
rm -rf autom4te.cache/

exit 0


>
|
|
|

|
|

|

|
|
|
>






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /bin/bash

if [ "$1" = '--update' ]; then
	(
		mkdir aclocal >/dev/null 2>/dev/null
		cd aclocal || exit 1

		for file in shobj.m4 tcl.m4; do
			rm -f "${file}"

			wget -O "${file}.new" "http://rkeene.org/devel/autoconf/${file}" || continue

			mv "${file}.new" "${file}"
		done
	)
fi

cat aclocal/*.m4 > aclocal.m4 || exit 1
autoconf || exit 1
rm -rf autom4te.cache/

exit 0