Skip to content

Commit 84e9ea1

Browse files
committed
convert libzend to automake
1 parent b227e38 commit 84e9ea1

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

buildconf

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
#!/bin/sh
22

3-
mv configure.in configure.in.old 2>/dev/null
43
./scripts/preconfig
5-
if cmp configure.in.old configure.in > /dev/null 2>&1; then
6-
echo keeping configure.in
7-
mv configure.in.old configure.in
8-
else
9-
echo created or modified configure.in
10-
fi
114

125
if test -f mkinstalldirs; then
136
automake
@@ -34,6 +27,22 @@ else
3427
fi
3528

3629
cd libzend
30+
31+
if test -f mkinstalldirs; then
32+
automake
33+
else
34+
automake --add-missing
35+
fi
36+
37+
mv aclocal.m4 aclocal.m4.old 2>/dev/null
38+
aclocal
39+
if cmp aclocal.m4.old aclocal.m4 > /dev/null 2>&1; then
40+
echo keeping libzend/aclocal.m4
41+
mv aclocal.m4.old aclocal.m4
42+
else
43+
echo created or modified libzend/aclocal.m4
44+
fi
45+
3746
mv configure configure.old 2>/dev/null
3847
autoconf
3948
if cmp configure.old configure > /dev/null 2>&1; then
@@ -42,4 +51,3 @@ if cmp configure.old configure > /dev/null 2>&1; then
4251
else
4352
echo created or modified libzend/configure
4453
fi
45-

0 commit comments

Comments
 (0)