This file is indexed.

/usr/bin/librsb-config is in librsb-dev 1.2.0-rc5-3+deb9u1.

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
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
#! /bin/sh

# librsb-config
# provides configuration info for librsb.

# Copyright (C) 2010-2016 Michele Martone
# Modeled after libpng-config, Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson

version="1.2.0 "
prefix="/usr"
exec_prefix="${prefix}"
libdir="${prefix}/lib/x86_64-linux-gnu"
cc="gcc"
fc="gfortran"
cxx="g++"
#includedir="${prefix}/include/librsb@LIBRSB_MAJOR@@LIBRSB_MINOR@"
#includedir="${prefix}/include/@LIBRSB_MAJOR@@LIBRSB_MINOR@"
includedir="${prefix}/include/"
#libs="-lrsb@LIBRSB_MAJOR@@LIBRSB_MINOR@"
libs="-lrsb "
#all_libs="-lrsb@LIBRSB_MAJOR@@LIBRSB_MINOR@  -lm -lhwloc   -lz -lgfortran"
#all_libs="-lrsb  -lm -lhwloc   -lz -lgfortran"
extra_libs=" -lm -lhwloc   -lz -lgfortran -fopenmp "
all_libs="-lrsb "
I_opts="-I${includedir} "
L_opts="-L${libdir} "
R_opts="-Wl,-rpath -Wl,${libdir} "
cppflags=""
ccopts=""
ldopts=""

usage()
{
    cat <<EOF
Usage: $0 [OPTION] ...

Known values for OPTION are:

  --prefix        print librsb prefix
  --libdir        print path to directory containing library
  --libs          print library linking information
  --extra_libs    print extra linking information (e.g.: dependency libs)
  --ccopts        print compiler options
  --cc            print C compiler
  --fc            print Fortran compiler
  --cxx           print C++ compiler
  --cppflags      print pre-processor flags
  --cflags        print preprocessor flags, I_opts, and compiler options
  --I_opts        print "-I" include options
  --L_opts        print linker "-L" flags for dynamic linking
  --R_opts        print dynamic linker "-R" or "-rpath" flags
  --ldopts        print linker options
  --ldflags       print linker flags (ldopts, L_opts, R_opts, and libs)
  --static        revise subsequent outputs for static linking
  --help          print this help and exit
  --version       print version information
EOF

    exit $1
}

if test $# -eq 0; then
    usage 1
fi

while test $# -gt 0; do
    case "$1" in

    --prefix)
        echo -n ${prefix}
        ;;

    --version)
        echo -n ${version}
        exit 0
        ;;

    --help)
        usage 0
        ;;

    --ccopts)
        echo -n ${ccopts}
        ;;

    --cc)
        echo -n ${cc}
        ;;

    --fc)
        echo -n ${fc}
        ;;

    --cxx)
        echo -n ${cxx}
        ;;

    --cppflags)
        echo -n ${cppflags}
        ;;

    --cflags)
        echo -n ${I_opts} ${cppflags} ${ccopts}
        ;;

    --libdir)
        echo -n ${libdir}
        ;;

    --libs)
        echo -n ${libs}
        ;;

    --extra_libs)
        echo -n ${extra_libs}
        ;;

    --I_opts)
        echo -n ${I_opts}
        ;;

    --L_opts)
        echo -n ${L_opts}
        ;;

    --R_opts)
        echo -n ${R_opts}
        ;;

    --ldopts)
    	echo -n ${ldopts}
	;;

    --ldflags)
        echo -n ${ldopts} ${L_opts} ${R_opts} ${libs}
        ;;

    --static)
        R_opts=""
	all_libs="${libdir}/librsb.a"
	libs=${all_libs}
        ;;

    *)
        usage
        exit 1
        ;;
    esac
    if test $# -gt 1; then echo -n \  ; fi
    shift
done
echo

exit 0