#!/bin/sh # # Authors: # Hayaki Saito, 2015 # Fredrick R. Brennan & libsixel developers (see AUTHORS), 2021- # prefix=/usr exec_prefix=bin libdir=lib/x86_64-linux-gnu include_dir=include/sixel bindir=bin datadir=share datarootdir=share mandir=share/man LANG=C; export LANG LANGUAGE=C; export LANGUAGE LC_ALL=C; export LC_ALL LC_CTYPE=C; export LC_CTYPE test $# = 0 && exec /bin/sh $0 --error while test $# -gt 0; do case "$1" in # basic configuration --prefix) echo "$prefix" ;; --exec-prefix) echo "${exec_prefix}" ;; # compile/link --cflags) echo "-I${include_dir}" ;; --libs) echo "-L${libdir} -lsixel" ;; # identification --version) echo 1.10.3 ;; --abi-version) echo @LS_LT_CURRENT@:@LS_LT_REVISION@:@LS_LT_AGE@ | tr : . ;; # locations --bindir) echo "${bindir}" ;; --datadir) echo "${datadir}" ;; --datarootdir) echo "${datarootdir}" ;; --libdir) echo "${libdir}" ;; --mandir) echo "${mandir}" ;; # general info --help) cat <&2 exit 1 ;; esac shift done