This file is indexed.

/usr/bin/liblas-config is in liblas-dev 1.8.0-7build1.

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
#!/bin/sh
prefix=/usr
exec_prefix=/usr/bin
libdir=/usr/lib

INCLUDES="-I${prefix}/include "
LIBS="-L$libdir -llas -llas_c -L/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libboost_program_options.so /usr/lib/x86_64-linux-gnu/libboost_thread.so" 

GDAL_INCLUDE="/usr/include/gdal"
if test -n "$GDAL_INCLUDE" ; then 
    INCLUDES="$INCLUDES -I$GDAL_INCLUDE"
fi
GDAL_LIBRARY="/usr/lib/libgdal.so"
if test -n "$GDAL_LIBRARY" ; then 
    LIBS="$LIBS $GDAL_LIBRARY"
fi

GEOTIFF_INCLUDE="/usr/include/geotiff"
if test -n "$GEOTIFF_INCLUDE" ; then 
    INCLUDES="$INCLUDES -I$GEOTIFF_INCLUDE"
fi
GEOTIFF_LIBRARY="/usr/lib/x86_64-linux-gnu/libgeotiff.so"
if test -n "$GEOTIFF_LIBRARY" ; then 
    LIBS="$LIBS $GEOTIFF_LIBRARY"
fi


ORACLE_INCLUDE=""
if test -n "$ORACLE_INCLUDE" ; then 
    INCLUDES="$INCLUDES -I$ORACLE_INCLUDE"
fi
ORACLE_OCI_LIBRARY=""
if test -n "$ORACLE_OCI_LIBRARY" ; then 
    LIBS="$LIBS $ORACLE_OCI_LIBRARY   "
fi

TIFF_INCLUDE="/usr/include/x86_64-linux-gnu"
if test -n "$TIFF_INCLUDE" ; then 
    INCLUDES="$INCLUDES -I$TIFF_INCLUDE"
fi
TIFF_LIBRARY="/usr/lib/x86_64-linux-gnu/libtiff.so"
if test -n "$TIFF_LIBRARY" ; then 
    LIBS="$LIBS $TIFF_LIBRARY"
fi

LIBXML2_INCLUDE_DIR=""
if test -n "$LIBXML2_INCLUDE_DIR" ; then 
    INCLUDES="$INCLUDES -I$LIBXML2_INCLUDE_DIR"
fi
LIBXML2_LIBRARIES=""
if test -n "$LIBXML2_LIBRARIES" ; then 
    LIBS="$LIBS $LIBXML2_LIBRARIES"
fi

LASZIP_INCLUDE_DIR=""
if test -n "$LASZIP_INCLUDE_DIR" ; then 
    INCLUDES="$INCLUDES -I$LASZIP_INCLUDE_DIR"
fi
LASZIP_LIBRARY=""
if test -n "$LASZIP_LIBRARY" ; then 
    LIBS="$LIBS $LASZIP_LIBRARY"
fi


usage()
{
	cat <<EOF
Usage: liblas-config [OPTIONS]
Options:
	[--libs]
	[--cflags]
	[--cxxflags]
	[--defines]
	[--includes]
	[--version]
EOF
	exit $1
}

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

case $1 in 
  --libs) 
    echo $LIBS
    ;;

  --prefix)
    echo ${prefix}
     ;;

  --ldflags)
    echo -L${libdir}
    ;;

  --defines)
    echo  -DHAVE_GDAL=1 -DHAVE_LIBGEOTIFF=1
    ;;

  --includes)
    echo ${INCLUDES}
    ;;

  --cflags)
    echo -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
    ;;

  --cxxflags)
    echo -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -ansi
    ;;
    
  --version)
    echo 1.8.0
    ;;

  *)
    usage 1 1>&2
    ;;

esac