diff options
author | mbr <mbr@FreeBSD.org> | 2003-09-02 15:27:38 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-09-02 15:27:38 +0000 |
commit | ccc3812476e334ade5336aa157187088e2026fd3 (patch) | |
tree | 145d47d9a3a320657d00eb40dd30cbcaa83fe8a8 /contrib/amd/m4/macros/check_mnttab_style.m4 | |
parent | 4dd2d26a989ad3499b4e38ca2a1a4faf7bedabd7 (diff) | |
parent | 7d0df748b4c59651751f156e408f856a02073b69 (diff) | |
download | FreeBSD-src-ccc3812476e334ade5336aa157187088e2026fd3.zip FreeBSD-src-ccc3812476e334ade5336aa157187088e2026fd3.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r119679,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/amd/m4/macros/check_mnttab_style.m4')
-rw-r--r-- | contrib/amd/m4/macros/check_mnttab_style.m4 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/contrib/amd/m4/macros/check_mnttab_style.m4 b/contrib/amd/m4/macros/check_mnttab_style.m4 new file mode 100644 index 0000000..2f5218a --- /dev/null +++ b/contrib/amd/m4/macros/check_mnttab_style.m4 @@ -0,0 +1,33 @@ +dnl ###################################################################### +dnl check style of accessing the mount table file +AC_DEFUN(AMU_CHECK_MNTTAB_STYLE, +[ +AC_CACHE_CHECK(mount table style, +ac_cv_style_mnttab, +[ +# select the correct style for mount table manipulation functions +case "${host_os_name}" in + aix* ) + ac_cv_style_mnttab=aix ;; + bsd* | bsdi* | freebsd* | netbsd* | openbsd* | darwin* | rhapsody* ) + ac_cv_style_mnttab=bsd ;; + isc3* ) + ac_cv_style_mnttab=isc3 ;; + mach3* ) + ac_cv_style_mnttab=mach3 ;; + osf* ) + ac_cv_style_mnttab=osf ;; + svr4* | sysv4* | solaris2* | sunos5* | aoi* ) + ac_cv_style_mnttab=svr4 ;; + ultrix* ) + ac_cv_style_mnttab=ultrix ;; + * ) + ac_cv_style_mnttab=file ;; +esac +]) +am_utils_link_files=${am_utils_link_files}libamu/mtabutil.c:conf/mtab/mtab_${ac_cv_style_mnttab}.c" " + +# append mtab utilities object to LIBOBJS for automatic compilation +AC_LIBOBJ(mtabutil) +]) +dnl ====================================================================== |