Changeset 10949
- Timestamp:
- Jan 5, 2007, 6:13:51 PM (19 years ago)
- Location:
- trunk/psLib
- Files:
-
- 1 added
- 3 edited
-
configure.ac (modified) (1 diff)
-
src/sys/Makefile.am (modified) (1 diff)
-
src/sys/psString.h (modified) (2 diffs)
-
src/sys/strcasestr.c (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/configure.ac
r10487 r10949 458 458 LDFLAGS=${TMP_LDFLAGS} 459 459 CPPFLAGS=${TMP_CPPFLAGS} 460 461 dnl set NO_STRCASESTR if we can't find strcasestr 462 AC_CHECK_FUNC([strcasestr], [], [AC_SUBST(NO_STRCASESTR, [1])]) 460 463 461 464 dnl ------- enable -Werror after all of the probes have run --------- -
trunk/psLib/src/sys/Makefile.am
r8994 r10949 14 14 psSlurp.c \ 15 15 psString.c \ 16 psTrace.c 16 psTrace.c \ 17 strcasestr.c 17 18 18 19 EXTRA_DIST = sys.i psErrorCodes.c.in psErrorCodes.h.in -
trunk/psLib/src/sys/psString.h
r10446 r10949 14 14 * @author David Robbins, MHPCC 15 15 * 16 * @version $Revision: 1.3 3$ $Name: not supported by cvs2svn $17 * @date $Date: 200 6-12-04 22:15:04$16 * @version $Revision: 1.34 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2007-01-06 04:13:51 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 221 221 } 222 222 223 #ifndef DOXYGEN 224 #if NO_STRCASESTR 225 // this means that the system's libc does not provide strcasestr() 226 #define strcasestr(...) p_psstrcasestr(__VA_ARGS__) 227 extern char *p_psstrcasestr (const char *haystack, const char *needle) 228 __THROW __attribute_pure__ __nonnull ((1, 2)); 229 #endif // if NO_STRCASESTR 230 #endif // ifndef DOXYGEN 223 231 224 232 /** @} */// Doxygen - End of SystemGroup Functions
Note:
See TracChangeset
for help on using the changeset viewer.
