make/autoconf/toolchain.m4
changeset 51811 4be08a5102b0
parent 51805 eb2adb0a9b09
child 51856 11b9d3a6f31c
equal deleted inserted replaced
51810:414bd559dba8 51811:4be08a5102b0
   994 ])
   994 ])
   995 
   995 
   996 # Do some additional checks on the detected tools.
   996 # Do some additional checks on the detected tools.
   997 AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
   997 AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
   998 [
   998 [
   999   # The package path is used only on macosx?
       
  1000   # FIXME: clean this up, and/or move it elsewhere.
       
  1001   PACKAGE_PATH=/opt/local
       
  1002   AC_SUBST(PACKAGE_PATH)
       
  1003 
       
  1004   # Check for extra potential brokenness.
   999   # Check for extra potential brokenness.
  1005   if test  "x$TOOLCHAIN_TYPE" = xmicrosoft; then
  1000   if test  "x$TOOLCHAIN_TYPE" = xmicrosoft; then
  1006     # On Windows, double-check that we got the right compiler.
  1001     # On Windows, double-check that we got the right compiler.
  1007     CC_VERSION_OUTPUT=`$CC 2>&1 | $HEAD -n 1 | $TR -d '\r'`
  1002     CC_VERSION_OUTPUT=`$CC 2>&1 | $HEAD -n 1 | $TR -d '\r'`
  1008     COMPILER_CPU_TEST=`$ECHO $CC_VERSION_OUTPUT | $SED -n "s/^.* \(.*\)$/\1/p"`
  1003     COMPILER_CPU_TEST=`$ECHO $CC_VERSION_OUTPUT | $SED -n "s/^.* \(.*\)$/\1/p"`