+ AC_DEFINE(HAVE_SOLARIS, 1, [Solaris/SunOS])
+ [ rm -f src/device.c; ln -sf solaris/device.c src/device.c ]
+ ;;
+ *openbsd*)
+ AC_DEFINE(HAVE_OPENBSD, 1, [OpenBSD])
+ [ rm -f src/device.c; ln -sf openbsd/device.c src/device.c ]
+ ;;
+ *netbsd*)
+ AC_DEFINE(HAVE_NETBSD, 1, [NetBSD])
+ [ rm -f src/device.c; ln -sf netbsd/device.c src/device.c ]
+ ;;
+ *cygwin*)
+ AC_DEFINE(HAVE_CYGWIN, 1, [Cygwin])
+ [ rm -f src/device.c; ln -sf cygwin/device.c src/device.c ]
+ ;;
+ *)
+ AC_MSG_ERROR("Unknown operating system.")