diff options
author | Alexey Neyman <stilor@att.net> | 2018-02-04 23:58:06 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-04-07 12:03:17 -0700 |
commit | 7655fc2a3c64fce46517d4a2af047d4c6e663f50 (patch) | |
tree | 9e7bacb857203244a56a675fc091fee7cf4fb02f /m4 | |
parent | 9238b587210c53ba51dd665ffb9ff3e13456880f (diff) | |
download | crosstool-ng-7655fc2a3c64fce46517d4a2af047d4c6e663f50.tar.gz crosstool-ng-7655fc2a3c64fce46517d4a2af047d4c6e663f50.tar.bz2 crosstool-ng-7655fc2a3c64fce46517d4a2af047d4c6e663f50.zip |
Cleanup after rebase on master:
gperf detection macros no longer needed, gperf is not used anymore.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ctng_gperf.m4 | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/m4/ctng_gperf.m4 b/m4/ctng_gperf.m4 deleted file mode 100644 index 3873028d..00000000 --- a/m4/ctng_gperf.m4 +++ /dev/null @@ -1,21 +0,0 @@ -# Check for GNU perf location and the type it uses in the prototypes -AC_DEFUN([CTNG_PROG_GPERF], - [AX_REQUIRE_DEFINED([CTNG_CHECK_TOOL_REQ]) - CTNG_CHECK_TOOL_REQ([GPERF], [gperf], [gperf]) - # Gperf 3.1 started generating functions with size_t rather than unsigned int - AC_MSG_CHECKING([for the type used in gperf declarations]) - cat > conftest.gperf.c <<_ASEOF -#include <string.h>" -const char * in_word_set(const char *, GPERF_LEN_TYPE); -_ASEOF - echo foo,bar | ${GPERF} -L ANSI-C >> conftest.gperf.c - AS_IF([${CC} -c -o /dev/null conftest.gperf.c -DGPERF_LEN_TYPE='size_t' >/dev/null 2>&1], - [AC_MSG_RESULT([size_t]) - GPERF_LEN_TYPE='size_t'], - [${CC} -c -o /dev/null conftest.gperf.c -DGPERF_LEN_TYPE='unsigned int' >/dev/null 2>&1], - [AC_MSG_RESULT([unsigned int]) - GPERF_LEN_TYPE='unsigned int'], - [AC_MSG_ERROR([unable to determine gperf len type])]) - rm -f conftest.gperf.c - AC_DEFINE_UNQUOTED([GPERF_LEN_TYPE], $GPERF_LEN_TYPE, [String length type used by gperf]) -]) |