2 CC="${CC:-gcc} ${LINKOPTS}"
3 CCLINK=${CCLINK:-${CC} -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`}
4 CXX="${CXX:-g++} ${LINKOPTS}"
5 CXXLINK=${CXXLINK:-${CXX} -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`}
6 PRELINK=${PRELINK:-../src/prelink -c ./prelink.conf -C ./prelink.cache --ld-library-path=. --dynamic-linker=`echo ./ld*.so.*[0-9]`}
7 srcdir=${srcdir:-`dirname $0`}
9 for i in $LIBS $BINS; do cp -p $i $i.orig; done
12 for i in $LIBS $BINS; do
14 echo $PRELINK -u $i.new
15 $PRELINK -u $i.new || exit
16 cmp -s $i.orig $i.new || exit
18 echo $PRELINK -y $i \> $i.new
19 $PRELINK -y $i > $i.new || exit
20 cmp -s $i.orig $i.new || exit