ntp_dir_sep.m4 revision 275970
1214152Seddnl ######################################################################
2214152Seddnl What directory path separator do we use?
3214152SedAC_DEFUN([NTP_DIR_SEP], [
4214152SedAC_CACHE_CHECK(
5222656Sed    [for directory path separator],
6222656Sed    [ntp_cv_dir_sep],
7214152Sed    [
8214152Sed	case "$ntp_cv_dir_sep" in
9214152Sed	 '')
10214152Sed	    case "$host_os" in
11214152Sed	     *djgpp | *mingw32* | *emx*)
12214152Sed		ntp_cv_dir_sep="'\\'"
13214152Sed		;;
14214152Sed	     *) 
15239138Sandrew		ntp_cv_dir_sep="'/'"
16239138Sandrew		;;
17263763Sdim	    esac
18214152Sed	esac
19214152Sed    ]
20214152Sed)
21214152SedAC_DEFINE_UNQUOTED([DIR_SEP], [$ntp_cv_dir_sep],
22214152Sed    [Directory separator character, usually / or \\])
23214152Sed])
24214152Seddnl ======================================================================
25214152Sed