Changeset 2307
- Timestamp:
- Jun 19, 2011 10:12:04 AM (10 years ago)
- Location:
- ThirdParty/ASL/stable/1.2
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/ASL/stable/1.2
- Property svn:mergeinfo changed
/ThirdParty/ASL/trunk merged: 2078,2121,2141-2144,2146,2154,2156,2164,2215,2245,2263,2294
- Property svn:mergeinfo changed
-
ThirdParty/ASL/stable/1.2/Makefile.am
r2001 r2307 5 5 ## $Id$ 6 6 7 # the idea is to use the ASL Makefiles to build a static $(AMPLSOLVER_A) library via the compile_*_ASL scripts 8 # from this library, we create a libcoinasl.la libtool library 9 # in a MS VC build, we assume static libraries are used, so we can use the usual libtool machinery via LIBADD 10 # in a normal build, we build the libcoinasl.la library by extracting the $(AMPLSOLVER_A) library and relinking it via libtool 11 # in a shared library build, this should give a shared libcoinasl.so library 12 # further, configure should have taken care of adding -fPIC -DPIC to the CFLAGS when compiling the ASL sources 13 # to avoid a failure when building static libraries and a libtool warning, we additionally create .lo files for each object 14 7 15 AUTOMAKE_OPTIONS = foreign 8 16 9 17 EXTRA_DIST = get.ASL INSTALL.ASL 18 19 if COIN_CC_IS_CL 20 lib_LTLIBRARIES = libcoinasl.la 21 22 libcoinasl_la_SOURCES = 23 libcoinasl_la_LIBADD = $(AMPLSOLVER_A) 24 libcoinasl_la_DEPENDENCIES = $(AMPLSOLVER_A) 25 26 # This is for libtool 27 libcoinasl_la_LDFLAGS = $(LT_LDFLAGS) 28 endif 10 29 11 30 ######################################################################## … … 15 34 compdir = compdir 16 35 17 libampl = $(AMPLSOLVER_A)36 alltargets = stdio1.h arith.h funcadd0.$(OBJEXT) 18 37 19 alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 38 if COIN_CC_IS_CL 39 $(AMPLSOLVER_A): 40 ./compile_MS_ASL 41 42 else 43 $(AMPLSOLVER_A): 44 ./compile_Unix_ASL 45 46 libcoinasl.la : $(AMPLSOLVER_A) 47 $(mkdir_p) linkdir ; cd linkdir ; \ 48 $(AR) x ../$(AMPLSOLVER_A) ; \ 49 for i in *.o ; do \ 50 lofile=`echo $$i | sed -e 's/.o$$/.lo/'`; \ 51 echo "# fake line" > $$lofile ; \ 52 echo "# Generated by fake libtool" >> $$lofile ; \ 53 echo "pic_object='$$i'" >> $$lofile ; \ 54 echo "non_pic_object='$$i'" >> $$lofile ; \ 55 done ; cd .. 56 $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -rpath $(libdir) $(LT_LDFLAGS) linkdir/*.lo 57 rm -rf linkdir 58 59 install-exec-local: libcoinasl.la 60 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" 61 if test -f libcoinasl.la; then \ 62 $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) libcoinasl.la "$(DESTDIR)$(libdir)/libcoinasl.la"; \ 63 fi 64 65 uninstall-local: 66 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/libcoinasl.la" 67 68 alltargets += libcoinasl.la 69 70 endif 71 72 stdio1.h arith.h funcadd0.$(OBJEXT): $(AMPLSOLVER_A) 20 73 21 74 all-local: $(alltargets) 22 75 23 if MSVC_COMPILE 24 $(libampl): 25 ./compile_MS_ASL 26 else 27 $(libampl): 28 ./compile_Unix_ASL 29 endif 30 31 stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl) 76 test: 77 @echo "No test available for ASL." 32 78 33 79 thirdpartyincludedir = $(includedir)/coin/ThirdParty … … 37 83 stdio1.h arith.h 38 84 39 thirdpartylibdir = $(libdir)40 thirdpartylib_DATA = $(libampl)41 42 85 pkgconfiglibdir = $(libdir)/pkgconfig 43 86 pkgconfiglib_DATA = coinasl.pc 44 87 45 if COIN_HAS_PKGCONFIG 46 addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/ASL 47 48 install-data-hook: 49 @$(mkdir_p) "$(addlibsdir)" 50 PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \ 51 $(PKG_CONFIG) --libs coinasl > $(addlibsdir)/asl_addlibs.txt 52 53 uninstall-hook: 54 rm -f $(addlibsdir)/asl_addlibs.txt 55 endif 56 57 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 88 CLEANFILES = $(AMPLSOLVER_A) $(alltargets) 58 89 59 90 ######################################################################## … … 62 93 63 94 # Files that are generated and should be cleaned with make distclean 64 DISTCLEANFILES = $(MAKEOKFILE)95 DISTCLEANFILES = 65 96 66 97 include BuildTools/Makemain.inc -
ThirdParty/ASL/stable/1.2/Makefile.in
r2061 r2307 19 19 # This file is distributed under the Eclipse Public License. 20 20 21 # the idea is to use the ASL Makefiles to build a static $(AMPLSOLVER_A) library via the compile_*_ASL scripts 22 # from this library, we create a libcoinasl.la libtool library 23 # in a MS VC build, we assume static libraries are used, so we can use the usual libtool machinery via LIBADD 24 # in a normal build, we build the libcoinasl.la library by extracting the $(AMPLSOLVER_A) library and relinking it via libtool 25 # in a shared library build, this should give a shared libcoinasl.so library 26 # further, configure should have taken care of adding -fPIC -DPIC to the CFLAGS when compiling the ASL sources 27 # to avoid a failure when building static libraries and a libtool warning, we additionally create .lo files for each object 28 21 29 # Copyright (C) 2006, 2007 International Business Machines and others. 22 30 # All Rights Reserved. … … 28 36 # Documentation installation # 29 37 ######################################################################## 38 30 39 31 40 … … 52 61 build_triplet = @build@ 53 62 host_triplet = @host@ 63 @COIN_CC_IS_CL_FALSE@am__append_1 = libcoinasl.la 54 64 DIST_COMMON = $(am__configure_deps) $(srcdir)/BuildTools/Makemain.inc \ 55 65 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ … … 58 68 $(thirdpartyinclude_HEADERS) $(top_srcdir)/configure \ 59 69 config.guess config.sub depcomp install-sh ltmain.sh missing 60 @HAVE_EXTERNALS_TRUE@am__append_ 1 = Externals61 @HAVE_EXTERNALS_TRUE@am__append_ 2 = .Externals-stamp70 @HAVE_EXTERNALS_TRUE@am__append_2 = Dependencies 71 @HAVE_EXTERNALS_TRUE@am__append_3 = .Dependencies-stamp 62 72 subdir = . 63 73 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 … … 71 81 CONFIG_CLEAN_FILES = compile_MS_ASL compile_Unix_ASL coinasl.pc \ 72 82 coinasl-uninstalled.pc 73 SOURCES =74 DIST_SOURCES =75 83 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 76 84 am__vpath_adj = case $$p in \ … … 79 87 esac; 80 88 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; 81 am__installdirs = "$(DESTDIR)$(pkgconfiglibdir)" \ 82 "$(DESTDIR)$(thirdpartylibdir)" \ 89 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfiglibdir)" \ 83 90 "$(DESTDIR)$(thirdpartyincludedir)" 91 libLTLIBRARIES_INSTALL = $(INSTALL) 92 LTLIBRARIES = $(lib_LTLIBRARIES) 93 am__DEPENDENCIES_1 = 94 am_libcoinasl_la_OBJECTS = 95 libcoinasl_la_OBJECTS = $(am_libcoinasl_la_OBJECTS) 96 @COIN_CC_IS_CL_TRUE@am_libcoinasl_la_rpath = -rpath $(libdir) 97 DEFAULT_INCLUDES = -I. -I$(srcdir) 98 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 99 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 100 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ 101 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 102 $(AM_CFLAGS) $(CFLAGS) 103 CCLD = $(CC) 104 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 105 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 106 SOURCES = $(libcoinasl_la_SOURCES) 107 DIST_SOURCES = $(libcoinasl_la_SOURCES) 84 108 pkgconfiglibDATA_INSTALL = $(INSTALL_DATA) 85 thirdpartylibDATA_INSTALL = $(INSTALL_DATA) 86 DATA = $(pkgconfiglib_DATA) $(thirdpartylib_DATA) 109 DATA = $(pkgconfiglib_DATA) 87 110 thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER) 88 111 HEADERS = $(thirdpartyinclude_HEADERS) … … 167 190 MAKEINFO = @MAKEINFO@ 168 191 MPICC = @MPICC@ 169 MSVC_COMPILE_FALSE = @MSVC_COMPILE_FALSE@170 MSVC_COMPILE_TRUE = @MSVC_COMPILE_TRUE@171 192 OBJEXT = @OBJEXT@ 172 193 OPT_CFLAGS = @OPT_CFLAGS@ … … 242 263 target_alias = @target_alias@ 243 264 AUTOMAKE_OPTIONS = foreign 244 EXTRA_DIST = get.ASL INSTALL.ASL $(am__append_1) 265 EXTRA_DIST = get.ASL INSTALL.ASL $(am__append_2) 266 @COIN_CC_IS_CL_TRUE@lib_LTLIBRARIES = libcoinasl.la 267 @COIN_CC_IS_CL_TRUE@libcoinasl_la_SOURCES = 268 @COIN_CC_IS_CL_TRUE@libcoinasl_la_LIBADD = $(AMPLSOLVER_A) 269 @COIN_CC_IS_CL_TRUE@libcoinasl_la_DEPENDENCIES = $(AMPLSOLVER_A) 270 271 # This is for libtool 272 @COIN_CC_IS_CL_TRUE@libcoinasl_la_LDFLAGS = $(LT_LDFLAGS) 245 273 246 274 ######################################################################## … … 248 276 ######################################################################## 249 277 compdir = compdir 250 libampl = $(AMPLSOLVER_A) 251 alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 278 alltargets = stdio1.h arith.h funcadd0.$(OBJEXT) $(am__append_1) 252 279 thirdpartyincludedir = $(includedir)/coin/ThirdParty 253 280 thirdpartyinclude_HEADERS = \ … … 256 283 stdio1.h arith.h 257 284 258 thirdpartylibdir = $(libdir)259 thirdpartylib_DATA = $(libampl)260 285 pkgconfiglibdir = $(libdir)/pkgconfig 261 286 pkgconfiglib_DATA = coinasl.pc 262 @COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/ASL 263 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 287 CLEANFILES = $(AMPLSOLVER_A) $(alltargets) 264 288 265 289 ######################################################################## … … 268 292 269 293 # Files that are generated and should be cleaned with make distclean 270 DISTCLEANFILES = $( MAKEOKFILE) $(am__append_2) $(VPATH_DISTCLEANFILES)294 DISTCLEANFILES = $(am__append_3) $(VPATH_DISTCLEANFILES) 271 295 DocFiles = README AUTHORS LICENSE 272 296 DocInstallDir = $(datadir)/coin/doc/$(PACKAGE_NAME) … … 315 339 coinasl-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/coinasl-uninstalled.pc.in 316 340 cd $(top_builddir) && $(SHELL) ./config.status $@ 341 install-libLTLIBRARIES: $(lib_LTLIBRARIES) 342 @$(NORMAL_INSTALL) 343 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" 344 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 345 if test -f $$p; then \ 346 f=$(am__strip_dir) \ 347 echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ 348 $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ 349 else :; fi; \ 350 done 351 352 uninstall-libLTLIBRARIES: 353 @$(NORMAL_UNINSTALL) 354 @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 355 p=$(am__strip_dir) \ 356 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ 357 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ 358 done 359 360 clean-libLTLIBRARIES: 361 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) 362 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 363 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ 364 test "$$dir" != "$$p" || dir=.; \ 365 echo "rm -f \"$${dir}/so_locations\""; \ 366 rm -f "$${dir}/so_locations"; \ 367 done 368 @COIN_CC_IS_CL_TRUE@libcoinasl.la: $(libcoinasl_la_OBJECTS) $(libcoinasl_la_DEPENDENCIES) 369 @COIN_CC_IS_CL_TRUE@ $(LINK) $(am_libcoinasl_la_rpath) $(libcoinasl_la_LDFLAGS) $(libcoinasl_la_OBJECTS) $(libcoinasl_la_LIBADD) $(LIBS) 370 371 mostlyclean-compile: 372 -rm -f *.$(OBJEXT) 373 374 distclean-compile: 375 -rm -f *.tab.c 317 376 318 377 mostlyclean-libtool: … … 341 400 echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \ 342 401 rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \ 343 done344 install-thirdpartylibDATA: $(thirdpartylib_DATA)345 @$(NORMAL_INSTALL)346 test -z "$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"347 @list='$(thirdpartylib_DATA)'; for p in $$list; do \348 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \349 f=$(am__strip_dir) \350 echo " $(thirdpartylibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \351 $(thirdpartylibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(thirdpartylibdir)/$$f"; \352 done353 354 uninstall-thirdpartylibDATA:355 @$(NORMAL_UNINSTALL)356 @list='$(thirdpartylib_DATA)'; for p in $$list; do \357 f=$(am__strip_dir) \358 echo " rm -f '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \359 rm -f "$(DESTDIR)$(thirdpartylibdir)/$$f"; \360 402 done 361 403 install-thirdpartyincludeHEADERS: $(thirdpartyinclude_HEADERS) … … 554 596 check-am: all-am 555 597 check: check-am 556 all-am: Makefile $( DATA) $(HEADERS) all-local598 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local 557 599 installdirs: 558 for dir in "$(DESTDIR)$( pkgconfiglibdir)" "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \600 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \ 559 601 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 560 602 done … … 585 627 @echo "This command is intended for maintainers to use" 586 628 @echo "it deletes files that may require special tools to rebuild." 587 @COIN_ HAS_PKGCONFIG_FALSE@install-data-hook:588 @COIN_ HAS_PKGCONFIG_FALSE@uninstall-hook:629 @COIN_CC_IS_CL_TRUE@uninstall-local: 630 @COIN_CC_IS_CL_TRUE@install-exec-local: 589 631 clean: clean-am 590 632 591 clean-am: clean-generic clean-libtool mostlyclean-am 633 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ 634 mostlyclean-am 592 635 593 636 distclean: distclean-am 594 637 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 595 638 -rm -f Makefile 596 distclean-am: clean-am distclean- generic distclean-libtool\597 distclean- tags639 distclean-am: clean-am distclean-compile distclean-generic \ 640 distclean-libtool distclean-tags 598 641 599 642 dvi: dvi-am … … 608 651 609 652 install-data-am: install-pkgconfiglibDATA \ 610 install-thirdpartyincludeHEADERS install-thirdpartylibDATA 611 @$(NORMAL_INSTALL) 612 $(MAKE) $(AM_MAKEFLAGS) install-data-hook 613 614 install-exec-am: 653 install-thirdpartyincludeHEADERS 654 655 install-exec-am: install-exec-local install-libLTLIBRARIES 615 656 616 657 install-info: install-info-am … … 628 669 mostlyclean: mostlyclean-am 629 670 630 mostlyclean-am: mostlyclean-generic mostlyclean-libtool 671 mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 672 mostlyclean-libtool 631 673 632 674 pdf: pdf-am … … 638 680 ps-am: 639 681 640 uninstall-am: uninstall-info-am uninstall-pkgconfiglibDATA \ 641 uninstall-thirdpartyincludeHEADERS uninstall-thirdpartylibDATA 642 @$(NORMAL_INSTALL) 643 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook 682 uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \ 683 uninstall-local uninstall-pkgconfiglibDATA \ 684 uninstall-thirdpartyincludeHEADERS 644 685 645 686 .PHONY: CTAGS GTAGS all all-am all-local am--refresh check check-am \ 646 clean clean-generic clean-libtool ctags dist dist-all \ 647 dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip distcheck \ 648 distclean distclean-generic distclean-libtool distclean-tags \ 687 clean clean-generic clean-libLTLIBRARIES clean-libtool ctags \ 688 dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \ 689 dist-zip distcheck distclean distclean-compile \ 690 distclean-generic distclean-libtool distclean-tags \ 649 691 distcleancheck distdir distuninstallcheck dvi dvi-am html \ 650 692 html-am info info-am install install-am install-data \ 651 install-data-am install-data-hook install-exec install-exec-am \ 652 install-info install-info-am install-man \ 653 install-pkgconfiglibDATA install-strip \ 654 install-thirdpartyincludeHEADERS install-thirdpartylibDATA \ 655 installcheck installcheck-am installdirs maintainer-clean \ 656 maintainer-clean-generic mostlyclean mostlyclean-generic \ 657 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ 658 uninstall-am uninstall-hook uninstall-info-am \ 659 uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS \ 660 uninstall-thirdpartylibDATA 661 693 install-data-am install-exec install-exec-am \ 694 install-exec-local install-info install-info-am \ 695 install-libLTLIBRARIES install-man install-pkgconfiglibDATA \ 696 install-strip install-thirdpartyincludeHEADERS installcheck \ 697 installcheck-am installdirs maintainer-clean \ 698 maintainer-clean-generic mostlyclean mostlyclean-compile \ 699 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 700 tags uninstall uninstall-am uninstall-info-am \ 701 uninstall-libLTLIBRARIES uninstall-local \ 702 uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS 703 704 705 @COIN_CC_IS_CL_TRUE@$(AMPLSOLVER_A): 706 @COIN_CC_IS_CL_TRUE@ ./compile_MS_ASL 707 708 @COIN_CC_IS_CL_FALSE@$(AMPLSOLVER_A): 709 @COIN_CC_IS_CL_FALSE@ ./compile_Unix_ASL 710 711 @COIN_CC_IS_CL_FALSE@libcoinasl.la : $(AMPLSOLVER_A) 712 @COIN_CC_IS_CL_FALSE@ $(mkdir_p) linkdir ; cd linkdir ; \ 713 @COIN_CC_IS_CL_FALSE@ $(AR) x ../$(AMPLSOLVER_A) ; \ 714 @COIN_CC_IS_CL_FALSE@ for i in *.o ; do \ 715 @COIN_CC_IS_CL_FALSE@ lofile=`echo $$i | sed -e 's/.o$$/.lo/'`; \ 716 @COIN_CC_IS_CL_FALSE@ echo "# fake line" > $$lofile ; \ 717 @COIN_CC_IS_CL_FALSE@ echo "# Generated by fake libtool" >> $$lofile ; \ 718 @COIN_CC_IS_CL_FALSE@ echo "pic_object='$$i'" >> $$lofile ; \ 719 @COIN_CC_IS_CL_FALSE@ echo "non_pic_object='$$i'" >> $$lofile ; \ 720 @COIN_CC_IS_CL_FALSE@ done ; cd .. 721 @COIN_CC_IS_CL_FALSE@ $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -rpath $(libdir) $(LT_LDFLAGS) linkdir/*.lo 722 @COIN_CC_IS_CL_FALSE@ rm -rf linkdir 723 724 @COIN_CC_IS_CL_FALSE@install-exec-local: libcoinasl.la 725 @COIN_CC_IS_CL_FALSE@ test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" 726 @COIN_CC_IS_CL_FALSE@ if test -f libcoinasl.la; then \ 727 @COIN_CC_IS_CL_FALSE@ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) libcoinasl.la "$(DESTDIR)$(libdir)/libcoinasl.la"; \ 728 @COIN_CC_IS_CL_FALSE@ fi 729 730 @COIN_CC_IS_CL_FALSE@uninstall-local: 731 @COIN_CC_IS_CL_FALSE@ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/libcoinasl.la" 732 733 stdio1.h arith.h funcadd0.$(OBJEXT): $(AMPLSOLVER_A) 662 734 663 735 all-local: $(alltargets) 664 736 665 @MSVC_COMPILE_TRUE@$(libampl): 666 @MSVC_COMPILE_TRUE@ ./compile_MS_ASL 667 @MSVC_COMPILE_FALSE@$(libampl): 668 @MSVC_COMPILE_FALSE@ ./compile_Unix_ASL 669 670 stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl) 671 672 @COIN_HAS_PKGCONFIG_TRUE@install-data-hook: 673 @COIN_HAS_PKGCONFIG_TRUE@ @$(mkdir_p) "$(addlibsdir)" 674 @COIN_HAS_PKGCONFIG_TRUE@ PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \ 675 @COIN_HAS_PKGCONFIG_TRUE@ $(PKG_CONFIG) --libs coinasl > $(addlibsdir)/asl_addlibs.txt 676 677 @COIN_HAS_PKGCONFIG_TRUE@uninstall-hook: 678 @COIN_HAS_PKGCONFIG_TRUE@ rm -f $(addlibsdir)/asl_addlibs.txt 737 test: 738 @echo "No test available for ASL." 679 739 680 740 install-doc: $(DocFiles) … … 717 777 @MAINTAINER_MODE_TRUE@ cp $< $@ 718 778 719 # Take care of updating externals (if Externals file exists)720 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@$(top_builddir)/Makefile: . Externals-stamp721 722 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@. Externals-stamp: $(srcdir)/Externals723 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@ cd $(srcdir); svn propset svn:externals -F Externals .724 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@ touch . Externals-stamp725 726 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@update-externals: . Externals-stamp779 # Take care of updating externals (if Dependencies file exists) 780 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@$(top_builddir)/Makefile: .Dependencies-stamp 781 782 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@.Dependencies-stamp: $(srcdir)/Dependencies 783 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@ cd $(srcdir); BuildTools/set_externals Dependencies 784 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@ touch .Dependencies-stamp 785 786 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@update-externals: .Dependencies-stamp 727 787 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@ cd $(srcdir); svn update 728 788 -
ThirdParty/ASL/stable/1.2/coinasl-uninstalled.pc.in
r2061 r2307 6 6 URL: https://projects.coin-or.org/BuildTools 7 7 Version: @PACKAGE_VERSION@ 8 Libs: ${libdir}/ @AMPLSOLVER_A@@ASL_PCLIBS@8 Libs: ${libdir}/libcoinasl.la @ASL_PCLIBS@ 9 9 Cflags: -I@ABSBUILDDIR@ -I@abs_source_dir@/solvers -
ThirdParty/ASL/stable/1.2/coinasl.pc.in
r2061 r2307 8 8 URL: https://projects.coin-or.org/BuildTools 9 9 Version: @PACKAGE_VERSION@ 10 Libs: -L${libdir} -l amplsolver@ASL_PCLIBS@10 Libs: -L${libdir} -lcoinasl @ASL_PCLIBS@ 11 11 Cflags: -I${includedir} -
ThirdParty/ASL/stable/1.2/configure
r2061 r2307 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 ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion ASL_SVN_REV EGREP LN_S C OIN_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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE 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 AMPLSOLVER_A ASLMAKEFLAGS MSVC_COMPILE_TRUE MSVC_COMPILE_FALSEASL_PCLIBS 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 ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion ASL_SVN_REV EGREP LN_S 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE 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 AMPLSOLVER_A ASLMAKEFLAGS ASL_PCLIBS LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 1064 1064 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1065 1065 --enable-debug compile all projects with debug options tests 1066 --enable-debug-asl compile this project (ASL) with debug options 1066 (implies --disable-shared) 1067 --enable-debug-asl compile project ASL with debug compiler flags 1067 1068 --enable-doscompile Under Cygwin, compile so that executables run under 1068 1069 DOS. Set to mingw to use gcc/g++/ld with … … 1081 1082 optimize for fast installation [default=yes] 1082 1083 --disable-libtool-lock avoid locking (might break parallel builds) 1083 -- enable-pkg-config use pkg-config if available (default is yes)1084 --disable-pkg-config disable use of pkg-config (if available) 1084 1085 1085 1086 Optional Packages: … … 1672 1673 coin_projectdir=yes 1673 1674 1674 # Set the project's version number 1675 if test "xASL" != x; then 1675 # Set the project's version numbers 1676 1676 1677 1677 1678 cat >>confdefs.h <<_ACEOF … … 1679 1680 _ACEOF 1680 1681 1681 fi 1682 1683 # Set the project's SVN revision number. The complicated sed expression 1684 # (made worse by quadrigraphs) ensures that things like 4123:4168MS end up 1685 # as a single number. 1686 # Extract the first word of "svnversion", so it can be a program name with args. 1682 1683 coin_majorver=`echo $PACKAGE_VERSION | sed -n -e 's/^\([0-9]*\).*/\1/gp'` 1684 coin_minorver=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.\([0-9]*\).*/\1/gp'` 1685 coin_releasever=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*/\1/gp'` 1686 if test "x$coin_majorver" = x ; then coin_majorver=9999 ; fi 1687 if test "x$coin_minorver" = x ; then coin_minorver=9999 ; fi 1688 if test "x$coin_releasever" = x ; then coin_releasever=9999 ; fi 1689 1690 cat >>confdefs.h <<_ACEOF 1691 #define ASL_VERSION_MAJOR $coin_majorver 1692 _ACEOF 1693 1694 1695 cat >>confdefs.h <<_ACEOF 1696 #define ASL_VERSION_MINOR $coin_minorver 1697 _ACEOF 1698 1699 1700 cat >>confdefs.h <<_ACEOF 1701 #define ASL_VERSION_RELEASE $coin_releasever 1702 _ACEOF 1703 1704 1705 # We use the following variable to have a string with the upper case 1706 # version of the project name 1707 COIN_PRJCT=ASL 1708 1709 # Set the project's SVN revision number. The complicated sed expression 1710 # (made worse by quadrigraphs) ensures that things like 4123:4168MS end up 1711 # as a single number. 1712 # Extract the first word of "svnversion", so it can be a program name with args. 1687 1713 set dummy svnversion; ac_word=$2 1688 1714 echo "$as_me:$LINENO: checking for $ac_word" >&5 … … 1720 1746 fi 1721 1747 1722 if test "x$have_svnversion" = xyes && test "xASL" != x; then1723 1724 svn_rev_tmp=`cd $srcdir/$coin_has_asl ; svnversion`1725 ASL_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'`1726 if test $ASL_SVN_REV != exported; then1748 if test "x$have_svnversion" = xyes; then 1749 1750 svn_rev_tmp=`LANG=en_EN svnversion $srcdir 2>/dev/null` 1751 if test "x$svn_rev_tmp" != xexported -a "x$svn_rev_tmp" != x; then 1752 ASL_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'` 1727 1753 1728 1754 cat >>confdefs.h <<_ACEOF … … 1730 1756 _ACEOF 1731 1757 1758 fi 1732 1759 fi 1733 fi 1760 1761 1734 1762 1735 1763 # Capture libtool library version, if given. 1764 1736 1765 1737 1766 … … 1771 1800 case "${enableval}" in 1772 1801 yes) coin_debug_compile=true 1773 enable_shared=no1774 1802 ;; 1775 1803 no) coin_debug_compile=false … … 1826 1854 #define COIN_ASL_CHECKLEVEL $coin_asl_checklevel 1827 1855 _ACEOF 1828 1829 1830 # We use the following variable to have a string with the upper case1831 # version of the project name1832 COIN_PRJCT=ASL1833 1856 1834 1857 … … 1939 1962 esac 1940 1963 fi 1941 1942 # add automake conditional so we can recognize cl compiler in makefile1943 coin_cc_is_cl=false1944 if test x"$CXX" != x; then1945 case "$CXX" in1946 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)1947 coin_cc_is_cl=true1948 ;;1949 esac1950 fi1951 1952 1953 if test $coin_cc_is_cl = true; then1954 COIN_CC_IS_CL_TRUE=1955 COIN_CC_IS_CL_FALSE='#'1956 else1957 COIN_CC_IS_CL_TRUE='#'1958 COIN_CC_IS_CL_FALSE=1959 fi1960 1961 1964 1962 1965 … … 2778 2781 CFLAGS="$save_cflags" 2779 2782 2783 # add automake conditional so we can recognize cl compiler in makefile 2784 coin_cc_is_cl=false 2785 case "$CC" in 2786 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 2787 coin_cc_is_cl=true 2788 ;; 2789 esac 2790 2791 2792 if test $coin_cc_is_cl = true; then 2793 COIN_CC_IS_CL_TRUE= 2794 COIN_CC_IS_CL_FALSE='#' 2795 else 2796 COIN_CC_IS_CL_TRUE='#' 2797 COIN_CC_IS_CL_FALSE= 2798 fi 2799 2800 2780 2801 # Check if a project specific CFLAGS variable has been set 2781 2802 if test x$COIN_PRJCT != x; then … … 2800 2821 coin_opt_cflags="-O3" 2801 2822 coin_add_cflags="-pipe" 2802 coin_dbg_cflags="-g "2803 coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas "2823 coin_dbg_cflags="-g -O0" 2824 coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long" 2804 2825 case $build in 2805 2826 *-darwin*) … … 3066 3087 esac 3067 3088 3089 # add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include 3090 if test x$COIN_PRJCT != x; then 3091 CFLAGS="$CFLAGS -D${COIN_PRJCT}_BUILD" 3092 fi 3093 3068 3094 # Try if CFLAGS works 3069 3095 save_CFLAGS="$CFLAGS" … … 3612 3638 3613 3639 3640 3614 3641 # AC_MSG_NOTICE([Beginning automake initialisation.]) 3615 3642 # Stuff for automake … … 4145 4172 4146 4173 4147 # Check if we have an Externals file4148 if test -r $srcdir/ Externals; then4174 # Check if we have an Dependencies file 4175 if test -r $srcdir/Dependencies; then 4149 4176 coin_have_externals=yes 4150 4177 fi … … 4219 4246 { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5 4220 4247 echo "$as_me: error: Cannot find the BuildTools directory" >&2;} 4221 { (exit 1); exit 1; }; }4248 { (exit better disable maintainer mode.); exit better disable maintainer mode.; }; } 4222 4249 fi 4223 4250 fi 4224 4251 fi 4225 4252 4253 4254 # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools 4255 if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then 4256 $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools" 4257 fi 4226 4258 4227 4259 # The following variable is set to the name of the directory where … … 4816 4848 *-*-irix6*) 4817 4849 # Find out which ABI we are using. 4818 echo '#line 48 18"configure"' > conftest.$ac_ext4850 echo '#line 4850 "configure"' > conftest.$ac_ext 4819 4851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4820 4852 (eval $ac_compile) 2>&5 … … 6415 6447 6416 6448 # Provide some information about the compiler. 6417 echo "$as_me:64 17:" \6449 echo "$as_me:6449:" \ 6418 6450 "checking for Fortran 77 compiler version" >&5 6419 6451 ac_compiler=`set X $ac_compile; echo $2` … … 7482 7514 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7483 7515 -e 's:$: $lt_compiler_flag:'` 7484 (eval echo "\"\$as_me:7 484: $lt_compile\"" >&5)7516 (eval echo "\"\$as_me:7516: $lt_compile\"" >&5) 7485 7517 (eval "$lt_compile" 2>conftest.err) 7486 7518 ac_status=$? 7487 7519 cat conftest.err >&5 7488 echo "$as_me:7 488: \$? = $ac_status" >&57520 echo "$as_me:7520: \$? = $ac_status" >&5 7489 7521 if (exit $ac_status) && test -s "$ac_outfile"; then 7490 7522 # The compiler can only warn and ignore the option if not recognized … … 7750 7782 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7751 7783 -e 's:$: $lt_compiler_flag:'` 7752 (eval echo "\"\$as_me:77 52: $lt_compile\"" >&5)7784 (eval echo "\"\$as_me:7784: $lt_compile\"" >&5) 7753 7785 (eval "$lt_compile" 2>conftest.err) 7754 7786 ac_status=$? 7755 7787 cat conftest.err >&5 7756 echo "$as_me:77 56: \$? = $ac_status" >&57788 echo "$as_me:7788: \$? = $ac_status" >&5 7757 7789 if (exit $ac_status) && test -s "$ac_outfile"; then 7758 7790 # The compiler can only warn and ignore the option if not recognized … … 7854 7886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7855 7887 -e 's:$: $lt_compiler_flag:'` 7856 (eval echo "\"\$as_me:78 56: $lt_compile\"" >&5)7888 (eval echo "\"\$as_me:7888: $lt_compile\"" >&5) 7857 7889 (eval "$lt_compile" 2>out/conftest.err) 7858 7890 ac_status=$? 7859 7891 cat out/conftest.err >&5 7860 echo "$as_me:78 60: \$? = $ac_status" >&57892 echo "$as_me:7892: \$? = $ac_status" >&5 7861 7893 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7862 7894 then … … 10199 10231 lt_status=$lt_dlunknown 10200 10232 cat > conftest.$ac_ext <<EOF 10201 #line 102 01"configure"10233 #line 10233 "configure" 10202 10234 #include "confdefs.h" 10203 10235 … … 10299 10331 lt_status=$lt_dlunknown 10300 10332 cat > conftest.$ac_ext <<EOF 10301 #line 103 01"configure"10333 #line 10333 "configure" 10302 10334 #include "confdefs.h" 10303 10335 … … 12643 12675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12644 12676 -e 's:$: $lt_compiler_flag:'` 12645 (eval echo "\"\$as_me:126 45: $lt_compile\"" >&5)12677 (eval echo "\"\$as_me:12677: $lt_compile\"" >&5) 12646 12678 (eval "$lt_compile" 2>conftest.err) 12647 12679 ac_status=$? 12648 12680 cat conftest.err >&5 12649 echo "$as_me:126 49: \$? = $ac_status" >&512681 echo "$as_me:12681: \$? = $ac_status" >&5 12650 12682 if (exit $ac_status) && test -s "$ac_outfile"; then 12651 12683 # The compiler can only warn and ignore the option if not recognized … … 12747 12779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12748 12780 -e 's:$: $lt_compiler_flag:'` 12749 (eval echo "\"\$as_me:127 49: $lt_compile\"" >&5)12781 (eval echo "\"\$as_me:12781: $lt_compile\"" >&5) 12750 12782 (eval "$lt_compile" 2>out/conftest.err) 12751 12783 ac_status=$? 12752 12784 cat out/conftest.err >&5 12753 echo "$as_me:127 53: \$? = $ac_status" >&512785 echo "$as_me:12785: \$? = $ac_status" >&5 12754 12786 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12755 12787 then … … 14317 14349 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14318 14350 -e 's:$: $lt_compiler_flag:'` 14319 (eval echo "\"\$as_me:143 19: $lt_compile\"" >&5)14351 (eval echo "\"\$as_me:14351: $lt_compile\"" >&5) 14320 14352 (eval "$lt_compile" 2>conftest.err) 14321 14353 ac_status=$? 14322 14354 cat conftest.err >&5 14323 echo "$as_me:143 23: \$? = $ac_status" >&514355 echo "$as_me:14355: \$? = $ac_status" >&5 14324 14356 if (exit $ac_status) && test -s "$ac_outfile"; then 14325 14357 # The compiler can only warn and ignore the option if not recognized … … 14421 14453 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14422 14454 -e 's:$: $lt_compiler_flag:'` 14423 (eval echo "\"\$as_me:144 23: $lt_compile\"" >&5)14455 (eval echo "\"\$as_me:14455: $lt_compile\"" >&5) 14424 14456 (eval "$lt_compile" 2>out/conftest.err) 14425 14457 ac_status=$? 14426 14458 cat out/conftest.err >&5 14427 echo "$as_me:144 27: \$? = $ac_status" >&514459 echo "$as_me:14459: \$? = $ac_status" >&5 14428 14460 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14429 14461 then … … 16628 16660 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16629 16661 -e 's:$: $lt_compiler_flag:'` 16630 (eval echo "\"\$as_me:166 30: $lt_compile\"" >&5)16662 (eval echo "\"\$as_me:16662: $lt_compile\"" >&5) 16631 16663 (eval "$lt_compile" 2>conftest.err) 16632 16664 ac_status=$? 16633 16665 cat conftest.err >&5 16634 echo "$as_me:166 34: \$? = $ac_status" >&516666 echo "$as_me:16666: \$? = $ac_status" >&5 16635 16667 if (exit $ac_status) && test -s "$ac_outfile"; then 16636 16668 # The compiler can only warn and ignore the option if not recognized … … 16896 16928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16897 16929 -e 's:$: $lt_compiler_flag:'` 16898 (eval echo "\"\$as_me:16 898: $lt_compile\"" >&5)16930 (eval echo "\"\$as_me:16930: $lt_compile\"" >&5) 16899 16931 (eval "$lt_compile" 2>conftest.err) 16900 16932 ac_status=$? 16901 16933 cat conftest.err >&5 16902 echo "$as_me:169 02: \$? = $ac_status" >&516934 echo "$as_me:16934: \$? = $ac_status" >&5 16903 16935 if (exit $ac_status) && test -s "$ac_outfile"; then 16904 16936 # The compiler can only warn and ignore the option if not recognized … … 17000 17032 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17001 17033 -e 's:$: $lt_compiler_flag:'` 17002 (eval echo "\"\$as_me:170 02: $lt_compile\"" >&5)17034 (eval echo "\"\$as_me:17034: $lt_compile\"" >&5) 17003 17035 (eval "$lt_compile" 2>out/conftest.err) 17004 17036 ac_status=$? 17005 17037 cat out/conftest.err >&5 17006 echo "$as_me:170 06: \$? = $ac_status" >&517038 echo "$as_me:17038: \$? = $ac_status" >&5 17007 17039 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17008 17040 then … … 20004 20036 fi 20005 20037 if test -n "$PKG_CONFIG"; then 20006 _pkg_min_version=0. 9.020038 _pkg_min_version=0.16.0 20007 20039 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 20008 20040 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 … … 20045 20077 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 20046 20078 if test "x${prefix}" = xNONE ; then 20047 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${ COIN_PKG_CONFIG_PATH}"20048 else 20049 COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${ COIN_PKG_CONFIG_PATH}"20079 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20080 else 20081 COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20050 20082 fi 20051 20083 … … 20059 20091 { (exit 1); exit 1; }; } 20060 20092 fi 20061 COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:$ {COIN_PKG_CONFIG_PATH}"20093 COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:$withval/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20062 20094 20063 20095 fi; … … 20097 20129 fi 20098 20130 20131 if test -n "$PKG_CONFIG" && test x$coin_cc_is_cl = xtrue; then 20132 { echo "$as_me:$LINENO: WARNING: Using pkg-config together with MS or Intel Compiler on Windows is not support by example Makefiles. Consider using --disable-pkg-config." >&5 20133 echo "$as_me: WARNING: Using pkg-config together with MS or Intel Compiler on Windows is not support by example Makefiles. Consider using --disable-pkg-config." >&2;} 20134 fi 20135 20099 20136 20100 20137 … … 20107 20144 # Set a substitutable variable with the library name, and determine the compilation style. 20108 20145 20109 case "$CC" in 20110 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 20111 AMPLSOLVER_A=libamplsolver.lib 20112 msvc_compile=yes 20113 ;; 20114 *) 20115 AMPLSOLVER_A=libamplsolver.a 20116 msvc_compile=no 20117 ;; 20118 esac 20119 { echo "$as_me:$LINENO: Configuring ASL to build $AMPLSOLVER_A." >&5 20120 echo "$as_me: Configuring ASL to build $AMPLSOLVER_A." >&6;} 20146 if test "x$coin_cc_is_cl" = xtrue ; then 20147 AMPLSOLVER_A=libamplsolver.lib 20148 else 20149 AMPLSOLVER_A=libamplsolver.a 20150 fi 20121 20151 20122 20152 # Determine flags to be passed on the command line to (n)make. The main … … 20270 20300 20271 20301 20302 # Check for dlopen, ASL uses it to load userdefined function libraries 20303 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 20304 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 20305 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 20306 echo $ECHO_N "(cached) $ECHO_C" >&6 20307 else 20308 ac_check_lib_save_LIBS=$LIBS 20309 LIBS="-ldl $LIBS" 20310 cat >conftest.$ac_ext <<_ACEOF 20311 /* confdefs.h. */ 20312 _ACEOF 20313 cat confdefs.h >>conftest.$ac_ext 20314 cat >>conftest.$ac_ext <<_ACEOF 20315 /* end confdefs.h. */ 20316 20317 /* Override any gcc2 internal prototype to avoid an error. */ 20318 #ifdef __cplusplus 20319 extern "C" 20320 #endif 20321 /* We use char because int might match the return type of a gcc2 20322 builtin and then its argument prototype would still apply. */ 20323 char dlopen (); 20324 int 20325 main () 20326 { 20327 dlopen (); 20328 ; 20329 return 0; 20330 } 20331 _ACEOF 20332 rm -f conftest.$ac_objext conftest$ac_exeext 20333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20334 (eval $ac_link) 2>conftest.er1 20335 ac_status=$? 20336 grep -v '^ *+' conftest.er1 >conftest.err 20337 rm -f conftest.er1 20338 cat conftest.err >&5 20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20340 (exit $ac_status); } && 20341 { ac_try='test -z "$ac_c_werror_flag" 20342 || test ! -s conftest.err' 20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20344 (eval $ac_try) 2>&5 20345 ac_status=$? 20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20347 (exit $ac_status); }; } && 20348 { ac_try='test -s conftest$ac_exeext' 20349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20350 (eval $ac_try) 2>&5 20351 ac_status=$? 20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20353 (exit $ac_status); }; }; then 20354 ac_cv_lib_dl_dlopen=yes 20355 else 20356 echo "$as_me: failed program was:" >&5 20357 sed 's/^/| /' conftest.$ac_ext >&5 20358 20359 ac_cv_lib_dl_dlopen=no 20360 fi 20361 rm -f conftest.err conftest.$ac_objext \ 20362 conftest$ac_exeext conftest.$ac_ext 20363 LIBS=$ac_check_lib_save_LIBS 20364 fi 20365 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 20366 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 20367 if test $ac_cv_lib_dl_dlopen = yes; then 20368 ASL_PCLIBS="-ldl $ASL_PCLIBS" 20369 fi 20370 20371 20272 20372 # Back to whatever language we were in. 20273 20373 ac_ext=c … … 20286 20386 # Remove -Werror if present, to make sure we are not interrupting compilation 20287 20387 # of ASL because of warning messages. The cl equivalent is -WX. 20388 # SV: Our buildsystem should never add these flags to the CFLAGS, so why bother checking for them? 20389 # If the user added some, shouldn't we listen to it and not just remove them again? 20288 20390 bla= 20289 if test x$msvc_compile = xyes; then20391 if test "x$coin_cc_is_cl" = xtrue ; then 20290 20392 warnToErr="-WX" 20291 20393 else … … 20297 20399 fi 20298 20400 done 20401 20402 # Add -fPIC -DPIC if we actually build shared libraries 20403 if test x$enable_shared != xno; then 20404 asladdcflags="$asladdcflags -fPIC -DPIC" 20405 fi 20406 20299 20407 ASLMAKEFLAGS="CFLAGS=\"$bla $asladdcflags\"" 20300 20408 … … 20312 20420 # Limit GNU make to one thread. But remember that if we're building with 20313 20421 # cl, ultimately we're going to use nmake, which knows nothing of this. 20314 if test x$msvc_compile = xno; then20422 if test "x$coin_cc_is_cl" != xtrue ; then 20315 20423 rm -rf conftest.mak 20316 20424 ($am_make -v > conftest.grp) 2>&5 … … 20327 20435 20328 20436 20329 # Set automake conditional and generate the output files. 20330 20331 20332 20333 if test x$msvc_compile = xyes; then 20334 MSVC_COMPILE_TRUE= 20335 MSVC_COMPILE_FALSE='#' 20336 else 20337 MSVC_COMPILE_TRUE='#' 20338 MSVC_COMPILE_FALSE= 20339 fi 20340 20437 # generate the output files. 20341 20438 20342 20439 ac_config_files="$ac_config_files Makefile" … … 20427 20524 20428 20525 fi 20526 20527 # On AIX, the default sed cannot deal with somewhat long sed commands executed by config.status. 20528 # So we reduce the hardcoded number of commands given to sed from 48 to 5 in config.status, hoping this will suffice. 20529 20429 20530 20430 20531 cat >confcache <<\_ACEOF … … 20603 20704 Usually this means the macro was only invoked conditionally." >&5 20604 20705 echo "$as_me: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined. 20605 Usually this means the macro was only invoked conditionally." >&2;}20606 { (exit 1); exit 1; }; }20607 fi20608 if test -z "${MSVC_COMPILE_TRUE}" && test -z "${MSVC_COMPILE_FALSE}"; then20609 { { echo "$as_me:$LINENO: error: conditional \"MSVC_COMPILE\" was never defined.20610 Usually this means the macro was only invoked conditionally." >&520611 echo "$as_me: error: conditional \"MSVC_COMPILE\" was never defined.20612 20706 Usually this means the macro was only invoked conditionally." >&2;} 20613 20707 { (exit 1); exit 1; }; } … … 21152 21246 s,@EGREP@,$EGREP,;t t 21153 21247 s,@LN_S@,$LN_S,;t t 21154 s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t21155 s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t21156 21248 s,@CDEFS@,$CDEFS,;t t 21157 21249 s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t … … 21166 21258 s,@EXEEXT@,$EXEEXT,;t t 21167 21259 s,@OBJEXT@,$OBJEXT,;t t 21260 s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t 21261 s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t 21168 21262 s,@MPICC@,$MPICC,;t t 21169 21263 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t … … 21246 21340 s,@AMPLSOLVER_A@,$AMPLSOLVER_A,;t t 21247 21341 s,@ASLMAKEFLAGS@,$ASLMAKEFLAGS,;t t 21248 s,@MSVC_COMPILE_TRUE@,$MSVC_COMPILE_TRUE,;t t21249 s,@MSVC_COMPILE_FALSE@,$MSVC_COMPILE_FALSE,;t t21250 21342 s,@ASL_PCLIBS@,$ASL_PCLIBS,;t t 21251 21343 s,@LIBEXT@,$LIBEXT,;t t … … 21708 21800 21709 21801 21802 case $build in 21803 *-aix*) 21804 { echo "$as_me:$LINENO: patching config.status to reduce ac_max_sed_lines to 5" >&5 21805 echo "$as_me: patching config.status to reduce ac_max_sed_lines to 5" >&6;} 21806 sed -e 's/ac_max_sed_lines=48/ac_max_sed_lines=5/g' config.status > config.status.tmp 21807 mv config.status.tmp config.status 21808 ;; 21809 esac 21810 21811 21710 21812 # configure is writing to config.log, and then calls config.status. 21711 21813 # config.status does its own redirection, appending to config.log. … … 21784 21886 fi 21785 21887 21888 { echo "$as_me:$LINENO: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&5 21889 echo "$as_me: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&6;} 21786 21890 if test x$coin_projectdir = xyes; then 21787 21891 { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5 -
ThirdParty/ASL/stable/1.2/configure.ac
r2009 r2307 70 70 # Set a substitutable variable with the library name, and determine the compilation style. 71 71 AC_SUBST(AMPLSOLVER_A) 72 case "$CC" in 73 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 74 AMPLSOLVER_A=libamplsolver.lib 75 msvc_compile=yes 76 ;; 77 *) 78 AMPLSOLVER_A=libamplsolver.a 79 msvc_compile=no 80 ;; 81 esac 82 AC_MSG_NOTICE([Configuring ASL to build $AMPLSOLVER_A.]) 72 if test "x$coin_cc_is_cl" = xtrue ; then 73 AMPLSOLVER_A=libamplsolver.lib 74 else 75 AMPLSOLVER_A=libamplsolver.a 76 fi 83 77 84 78 # Determine flags to be passed on the command line to (n)make. The main … … 122 116 [asladdcflags="$asladdcflags -DNO_LONG_LONG"],[]) 123 117 118 # Check for dlopen, ASL uses it to load userdefined function libraries 119 AC_CHECK_LIB(dl,[dlopen],[ASL_PCLIBS="-ldl $ASL_PCLIBS"]) 120 124 121 # Back to whatever language we were in. 125 122 AC_LANG_POP(C) … … 133 130 # Remove -Werror if present, to make sure we are not interrupting compilation 134 131 # of ASL because of warning messages. The cl equivalent is -WX. 132 # SV: Our buildsystem should never add these flags to the CFLAGS, so why bother checking for them? 133 # If the user added some, shouldn't we listen to it and not just remove them again? 135 134 bla= 136 if test x$msvc_compile = xyes; then135 if test "x$coin_cc_is_cl" = xtrue ; then 137 136 warnToErr="-WX" 138 137 else … … 144 143 fi 145 144 done 145 146 # Add -fPIC -DPIC if we actually build shared libraries 147 if test x$enable_shared != xno; then 148 asladdcflags="$asladdcflags -fPIC -DPIC" 149 fi 150 146 151 ASLMAKEFLAGS="CFLAGS=\"$bla $asladdcflags\"" 147 152 … … 159 164 # Limit GNU make to one thread. But remember that if we're building with 160 165 # cl, ultimately we're going to use nmake, which knows nothing of this. 161 if test x$msvc_compile = xno; then166 if test "x$coin_cc_is_cl" != xtrue ; then 162 167 rm -rf conftest.mak 163 168 ($am_make -v > conftest.grp) 2>&5 … … 173 178 AC_ARG_VAR(ASLMAKEFLAGS, [Compilation flags necessary for compiling the AMPL solver library]) 174 179 175 # Set automake conditional and generate the output files. 176 177 AM_CONDITIONAL(MSVC_COMPILE, test x$msvc_compile = xyes) 180 # generate the output files. 178 181 179 182 AC_CONFIG_FILES([Makefile])
Note: See TracChangeset
for help on using the changeset viewer.