version 1.1, 2010/01/26 15:22:44
|
version 1.2, 2010/01/29 16:51:46
|
Line 1
|
Line 1
|
dnl Process this file with autoconf to produce a configure script. |
dnl Process this file with autoconf to produce a configure script. |
AC_INIT([rpl],[4.0.9]) |
AC_INIT([rpl],[4.0.10]) |
AC_CANONICAL_TARGET |
AC_CANONICAL_TARGET |
AC_CANONICAL_TARGET |
AC_CANONICAL_TARGET |
AM_INIT_AUTOMAKE |
AM_INIT_AUTOMAKE |
Line 257 if test ! -d "$srcdir"/tools/$ICONV; the
|
Line 257 if test ! -d "$srcdir"/tools/$ICONV; the
|
(cd "$srcdir/tools" && tar -xf -) |
(cd "$srcdir/tools" && tar -xf -) |
fi |
fi |
|
|
dnl Apply patches |
|
AC_CHECK_FUNC(asprintf, ASPRINTF=found, ASPRINTF=not_found) |
|
|
|
sed 's/libmagic/librplfile/g' "$srcdir"/tools/$FILE/src/Makefile.am > \ |
sed 's/libmagic/librplfile/g' "$srcdir"/tools/$FILE/src/Makefile.am > \ |
"$srcdir"/tools/$FILE/src/Makefile.am2 |
"$srcdir"/tools/$FILE/src/Makefile.am2 |
sed 's/^bin_PROGRAMS = file/bin_PROGRAMS = rplfile/g' \ |
sed 's/^bin_PROGRAMS = file/bin_PROGRAMS = rplfile/g' \ |
Line 295 if test "$AUTOCONF" = "no"; then
|
Line 292 if test "$AUTOCONF" = "no"; then
|
AC_MSG_ERROR([Cannot find autoconf! You have to install it.]) |
AC_MSG_ERROR([Cannot find autoconf! You have to install it.]) |
fi |
fi |
|
|
if test "$ASPRINTF" = not_found; then |
|
if test -z "$(grep asprintf.c \ |
|
"$srcdir"/tools/$FILE/src/Makefile.am)"; then |
|
dnl Nécessaire jusqu'à file-4.25 |
|
dnl echo "librplfile_la_SOURCES += ../../patches/asprintf.c" >> \ |
|
dnl "$srcdir"/tools/$FILE/src/Makefile.am |
|
echo Not needed anymore |
|
fi |
|
fi |
|
|
|
(cd "$srcdir"/tools/$FILE && libtoolize --copy --force \ |
(cd "$srcdir"/tools/$FILE && libtoolize --copy --force \ |
&& aclocal && automake -af && autoconf); |
&& aclocal && automake -af && autoconf); |
|
|