No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / am-utils / dist / m4 / macros / check_mount_trap.m4
blob7c90c5b1336d27338c29c9547e223cdab205d3df
1 dnl ######################################################################
2 dnl check the mount system call trap needed to mount(2) a filesystem
3 AC_DEFUN([AMU_CHECK_MOUNT_TRAP],
5 AC_CACHE_CHECK(mount trap system-call style,
6 ac_cv_mount_trap,
8 # select the correct style to mount(2) a filesystem
9 case "${host_os_name}" in
10         solaris1* | sunos[[34]]* )
11                 ac_cv_mount_trap=default ;;
12         hpux[[6-9]]* | hpux10* )
13                 ac_cv_mount_trap=hpux ;;
14         svr4* | sysv4* | solaris* | sunos* | aoi* | hpux* )
15                 ac_cv_mount_trap=svr4 ;;
16         news4* | riscix* )
17                 ac_cv_mount_trap=news4 ;;
18         linux* )
19                 ac_cv_mount_trap=linux ;;
20         irix* )
21                 ac_cv_mount_trap=irix ;;
22         aux* )
23                 ac_cv_mount_trap=aux ;;
24         hcx* )
25                 ac_cv_mount_trap=hcx ;;
26         rtu6* )
27                 ac_cv_mount_trap=rtu6 ;;
28         dgux* )
29                 ac_cv_mount_trap=dgux ;;
30         aix* )
31                 ac_cv_mount_trap=aix3 ;;
32         mach2* | mach3* )
33                 ac_cv_mount_trap=mach3 ;;
34         ultrix* )
35                 ac_cv_mount_trap=ultrix ;;
36         isc3* )
37                 ac_cv_mount_trap=isc3 ;;
38         stellix* )
39                 ac_cv_mount_trap=stellix ;;
40         netbsd* )
41                 ac_cv_mount_trap=netbsd ;;
42         * )
43                 ac_cv_mount_trap=default ;;
44 esac
46 am_utils_mount_trap=$srcdir"/conf/trap/trap_"$ac_cv_mount_trap".h"
47 AC_SUBST_FILE(am_utils_mount_trap)
49 dnl ======================================================================