]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
authorAkim Demaille <akim@epita.fr>
Sun, 14 Oct 2001 11:48:18 +0000 (11:48 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 14 Oct 2001 11:48:18 +0000 (11:48 +0000)
`a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
From Eric Sharkey.

ChangeLog
lib/autoconf/lang.m4

index 693d311e820abdb181ca0543484bd2c285519636..455bda48b7a70514089a9171c82a01812b11ddd6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,15 @@
+2001-10-10  Akim Demaille  <akim@epita.fr>
+
+       * 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  <akim@epita.fr>
 
        * 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  <akim@epita.fr>
 
        * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
index 34f6cae383ea2f13abc4f80d456ffc846450e49e..dfcc6c97a388b953cb33515efe52ec91e0c46468 100644 (file)
@@ -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