/[autoconf]/autoconf/lib/autoconf/lang.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/lang.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.153 by petere, Sat Mar 2 15:19:48 2002 UTC revision 1.154 by akim, Wed Apr 3 09:27:04 2002 UTC
# Line 391  m4_divert_pop()dnl Line 391  m4_divert_pop()dnl
391  #  #
392  # When the w32 free Borland C++ command line compiler links a program  # When the w32 free Borland C++ command line compiler links a program
393  # (conftest.exe), it also produces a file named `conftest.tds' in  # (conftest.exe), it also produces a file named `conftest.tds' in
394  # addition to `conftest.obj'  # addition to `conftest.obj'.
395    #
396    # - *.bb, *.bbg
397    #   Created per object by GCC when given -ftest-coverage.
398    #
399    # - *.xSYM
400    #   Created on BeOS.  Seems to be per executable.
401    
402    
403    # _AC_COMPILER_OBJEXT_REJECT
404    # --------------------------
405    # Case/esac pattern matching the files to be ignored when looking for
406    # compiled object files.
407    m4_define([_AC_COMPILER_OBJEXT_REJECT],
408    [*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg])
409    
410    
411    # _AC_COMPILER_EXEEXT_REJECT
412    # --------------------------
413    # Case/esac pattern matching the files to be ignored when looking for
414    # compiled executables.
415    m4_define([_AC_COMPILER_EXEEXT_REJECT],
416    [_AC_COMPILER_OBJEXT_REJECT | *.o | *.obj])
417    
418    
419  # We must not AU define them, because autoupdate would then remove  # We must not AU define them, because autoupdate would then remove
# Line 430  for ac_file in `ls a_out.exe a.exe conft Line 452  for ac_file in `ls a_out.exe a.exe conft
452                  ls a.out conftest 2>/dev/null;                  ls a.out conftest 2>/dev/null;
453                  ls a.* conftest.* 2>/dev/null`; do                  ls a.* conftest.* 2>/dev/null`; do
454    case $ac_file in    case $ac_file in
455      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;      _AC_COMPILER_EXEEXT_REJECT ) ;;
456      a.out ) # We found the default executable, but exeext='' is most      a.out ) # We found the default executable, but exeext='' is most
457              # certainly right.              # certainly right.
458              break;;              break;;
# Line 496  AS_IF([AC_TRY_EVAL(ac_link)], Line 518  AS_IF([AC_TRY_EVAL(ac_link)],
518  # `rm'.  # `rm'.
519  for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do  for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
520    case $ac_file in    case $ac_file in
521      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;      _AC_COMPILER_EXEEXT_REJECT ) ;;
522      *.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`      *.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
523            export ac_cv_exeext            export ac_cv_exeext
524            break;;            break;;
# Line 554  rm -f conftest.o conftest.obj Line 576  rm -f conftest.o conftest.obj
576  AS_IF([AC_TRY_EVAL(ac_compile)],  AS_IF([AC_TRY_EVAL(ac_compile)],
577  [for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do  [for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
578    case $ac_file in    case $ac_file in
579      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;      _AC_COMPILER_OBJEXT_REJECT ) ;;
580      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
581         break;;         break;;
582    esac    esac

Legend:
Removed from v.1.153  
changed lines
  Added in v.1.154

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26