2005-05-16 Erez Zadok <ezk@cs.sunysb.edu>
+ * m4/macros/host_macros.m4: if a NetBSD system, remove 'elf' part
+ from OS name because it's no longer relevant. Also, don't include
+ the major OS version number in the OS name because that's also
+ unnecessary (and users can always use $osver in maps).
+
* amd/nfs_subr.c: use [1] for out-of-band pointer at the end of
struct am_fh, because it's the most portable method. Bug fix
suggestion from Dan Riley <dsr at mail.lns.cornell.edu>. Better
*** Notes specific to am-utils version 6.1-rc4
+For NetBSD systems, $os used to say "netbsdelf1" or "netbsdelf2." Now it
+just says "netbsd."
+
- bugs fixed:
* check for "macosx" in M4 macros properly
* minor memory leaks (thanks to Valgrind)
case ${host_os} in
# linux is linux is linux, regardless of RMS.
linux-gnu* | lignux* ) host_os=linux ;;
+ # NetBSD systems today are elf, so no need to distinguish
+ netbsdelf* ) host_os=`echo ${host_os} | sed 's/^netbsdelf/netbsd/'`;;
esac
AC_DEFINE_UNQUOTED(HOST_OS, "$host_os")
AC_MSG_RESULT($host_os)
case ${host_os_name} in
# linux is linux is linux, regardless of RMS.
linux-gnu* | lignux* ) host_os_name=linux ;;
+ # all NetBSD systems today should just show up as "netbsd"
+ netbsd* ) host_os_name=netbsd;;
esac
AC_DEFINE_UNQUOTED(HOST_OS_NAME, "$host_os_name")
AC_MSG_RESULT($host_os_name)