File: libast-config.in

package info (click to toggle)
libast 0.7-9
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,732 kB
  • sloc: ansic: 13,136; sh: 10,332; makefile: 78
file content (47 lines) | stat: -rwxr-xr-x 1,088 bytes parent folder | download | duplicates (6)
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
#!/bin/sh
#
# libast-config -- libast configuration helper script
#
# 29 October 2000
# Michael Jennings <mej@eterm.org>
#
# See libast source/documentation for license
#

prefix=@prefix@
exec_prefix=@exec_prefix@
CPPFLAGS="@CPPFLAGS@"
LDFLAGS="@LDFLAGS@"
LIBS="@LIBS@"
X11_SUPPORT=@LIBAST_X11_SUPPORT@
IMLIB2_SUPPORT=@LIBAST_IMLIB2_SUPPORT@
MMX_SUPPORT=@LIBAST_MMX_SUPPORT@
REGEXP_SUPPORT=@LIBAST_REGEXP_SUPPORT@
VERSION=@VERSION@

case $1 in
  -h | --help | -help)
    echo "Usage:  libast-config [--version] [--prefix] [--exec-prefix] [--cppflags] [--ldflags] [--libs] [--support]"
    ;;
  -v | --version | -version)
    echo "Libary of Assorted Spiffy Things:  libast $VERSION"
    ;;
  -p | --prefix | -prefix)
    echo "$prefix"
    ;;
  -e | --exec-prefix | -exec-prefix)
    echo "$exec_prefix"
    ;;
  -c | --cppflags | -cppflags | --cflags | -cflags)
    echo "$CPPFLAGS"
    ;;
  -l | --ldflags | -ldflags)
    echo "$LDFLAGS"
    ;;
  -L | --libs | -libs)
    echo "$LIBS"
    ;;
  -s | --support | -support)
    echo "$MMX_SUPPORT $X11_SUPPORT $IMLIB2_SUPPORT"
    ;;
esac