Changeset 1411 for ThirdParty/ASL
- Timestamp:
- Sep 13, 2009 2:24:20 PM (12 years ago)
- Location:
- ThirdParty/ASL/trunk
- Files:
-
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/ASL/trunk/Makefile.am
r1388 r1411 17 17 libampl = $(AMPLSOLVER_A) 18 18 19 #if SKIPMAKE20 #alltargets =21 #else19 if SKIPMAKE 20 alltargets = 21 else 22 22 alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 23 #endif23 endif 24 24 25 25 all-local: $(alltargets) … … 35 35 stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl) 36 36 37 thirdpartylibdir = $(prefix)/lib/ThirdParty38 install-exec-local: $(libampl)39 test -z "$(DESTDIR)$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"40 $(install_sh_DATA) $(libampl) "$(DESTDIR)$(thirdpartylibdir)/$(libampl)"41 42 uninstall-local:43 rm -f $(DESTDIR)$(thirdpartylibdir)/$(libampl)44 45 addlibsdir = $(prefix)/share/doc/coin/ThirdParty/ASL46 addlibs_DATA = README asl_addlibs.txt47 48 thirdpartyincludedir = $(includedir)/coin/ThirdParty49 thirdpartyinclude_HEADERS = \50 solvers/asl.h solvers/asl_pfg.h solvers/asl_pfgh.h solvers/psinfo.h solvers/funcadd.h \51 solvers/nlp.h solvers/nlp2.h solvers/getstub.h solvers/opcode.hd solvers/r_opn.hd \52 stdio1.h arith.h53 54 37 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 55 38 -
ThirdParty/ASL/trunk/Makefile.in
r1388 r1411 28 28 # Documentation installation # 29 29 ######################################################################## 30 31 32 30 srcdir = @srcdir@ 33 31 top_srcdir = @top_srcdir@ … … 52 50 build_triplet = @build@ 53 51 host_triplet = @host@ 54 DIST_COMMON = README$(am__configure_deps) \52 DIST_COMMON = $(am__configure_deps) \ 55 53 $(srcdir)/../../BuildTools/Makemain.inc \ 56 54 $(srcdir)/../../config.guess $(srcdir)/../../config.sub \ 57 55 $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \ 58 56 $(srcdir)/../../missing $(srcdir)/Makefile.am \ 59 $(srcdir)/Makefile.in $(srcdir)/asl_addlibs.txt.in \ 60 $(srcdir)/compile_MS_ASL.in $(srcdir)/compile_Unix_ASL.in \ 61 $(thirdpartyinclude_HEADERS) $(top_srcdir)/configure 57 $(srcdir)/Makefile.in $(srcdir)/compile_MS_ASL.in \ 58 $(srcdir)/compile_Unix_ASL.in $(top_srcdir)/configure 62 59 @HAVE_EXTERNALS_TRUE@am__append_1 = Externals 63 60 @HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp … … 71 68 configure.lineno configure.status.lineno 72 69 mkinstalldirs = $(install_sh) -d 73 CONFIG_CLEAN_FILES = asl_addlibs.txtcompile_MS_ASL compile_Unix_ASL70 CONFIG_CLEAN_FILES = compile_MS_ASL compile_Unix_ASL 74 71 SOURCES = 75 72 DIST_SOURCES = 76 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;77 am__vpath_adj = case $$p in \78 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \79 *) f=$$p;; \80 esac;81 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;82 am__installdirs = "$(DESTDIR)$(addlibsdir)" \83 "$(DESTDIR)$(thirdpartyincludedir)"84 addlibsDATA_INSTALL = $(INSTALL_DATA)85 DATA = $(addlibs_DATA)86 thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER)87 HEADERS = $(thirdpartyinclude_HEADERS)88 ETAGS = etags89 CTAGS = ctags90 73 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 91 74 distdir = $(PACKAGE)-$(VERSION) … … 109 92 AMTAR = @AMTAR@ 110 93 AR = @AR@ 94 ASLLIB = @ASLLIB@ 111 95 ASLMAKEFLAGS = @ASLMAKEFLAGS@ 96 ASL_CPPFLAGS = @ASL_CPPFLAGS@ 112 97 AUTOCONF = @AUTOCONF@ 113 98 AUTOHEADER = @AUTOHEADER@ … … 120 105 CDEFS = @CDEFS@ 121 106 CFLAGS = @CFLAGS@ 107 COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@ 108 COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@ 122 109 CPP = @CPP@ 123 110 CPPFLAGS = @CPPFLAGS@ … … 158 145 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ 159 146 MAKEINFO = @MAKEINFO@ 147 MAKEOKFILE = @MAKEOKFILE@ 160 148 MPICC = @MPICC@ 161 149 MSVC_COMPILE_FALSE = @MSVC_COMPILE_FALSE@ … … 174 162 SET_MAKE = @SET_MAKE@ 175 163 SHELL = @SHELL@ 164 SKIPMAKE_FALSE = @SKIPMAKE_FALSE@ 165 SKIPMAKE_TRUE = @SKIPMAKE_TRUE@ 176 166 STRIP = @STRIP@ 177 167 VERSION = @VERSION@ … … 238 228 compdir = compdir 239 229 libampl = $(AMPLSOLVER_A) 240 241 #if SKIPMAKE 242 # alltargets = 243 #else 244 alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 245 thirdpartylibdir = $(prefix)/lib/ThirdParty 246 addlibsdir = $(prefix)/share/doc/coin/ThirdParty/ASL 247 addlibs_DATA = README asl_addlibs.txt 248 thirdpartyincludedir = $(includedir)/coin/ThirdParty 249 thirdpartyinclude_HEADERS = \ 250 solvers/asl.h solvers/asl_pfg.h solvers/asl_pfgh.h solvers/psinfo.h solvers/funcadd.h \ 251 solvers/nlp.h solvers/nlp2.h solvers/getstub.h solvers/opcode.hd solvers/r_opn.hd \ 252 stdio1.h arith.h 253 230 @SKIPMAKE_FALSE@alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 231 @SKIPMAKE_TRUE@alltargets = 254 232 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 255 233 … … 298 276 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 299 277 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 300 asl_addlibs.txt: $(top_builddir)/config.status $(srcdir)/asl_addlibs.txt.in301 cd $(top_builddir) && $(SHELL) ./config.status $@302 278 compile_MS_ASL: $(top_builddir)/config.status $(srcdir)/compile_MS_ASL.in 303 279 cd $(top_builddir) && $(SHELL) ./config.status $@ … … 314 290 -rm -f libtool 315 291 uninstall-info-am: 316 install-addlibsDATA: $(addlibs_DATA)317 @$(NORMAL_INSTALL)318 test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"319 @list='$(addlibs_DATA)'; for p in $$list; do \320 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \321 f=$(am__strip_dir) \322 echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \323 $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \324 done325 326 uninstall-addlibsDATA:327 @$(NORMAL_UNINSTALL)328 @list='$(addlibs_DATA)'; for p in $$list; do \329 f=$(am__strip_dir) \330 echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \331 rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \332 done333 install-thirdpartyincludeHEADERS: $(thirdpartyinclude_HEADERS)334 @$(NORMAL_INSTALL)335 test -z "$(thirdpartyincludedir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartyincludedir)"336 @list='$(thirdpartyinclude_HEADERS)'; for p in $$list; do \337 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \338 f=$(am__strip_dir) \339 echo " $(thirdpartyincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(thirdpartyincludedir)/$$f'"; \340 $(thirdpartyincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(thirdpartyincludedir)/$$f"; \341 done342 343 uninstall-thirdpartyincludeHEADERS:344 @$(NORMAL_UNINSTALL)345 @list='$(thirdpartyinclude_HEADERS)'; for p in $$list; do \346 f=$(am__strip_dir) \347 echo " rm -f '$(DESTDIR)$(thirdpartyincludedir)/$$f'"; \348 rm -f "$(DESTDIR)$(thirdpartyincludedir)/$$f"; \349 done350 351 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)352 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \353 unique=`for i in $$list; do \354 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \355 done | \356 $(AWK) ' { files[$$0] = 1; } \357 END { for (i in files) print i; }'`; \358 mkid -fID $$unique359 292 tags: TAGS 360 361 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 362 $(TAGS_FILES) $(LISP) 363 tags=; \ 364 here=`pwd`; \ 365 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 366 unique=`for i in $$list; do \ 367 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 368 done | \ 369 $(AWK) ' { files[$$0] = 1; } \ 370 END { for (i in files) print i; }'`; \ 371 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 372 test -n "$$unique" || unique=$$empty_fix; \ 373 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 374 $$tags $$unique; \ 375 fi 293 TAGS: 294 376 295 ctags: CTAGS 377 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 378 $(TAGS_FILES) $(LISP) 379 tags=; \ 380 here=`pwd`; \ 381 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 382 unique=`for i in $$list; do \ 383 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 384 done | \ 385 $(AWK) ' { files[$$0] = 1; } \ 386 END { for (i in files) print i; }'`; \ 387 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 388 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 389 $$tags $$unique 390 391 GTAGS: 392 here=`$(am__cd) $(top_builddir) && pwd` \ 393 && cd $(top_srcdir) \ 394 && gtags -i $(GTAGS_ARGS) $$here 395 396 distclean-tags: 397 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 296 CTAGS: 297 398 298 399 299 distdir: $(DISTFILES) 400 300 $(am__remove_distdir) 401 301 mkdir $(distdir) 402 $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools $(distdir)/solvers302 $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools 403 303 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 404 304 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ … … 526 426 check-am: all-am 527 427 check: check-am 528 all-am: Makefile $(DATA) $(HEADERS)all-local428 all-am: Makefile all-local 529 429 installdirs: 530 for dir in "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \531 test -z "$$dir" || $(mkdir_p) "$$dir"; \532 done533 430 install: install-am 534 431 install-exec: install-exec-am … … 564 461 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 565 462 -rm -f Makefile 566 distclean-am: clean-am distclean-generic distclean-libtool \ 567 distclean-tags 463 distclean-am: clean-am distclean-generic distclean-libtool 568 464 569 465 dvi: dvi-am … … 577 473 info-am: 578 474 579 install-data-am: install-addlibsDATA install-thirdpartyincludeHEADERS580 581 install-exec-am: install-exec-local475 install-data-am: 476 477 install-exec-am: 582 478 583 479 install-info: install-info-am … … 605 501 ps-am: 606 502 607 uninstall-am: uninstall-addlibsDATA uninstall-info-am uninstall-local \ 608 uninstall-thirdpartyincludeHEADERS 609 610 .PHONY: CTAGS GTAGS all all-am all-local am--refresh check check-am \ 611 clean clean-generic clean-libtool ctags dist dist-all \ 612 dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip distcheck \ 613 distclean distclean-generic distclean-libtool distclean-tags \ 614 distcleancheck distdir distuninstallcheck dvi dvi-am html \ 615 html-am info info-am install install-addlibsDATA install-am \ 616 install-data install-data-am install-exec install-exec-am \ 617 install-exec-local install-info install-info-am install-man \ 618 install-strip install-thirdpartyincludeHEADERS installcheck \ 619 installcheck-am installdirs maintainer-clean \ 620 maintainer-clean-generic mostlyclean mostlyclean-generic \ 621 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ 622 uninstall-addlibsDATA uninstall-am uninstall-info-am \ 623 uninstall-local uninstall-thirdpartyincludeHEADERS 624 625 #endif 503 uninstall-am: uninstall-info-am 504 505 .PHONY: all all-am all-local am--refresh check check-am clean \ 506 clean-generic clean-libtool dist dist-all dist-bzip2 dist-gzip \ 507 dist-shar dist-tarZ dist-zip distcheck distclean \ 508 distclean-generic distclean-libtool distcleancheck distdir \ 509 distuninstallcheck dvi dvi-am html html-am info info-am \ 510 install install-am install-data install-data-am install-exec \ 511 install-exec-am install-info install-info-am install-man \ 512 install-strip installcheck installcheck-am installdirs \ 513 maintainer-clean maintainer-clean-generic mostlyclean \ 514 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 515 uninstall uninstall-am uninstall-info-am 516 626 517 627 518 all-local: $(alltargets) … … 633 524 634 525 stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl) 635 install-exec-local: $(libampl)636 test -z "$(DESTDIR)$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"637 $(install_sh_DATA) $(libampl) "$(DESTDIR)$(thirdpartylibdir)/$(libampl)"638 639 uninstall-local:640 rm -f $(DESTDIR)$(thirdpartylibdir)/$(libampl)641 526 642 527 install-doc: $(DocFiles) -
ThirdParty/ASL/trunk/configure
r1388 r1411 10 10 # 11 11 # 12 # Copyright 2006 , 2007, 2009International Business Machines and others.12 # Copyright 2006 International Business Machines and others. 13 13 # All Rights Reserved. 14 14 # This file is part of the open source package Coin which is distributed … … 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 FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE EGREP LN_S 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 A MPLSOLVER_A ASLMAKEFLAGS MSVC_COMPILE_TRUE MSVC_COMPILE_FALSE LIBEXT VPATH_DISTCLEANFILES 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 FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE EGREP LN_S 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 ASLLIB ASL_CPPFLAGS COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE MAKEOKFILE SKIPMAKE_TRUE SKIPMAKE_FALSE AMPLSOLVER_A ASLMAKEFLAGS MSVC_COMPILE_TRUE MSVC_COMPILE_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 1088 1088 --with-tags[=TAGS] 1089 1089 include additional configurations [automatic] 1090 --with-asldir specify path to AMPL solver directory (or BUILD for 1091 compilation, or "no" for disabling AMPL) 1090 1092 1091 1093 Some influential environment variables: … … 1218 1220 1219 1221 1220 Copyright 2006 , 2007, 2009International Business Machines and others.1222 Copyright 2006 International Business Machines and others. 1221 1223 All Rights Reserved. 1222 1224 This file is part of the open source package Coin which is distributed … … 4735 4737 *-*-irix6*) 4736 4738 # Find out which ABI we are using. 4737 echo '#line 473 7"configure"' > conftest.$ac_ext4739 echo '#line 4739 "configure"' > conftest.$ac_ext 4738 4740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4739 4741 (eval $ac_compile) 2>&5 … … 6334 6336 6335 6337 # Provide some information about the compiler. 6336 echo "$as_me:633 6:" \6338 echo "$as_me:6338:" \ 6337 6339 "checking for Fortran 77 compiler version" >&5 6338 6340 ac_compiler=`set X $ac_compile; echo $2` … … 7401 7403 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7402 7404 -e 's:$: $lt_compiler_flag:'` 7403 (eval echo "\"\$as_me:740 3: $lt_compile\"" >&5)7405 (eval echo "\"\$as_me:7405: $lt_compile\"" >&5) 7404 7406 (eval "$lt_compile" 2>conftest.err) 7405 7407 ac_status=$? 7406 7408 cat conftest.err >&5 7407 echo "$as_me:740 7: \$? = $ac_status" >&57409 echo "$as_me:7409: \$? = $ac_status" >&5 7408 7410 if (exit $ac_status) && test -s "$ac_outfile"; then 7409 7411 # The compiler can only warn and ignore the option if not recognized … … 7669 7671 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7670 7672 -e 's:$: $lt_compiler_flag:'` 7671 (eval echo "\"\$as_me:767 1: $lt_compile\"" >&5)7673 (eval echo "\"\$as_me:7673: $lt_compile\"" >&5) 7672 7674 (eval "$lt_compile" 2>conftest.err) 7673 7675 ac_status=$? 7674 7676 cat conftest.err >&5 7675 echo "$as_me:767 5: \$? = $ac_status" >&57677 echo "$as_me:7677: \$? = $ac_status" >&5 7676 7678 if (exit $ac_status) && test -s "$ac_outfile"; then 7677 7679 # The compiler can only warn and ignore the option if not recognized … … 7773 7775 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7774 7776 -e 's:$: $lt_compiler_flag:'` 7775 (eval echo "\"\$as_me:777 5: $lt_compile\"" >&5)7777 (eval echo "\"\$as_me:7777: $lt_compile\"" >&5) 7776 7778 (eval "$lt_compile" 2>out/conftest.err) 7777 7779 ac_status=$? 7778 7780 cat out/conftest.err >&5 7779 echo "$as_me:77 79: \$? = $ac_status" >&57781 echo "$as_me:7781: \$? = $ac_status" >&5 7780 7782 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7781 7783 then … … 10118 10120 lt_status=$lt_dlunknown 10119 10121 cat > conftest.$ac_ext <<EOF 10120 #line 1012 0"configure"10122 #line 10122 "configure" 10121 10123 #include "confdefs.h" 10122 10124 … … 10218 10220 lt_status=$lt_dlunknown 10219 10221 cat > conftest.$ac_ext <<EOF 10220 #line 1022 0"configure"10222 #line 10222 "configure" 10221 10223 #include "confdefs.h" 10222 10224 … … 12562 12564 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12563 12565 -e 's:$: $lt_compiler_flag:'` 12564 (eval echo "\"\$as_me:1256 4: $lt_compile\"" >&5)12566 (eval echo "\"\$as_me:12566: $lt_compile\"" >&5) 12565 12567 (eval "$lt_compile" 2>conftest.err) 12566 12568 ac_status=$? 12567 12569 cat conftest.err >&5 12568 echo "$as_me:125 68: \$? = $ac_status" >&512570 echo "$as_me:12570: \$? = $ac_status" >&5 12569 12571 if (exit $ac_status) && test -s "$ac_outfile"; then 12570 12572 # The compiler can only warn and ignore the option if not recognized … … 12666 12668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12667 12669 -e 's:$: $lt_compiler_flag:'` 12668 (eval echo "\"\$as_me:126 68: $lt_compile\"" >&5)12670 (eval echo "\"\$as_me:12670: $lt_compile\"" >&5) 12669 12671 (eval "$lt_compile" 2>out/conftest.err) 12670 12672 ac_status=$? 12671 12673 cat out/conftest.err >&5 12672 echo "$as_me:1267 2: \$? = $ac_status" >&512674 echo "$as_me:12674: \$? = $ac_status" >&5 12673 12675 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12674 12676 then … … 14236 14238 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14237 14239 -e 's:$: $lt_compiler_flag:'` 14238 (eval echo "\"\$as_me:142 38: $lt_compile\"" >&5)14240 (eval echo "\"\$as_me:14240: $lt_compile\"" >&5) 14239 14241 (eval "$lt_compile" 2>conftest.err) 14240 14242 ac_status=$? 14241 14243 cat conftest.err >&5 14242 echo "$as_me:1424 2: \$? = $ac_status" >&514244 echo "$as_me:14244: \$? = $ac_status" >&5 14243 14245 if (exit $ac_status) && test -s "$ac_outfile"; then 14244 14246 # The compiler can only warn and ignore the option if not recognized … … 14340 14342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14341 14343 -e 's:$: $lt_compiler_flag:'` 14342 (eval echo "\"\$as_me:1434 2: $lt_compile\"" >&5)14344 (eval echo "\"\$as_me:14344: $lt_compile\"" >&5) 14343 14345 (eval "$lt_compile" 2>out/conftest.err) 14344 14346 ac_status=$? 14345 14347 cat out/conftest.err >&5 14346 echo "$as_me:1434 6: \$? = $ac_status" >&514348 echo "$as_me:14348: \$? = $ac_status" >&5 14347 14349 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14348 14350 then … … 16547 16549 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16548 16550 -e 's:$: $lt_compiler_flag:'` 16549 (eval echo "\"\$as_me:165 49: $lt_compile\"" >&5)16551 (eval echo "\"\$as_me:16551: $lt_compile\"" >&5) 16550 16552 (eval "$lt_compile" 2>conftest.err) 16551 16553 ac_status=$? 16552 16554 cat conftest.err >&5 16553 echo "$as_me:1655 3: \$? = $ac_status" >&516555 echo "$as_me:16555: \$? = $ac_status" >&5 16554 16556 if (exit $ac_status) && test -s "$ac_outfile"; then 16555 16557 # The compiler can only warn and ignore the option if not recognized … … 16815 16817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16816 16818 -e 's:$: $lt_compiler_flag:'` 16817 (eval echo "\"\$as_me:1681 7: $lt_compile\"" >&5)16819 (eval echo "\"\$as_me:16819: $lt_compile\"" >&5) 16818 16820 (eval "$lt_compile" 2>conftest.err) 16819 16821 ac_status=$? 16820 16822 cat conftest.err >&5 16821 echo "$as_me:1682 1: \$? = $ac_status" >&516823 echo "$as_me:16823: \$? = $ac_status" >&5 16822 16824 if (exit $ac_status) && test -s "$ac_outfile"; then 16823 16825 # The compiler can only warn and ignore the option if not recognized … … 16919 16921 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16920 16922 -e 's:$: $lt_compiler_flag:'` 16921 (eval echo "\"\$as_me:1692 1: $lt_compile\"" >&5)16923 (eval echo "\"\$as_me:16923: $lt_compile\"" >&5) 16922 16924 (eval "$lt_compile" 2>out/conftest.err) 16923 16925 ac_status=$? 16924 16926 cat out/conftest.err >&5 16925 echo "$as_me:1692 5: \$? = $ac_status" >&516927 echo "$as_me:16927: \$? = $ac_status" >&5 16926 16928 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16927 16929 then … … 19822 19824 19823 19825 # See what we're actually going to do for ASL. This will define ampllib. 19824 #AC_COIN_HAS_ASL 19826 coin_aslobjdir=../ThirdParty/ASL 19827 coin_aslsrcdir=$srcdir/$coin_aslobjdir 19825 19828 19826 19829 # Determine the name of the ASL library … … 19833 19836 19834 19837 19835 #MAKEOKFILE=.MakeOk 19836 #if test $coin_has_asl != no && test "$use_asldir" != BUILD; then 19837 # skip_further_test=yes 19838 # rm -f $MAKEOKFILE 19839 # AC_MSG_NOTICE([The ASL sources don't need to be compiled]) 19840 # MAKEOKFILE= 19841 #else 19842 # touch $MAKEOKFILE 19843 #fi 19844 #AC_SUBST(MAKEOKFILE) 19845 #AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE") 19838 # Check whether --with-asldir or --without-asldir was given. 19839 if test "${with_asldir+set}" = set; then 19840 withval="$with_asldir" 19841 use_asldir=$withval 19842 else 19843 use_asldir= 19844 fi; 19845 19846 if test "$use_asldir" = BUILD; then 19847 if test "$PACKAGE_NAME" != ThirdPartyASL; then 19848 # If we are configuring ThirdParty/ASL, don't check 19849 if test -r $coin_aslobjdir/.MakeOk; then :; else 19850 { { echo "$as_me:$LINENO: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&5 19851 echo "$as_me: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&2;} 19852 { (exit 1); exit 1; }; } 19853 fi 19854 fi 19855 elif test -z "$use_asldir"; then 19856 # try to find sources - if not given don't compile 19857 if test "$PACKAGE_NAME" != ThirdPartyASL; then 19858 if test -r $coin_aslobjdir/.MakeOk; then 19859 use_asldir=BUILD 19860 else 19861 use_asldir=no 19862 fi 19863 else 19864 use_asldir=no 19865 fi 19866 elif test "$use_asldir" != "no"; then 19867 if test -r $use_asldir/$ampllib; then 19868 19869 : 19870 else 19871 { { echo "$as_me:$LINENO: error: ASL directory \"$use_asldir\" specified, but library missing" >&5 19872 echo "$as_me: error: ASL directory \"$use_asldir\" specified, but library missing" >&2;} 19873 { (exit 1); exit 1; }; } 19874 : 19875 fi 19876 19877 if test -r $use_asldir/asl.h; then 19878 19879 : 19880 else 19881 { { echo "$as_me:$LINENO: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&5 19882 echo "$as_me: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&2;} 19883 { (exit 1); exit 1; }; } 19884 : 19885 fi 19886 19887 use_asldir=`cd $use_asldir; pwd` 19888 case $build in 19889 *-cygwin*) use_asldir=`cygpath -w $use_asldir | sed -e sX\\\\\\\\X/Xg` ;; 19890 esac 19891 fi 19892 19893 # Variable containing ASL library (including full path) 19894 19895 # Variable containing flags for including ASL header files 19896 19897 19898 if test "$use_asldir" = BUILD; then 19899 coin_aslobjdir=`cd $coin_aslobjdir; pwd` 19900 ASLLIB=`$CYGPATH_W $coin_aslobjdir/$ampllib | sed -e sX\\\\\\\\X/Xg` 19901 coin_aslsrcdir=`cd $coin_aslsrcdir; pwd` 19902 ASL_CPPFLAGS="-I"`$CYGPATH_W $coin_aslobjdir | sed -e sX\\\\\\\\X/Xg`" -I"`$CYGPATH_W $coin_aslsrcdir/solvers | sed -e sX\\\\\\\\X/Xg` 19903 elif test "$use_asldir" != no; then 19904 ASLLIB=`$CYGPATH_W $use_asldir/$ampllib | sed -e sX\\\\\\\\X/Xg` 19905 ASL_CPPFLAGS="-I"`$CYGPATH_W $use_asldir | sed -e sX\\\\\\\\X/Xg` 19906 fi 19907 19908 if test "$use_asldir" != no; then 19909 ac_ext=c 19910 ac_cpp='$CPP $CPPFLAGS' 19911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19913 ac_compiler_gnu=$ac_cv_c_compiler_gnu 19914 19915 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 19916 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 19917 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 19918 echo $ECHO_N "(cached) $ECHO_C" >&6 19919 else 19920 ac_check_lib_save_LIBS=$LIBS 19921 LIBS="-ldl $LIBS" 19922 cat >conftest.$ac_ext <<_ACEOF 19923 /* confdefs.h. */ 19924 _ACEOF 19925 cat confdefs.h >>conftest.$ac_ext 19926 cat >>conftest.$ac_ext <<_ACEOF 19927 /* end confdefs.h. */ 19928 19929 /* Override any gcc2 internal prototype to avoid an error. */ 19930 #ifdef __cplusplus 19931 extern "C" 19932 #endif 19933 /* We use char because int might match the return type of a gcc2 19934 builtin and then its argument prototype would still apply. */ 19935 char dlopen (); 19936 int 19937 main () 19938 { 19939 dlopen (); 19940 ; 19941 return 0; 19942 } 19943 _ACEOF 19944 rm -f conftest.$ac_objext conftest$ac_exeext 19945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19946 (eval $ac_link) 2>conftest.er1 19947 ac_status=$? 19948 grep -v '^ *+' conftest.er1 >conftest.err 19949 rm -f conftest.er1 19950 cat conftest.err >&5 19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19952 (exit $ac_status); } && 19953 { ac_try='test -z "$ac_c_werror_flag" 19954 || test ! -s conftest.err' 19955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19956 (eval $ac_try) 2>&5 19957 ac_status=$? 19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19959 (exit $ac_status); }; } && 19960 { ac_try='test -s conftest$ac_exeext' 19961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19962 (eval $ac_try) 2>&5 19963 ac_status=$? 19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19965 (exit $ac_status); }; }; then 19966 ac_cv_lib_dl_dlopen=yes 19967 else 19968 echo "$as_me: failed program was:" >&5 19969 sed 's/^/| /' conftest.$ac_ext >&5 19970 19971 ac_cv_lib_dl_dlopen=no 19972 fi 19973 rm -f conftest.err conftest.$ac_objext \ 19974 conftest$ac_exeext conftest.$ac_ext 19975 LIBS=$ac_check_lib_save_LIBS 19976 fi 19977 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 19978 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 19979 if test $ac_cv_lib_dl_dlopen = yes; then 19980 ASLLIB="$ASLLIB -ldl" 19981 fi 19982 19983 coin_has_asl=yes 19984 19985 cat >>confdefs.h <<\_ACEOF 19986 #define COIN_HAS_ASL 1 19987 _ACEOF 19988 19989 ac_ext=c 19990 ac_cpp='$CPP $CPPFLAGS' 19991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19993 ac_compiler_gnu=$ac_cv_c_compiler_gnu 19994 19995 else 19996 coin_has_asl=no 19997 fi 19998 19999 20000 if test $coin_has_asl = yes; then 20001 COIN_HAS_ASL_TRUE= 20002 COIN_HAS_ASL_FALSE='#' 20003 else 20004 COIN_HAS_ASL_TRUE='#' 20005 COIN_HAS_ASL_FALSE= 20006 fi 20007 20008 20009 20010 MAKEOKFILE=.MakeOk 20011 if test $coin_has_asl != no && test "$use_asldir" != BUILD; then 20012 skip_further_test=yes 20013 rm -f $MAKEOKFILE 20014 { echo "$as_me:$LINENO: The ASL sources don't need to be compiled" >&5 20015 echo "$as_me: The ASL sources don't need to be compiled" >&6;} 20016 MAKEOKFILE= 20017 else 20018 touch $MAKEOKFILE 20019 fi 20020 20021 20022 20023 if test -z "$MAKEOKFILE"; then 20024 SKIPMAKE_TRUE= 20025 SKIPMAKE_FALSE='#' 20026 else 20027 SKIPMAKE_TRUE='#' 20028 SKIPMAKE_FALSE= 20029 fi 20030 19846 20031 19847 20032 ############################################################################# … … 20094 20279 20095 20280 20096 ac_config_files="$ac_config_files Makefile asl_addlibs.txt"20281 ac_config_files="$ac_config_files Makefile" 20097 20282 20098 20283 ac_config_files="$ac_config_files compile_MS_ASL" … … 20319 20504 Usually this means the macro was only invoked conditionally." >&5 20320 20505 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 20506 Usually this means the macro was only invoked conditionally." >&2;} 20507 { (exit 1); exit 1; }; } 20508 fi 20509 if test -z "${COIN_HAS_ASL_TRUE}" && test -z "${COIN_HAS_ASL_FALSE}"; then 20510 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ASL\" was never defined. 20511 Usually this means the macro was only invoked conditionally." >&5 20512 echo "$as_me: error: conditional \"COIN_HAS_ASL\" was never defined. 20513 Usually this means the macro was only invoked conditionally." >&2;} 20514 { (exit 1); exit 1; }; } 20515 fi 20516 if test -z "${SKIPMAKE_TRUE}" && test -z "${SKIPMAKE_FALSE}"; then 20517 { { echo "$as_me:$LINENO: error: conditional \"SKIPMAKE\" was never defined. 20518 Usually this means the macro was only invoked conditionally." >&5 20519 echo "$as_me: error: conditional \"SKIPMAKE\" was never defined. 20321 20520 Usually this means the macro was only invoked conditionally." >&2;} 20322 20521 { (exit 1); exit 1; }; } … … 20769 20968 # Handling of arguments. 20770 20969 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 20771 "asl_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES asl_addlibs.txt" ;;20772 20970 "compile_MS_ASL" ) CONFIG_FILES="$CONFIG_FILES compile_MS_ASL" ;; 20773 20971 "compile_Unix_ASL" ) CONFIG_FILES="$CONFIG_FILES compile_Unix_ASL" ;; … … 20951 21149 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t 20952 21150 s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t 21151 s,@ASLLIB@,$ASLLIB,;t t 21152 s,@ASL_CPPFLAGS@,$ASL_CPPFLAGS,;t t 21153 s,@COIN_HAS_ASL_TRUE@,$COIN_HAS_ASL_TRUE,;t t 21154 s,@COIN_HAS_ASL_FALSE@,$COIN_HAS_ASL_FALSE,;t t 21155 s,@MAKEOKFILE@,$MAKEOKFILE,;t t 21156 s,@SKIPMAKE_TRUE@,$SKIPMAKE_TRUE,;t t 21157 s,@SKIPMAKE_FALSE@,$SKIPMAKE_FALSE,;t t 20953 21158 s,@AMPLSOLVER_A@,$AMPLSOLVER_A,;t t 20954 21159 s,@ASLMAKEFLAGS@,$ASLMAKEFLAGS,;t t -
ThirdParty/ASL/trunk/configure.ac
r1388 r1411 1 # Copyright (C) 2007 , 2009International Business Machines.1 # Copyright (C) 2007 International Business Machines. 2 2 # All Rights Reserved. 3 3 # This file is distributed under the Common Public License. … … 17 17 18 18 AC_COPYRIGHT([ 19 Copyright 2006 , 2007, 2009International Business Machines and others.19 Copyright 2006 International Business Machines and others. 20 20 All Rights Reserved. 21 21 This file is part of the open source package Coin which is distributed … … 60 60 61 61 # See what we're actually going to do for ASL. This will define ampllib. 62 #AC_COIN_HAS_ASL 63 64 # Determine the name of the ASL library 65 case "$CC" in 66 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 67 ampllib=amplsolv.lib ;; 68 *) 69 ampllib=amplsolver.a ;; 70 esac 71 72 73 #MAKEOKFILE=.MakeOk 74 #if test $coin_has_asl != no && test "$use_asldir" != BUILD; then 75 # skip_further_test=yes 76 # rm -f $MAKEOKFILE 77 # AC_MSG_NOTICE([The ASL sources don't need to be compiled]) 78 # MAKEOKFILE= 79 #else 80 # touch $MAKEOKFILE 81 #fi 82 #AC_SUBST(MAKEOKFILE) 83 #AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE") 62 AC_COIN_HAS_ASL 63 64 MAKEOKFILE=.MakeOk 65 if test $coin_has_asl != no && test "$use_asldir" != BUILD; then 66 skip_further_test=yes 67 rm -f $MAKEOKFILE 68 AC_MSG_NOTICE([The ASL sources don't need to be compiled]) 69 MAKEOKFILE= 70 else 71 touch $MAKEOKFILE 72 fi 73 AC_SUBST(MAKEOKFILE) 74 AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE") 84 75 85 76 ############################################################################# … … 207 198 AM_CONDITIONAL(MSVC_COMPILE, test x$msvc_compile = xyes) 208 199 209 AC_CONFIG_FILES([Makefile asl_addlibs.txt])200 AC_CONFIG_FILES([Makefile]) 210 201 AC_CONFIG_FILES([compile_MS_ASL],[chmod a+x compile_MS_ASL]) 211 202 AC_CONFIG_FILES([compile_Unix_ASL],[chmod a+x compile_Unix_ASL])
Note: See TracChangeset
for help on using the changeset viewer.