Changeset 1884


Ignore:
Timestamp:
Nov 28, 2010 3:45:12 PM (10 years ago)
Author:
stefan
Message:

rerun autotools

Location:
ThirdParty/HSL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/HSL/trunk/Makefile.in

    r1873 r1884  
    161161CDEFS = @CDEFS@
    162162CFLAGS = @CFLAGS@
     163COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@
     164COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@
    163165COIN_HAS_MA27_FALSE = @COIN_HAS_MA27_FALSE@
    164166COIN_HAS_MA27_TRUE = @COIN_HAS_MA27_TRUE@
     
    210212HAVE_MXXX_CFLAGS = @HAVE_MXXX_CFLAGS@
    211213HSL_CFLAGS = @HSL_CFLAGS@
     214HSL_CFLAGS_INSTALLED = @HSL_CFLAGS_INSTALLED@
    212215HSL_LIBS = @HSL_LIBS@
     216HSL_LIBS_INSTALLED = @HSL_LIBS_INSTALLED@
    213217HSL_PCLIBS = @HSL_PCLIBS@
    214218HSL_PCREQUIRES = @HSL_PCREQUIRES@
     
    236240METIS_CFLAGS = @METIS_CFLAGS@
    237241METIS_DATA = @METIS_DATA@
     242METIS_DATA_INSTALLED = @METIS_DATA_INSTALLED@
    238243METIS_LIBS = @METIS_LIBS@
    239244MPICC = @MPICC@
  • ThirdParty/HSL/trunk/configure

    r1873 r1884  
    473473#endif"
    474474
    475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ADDLIBS PCADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion HSL_SVN_REV build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED FLIBS EGREP FC FCFLAGS ac_ct_FC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE COIN_HAS_MA77_TRUE COIN_HAS_MA77_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA HSL_CFLAGS HSL_LIBS HSL_PCLIBS HSL_PCREQUIRES COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE HAVE_MXXX_CFLAGS F77_SHARED_CMD F77_DLL_LINKFLAGS HSL_SHARED_LIB EXPORT_SYMBOLS DEFFILE INSTALL_LOADABLE_LIBRARY_TRUE INSTALL_LOADABLE_LIBRARY_FALSE NEED_DEFFILE_TRUE NEED_DEFFILE_FALSE EXTRA_SHARED_COMMAND_TRUE EXTRA_SHARED_COMMAND_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
     475ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ADDLIBS PCADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion HSL_SVN_REV build build_cpu build_vendor build_os COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED FLIBS EGREP FC FCFLAGS ac_ct_FC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE COIN_HAS_MA77_TRUE COIN_HAS_MA77_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA HSL_CFLAGS HSL_LIBS HSL_PCLIBS HSL_PCREQUIRES HSL_CFLAGS_INSTALLED HSL_LIBS_INSTALLED METIS_DATA_INSTALLED COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE HAVE_MXXX_CFLAGS F77_SHARED_CMD F77_DLL_LINKFLAGS HSL_SHARED_LIB EXPORT_SYMBOLS DEFFILE INSTALL_LOADABLE_LIBRARY_TRUE INSTALL_LOADABLE_LIBRARY_FALSE NEED_DEFFILE_TRUE NEED_DEFFILE_FALSE EXTRA_SHARED_COMMAND_TRUE EXTRA_SHARED_COMMAND_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    19621962fi
    19631963
     1964# add automake conditional so we can recognize cl compiler in makefile
     1965coin_cc_is_cl=false
     1966if test x"$CXX" != x; then
     1967  case "$CXX" in
     1968    cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
     1969      coin_cc_is_cl=true
     1970      ;;
     1971  esac
     1972fi
     1973
     1974
     1975if test $coin_cc_is_cl = true; then
     1976  COIN_CC_IS_CL_TRUE=
     1977  COIN_CC_IS_CL_FALSE='#'
     1978else
     1979  COIN_CC_IS_CL_TRUE='#'
     1980  COIN_CC_IS_CL_FALSE=
     1981fi
     1982
     1983
    19641984
    19651985
     
    33923412
    33933413# Provide some information about the compiler.
    3394 echo "$as_me:3394:" \
     3414echo "$as_me:3414:" \
    33953415     "checking for Fortran 77 compiler version" >&5
    33963416ac_compiler=`set X $ac_compile; echo $2`
     
    41514171ac_save_FFLAGS=$FFLAGS
    41524172FFLAGS="$FFLAGS $ac_verb"
    4153 (eval echo $as_me:4153: \"$ac_link\") >&5
     4173(eval echo $as_me:4173: \"$ac_link\") >&5
    41544174ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    41554175echo "$ac_f77_v_output" >&5
     
    42294249ac_save_FFLAGS=$FFLAGS
    42304250FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    4231 (eval echo $as_me:4231: \"$ac_link\") >&5
     4251(eval echo $as_me:4251: \"$ac_link\") >&5
    42324252ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    42334253echo "$ac_f77_v_output" >&5
     
    51015121
    51025122# Provide some information about the compiler.
    5103 echo "$as_me:5103:" \
     5123echo "$as_me:5123:" \
    51045124     "checking for Fortran compiler version" >&5
    51055125ac_compiler=`set X $ac_compile; echo $2`
     
    68676887*-*-irix6*)
    68686888  # Find out which ABI we are using.
    6869   echo '#line 6869 "configure"' > conftest.$ac_ext
     6889  echo '#line 6889 "configure"' > conftest.$ac_ext
    68706890  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    68716891  (eval $ac_compile) 2>&5
     
    93449364   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    93459365   -e 's:$: $lt_compiler_flag:'`
    9346    (eval echo "\"\$as_me:9346: $lt_compile\"" >&5)
     9366   (eval echo "\"\$as_me:9366: $lt_compile\"" >&5)
    93479367   (eval "$lt_compile" 2>conftest.err)
    93489368   ac_status=$?
    93499369   cat conftest.err >&5
    9350    echo "$as_me:9350: \$? = $ac_status" >&5
     9370   echo "$as_me:9370: \$? = $ac_status" >&5
    93519371   if (exit $ac_status) && test -s "$ac_outfile"; then
    93529372     # The compiler can only warn and ignore the option if not recognized
     
    96129632   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    96139633   -e 's:$: $lt_compiler_flag:'`
    9614    (eval echo "\"\$as_me:9614: $lt_compile\"" >&5)
     9634   (eval echo "\"\$as_me:9634: $lt_compile\"" >&5)
    96159635   (eval "$lt_compile" 2>conftest.err)
    96169636   ac_status=$?
    96179637   cat conftest.err >&5
    9618    echo "$as_me:9618: \$? = $ac_status" >&5
     9638   echo "$as_me:9638: \$? = $ac_status" >&5
    96199639   if (exit $ac_status) && test -s "$ac_outfile"; then
    96209640     # The compiler can only warn and ignore the option if not recognized
     
    97169736   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    97179737   -e 's:$: $lt_compiler_flag:'`
    9718    (eval echo "\"\$as_me:9718: $lt_compile\"" >&5)
     9738   (eval echo "\"\$as_me:9738: $lt_compile\"" >&5)
    97199739   (eval "$lt_compile" 2>out/conftest.err)
    97209740   ac_status=$?
    97219741   cat out/conftest.err >&5
    9722    echo "$as_me:9722: \$? = $ac_status" >&5
     9742   echo "$as_me:9742: \$? = $ac_status" >&5
    97239743   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    97249744   then
     
    1213312153  lt_status=$lt_dlunknown
    1213412154  cat > conftest.$ac_ext <<EOF
    12135 #line 12135 "configure"
     12155#line 12155 "configure"
    1213612156#include "confdefs.h"
    1213712157
     
    1223312253  lt_status=$lt_dlunknown
    1223412254  cat > conftest.$ac_ext <<EOF
    12235 #line 12235 "configure"
     12255#line 12255 "configure"
    1223612256#include "confdefs.h"
    1223712257
     
    1459314613   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1459414614   -e 's:$: $lt_compiler_flag:'`
    14595    (eval echo "\"\$as_me:14595: $lt_compile\"" >&5)
     14615   (eval echo "\"\$as_me:14615: $lt_compile\"" >&5)
    1459614616   (eval "$lt_compile" 2>conftest.err)
    1459714617   ac_status=$?
    1459814618   cat conftest.err >&5
    14599    echo "$as_me:14599: \$? = $ac_status" >&5
     14619   echo "$as_me:14619: \$? = $ac_status" >&5
    1460014620   if (exit $ac_status) && test -s "$ac_outfile"; then
    1460114621     # The compiler can only warn and ignore the option if not recognized
     
    1469714717   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1469814718   -e 's:$: $lt_compiler_flag:'`
    14699    (eval echo "\"\$as_me:14699: $lt_compile\"" >&5)
     14719   (eval echo "\"\$as_me:14719: $lt_compile\"" >&5)
    1470014720   (eval "$lt_compile" 2>out/conftest.err)
    1470114721   ac_status=$?
    1470214722   cat out/conftest.err >&5
    14703    echo "$as_me:14703: \$? = $ac_status" >&5
     14723   echo "$as_me:14723: \$? = $ac_status" >&5
    1470414724   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1470514725   then
     
    1626716287   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1626816288   -e 's:$: $lt_compiler_flag:'`
    16269    (eval echo "\"\$as_me:16269: $lt_compile\"" >&5)
     16289   (eval echo "\"\$as_me:16289: $lt_compile\"" >&5)
    1627016290   (eval "$lt_compile" 2>conftest.err)
    1627116291   ac_status=$?
    1627216292   cat conftest.err >&5
    16273    echo "$as_me:16273: \$? = $ac_status" >&5
     16293   echo "$as_me:16293: \$? = $ac_status" >&5
    1627416294   if (exit $ac_status) && test -s "$ac_outfile"; then
    1627516295     # The compiler can only warn and ignore the option if not recognized
     
    1637116391   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1637216392   -e 's:$: $lt_compiler_flag:'`
    16373    (eval echo "\"\$as_me:16373: $lt_compile\"" >&5)
     16393   (eval echo "\"\$as_me:16393: $lt_compile\"" >&5)
    1637416394   (eval "$lt_compile" 2>out/conftest.err)
    1637516395   ac_status=$?
    1637616396   cat out/conftest.err >&5
    16377    echo "$as_me:16377: \$? = $ac_status" >&5
     16397   echo "$as_me:16397: \$? = $ac_status" >&5
    1637816398   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1637916399   then
     
    1857818598   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1857918599   -e 's:$: $lt_compiler_flag:'`
    18580    (eval echo "\"\$as_me:18580: $lt_compile\"" >&5)
     18600   (eval echo "\"\$as_me:18600: $lt_compile\"" >&5)
    1858118601   (eval "$lt_compile" 2>conftest.err)
    1858218602   ac_status=$?
    1858318603   cat conftest.err >&5
    18584    echo "$as_me:18584: \$? = $ac_status" >&5
     18604   echo "$as_me:18604: \$? = $ac_status" >&5
    1858518605   if (exit $ac_status) && test -s "$ac_outfile"; then
    1858618606     # The compiler can only warn and ignore the option if not recognized
     
    1884618866   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1884718867   -e 's:$: $lt_compiler_flag:'`
    18848    (eval echo "\"\$as_me:18848: $lt_compile\"" >&5)
     18868   (eval echo "\"\$as_me:18868: $lt_compile\"" >&5)
    1884918869   (eval "$lt_compile" 2>conftest.err)
    1885018870   ac_status=$?
    1885118871   cat conftest.err >&5
    18852    echo "$as_me:18852: \$? = $ac_status" >&5
     18872   echo "$as_me:18872: \$? = $ac_status" >&5
    1885318873   if (exit $ac_status) && test -s "$ac_outfile"; then
    1885418874     # The compiler can only warn and ignore the option if not recognized
     
    1895018970   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1895118971   -e 's:$: $lt_compiler_flag:'`
    18952    (eval echo "\"\$as_me:18952: $lt_compile\"" >&5)
     18972   (eval echo "\"\$as_me:18972: $lt_compile\"" >&5)
    1895318973   (eval "$lt_compile" 2>out/conftest.err)
    1895418974   ac_status=$?
    1895518975   cat out/conftest.err >&5
    18956    echo "$as_me:18956: \$? = $ac_status" >&5
     18976   echo "$as_me:18976: \$? = $ac_status" >&5
    1895718977   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1895818978   then
     
    2218122201coin_has_metis=notGiven
    2218222202METIS_LIBS=
     22203METIS_LIBS_INSTALLED=
    2218322204METIS_CFLAGS=
     22205METIS_CFLAGS_INSTALLED=
    2218422206METIS_DATA=
     22207METIS_DATA_INSTALLED=
    2218522208
    2218622209# initial list of dependencies is "coinmetis", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2218922212# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2219022213# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     22214# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2219122215# also, we setup the DATA variable
    2219222216allproj=""
    2219322217allpcfiles=""
     22218allpcifiles=""
    2219422219while test "x$projtoprocess" != x ; do
    2219522220
     
    2220122226    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2220222227      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    22203       if test -r "$dir/$proj-uninstalled.pc" ; then
     22228      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2220422229        pcfile="$dir/$proj-uninstalled.pc"
     22230        if test -r "$dir/${proj}.pc" ; then
     22231          pcifile="$dir/${proj}.pc"
     22232        else
     22233          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     22234echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     22235          pcifile=
     22236        fi
    2220522237        break
    2220622238      fi
     
    2221622248      projtoprocess=${projtoprocess/$proj/$projrequires}
    2221722249
    22218       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    22219       if test "x$allproj" = x ; then
    22220         METIS_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     22250      # read DATA from $pcfile, if _DATA is still empty
     22251      if test "x$METIS_DATA" = x ; then
     22252        projdatadir=
     22253        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     22254        eval `sh -c "$pcfilemod"`
     22255        METIS_DATA="$projdatadir"
    2222122256      fi
    2222222257
     
    2222922264      allproj=fail
    2223022265      break 2
     22266    fi
     22267
     22268    if test "x$pcifile" != x ; then
     22269      allpcifiles="$pcifile:$allpcifiles"
     22270
     22271      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     22272      if test "x$METIS_DATA_INSTALLED" = x ; then
     22273        projdatadir=
     22274        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     22275        eval `sh -c "$pcifilemod"`
     22276        METIS_DATA_INSTALLED="$projdatadir"
     22277      fi
     22278
    2223122279    fi
    2223222280
     
    2225922307    fi
    2226022308
    22261     # reconstruct the directory where the .pc file is located
    22262     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    22263 
    22264     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    22265     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     22309    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     22310    #   replace "Libs:" by "echo projlibs="
     22311    #   replace "Cflags:" by "echo projcflags="
     22312    #   remove every line starting with <some word>:
     22313    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     22314
     22315    # set projcflags and projlibs variables by running $pcfilemod
     22316    eval `sh -c "$pcfilemod"`
     22317
     22318    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2226622319    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2226722320    METIS_CFLAGS="$projcflags $METIS_CFLAGS"
    2226822321
    22269     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    22270     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    22271     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    22272     if test "x$projlibs" != x ; then
    22273       if test -d "${pcfiledir}/src" ; then
    22274         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    22275       else
    22276         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    22277       fi
    22278     else
    22279       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    22280     fi
     22322    # set LIBS variable
    2228122323    METIS_LIBS="$projlibs $METIS_LIBS"
    2228222324
     
    2228622328  done
    2228722329  IFS="$save_IFS"
     22330
     22331
     22332  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     22333  # important is here again to obey the reverse order that has been setup before,
     22334  # since then libraries that are required by several others should be after these other libraries
     22335  pcfilesprocessed=""
     22336
     22337  save_IFS="$IFS"
     22338  IFS=":"
     22339  for pcfile in $allpcifiles ; do
     22340
     22341    # if $pcfile has been processed already, skip this round
     22342    if test "x$pcfilesprocessed" != x ; then
     22343      for pcfiledone in $pcfilesprocessed ; do
     22344        if test "$pcfiledone" = "$pcfile" ; then
     22345          continue 2
     22346        fi
     22347      done
     22348    fi
     22349
     22350    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     22351    #   replace "Libs:" by "echo projlibs="
     22352    #   replace "Cflags:" by "echo projcflags="
     22353    #   remove every line starting with <some word>:
     22354    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     22355
     22356    # set projcflags and projlibs variables by running $pcfilemod
     22357    eval `sh -c "$pcfilemod"`
     22358
     22359    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     22360    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22361    METIS_CFLAGS_INSTALLED="$projcflags $METIS_CFLAGS_INSTALLED"
     22362
     22363    # set LIBS variable
     22364    METIS_LIBS_INSTALLED="$projlibs $METIS_LIBS_INSTALLED"
     22365
     22366    # remember that we have processed $pcfile
     22367    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     22368
     22369  done
     22370  IFS="$save_IFS"
     22371
    2228822372
    2228922373  # finish up
     
    2230122385    HSL_CFLAGS="$METIS_CFLAGS $HSL_CFLAGS"
    2230222386    HSL_LIBS="$METIS_LIBS $HSL_LIBS"
     22387    HSL_CFLAGS_INSTALLED="$METIS_CFLAGS_INSTALLED $HSL_CFLAGS_INSTALLED"
     22388    HSL_LIBS_INSTALLED="$METIS_LIBS_INSTALLED $HSL_LIBS_INSTALLED"
     22389
     22390
     22391
    2230322392
    2230422393
     
    2231622405echo "$as_me: Metis DATA   is  $METIS_DATA" >&6;}
    2231722406    fi
    22318 
     22407    if test -n "$METIS_CFLAGS_INSTALLED" ; then
     22408      { echo "$as_me:$LINENO: Metis CFLAGS_INSTALLED are $METIS_CFLAGS_INSTALLED" >&5
     22409echo "$as_me: Metis CFLAGS_INSTALLED are $METIS_CFLAGS_INSTALLED" >&6;}
     22410    fi
     22411    if test -n "$METIS_LIBS_INSTALLED" ; then
     22412      { echo "$as_me:$LINENO: Metis LIBS_INSTALLED   are $METIS_LIBS_INSTALLED" >&5
     22413echo "$as_me: Metis LIBS_INSTALLED   are $METIS_LIBS_INSTALLED" >&6;}
     22414    fi
     22415    if test -n "$METIS_DATA_INSTALLED" ; then
     22416      { echo "$as_me:$LINENO: Metis DATA_INSTALLED   is  $METIS_DATA_INSTALLED" >&5
     22417echo "$as_me: Metis DATA_INSTALLED   is  $METIS_DATA_INSTALLED" >&6;}
     22418    fi
     22419
     22420      { echo "$as_me:$LINENO: " >&5
     22421echo "$as_me: " >&6;}
    2231922422      { echo "$as_me:$LINENO: HSL CFLAGS are $HSL_CFLAGS" >&5
    2232022423echo "$as_me: HSL CFLAGS are $HSL_CFLAGS" >&6;}
    2232122424      { echo "$as_me:$LINENO: HSL LIBS   are $HSL_LIBS" >&5
    2232222425echo "$as_me: HSL LIBS   are $HSL_LIBS" >&6;}
     22426      { echo "$as_me:$LINENO: HSL CFLAGS_INSTALLED are $HSL_CFLAGS_INSTALLED" >&5
     22427echo "$as_me: HSL CFLAGS_INSTALLED are $HSL_CFLAGS_INSTALLED" >&6;}
     22428      { echo "$as_me:$LINENO: HSL LIBS_INSTALLED   are $HSL_LIBS_INSTALLED" >&5
     22429echo "$as_me: HSL LIBS_INSTALLED   are $HSL_LIBS_INSTALLED" >&6;}
    2232322430
    2232422431  fi
     
    2267322780Usually this means the macro was only invoked conditionally." >&5
    2267422781echo "$as_me: error: conditional \"ALWAYS_FALSE\" was never defined.
     22782Usually this means the macro was only invoked conditionally." >&2;}
     22783   { (exit 1); exit 1; }; }
     22784fi
     22785if test -z "${COIN_CC_IS_CL_TRUE}" && test -z "${COIN_CC_IS_CL_FALSE}"; then
     22786  { { echo "$as_me:$LINENO: error: conditional \"COIN_CC_IS_CL\" was never defined.
     22787Usually this means the macro was only invoked conditionally." >&5
     22788echo "$as_me: error: conditional \"COIN_CC_IS_CL\" was never defined.
    2267522789Usually this means the macro was only invoked conditionally." >&2;}
    2267622790   { (exit 1); exit 1; }; }
     
    2334023454s,@build_vendor@,$build_vendor,;t t
    2334123455s,@build_os@,$build_os,;t t
     23456s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t
     23457s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t
    2334223458s,@CDEFS@,$CDEFS,;t t
    2334323459s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
     
    2345723573s,@HSL_PCLIBS@,$HSL_PCLIBS,;t t
    2345823574s,@HSL_PCREQUIRES@,$HSL_PCREQUIRES,;t t
     23575s,@HSL_CFLAGS_INSTALLED@,$HSL_CFLAGS_INSTALLED,;t t
     23576s,@HSL_LIBS_INSTALLED@,$HSL_LIBS_INSTALLED,;t t
     23577s,@METIS_DATA_INSTALLED@,$METIS_DATA_INSTALLED,;t t
    2345923578s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t
    2346023579s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t
Note: See TracChangeset for help on using the changeset viewer.