Changeset 3140 for trunk/src/kmk/config/dospaths.m4
- Timestamp:
- Mar 14, 2018, 10:28:10 PM (7 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk
-
Property svn:mergeinfo
set to
/vendor/gnumake/current merged eligible
-
Property svn:mergeinfo
set to
-
trunk/src/kmk/config/dospaths.m4
r2591 r3140 2 2 # By Paul Smith <psmith@gnu.org>. Based on dos.m4 by Jim Meyering. 3 3 # 4 # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 4 # Copyright (C) 1993-2016 Free Software Foundation, Inc. 6 5 # This file is part of GNU Make. 7 6 # … … 19 18 # this program. If not, see <http://www.gnu.org/licenses/>. 20 19 21 AC_DEFUN([pds_AC_DOS_PATHS], 22 [ 23 AC_CACHE_CHECK([whether system uses MSDOS-style paths], [ac_cv_dos_paths], 24 [ 25 AC_COMPILE_IFELSE([ 20 AC_DEFUN([pds_AC_DOS_PATHS], [ 21 AC_CACHE_CHECK([whether system uses MSDOS-style paths], [ac_cv_dos_paths], [ 22 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ 26 23 #if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __EMX__ && !defined __MSYS__ && !defined __CYGWIN__ 27 24 neither MSDOS nor Windows nor OS2 28 25 #endif 29 ] ,26 ]])], 30 27 [ac_cv_dos_paths=yes], 31 [ac_cv_dos_paths=no]) 32 ]) 28 [ac_cv_dos_paths=no])]) 33 29 34 if test x"$ac_cv_dos_paths" = xyes; then 35 AC_DEFINE_UNQUOTED([HAVE_DOS_PATHS], 1, 36 [Define if the system uses DOS-style pathnames.]) 37 fi 38 ]) 30 AS_IF([test x"$ac_cv_dos_paths" = xyes], 31 [ AC_DEFINE_UNQUOTED([HAVE_DOS_PATHS], 1, 32 [Define if the system uses DOS-style pathnames.])]) 33 ])
Note:
See TracChangeset
for help on using the changeset viewer.