forked from libdynd/libdynd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibdynd-config.in
57 lines (49 loc) · 1.46 KB
/
libdynd-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
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env sh
if [ "$1" = "-libnames" ]; then
echo @DYND_LIB_FILE@\;@DYNDT_LIB_FILE@
exit 0
fi
if [ "$1" = "-libdyndname" ]; then
echo @DYND_LIB_FILE@
exit 0
fi
if [ "$1" = "-libdyndtname" ]; then
echo @DYNDT_LIB_FILE@
exit 0
fi
if [ "$1" = "-libdir" ]; then
# This script should be in .../bin relative to .../lib.
# Note this isn't robust against symbolic links, etc.
DIR=`dirname $0`
echo `dirname ${DIR}`/lib
exit 0
fi
if [ "$1" = "-includedir" ]; then
# This script should be in .../bin relative to .../include.
# Note this isn't robust against symbolic links, etc.
DIR=`dirname $0`
echo `dirname ${DIR}`/include
exit 0
fi
if [ "$1" = "-rootdir" ]; then
# This script should be in .../bin relative to .../include.
# Note this isn't robust against symbolic links, etc.
DIR=`dirname $0`
echo `dirname ${DIR}`
exit 0
fi
if [ "$1" = "-version" ]; then
echo @DYND_VERSION_STRING@
exit 0
fi
echo Usage: $0 OPTION
echo Print information for linking libdynd.
echo
echo Options:
echo -libnames Prints a semicolon separated list of the library names.
echo -libdyndname Prints the name of the dynd library.
echo -libdyndtname Prints the name of the dyndt library.
echo -libdir Prints the full path of the directory containing the libraries.
echo -includedir Prints the directory with the libdynd include files.
echo -version Prints the version of libdynd.
exit 1