Last change
on this file since 287 was 151, checked in by bird, 20 years ago |
Initial revision
|
-
Property svn:eol-style
set to
native
|
File size:
670 bytes
|
Line | |
---|
1 | # Test if the system uses DOS-style pathnames (drive specs and backslashes)
|
---|
2 | # By Paul Smith <[email protected]>. Based on dos.m4 by Jim Meyering.
|
---|
3 |
|
---|
4 | AC_DEFUN([pds_AC_DOS_PATHS],
|
---|
5 | [
|
---|
6 | AC_CACHE_CHECK([whether system uses MSDOS-style paths], [ac_cv_dos_paths],
|
---|
7 | [
|
---|
8 | AC_COMPILE_IFELSE([
|
---|
9 | #if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __EMX__
|
---|
10 | neither MSDOS nor Windows nor OS2
|
---|
11 | #endif
|
---|
12 | ],
|
---|
13 | [ac_cv_dos_paths=yes],
|
---|
14 | [ac_cv_dos_paths=no])
|
---|
15 | ])
|
---|
16 |
|
---|
17 | if test x"$ac_cv_dos_paths" = xyes; then
|
---|
18 | AC_DEFINE_UNQUOTED([HAVE_DOS_PATHS], 1,
|
---|
19 | [Define if the system uses DOS-style pathnames.])
|
---|
20 | fi
|
---|
21 | ])
|
---|
Note:
See
TracBrowser
for help on using the repository browser.