projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test-unlinkat: enhance test, to expose Solaris 9 bug
[gnulib.git]
/
m4
/
dos.m4
diff --git
a/m4/dos.m4
b/m4/dos.m4
index
dd59571
..
231ddc0
100644
(file)
--- a/
m4/dos.m4
+++ b/
m4/dos.m4
@@
-1,4
+1,4
@@
-#serial 1
0
-*- autoconf -*-
+#serial 1
1
-*- autoconf -*-
# Define some macros required for proper operation of code in lib/*.c
# on MSDOS/Windows systems.
# Define some macros required for proper operation of code in lib/*.c
# on MSDOS/Windows systems.
@@
-14,10
+14,10
@@
AC_DEFUN([gl_AC_DOS],
[
AC_CACHE_CHECK([whether system is Windows or MSDOS], [ac_cv_win_or_dos],
[
[
AC_CACHE_CHECK([whether system is Windows or MSDOS], [ac_cv_win_or_dos],
[
- AC_
TRY_COMPILE([],
-
[
#if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __CYGWIN__
+ AC_
COMPILE_IFELSE([AC_LANG_PROGRAM([], [[
+#if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __CYGWIN__
neither MSDOS nor Windows
neither MSDOS nor Windows
-#endif],
+#endif]
])]
,
[ac_cv_win_or_dos=yes],
[ac_cv_win_or_dos=no])
])
[ac_cv_win_or_dos=yes],
[ac_cv_win_or_dos=no])
])
@@
-28,10
+28,10
@@
neither MSDOS nor Windows
AC_CACHE_CHECK([whether drive letter can start relative path],
[ac_cv_drive_letter_can_be_relative],
[
AC_CACHE_CHECK([whether drive letter can start relative path],
[ac_cv_drive_letter_can_be_relative],
[
- AC_
TRY_COMPILE([],
-
[
#if defined __CYGWIN__
+ AC_
COMPILE_IFELSE([AC_LANG_PROGRAM([], [[
+#if defined __CYGWIN__
drive letters are always absolute
drive letters are always absolute
-#endif],
+#endif]
])]
,
[ac_cv_drive_letter_can_be_relative=yes],
[ac_cv_drive_letter_can_be_relative=no])
])
[ac_cv_drive_letter_can_be_relative=yes],
[ac_cv_drive_letter_can_be_relative=no])
])