Changeset 1270


Ignore:
Timestamp:
Apr 23, 2009 11:53:41 PM (11 years ago)
Author:
andreasw
Message:

create dummy strings.h file if it does not exist on the system, so that compilation works on Windows

Location:
ThirdParty/Metis/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Metis/trunk/Makefile.am

    r1265 r1270  
    8787
    8888# Files that are generated and should be cleaned with make distclean
    89 DISTCLEANFILES = $(MAKEOKFILE)
     89DISTCLEANFILES = $(MAKEOKFILE) strings.h
    9090
    9191include ../../BuildTools/Makemain.inc
  • ThirdParty/Metis/trunk/Makefile.in

    r1265 r1270  
    314314
    315315# Files that are generated and should be cleaned with make distclean
    316 DISTCLEANFILES = $(MAKEOKFILE) $(am__append_2) $(VPATH_DISTCLEANFILES)
     316DISTCLEANFILES = $(MAKEOKFILE) strings.h $(am__append_2) \
     317        $(VPATH_DISTCLEANFILES)
    317318DocFiles = README AUTHORS LICENSE
    318319DocInstallDir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)
  • ThirdParty/Metis/trunk/configure

    r1265 r1270  
    1995619956
    1995719957
     19958# We need to create a dummy header file for Windows
     19959echo "$as_me:$LINENO: checking whether we need to create a dummy strings.h file" >&5
     19960echo $ECHO_N "checking whether we need to create a dummy strings.h file... $ECHO_C" >&6
     19961if test $ac_cv_header_strings_h = no; then
     19962  echo "$as_me:$LINENO: result: yes" >&5
     19963echo "${ECHO_T}yes" >&6
     19964  touch strings.h
     19965else
     19966  echo "$as_me:$LINENO: result: no" >&5
     19967echo "${ECHO_T}no" >&6
     19968fi
     19969
    1995819970METISDIR=metis-4.0
    1995919971
  • ThirdParty/Metis/trunk/configure.ac

    r1265 r1270  
    6767AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    6868
     69# We need to create a dummy header file for Windows
     70AC_MSG_CHECKING([whether we need to create a dummy strings.h file])
     71if test $ac_cv_header_strings_h = no; then
     72  AC_MSG_RESULT([yes])
     73  touch strings.h
     74else
     75  AC_MSG_RESULT([no])
     76fi
     77
    6978METISDIR=metis-4.0
    7079AC_SUBST(METISDIR)
Note: See TracChangeset for help on using the changeset viewer.