Changeset 9ab1558f in rtems


Ignore:
Timestamp:
12/02/14 11:42:23 (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
69e3f27
Parents:
80d99aa
git-author:
Sebastian Huber <sebastian.huber@…> (12/02/14 11:42:23)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/02/14 12:05:30)
Message:

tools: Provide strnlen() if missing

Location:
tools/build
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • tools/build/Makefile.am

    r80d99aa r9ab1558f  
    66
    77cklength_SOURCES = cklength.c
    8 eolstrip_SOURCES = eolstrip.c
     8eolstrip_SOURCES = eolstrip.c compat.c
    99packhex_SOURCES = packhex.c
    10 unhex_SOURCES = unhex.c
     10unhex_SOURCES = unhex.c compat.c
    1111binpatch_SOURCES = binpatch.c
    1212rtems_bin2c_SOURCES = rtems-bin2c.c
  • tools/build/config.h.in

    r80d99aa r9ab1558f  
    3030/* Define to 1 if you have the <string.h> header file. */
    3131#undef HAVE_STRING_H
     32
     33/* Define to 1 if you have the `strnlen' function. */
     34#undef HAVE_STRNLEN
    3235
    3336/* Define to 1 if you have the `strtol' function. */
  • tools/build/configure.ac

    r80d99aa r9ab1558f  
    1111AC_PROG_CC
    1212AC_CHECK_HEADERS([getopt.h libgen.h])
    13 AC_CHECK_FUNCS(strerror strtol basename)
     13AC_CHECK_FUNCS(strerror strtol basename strnlen)
    1414
    1515RTEMS_PATH_KSH
Note: See TracChangeset for help on using the changeset viewer.