- add new fully recursive macro.c
2.5.3 -> 2.5.4:
+ - rationalize autoconf detection of gzip/bzip2.
- restore backward compatible rpmrc/rpmpopt symlinks.
- update pt_BR translations (Arnaldo Carvalho de Melo).
- permit --{buildroot,timecheck,test,sign} with -tX (Toshio Kuratomi).
AC_CHECK_TOOL(AR, ar, :)
if test "$cross_compiling" != "yes"; then
- AC_MSG_CHECKING(GNU gzip)
+ MYPATH="/bin:/usr/bin:/usr/local/bin:$PATH:/opt/gnu/bin"
+ AC_MSG_CHECKING(for gzip location)
if test -z "$GZIPBIN"; then
oldifs="$IFS"
IFS=:
- for n in $PATH:/opt/gnu/bin; do
+ for n in $MYPATH; do
if test -f $n/gzip; then
GZIPBIN="$n/gzip";
break
fi
if test -z "$GZIPBIN"; then
- GZIPBIN="gzip"
+ GZIPBIN="/bin/gzip"
AC_MSG_RESULT(no)
- AC_MSG_WARN(RPM will not work without GNU gzip.)
+ AC_MSG_WARN(Can't find gzip, assuming $GZIPBIN)
else
AC_MSG_RESULT(yes)
fi
- AC_MSG_CHECKING(for bzip2...)
+ AC_MSG_CHECKING(for bzip2 location)
if test -z "$BZIP2BIN"; then
oldifs="$IFS"
IFS=:
- for n in $PATH:/opt/gnu/bin; do
+ for n in $MYPATH; do
if test -f $n/bzip2; then
BZIP2BIN="$n/bzip2";
break
fi
if test -z "$BZIP2BIN"; then
- BZIP2BIN="bzip2"
+ BZIP2BIN="/usr/bin/bzip2"
AC_MSG_RESULT(no)
- AC_MSG_WARN(RPM will not work without GNU gzip.)
+ AC_MSG_WARN(Can't find bzip2, assuming $BZIP2BIN)
else
AC_MSG_RESULT(yes)
fi
l=$1
shift
case "$target" in
- *-*-solaris*) LIBS="$LIBS -L$l -R $l $*";;
+ *-*-solaris*) LIBS="$LIBS -L$l -R$l $*";;
*) LIBS="$LIBS -L$l $*";;
esac
}