-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlibast-config.in
47 lines (45 loc) · 1.06 KB
/
libast-config.in
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 <[email protected]>
#
# 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