Changeset 1210 for ThirdParty/Glpk


Ignore:
Timestamp:
Oct 9, 2008 8:32:25 PM (11 years ago)
Author:
lou
Message:

Create dummy config.h with a newline. Workaround for bug in Solaris Studio CC
64-bit optimised compile.

Location:
ThirdParty/Glpk/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Glpk/trunk/configure

    r1176 r1210  
    2007420074if test x"$use_thirdpartyglpk" = xbuild ; then
    2007520075  touch $MAKEOKFILE
    20076   #CoinUtils and SYMPHONY include glpmpl.h and have HAVE_CONFIG_H defined
    20077   #so we put a dummy config.h file into the glpk include directory
    20078   touch ${GLPKINCDIR}/config.h
     20076  # CoinUtils and SYMPHONY include glpmpl.h and have HAVE_CONFIG_H defined
     20077  # so we put a dummy config.h file into the glpk include directory. At least
     20078  # a newline is needed to avoid a bug in Sun Solaris Studio, 64-bit optimised
     20079  # build.
     20080  echo "" > ${GLPKINCDIR}/config.h
    2007920081  echo "$as_me:$LINENO: checking GLPK version" >&5
    2008020082echo $ECHO_N "checking GLPK version... $ECHO_C" >&6
  • ThirdParty/Glpk/trunk/configure.ac

    r1176 r1210  
    7070if test x"$use_thirdpartyglpk" = xbuild ; then
    7171  touch $MAKEOKFILE
    72   #CoinUtils and SYMPHONY include glpmpl.h and have HAVE_CONFIG_H defined
    73   #so we put a dummy config.h file into the glpk include directory
    74   touch ${GLPKINCDIR}/config.h
     72  # CoinUtils and SYMPHONY include glpmpl.h and have HAVE_CONFIG_H defined
     73  # so we put a dummy config.h file into the glpk include directory. At least
     74  # a newline is needed to avoid a bug in Sun Solaris Studio, 64-bit optimised
     75  # build.
     76  echo "" > ${GLPKINCDIR}/config.h
    7577  AC_MSG_CHECKING([GLPK version])
    7678  majorver=`awk '/define GLP_MAJOR_VERSION/ {print $3}' ${GLPKINCDIR}/glpk.h`
Note: See TracChangeset for help on using the changeset viewer.