Changeset 16


Ignore:
Timestamp:
May 18, 2006 6:23:07 PM (14 years ago)
Author:
andreasw
Message:

several fixes for Cygwin; corrected -no-undefined for Darwin

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r14 r16  
    136136# A useful makefile conditional that is always false
    137137AM_CONDITIONAL(ALWAYS_FALSE, false)
    138 
    139 # A makefile conditional that is set to true if
    140138]) # AC_COIN_SRCDIR_INIT
    141139
     
    193191
    194192AC_DEFUN([AC_COIN_PROG_CXX],
    195 [AC_LANG_PUSH(C++)
     193[AC_REQUIRE([AC_COIN_PROG_CC]) #Let's try if that overcomes configuration problem with VC++ 6.0
     194AC_LANG_PUSH(C++)
    196195
    197196AC_ARG_VAR(CXXDEFS,[Additional -D flags to be used when compiling C++ code.])
     
    246245          cl | */cl)
    247246            coin_opt_cxxflags='-O2'
    248             coin_add_cxxflags='-nologo -GX -GR -MT'
     247            coin_add_cxxflags='-nologo -EHsc -GR -MT'
    249248            coin_dbg_cxxflags='-Yd'
    250249            ;;
     
    432431AC_DEFUN([AC_COIN_PROG_CC],
    433432[AC_LANG_PUSH(C)
     433
     434# For consistency, we set the C compiler to the same value of the C++
     435# compiler, if the C++ is set, but the C compiler isn't (only for CXX=cl)
     436if test x"$CXX" != x; then
     437  case $CXX in
     438    cl*)
     439      if test x"$CC" = x; then
     440        CC="$CXX"
     441        AC_MSG_WARN([C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX])
     442      fi
     443      ;;
     444  esac
     445fi
    434446
    435447AC_ARG_VAR(CDEFS,[Additional -D flags to be used when compiling C code.])
  • trunk/headers/configall_system_msc.h

    r15 r16  
    99
    1010/* Define to 1 if you have the <memory.h> header file. */
    11 /* #define HAVE_MEMORY_H */
     11#define HAVE_MEMORY_H 1
    1212
    1313/* Define to 1 if you have the <stdint.h> header file. */
     
    1515
    1616/* Define to 1 if you have the <stdlib.h> header file. */
    17 /* #define HAVE_STDLIB_H */
     17#define HAVE_STDLIB_H 1
    1818
    1919/* Define to 1 if you have the <strings.h> header file. */
     
    2121
    2222/* Define to 1 if you have the <string.h> header file. */
    23 /* #define HAVE_STRING_H */
     23#define HAVE_STRING_H 1
    2424
    2525/* Define to 1 if you have the <sys/stat.h> header file. */
    26 /* #define HAVE_SYS_STAT_H */
     26#define HAVE_SYS_STAT_H 1
    2727
    2828/* Define to 1 if you have the <sys/types.h> header file. */
    29 /* #define HAVE_SYS_TYPES_H */
     29#define HAVE_SYS_TYPES_H 1
    3030
    3131/* Define to 1 if you have the <unistd.h> header file. */
     
    3333
    3434/* Define to 1 if you have the ANSI C header files. */
    35 /* #define STDC_HEADERS */
     35#define STDC_HEADERS 1
     36
Note: See TracChangeset for help on using the changeset viewer.