X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fgetopt.m4;h=047a3db022141a001767069b7e3ba3e0d2239e2c;hb=a2eb92ef60dd05e9423948534ab483f7ffeb0647;hp=7e49ddde9f6885488c3448344178d4b08876eae8;hpb=4cf71a8c15b38ca98e8b6aef03fe64dfbba51492;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. */