X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=config%2Foverride.m4;h=52bd1c3d1b82469bf38c11dddf5fbec82878820f;hb=00e52e5376c7ec604a739e6242e6be36221162d7;hp=fc2d5272d7498a15049d5e273388f98c42af7177;hpb=34017a41b36f663bf4c2ad3162315d9caf231a7e;p=deliverable%2Fbinutils-gdb.git diff --git a/config/override.m4 b/config/override.m4 index fc2d5272d7..52bd1c3d1b 100644 --- a/config/override.m4 +++ b/config/override.m4 @@ -48,6 +48,12 @@ _GCC_AUTOCONF_VERSION_CHECK ]) +dnl Ensure we do not use a buggy M4. +m4_if(m4_index([..wi.d.], [.d.]), [-1], + [m4_fatal(m4_do([m4 with buggy strstr detected. Please install +GNU M4 1.4.16 or newer and set the M4 environment variable]))]) + + dnl Fix 2.64 cross compile detection for AVR and RTEMS dnl by not trying to compile fopen. m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.64],