diff options
| author | Tharre <tharre3@gmail.com> | 2015-09-14 20:19:14 +0200 | 
|---|---|---|
| committer | Tharre <tharre3@gmail.com> | 2016-10-07 20:13:36 +0000 | 
| commit | 98ba0e744bdf99ce0a894451700f11c39dc2579b (patch) | |
| tree | 0586076ab8c7f3acde1bfef4375e6d4bdcd76003 /shell/_emacs.d/tools/libs/libpng12-config | |
| parent | 71a55046a49ea4f340638fc989fbad1a6b001ca7 (diff) | |
| download | dotfiles-98ba0e744bdf99ce0a894451700f11c39dc2579b.tar.gz dotfiles-98ba0e744bdf99ce0a894451700f11c39dc2579b.tar.xz dotfiles-98ba0e744bdf99ce0a894451700f11c39dc2579b.zip  | |
emacs: actually install .emacs.d
Diffstat (limited to 'shell/_emacs.d/tools/libs/libpng12-config')
| -rw-r--r-- | shell/_emacs.d/tools/libs/libpng12-config | 124 | 
1 files changed, 124 insertions, 0 deletions
diff --git a/shell/_emacs.d/tools/libs/libpng12-config b/shell/_emacs.d/tools/libs/libpng12-config new file mode 100644 index 0000000..3c39bc9 --- /dev/null +++ b/shell/_emacs.d/tools/libs/libpng12-config @@ -0,0 +1,124 @@ +#! /bin/sh + +# libpng-config +# provides configuration info for libpng. + +# Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson +# For conditions of distribution and use, see copyright notice in png.h + +# Modeled after libxml-config. + +version="1.2.37" +prefix="c:/progra~1/libpng" +exec_prefix="${prefix}" +libdir="${exec_prefix}/lib" +includedir="${prefix}/include/libpng12" +libs="-lpng12" +all_libs="-lpng12 -lz +I_opts="-I${includedir}" +L_opts="-L${libdir}" +R_opts="" +cppflags="" +ccopts="" +ldopts="" + +usage() +{ +    cat <<EOF +Usage: $0 [OPTION] ... + +Known values for OPTION are: + +  --prefix        print libpng prefix +  --libdir        print path to directory containing library +  --libs          print library linking information +  --ccopts        print compiler options +  --cppflags      print pre-processor flags +  --cflags        print preprocessor flags, I_opts, and compiler options +  --I_opts        print "-I" include options +  --L_opts        print linker "-L" flags for dynamic linking +  --R_opts        print dynamic linker "-R" or "-rpath" flags +  --ldopts        print linker options +  --ldflags       print linker flags (ldopts, L_opts, R_opts, and libs) +  --static        revise subsequent outputs for static linking +  --help          print this help and exit +  --version       print version information +EOF + +    exit $1 +} + +if test $# -eq 0; then +    usage 1 +fi + +while test $# -gt 0; do +    case "$1" in + +    --prefix) +        echo ${prefix} +        ;; + +    --version) +        echo ${version} +        exit 0 +        ;; + +    --help) +        usage 0 +        ;; + +    --ccopts) +        echo ${ccopts} +        ;; + +    --cppflags) +        echo ${cppflags} +        ;; + +    --cflags) +        echo ${I_opts} ${cppflags} ${ccopts} +        ;; + +    --libdir) +        echo ${libdir} +        ;; + +    --libs) +        echo ${libs} +        ;; + +    --I_opts) +        echo ${I_opts} +        ;; + +    --L_opts) +        echo ${L_opts} +        ;; + +    --R_opts) +        echo ${R_opts} +        ;; + +    --ldopts) +    	echo ${ldopts} +	;; + +    --ldflags) +        echo ${ldopts} ${L_opts} ${R_opts} ${libs} +        ;; + +    --static) +        R_opts="" +	libs=${all_libs} +        ;; + +    *) +        usage +        exit 1 +        ;; +    esac +    shift +done + +exit 0  | 
