This file is indexed.

/usr/bin/sc-config is in libsc-dev 2.3.1-16.

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
#!/bin/sh

prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include/sc
LIBSUF=la
exec_prefix_set=no
libs=" -lderiv -lr12 -lint -lmpi++ -lfl -lm -ldl  -lblas   -L/usr//lib -L/usr/lib/openmpi/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lmpi_f77 -lmpi -ldl -lhwloc -lgfortran -lm -lgcc_s -lquadmath -lpthread -llapack -lblas   -L/usr//lib -L/usr/lib/openmpi/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lmpi_f77 -lmpi -ldl -lhwloc -lgfortran -lm -lgcc_s -lquadmath -lpthread"
all_sclibs="libSCpsi.la libSCintcca.la libSCmbptr12.la libSCcints.la libSCmbpt.la libSCscf.la libSCdft.la libSCwfn.la libSCsolvent.la libSCintv3.la libSCbasis.la libSCoint3.la cca/libSCchemistry.la libSCmolecule.la libSCsymmetry.la libSCisosurf.la libSCoptimize.la libSCscmat.la libSCgroup.la libSCrender.la libSCoptions.la libSCmisc.la libSCstate.la libSCkeyval.la libSCclass.la libSCcontainer.la libSCref.la"
cppdefines="-DHAVE_CONFIG_H -D_REENTRANT "
cxxflags="-O2 "
cppflags="-I/usr/include/mpi"
cflags="-O "
f77flags="-g -O2"
cxx="mpic++"
cc="mpicc"
f77="mpif77"
version="2.3.1"
soversion="8:0:1"
buildid=""
scdatadir=/usr/share/mpqc
enableshared=yes

# set up libtool related variables
if [ X$enableshared = Xyes ]; then
  libtool=${prefix}/bin/sc-libtool
  ltlink="$libtool --mode=link"
  if [ -n "$buildid" ]; then
    ltlinklibopts="-rpath $libdir -release $buildid -version-info $soversion"
  else
    ltlinklibopts="-rpath $libdir -version-info $soversion"
  fi
  ltlinkbinopts=
  ltcomp="$libtool --mode=compile"
  ltinst="$libtool --mode=install"
else
  libtool=
  ltlink=
  ltlinklibopts=
  ltlinkbinopts=
  ltcomp=
  ltinst=
fi

sclibs=""
for i in `echo $all_sclibs | sed -r 's/\.la/.so/g'`; do
  if [ -f $libdir/$i ]; then
    li=`echo $i | sed "s/^lib\([a-zA-Z0-9]*\).so/-l\1/g"`
    sclibs="$sclibs $li"
  fi
done

usage="\
Usage: sc-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--buildid] [--so-version] [--datadir] [--libs] [--libdir] [--cppflags] [--cc] [--cflags] [--cxx] [--cxxflags] [--f77] [--f77flags] [--libtool] [--ltlink] [--ltlinklibopts] [--ltlinkbinopts] [--ltcomp] [--ltinst]"

if test $# -eq 0; then
      echo "${usage}" 1>&2
      exit 1
fi

if test ${includedir} != /usr/include ; then
  includes=-I${includedir}
fi

while test $# -gt 0; do
  case "$1" in
  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) optarg= ;;
  esac

  case $1 in
    --prefix=*)
      prefix=$optarg
      if test $exec_prefix_set = no ; then
        exec_prefix=$optarg
      fi
      ;;
    --prefix)
      echo $prefix
      ;;
    --exec-prefix=*)
      exec_prefix=$optarg
      exec_prefix_set=yes
      ;;
    --exec-prefix)
      echo $exec_prefix
      ;;
    --version)
      echo $version
      ;;
    --so-version)
      echo $soversion | sed s/:/./g
      ;;
    --scdatadir)
      echo $scdatadir
      ;;
    --buildid)
      echo $buildid
      ;;
    --cppflags)
      echo $includes $cppflags
      ;;
    --cflags)
      echo $cflags
      ;;
    --cxxflags)
      echo $cxxflags
      ;;
    --cc)
      echo $cc
      ;;
    --f77flags)
      echo $f77flags
      ;;
    --f77)
      echo $f77
      ;;
    --cxx)
      echo $cxx
      ;;
    --libdir)
      echo $libdir
      ;;
    --libs)
      echo -L${libdir} $sclibs
      ;;
    --libtool)
      echo $libtool
      ;;
    --ltlink)
      echo $ltlink
      ;;
    --ltlinklibopts)
      echo $ltlinklibopts
      ;;
    --ltlinkbinopts)
      echo $ltlinkbinopts
      ;;
    --ltcomp)
      echo $ltcomp
      ;;
    --ltinst)
      echo $ltinst
      ;;
    *)
      echo "${usage}" 1>&2
      exit 1
      ;;
  esac
  shift
done