Changeset 1388 for ThirdParty/ASL
- Timestamp:
- Aug 1, 2009 9:12:40 AM (10 years ago)
- Location:
- ThirdParty/ASL/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/ASL/trunk/Makefile.am
r1183 r1388 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/ThirdParty 38 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/ASL 46 addlibs_DATA = README asl_addlibs.txt 47 48 thirdpartyincludedir = $(includedir)/coin/ThirdParty 49 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.h 53 37 54 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 38 55 -
ThirdParty/ASL/trunk/Makefile.in
r1183 r1388 28 28 # Documentation installation # 29 29 ######################################################################## 30 31 30 32 srcdir = @srcdir@ 31 33 top_srcdir = @top_srcdir@ … … 50 52 build_triplet = @build@ 51 53 host_triplet = @host@ 52 DIST_COMMON = $(am__configure_deps) \54 DIST_COMMON = README $(am__configure_deps) \ 53 55 $(srcdir)/../../BuildTools/Makemain.inc \ 54 56 $(srcdir)/../../config.guess $(srcdir)/../../config.sub \ 55 57 $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \ 56 58 $(srcdir)/../../missing $(srcdir)/Makefile.am \ 57 $(srcdir)/Makefile.in $(srcdir)/compile_MS_ASL.in \ 58 $(srcdir)/compile_Unix_ASL.in $(top_srcdir)/configure 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 59 62 @HAVE_EXTERNALS_TRUE@am__append_1 = Externals 60 63 @HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp … … 68 71 configure.lineno configure.status.lineno 69 72 mkinstalldirs = $(install_sh) -d 70 CONFIG_CLEAN_FILES = compile_MS_ASL compile_Unix_ASL73 CONFIG_CLEAN_FILES = asl_addlibs.txt compile_MS_ASL compile_Unix_ASL 71 74 SOURCES = 72 75 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 = etags 89 CTAGS = ctags 73 90 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 74 91 distdir = $(PACKAGE)-$(VERSION) … … 92 109 AMTAR = @AMTAR@ 93 110 AR = @AR@ 94 ASLLIB = @ASLLIB@95 111 ASLMAKEFLAGS = @ASLMAKEFLAGS@ 96 ASL_CPPFLAGS = @ASL_CPPFLAGS@97 112 AUTOCONF = @AUTOCONF@ 98 113 AUTOHEADER = @AUTOHEADER@ … … 105 120 CDEFS = @CDEFS@ 106 121 CFLAGS = @CFLAGS@ 107 COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@108 COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@109 122 CPP = @CPP@ 110 123 CPPFLAGS = @CPPFLAGS@ … … 145 158 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ 146 159 MAKEINFO = @MAKEINFO@ 147 MAKEOKFILE = @MAKEOKFILE@148 160 MPICC = @MPICC@ 149 161 MSVC_COMPILE_FALSE = @MSVC_COMPILE_FALSE@ … … 162 174 SET_MAKE = @SET_MAKE@ 163 175 SHELL = @SHELL@ 164 SKIPMAKE_FALSE = @SKIPMAKE_FALSE@165 SKIPMAKE_TRUE = @SKIPMAKE_TRUE@166 176 STRIP = @STRIP@ 167 177 VERSION = @VERSION@ … … 228 238 compdir = compdir 229 239 libampl = $(AMPLSOLVER_A) 230 @SKIPMAKE_FALSE@alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 231 @SKIPMAKE_TRUE@alltargets = 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 232 254 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 233 255 … … 276 298 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 277 299 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 300 asl_addlibs.txt: $(top_builddir)/config.status $(srcdir)/asl_addlibs.txt.in 301 cd $(top_builddir) && $(SHELL) ./config.status $@ 278 302 compile_MS_ASL: $(top_builddir)/config.status $(srcdir)/compile_MS_ASL.in 279 303 cd $(top_builddir) && $(SHELL) ./config.status $@ … … 290 314 -rm -f libtool 291 315 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 done 325 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 done 333 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 done 342 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 done 350 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 $$unique 292 359 tags: TAGS 293 TAGS: 294 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 295 376 ctags: CTAGS 296 CTAGS: 297 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 298 398 299 399 distdir: $(DISTFILES) 300 400 $(am__remove_distdir) 301 401 mkdir $(distdir) 302 $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools 402 $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools $(distdir)/solvers 303 403 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 304 404 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ … … 426 526 check-am: all-am 427 527 check: check-am 428 all-am: Makefile all-local528 all-am: Makefile $(DATA) $(HEADERS) all-local 429 529 installdirs: 530 for dir in "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \ 531 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 532 done 430 533 install: install-am 431 534 install-exec: install-exec-am … … 461 564 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 462 565 -rm -f Makefile 463 distclean-am: clean-am distclean-generic distclean-libtool 566 distclean-am: clean-am distclean-generic distclean-libtool \ 567 distclean-tags 464 568 465 569 dvi: dvi-am … … 473 577 info-am: 474 578 475 install-data-am: 476 477 install-exec-am: 579 install-data-am: install-addlibsDATA install-thirdpartyincludeHEADERS 580 581 install-exec-am: install-exec-local 478 582 479 583 install-info: install-info-am … … 501 605 ps-am: 502 606 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 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 517 626 518 627 all-local: $(alltargets) … … 524 633 525 634 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) 526 641 527 642 install-doc: $(DocFiles) -
ThirdParty/ASL/trunk/configure
r1386 r1388 10 10 # 11 11 # 12 # Copyright 2006 International Business Machines and others.12 # Copyright 2006, 2007, 2009 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 SLLIB 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'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 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 for1091 compilation, or "no" for disabling AMPL)1092 1090 1093 1091 Some influential environment variables: … … 1220 1218 1221 1219 1222 Copyright 2006 International Business Machines and others.1220 Copyright 2006, 2007, 2009 International Business Machines and others. 1223 1221 All Rights Reserved. 1224 1222 This file is part of the open source package Coin which is distributed … … 4737 4735 *-*-irix6*) 4738 4736 # Find out which ABI we are using. 4739 echo '#line 473 9"configure"' > conftest.$ac_ext4737 echo '#line 4737 "configure"' > conftest.$ac_ext 4740 4738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4741 4739 (eval $ac_compile) 2>&5 … … 6336 6334 6337 6335 # Provide some information about the compiler. 6338 echo "$as_me:633 8:" \6336 echo "$as_me:6336:" \ 6339 6337 "checking for Fortran 77 compiler version" >&5 6340 6338 ac_compiler=`set X $ac_compile; echo $2` … … 7403 7401 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7404 7402 -e 's:$: $lt_compiler_flag:'` 7405 (eval echo "\"\$as_me:740 5: $lt_compile\"" >&5)7403 (eval echo "\"\$as_me:7403: $lt_compile\"" >&5) 7406 7404 (eval "$lt_compile" 2>conftest.err) 7407 7405 ac_status=$? 7408 7406 cat conftest.err >&5 7409 echo "$as_me:740 9: \$? = $ac_status" >&57407 echo "$as_me:7407: \$? = $ac_status" >&5 7410 7408 if (exit $ac_status) && test -s "$ac_outfile"; then 7411 7409 # The compiler can only warn and ignore the option if not recognized … … 7671 7669 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7672 7670 -e 's:$: $lt_compiler_flag:'` 7673 (eval echo "\"\$as_me:767 3: $lt_compile\"" >&5)7671 (eval echo "\"\$as_me:7671: $lt_compile\"" >&5) 7674 7672 (eval "$lt_compile" 2>conftest.err) 7675 7673 ac_status=$? 7676 7674 cat conftest.err >&5 7677 echo "$as_me:767 7: \$? = $ac_status" >&57675 echo "$as_me:7675: \$? = $ac_status" >&5 7678 7676 if (exit $ac_status) && test -s "$ac_outfile"; then 7679 7677 # The compiler can only warn and ignore the option if not recognized … … 7775 7773 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7776 7774 -e 's:$: $lt_compiler_flag:'` 7777 (eval echo "\"\$as_me:777 7: $lt_compile\"" >&5)7775 (eval echo "\"\$as_me:7775: $lt_compile\"" >&5) 7778 7776 (eval "$lt_compile" 2>out/conftest.err) 7779 7777 ac_status=$? 7780 7778 cat out/conftest.err >&5 7781 echo "$as_me:77 81: \$? = $ac_status" >&57779 echo "$as_me:7779: \$? = $ac_status" >&5 7782 7780 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7783 7781 then … … 10120 10118 lt_status=$lt_dlunknown 10121 10119 cat > conftest.$ac_ext <<EOF 10122 #line 1012 2"configure"10120 #line 10120 "configure" 10123 10121 #include "confdefs.h" 10124 10122 … … 10220 10218 lt_status=$lt_dlunknown 10221 10219 cat > conftest.$ac_ext <<EOF 10222 #line 1022 2"configure"10220 #line 10220 "configure" 10223 10221 #include "confdefs.h" 10224 10222 … … 12564 12562 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12565 12563 -e 's:$: $lt_compiler_flag:'` 12566 (eval echo "\"\$as_me:1256 6: $lt_compile\"" >&5)12564 (eval echo "\"\$as_me:12564: $lt_compile\"" >&5) 12567 12565 (eval "$lt_compile" 2>conftest.err) 12568 12566 ac_status=$? 12569 12567 cat conftest.err >&5 12570 echo "$as_me:125 70: \$? = $ac_status" >&512568 echo "$as_me:12568: \$? = $ac_status" >&5 12571 12569 if (exit $ac_status) && test -s "$ac_outfile"; then 12572 12570 # The compiler can only warn and ignore the option if not recognized … … 12668 12666 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12669 12667 -e 's:$: $lt_compiler_flag:'` 12670 (eval echo "\"\$as_me:126 70: $lt_compile\"" >&5)12668 (eval echo "\"\$as_me:12668: $lt_compile\"" >&5) 12671 12669 (eval "$lt_compile" 2>out/conftest.err) 12672 12670 ac_status=$? 12673 12671 cat out/conftest.err >&5 12674 echo "$as_me:1267 4: \$? = $ac_status" >&512672 echo "$as_me:12672: \$? = $ac_status" >&5 12675 12673 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12676 12674 then … … 14238 14236 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14239 14237 -e 's:$: $lt_compiler_flag:'` 14240 (eval echo "\"\$as_me:142 40: $lt_compile\"" >&5)14238 (eval echo "\"\$as_me:14238: $lt_compile\"" >&5) 14241 14239 (eval "$lt_compile" 2>conftest.err) 14242 14240 ac_status=$? 14243 14241 cat conftest.err >&5 14244 echo "$as_me:1424 4: \$? = $ac_status" >&514242 echo "$as_me:14242: \$? = $ac_status" >&5 14245 14243 if (exit $ac_status) && test -s "$ac_outfile"; then 14246 14244 # The compiler can only warn and ignore the option if not recognized … … 14342 14340 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14343 14341 -e 's:$: $lt_compiler_flag:'` 14344 (eval echo "\"\$as_me:1434 4: $lt_compile\"" >&5)14342 (eval echo "\"\$as_me:14342: $lt_compile\"" >&5) 14345 14343 (eval "$lt_compile" 2>out/conftest.err) 14346 14344 ac_status=$? 14347 14345 cat out/conftest.err >&5 14348 echo "$as_me:1434 8: \$? = $ac_status" >&514346 echo "$as_me:14346: \$? = $ac_status" >&5 14349 14347 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14350 14348 then … … 16549 16547 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16550 16548 -e 's:$: $lt_compiler_flag:'` 16551 (eval echo "\"\$as_me:165 51: $lt_compile\"" >&5)16549 (eval echo "\"\$as_me:16549: $lt_compile\"" >&5) 16552 16550 (eval "$lt_compile" 2>conftest.err) 16553 16551 ac_status=$? 16554 16552 cat conftest.err >&5 16555 echo "$as_me:1655 5: \$? = $ac_status" >&516553 echo "$as_me:16553: \$? = $ac_status" >&5 16556 16554 if (exit $ac_status) && test -s "$ac_outfile"; then 16557 16555 # The compiler can only warn and ignore the option if not recognized … … 16817 16815 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16818 16816 -e 's:$: $lt_compiler_flag:'` 16819 (eval echo "\"\$as_me:1681 9: $lt_compile\"" >&5)16817 (eval echo "\"\$as_me:16817: $lt_compile\"" >&5) 16820 16818 (eval "$lt_compile" 2>conftest.err) 16821 16819 ac_status=$? 16822 16820 cat conftest.err >&5 16823 echo "$as_me:1682 3: \$? = $ac_status" >&516821 echo "$as_me:16821: \$? = $ac_status" >&5 16824 16822 if (exit $ac_status) && test -s "$ac_outfile"; then 16825 16823 # The compiler can only warn and ignore the option if not recognized … … 16921 16919 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16922 16920 -e 's:$: $lt_compiler_flag:'` 16923 (eval echo "\"\$as_me:1692 3: $lt_compile\"" >&5)16921 (eval echo "\"\$as_me:16921: $lt_compile\"" >&5) 16924 16922 (eval "$lt_compile" 2>out/conftest.err) 16925 16923 ac_status=$? 16926 16924 cat out/conftest.err >&5 16927 echo "$as_me:1692 7: \$? = $ac_status" >&516925 echo "$as_me:16925: \$? = $ac_status" >&5 16928 16926 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16929 16927 then … … 19824 19822 19825 19823 # See what we're actually going to do for ASL. This will define ampllib. 19826 coin_aslobjdir=../ThirdParty/ASL 19827 coin_aslsrcdir=$srcdir/$coin_aslobjdir 19824 #AC_COIN_HAS_ASL 19828 19825 19829 19826 # Determine the name of the ASL library … … 19836 19833 19837 19834 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 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") 20031 19846 20032 19847 ############################################################################# … … 20279 20094 20280 20095 20281 ac_config_files="$ac_config_files Makefile"20096 ac_config_files="$ac_config_files Makefile asl_addlibs.txt" 20282 20097 20283 20098 ac_config_files="$ac_config_files compile_MS_ASL" … … 20504 20319 Usually this means the macro was only invoked conditionally." >&5 20505 20320 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 fi20509 if test -z "${COIN_HAS_ASL_TRUE}" && test -z "${COIN_HAS_ASL_FALSE}"; then20510 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ASL\" was never defined.20511 Usually this means the macro was only invoked conditionally." >&520512 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 fi20516 if test -z "${SKIPMAKE_TRUE}" && test -z "${SKIPMAKE_FALSE}"; then20517 { { echo "$as_me:$LINENO: error: conditional \"SKIPMAKE\" was never defined.20518 Usually this means the macro was only invoked conditionally." >&520519 echo "$as_me: error: conditional \"SKIPMAKE\" was never defined.20520 20321 Usually this means the macro was only invoked conditionally." >&2;} 20521 20322 { (exit 1); exit 1; }; } … … 20968 20769 # Handling of arguments. 20969 20770 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 20771 "asl_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES asl_addlibs.txt" ;; 20970 20772 "compile_MS_ASL" ) CONFIG_FILES="$CONFIG_FILES compile_MS_ASL" ;; 20971 20773 "compile_Unix_ASL" ) CONFIG_FILES="$CONFIG_FILES compile_Unix_ASL" ;; … … 21149 20951 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t 21150 20952 s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t 21151 s,@ASLLIB@,$ASLLIB,;t t21152 s,@ASL_CPPFLAGS@,$ASL_CPPFLAGS,;t t21153 s,@COIN_HAS_ASL_TRUE@,$COIN_HAS_ASL_TRUE,;t t21154 s,@COIN_HAS_ASL_FALSE@,$COIN_HAS_ASL_FALSE,;t t21155 s,@MAKEOKFILE@,$MAKEOKFILE,;t t21156 s,@SKIPMAKE_TRUE@,$SKIPMAKE_TRUE,;t t21157 s,@SKIPMAKE_FALSE@,$SKIPMAKE_FALSE,;t t21158 20953 s,@AMPLSOLVER_A@,$AMPLSOLVER_A,;t t 21159 20954 s,@ASLMAKEFLAGS@,$ASLMAKEFLAGS,;t t -
ThirdParty/ASL/trunk/configure.ac
r1183 r1388 1 # Copyright (C) 2007 International Business Machines.1 # Copyright (C) 2007, 2009 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 International Business Machines and others.19 Copyright 2006, 2007, 2009 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 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") 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") 75 84 76 85 ############################################################################# … … 198 207 AM_CONDITIONAL(MSVC_COMPILE, test x$msvc_compile = xyes) 199 208 200 AC_CONFIG_FILES([Makefile ])209 AC_CONFIG_FILES([Makefile asl_addlibs.txt]) 201 210 AC_CONFIG_FILES([compile_MS_ASL],[chmod a+x compile_MS_ASL]) 202 211 AC_CONFIG_FILES([compile_Unix_ASL],[chmod a+x compile_Unix_ASL])
Note: See TracChangeset
for help on using the changeset viewer.