mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-01 14:16:02 +08:00
* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
(_AC_COMPILER_EXEEXT_REJECT): New. Also recognize *.bb and *.bbg as compilation byproducts. (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O) (_AC_COMPILER_OBJEXT): Use them. Fixes Debian #138666.
This commit is contained in:
parent
c0660d90e7
commit
9b7a51e844
@ -1,3 +1,12 @@
|
||||
2002-04-03 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
|
||||
(_AC_COMPILER_EXEEXT_REJECT): New.
|
||||
Also recognize *.bb and *.bbg as compilation byproducts.
|
||||
(_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
|
||||
(_AC_COMPILER_OBJEXT): Use them.
|
||||
Fixes Debian #138666.
|
||||
|
||||
2002-04-02 Peter Eisentraut <peter_e@gmx.net>
|
||||
|
||||
Integrate AC_PROG_CC_STDC into AC_PROG_CC.
|
||||
|
@ -391,7 +391,29 @@ m4_divert_pop()dnl
|
||||
#
|
||||
# When the w32 free Borland C++ command line compiler links a program
|
||||
# (conftest.exe), it also produces a file named `conftest.tds' in
|
||||
# addition to `conftest.obj'
|
||||
# addition to `conftest.obj'.
|
||||
#
|
||||
# - *.bb, *.bbg
|
||||
# Created per object by GCC when given -ftest-coverage.
|
||||
#
|
||||
# - *.xSYM
|
||||
# Created on BeOS. Seems to be per executable.
|
||||
|
||||
|
||||
# _AC_COMPILER_OBJEXT_REJECT
|
||||
# --------------------------
|
||||
# Case/esac pattern matching the files to be ignored when looking for
|
||||
# compiled object files.
|
||||
m4_define([_AC_COMPILER_OBJEXT_REJECT],
|
||||
[*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg])
|
||||
|
||||
|
||||
# _AC_COMPILER_EXEEXT_REJECT
|
||||
# --------------------------
|
||||
# Case/esac pattern matching the files to be ignored when looking for
|
||||
# compiled executables.
|
||||
m4_define([_AC_COMPILER_EXEEXT_REJECT],
|
||||
[_AC_COMPILER_OBJEXT_REJECT | *.o | *.obj])
|
||||
|
||||
|
||||
# We must not AU define them, because autoupdate would then remove
|
||||
@ -430,7 +452,7 @@ 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
|
||||
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
|
||||
_AC_COMPILER_EXEEXT_REJECT ) ;;
|
||||
a.out ) # We found the default executable, but exeext='' is most
|
||||
# certainly right.
|
||||
break;;
|
||||
@ -496,7 +518,7 @@ AS_IF([AC_TRY_EVAL(ac_link)],
|
||||
# `rm'.
|
||||
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
|
||||
case $ac_file in
|
||||
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
||||
_AC_COMPILER_EXEEXT_REJECT ) ;;
|
||||
*.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
|
||||
export ac_cv_exeext
|
||||
break;;
|
||||
@ -554,7 +576,7 @@ rm -f conftest.o conftest.obj
|
||||
AS_IF([AC_TRY_EVAL(ac_compile)],
|
||||
[for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
||||
case $ac_file in
|
||||
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
||||
_AC_COMPILER_OBJEXT_REJECT ) ;;
|
||||
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
||||
break;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user