This file is indexed.

/usr/bin/alogg-config is in libalogg-dev 1.3.7-1.1.

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

version=1.3.7
prefix=/usr
tremor=
curl=
pthread=1
shared=
major=1

usage()
{
  cat << "  EOF"
  alogg-config [--options]
    --help                 Prints this help
    --version              Prints installed alogg version
    --cflags               Prints compiler flags to compile with alogg
    --shared               Selects the shared version of alogg for subsequent libs
    --static               Selects the static version of alogg for subsequent libs
    --libs                 Prints linker options to link with alogg
    --libs-alogg-only      Prints linker options to link with alogg,
                            without its dependencies (Allegro, Ogg/Vorbis...)
    --libs-oggvorbis       Prints linker options to link with the
                            Ogg/Vorbis libraries alogg needs
    --with-tremor          Force use of Tremor library
    --without-tremor       Force use of standard Ogg/Vorbis library
  EOF
}

generate_alogg_libname()
{
  suffix="$1"
  if [ "$shared" = "1" ]
  then
    echo alogg"$suffix"-$major
  else
    echo alogg"$suffix"
  fi
}

generate_allegro_libs()
{
  if [ "$shared" = "1" ]
  then
    allegro_config_options="--shared"
  else
    allegro_config_options="--static"
  fi
  allegro-config --libs $allegro_config_options
}

if [ $# = 0 ]
then
  usage
  exit 1
fi

while [ $# -gt 0 ]
do
  case $1 in
    --version)
      echo ${version}
    ;;
    --cflags)
      msg="-I${prefix}/include `allegro-config --cflags`"
      if [ ! -z ${tremor} ]; then msg="${msg} -DALOGG_USE_TREMOR"; fi
      if [ ! -z ${curl} ]; then msg="${msg} -DALOGG_USE_CURL"; fi
      if [ ! -z ${pthread} ]; then msg="${msg} -DALOGG_USE_PTHREAD"; fi
      echo ${msg}
    ;;
    --shared)
      shared=1
    ;;
    --static)
      shared=0
    ;;
    --libs)
      if [ -z ${tremor} ]
      then
        msg="-L${prefix}/lib -l`generate_alogg_libname` `generate_allegro_libs`"
        msg="${msg} -lvorbisfile -lvorbisenc -lvorbis -logg -lm"
      else
        msg="-L${prefix}/lib -l`generate_alogg_libname t` `generate_allegro_libs`"
        msg="${msg} -lvorbisidec"
      fi
      if [ ! -z ${curl} ]; then msg="${msg} `curl-config --libs`"; fi
      if [ ! -z ${curl} ]; then msg="${msg} -lpthread"; fi
      echo ${msg}
    ;;
    --libs-alogg-only)
      if [ -z ${tremor} ]
      then
        echo -L${prefix}/lib -l`generate_alogg_libname`
      else
        echo -L${prefix}/lib -l`generate_alogg_libname t`
      fi
    ;;
    --libs-oggvorbis)
      if [ -z ${tremor} ]
      then
        echo "-lvorbisfile -lvorbisenc -lvorbis -logg"
      else
        echo "-lvorbisidec"
      fi
    ;;
    --with-tremor)
      tremor=1
    ;;
    --without-tremor)
      tremor=
    ;;
    --help)
      usage
    ;;
    *)
      usage
      exit 1
    ;;
  esac
  shift
done

exit 0