Changeset 147
- Timestamp:
- 09/06/08 13:27:15 (3 months ago)
- Files:
-
- config.h.in (modified) (1 diff)
- configure.ac (modified) (1 diff)
- distros/fedora (added)
- distros/fedora/fim.spec (added)
- src/fim.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
config.h.in
r146 r147 138 138 /* Defined, if libpng support is enabled */ 139 139 #undef FIM_WITH_LIBPNG 140 141 /* Define to 1 if you have the <climits> header file. */ 142 #undef HAVE_CLIMITS 140 143 141 144 /* Define to 1 if you have the <cstdio> header file. */ configure.ac
r146 r147 172 172 AC_CHECK_HEADERS([linux/kd.h], [break], AC_MSG_ERROR([[Cannot find linux/kd.h. Fim requires it!.]])) 173 173 174 AC_CHECK_HEADERS([ limits.h], [break], AC_MSG_ERROR([[Cannot find limits.h. Fim requires it!.]]))174 AC_CHECK_HEADERS([climits limits.h], [break], AC_MSG_ERROR([[Cannot find limits.h nor climits. Fim requires it!.]])) 175 175 176 176 AC_CHECK_SIZEOF([int]) src/fim.h
r141 r147 60 60 #endif 61 61 62 #ifdef HAVE_CLIMITS 63 #include <climits> 64 /* From: 65 * ISO C++ 14882: 18.2.2 Implementation properties: C library 66 * we get some more stuff than limits.h. */ 67 #else 62 68 #ifdef HAVE_LIMITS_H 63 69 /* According to IEEE Std 1003.1-2001, 64 70 * this should define _POSIX_PATH_MAX 65 71 * */ 66 #include <limits.h> 67 #else 68 #ifndef _POSIX_PATH_MAX 69 /* I don't know in what case could arise this situation, but this would be the fix :*/ 70 #define _POSIX_PATH_MAX 4096 71 #endif 72 #include <limits.h> 72 73 #endif 74 #endif 75 #ifndef _POSIX_PATH_MAX 76 /* I don't know in what case could arise this situation 77 * (no limits.h nor climits : i guess a badly configured system), 78 * but this would be the fix :*/ 79 #define _POSIX_PATH_MAX 4096 80 #endif 73 81 74 82 #if 0

