Use LinkableValueNode members functions when possible in the derived valuenodes.
[synfig.git] / ETL / ETL-config.in
1 #!/bin/sh
2
3 VERSION=@VERSION@
4 PACKAGE=@PACKAGE@
5
6 usage()
7 {
8         cat <<EOF
9 Usage: ETL-config [OPTION]...
10
11 Generic options
12   --version     print installed version of ETL.
13   --help        display this help and exit.
14
15 Compilation support options
16   --cflags      print pre-processor and compiler flags
17   --libs        print library linking information
18   
19 Install directories
20   --prefix --exec-prefix --bindir --libexecdir --datadir
21   --sysconfdir --sharedstatedir --localstatedir --libdir --infodir
22   --mandir --includedir
23
24 EOF
25         
26         exit $1
27 }
28
29 if test $# -eq 0; then
30         usage 1
31 fi
32
33 case $1 in
34 --version)
35         echo $PACKAGE $VERSION
36         exit 0
37         ;;
38 --exec-prefix)
39         pkg-config --variable=exec_prefix ETL
40         exit 0
41         ;;
42 --prefix)
43         pkg-config --variable=prefix ETL
44         exit 0
45         ;;
46 --help)
47         usage 0
48         ;;
49 --cxxflags)
50         pkg-config --cflags ETL
51         exit 0
52         ;;
53 --cflags)
54         pkg-config --cflags ETL
55         exit 0
56         ;;
57 --libs)
58         pkg-config --libs ETL
59         exit 0
60         ;;
61 esac
62
63 echo Unknown option "$1"
64 exit 4