File: xerces_path_delimiters.m4

package info (click to toggle)
xerces-c 3.2.4%2Bdebian-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,728 kB
  • sloc: cpp: 167,126; xml: 23,619; sh: 4,792; ansic: 3,988; makefile: 1,438; perl: 355; javascript: 18
file content (30 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
dnl @synopsis XERCES_PATH_DELIMITERS
dnl
dnl Configures the path delimiter characters.
dnl
dnl @category C
dnl @author James Berry
dnl @version 2005-06-07
dnl @license AllPermissive
dnl
dnl $Id$

AC_DEFUN([XERCES_PATH_DELIMITERS],
	[
		AC_MSG_CHECKING([for which path delimiter characters to accept])
		
		dnl We accept / in all cases.
		path_delims=/
		
		case $host_os in
		msdos* | windows* | mingw*)
			AC_DEFINE([XERCES_PATH_DELIMITER_BACKSLASH], 1, [Define to use backslash as an extra path delimiter character])
			path_delims="${path_delims}\\"
			;;
		esac

		AC_MSG_RESULT($path_delims)
	]
)