From: Akim Demaille Date: Sun, 14 Oct 2001 11:48:18 +0000 (+0000) Subject: * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize X-Git-Tag: AUTOCONF-2.52f~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d590fb24dfa8563b7cdb2c490f14f55da28fa290;p=thirdparty%2Fautoconf.git * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV. From Eric Sharkey. --- diff --git a/ChangeLog b/ChangeLog index 693d311e8..455bda48b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,15 @@ +2001-10-10 Akim Demaille + + * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize + `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV. + From Eric Sharkey. + 2001-10-10 Akim Demaille * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not m4_define, since... (_AS_ECHO_N): AS_REQUIREs it. - 2001-10-10 Akim Demaille * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS) diff --git a/lib/autoconf/lang.m4 b/lib/autoconf/lang.m4 index 34f6cae38..dfcc6c97a 100644 --- a/lib/autoconf/lang.m4 +++ b/lib/autoconf/lang.m4 @@ -408,6 +408,10 @@ AC_DEFUN([AC_OBJEXT], []) # Beware of `expr' that may return `0' or `'. Since this macro is # the first one in touch with the compiler, it should also check that # it compiles properly. +# +# On OpenVMS 7.1 system, the DEC C 5.5 compiler when called through a +# GNV (gnv.sourceforge.net) cc wrapper, produces the output file named +# `a_out.exe'. m4_define([_AC_COMPILER_EXEEXT_DEFAULT], [# Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition @@ -418,7 +422,7 @@ AS_IF([AC_TRY_EVAL(ac_link_default)], [# Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. -for ac_file in `ls a.exe conftest.exe 2>/dev/null; +for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; ls a.out conftest 2>/dev/null; ls a.* conftest.* 2>/dev/null`; do case $ac_file in