/usr/bin/cxref-cpp is in cxref 1.6e-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
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 | #!/bin/sh
set -e
DEF=/etc/cxref/cxref-cpp.defines
TMP=`tempfile -p cxref -m 600`
(
# LC_ALL=C
# export LC_ALL
/usr/bin/cxref-cpp-configure -o "$TMP"
)
. /etc/cxref/config
CCD=""
CCDF=""
if ! cmp -s "$DEF" "$TMP" ; then
echo "Warning: cxref-cpp needs to be reconfigured against your latest gcc/cpp" >&2
echo " Please run 'dpkg-reconfigure cxref' as root." >&2
if [ "$AUTOCONF" = "true" ] ; then
#
# Assumes that only the *last* -cxref-cpp-defines is taken into account
# by cxref-cpp.upstream
#
CCD=-cxref-cpp-defines
CCDF=$TMP
else
exit 1
fi
fi
exec /usr/bin/cxref-cpp.upstream "$@" "$CCD $CCDF"
|