X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fgetopt.m4;h=047a3db022141a001767069b7e3ba3e0d2239e2c;hb=39a489fa27ab3873e0fc0f65844413f46fcb2117;hp=7e49ddde9f6885488c3448344178d4b08876eae8;hpb=d5d252637037181eee5d0e5faf6ff52c1cad8bda;p=gnulib.git diff --git a/m4/getopt.m4 b/m4/getopt.m4 index 7e49ddde9..047a3db02 100644 --- a/m4/getopt.m4 +++ b/m4/getopt.m4 @@ -231,8 +231,12 @@ dnl is ambiguous with environment values that contain newlines. [AC_LANG_PROGRAM([[#include #include #include + ]GL_NOCRASH[ ]], [[ int result = 0; + + nocrash_init(); + /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10. */