Changeset 1996


Ignore:
Timestamp:
Nov 21, 2013 2:56:42 PM (5 years ago)
Author:
stefan
Message:

conditional addition of dependent libraries into project libs via LIBADD

Location:
trunk/Clp
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/Makefile.am

    r1803 r1996  
    1414
    1515SUBDIRS = src
     16
     17# Don't do src/OsiClp recursively, since src/OsiClp/libOsiClp depends on src/libClp
     18if COIN_HAS_OSI
     19  SUBDIRS += src/OsiClp
     20endif
    1621
    1722# We don't want to compile the test subdirectory, unless the test target is
  • trunk/Clp/Makefile.in

    r1965 r1996  
    5454host_triplet = @host@
    5555
     56# Don't do src/OsiClp recursively, since src/OsiClp/libOsiClp depends on src/libClp
     57@COIN_HAS_OSI_TRUE@am__append_1 = src/OsiClp
     58
    5659# We don't want to compile the test subdirectory, unless the test target is
    5760# specified.  But we need to list it as subdirectory to make sure that it is
    5861# included in the tarball
    59 @ALWAYS_FALSE@am__append_1 = test
    60 @COIN_HAS_OSI_TRUE@am__append_2 = osi-clp.pc
     62@ALWAYS_FALSE@am__append_2 = test
     63@COIN_HAS_OSI_TRUE@am__append_3 = osi-clp.pc
    6164DIST_COMMON = README $(am__configure_deps) \
    6265        $(srcdir)/BuildTools/Makemain.inc $(srcdir)/Makefile.am \
     
    6871        $(top_srcdir)/src/OsiClp/osi-clp.pc.in AUTHORS config.guess \
    6972        config.sub depcomp install-sh ltmain.sh missing
    70 @HAVE_EXTERNALS_TRUE@am__append_3 = Dependencies
    71 @HAVE_EXTERNALS_TRUE@am__append_4 = .Dependencies-stamp
     73@HAVE_EXTERNALS_TRUE@am__append_4 = Dependencies
     74@HAVE_EXTERNALS_TRUE@am__append_5 = .Dependencies-stamp
    7275subdir = .
    7376ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    102105ETAGS = etags
    103106CTAGS = ctags
    104 DIST_SUBDIRS = src test
     107DIST_SUBDIRS = src src/OsiClp test
    105108DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    106109distdir = $(PACKAGE)-$(VERSION)
     
    215218DEFS = @DEFS@
    216219DEPDIR = @DEPDIR@
     220DEPENDENCY_LINKING_FALSE = @DEPENDENCY_LINKING_FALSE@
     221DEPENDENCY_LINKING_TRUE = @DEPENDENCY_LINKING_TRUE@
    217222ECHO = @ECHO@
    218223ECHO_C = @ECHO_C@
     
    380385#                          Subdirectories                              #
    381386########################################################################
    382 SUBDIRS = src $(am__append_1)
     387SUBDIRS = src $(am__append_1) $(am__append_2)
    383388
    384389########################################################################
     
    404409        examples/testBasis.cpp examples/testGub2.cpp \
    405410        examples/testGub.cpp examples/testQP.cpp \
    406         examples/useVolume.cpp $(am__append_3)
     411        examples/useVolume.cpp $(am__append_4)
    407412
    408413########################################################################
     
    410415########################################################################
    411416pkgconfiglibdir = $(libdir)/pkgconfig
    412 pkgconfiglib_DATA = clp.pc $(am__append_2)
     417pkgconfiglib_DATA = clp.pc $(am__append_3)
    413418addlibsdir = $(DESTDIR)$(datadir)/coin/doc/Clp
    414419
     
    419424
    420425# Files that are generated and should be cleaned with make distclean
    421 DISTCLEANFILES = $(am__append_4) $(VPATH_DISTCLEANFILES)
     426DISTCLEANFILES = $(am__append_5) $(VPATH_DISTCLEANFILES)
    422427DocFiles = README AUTHORS LICENSE
    423428DocInstallDir = $(datadir)/coin/doc/$(PACKAGE_NAME)
  • trunk/Clp/configure

    r1984 r1996  
    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 build build_cpu build_vendor build_os ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion CLP_SVN_REV CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX COIN_CXX_IS_CL_TRUE COIN_CXX_IS_CL_FALSE MPICXX EGREP LN_S 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 CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_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 ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_ct_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED COINUTILS_LIBS COINUTILS_CFLAGS COINUTILS_DATA COINUTILS_DEPENDENCIES COINUTILS_LIBS_INSTALLED COINUTILS_CFLAGS_INSTALLED COINUTILS_DATA_INSTALLED CLPLIB_CFLAGS CLPLIB_LIBS CLPLIB_PCLIBS CLPLIB_PCREQUIRES CLPLIB_DEPENDENCIES CLPLIB_CFLAGS_INSTALLED CLPLIB_LIBS_INSTALLED COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_FALSE OSI_LIBS OSI_CFLAGS OSI_DATA OSI_DEPENDENCIES OSI_LIBS_INSTALLED OSI_CFLAGS_INSTALLED OSI_DATA_INSTALLED OSICLPLIB_CFLAGS OSICLPLIB_LIBS OSICLPLIB_PCLIBS OSICLPLIB_PCREQUIRES OSICLPLIB_DEPENDENCIES OSICLPLIB_CFLAGS_INSTALLED OSICLPLIB_LIBS_INSTALLED COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE OSITESTS_LIBS OSITESTS_CFLAGS OSITESTS_DATA OSITESTS_DEPENDENCIES OSITESTS_LIBS_INSTALLED OSITESTS_CFLAGS_INSTALLED OSITESTS_DATA_INSTALLED COIN_HAS_OSITESTS_TRUE COIN_HAS_OSITESTS_FALSE SAMPLE_LIBS SAMPLE_CFLAGS SAMPLE_DATA SAMPLE_DEPENDENCIES SAMPLE_LIBS_INSTALLED SAMPLE_CFLAGS_INSTALLED SAMPLE_DATA_INSTALLED COIN_HAS_SAMPLE_TRUE COIN_HAS_SAMPLE_FALSE NETLIB_LIBS NETLIB_CFLAGS NETLIB_DATA NETLIB_DEPENDENCIES NETLIB_LIBS_INSTALLED NETLIB_CFLAGS_INSTALLED NETLIB_DATA_INSTALLED COIN_HAS_NETLIB_TRUE COIN_HAS_NETLIB_FALSE COIN_HAS_ABC_TRUE COIN_HAS_ABC_FALSE AMDINCDIR AMDLIB COIN_HAS_AMD_TRUE COIN_HAS_AMD_FALSE CHOLMODINCDIR CHOLMODLIB COIN_HAS_CHOLMOD_TRUE COIN_HAS_CHOLMOD_FALSE GLPK_LIBS GLPK_CFLAGS GLPK_DATA GLPK_DEPENDENCIES GLPK_LIBS_INSTALLED GLPK_CFLAGS_INSTALLED GLPK_DATA_INSTALLED COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE MUMPS_LIBS MUMPS_CFLAGS MUMPS_DATA MUMPS_DEPENDENCIES MUMPS_LIBS_INSTALLED MUMPS_CFLAGS_INSTALLED MUMPS_DATA_INSTALLED COIN_HAS_MUMPS_TRUE COIN_HAS_MUMPS_FALSE ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS MPIF77 FLIBS BLAS_LIBS BLAS_CFLAGS BLAS_DATA BLAS_DEPENDENCIES BLAS_LIBS_INSTALLED BLAS_CFLAGS_INSTALLED BLAS_DATA_INSTALLED COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE COIN_HAS_WSMP_TRUE COIN_HAS_WSMP_FALSE ASL_LIBS ASL_CFLAGS ASL_DATA ASL_DEPENDENCIES ASL_LIBS_INSTALLED ASL_CFLAGS_INSTALLED ASL_DATA_INSTALLED COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE coin_have_doxygen coin_doxy_usedot coin_doxy_tagname coin_doxy_logname coin_doxy_tagfiles coin_doxy_excludes 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 build build_cpu build_vendor build_os ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion CLP_SVN_REV CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX COIN_CXX_IS_CL_TRUE COIN_CXX_IS_CL_FALSE MPICXX EGREP LN_S 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 CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_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 ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS DEPENDENCY_LINKING_TRUE DEPENDENCY_LINKING_FALSE LT_LDFLAGS PKG_CONFIG ac_ct_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED COINUTILS_LIBS COINUTILS_CFLAGS COINUTILS_DATA COINUTILS_DEPENDENCIES COINUTILS_LIBS_INSTALLED COINUTILS_CFLAGS_INSTALLED COINUTILS_DATA_INSTALLED CLPLIB_CFLAGS CLPLIB_LIBS CLPLIB_PCLIBS CLPLIB_PCREQUIRES CLPLIB_DEPENDENCIES CLPLIB_CFLAGS_INSTALLED CLPLIB_LIBS_INSTALLED COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_FALSE OSI_LIBS OSI_CFLAGS OSI_DATA OSI_DEPENDENCIES OSI_LIBS_INSTALLED OSI_CFLAGS_INSTALLED OSI_DATA_INSTALLED OSICLPLIB_CFLAGS OSICLPLIB_LIBS OSICLPLIB_PCLIBS OSICLPLIB_PCREQUIRES OSICLPLIB_DEPENDENCIES OSICLPLIB_CFLAGS_INSTALLED OSICLPLIB_LIBS_INSTALLED COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE OSITESTS_LIBS OSITESTS_CFLAGS OSITESTS_DATA OSITESTS_DEPENDENCIES OSITESTS_LIBS_INSTALLED OSITESTS_CFLAGS_INSTALLED OSITESTS_DATA_INSTALLED COIN_HAS_OSITESTS_TRUE COIN_HAS_OSITESTS_FALSE SAMPLE_LIBS SAMPLE_CFLAGS SAMPLE_DATA SAMPLE_DEPENDENCIES SAMPLE_LIBS_INSTALLED SAMPLE_CFLAGS_INSTALLED SAMPLE_DATA_INSTALLED COIN_HAS_SAMPLE_TRUE COIN_HAS_SAMPLE_FALSE NETLIB_LIBS NETLIB_CFLAGS NETLIB_DATA NETLIB_DEPENDENCIES NETLIB_LIBS_INSTALLED NETLIB_CFLAGS_INSTALLED NETLIB_DATA_INSTALLED COIN_HAS_NETLIB_TRUE COIN_HAS_NETLIB_FALSE COIN_HAS_ABC_TRUE COIN_HAS_ABC_FALSE AMDINCDIR AMDLIB COIN_HAS_AMD_TRUE COIN_HAS_AMD_FALSE CHOLMODINCDIR CHOLMODLIB COIN_HAS_CHOLMOD_TRUE COIN_HAS_CHOLMOD_FALSE GLPK_LIBS GLPK_CFLAGS GLPK_DATA GLPK_DEPENDENCIES GLPK_LIBS_INSTALLED GLPK_CFLAGS_INSTALLED GLPK_DATA_INSTALLED COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE MUMPS_LIBS MUMPS_CFLAGS MUMPS_DATA MUMPS_DEPENDENCIES MUMPS_LIBS_INSTALLED MUMPS_CFLAGS_INSTALLED MUMPS_DATA_INSTALLED COIN_HAS_MUMPS_TRUE COIN_HAS_MUMPS_FALSE ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS MPIF77 FLIBS BLAS_LIBS BLAS_CFLAGS BLAS_DATA BLAS_DEPENDENCIES BLAS_LIBS_INSTALLED BLAS_CFLAGS_INSTALLED BLAS_DATA_INSTALLED COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE COIN_HAS_WSMP_TRUE COIN_HAS_WSMP_FALSE ASL_LIBS ASL_CFLAGS ASL_DATA ASL_DEPENDENCIES ASL_LIBS_INSTALLED ASL_CFLAGS_INSTALLED ASL_DATA_INSTALLED COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE coin_have_doxygen coin_doxy_usedot coin_doxy_tagname coin_doxy_logname coin_doxy_tagfiles coin_doxy_excludes LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    19741974fi;
    19751975
     1976  if test "$enable_msvc" = MD; then
     1977    enable_shared=yes
     1978    enable_msvc=yes
     1979  fi
     1980
    19761981  if test "$enable_msvc" = yes; then
    19771982    case $build in
     
    19962001   fi
    19972002 fi
    1998 
    1999 
    2000 # Check whether --enable-static-standardlibs or --disable-static-standardlibs was given.
    2001 if test "${enable_static_standardlibs+set}" = set; then
    2002   enableval="$enable_static_standardlibs"
    2003   case "$enableval" in
    2004      no | yes | auto ) ;;
    2005      *)
    2006        { { echo "$as_me:$LINENO: error: invalid argument for --enable-static-standardlibs: $enableval" >&5
    2007 echo "$as_me: error: invalid argument for --enable-static-standardlibs: $enableval" >&2;}
    2008    { (exit 1); exit 1; }; } ;;
    2009    esac
    2010    use_static_standardlibs=$enableval
    2011 else
    2012   use_static_standardlibs=no
    2013 fi;
    2014 
    20152003
    20162004
     
    28562844    fi ;;
    28572845  * )
    2858     CYGPATH_W=echo
     2846    if test x"$CYGPATH_W" = x ; then
     2847      CYGPATH_W=echo
     2848    fi
    28592849    ;;
    28602850esac
     
    31013091    CFLAGS="$OPT_CFLAGS"
    31023092  fi
    3103 
    31043093else
    31053094  CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS"
     
    31113100  fi
    31123101fi
    3113 
    3114 # If CFLAGS contains -mno-cygwin, CPPFLAGS must also have it.
    3115 
    3116 case "$CFLAGS" in
    3117   *-mno-cygwin*)
    3118     if test x${CPPFLAGS+set} != xset ; then
    3119       CPPFLAGS="-mno-cygwin"
    3120     else
    3121       case "$CPPFLAGS" in
    3122         *-mno-cygwin*)
    3123           ;;
    3124         *)
    3125           CPPFLAGS="$CPPFLAGS -mno-cygwin"
    3126           ;;
    3127       esac
    3128     fi ;;
    3129 esac
    31303102
    31313103# add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
     
    32693241esac
    32703242
    3271 # check whether to add flags for static linking against standard libraries to LDFLAGS
    3272 if test x$use_static_standardlibs != xno ; then
    3273   case $build in
    3274     *-mingw*)
    3275       static_standardlib_flag=-static
    3276       ;;
    3277     *)
    3278       static_standardlib_flag=-static-libgcc
    3279       ;;
    3280   esac
    3281   case " $LDFLAGS " in
    3282     *" $static_standardlib_flag "* ) ;;
    3283     *)
    3284     echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&5
    3285 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&6
    3286     coin_save_LDFLAGS="$LDFLAGS"
    3287     LDFLAGS="$LDFLAGS $static_standardlib_flag"
    3288     cat >conftest.$ac_ext <<_ACEOF
    3289 /* confdefs.h.  */
    3290 _ACEOF
    3291 cat confdefs.h >>conftest.$ac_ext
    3292 cat >>conftest.$ac_ext <<_ACEOF
    3293 /* end confdefs.h.  */
    3294 
    3295 int
    3296 main ()
    3297 {
    3298 int i=0;
    3299   ;
    3300   return 0;
    3301 }
    3302 _ACEOF
    3303 rm -f conftest.$ac_objext conftest$ac_exeext
    3304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3305   (eval $ac_link) 2>conftest.er1
    3306   ac_status=$?
    3307   grep -v '^ *+' conftest.er1 >conftest.err
    3308   rm -f conftest.er1
    3309   cat conftest.err >&5
    3310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3311   (exit $ac_status); } &&
    3312          { ac_try='test -z "$ac_c_werror_flag"
    3313                          || test ! -s conftest.err'
    3314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3315   (eval $ac_try) 2>&5
    3316   ac_status=$?
    3317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3318   (exit $ac_status); }; } &&
    3319          { ac_try='test -s conftest$ac_exeext'
    3320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3321   (eval $ac_try) 2>&5
    3322   ac_status=$?
    3323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3324   (exit $ac_status); }; }; then
    3325   echo "$as_me:$LINENO: result: yes" >&5
    3326 echo "${ECHO_T}yes" >&6
    3327 else
    3328   echo "$as_me: failed program was:" >&5
    3329 sed 's/^/| /' conftest.$ac_ext >&5
    3330 
    3331 echo "$as_me:$LINENO: result: no" >&5
    3332 echo "${ECHO_T}no" >&6
    3333        LDFLAGS="$coin_save_LDFLAGS"
    3334        if test $use_static_standardlibs = yes ; then
    3335          { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&5
    3336 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;}
    3337    { (exit 1); exit 1; }; }
    3338        fi
    3339 
    3340 fi
    3341 rm -f conftest.err conftest.$ac_objext \
    3342       conftest$ac_exeext conftest.$ac_ext
    3343     ;;
    3344   esac
    3345 fi
    3346 
    33473243ac_ext=c
    33483244ac_cpp='$CPP $CPPFLAGS'
     
    33543250
    33553251 #Let's try if that overcomes configuration problem with VC++ 6.0
    3356 
    33573252
    33583253ac_ext=cc
     
    38483743    fi ;;
    38493744  * )
    3850     CYGPATH_W=echo
     3745    if test x"$CYGPATH_W" = x ; then
     3746      CYGPATH_W=echo
     3747    fi
    38513748    ;;
    38523749esac
     
    40973994fi
    40983995
    4099 # If CXXFLAGS contains -mno-cygwin, CPPFLAGS must also have it.
    4100 
    4101 case "$CXXFLAGS" in
    4102   *-mno-cygwin*)
    4103     if test x${CPPFLAGS+set} != xset ; then
    4104       CPPFLAGS="-mno-cygwin"
    4105     else
    4106       case "$CPPFLAGS" in
    4107         *-mno-cygwin*)
    4108           ;;
    4109         *)
    4110           CPPFLAGS="$CPPFLAGS -mno-cygwin"
    4111           ;;
    4112       esac
    4113     fi ;;
    4114 esac
    4115 
    41163996# add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
    41173997if test x$COIN_PRJCT != x; then
     
    42544134esac
    42554135
    4256 # check whether to add flag for static linking against standard libraries to LDFLAGS
    4257 if test x$use_static_standardlibs != xno ; then
    4258   case $build in
    4259     *-mingw*)
    4260       static_standardlib_flag=-static
    4261       ;;
    4262     *)
    4263       static_standardlib_flag=-static-libstdc++
    4264       ;;
    4265   esac
    4266   case " $LDFLAGS " in
    4267     *" $static_standardlib_flag "* ) ;;
    4268     *)
    4269     echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&5
    4270 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&6
    4271     coin_save_LDFLAGS="$LDFLAGS"
    4272     LDFLAGS="$LDFLAGS $static_standardlib_flag"
    4273     cat >conftest.$ac_ext <<_ACEOF
    4274 /* confdefs.h.  */
    4275 _ACEOF
    4276 cat confdefs.h >>conftest.$ac_ext
    4277 cat >>conftest.$ac_ext <<_ACEOF
    4278 /* end confdefs.h.  */
    4279 
    4280 int
    4281 main ()
    4282 {
    4283 int i=0;
    4284   ;
    4285   return 0;
    4286 }
    4287 _ACEOF
    4288 rm -f conftest.$ac_objext conftest$ac_exeext
    4289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4290   (eval $ac_link) 2>conftest.er1
    4291   ac_status=$?
    4292   grep -v '^ *+' conftest.er1 >conftest.err
    4293   rm -f conftest.er1
    4294   cat conftest.err >&5
    4295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4296   (exit $ac_status); } &&
    4297          { ac_try='test -z "$ac_cxx_werror_flag"
    4298                          || test ! -s conftest.err'
    4299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4300   (eval $ac_try) 2>&5
    4301   ac_status=$?
    4302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4303   (exit $ac_status); }; } &&
    4304          { ac_try='test -s conftest$ac_exeext'
    4305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4306   (eval $ac_try) 2>&5
    4307   ac_status=$?
    4308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4309   (exit $ac_status); }; }; then
    4310   echo "$as_me:$LINENO: result: yes" >&5
    4311 echo "${ECHO_T}yes" >&6
    4312 else
    4313   echo "$as_me: failed program was:" >&5
    4314 sed 's/^/| /' conftest.$ac_ext >&5
    4315 
    4316 echo "$as_me:$LINENO: result: no" >&5
    4317 echo "${ECHO_T}no" >&6
    4318        LDFLAGS="$coin_save_LDFLAGS"
    4319        if test $use_static_standardlibs = yes ; then
    4320          { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&5
    4321 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;}
    4322    { (exit 1); exit 1; }; }
    4323        fi
    4324 
    4325 fi
    4326 rm -f conftest.err conftest.$ac_objext \
    4327       conftest$ac_exeext conftest.$ac_ext
    4328     ;;
    4329   esac
    4330 fi
    4331 
    43324136ac_ext=c
    43334137ac_cpp='$CPP $CPPFLAGS'
     
    43664170            ;;
    43674171          cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    4368             { echo "$as_me:$LINENO: WARNING: DLL building not supported. I'm disabling your choice, but will build with -MD(d) instead of -MT(d)." >&5
    4369 echo "$as_me: WARNING: DLL building not supported. I'm disabling your choice, but will build with -MD(d) instead of -MT(d)." >&2;}
     4172            { echo "$as_me:$LINENO: DLL building not supported, but will build with -MD(d) instead of -MT(d)." >&5
     4173echo "$as_me: DLL building not supported, but will build with -MD(d) instead of -MT(d)." >&6;}
    43704174            ;;
    43714175          *)
     
    55475351
    55485352LIBTOOL=
    5549 if test -r ../libtool; then
     5353if test -f ../libtool; then
    55505354  coin_config_dir=..
    55515355  LIBTOOL='$(SHELL) $(top_builddir)/../libtool'
    55525356fi
    55535357if test "x$LIBTOOL" = x; then
    5554   if test -r ../../libtool; then
     5358  if test -f ../../libtool; then
    55555359    coin_config_dir=../..
    55565360    LIBTOOL='$(SHELL) $(top_builddir)/../../libtool'
     
    60985902*-*-irix6*)
    60995903  # Find out which ABI we are using.
    6100   echo '#line 6100 "configure"' > conftest.$ac_ext
     5904  echo '#line 5904 "configure"' > conftest.$ac_ext
    61015905  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    61025906  (eval $ac_compile) 2>&5
     
    72327036
    72337037# Provide some information about the compiler.
    7234 echo "$as_me:7234:" \
     7038echo "$as_me:7038:" \
    72357039     "checking for Fortran 77 compiler version" >&5
    72367040ac_compiler=`set X $ac_compile; echo $2`
     
    82998103   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    83008104   -e 's:$: $lt_compiler_flag:'`
    8301    (eval echo "\"\$as_me:8301: $lt_compile\"" >&5)
     8105   (eval echo "\"\$as_me:8105: $lt_compile\"" >&5)
    83028106   (eval "$lt_compile" 2>conftest.err)
    83038107   ac_status=$?
    83048108   cat conftest.err >&5
    8305    echo "$as_me:8305: \$? = $ac_status" >&5
     8109   echo "$as_me:8109: \$? = $ac_status" >&5
    83068110   if (exit $ac_status) && test -s "$ac_outfile"; then
    83078111     # The compiler can only warn and ignore the option if not recognized
     
    85678371   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    85688372   -e 's:$: $lt_compiler_flag:'`
    8569    (eval echo "\"\$as_me:8569: $lt_compile\"" >&5)
     8373   (eval echo "\"\$as_me:8373: $lt_compile\"" >&5)
    85708374   (eval "$lt_compile" 2>conftest.err)
    85718375   ac_status=$?
    85728376   cat conftest.err >&5
    8573    echo "$as_me:8573: \$? = $ac_status" >&5
     8377   echo "$as_me:8377: \$? = $ac_status" >&5
    85748378   if (exit $ac_status) && test -s "$ac_outfile"; then
    85758379     # The compiler can only warn and ignore the option if not recognized
     
    86718475   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    86728476   -e 's:$: $lt_compiler_flag:'`
    8673    (eval echo "\"\$as_me:8673: $lt_compile\"" >&5)
     8477   (eval echo "\"\$as_me:8477: $lt_compile\"" >&5)
    86748478   (eval "$lt_compile" 2>out/conftest.err)
    86758479   ac_status=$?
    86768480   cat out/conftest.err >&5
    8677    echo "$as_me:8677: \$? = $ac_status" >&5
     8481   echo "$as_me:8481: \$? = $ac_status" >&5
    86788482   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    86798483   then
     
    1101610820  lt_status=$lt_dlunknown
    1101710821  cat > conftest.$ac_ext <<EOF
    11018 #line 11018 "configure"
     10822#line 10822 "configure"
    1101910823#include "confdefs.h"
    1102010824
     
    1111610920  lt_status=$lt_dlunknown
    1111710921  cat > conftest.$ac_ext <<EOF
    11118 #line 11118 "configure"
     10922#line 10922 "configure"
    1111910923#include "confdefs.h"
    1112010924
     
    1346013264   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1346113265   -e 's:$: $lt_compiler_flag:'`
    13462    (eval echo "\"\$as_me:13462: $lt_compile\"" >&5)
     13266   (eval echo "\"\$as_me:13266: $lt_compile\"" >&5)
    1346313267   (eval "$lt_compile" 2>conftest.err)
    1346413268   ac_status=$?
    1346513269   cat conftest.err >&5
    13466    echo "$as_me:13466: \$? = $ac_status" >&5
     13270   echo "$as_me:13270: \$? = $ac_status" >&5
    1346713271   if (exit $ac_status) && test -s "$ac_outfile"; then
    1346813272     # The compiler can only warn and ignore the option if not recognized
     
    1356413368   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1356513369   -e 's:$: $lt_compiler_flag:'`
    13566    (eval echo "\"\$as_me:13566: $lt_compile\"" >&5)
     13370   (eval echo "\"\$as_me:13370: $lt_compile\"" >&5)
    1356713371   (eval "$lt_compile" 2>out/conftest.err)
    1356813372   ac_status=$?
    1356913373   cat out/conftest.err >&5
    13570    echo "$as_me:13570: \$? = $ac_status" >&5
     13374   echo "$as_me:13374: \$? = $ac_status" >&5
    1357113375   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1357213376   then
     
    1513414938   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1513514939   -e 's:$: $lt_compiler_flag:'`
    15136    (eval echo "\"\$as_me:15136: $lt_compile\"" >&5)
     14940   (eval echo "\"\$as_me:14940: $lt_compile\"" >&5)
    1513714941   (eval "$lt_compile" 2>conftest.err)
    1513814942   ac_status=$?
    1513914943   cat conftest.err >&5
    15140    echo "$as_me:15140: \$? = $ac_status" >&5
     14944   echo "$as_me:14944: \$? = $ac_status" >&5
    1514114945   if (exit $ac_status) && test -s "$ac_outfile"; then
    1514214946     # The compiler can only warn and ignore the option if not recognized
     
    1523815042   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1523915043   -e 's:$: $lt_compiler_flag:'`
    15240    (eval echo "\"\$as_me:15240: $lt_compile\"" >&5)
     15044   (eval echo "\"\$as_me:15044: $lt_compile\"" >&5)
    1524115045   (eval "$lt_compile" 2>out/conftest.err)
    1524215046   ac_status=$?
    1524315047   cat out/conftest.err >&5
    15244    echo "$as_me:15244: \$? = $ac_status" >&5
     15048   echo "$as_me:15048: \$? = $ac_status" >&5
    1524515049   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1524615050   then
     
    1744517249   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1744617250   -e 's:$: $lt_compiler_flag:'`
    17447    (eval echo "\"\$as_me:17447: $lt_compile\"" >&5)
     17251   (eval echo "\"\$as_me:17251: $lt_compile\"" >&5)
    1744817252   (eval "$lt_compile" 2>conftest.err)
    1744917253   ac_status=$?
    1745017254   cat conftest.err >&5
    17451    echo "$as_me:17451: \$? = $ac_status" >&5
     17255   echo "$as_me:17255: \$? = $ac_status" >&5
    1745217256   if (exit $ac_status) && test -s "$ac_outfile"; then
    1745317257     # The compiler can only warn and ignore the option if not recognized
     
    1771317517   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1771417518   -e 's:$: $lt_compiler_flag:'`
    17715    (eval echo "\"\$as_me:17715: $lt_compile\"" >&5)
     17519   (eval echo "\"\$as_me:17519: $lt_compile\"" >&5)
    1771617520   (eval "$lt_compile" 2>conftest.err)
    1771717521   ac_status=$?
    1771817522   cat conftest.err >&5
    17719    echo "$as_me:17719: \$? = $ac_status" >&5
     17523   echo "$as_me:17523: \$? = $ac_status" >&5
    1772017524   if (exit $ac_status) && test -s "$ac_outfile"; then
    1772117525     # The compiler can only warn and ignore the option if not recognized
     
    1781717621   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1781817622   -e 's:$: $lt_compiler_flag:'`
    17819    (eval echo "\"\$as_me:17819: $lt_compile\"" >&5)
     17623   (eval echo "\"\$as_me:17623: $lt_compile\"" >&5)
    1782017624   (eval "$lt_compile" 2>out/conftest.err)
    1782117625   ac_status=$?
    1782217626   cat out/conftest.err >&5
    17823    echo "$as_me:17823: \$? = $ac_status" >&5
     17627   echo "$as_me:17627: \$? = $ac_status" >&5
    1782417628   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1782517629   then
     
    2051620320    # Here we need to check if -m32 is specified.  If so, we need to correct
    2051720321    # sys_lib_search_path_spec
    20518     *x86_64-*)
    20519       if test "$GCC" = yes && (echo $CXXFLAGS $CFLAGS $FFLAGS | $EGREP 'm32' >& /dev/null); then
    20520         { echo "$as_me:$LINENO: Applying patches to libtool for 32bit compilation" >&5
    20521 echo "$as_me: Applying patches to libtool for 32bit compilation" >&6;}
    20522         sed -e 's|sys_lib_search_path_spec=".*"|sys_lib_search_path_spec="/lib /usr/lib"|' libtool > conftest.bla
    20523         mv conftest.bla libtool
    20524         chmod 755 libtool
    20525       fi
    20526       ;;
    20527 
    20528     *-solaris*)
    20529        if test "$GCC" = yes && \
    20530      (echo $CXXFLAGS $CFLAGS $FFLAGS | $EGREP 'm64' >/dev/null 2>&1) ; then
    20531     hdwisa=`isainfo | sed -e 's/\([^ ]*\) .*$/\1/'`
    20532     if `$EGREP 'sys_lib_search_path_spec=' libtool | $EGREP -v $hdwisa >/dev/null 2>&1` ; then
    20533       { echo "$as_me:$LINENO: Applying patches to libtool for 64-bit GCC compilation" >&5
    20534 echo "$as_me: Applying patches to libtool for 64-bit GCC compilation" >&6;}
    20535       fixlibtmp=`$CC -m64 -print-search-dirs | $EGREP '^libraries:'`
    20536       fixlibtmp=`echo $fixlibtmp | sed -e 's/libraries: =//' -e 's/:/ /g'`
    20537       if `echo "$fixlibtmp" | $EGREP -v $hdwisa  >/dev/null 2>&1` ; then
    20538         # AC_MSG_NOTICE(Compensating for broken gcc)
    20539         for lib in $fixlibtmp ; do
    20540           if test -d "${lib}${hdwisa}" ; then
    20541             syslibpath64="$syslibpath64 ${lib}${hdwisa}/"
    20542           fi
    20543         done
    20544         syslibpath64="${syslibpath64} ${fixlibtmp}"
    20545       else
    20546         syslibpath64="$fixlibtmp"
    20547       fi
    20548       sed -e 's|sys_lib_search_path_spec=".*"|sys_lib_search_path_spec="'"$syslibpath64"'"|' libtool > conftest.bla
    20549       mv conftest.bla libtool
    20550       chmod 755 libtool
    20551     fi
    20552     # AC_MSG_NOTICE(Result is )
    20553     # $EGREP 'sys_lib_search_path_spec=' libtool
    20554   fi
    20555       ;;
    20556     # Cygwin. Ah, cygwin. Too big and ugly to inline; see the macro.
    2055720322    *-cygwin* | *-mingw*)
    2055820323       case "$CXX" in
     
    2059520360
    2059620361      ;;
     20362    *x86_64-*)
     20363      if test "$GCC" = yes && (echo $CXXFLAGS $CFLAGS $FFLAGS | $EGREP 'm32' >& /dev/null); then
     20364        { echo "$as_me:$LINENO: Applying patches to libtool for 32bit compilation" >&5
     20365echo "$as_me: Applying patches to libtool for 32bit compilation" >&6;}
     20366        sed -e 's|sys_lib_search_path_spec=".*"|sys_lib_search_path_spec="/lib /usr/lib"|' libtool > conftest.bla
     20367        mv conftest.bla libtool
     20368        chmod 755 libtool
     20369      fi
     20370      ;;
     20371
     20372    *-solaris*)
     20373       if test "$GCC" = yes && \
     20374     (echo $CXXFLAGS $CFLAGS $FFLAGS | $EGREP 'm64' >/dev/null 2>&1) ; then
     20375    hdwisa=`isainfo | sed -e 's/\([^ ]*\) .*$/\1/'`
     20376    if `$EGREP 'sys_lib_search_path_spec=' libtool | $EGREP -v $hdwisa >/dev/null 2>&1` ; then
     20377      { echo "$as_me:$LINENO: Applying patches to libtool for 64-bit GCC compilation" >&5
     20378echo "$as_me: Applying patches to libtool for 64-bit GCC compilation" >&6;}
     20379      fixlibtmp=`$CC -m64 -print-search-dirs | $EGREP '^libraries:'`
     20380      fixlibtmp=`echo $fixlibtmp | sed -e 's/libraries: =//' -e 's/:/ /g'`
     20381      if `echo "$fixlibtmp" | $EGREP -v $hdwisa  >/dev/null 2>&1` ; then
     20382        # AC_MSG_NOTICE(Compensating for broken gcc)
     20383        for lib in $fixlibtmp ; do
     20384          if test -d "${lib}${hdwisa}" ; then
     20385            syslibpath64="$syslibpath64 ${lib}${hdwisa}/"
     20386          fi
     20387        done
     20388        syslibpath64="${syslibpath64} ${fixlibtmp}"
     20389      else
     20390        syslibpath64="$fixlibtmp"
     20391      fi
     20392      sed -e 's|sys_lib_search_path_spec=".*"|sys_lib_search_path_spec="'"$syslibpath64"'"|' libtool > conftest.bla
     20393      mv conftest.bla libtool
     20394      chmod 755 libtool
     20395    fi
     20396    # AC_MSG_NOTICE(Result is )
     20397    # $EGREP 'sys_lib_search_path_spec=' libtool
     20398  fi
     20399      ;;
     20400    # Cygwin. Ah, cygwin. Too big and ugly to inline; see the macro.
    2059720401    *-darwin*)
    2059820402      { echo "$as_me:$LINENO: Applying patches to libtool for Darwin" >&5
     
    2070220506# AC_MSG_NOTICE([End of INIT_AUTO_TOOLS.])
    2070320507
     20508# Check whether --enable-dependency-linking or --disable-dependency-linking was given.
     20509if test "${enable_dependency_linking+set}" = set; then
     20510  enableval="$enable_dependency_linking"
     20511  dependency_linking="$enableval"
     20512else
     20513  dependency_linking=no
     20514fi;
     20515
    2070420516# ToDo
    2070520517# For now, don't use the -no-undefined flag, since the Makefiles are
    2070620518# not yet set up that way.  But we need to fix this, when we want
    2070720519# to comile DLLs under Windows.
    20708 LT_LDFLAGS=
     20520if test "$dependency_linking" = yes ;
     20521then
     20522  LT_LDFLAGS="-no-undefined"
     20523else
     20524  LT_LDFLAGS=
     20525fi
     20526
     20527
     20528
     20529if test "$dependency_linking" = yes; then
     20530  DEPENDENCY_LINKING_TRUE=
     20531  DEPENDENCY_LINKING_FALSE='#'
     20532else
     20533  DEPENDENCY_LINKING_TRUE='#'
     20534  DEPENDENCY_LINKING_FALSE=
     20535fi
     20536
    2070920537
    2071020538# Check if we want to set the library version
     
    2089420722  # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data)
    2089520723  COIN_PKG_CONFIG_PATH_UNINSTALLED=
    20896   if test -e ../coin_subdirs.txt ; then
     20724  if test -f ../coin_subdirs.txt ; then
    2089720725    for i in `cat ../coin_subdirs.txt` ; do
    2089820726      if test -d ../$i ; then
     
    2090520733  fi
    2090620734
    20907   if test -e ../../coin_subdirs.txt ; then
     20735  if test -f ../../coin_subdirs.txt ; then
    2090820736    for i in `cat ../../coin_subdirs.txt` ; do
    2090920737      if test -d ../../$i ; then
     
    2490624734
    2490724735
    24908 
    2490924736ac_ext=f
    2491024737ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     
    2511624943
    2511724944# Provide some information about the compiler.
    25118 echo "$as_me:25118:" \
     24945echo "$as_me:24945:" \
    2511924946     "checking for Fortran 77 compiler version" >&5
    2512024947ac_compiler=`set X $ac_compile; echo $2`
     
    2545225279    FFLAGS="$OPT_FFLAGS"
    2545325280  fi
    25454 
    2545525281else
    2545625282  FFLAGS="$FFLAGS $ADD_FFLAGS"
     
    2546225288  fi
    2546325289fi
    25464 
    25465 # If FFLAGS contains -mno-cygwin, CPPFLAGS must have it.
    25466 case "$FFLAGS" in
    25467   *-mno-cygwin*)
    25468     if test x${CPPFLAGS+set} != xset ; then
    25469       CPPFLAGS="-mno-cygwin"
    25470     else
    25471       case "$CPPFLAGS" in
    25472         *-mno-cygwin*)
    25473           ;;
    25474         *)
    25475           CPPFLAGS="$CPPFLAGS -mno-cygwin"
    25476           ;;
    25477       esac
    25478     fi ;;
    25479 esac
    2548025290
    2548125291# Try if FFLAGS works
     
    2559425404esac
    2559525405
    25596 # check whether to add flag for static linking against standard libraries to LDFLAGS
    25597 if test x$use_static_standardlibs != xno ; then
    25598   case $build in
    25599     *-mingw*)
    25600       static_standardlib_flag=-static
    25601       ;;
    25602     *)
    25603       static_standardlib_flag=-static-libgfortran
    25604       ;;
    25605   esac
    25606   case " $LDFLAGS " in
    25607     *" $static_standardlib_flag "* ) ;;
    25608     *)
    25609     echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&5
    25610 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&6
    25611     coin_save_LDFLAGS="$LDFLAGS"
    25612     LDFLAGS="$LDFLAGS $static_standardlib_flag"
    25613     cat >conftest.$ac_ext <<_ACEOF
    25614       program main
    25615       integer i
    25616       end
    25617 _ACEOF
    25618 rm -f conftest.$ac_objext conftest$ac_exeext
    25619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25620   (eval $ac_link) 2>conftest.er1
    25621   ac_status=$?
    25622   grep -v '^ *+' conftest.er1 >conftest.err
    25623   rm -f conftest.er1
    25624   cat conftest.err >&5
    25625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25626   (exit $ac_status); } &&
    25627          { ac_try='test -z "$ac_f77_werror_flag"
    25628                          || test ! -s conftest.err'
    25629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25630   (eval $ac_try) 2>&5
    25631   ac_status=$?
    25632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25633   (exit $ac_status); }; } &&
    25634          { ac_try='test -s conftest$ac_exeext'
    25635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25636   (eval $ac_try) 2>&5
    25637   ac_status=$?
    25638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25639   (exit $ac_status); }; }; then
    25640   echo "$as_me:$LINENO: result: yes" >&5
    25641 echo "${ECHO_T}yes" >&6
    25642 else
    25643   echo "$as_me: failed program was:" >&5
    25644 sed 's/^/| /' conftest.$ac_ext >&5
    25645 
    25646 echo "$as_me:$LINENO: result: no" >&5
    25647 echo "${ECHO_T}no" >&6
    25648        LDFLAGS="$coin_save_LDFLAGS"
    25649        if test $use_static_standardlibs = yes ; then
    25650          { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&5
    25651 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;}
    25652    { (exit 1); exit 1; }; }
    25653        fi
    25654 
    25655 fi
    25656 rm -f conftest.err conftest.$ac_objext \
    25657       conftest$ac_exeext conftest.$ac_ext
    25658     ;;
    25659   esac
    25660 fi
    25661 
    2566225406ac_ext=c
    2566325407ac_cpp='$CPP $CPPFLAGS'
     
    2572025464ac_save_FFLAGS=$FFLAGS
    2572125465FFLAGS="$FFLAGS $ac_verb"
    25722 (eval echo $as_me:25722: \"$ac_link\") >&5
     25466(eval echo $as_me:25466: \"$ac_link\") >&5
    2572325467ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    2572425468echo "$ac_f77_v_output" >&5
     
    2579825542ac_save_FFLAGS=$FFLAGS
    2579925543FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    25800 (eval echo $as_me:25800: \"$ac_link\") >&5
     25544(eval echo $as_me:25544: \"$ac_link\") >&5
    2580125545ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    2580225546echo "$ac_f77_v_output" >&5
     
    2598325727        -lcrt*.o) ;;
    2598425728        -lcygwin) ;;
     25729        -lgcc*)   ;;
    2598525730               *) my_flibs="$my_flibs $flag" ;;
    2598625731      esac
     
    3230432049Usually this means the macro was only invoked conditionally." >&5
    3230532050echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
     32051Usually this means the macro was only invoked conditionally." >&2;}
     32052   { (exit 1); exit 1; }; }
     32053fi
     32054if test -z "${DEPENDENCY_LINKING_TRUE}" && test -z "${DEPENDENCY_LINKING_FALSE}"; then
     32055  { { echo "$as_me:$LINENO: error: conditional \"DEPENDENCY_LINKING\" was never defined.
     32056Usually this means the macro was only invoked conditionally." >&5
     32057echo "$as_me: error: conditional \"DEPENDENCY_LINKING\" was never defined.
    3230632058Usually this means the macro was only invoked conditionally." >&2;}
    3230732059   { (exit 1); exit 1; }; }
     
    3314032892s,@ac_cxx_preproc_warn_flag@,$ac_cxx_preproc_warn_flag,;t t
    3314132893s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
     32894s,@DEPENDENCY_LINKING_TRUE@,$DEPENDENCY_LINKING_TRUE,;t t
     32895s,@DEPENDENCY_LINKING_FALSE@,$DEPENDENCY_LINKING_FALSE,;t t
    3314232896s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
    3314332897s,@PKG_CONFIG@,$PKG_CONFIG,;t t
  • trunk/Clp/src/Makefile.am

    r1967 r1996  
    88
    99AUTOMAKE_OPTIONS = foreign
    10 
    11 if COIN_HAS_OSI
    12   SUBDIRS = OsiClp
    13 endif
    1410
    1511########################################################################
     
    139135endif
    140136
     137# List all additionally required libraries
     138if DEPENDENCY_LINKING
     139libClp_la_LIBADD = $(CLPLIB_LIBS)
     140endif
     141
    141142# This is for libtool
    142143libClp_la_LDFLAGS = $(LT_LDFLAGS)
  • trunk/Clp/src/Makefile.in

    r1967 r1996  
    129129libLTLIBRARIES_INSTALL = $(INSTALL)
    130130LTLIBRARIES = $(lib_LTLIBRARIES)
    131 libClp_la_LIBADD =
     131am__DEPENDENCIES_1 =
     132@DEPENDENCY_LINKING_TRUE@libClp_la_DEPENDENCIES =  \
     133@DEPENDENCY_LINKING_TRUE@       $(am__DEPENDENCIES_1)
    132134am__libClp_la_SOURCES_DIST = ClpConfig.h ClpCholeskyBase.cpp \
    133135        ClpCholeskyBase.hpp ClpCholeskyDense.cpp ClpCholeskyDense.hpp \
     
    259261        MyMessageHandler.$(OBJEXT) unitTest.$(OBJEXT)
    260262clp_OBJECTS = $(am_clp_OBJECTS)
    261 am__DEPENDENCIES_1 =
    262263depcomp = $(SHELL) $(top_srcdir)/depcomp
    263264am__depfiles_maybe = depfiles
     
    280281SOURCES = $(libClp_la_SOURCES) $(clp_SOURCES)
    281282DIST_SOURCES = $(am__libClp_la_SOURCES_DIST) $(clp_SOURCES)
    282 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
    283         html-recursive info-recursive install-data-recursive \
    284         install-exec-recursive install-info-recursive \
    285         install-recursive installcheck-recursive installdirs-recursive \
    286         pdf-recursive ps-recursive uninstall-info-recursive \
    287         uninstall-recursive
    288283am__includecoin_HEADERS_DIST = Clp_C_Interface.h ClpCholeskyBase.hpp \
    289284        ClpCholeskyDense.hpp ClpConstraint.hpp ClpConstraintLinear.hpp \
     
    309304ETAGS = etags
    310305CTAGS = ctags
    311 DIST_SUBDIRS = OsiClp
    312306DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    313307ABSBUILDDIR = @ABSBUILDDIR@
     
    412406DEFS = @DEFS@
    413407DEPDIR = @DEPDIR@
     408DEPENDENCY_LINKING_FALSE = @DEPENDENCY_LINKING_FALSE@
     409DEPENDENCY_LINKING_TRUE = @DEPENDENCY_LINKING_TRUE@
    414410ECHO = @ECHO@
    415411ECHO_C = @ECHO_C@
     
    573569target_alias = @target_alias@
    574570AUTOMAKE_OPTIONS = foreign
    575 @COIN_HAS_OSI_TRUE@SUBDIRS = OsiClp
    576571
    577572########################################################################
     
    621616        $(am__append_4) $(am__append_5) $(am__append_6)
    622617
     618# List all additionally required libraries
     619@DEPENDENCY_LINKING_TRUE@libClp_la_LIBADD = $(CLPLIB_LIBS)
     620
    623621# This is for libtool
    624622libClp_la_LDFLAGS = $(LT_LDFLAGS)
     
    680678        CbcOrClpParam.cpp
    681679all: config.h config_clp.h
    682         $(MAKE) $(AM_MAKEFLAGS) all-recursive
     680        $(MAKE) $(AM_MAKEFLAGS) all-am
    683681
    684682.SUFFIXES:
     
    948946        done
    949947
    950 # This directory's subdirectories are mostly independent; you can cd
    951 # into them and run `make' without going through this Makefile.
    952 # To change the values of `make' variables: instead of editing Makefiles,
    953 # (1) if the variable is set in `config.status', edit `config.status'
    954 #     (which will cause the Makefiles to be regenerated when you run `make');
    955 # (2) otherwise, pass the desired values on the `make' command line.
    956 $(RECURSIVE_TARGETS):
    957         @failcom='exit 1'; \
    958         for f in x $$MAKEFLAGS; do \
    959           case $$f in \
    960             *=* | --[!k]*);; \
    961             *k*) failcom='fail=yes';; \
    962           esac; \
    963         done; \
    964         dot_seen=no; \
    965         target=`echo $@ | sed s/-recursive//`; \
    966         list='$(SUBDIRS)'; for subdir in $$list; do \
    967           echo "Making $$target in $$subdir"; \
    968           if test "$$subdir" = "."; then \
    969             dot_seen=yes; \
    970             local_target="$$target-am"; \
    971           else \
    972             local_target="$$target"; \
    973           fi; \
    974           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
    975           || eval $$failcom; \
    976         done; \
    977         if test "$$dot_seen" = "no"; then \
    978           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
    979         fi; test -z "$$fail"
    980 
    981 mostlyclean-recursive clean-recursive distclean-recursive \
    982 maintainer-clean-recursive:
    983         @failcom='exit 1'; \
    984         for f in x $$MAKEFLAGS; do \
    985           case $$f in \
    986             *=* | --[!k]*);; \
    987             *k*) failcom='fail=yes';; \
    988           esac; \
    989         done; \
    990         dot_seen=no; \
    991         case "$@" in \
    992           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
    993           *) list='$(SUBDIRS)' ;; \
    994         esac; \
    995         rev=''; for subdir in $$list; do \
    996           if test "$$subdir" = "."; then :; else \
    997             rev="$$subdir $$rev"; \
    998           fi; \
    999         done; \
    1000         rev="$$rev ."; \
    1001         target=`echo $@ | sed s/-recursive//`; \
    1002         for subdir in $$rev; do \
    1003           echo "Making $$target in $$subdir"; \
    1004           if test "$$subdir" = "."; then \
    1005             local_target="$$target-am"; \
    1006           else \
    1007             local_target="$$target"; \
    1008           fi; \
    1009           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
    1010           || eval $$failcom; \
    1011         done && test -z "$$fail"
    1012 tags-recursive:
    1013         list='$(SUBDIRS)'; for subdir in $$list; do \
    1014           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
    1015         done
    1016 ctags-recursive:
    1017         list='$(SUBDIRS)'; for subdir in $$list; do \
    1018           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
    1019         done
    1020 
    1021948ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    1022949        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     
    1029956tags: TAGS
    1030957
    1031 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in config_clp.h.in $(TAGS_DEPENDENCIES) \
     958TAGS: $(HEADERS) $(SOURCES) config.h.in config_clp.h.in $(TAGS_DEPENDENCIES) \
    1032959                $(TAGS_FILES) $(LISP)
    1033960        tags=; \
    1034961        here=`pwd`; \
    1035         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
    1036           include_option=--etags-include; \
    1037           empty_fix=.; \
    1038         else \
    1039           include_option=--include; \
    1040           empty_fix=; \
    1041         fi; \
    1042         list='$(SUBDIRS)'; for subdir in $$list; do \
    1043           if test "$$subdir" = .; then :; else \
    1044             test ! -f $$subdir/TAGS || \
    1045               tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
    1046           fi; \
    1047         done; \
    1048962        list='$(SOURCES) $(HEADERS) config.h.in config_clp.h.in $(LISP) $(TAGS_FILES)'; \
    1049963        unique=`for i in $$list; do \
     
    1058972        fi
    1059973ctags: CTAGS
    1060 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in config_clp.h.in $(TAGS_DEPENDENCIES) \
     974CTAGS: $(HEADERS) $(SOURCES) config.h.in config_clp.h.in $(TAGS_DEPENDENCIES) \
    1061975                $(TAGS_FILES) $(LISP)
    1062976        tags=; \
     
    11071021          fi; \
    11081022        done
    1109         list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
    1110           if test "$$subdir" = .; then :; else \
    1111             test -d "$(distdir)/$$subdir" \
    1112             || $(mkdir_p) "$(distdir)/$$subdir" \
    1113             || exit 1; \
    1114             distdir=`$(am__cd) $(distdir) && pwd`; \
    1115             top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
    1116             (cd $$subdir && \
    1117               $(MAKE) $(AM_MAKEFLAGS) \
    1118                 top_distdir="$$top_distdir" \
    1119                 distdir="$$distdir/$$subdir" \
    1120                 distdir) \
    1121               || exit 1; \
    1122           fi; \
    1123         done
    11241023check-am: all-am
    1125 check: check-recursive
     1024check: check-am
    11261025all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) config.h \
    11271026                config_clp.h
    11281027install-binPROGRAMS: install-libLTLIBRARIES
    11291028
    1130 installdirs: installdirs-recursive
    1131 installdirs-am:
     1029installdirs:
    11321030        for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includecoindir)"; do \
    11331031          test -z "$$dir" || $(mkdir_p) "$$dir"; \
    11341032        done
    1135 install: install-recursive
    1136 install-exec: install-exec-recursive
    1137 install-data: install-data-recursive
    1138 uninstall: uninstall-recursive
     1033install: install-am
     1034install-exec: install-exec-am
     1035install-data: install-data-am
     1036uninstall: uninstall-am
    11391037
    11401038install-am: all-am
    11411039        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    11421040
    1143 installcheck: installcheck-recursive
     1041installcheck: installcheck-am
    11441042install-strip:
    11451043        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     
    11581056        @echo "it deletes files that may require special tools to rebuild."
    11591057@COIN_CXX_IS_CL_FALSE@install-exec-hook:
    1160 clean: clean-recursive
     1058clean: clean-am
    11611059
    11621060clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
    11631061        clean-libtool mostlyclean-am
    11641062
    1165 distclean: distclean-recursive
     1063distclean: distclean-am
    11661064        -rm -rf ./$(DEPDIR)
    11671065        -rm -f Makefile
     
    11691067        distclean-hdr distclean-libtool distclean-tags
    11701068
    1171 dvi: dvi-recursive
     1069dvi: dvi-am
    11721070
    11731071dvi-am:
    11741072
    1175 html: html-recursive
    1176 
    1177 info: info-recursive
     1073html: html-am
     1074
     1075info: info-am
    11781076
    11791077info-am:
     
    11861084        $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
    11871085
    1188 install-info: install-info-recursive
     1086install-info: install-info-am
    11891087
    11901088install-man:
     
    11921090installcheck-am:
    11931091
    1194 maintainer-clean: maintainer-clean-recursive
     1092maintainer-clean: maintainer-clean-am
    11951093        -rm -rf ./$(DEPDIR)
    11961094        -rm -f Makefile
    11971095maintainer-clean-am: distclean-am maintainer-clean-generic
    11981096
    1199 mostlyclean: mostlyclean-recursive
     1097mostlyclean: mostlyclean-am
    12001098
    12011099mostlyclean-am: mostlyclean-compile mostlyclean-generic \
    12021100        mostlyclean-libtool
    12031101
    1204 pdf: pdf-recursive
     1102pdf: pdf-am
    12051103
    12061104pdf-am:
    12071105
    1208 ps: ps-recursive
     1106ps: ps-am
    12091107
    12101108ps-am:
     
    12131111        uninstall-info-am uninstall-libLTLIBRARIES uninstall-local
    12141112
    1215 uninstall-info: uninstall-info-recursive
    1216 
    1217 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
    1218         clean clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
    1219         clean-libtool clean-recursive ctags ctags-recursive distclean \
    1220         distclean-compile distclean-generic distclean-hdr \
    1221         distclean-libtool distclean-recursive distclean-tags distdir \
    1222         dvi dvi-am html html-am info info-am install install-am \
    1223         install-binPROGRAMS install-data install-data-am install-exec \
    1224         install-exec-am install-exec-hook install-exec-local \
     1113.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
     1114        clean-generic clean-libLTLIBRARIES clean-libtool ctags \
     1115        distclean distclean-compile distclean-generic distclean-hdr \
     1116        distclean-libtool distclean-tags distdir dvi dvi-am html \
     1117        html-am info info-am install install-am install-binPROGRAMS \
     1118        install-data install-data-am install-exec install-exec-am \
     1119        install-exec-hook install-exec-local \
    12251120        install-includecoinHEADERS install-info install-info-am \
    12261121        install-libLTLIBRARIES install-man install-strip installcheck \
    1227         installcheck-am installdirs installdirs-am maintainer-clean \
    1228         maintainer-clean-generic maintainer-clean-recursive \
    1229         mostlyclean mostlyclean-compile mostlyclean-generic \
    1230         mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
    1231         tags tags-recursive uninstall uninstall-am \
    1232         uninstall-binPROGRAMS uninstall-includecoinHEADERS \
    1233         uninstall-info-am uninstall-libLTLIBRARIES uninstall-local
     1122        installcheck-am installdirs maintainer-clean \
     1123        maintainer-clean-generic mostlyclean mostlyclean-compile \
     1124        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     1125        tags uninstall uninstall-am uninstall-binPROGRAMS \
     1126        uninstall-includecoinHEADERS uninstall-info-am \
     1127        uninstall-libLTLIBRARIES uninstall-local
    12341128
    12351129
  • trunk/Clp/src/OsiClp/Makefile.am

    r1781 r1996  
    1919libOsiClp_la_SOURCES = OsiClpSolverInterface.cpp OsiClpSolverInterface.hpp
    2020
     21# List all additionally required libraries
     22if DEPENDENCY_LINKING
     23libOsiClp_la_LIBADD = $(OSICLPLIB_LIBS) ../libClp.la
     24endif
     25
    2126# This is for libtool (on Windows)
    2227libOsiClp_la_LDFLAGS = $(LT_LDFLAGS)
  • trunk/Clp/src/OsiClp/Makefile.in

    r1965 r1996  
    6565libLTLIBRARIES_INSTALL = $(INSTALL)
    6666LTLIBRARIES = $(lib_LTLIBRARIES)
    67 libOsiClp_la_LIBADD =
     67am__DEPENDENCIES_1 =
     68@DEPENDENCY_LINKING_TRUE@libOsiClp_la_DEPENDENCIES =  \
     69@DEPENDENCY_LINKING_TRUE@       $(am__DEPENDENCIES_1) ../libClp.la
    6870am_libOsiClp_la_OBJECTS = OsiClpSolverInterface.lo
    6971libOsiClp_la_OBJECTS = $(am_libOsiClp_la_OBJECTS)
     
    194196DEFS = @DEFS@
    195197DEPDIR = @DEPDIR@
     198DEPENDENCY_LINKING_FALSE = @DEPENDENCY_LINKING_FALSE@
     199DEPENDENCY_LINKING_TRUE = @DEPENDENCY_LINKING_TRUE@
    196200ECHO = @ECHO@
    197201ECHO_C = @ECHO_C@
     
    366370libOsiClp_la_SOURCES = OsiClpSolverInterface.cpp OsiClpSolverInterface.hpp
    367371
     372# List all additionally required libraries
     373@DEPENDENCY_LINKING_TRUE@libOsiClp_la_LIBADD = $(OSICLPLIB_LIBS) ../libClp.la
     374
    368375# This is for libtool (on Windows)
    369376libOsiClp_la_LDFLAGS = $(LT_LDFLAGS)
  • trunk/Clp/test/Makefile.in

    r1965 r1996  
    184184DEFS = @DEFS@
    185185DEPDIR = @DEPDIR@
     186DEPENDENCY_LINKING_FALSE = @DEPENDENCY_LINKING_FALSE@
     187DEPENDENCY_LINKING_TRUE = @DEPENDENCY_LINKING_TRUE@
    186188ECHO = @ECHO@
    187189ECHO_C = @ECHO_C@
Note: See TracChangeset for help on using the changeset viewer.