blob: 0be903c92541632c5f267502dce3602650411d33 (
plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
skip_gnulib=false
while :; do
case "$1" in
--skip-gnulib) skip_gnulib=true; shift;;
*) break ;;
esac
done
if test $skip_gnulib = false; then
if test -z "$GNULIB_TOOL"; then
if test -d gnulib; then
(cd gnulib && git pull)
else
git clone git://git.savannah.gnu.org/gnulib.git
fi
if test -f gnulib/gnulib-tool; then
GNULIB_TOOL=`pwd`/gnulib/gnulib-tool
else
echo "** warning: gnulib-tool not found" 1>&2
fi
fi
if test -n "$GNULIB_TOOL"; then
if test -f srcm4/gnulib-cache.m4; then
mv -f srcm4/gnulib-cache.m4 srcm4/gnulib-cache.m4~
fi
if test -f srclib/Makefile.gnulib; then
mv -f srclib/Makefile.gnulib srclib/Makefile.gnulib~
fi
make -f Makefile.devel srclib/Makefile.gnulib GNULIB_TOOL="$GNULIB_TOOL"
fi
fi
rm -f configure config.h.in include/iconv.h.build.in
rm -f lib/aliases.h lib/aliases_sysaix.h lib/aliases_syshpux.h lib/aliases_sysosf1.h lib/aliases_syssolaris.h
rm -f lib/aliases_aix.h lib/aliases_aix_sysaix.h
rm -f lib/aliases_osf1.h lib/aliases_osf1_sysosf1.h
rm -f lib/aliases_dos.h
rm -f lib/aliases_extra.h
rm -f lib/flags.h
rm -f lib/translit.h
rm -f man/iconv.1.html man/iconv.3.html man/iconv_close.3.html man/iconv_open.3.html
make -f Makefile.devel
(cd libcharset
./autogen.sh
)
|