16 |
done |
done |
17 |
|
|
18 |
# Automake understands nothing to our aclocal and misses all its |
# Automake understands nothing to our aclocal and misses all its |
19 |
# AC_SUBST... |
# AC_SUBST... Output them, but in a way that makes m4 ignore then. |
20 |
( |
( |
21 |
set -e |
set -e |
22 |
sed -n '1,/# Help Automake understand includes./p' aclocal.m4 |
sed -n '1,/# Help Automake understand includes./p' aclocal.m4 |
23 |
echo "# It doesn't see AC_SUBSTs." |
echo "ifelse(" |
24 |
autoconf -t AC_SUBST:'AC_SUBST([$1])' | sort -u |
echo " [" |
25 |
echo "# It doesn't see AM_CONDITIONALs." |
echo " # It doesn't see AC_SUBSTs." |
26 |
autoconf -t AM_CONDITIONAL:'AM_CONDITIONAL([$1])' | sort -u |
autoconf -t AC_SUBST:' AC_SUBST([$1])' | sort -u |
27 |
|
echo " # It doesn't see AM_CONDITIONALs." |
28 |
|
autoconf -t AM_CONDITIONAL:' AM_CONDITIONAL([$1])' | sort -u |
29 |
|
echo " ]" |
30 |
|
echo ")" |
31 |
) >aclocal.m4t |
) >aclocal.m4t |
32 |
mv aclocal.m4t aclocal.m4 |
mv aclocal.m4t aclocal.m4 |
33 |
|
|