+dnl Check OS for os_dep files.
+uname=`uname`
+AC_MSG_CHECKING(for OS type)
+case "$uname" in
+ *inux*)
+ AC_MSG_RESULT($uname found.)
+ OSDEP_C="os_linux.c"
+ ;;
+ *olaris*)
+ AC_MSG_RESULT($uname found.)
+ OSDEP_C="os_solaris.c"
+ ;;
+ *SunOS*)
+ AC_MSG_RESULT($uname found.)
+ OSDEP_C="os_solaris.c"
+ ;;
+ *BSD*)
+ AC_MSG_RESULT($uname found.)
+ OSDEP_C="os_bsd.c"
+ ;;
+ *)
+ AC_MSG_RESULT(Unknown OS. Using generic routines.)
+ OSDEP_C="os_generic.c"
+ ;;
+esac
+AC_SUBST(OSDEP_C)
+