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