File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / m4 / ntp_dir_sep.m4
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

dnl ######################################################################
dnl What directory path separator do we use?
AC_DEFUN([NTP_DIR_SEP], [
AC_CACHE_CHECK(
    [for directory path separator],
    [ntp_cv_dir_sep],
    [
	case "$ntp_cv_dir_sep" in
	 '')
	    case "$target_os" in
	     *djgpp | *mingw32* | *emx*)
		ntp_cv_dir_sep="'\\'"
		;;
	     *) 
		ntp_cv_dir_sep="'/'"
		;;
	    esac
	esac
    ]
)
AC_DEFINE_UNQUOTED([DIR_SEP], [$ntp_cv_dir_sep],
    [Directory separator character, usually / or \\])
])
dnl ======================================================================

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>