Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (21 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28dir.info
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libjava/acinclude.m4

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    6969
    7070# This works around an automake problem.
    71 mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs"
     71mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
    7272AC_SUBST(mkinstalldirs)
    7373
     
    145145AM_MAINTAINER_MODE
    146146
    147 # We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
    148 # at least currently, we never actually build a program, so we never
    149 # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
    150 # fails, because we are probably configuring with a cross compiler
    151 # which cant create executables.  So we include AC_EXEEXT to keep
    152 # automake happy, but we don't execute it, since we don't care about
    153 # the result.
    154 if false; then
    155   # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
    156   # to nothing, so nothing would remain between `then' and `fi' if it
    157   # were not for the `:' below.
    158   :
    159   AC_EXEEXT
    160 fi
     147AC_EXEEXT
    161148
    162149# configure.host sets the following important variables
     
    287274    fi
    288275  fi])
     276
     277AC_DEFUN([CHECK_FOR_BROKEN_MINGW_LD],
     278[
     279AC_MSG_CHECKING(whether 'ld' is at least 2.13)
     280LD_PROG=`$CC --print-prog-name=ld`
     281LD_VERSION=`$LD_PROG --version`
     282LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
     283LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
     284if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
     285  LD_OK="ok"
     286else
     287  if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \>= 13 > /dev/null; then
     288    LD_OK="ok"
     289  fi
     290fi
     291if test "x$LD_OK" != x; then
     292  AC_MSG_RESULT([yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR])
     293else
     294  AC_MSG_RESULT([no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR])
     295  AC_MSG_WARN([ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack...])
     296  AC_DEFINE(JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS, 1,
     297            [Indicate that linker is not able to 8-byte align static data])
     298fi[]dnl
     299])# CHECK_FOR_BROKEN_MINGW_LD
Note: See TracChangeset for help on using the changeset viewer.