This file is indexed.

/usr/bin/snacc-config is in snacc 1.3.1-7.

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

# the idea for this file comes from glib, gtk, and other modules from
# the GNOME project.

for option; do
  if test x$args = x; then args=ok; fi
  if test $args = bad; then break; fi
  
  case "$option" in
  --*=*) argument=`echo $option | sed 's/^.*=//'` ;;
  *) ;;
  esac

  case "$option" in
  --version) show_version=yes ;;
  --prefix=*) prefix=${argument} ;;
  --exec-prefix=*) exec_prefix=${argument} ;;
  --exec-prefix) show_exec_prefix=yes ;;
  --uninstalled=*) uninstalled=${argument} ;;
  --libtool) libtool=yes ;;
  --cflags) show_cflags=yes ;;
  --libs) show_libs=yes ;;
  --language=*) language=${argument} ;;
  --compiler) show_compiler=yes ;;
  --asn1specs) show_asn1specs=yes ;;
  ebuf) buffertype=${option} ;;
  mbuf) buffertype=${option} ;;
  sbuf) buffertype=${option} ;;
  tbl) buffertype=${option} ;;
  *) args=bad ;;
  esac
done

if test x$args != xok; then 
  cat <<EOF  
usage: snacc-config [OPTIONS] BUFFERTYPE
where OPTIONS are:
  --version
  --prefix=DIR
  --exec-prefix[=DIR]
  --uninstalled=DIR
  --libtool
  --cflags
  --libs
  --compiler
  --asn1
  --language=LANG  (C or C++)
where BUFFERTYPE is one of:
  ebuf
  mbuf
  sbuf
  tbl
EOF
  exit 1
fi

if test x$prefix = x; then prefix=/usr; fi
if test x$exec_prefix = x; then 
  if test ${prefix} = /usr; then
    exec_prefix=$prefix
  else
    exec_prefix=${prefix}
  fi
fi
if test x$language = x; then language=C; fi

if test x$show_cflags = xyes; then
  if test x$uninstalled = x; then 
    case "$language" in
    C)   echo -n "-I${prefix}/include/snacc/c " ;;
    C++) echo -n "-I${prefix}/include/snacc/c++ " ;;
    *) ;;
    esac
  else
    echo -n "-I$uninstalled "
    case "$language" in
    C)   echo -n "-I$uninstalled/c-lib/inc -I$uninstalled/c-lib/$buffertype " ;;
    C++) echo -n "-I$uninstalled/c++-lib/inc -I$uninstalled/c++-lib/c++ " ;;
    *) ;;
    esac
  fi
  case "x$buffertype" in
  xebuf) echo -n "-DUSE_EXP_BUF " ;;
  xmbuf) echo -n "-DUSE_MIN_BUF " ;;
  xsbuf) echo -n "-DUSE_SBUF " ;;
  xtbl) echo -n "-DUSE_GEN_BUF -DTTBL " ;;
  *) ;;
  esac
  echo ""
fi

if test x$show_libs = xyes; then
  if test x$uninstalled = x; then 
    if test $exec_prefix != /usr; then echo -n "-L${exec_prefix}/lib "; fi
    case "$language" in
    C)   echo -n "-lasn1c${buffertype} " ;;
    C++) echo -n "-lasn1c++ " ;;
    *) ;;
    esac
  else
    if test x$libtool = xyes; then
      case "$language" in
      C)   echo -n "$uninstalled/c-lib/$buffertype/libasn1c${buffertype}.la " ;;
      C++) echo -n "$uninstalled/c++-lib/c++/libasn1c++.la " ;;
      *) ;;
      esac
    else
      case "$language" in
      C)   echo -n "-L$uninstalled/c-lib/$buffertype/.libs -lasn1c${buffertype} " ;;
      C++) echo -n "-L$uninstalled/c++-lib/c++/.libs -lasn1c++ " ;;
      *) ;;
      esac
    fi
  fi
  echo ""
fi

if test x$show_exec_prefix = xyes; then
  echo ${exec_prefix}
fi

if test x$show_version = xyes; then
  echo 1.3.1
fi

if test x$show_compiler = xyes; then
  if test x$uninstalled = x; then 
    echo ${exec_prefix}/bin/snacc
  else
    echo $uninstalled/compiler/core/snacc
  fi
fi

if test x$show_asn1specs = xyes; then
  if test x$uninstalled = x; then 
    echo ${prefix}/include/snacc/asn1
  else
    echo $uninstalled/asn1specs
  fi
fi

exit 0