New upstream release.
[debian/iodine.git] / src / osflags
1 #!/bin/sh
2
3 case $2 in
4 link)
5
6         case $1 in
7                 SunOS | solaris)
8                         echo '-lsocket -lnsl';
9                 ;;
10                 BeOS)
11                         echo '-lsocket -lbind -lbsd';
12                 ;;
13                 Haiku)
14                         echo '-lnetwork';
15                 ;;
16                 windows32)
17                         echo '-lws2_32 -liphlpapi';
18                 ;;
19         esac
20         ;;
21 cflags)
22         case $1 in
23                 BeOS)
24                         echo '-Dsocklen_t=int';
25                 ;;
26         esac
27 ;;
28 *)
29 ;;
30 esac