Changeset 2269


Ignore:
Timestamp:
Jun 15, 2011 4:19:39 AM (9 years ago)
Author:
stefan
Message:

rerun autotools (fixes for building on AIX and mingw)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Mumps/trunk/configure

    r2251 r2269  
    2489624896      # add projrequires to the front of the list of projects that have to be processed next
    2489724897      # at the same time, remove $proj from this list
    24898       projtoprocess=${projtoprocess/$proj/$projrequires}
     24898      projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"`
    2489924899
    2490024900      # read DATA from $pcfile, if _DATA is still empty
     
    2496724967
    2496824968    # set projcflags and projlibs variables by running $pcfilemod
     24969    # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default
    2496924970    projcflags=
    2497024971    projlibs=
     24972    IFS="$save_IFS"
    2497124973    eval `sh -c "$pcfilemod"`
     24974    IFS=":"
    2497224975
    2497324976    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     
    2501225015
    2501325016    # set projcflags and projlibs variables by running $pcfilemod
     25017    # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default
    2501425018    projcflags=
    2501525019    projlibs=
     25020    IFS="$save_IFS"
    2501625021    eval `sh -c "$pcfilemod"`
     25022    IFS=":"
    2501725023
    2501825024    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     
    2504525051  # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl),
    2504625052  # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`",
    25047   #    everything of the form "-Lpath" by "/libpath:`$(CYGPATH_W) path`, and
     25053  #    everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path`, and
    2504825054  #    everything of the form "-lname" by "libname.lib"
    2504925055  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
    2505025056  then
    2505125057    BLAS_LIBS=`echo " $BLAS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
    25052     BLAS_LIBS_INSTALLED=`echo " $BLAS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     25058    BLAS_LIBS_INSTALLED=`echo " $BLAS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
    2505325059  fi
    2505425060
     
    2545225458      # add projrequires to the front of the list of projects that have to be processed next
    2545325459      # at the same time, remove $proj from this list
    25454       projtoprocess=${projtoprocess/$proj/$projrequires}
     25460      projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"`
    2545525461
    2545625462      # read DATA from $pcfile, if _DATA is still empty
     
    2552325529
    2552425530    # set projcflags and projlibs variables by running $pcfilemod
     25531    # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default
    2552525532    projcflags=
    2552625533    projlibs=
     25534    IFS="$save_IFS"
    2552725535    eval `sh -c "$pcfilemod"`
     25536    IFS=":"
    2552825537
    2552925538    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     
    2556825577
    2556925578    # set projcflags and projlibs variables by running $pcfilemod
     25579    # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default
    2557025580    projcflags=
    2557125581    projlibs=
     25582    IFS="$save_IFS"
    2557225583    eval `sh -c "$pcfilemod"`
     25584    IFS=":"
    2557325585
    2557425586    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     
    2560125613  # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl),
    2560225614  # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`",
    25603   #    everything of the form "-Lpath" by "/libpath:`$(CYGPATH_W) path`, and
     25615  #    everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path`, and
    2560425616  #    everything of the form "-lname" by "libname.lib"
    2560525617  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
    2560625618  then
    2560725619    METIS_LIBS=`echo " $METIS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
    25608     METIS_LIBS_INSTALLED=`echo " $METIS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     25620    METIS_LIBS_INSTALLED=`echo " $METIS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
    2560925621  fi
    2561025622
     
    2736727379  fi
    2736827380
     27381  { echo "$as_me:$LINENO: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&5
     27382echo "$as_me: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&6;}
    2736927383  if test x$coin_projectdir = xyes; then
    2737027384    { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
Note: See TracChangeset for help on using the changeset viewer.