WINGs: mark the script 'get-wings-flags' as deprecated
[wmaker-crm.git] / WINGs / get-wings-flags
blobc7342a08e4f5e72d542e599ebe61b29b0849abdf
1 #!/bin/sh
3 # [Christophe CURIS, 2015/01/31]
4 # This script is now reporting itself as deprecated (this should have been done
5 # a long time ago), so it should be kept for at least 2 years from now in order
6 # to allow users to update their scripts, and then removed.
8 if test $# -eq 0; then
9 echo "Error: $0 is deprecated, please use 'pkg-config WINGs ...'" >&2
10 exit 1
13 while test $# -gt 0; do
14 case $1 in
15 --cflags)
16 echo "Warning: $0 is deprecated, please use 'pkg-config WINGs --cflags'" >&2
17 pkg-config WINGs --cflags
19 --ldflags|--lflags)
20 echo "Warning: $0 is deprecated, please use 'pkg-config WINGs --libs'" >&2
21 pkg-config WINGs --libs-only-L
23 --libs)
24 echo "Warning: $0 is deprecated, please use 'pkg-config WINGs --libs'" >&2
25 pkg-config WINGs --libs
28 echo "Error: $0 is deprecated, please use 'pkg-config WINGs ...'" >&2
29 exit 1
31 esac
32 shift
33 done