Revision 348 trunk/scripts/configure/configure.ac

configure.ac (revision 348)
52 52
then
53 53
  #CXX_32OR64BIT="64bit"
54 54
  #CXXFLAGS="-m64"
55
  MAKEFILE="linux.mak"
55 56
  MACOS_PRODUCT_VERSION=`sw_vers -productVersion`
56 57
  MACOS_XCODE_VERSION=`xcodebuild -version | grep Xcode | awk '{print $2}'`
57
  ADMB_TARGET="admb-${ADMB_VERSION}-macos${MACOS_PRODUCT_VERSION}-xcode${MACOS_XCODE_VERSION}-${CXX_32OR64BIT}"
58
  MAKEFILE="linux.mak"
59 58
  INSTALLER_PACKAGEMAKER="scripts/installers/packagemaker/GNUmakefile"
59
  CLANG_VERSION=`clang++ --version | head -n 1 | awk '{print $4}'`
60
  if test "${CXX}" = "clang++"
61
  then
62
    ADMB_TARGET="admb-${ADMB_VERSION}-macos${MACOS_PRODUCT_VERSION}-clang${CLANG_VERSION}-${CXX_32OR64BIT}"
63
  else
64
    ADMB_TARGET="admb-${ADMB_VERSION}-macos${MACOS_PRODUCT_VERSION}-xcode${MACOS_XCODE_VERSION}-${CXX_32OR64BIT}"
65
  fi
60 66
fi
61 67

  
62 68
if test  "`uname -s`" =  "Linux"

Also available in: Unified diff