- Timestamp:
- Nov 28, 2010 3:42:24 PM (9 years ago)
- Location:
- trunk/Clp
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Clp/Makefile.am
r1636 r1637 115 115 endif 116 116 117 if COIN_HAS_PKGCONFIG118 117 addlibsdir = $(DESTDIR)$(datadir)/coin/doc/Clp 119 118 120 119 install-data-hook: 121 120 @$(mkdir_p) "$(addlibsdir)" 121 if COIN_HAS_PKGCONFIG 122 122 PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \ 123 123 $(PKG_CONFIG) --libs clp > $(addlibsdir)/clp_addlibs.txt 124 else 125 echo -L@abs_lib_dir@ -lClp @CLPLIB_LIBS_INSTALLED@ > $(addlibsdir)/clp_addlibs.txt 126 endif 124 127 125 128 uninstall-hook: 126 129 rm -f $(addlibsdir)/clp_addlibs.txt 127 endif128 130 129 131 ######################################################################## -
trunk/Clp/Makefile.in
r1636 r1637 136 136 CFLAGS = @CFLAGS@ 137 137 CLPLIB_CFLAGS = @CLPLIB_CFLAGS@ 138 CLPLIB_CFLAGS_INSTALLED = @CLPLIB_CFLAGS_INSTALLED@ 138 139 CLPLIB_LIBS = @CLPLIB_LIBS@ 140 CLPLIB_LIBS_INSTALLED = @CLPLIB_LIBS_INSTALLED@ 139 141 CLPLIB_PCLIBS = @CLPLIB_PCLIBS@ 140 142 CLPLIB_PCREQUIRES = @CLPLIB_PCREQUIRES@ … … 142 144 COINUTILS_CFLAGS = @COINUTILS_CFLAGS@ 143 145 COINUTILS_DATA = @COINUTILS_DATA@ 146 COINUTILS_DATA_INSTALLED = @COINUTILS_DATA_INSTALLED@ 144 147 COINUTILS_LIBS = @COINUTILS_LIBS@ 148 COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@ 149 COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@ 150 COIN_CXX_IS_CL_FALSE = @COIN_CXX_IS_CL_FALSE@ 151 COIN_CXX_IS_CL_TRUE = @COIN_CXX_IS_CL_TRUE@ 145 152 COIN_HAS_COINUTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@ 146 153 COIN_HAS_COINUTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@ … … 201 208 NETLIB_CFLAGS = @NETLIB_CFLAGS@ 202 209 NETLIB_DATA = @NETLIB_DATA@ 210 NETLIB_DATA_INSTALLED = @NETLIB_DATA_INSTALLED@ 203 211 NETLIB_LIBS = @NETLIB_LIBS@ 204 212 OBJEXT = @OBJEXT@ … … 206 214 OPT_CXXFLAGS = @OPT_CXXFLAGS@ 207 215 OSICLPLIB_CFLAGS = @OSICLPLIB_CFLAGS@ 216 OSICLPLIB_CFLAGS_INSTALLED = @OSICLPLIB_CFLAGS_INSTALLED@ 208 217 OSICLPLIB_LIBS = @OSICLPLIB_LIBS@ 218 OSICLPLIB_LIBS_INSTALLED = @OSICLPLIB_LIBS_INSTALLED@ 209 219 OSICLPLIB_PCLIBS = @OSICLPLIB_PCLIBS@ 210 220 OSICLPLIB_PCREQUIRES = @OSICLPLIB_PCREQUIRES@ 211 221 OSITESTS_CFLAGS = @OSITESTS_CFLAGS@ 212 222 OSITESTS_DATA = @OSITESTS_DATA@ 223 OSITESTS_DATA_INSTALLED = @OSITESTS_DATA_INSTALLED@ 213 224 OSITESTS_LIBS = @OSITESTS_LIBS@ 214 225 OSI_CFLAGS = @OSI_CFLAGS@ 215 226 OSI_DATA = @OSI_DATA@ 227 OSI_DATA_INSTALLED = @OSI_DATA_INSTALLED@ 216 228 OSI_LIBS = @OSI_LIBS@ 217 229 PACKAGE = @PACKAGE@ … … 228 240 SAMPLE_CFLAGS = @SAMPLE_CFLAGS@ 229 241 SAMPLE_DATA = @SAMPLE_DATA@ 242 SAMPLE_DATA_INSTALLED = @SAMPLE_DATA_INSTALLED@ 230 243 SAMPLE_LIBS = @SAMPLE_LIBS@ 231 244 SET_MAKE = @SET_MAKE@ … … 331 344 pkgconfiglibdir = $(libdir)/pkgconfig 332 345 pkgconfiglib_DATA = clp.pc $(am__append_2) 333 @COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(DESTDIR)$(datadir)/coin/doc/Clp346 addlibsdir = $(DESTDIR)$(datadir)/coin/doc/Clp 334 347 335 348 ######################################################################## … … 743 756 @echo "This command is intended for maintainers to use" 744 757 @echo "it deletes files that may require special tools to rebuild." 745 @COIN_HAS_PKGCONFIG_FALSE@install-data-hook:746 @COIN_HAS_PKGCONFIG_FALSE@uninstall-hook:747 758 clean: clean-recursive 748 759 … … 850 861 .PHONY: test unitTest doxydoc 851 862 852 @COIN_HAS_PKGCONFIG_TRUE@install-data-hook:853 @COIN_HAS_PKGCONFIG_TRUE@@$(mkdir_p) "$(addlibsdir)"863 install-data-hook: 864 @$(mkdir_p) "$(addlibsdir)" 854 865 @COIN_HAS_PKGCONFIG_TRUE@ PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \ 855 866 @COIN_HAS_PKGCONFIG_TRUE@ $(PKG_CONFIG) --libs clp > $(addlibsdir)/clp_addlibs.txt 856 857 @COIN_HAS_PKGCONFIG_TRUE@uninstall-hook: 858 @COIN_HAS_PKGCONFIG_TRUE@ rm -f $(addlibsdir)/clp_addlibs.txt 867 @COIN_HAS_PKGCONFIG_FALSE@ echo -L@abs_lib_dir@ -lClp @CLPLIB_LIBS_INSTALLED@ > $(addlibsdir)/clp_addlibs.txt 868 869 uninstall-hook: 870 rm -f $(addlibsdir)/clp_addlibs.txt 859 871 860 872 install-doc: $(DocFiles) -
trunk/Clp/configure
r1636 r1637 473 473 #endif" 474 474 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 ADDLIBS PCADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion CLP_SVN_REV C DEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX EGREP 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 LN_S 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_pt_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 CLPLIB_CFLAGS CLPLIB_LIBS CLPLIB_PCLIBS CLPLIB_PCREQUIRES COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_FALSE OSI_LIBS OSI_CFLAGS OSI_DATA OSICLPLIB_CFLAGS OSICLPLIB_LIBS OSICLPLIB_PCLIBS OSICLPLIB_PCREQUIRES COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE OSITESTS_LIBS OSITESTS_CFLAGS OSITESTS_DATA COIN_HAS_OSITESTS_TRUE COIN_HAS_OSITESTS_FALSE SAMPLE_LIBS SAMPLE_CFLAGS SAMPLE_DATA COIN_HAS_SAMPLE_TRUE COIN_HAS_SAMPLE_FALSE NETLIB_LIBS NETLIB_CFLAGS NETLIB_DATACOIN_HAS_NETLIB_TRUE COIN_HAS_NETLIB_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'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 ADDLIBS PCADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion CLP_SVN_REV 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 CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX COIN_CXX_IS_CL_TRUE COIN_CXX_IS_CL_FALSE MPICXX EGREP 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 LN_S 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_pt_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 CLPLIB_CFLAGS CLPLIB_LIBS CLPLIB_PCLIBS CLPLIB_PCREQUIRES CLPLIB_CFLAGS_INSTALLED CLPLIB_LIBS_INSTALLED COINUTILS_DATA_INSTALLED COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_FALSE OSI_LIBS OSI_CFLAGS OSI_DATA OSICLPLIB_CFLAGS OSICLPLIB_LIBS OSICLPLIB_PCLIBS OSICLPLIB_PCREQUIRES OSICLPLIB_CFLAGS_INSTALLED OSICLPLIB_LIBS_INSTALLED OSI_DATA_INSTALLED COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE OSITESTS_LIBS OSITESTS_CFLAGS OSITESTS_DATA OSITESTS_DATA_INSTALLED COIN_HAS_OSITESTS_TRUE COIN_HAS_OSITESTS_FALSE SAMPLE_LIBS SAMPLE_CFLAGS SAMPLE_DATA SAMPLE_DATA_INSTALLED COIN_HAS_SAMPLE_TRUE COIN_HAS_SAMPLE_FALSE NETLIB_LIBS NETLIB_CFLAGS NETLIB_DATA NETLIB_DATA_INSTALLED COIN_HAS_NETLIB_TRUE COIN_HAS_NETLIB_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' 476 476 ac_subst_files='' 477 477 … … 1969 1969 fi 1970 1970 1971 # add automake conditional so we can recognize cl compiler in makefile 1972 coin_cc_is_cl=false 1973 if test x"$CXX" != x; then 1974 case "$CXX" in 1975 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 1976 coin_cc_is_cl=true 1977 ;; 1978 esac 1979 fi 1980 1981 1982 if test $coin_cc_is_cl = true; then 1983 COIN_CC_IS_CL_TRUE= 1984 COIN_CC_IS_CL_FALSE='#' 1985 else 1986 COIN_CC_IS_CL_TRUE='#' 1987 COIN_CC_IS_CL_FALSE= 1988 fi 1989 1990 1971 1991 1972 1992 … … 3677 3697 3678 3698 3699 coin_cxx_is_cl=false 3679 3700 # It seems that we need to cleanup something here for the Windows 3680 3701 case "$CXX" in … … 3682 3703 sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh 3683 3704 mv confdefs.hh confdefs.h 3705 coin_cxx_is_cl=true 3684 3706 ;; 3685 3707 esac 3708 3709 # add automake conditional so we can recognize cl compiler in makefile 3710 3711 3712 if test $coin_cxx_is_cl = true; then 3713 COIN_CXX_IS_CL_TRUE= 3714 COIN_CXX_IS_CL_FALSE='#' 3715 else 3716 COIN_CXX_IS_CL_TRUE='#' 3717 COIN_CXX_IS_CL_FALSE= 3718 fi 3719 3686 3720 3687 3721 # Autoconf incorrectly concludes that cl recognises -g. It doesn't. … … 5882 5916 *-*-irix6*) 5883 5917 # Find out which ABI we are using. 5884 echo '#line 5 884"configure"' > conftest.$ac_ext5918 echo '#line 5918 "configure"' > conftest.$ac_ext 5885 5919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5886 5920 (eval $ac_compile) 2>&5 … … 7016 7050 7017 7051 # Provide some information about the compiler. 7018 echo "$as_me:70 18:" \7052 echo "$as_me:7052:" \ 7019 7053 "checking for Fortran 77 compiler version" >&5 7020 7054 ac_compiler=`set X $ac_compile; echo $2` … … 8083 8117 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8084 8118 -e 's:$: $lt_compiler_flag:'` 8085 (eval echo "\"\$as_me:8 085: $lt_compile\"" >&5)8119 (eval echo "\"\$as_me:8119: $lt_compile\"" >&5) 8086 8120 (eval "$lt_compile" 2>conftest.err) 8087 8121 ac_status=$? 8088 8122 cat conftest.err >&5 8089 echo "$as_me:8 089: \$? = $ac_status" >&58123 echo "$as_me:8123: \$? = $ac_status" >&5 8090 8124 if (exit $ac_status) && test -s "$ac_outfile"; then 8091 8125 # The compiler can only warn and ignore the option if not recognized … … 8351 8385 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8352 8386 -e 's:$: $lt_compiler_flag:'` 8353 (eval echo "\"\$as_me:83 53: $lt_compile\"" >&5)8387 (eval echo "\"\$as_me:8387: $lt_compile\"" >&5) 8354 8388 (eval "$lt_compile" 2>conftest.err) 8355 8389 ac_status=$? 8356 8390 cat conftest.err >&5 8357 echo "$as_me:83 57: \$? = $ac_status" >&58391 echo "$as_me:8391: \$? = $ac_status" >&5 8358 8392 if (exit $ac_status) && test -s "$ac_outfile"; then 8359 8393 # The compiler can only warn and ignore the option if not recognized … … 8455 8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8456 8490 -e 's:$: $lt_compiler_flag:'` 8457 (eval echo "\"\$as_me:84 57: $lt_compile\"" >&5)8491 (eval echo "\"\$as_me:8491: $lt_compile\"" >&5) 8458 8492 (eval "$lt_compile" 2>out/conftest.err) 8459 8493 ac_status=$? 8460 8494 cat out/conftest.err >&5 8461 echo "$as_me:84 61: \$? = $ac_status" >&58495 echo "$as_me:8495: \$? = $ac_status" >&5 8462 8496 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8463 8497 then … … 10800 10834 lt_status=$lt_dlunknown 10801 10835 cat > conftest.$ac_ext <<EOF 10802 #line 108 02"configure"10836 #line 10836 "configure" 10803 10837 #include "confdefs.h" 10804 10838 … … 10900 10934 lt_status=$lt_dlunknown 10901 10935 cat > conftest.$ac_ext <<EOF 10902 #line 109 02"configure"10936 #line 10936 "configure" 10903 10937 #include "confdefs.h" 10904 10938 … … 13244 13278 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13245 13279 -e 's:$: $lt_compiler_flag:'` 13246 (eval echo "\"\$as_me:132 46: $lt_compile\"" >&5)13280 (eval echo "\"\$as_me:13280: $lt_compile\"" >&5) 13247 13281 (eval "$lt_compile" 2>conftest.err) 13248 13282 ac_status=$? 13249 13283 cat conftest.err >&5 13250 echo "$as_me:132 50: \$? = $ac_status" >&513284 echo "$as_me:13284: \$? = $ac_status" >&5 13251 13285 if (exit $ac_status) && test -s "$ac_outfile"; then 13252 13286 # The compiler can only warn and ignore the option if not recognized … … 13348 13382 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13349 13383 -e 's:$: $lt_compiler_flag:'` 13350 (eval echo "\"\$as_me:133 50: $lt_compile\"" >&5)13384 (eval echo "\"\$as_me:13384: $lt_compile\"" >&5) 13351 13385 (eval "$lt_compile" 2>out/conftest.err) 13352 13386 ac_status=$? 13353 13387 cat out/conftest.err >&5 13354 echo "$as_me:133 54: \$? = $ac_status" >&513388 echo "$as_me:13388: \$? = $ac_status" >&5 13355 13389 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13356 13390 then … … 14918 14952 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14919 14953 -e 's:$: $lt_compiler_flag:'` 14920 (eval echo "\"\$as_me:149 20: $lt_compile\"" >&5)14954 (eval echo "\"\$as_me:14954: $lt_compile\"" >&5) 14921 14955 (eval "$lt_compile" 2>conftest.err) 14922 14956 ac_status=$? 14923 14957 cat conftest.err >&5 14924 echo "$as_me:149 24: \$? = $ac_status" >&514958 echo "$as_me:14958: \$? = $ac_status" >&5 14925 14959 if (exit $ac_status) && test -s "$ac_outfile"; then 14926 14960 # The compiler can only warn and ignore the option if not recognized … … 15022 15056 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15023 15057 -e 's:$: $lt_compiler_flag:'` 15024 (eval echo "\"\$as_me:150 24: $lt_compile\"" >&5)15058 (eval echo "\"\$as_me:15058: $lt_compile\"" >&5) 15025 15059 (eval "$lt_compile" 2>out/conftest.err) 15026 15060 ac_status=$? 15027 15061 cat out/conftest.err >&5 15028 echo "$as_me:150 28: \$? = $ac_status" >&515062 echo "$as_me:15062: \$? = $ac_status" >&5 15029 15063 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15030 15064 then … … 17229 17263 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17230 17264 -e 's:$: $lt_compiler_flag:'` 17231 (eval echo "\"\$as_me:172 31: $lt_compile\"" >&5)17265 (eval echo "\"\$as_me:17265: $lt_compile\"" >&5) 17232 17266 (eval "$lt_compile" 2>conftest.err) 17233 17267 ac_status=$? 17234 17268 cat conftest.err >&5 17235 echo "$as_me:172 35: \$? = $ac_status" >&517269 echo "$as_me:17269: \$? = $ac_status" >&5 17236 17270 if (exit $ac_status) && test -s "$ac_outfile"; then 17237 17271 # The compiler can only warn and ignore the option if not recognized … … 17497 17531 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17498 17532 -e 's:$: $lt_compiler_flag:'` 17499 (eval echo "\"\$as_me:17 499: $lt_compile\"" >&5)17533 (eval echo "\"\$as_me:17533: $lt_compile\"" >&5) 17500 17534 (eval "$lt_compile" 2>conftest.err) 17501 17535 ac_status=$? 17502 17536 cat conftest.err >&5 17503 echo "$as_me:175 03: \$? = $ac_status" >&517537 echo "$as_me:17537: \$? = $ac_status" >&5 17504 17538 if (exit $ac_status) && test -s "$ac_outfile"; then 17505 17539 # The compiler can only warn and ignore the option if not recognized … … 17601 17635 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17602 17636 -e 's:$: $lt_compiler_flag:'` 17603 (eval echo "\"\$as_me:176 03: $lt_compile\"" >&5)17637 (eval echo "\"\$as_me:17637: $lt_compile\"" >&5) 17604 17638 (eval "$lt_compile" 2>out/conftest.err) 17605 17639 ac_status=$? 17606 17640 cat out/conftest.err >&5 17607 echo "$as_me:176 07: \$? = $ac_status" >&517641 echo "$as_me:17641: \$? = $ac_status" >&5 17608 17642 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17609 17643 then … … 20827 20861 coin_has_coinutils=notGiven 20828 20862 COINUTILS_LIBS= 20863 COINUTILS_LIBS_INSTALLED= 20829 20864 COINUTILS_CFLAGS= 20865 COINUTILS_CFLAGS_INSTALLED= 20830 20866 COINUTILS_DATA= 20867 COINUTILS_DATA_INSTALLED= 20831 20868 20832 20869 # initial list of dependencies is "coinutils", but we need to filter out version number specifications (= x, <= x, >= x) … … 20835 20872 # we first expand the list of projects to process by adding all dependencies just behind the project which depends on it 20836 20873 # further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards 20874 # the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples 20837 20875 # also, we setup the DATA variable 20838 20876 allproj="" 20839 20877 allpcfiles="" 20878 allpcifiles="" 20840 20879 while test "x$projtoprocess" != x ; do 20841 20880 … … 20847 20886 for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do 20848 20887 # 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 20849 if test -r "$dir/$ proj-uninstalled.pc" ; then20888 if test -r "$dir/${proj}-uninstalled.pc" ; then 20850 20889 pcfile="$dir/$proj-uninstalled.pc" 20890 if test -r "$dir/${proj}.pc" ; then 20891 pcifile="$dir/${proj}.pc" 20892 else 20893 { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5 20894 echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;} 20895 pcifile= 20896 fi 20851 20897 break 20852 20898 fi … … 20862 20908 projtoprocess=${projtoprocess/$proj/$projrequires} 20863 20909 20864 # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one) 20865 if test "x$allproj" = x ; then 20866 COINUTILS_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"` 20910 # read DATA from $pcfile, if _DATA is still empty 20911 if test "x$COINUTILS_DATA" = x ; then 20912 projdatadir= 20913 pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile` 20914 eval `sh -c "$pcfilemod"` 20915 COINUTILS_DATA="$projdatadir" 20867 20916 fi 20868 20917 … … 20875 20924 allproj=fail 20876 20925 break 2 20926 fi 20927 20928 if test "x$pcifile" != x ; then 20929 allpcifiles="$pcifile:$allpcifiles" 20930 20931 # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty 20932 if test "x$COINUTILS_DATA_INSTALLED" = x ; then 20933 projdatadir= 20934 pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile` 20935 eval `sh -c "$pcifilemod"` 20936 COINUTILS_DATA_INSTALLED="$projdatadir" 20937 fi 20938 20877 20939 fi 20878 20940 … … 20905 20967 fi 20906 20968 20907 # reconstruct the directory where the .pc file is located 20908 pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'` 20909 20910 # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags 20911 projcflags=`sed -n -e 's/Cflags://p' "$pcfile"` 20969 # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags: 20970 # replace "Libs:" by "echo projlibs=" 20971 # replace "Cflags:" by "echo projcflags=" 20972 # remove every line starting with <some word>: 20973 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile` 20974 20975 # set projcflags and projlibs variables by running $pcfilemod 20976 eval `sh -c "$pcfilemod"` 20977 20978 # add CYGPATH_W cludge into include flags and set CFLAGS variable 20912 20979 projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 20913 20980 COINUTILS_CFLAGS="$projcflags $COINUTILS_CFLAGS" 20914 20981 20915 # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags 20916 # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir 20917 projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"` 20918 if test "x$projlibs" != x ; then 20919 if test -d "${pcfiledir}/src" ; then 20920 projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs" 20921 else 20922 projlibs="-L`cd "$pcfiledir"; pwd` $projlibs" 20923 fi 20924 else 20925 projlibs=`sed -n -e 's/Libs://p' "$pcfile"` 20926 fi 20982 # set LIBS variable 20927 20983 COINUTILS_LIBS="$projlibs $COINUTILS_LIBS" 20928 20984 … … 20932 20988 done 20933 20989 IFS="$save_IFS" 20990 20991 20992 # now go through the list of .pc files for installed projects and assemble compiler and linker flags 20993 # important is here again to obey the reverse order that has been setup before, 20994 # since then libraries that are required by several others should be after these other libraries 20995 pcfilesprocessed="" 20996 20997 save_IFS="$IFS" 20998 IFS=":" 20999 for pcfile in $allpcifiles ; do 21000 21001 # if $pcfile has been processed already, skip this round 21002 if test "x$pcfilesprocessed" != x ; then 21003 for pcfiledone in $pcfilesprocessed ; do 21004 if test "$pcfiledone" = "$pcfile" ; then 21005 continue 2 21006 fi 21007 done 21008 fi 21009 21010 # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags: 21011 # replace "Libs:" by "echo projlibs=" 21012 # replace "Cflags:" by "echo projcflags=" 21013 # remove every line starting with <some word>: 21014 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile` 21015 21016 # set projcflags and projlibs variables by running $pcfilemod 21017 eval `sh -c "$pcfilemod"` 21018 21019 # add CYGPATH_W cludge into include flags and set CFLAGS variable 21020 projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 21021 COINUTILS_CFLAGS_INSTALLED="$projcflags $COINUTILS_CFLAGS_INSTALLED" 21022 21023 # set LIBS variable 21024 COINUTILS_LIBS_INSTALLED="$projlibs $COINUTILS_LIBS_INSTALLED" 21025 21026 # remember that we have processed $pcfile 21027 pcfilesprocessed="$pcfilesprocessed:$pcfile" 21028 21029 done 21030 IFS="$save_IFS" 21031 20934 21032 20935 21033 # finish up … … 20947 21045 CLPLIB_CFLAGS="$COINUTILS_CFLAGS $CLPLIB_CFLAGS" 20948 21046 CLPLIB_LIBS="$COINUTILS_LIBS $CLPLIB_LIBS" 21047 CLPLIB_CFLAGS_INSTALLED="$COINUTILS_CFLAGS_INSTALLED $CLPLIB_CFLAGS_INSTALLED" 21048 CLPLIB_LIBS_INSTALLED="$COINUTILS_LIBS_INSTALLED $CLPLIB_LIBS_INSTALLED" 21049 21050 21051 20949 21052 20950 21053 … … 20962 21065 echo "$as_me: CoinUtils DATA is $COINUTILS_DATA" >&6;} 20963 21066 fi 20964 21067 if test -n "$COINUTILS_CFLAGS_INSTALLED" ; then 21068 { echo "$as_me:$LINENO: CoinUtils CFLAGS_INSTALLED are $COINUTILS_CFLAGS_INSTALLED" >&5 21069 echo "$as_me: CoinUtils CFLAGS_INSTALLED are $COINUTILS_CFLAGS_INSTALLED" >&6;} 21070 fi 21071 if test -n "$COINUTILS_LIBS_INSTALLED" ; then 21072 { echo "$as_me:$LINENO: CoinUtils LIBS_INSTALLED are $COINUTILS_LIBS_INSTALLED" >&5 21073 echo "$as_me: CoinUtils LIBS_INSTALLED are $COINUTILS_LIBS_INSTALLED" >&6;} 21074 fi 21075 if test -n "$COINUTILS_DATA_INSTALLED" ; then 21076 { echo "$as_me:$LINENO: CoinUtils DATA_INSTALLED is $COINUTILS_DATA_INSTALLED" >&5 21077 echo "$as_me: CoinUtils DATA_INSTALLED is $COINUTILS_DATA_INSTALLED" >&6;} 21078 fi 21079 21080 { echo "$as_me:$LINENO: " >&5 21081 echo "$as_me: " >&6;} 20965 21082 { echo "$as_me:$LINENO: ClpLib CFLAGS are $CLPLIB_CFLAGS" >&5 20966 21083 echo "$as_me: ClpLib CFLAGS are $CLPLIB_CFLAGS" >&6;} 20967 21084 { echo "$as_me:$LINENO: ClpLib LIBS are $CLPLIB_LIBS" >&5 20968 21085 echo "$as_me: ClpLib LIBS are $CLPLIB_LIBS" >&6;} 21086 { echo "$as_me:$LINENO: ClpLib CFLAGS_INSTALLED are $CLPLIB_CFLAGS_INSTALLED" >&5 21087 echo "$as_me: ClpLib CFLAGS_INSTALLED are $CLPLIB_CFLAGS_INSTALLED" >&6;} 21088 { echo "$as_me:$LINENO: ClpLib LIBS_INSTALLED are $CLPLIB_LIBS_INSTALLED" >&5 21089 echo "$as_me: ClpLib LIBS_INSTALLED are $CLPLIB_LIBS_INSTALLED" >&6;} 20969 21090 20970 21091 fi … … 21176 21297 coin_has_osi=notGiven 21177 21298 OSI_LIBS= 21299 OSI_LIBS_INSTALLED= 21178 21300 OSI_CFLAGS= 21301 OSI_CFLAGS_INSTALLED= 21179 21302 OSI_DATA= 21303 OSI_DATA_INSTALLED= 21180 21304 21181 21305 # initial list of dependencies is "osi", but we need to filter out version number specifications (= x, <= x, >= x) … … 21184 21308 # we first expand the list of projects to process by adding all dependencies just behind the project which depends on it 21185 21309 # further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards 21310 # the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples 21186 21311 # also, we setup the DATA variable 21187 21312 allproj="" 21188 21313 allpcfiles="" 21314 allpcifiles="" 21189 21315 while test "x$projtoprocess" != x ; do 21190 21316 … … 21196 21322 for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do 21197 21323 # 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 21198 if test -r "$dir/$ proj-uninstalled.pc" ; then21324 if test -r "$dir/${proj}-uninstalled.pc" ; then 21199 21325 pcfile="$dir/$proj-uninstalled.pc" 21326 if test -r "$dir/${proj}.pc" ; then 21327 pcifile="$dir/${proj}.pc" 21328 else 21329 { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5 21330 echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;} 21331 pcifile= 21332 fi 21200 21333 break 21201 21334 fi … … 21211 21344 projtoprocess=${projtoprocess/$proj/$projrequires} 21212 21345 21213 # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one) 21214 if test "x$allproj" = x ; then 21215 OSI_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"` 21346 # read DATA from $pcfile, if _DATA is still empty 21347 if test "x$OSI_DATA" = x ; then 21348 projdatadir= 21349 pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile` 21350 eval `sh -c "$pcfilemod"` 21351 OSI_DATA="$projdatadir" 21216 21352 fi 21217 21353 … … 21224 21360 allproj=fail 21225 21361 break 2 21362 fi 21363 21364 if test "x$pcifile" != x ; then 21365 allpcifiles="$pcifile:$allpcifiles" 21366 21367 # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty 21368 if test "x$OSI_DATA_INSTALLED" = x ; then 21369 projdatadir= 21370 pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile` 21371 eval `sh -c "$pcifilemod"` 21372 OSI_DATA_INSTALLED="$projdatadir" 21373 fi 21374 21226 21375 fi 21227 21376 … … 21254 21403 fi 21255 21404 21256 # reconstruct the directory where the .pc file is located 21257 pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'` 21258 21259 # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags 21260 projcflags=`sed -n -e 's/Cflags://p' "$pcfile"` 21405 # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags: 21406 # replace "Libs:" by "echo projlibs=" 21407 # replace "Cflags:" by "echo projcflags=" 21408 # remove every line starting with <some word>: 21409 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile` 21410 21411 # set projcflags and projlibs variables by running $pcfilemod 21412 eval `sh -c "$pcfilemod"` 21413 21414 # add CYGPATH_W cludge into include flags and set CFLAGS variable 21261 21415 projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 21262 21416 OSI_CFLAGS="$projcflags $OSI_CFLAGS" 21263 21417 21264 # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags 21265 # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir 21266 projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"` 21267 if test "x$projlibs" != x ; then 21268 if test -d "${pcfiledir}/src" ; then 21269 projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs" 21270 else 21271 projlibs="-L`cd "$pcfiledir"; pwd` $projlibs" 21272 fi 21273 else 21274 projlibs=`sed -n -e 's/Libs://p' "$pcfile"` 21275 fi 21418 # set LIBS variable 21276 21419 OSI_LIBS="$projlibs $OSI_LIBS" 21277 21420 … … 21281 21424 done 21282 21425 IFS="$save_IFS" 21426 21427 21428 # now go through the list of .pc files for installed projects and assemble compiler and linker flags 21429 # important is here again to obey the reverse order that has been setup before, 21430 # since then libraries that are required by several others should be after these other libraries 21431 pcfilesprocessed="" 21432 21433 save_IFS="$IFS" 21434 IFS=":" 21435 for pcfile in $allpcifiles ; do 21436 21437 # if $pcfile has been processed already, skip this round 21438 if test "x$pcfilesprocessed" != x ; then 21439 for pcfiledone in $pcfilesprocessed ; do 21440 if test "$pcfiledone" = "$pcfile" ; then 21441 continue 2 21442 fi 21443 done 21444 fi 21445 21446 # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags: 21447 # replace "Libs:" by "echo projlibs=" 21448 # replace "Cflags:" by "echo projcflags=" 21449 # remove every line starting with <some word>: 21450 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile` 21451 21452 # set projcflags and projlibs variables by running $pcfilemod 21453 eval `sh -c "$pcfilemod"` 21454 21455 # add CYGPATH_W cludge into include flags and set CFLAGS variable 21456 projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 21457 OSI_CFLAGS_INSTALLED="$projcflags $OSI_CFLAGS_INSTALLED" 21458 21459 # set LIBS variable 21460 OSI_LIBS_INSTALLED="$projlibs $OSI_LIBS_INSTALLED" 21461 21462 # remember that we have processed $pcfile 21463 pcfilesprocessed="$pcfilesprocessed:$pcfile" 21464 21465 done 21466 IFS="$save_IFS" 21467 21283 21468 21284 21469 # finish up … … 21296 21481 OSICLPLIB_CFLAGS="$OSI_CFLAGS $OSICLPLIB_CFLAGS" 21297 21482 OSICLPLIB_LIBS="$OSI_LIBS $OSICLPLIB_LIBS" 21483 OSICLPLIB_CFLAGS_INSTALLED="$OSI_CFLAGS_INSTALLED $OSICLPLIB_CFLAGS_INSTALLED" 21484 OSICLPLIB_LIBS_INSTALLED="$OSI_LIBS_INSTALLED $OSICLPLIB_LIBS_INSTALLED" 21485 21486 21487 21298 21488 21299 21489 … … 21311 21501 echo "$as_me: Osi DATA is $OSI_DATA" >&6;} 21312 21502 fi 21313 21503 if test -n "$OSI_CFLAGS_INSTALLED" ; then 21504 { echo "$as_me:$LINENO: Osi CFLAGS_INSTALLED are $OSI_CFLAGS_INSTALLED" >&5 21505 echo "$as_me: Osi CFLAGS_INSTALLED are $OSI_CFLAGS_INSTALLED" >&6;} 21506 fi 21507 if test -n "$OSI_LIBS_INSTALLED" ; then 21508 { echo "$as_me:$LINENO: Osi LIBS_INSTALLED are $OSI_LIBS_INSTALLED" >&5 21509 echo "$as_me: Osi LIBS_INSTALLED are $OSI_LIBS_INSTALLED" >&6;} 21510 fi 21511 if test -n "$OSI_DATA_INSTALLED" ; then 21512 { echo "$as_me:$LINENO: Osi DATA_INSTALLED is $OSI_DATA_INSTALLED" >&5 21513 echo "$as_me: Osi DATA_INSTALLED is $OSI_DATA_INSTALLED" >&6;} 21514 fi 21515 21516 { echo "$as_me:$LINENO: " >&5 21517 echo "$as_me: " >&6;} 21314 21518 { echo "$as_me:$LINENO: OsiClpLib CFLAGS are $OSICLPLIB_CFLAGS" >&5 21315 21519 echo "$as_me: OsiClpLib CFLAGS are $OSICLPLIB_CFLAGS" >&6;} 21316 21520 { echo "$as_me:$LINENO: OsiClpLib LIBS are $OSICLPLIB_LIBS" >&5 21317 21521 echo "$as_me: OsiClpLib LIBS are $OSICLPLIB_LIBS" >&6;} 21522 { echo "$as_me:$LINENO: OsiClpLib CFLAGS_INSTALLED are $OSICLPLIB_CFLAGS_INSTALLED" >&5 21523 echo "$as_me: OsiClpLib CFLAGS_INSTALLED are $OSICLPLIB_CFLAGS_INSTALLED" >&6;} 21524 { echo "$as_me:$LINENO: OsiClpLib LIBS_INSTALLED are $OSICLPLIB_LIBS_INSTALLED" >&5 21525 echo "$as_me: OsiClpLib LIBS_INSTALLED are $OSICLPLIB_LIBS_INSTALLED" >&6;} 21318 21526 21319 21527 fi … … 21507 21715 coin_has_ositests=notGiven 21508 21716 OSITESTS_LIBS= 21717 OSITESTS_LIBS_INSTALLED= 21509 21718 OSITESTS_CFLAGS= 21719 OSITESTS_CFLAGS_INSTALLED= 21510 21720 OSITESTS_DATA= 21721 OSITESTS_DATA_INSTALLED= 21511 21722 21512 21723 # initial list of dependencies is "osi-unittests", but we need to filter out version number specifications (= x, <= x, >= x) … … 21515 21726 # we first expand the list of projects to process by adding all dependencies just behind the project which depends on it 21516 21727 # further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards 21728 # the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples 21517 21729 # also, we setup the DATA variable 21518 21730 allproj="" 21519 21731 allpcfiles="" 21732 allpcifiles="" 21520 21733 while test "x$projtoprocess" != x ; do 21521 21734 … … 21527 21740 for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do 21528 21741 # 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 21529 if test -r "$dir/$ proj-uninstalled.pc" ; then21742 if test -r "$dir/${proj}-uninstalled.pc" ; then 21530 21743 pcfile="$dir/$proj-uninstalled.pc" 21744 if test -r "$dir/${proj}.pc" ; then 21745 pcifile="$dir/${proj}.pc" 21746 else 21747 { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5 21748 echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;} 21749 pcifile= 21750 fi 21531 21751 break 21532 21752 fi … … 21542 21762 projtoprocess=${projtoprocess/$proj/$projrequires} 21543 21763 21544 # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one) 21545 if test "x$allproj" = x ; then 21546 OSITESTS_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"` 21764 # read DATA from $pcfile, if _DATA is still empty 21765 if test "x$OSITESTS_DATA" = x ; then 21766 projdatadir= 21767 pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile` 21768 eval `sh -c "$pcfilemod"` 21769 OSITESTS_DATA="$projdatadir" 21547 21770 fi 21548 21771 … … 21555 21778 allproj=fail 21556 21779 break 2 21780 fi 21781 21782 if test "x$pcifile" != x ; then 21783 allpcifiles="$pcifile:$allpcifiles" 21784 21785 # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty 21786 if test "x$OSITESTS_DATA_INSTALLED" = x ; then 21787 projdatadir= 21788 pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile` 21789 eval `sh -c "$pcifilemod"` 21790 OSITESTS_DATA_INSTALLED="$projdatadir" 21791 fi 21792 21557 21793 fi 21558 21794 … … 21585 21821 fi 21586 21822 21587 # reconstruct the directory where the .pc file is located 21588 pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'` 21589 21590 # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags 21591 projcflags=`sed -n -e 's/Cflags://p' "$pcfile"` 21823 # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags: 21824 # replace "Libs:" by "echo projlibs=" 21825 # replace "Cflags:" by "echo projcflags=" 21826 # remove every line starting with <some word>: 21827 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile` 21828 21829 # set projcflags and projlibs variables by running $pcfilemod 21830 eval `sh -c "$pcfilemod"` 21831 21832 # add CYGPATH_W cludge into include flags and set CFLAGS variable 21592 21833 projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 21593 21834 OSITESTS_CFLAGS="$projcflags $OSITESTS_CFLAGS" 21594 21835 21595 # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags 21596 # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir 21597 projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"` 21598 if test "x$projlibs" != x ; then 21599 if test -d "${pcfiledir}/src" ; then 21600 projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs" 21601 else 21602 projlibs="-L`cd "$pcfiledir"; pwd` $projlibs" 21603 fi 21604 else 21605 projlibs=`sed -n -e 's/Libs://p' "$pcfile"` 21606 fi 21836 # set LIBS variable 21607 21837 OSITESTS_LIBS="$projlibs $OSITESTS_LIBS" 21608 21838 … … 21612 21842 done 21613 21843 IFS="$save_IFS" 21844 21845 21846 # now go through the list of .pc files for installed projects and assemble compiler and linker flags 21847 # important is here again to obey the reverse order that has been setup before, 21848 # since then libraries that are required by several others should be after these other libraries 21849 pcfilesprocessed="" 21850 21851 save_IFS="$IFS" 21852 IFS=":" 21853 for pcfile in $allpcifiles ; do 21854 21855 # if $pcfile has been processed already, skip this round 21856 if test "x$pcfilesprocessed" != x ; then 21857 for pcfiledone in $pcfilesprocessed ; do 21858 if test "$pcfiledone" = "$pcfile" ; then 21859 continue 2 21860 fi 21861 done 21862 fi 21863 21864 # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags: 21865 # replace "Libs:" by "echo projlibs=" 21866 # replace "Cflags:" by "echo projcflags=" 21867 # remove every line starting with <some word>: 21868 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile` 21869 21870 # set projcflags and projlibs variables by running $pcfilemod 21871 eval `sh -c "$pcfilemod"` 21872 21873 # add CYGPATH_W cludge into include flags and set CFLAGS variable 21874 projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 21875 OSITESTS_CFLAGS_INSTALLED="$projcflags $OSITESTS_CFLAGS_INSTALLED" 21876 21877 # set LIBS variable 21878 OSITESTS_LIBS_INSTALLED="$projlibs $OSITESTS_LIBS_INSTALLED" 21879 21880 # remember that we have processed $pcfile 21881 pcfilesprocessed="$pcfilesprocessed:$pcfile" 21882 21883 done 21884 IFS="$save_IFS" 21885 21614 21886 21615 21887 # finish up … … 21621 21893 #define COIN_HAS_OSITESTS 1 21622 21894 _ACEOF 21895 21623 21896 21624 21897 … … 21637 21910 { echo "$as_me:$LINENO: OsiTests DATA is $OSITESTS_DATA" >&5 21638 21911 echo "$as_me: OsiTests DATA is $OSITESTS_DATA" >&6;} 21912 fi 21913 if test -n "$OSITESTS_CFLAGS_INSTALLED" ; then 21914 { echo "$as_me:$LINENO: OsiTests CFLAGS_INSTALLED are $OSITESTS_CFLAGS_INSTALLED" >&5 21915 echo "$as_me: OsiTests CFLAGS_INSTALLED are $OSITESTS_CFLAGS_INSTALLED" >&6;} 21916 fi 21917 if test -n "$OSITESTS_LIBS_INSTALLED" ; then 21918 { echo "$as_me:$LINENO: OsiTests LIBS_INSTALLED are $OSITESTS_LIBS_INSTALLED" >&5 21919 echo "$as_me: OsiTests LIBS_INSTALLED are $OSITESTS_LIBS_INSTALLED" >&6;} 21920 fi 21921 if test -n "$OSITESTS_DATA_INSTALLED" ; then 21922 { echo "$as_me:$LINENO: OsiTests DATA_INSTALLED is $OSITESTS_DATA_INSTALLED" >&5 21923 echo "$as_me: OsiTests DATA_INSTALLED is $OSITESTS_DATA_INSTALLED" >&6;} 21639 21924 fi 21640 21925 … … 21824 22109 coin_has_sample=notGiven 21825 22110 SAMPLE_LIBS= 22111 SAMPLE_LIBS_INSTALLED= 21826 22112 SAMPLE_CFLAGS= 22113 SAMPLE_CFLAGS_INSTALLED= 21827 22114 SAMPLE_DATA= 22115 SAMPLE_DATA_INSTALLED= 21828 22116 21829 22117 # initial list of dependencies is "coindatasample", but we need to filter out version number specifications (= x, <= x, >= x) … … 21832 22120 # we first expand the list of projects to process by adding all dependencies just behind the project which depends on it 21833 22121 # further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards 22122 # the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples 21834 22123 # also, we setup the DATA variable 21835 22124 allproj="" 21836 22125 allpcfiles="" 22126 allpcifiles="" 21837 22127 while test "x$projtoprocess" != x ; do 21838 22128 … … 21844 22134 for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do 21845 22135 # 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 21846 if test -r "$dir/$ proj-uninstalled.pc" ; then22136 if test -r "$dir/${proj}-uninstalled.pc" ; then 21847 22137 pcfile="$dir/$proj-uninstalled.pc" 22138 if test -r "$dir/${proj}.pc" ; then 22139 pcifile="$dir/${proj}.pc" 22140 else 22141 { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5 22142 echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;} 22143 pcifile= 22144 fi 21848 22145 break 21849 22146 fi … … 21859 22156 projtoprocess=${projtoprocess/$proj/$projrequires} 21860 22157 21861 # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one) 21862 if test "x$allproj" = x ; then 21863 SAMPLE_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"` 22158 # read DATA from $pcfile, if _DATA is still empty 22159 if test "x$SAMPLE_DATA" = x ; then 22160 projdatadir= 22161 pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile` 22162 eval `sh -c "$pcfilemod"` 22163 SAMPLE_DATA="$projdatadir" 21864 22164 fi 21865 22165 … … 21872 22172 allproj=fail 21873 22173 break 2 22174 fi 22175 22176 if test "x$pcifile" != x ; then 22177 allpcifiles="$pcifile:$allpcifiles" 22178 22179 # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty 22180 if test "x$SAMPLE_DATA_INSTALLED" = x ; then 22181 projdatadir= 22182 pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile` 22183 eval `sh -c "$pcifilemod"` 22184 SAMPLE_DATA_INSTALLED="$projdatadir" 22185 fi 22186 21874 22187 fi 21875 22188 … … 21902 22215 fi 21903 22216 21904 # reconstruct the directory where the .pc file is located 21905 pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'` 21906 21907 # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags 21908 projcflags=`sed -n -e 's/Cflags://p' "$pcfile"` 22217 # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags: 22218 # replace "Libs:" by "echo projlibs=" 22219 # replace "Cflags:" by "echo projcflags=" 22220 # remove every line starting with <some word>: 22221 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile` 22222 22223 # set projcflags and projlibs variables by running $pcfilemod 22224 eval `sh -c "$pcfilemod"` 22225 22226 # add CYGPATH_W cludge into include flags and set CFLAGS variable 21909 22227 projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 21910 22228 SAMPLE_CFLAGS="$projcflags $SAMPLE_CFLAGS" 21911 22229 21912 # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags 21913 # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir 21914 projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"` 21915 if test "x$projlibs" != x ; then 21916 if test -d "${pcfiledir}/src" ; then 21917 projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs" 21918 else 21919 projlibs="-L`cd "$pcfiledir"; pwd` $projlibs" 21920 fi 21921 else 21922 projlibs=`sed -n -e 's/Libs://p' "$pcfile"` 21923 fi 22230 # set LIBS variable 21924 22231 SAMPLE_LIBS="$projlibs $SAMPLE_LIBS" 21925 22232 … … 21929 22236 done 21930 22237 IFS="$save_IFS" 22238 22239 22240 # now go through the list of .pc files for installed projects and assemble compiler and linker flags 22241 # important is here again to obey the reverse order that has been setup before, 22242 # since then libraries that are required by several others should be after these other libraries 22243 pcfilesprocessed="" 22244 22245 save_IFS="$IFS" 22246 IFS=":" 22247 for pcfile in $allpcifiles ; do 22248 22249 # if $pcfile has been processed already, skip this round 22250 if test "x$pcfilesprocessed" != x ; then 22251 for pcfiledone in $pcfilesprocessed ; do 22252 if test "$pcfiledone" = "$pcfile" ; then 22253 continue 2 22254 fi 22255 done 22256 fi 22257 22258 # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags: 22259 # replace "Libs:" by "echo projlibs=" 22260 # replace "Cflags:" by "echo projcflags=" 22261 # remove every line starting with <some word>: 22262 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile` 22263 22264 # set projcflags and projlibs variables by running $pcfilemod 22265 eval `sh -c "$pcfilemod"` 22266 22267 # add CYGPATH_W cludge into include flags and set CFLAGS variable 22268 projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 22269 SAMPLE_CFLAGS_INSTALLED="$projcflags $SAMPLE_CFLAGS_INSTALLED" 22270 22271 # set LIBS variable 22272 SAMPLE_LIBS_INSTALLED="$projlibs $SAMPLE_LIBS_INSTALLED" 22273 22274 # remember that we have processed $pcfile 22275 pcfilesprocessed="$pcfilesprocessed:$pcfile" 22276 22277 done 22278 IFS="$save_IFS" 22279 21931 22280 21932 22281 # finish up … … 21938 22287 #define COIN_HAS_SAMPLE 1 21939 22288 _ACEOF 22289 21940 22290 21941 22291 … … 21954 22304 { echo "$as_me:$LINENO: Sample DATA is $SAMPLE_DATA" >&5 21955 22305 echo "$as_me: Sample DATA is $SAMPLE_DATA" >&6;} 22306 fi 22307 if test -n "$SAMPLE_CFLAGS_INSTALLED" ; then 22308 { echo "$as_me:$LINENO: Sample CFLAGS_INSTALLED are $SAMPLE_CFLAGS_INSTALLED" >&5 22309 echo "$as_me: Sample CFLAGS_INSTALLED are $SAMPLE_CFLAGS_INSTALLED" >&6;} 22310 fi 22311 if test -n "$SAMPLE_LIBS_INSTALLED" ; then 22312 { echo "$as_me:$LINENO: Sample LIBS_INSTALLED are $SAMPLE_LIBS_INSTALLED" >&5 22313 echo "$as_me: Sample LIBS_INSTALLED are $SAMPLE_LIBS_INSTALLED" >&6;} 22314 fi 22315 if test -n "$SAMPLE_DATA_INSTALLED" ; then 22316 { echo "$as_me:$LINENO: Sample DATA_INSTALLED is $SAMPLE_DATA_INSTALLED" >&5 22317 echo "$as_me: Sample DATA_INSTALLED is $SAMPLE_DATA_INSTALLED" >&6;} 21956 22318 fi 21957 22319 … … 22141 22503 coin_has_netlib=notGiven 22142 22504 NETLIB_LIBS= 22505 NETLIB_LIBS_INSTALLED= 22143 22506 NETLIB_CFLAGS= 22507 NETLIB_CFLAGS_INSTALLED= 22144 22508 NETLIB_DATA= 22509 NETLIB_DATA_INSTALLED= 22145 22510 22146 22511 # initial list of dependencies is "coindatanetlib", but we need to filter out version number specifications (= x, <= x, >= x) … … 22149 22514 # we first expand the list of projects to process by adding all dependencies just behind the project which depends on it 22150 22515 # further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards 22516 # the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples 22151 22517 # also, we setup the DATA variable 22152 22518 allproj="" 22153 22519 allpcfiles="" 22520 allpcifiles="" 22154 22521 while test "x$projtoprocess" != x ; do 22155 22522 … … 22161 22528 for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do 22162 22529 # 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 22163 if test -r "$dir/$ proj-uninstalled.pc" ; then22530 if test -r "$dir/${proj}-uninstalled.pc" ; then 22164 22531 pcfile="$dir/$proj-uninstalled.pc" 22532 if test -r "$dir/${proj}.pc" ; then 22533 pcifile="$dir/${proj}.pc" 22534 else 22535 { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5 22536 echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;} 22537 pcifile= 22538 fi 22165 22539 break 22166 22540 fi … … 22176 22550 projtoprocess=${projtoprocess/$proj/$projrequires} 22177 22551 22178 # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one) 22179 if test "x$allproj" = x ; then 22180 NETLIB_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"` 22552 # read DATA from $pcfile, if _DATA is still empty 22553 if test "x$NETLIB_DATA" = x ; then 22554 projdatadir= 22555 pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile` 22556 eval `sh -c "$pcfilemod"` 22557 NETLIB_DATA="$projdatadir" 22181 22558 fi 22182 22559 … … 22189 22566 allproj=fail 22190 22567 break 2 22568 fi 22569 22570 if test "x$pcifile" != x ; then 22571 allpcifiles="$pcifile:$allpcifiles" 22572 22573 # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty 22574 if test "x$NETLIB_DATA_INSTALLED" = x ; then 22575 projdatadir= 22576 pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile` 22577 eval `sh -c "$pcifilemod"` 22578 NETLIB_DATA_INSTALLED="$projdatadir" 22579 fi 22580 22191 22581 fi 22192 22582 … … 22219 22609 fi 22220 22610 22221 # reconstruct the directory where the .pc file is located 22222 pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'` 22223 22224 # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags 22225 projcflags=`sed -n -e 's/Cflags://p' "$pcfile"` 22611 # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags: 22612 # replace "Libs:" by "echo projlibs=" 22613 # replace "Cflags:" by "echo projcflags=" 22614 # remove every line starting with <some word>: 22615 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile` 22616 22617 # set projcflags and projlibs variables by running $pcfilemod 22618 eval `sh -c "$pcfilemod"` 22619 22620 # add CYGPATH_W cludge into include flags and set CFLAGS variable 22226 22621 projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 22227 22622 NETLIB_CFLAGS="$projcflags $NETLIB_CFLAGS" 22228 22623 22229 # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags 22230 # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir 22231 projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"` 22232 if test "x$projlibs" != x ; then 22233 if test -d "${pcfiledir}/src" ; then 22234 projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs" 22235 else 22236 projlibs="-L`cd "$pcfiledir"; pwd` $projlibs" 22237 fi 22238 else 22239 projlibs=`sed -n -e 's/Libs://p' "$pcfile"` 22240 fi 22624 # set LIBS variable 22241 22625 NETLIB_LIBS="$projlibs $NETLIB_LIBS" 22242 22626 … … 22246 22630 done 22247 22631 IFS="$save_IFS" 22632 22633 22634 # now go through the list of .pc files for installed projects and assemble compiler and linker flags 22635 # important is here again to obey the reverse order that has been setup before, 22636 # since then libraries that are required by several others should be after these other libraries 22637 pcfilesprocessed="" 22638 22639 save_IFS="$IFS" 22640 IFS=":" 22641 for pcfile in $allpcifiles ; do 22642 22643 # if $pcfile has been processed already, skip this round 22644 if test "x$pcfilesprocessed" != x ; then 22645 for pcfiledone in $pcfilesprocessed ; do 22646 if test "$pcfiledone" = "$pcfile" ; then 22647 continue 2 22648 fi 22649 done 22650 fi 22651 22652 # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags: 22653 # replace "Libs:" by "echo projlibs=" 22654 # replace "Cflags:" by "echo projcflags=" 22655 # remove every line starting with <some word>: 22656 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile` 22657 22658 # set projcflags and projlibs variables by running $pcfilemod 22659 eval `sh -c "$pcfilemod"` 22660 22661 # add CYGPATH_W cludge into include flags and set CFLAGS variable 22662 projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 22663 NETLIB_CFLAGS_INSTALLED="$projcflags $NETLIB_CFLAGS_INSTALLED" 22664 22665 # set LIBS variable 22666 NETLIB_LIBS_INSTALLED="$projlibs $NETLIB_LIBS_INSTALLED" 22667 22668 # remember that we have processed $pcfile 22669 pcfilesprocessed="$pcfilesprocessed:$pcfile" 22670 22671 done 22672 IFS="$save_IFS" 22673 22248 22674 22249 22675 # finish up … … 22255 22681 #define COIN_HAS_NETLIB 1 22256 22682 _ACEOF 22683 22257 22684 22258 22685 … … 22271 22698 { echo "$as_me:$LINENO: Netlib DATA is $NETLIB_DATA" >&5 22272 22699 echo "$as_me: Netlib DATA is $NETLIB_DATA" >&6;} 22700 fi 22701 if test -n "$NETLIB_CFLAGS_INSTALLED" ; then 22702 { echo "$as_me:$LINENO: Netlib CFLAGS_INSTALLED are $NETLIB_CFLAGS_INSTALLED" >&5 22703 echo "$as_me: Netlib CFLAGS_INSTALLED are $NETLIB_CFLAGS_INSTALLED" >&6;} 22704 fi 22705 if test -n "$NETLIB_LIBS_INSTALLED" ; then 22706 { echo "$as_me:$LINENO: Netlib LIBS_INSTALLED are $NETLIB_LIBS_INSTALLED" >&5 22707 echo "$as_me: Netlib LIBS_INSTALLED are $NETLIB_LIBS_INSTALLED" >&6;} 22708 fi 22709 if test -n "$NETLIB_DATA_INSTALLED" ; then 22710 { echo "$as_me:$LINENO: Netlib DATA_INSTALLED is $NETLIB_DATA_INSTALLED" >&5 22711 echo "$as_me: Netlib DATA_INSTALLED is $NETLIB_DATA_INSTALLED" >&6;} 22273 22712 fi 22274 22713 … … 22771 23210 CLPLIB_LIBS="-lreadline $LIBS $CLPLIB_LIBS" 22772 23211 CLPLIB_PCLIBS="-lreadline $LIBS $CLPLIB_PCLIBS" 23212 CLPLIB_LIBS_INSTALLED="-lreadline $LIBS $CLPLIB_LIBS_INSTALLED" 22773 23213 22774 23214 … … 23186 23626 Usually this means the macro was only invoked conditionally." >&5 23187 23627 echo "$as_me: error: conditional \"ALWAYS_FALSE\" was never defined. 23628 Usually this means the macro was only invoked conditionally." >&2;} 23629 { (exit 1); exit 1; }; } 23630 fi 23631 if test -z "${COIN_CC_IS_CL_TRUE}" && test -z "${COIN_CC_IS_CL_FALSE}"; then 23632 { { echo "$as_me:$LINENO: error: conditional \"COIN_CC_IS_CL\" was never defined. 23633 Usually this means the macro was only invoked conditionally." >&5 23634 echo "$as_me: error: conditional \"COIN_CC_IS_CL\" was never defined. 23635 Usually this means the macro was only invoked conditionally." >&2;} 23636 { (exit 1); exit 1; }; } 23637 fi 23638 if test -z "${COIN_CXX_IS_CL_TRUE}" && test -z "${COIN_CXX_IS_CL_FALSE}"; then 23639 { { echo "$as_me:$LINENO: error: conditional \"COIN_CXX_IS_CL\" was never defined. 23640 Usually this means the macro was only invoked conditionally." >&5 23641 echo "$as_me: error: conditional \"COIN_CXX_IS_CL\" was never defined. 23188 23642 Usually this means the macro was only invoked conditionally." >&2;} 23189 23643 { (exit 1); exit 1; }; } … … 23853 24307 s,@have_svnversion@,$have_svnversion,;t t 23854 24308 s,@CLP_SVN_REV@,$CLP_SVN_REV,;t t 24309 s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t 24310 s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t 23855 24311 s,@CDEFS@,$CDEFS,;t t 23856 24312 s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t … … 23873 24329 s,@CXXFLAGS@,$CXXFLAGS,;t t 23874 24330 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 24331 s,@COIN_CXX_IS_CL_TRUE@,$COIN_CXX_IS_CL_TRUE,;t t 24332 s,@COIN_CXX_IS_CL_FALSE@,$COIN_CXX_IS_CL_FALSE,;t t 23875 24333 s,@MPICXX@,$MPICXX,;t t 23876 24334 s,@EGREP@,$EGREP,;t t … … 23957 24415 s,@CLPLIB_PCLIBS@,$CLPLIB_PCLIBS,;t t 23958 24416 s,@CLPLIB_PCREQUIRES@,$CLPLIB_PCREQUIRES,;t t 24417 s,@CLPLIB_CFLAGS_INSTALLED@,$CLPLIB_CFLAGS_INSTALLED,;t t 24418 s,@CLPLIB_LIBS_INSTALLED@,$CLPLIB_LIBS_INSTALLED,;t t 24419 s,@COINUTILS_DATA_INSTALLED@,$COINUTILS_DATA_INSTALLED,;t t 23959 24420 s,@COIN_HAS_COINUTILS_TRUE@,$COIN_HAS_COINUTILS_TRUE,;t t 23960 24421 s,@COIN_HAS_COINUTILS_FALSE@,$COIN_HAS_COINUTILS_FALSE,;t t … … 23966 24427 s,@OSICLPLIB_PCLIBS@,$OSICLPLIB_PCLIBS,;t t 23967 24428 s,@OSICLPLIB_PCREQUIRES@,$OSICLPLIB_PCREQUIRES,;t t 24429 s,@OSICLPLIB_CFLAGS_INSTALLED@,$OSICLPLIB_CFLAGS_INSTALLED,;t t 24430 s,@OSICLPLIB_LIBS_INSTALLED@,$OSICLPLIB_LIBS_INSTALLED,;t t 24431 s,@OSI_DATA_INSTALLED@,$OSI_DATA_INSTALLED,;t t 23968 24432 s,@COIN_HAS_OSI_TRUE@,$COIN_HAS_OSI_TRUE,;t t 23969 24433 s,@COIN_HAS_OSI_FALSE@,$COIN_HAS_OSI_FALSE,;t t … … 23971 24435 s,@OSITESTS_CFLAGS@,$OSITESTS_CFLAGS,;t t 23972 24436 s,@OSITESTS_DATA@,$OSITESTS_DATA,;t t 24437 s,@OSITESTS_DATA_INSTALLED@,$OSITESTS_DATA_INSTALLED,;t t 23973 24438 s,@COIN_HAS_OSITESTS_TRUE@,$COIN_HAS_OSITESTS_TRUE,;t t 23974 24439 s,@COIN_HAS_OSITESTS_FALSE@,$COIN_HAS_OSITESTS_FALSE,;t t … … 23976 24441 s,@SAMPLE_CFLAGS@,$SAMPLE_CFLAGS,;t t 23977 24442 s,@SAMPLE_DATA@,$SAMPLE_DATA,;t t 24443 s,@SAMPLE_DATA_INSTALLED@,$SAMPLE_DATA_INSTALLED,;t t 23978 24444 s,@COIN_HAS_SAMPLE_TRUE@,$COIN_HAS_SAMPLE_TRUE,;t t 23979 24445 s,@COIN_HAS_SAMPLE_FALSE@,$COIN_HAS_SAMPLE_FALSE,;t t … … 23981 24447 s,@NETLIB_CFLAGS@,$NETLIB_CFLAGS,;t t 23982 24448 s,@NETLIB_DATA@,$NETLIB_DATA,;t t 24449 s,@NETLIB_DATA_INSTALLED@,$NETLIB_DATA_INSTALLED,;t t 23983 24450 s,@COIN_HAS_NETLIB_TRUE@,$COIN_HAS_NETLIB_TRUE,;t t 23984 24451 s,@COIN_HAS_NETLIB_FALSE@,$COIN_HAS_NETLIB_FALSE,;t t -
trunk/Clp/examples/Makefile.in
r1603 r1637 57 57 @COIN_HAS_NETLIB_TRUE@CFLAGS += -DNETLIBDIR=\"@NETLIB_DATA@\" 58 58 59 # Directory with COIN header files 60 COININCDIR = @abs_include_dir@/coin 59 # Compiler flags (we use the CYGPATH_W variables to allow compilation with Windows compilers) 60 @COIN_HAS_PKGCONFIG_TRUE@INCL = `PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --cflags clp` $(ADDINCFLAGS) 61 @COIN_HAS_PKGCONFIG_FALSE@INCL = @CLPLIB_CFLAGS_INSTALLED@ $(ADDINCFLAGS) 61 62 62 # Directory with COIN libraries 63 COINLIBDIR = @abs_lib_dir@/coin 64 65 # Libraries necessary to link with Clp 66 LIBS = -L`$(CYGPATH_W) $(COINLIBDIR)` -L`$(CYGPATH_W) $(COINLIBDIR)/ThirdParty` -lClp @CLPLIB_LIBS@ 67 68 # Necessary Include dirs (we use the CYGPATH_W variables to allow 69 # compilation with Windows compilers) 70 INCL = -I`$(CYGPATH_W) $(COININCDIR)` @COINUTILS_CFLAGS@ $(ADDINCFLAGS) 63 # Linker flags 64 @COIN_HAS_PKGCONFIG_TRUE@@COIN_CXX_IS_CL_FALSE@LIBS = `PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --libs clp` 65 @COIN_HAS_PKGCONFIG_TRUE@@COIN_CXX_IS_CL_TRUE@LIBS = /link: `PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --msvc-syntax --libs clp` 66 @COIN_HAS_PKGCONFIG_FALSE@LIBS = -L@abs_lib_dir@ -lClp @CLPLIB_LIBS_INSTALLED@ 71 67 72 68 # The following is necessary under cygwin, if native compilers are used … … 108 104 bla=;\ 109 105 for file in $(OBJS); do bla="$$bla `$(CYGPATH_W) $$file`"; done; \ 110 $(CXX) $(CXXLINKFLAGS) $(CXXFLAGS) -o $@ $$bla $( ADDLIBS) $(LIBS)106 $(CXX) $(CXXLINKFLAGS) $(CXXFLAGS) -o $@ $$bla $(LIBS) $(ADDLIBS) 111 107 112 108 clean: -
trunk/Clp/src/Makefile.in
r1618 r1637 149 149 CFLAGS = @CFLAGS@ 150 150 CLPLIB_CFLAGS = @CLPLIB_CFLAGS@ 151 CLPLIB_CFLAGS_INSTALLED = @CLPLIB_CFLAGS_INSTALLED@ 151 152 CLPLIB_LIBS = @CLPLIB_LIBS@ 153 CLPLIB_LIBS_INSTALLED = @CLPLIB_LIBS_INSTALLED@ 152 154 CLPLIB_PCLIBS = @CLPLIB_PCLIBS@ 153 155 CLPLIB_PCREQUIRES = @CLPLIB_PCREQUIRES@ … … 155 157 COINUTILS_CFLAGS = @COINUTILS_CFLAGS@ 156 158 COINUTILS_DATA = @COINUTILS_DATA@ 159 COINUTILS_DATA_INSTALLED = @COINUTILS_DATA_INSTALLED@ 157 160 COINUTILS_LIBS = @COINUTILS_LIBS@ 161 COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@ 162 COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@ 163 COIN_CXX_IS_CL_FALSE = @COIN_CXX_IS_CL_FALSE@ 164 COIN_CXX_IS_CL_TRUE = @COIN_CXX_IS_CL_TRUE@ 158 165 COIN_HAS_COINUTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@ 159 166 COIN_HAS_COINUTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@ … … 214 221 NETLIB_CFLAGS = @NETLIB_CFLAGS@ 215 222 NETLIB_DATA = @NETLIB_DATA@ 223 NETLIB_DATA_INSTALLED = @NETLIB_DATA_INSTALLED@ 216 224 NETLIB_LIBS = @NETLIB_LIBS@ 217 225 OBJEXT = @OBJEXT@ … … 219 227 OPT_CXXFLAGS = @OPT_CXXFLAGS@ 220 228 OSICLPLIB_CFLAGS = @OSICLPLIB_CFLAGS@ 229 OSICLPLIB_CFLAGS_INSTALLED = @OSICLPLIB_CFLAGS_INSTALLED@ 221 230 OSICLPLIB_LIBS = @OSICLPLIB_LIBS@ 231 OSICLPLIB_LIBS_INSTALLED = @OSICLPLIB_LIBS_INSTALLED@ 222 232 OSICLPLIB_PCLIBS = @OSICLPLIB_PCLIBS@ 223 233 OSICLPLIB_PCREQUIRES = @OSICLPLIB_PCREQUIRES@ 224 234 OSITESTS_CFLAGS = @OSITESTS_CFLAGS@ 225 235 OSITESTS_DATA = @OSITESTS_DATA@ 236 OSITESTS_DATA_INSTALLED = @OSITESTS_DATA_INSTALLED@ 226 237 OSITESTS_LIBS = @OSITESTS_LIBS@ 227 238 OSI_CFLAGS = @OSI_CFLAGS@ 228 239 OSI_DATA = @OSI_DATA@ 240 OSI_DATA_INSTALLED = @OSI_DATA_INSTALLED@ 229 241 OSI_LIBS = @OSI_LIBS@ 230 242 PACKAGE = @PACKAGE@ … … 241 253 SAMPLE_CFLAGS = @SAMPLE_CFLAGS@ 242 254 SAMPLE_DATA = @SAMPLE_DATA@ 255 SAMPLE_DATA_INSTALLED = @SAMPLE_DATA_INSTALLED@ 243 256 SAMPLE_LIBS = @SAMPLE_LIBS@ 244 257 SET_MAKE = @SET_MAKE@ -
trunk/Clp/src/OsiClp/Makefile.in
r1636 r1637 115 115 CFLAGS = @CFLAGS@ 116 116 CLPLIB_CFLAGS = @CLPLIB_CFLAGS@ 117 CLPLIB_CFLAGS_INSTALLED = @CLPLIB_CFLAGS_INSTALLED@ 117 118 CLPLIB_LIBS = @CLPLIB_LIBS@ 119 CLPLIB_LIBS_INSTALLED = @CLPLIB_LIBS_INSTALLED@ 118 120 CLPLIB_PCLIBS = @CLPLIB_PCLIBS@ 119 121 CLPLIB_PCREQUIRES = @CLPLIB_PCREQUIRES@ … … 121 123 COINUTILS_CFLAGS = @COINUTILS_CFLAGS@ 122 124 COINUTILS_DATA = @COINUTILS_DATA@ 125 COINUTILS_DATA_INSTALLED = @COINUTILS_DATA_INSTALLED@ 123 126 COINUTILS_LIBS = @COINUTILS_LIBS@ 127 COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@ 128 COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@ 129 COIN_CXX_IS_CL_FALSE = @COIN_CXX_IS_CL_FALSE@ 130 COIN_CXX_IS_CL_TRUE = @COIN_CXX_IS_CL_TRUE@ 124 131 COIN_HAS_COINUTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@ 125 132 COIN_HAS_COINUTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@ … … 180 187 NETLIB_CFLAGS = @NETLIB_CFLAGS@ 181 188 NETLIB_DATA = @NETLIB_DATA@ 189 NETLIB_DATA_INSTALLED = @NETLIB_DATA_INSTALLED@ 182 190 NETLIB_LIBS = @NETLIB_LIBS@ 183 191 OBJEXT = @OBJEXT@ … … 185 193 OPT_CXXFLAGS = @OPT_CXXFLAGS@ 186 194 OSICLPLIB_CFLAGS = @OSICLPLIB_CFLAGS@ 195 OSICLPLIB_CFLAGS_INSTALLED = @OSICLPLIB_CFLAGS_INSTALLED@ 187 196 OSICLPLIB_LIBS = @OSICLPLIB_LIBS@ 197 OSICLPLIB_LIBS_INSTALLED = @OSICLPLIB_LIBS_INSTALLED@ 188 198 OSICLPLIB_PCLIBS = @OSICLPLIB_PCLIBS@ 189 199 OSICLPLIB_PCREQUIRES = @OSICLPLIB_PCREQUIRES@ 190 200 OSITESTS_CFLAGS = @OSITESTS_CFLAGS@ 191 201 OSITESTS_DATA = @OSITESTS_DATA@ 202 OSITESTS_DATA_INSTALLED = @OSITESTS_DATA_INSTALLED@ 192 203 OSITESTS_LIBS = @OSITESTS_LIBS@ 193 204 OSI_CFLAGS = @OSI_CFLAGS@ 194 205 OSI_DATA = @OSI_DATA@ 206 OSI_DATA_INSTALLED = @OSI_DATA_INSTALLED@ 195 207 OSI_LIBS = @OSI_LIBS@ 196 208 PACKAGE = @PACKAGE@ … … 207 219 SAMPLE_CFLAGS = @SAMPLE_CFLAGS@ 208 220 SAMPLE_DATA = @SAMPLE_DATA@ 221 SAMPLE_DATA_INSTALLED = @SAMPLE_DATA_INSTALLED@ 209 222 SAMPLE_LIBS = @SAMPLE_LIBS@ 210 223 SET_MAKE = @SET_MAKE@ -
trunk/Clp/test/Makefile.in
r1618 r1637 106 106 CFLAGS = @CFLAGS@ 107 107 CLPLIB_CFLAGS = @CLPLIB_CFLAGS@ 108 CLPLIB_CFLAGS_INSTALLED = @CLPLIB_CFLAGS_INSTALLED@ 108 109 CLPLIB_LIBS = @CLPLIB_LIBS@ 110 CLPLIB_LIBS_INSTALLED = @CLPLIB_LIBS_INSTALLED@ 109 111 CLPLIB_PCLIBS = @CLPLIB_PCLIBS@ 110 112 CLPLIB_PCREQUIRES = @CLPLIB_PCREQUIRES@ … … 112 114 COINUTILS_CFLAGS = @COINUTILS_CFLAGS@ 113 115 COINUTILS_DATA = @COINUTILS_DATA@ 116 COINUTILS_DATA_INSTALLED = @COINUTILS_DATA_INSTALLED@ 114 117 COINUTILS_LIBS = @COINUTILS_LIBS@ 118 COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@ 119 COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@ 120 COIN_CXX_IS_CL_FALSE = @COIN_CXX_IS_CL_FALSE@ 121 COIN_CXX_IS_CL_TRUE = @COIN_CXX_IS_CL_TRUE@ 115 122 COIN_HAS_COINUTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@ 116 123 COIN_HAS_COINUTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@ … … 171 178 NETLIB_CFLAGS = @NETLIB_CFLAGS@ 172 179 NETLIB_DATA = @NETLIB_DATA@ 180 NETLIB_DATA_INSTALLED = @NETLIB_DATA_INSTALLED@ 173 181 NETLIB_LIBS = @NETLIB_LIBS@ 174 182 OBJEXT = @OBJEXT@ … … 176 184 OPT_CXXFLAGS = @OPT_CXXFLAGS@ 177 185 OSICLPLIB_CFLAGS = @OSICLPLIB_CFLAGS@ 186 OSICLPLIB_CFLAGS_INSTALLED = @OSICLPLIB_CFLAGS_INSTALLED@ 178 187 OSICLPLIB_LIBS = @OSICLPLIB_LIBS@ 188 OSICLPLIB_LIBS_INSTALLED = @OSICLPLIB_LIBS_INSTALLED@ 179 189 OSICLPLIB_PCLIBS = @OSICLPLIB_PCLIBS@ 180 190 OSICLPLIB_PCREQUIRES = @OSICLPLIB_PCREQUIRES@ 181 191 OSITESTS_CFLAGS = @OSITESTS_CFLAGS@ 182 192 OSITESTS_DATA = @OSITESTS_DATA@ 193 OSITESTS_DATA_INSTALLED = @OSITESTS_DATA_INSTALLED@ 183 194 OSITESTS_LIBS = @OSITESTS_LIBS@ 184 195 OSI_CFLAGS = @OSI_CFLAGS@ 185 196 OSI_DATA = @OSI_DATA@ 197 OSI_DATA_INSTALLED = @OSI_DATA_INSTALLED@ 186 198 OSI_LIBS = @OSI_LIBS@ 187 199 PACKAGE = @PACKAGE@ … … 198 210 SAMPLE_CFLAGS = @SAMPLE_CFLAGS@ 199 211 SAMPLE_DATA = @SAMPLE_DATA@ 212 SAMPLE_DATA_INSTALLED = @SAMPLE_DATA_INSTALLED@ 200 213 SAMPLE_LIBS = @SAMPLE_LIBS@ 201 214 SET_MAKE = @SET_MAKE@
Note: See TracChangeset
for help on using the changeset viewer.