Changeset 1539 for ThirdParty/ASL/branches
- Timestamp:
- Apr 30, 2010 11:02:15 AM (11 years ago)
- Location:
- ThirdParty/ASL/branches/split
- Files:
-
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/ASL/branches/split/Makefile.am
r1469 r1539 17 17 libampl = $(AMPLSOLVER_A) 18 18 19 #if SKIPMAKE 20 # alltargets = 21 #else 22 alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 23 #endif 19 alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 24 20 25 21 all-local: $(alltargets) … … 35 31 stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl) 36 32 37 thirdpartylibdir = $(libdir)/coin/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 = $(datadir)/coin/doc/ThirdParty/ASL46 addlibs_DATA = README asl_addlibs.txt47 48 33 thirdpartyincludedir = $(includedir)/coin/ThirdParty 49 34 thirdpartyinclude_HEADERS = \ … … 52 37 stdio1.h arith.h 53 38 39 thirdpartylibdir = $(libdir)/coin/ThirdParty 40 thirdpartylib_DATA = $(libampl) 41 42 if COIN_HAS_PKGCONFIG 43 addlibsdir = $(datadir)/coin/doc/ThirdParty/ASL 44 addlibs_DATA = asl_addlibs.txt 45 46 asl_addlibs.txt : coinasl.pc 47 PKG_CONFIG_PATH=.:$(libdir)/pkgconfig:${PKG_CONFIG_PATH} $(PKG_CONFIG) --libs coinasl > asl_addlibs.txt 48 endif 49 54 50 pkgconfiglibdir = $(libdir)/pkgconfig 55 51 pkgconfiglib_DATA = coinasl.pc 56 52 57 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 53 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) asl_addlibs.txt 58 54 59 55 ######################################################################## -
ThirdParty/ASL/branches/split/Makefile.in
r1490 r1539 52 52 build_triplet = @build@ 53 53 host_triplet = @host@ 54 DIST_COMMON = README$(am__configure_deps) \54 DIST_COMMON = $(am__configure_deps) \ 55 55 $(srcdir)/../../BuildTools/Makemain.inc \ 56 56 $(srcdir)/../../config.guess $(srcdir)/../../config.sub \ 57 57 $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \ 58 58 $(srcdir)/../../missing $(srcdir)/Makefile.am \ 59 $(srcdir)/Makefile.in $(srcdir)/ asl_addlibs.txt.in \60 $(srcdir)/coinasl -uninstalled.pc.in $(srcdir)/coinasl.pc.in \61 $(srcdir)/compile_ MS_ASL.in $(srcdir)/compile_Unix_ASL.in\62 $(t hirdpartyinclude_HEADERS) $(top_srcdir)/configure59 $(srcdir)/Makefile.in $(srcdir)/coinasl-uninstalled.pc.in \ 60 $(srcdir)/coinasl.pc.in $(srcdir)/compile_MS_ASL.in \ 61 $(srcdir)/compile_Unix_ASL.in $(thirdpartyinclude_HEADERS) \ 62 $(top_srcdir)/configure 63 63 @HAVE_EXTERNALS_TRUE@am__append_1 = Externals 64 64 @HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp … … 72 72 configure.lineno configure.status.lineno 73 73 mkinstalldirs = $(install_sh) -d 74 CONFIG_CLEAN_FILES = asl_addlibs.txt compile_MS_ASL compile_Unix_ASL\75 coinasl .pc coinasl-uninstalled.pc74 CONFIG_CLEAN_FILES = compile_MS_ASL compile_Unix_ASL coinasl.pc \ 75 coinasl-uninstalled.pc 76 76 SOURCES = 77 77 DIST_SOURCES = … … 83 83 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; 84 84 am__installdirs = "$(DESTDIR)$(addlibsdir)" \ 85 "$(DESTDIR)$(pkgconfiglibdir)" \85 "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(thirdpartylibdir)" \ 86 86 "$(DESTDIR)$(thirdpartyincludedir)" 87 87 addlibsDATA_INSTALL = $(INSTALL_DATA) 88 88 pkgconfiglibDATA_INSTALL = $(INSTALL_DATA) 89 DATA = $(addlibs_DATA) $(pkgconfiglib_DATA) 89 thirdpartylibDATA_INSTALL = $(INSTALL_DATA) 90 DATA = $(addlibs_DATA) $(pkgconfiglib_DATA) $(thirdpartylib_DATA) 90 91 thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER) 91 92 HEADERS = $(thirdpartyinclude_HEADERS) … … 127 128 CDEFS = @CDEFS@ 128 129 CFLAGS = @CFLAGS@ 130 COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@ 131 COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@ 129 132 CPP = @CPP@ 130 133 CPPFLAGS = @CPPFLAGS@ … … 177 180 PACKAGE_VERSION = @PACKAGE_VERSION@ 178 181 PATH_SEPARATOR = @PATH_SEPARATOR@ 182 PKG_CONFIG = @PKG_CONFIG@ 179 183 RANLIB = @RANLIB@ 180 184 RPATH_FLAGS = @RPATH_FLAGS@ … … 196 200 ac_ct_STRIP = @ac_ct_STRIP@ 197 201 ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@ 202 ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ 198 203 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 199 204 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ … … 245 250 compdir = compdir 246 251 libampl = $(AMPLSOLVER_A) 247 248 #if SKIPMAKE249 # alltargets =250 #else251 252 alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 252 thirdpartylibdir = $(libdir)/coin/ThirdParty253 addlibsdir = $(datadir)/coin/doc/ThirdParty/ASL254 addlibs_DATA = README asl_addlibs.txt255 253 thirdpartyincludedir = $(includedir)/coin/ThirdParty 256 254 thirdpartyinclude_HEADERS = \ … … 259 257 stdio1.h arith.h 260 258 259 thirdpartylibdir = $(libdir)/coin/ThirdParty 260 thirdpartylib_DATA = $(libampl) 261 @COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(datadir)/coin/doc/ThirdParty/ASL 262 @COIN_HAS_PKGCONFIG_TRUE@addlibs_DATA = asl_addlibs.txt 261 263 pkgconfiglibdir = $(libdir)/pkgconfig 262 264 pkgconfiglib_DATA = coinasl.pc 263 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) 265 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) asl_addlibs.txt 264 266 265 267 ######################################################################## … … 307 309 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 308 310 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 309 asl_addlibs.txt: $(top_builddir)/config.status $(srcdir)/asl_addlibs.txt.in310 cd $(top_builddir) && $(SHELL) ./config.status $@311 311 compile_MS_ASL: $(top_builddir)/config.status $(srcdir)/compile_MS_ASL.in 312 312 cd $(top_builddir) && $(SHELL) ./config.status $@ … … 360 360 echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \ 361 361 rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \ 362 done 363 install-thirdpartylibDATA: $(thirdpartylib_DATA) 364 @$(NORMAL_INSTALL) 365 test -z "$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)" 366 @list='$(thirdpartylib_DATA)'; for p in $$list; do \ 367 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 368 f=$(am__strip_dir) \ 369 echo " $(thirdpartylibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \ 370 $(thirdpartylibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(thirdpartylibdir)/$$f"; \ 371 done 372 373 uninstall-thirdpartylibDATA: 374 @$(NORMAL_UNINSTALL) 375 @list='$(thirdpartylib_DATA)'; for p in $$list; do \ 376 f=$(am__strip_dir) \ 377 echo " rm -f '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \ 378 rm -f "$(DESTDIR)$(thirdpartylibdir)/$$f"; \ 362 379 done 363 380 install-thirdpartyincludeHEADERS: $(thirdpartyinclude_HEADERS) … … 558 575 all-am: Makefile $(DATA) $(HEADERS) all-local 559 576 installdirs: 560 for dir in "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(thirdparty includedir)"; do \577 for dir in "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \ 561 578 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 562 579 done … … 608 625 609 626 install-data-am: install-addlibsDATA install-pkgconfiglibDATA \ 610 install-thirdpartyincludeHEADERS 611 612 install-exec-am: install-exec-local627 install-thirdpartyincludeHEADERS install-thirdpartylibDATA 628 629 install-exec-am: 613 630 614 631 install-info: install-info-am … … 636 653 ps-am: 637 654 638 uninstall-am: uninstall-addlibsDATA uninstall-info-am uninstall-local \ 639 uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS 655 uninstall-am: uninstall-addlibsDATA uninstall-info-am \ 656 uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS \ 657 uninstall-thirdpartylibDATA 640 658 641 659 .PHONY: CTAGS GTAGS all all-am all-local am--refresh check check-am \ … … 646 664 html-am info info-am install install-addlibsDATA install-am \ 647 665 install-data install-data-am install-exec install-exec-am \ 648 install- exec-local install-info install-info-am install-man \666 install-info install-info-am install-man \ 649 667 install-pkgconfiglibDATA install-strip \ 650 install-thirdpartyincludeHEADERS install check installcheck-am\651 install dirs maintainer-clean maintainer-clean-generic\652 m ostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am\653 ps ps-am tags uninstall uninstall-addlibsDATA uninstall-am\654 uninstall- info-am uninstall-local uninstall-pkgconfiglibDATA\655 uninstall- thirdpartyincludeHEADERS656 657 #endif 668 install-thirdpartyincludeHEADERS install-thirdpartylibDATA \ 669 installcheck installcheck-am installdirs maintainer-clean \ 670 maintainer-clean-generic mostlyclean mostlyclean-generic \ 671 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ 672 uninstall-addlibsDATA uninstall-am uninstall-info-am \ 673 uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS \ 674 uninstall-thirdpartylibDATA 675 658 676 659 677 all-local: $(alltargets) … … 665 683 666 684 stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl) 667 install-exec-local: $(libampl) 668 test -z "$(DESTDIR)$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)" 669 $(install_sh_DATA) $(libampl) "$(DESTDIR)$(thirdpartylibdir)/$(libampl)" 670 671 uninstall-local: 672 rm -f $(DESTDIR)$(thirdpartylibdir)/$(libampl) 685 686 @COIN_HAS_PKGCONFIG_TRUE@asl_addlibs.txt : coinasl.pc 687 @COIN_HAS_PKGCONFIG_TRUE@ PKG_CONFIG_PATH=.:$(libdir)/pkgconfig:${PKG_CONFIG_PATH} $(PKG_CONFIG) --libs coinasl > asl_addlibs.txt 673 688 674 689 install-doc: $(DocFiles) -
ThirdParty/ASL/branches/split/configure
r1490 r1539 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 AMPLSOLVER_A ABSPATH_AMPLSOLVER_INSTALLED ABSPATH_AMPLSOLVER_UNINSTALLED ASLMAKEFLAGS MSVC_COMPILE_TRUE MSVC_COMPILE_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ADDLIBS 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 PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE AMPLSOLVER_A ABSPATH_AMPLSOLVER_INSTALLED ABSPATH_AMPLSOLVER_UNINSTALLED ASLMAKEFLAGS MSVC_COMPILE_TRUE MSVC_COMPILE_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 974 974 ac_cv_env_FFLAGS_set=${FFLAGS+set} 975 975 ac_cv_env_FFLAGS_value=$FFLAGS 976 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set} 977 ac_env_PKG_CONFIG_value=$PKG_CONFIG 978 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} 979 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG 976 980 ac_env_ASLMAKEFLAGS_set=${ASLMAKEFLAGS+set} 977 981 ac_env_ASLMAKEFLAGS_value=$ASLMAKEFLAGS … … 1077 1081 optimize for fast installation [default=yes] 1078 1082 --disable-libtool-lock avoid locking (might break parallel builds) 1083 --enable-pkg-config use pkg-config if available (default is yes) 1079 1084 1080 1085 Optional Packages: … … 1107 1112 F77 Fortran 77 compiler command 1108 1113 FFLAGS Fortran 77 compiler flags 1114 PKG_CONFIG path to pkg-config utility 1109 1115 ASLMAKEFLAGS 1110 1116 Compilation flags necessary for compiling the AMPL solver … … 4735 4741 *-*-irix6*) 4736 4742 # Find out which ABI we are using. 4737 echo '#line 47 37"configure"' > conftest.$ac_ext4743 echo '#line 4743 "configure"' > conftest.$ac_ext 4738 4744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4739 4745 (eval $ac_compile) 2>&5 … … 6334 6340 6335 6341 # Provide some information about the compiler. 6336 echo "$as_me:63 36:" \6342 echo "$as_me:6342:" \ 6337 6343 "checking for Fortran 77 compiler version" >&5 6338 6344 ac_compiler=`set X $ac_compile; echo $2` … … 7401 7407 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7402 7408 -e 's:$: $lt_compiler_flag:'` 7403 (eval echo "\"\$as_me:740 3: $lt_compile\"" >&5)7409 (eval echo "\"\$as_me:7409: $lt_compile\"" >&5) 7404 7410 (eval "$lt_compile" 2>conftest.err) 7405 7411 ac_status=$? 7406 7412 cat conftest.err >&5 7407 echo "$as_me:74 07: \$? = $ac_status" >&57413 echo "$as_me:7413: \$? = $ac_status" >&5 7408 7414 if (exit $ac_status) && test -s "$ac_outfile"; then 7409 7415 # The compiler can only warn and ignore the option if not recognized … … 7669 7675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7670 7676 -e 's:$: $lt_compiler_flag:'` 7671 (eval echo "\"\$as_me:767 1: $lt_compile\"" >&5)7677 (eval echo "\"\$as_me:7677: $lt_compile\"" >&5) 7672 7678 (eval "$lt_compile" 2>conftest.err) 7673 7679 ac_status=$? 7674 7680 cat conftest.err >&5 7675 echo "$as_me:76 75: \$? = $ac_status" >&57681 echo "$as_me:7681: \$? = $ac_status" >&5 7676 7682 if (exit $ac_status) && test -s "$ac_outfile"; then 7677 7683 # The compiler can only warn and ignore the option if not recognized … … 7773 7779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7774 7780 -e 's:$: $lt_compiler_flag:'` 7775 (eval echo "\"\$as_me:77 75: $lt_compile\"" >&5)7781 (eval echo "\"\$as_me:7781: $lt_compile\"" >&5) 7776 7782 (eval "$lt_compile" 2>out/conftest.err) 7777 7783 ac_status=$? 7778 7784 cat out/conftest.err >&5 7779 echo "$as_me:77 79: \$? = $ac_status" >&57785 echo "$as_me:7785: \$? = $ac_status" >&5 7780 7786 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7781 7787 then … … 10118 10124 lt_status=$lt_dlunknown 10119 10125 cat > conftest.$ac_ext <<EOF 10120 #line 1012 0"configure"10126 #line 10126 "configure" 10121 10127 #include "confdefs.h" 10122 10128 … … 10218 10224 lt_status=$lt_dlunknown 10219 10225 cat > conftest.$ac_ext <<EOF 10220 #line 1022 0"configure"10226 #line 10226 "configure" 10221 10227 #include "confdefs.h" 10222 10228 … … 12562 12568 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12563 12569 -e 's:$: $lt_compiler_flag:'` 12564 (eval echo "\"\$as_me:125 64: $lt_compile\"" >&5)12570 (eval echo "\"\$as_me:12570: $lt_compile\"" >&5) 12565 12571 (eval "$lt_compile" 2>conftest.err) 12566 12572 ac_status=$? 12567 12573 cat conftest.err >&5 12568 echo "$as_me:125 68: \$? = $ac_status" >&512574 echo "$as_me:12574: \$? = $ac_status" >&5 12569 12575 if (exit $ac_status) && test -s "$ac_outfile"; then 12570 12576 # The compiler can only warn and ignore the option if not recognized … … 12666 12672 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12667 12673 -e 's:$: $lt_compiler_flag:'` 12668 (eval echo "\"\$as_me:126 68: $lt_compile\"" >&5)12674 (eval echo "\"\$as_me:12674: $lt_compile\"" >&5) 12669 12675 (eval "$lt_compile" 2>out/conftest.err) 12670 12676 ac_status=$? 12671 12677 cat out/conftest.err >&5 12672 echo "$as_me:1267 2: \$? = $ac_status" >&512678 echo "$as_me:12678: \$? = $ac_status" >&5 12673 12679 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12674 12680 then … … 14236 14242 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14237 14243 -e 's:$: $lt_compiler_flag:'` 14238 (eval echo "\"\$as_me:142 38: $lt_compile\"" >&5)14244 (eval echo "\"\$as_me:14244: $lt_compile\"" >&5) 14239 14245 (eval "$lt_compile" 2>conftest.err) 14240 14246 ac_status=$? 14241 14247 cat conftest.err >&5 14242 echo "$as_me:1424 2: \$? = $ac_status" >&514248 echo "$as_me:14248: \$? = $ac_status" >&5 14243 14249 if (exit $ac_status) && test -s "$ac_outfile"; then 14244 14250 # The compiler can only warn and ignore the option if not recognized … … 14340 14346 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14341 14347 -e 's:$: $lt_compiler_flag:'` 14342 (eval echo "\"\$as_me:1434 2: $lt_compile\"" >&5)14348 (eval echo "\"\$as_me:14348: $lt_compile\"" >&5) 14343 14349 (eval "$lt_compile" 2>out/conftest.err) 14344 14350 ac_status=$? 14345 14351 cat out/conftest.err >&5 14346 echo "$as_me:143 46: \$? = $ac_status" >&514352 echo "$as_me:14352: \$? = $ac_status" >&5 14347 14353 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14348 14354 then … … 16547 16553 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16548 16554 -e 's:$: $lt_compiler_flag:'` 16549 (eval echo "\"\$as_me:165 49: $lt_compile\"" >&5)16555 (eval echo "\"\$as_me:16555: $lt_compile\"" >&5) 16550 16556 (eval "$lt_compile" 2>conftest.err) 16551 16557 ac_status=$? 16552 16558 cat conftest.err >&5 16553 echo "$as_me:1655 3: \$? = $ac_status" >&516559 echo "$as_me:16559: \$? = $ac_status" >&5 16554 16560 if (exit $ac_status) && test -s "$ac_outfile"; then 16555 16561 # The compiler can only warn and ignore the option if not recognized … … 16815 16821 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16816 16822 -e 's:$: $lt_compiler_flag:'` 16817 (eval echo "\"\$as_me:168 17: $lt_compile\"" >&5)16823 (eval echo "\"\$as_me:16823: $lt_compile\"" >&5) 16818 16824 (eval "$lt_compile" 2>conftest.err) 16819 16825 ac_status=$? 16820 16826 cat conftest.err >&5 16821 echo "$as_me:1682 1: \$? = $ac_status" >&516827 echo "$as_me:16827: \$? = $ac_status" >&5 16822 16828 if (exit $ac_status) && test -s "$ac_outfile"; then 16823 16829 # The compiler can only warn and ignore the option if not recognized … … 16919 16925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16920 16926 -e 's:$: $lt_compiler_flag:'` 16921 (eval echo "\"\$as_me:1692 1: $lt_compile\"" >&5)16927 (eval echo "\"\$as_me:16927: $lt_compile\"" >&5) 16922 16928 (eval "$lt_compile" 2>out/conftest.err) 16923 16929 ac_status=$? 16924 16930 cat out/conftest.err >&5 16925 echo "$as_me:169 25: \$? = $ac_status" >&516931 echo "$as_me:16931: \$? = $ac_status" >&5 16926 16932 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16927 16933 then … … 19821 19827 } 19822 19828 19829 # Check if pkg-config is available (to setup addlibs file) 19830 19831 19832 # Check whether --enable-pkg-config or --disable-pkg-config was given. 19833 if test "${enable_pkg_config+set}" = set; then 19834 enableval="$enable_pkg_config" 19835 use_pkgconfig="$enableval" 19836 else 19837 use_pkgconfig=yes 19838 fi; 19839 19840 if test $use_pkgconfig = yes ; then 19841 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 19842 if test -n "$ac_tool_prefix"; then 19843 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 19844 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 19845 echo "$as_me:$LINENO: checking for $ac_word" >&5 19846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19847 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 19848 echo $ECHO_N "(cached) $ECHO_C" >&6 19849 else 19850 case $PKG_CONFIG in 19851 [\\/]* | ?:[\\/]*) 19852 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 19853 ;; 19854 *) 19855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19856 for as_dir in $PATH 19857 do 19858 IFS=$as_save_IFS 19859 test -z "$as_dir" && as_dir=. 19860 for ac_exec_ext in '' $ac_executable_extensions; do 19861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19862 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 19863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19864 break 2 19865 fi 19866 done 19867 done 19868 19869 ;; 19870 esac 19871 fi 19872 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 19873 19874 if test -n "$PKG_CONFIG"; then 19875 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 19876 echo "${ECHO_T}$PKG_CONFIG" >&6 19877 else 19878 echo "$as_me:$LINENO: result: no" >&5 19879 echo "${ECHO_T}no" >&6 19880 fi 19881 19882 fi 19883 if test -z "$ac_cv_path_PKG_CONFIG"; then 19884 ac_pt_PKG_CONFIG=$PKG_CONFIG 19885 # Extract the first word of "pkg-config", so it can be a program name with args. 19886 set dummy pkg-config; ac_word=$2 19887 echo "$as_me:$LINENO: checking for $ac_word" >&5 19888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19889 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 19890 echo $ECHO_N "(cached) $ECHO_C" >&6 19891 else 19892 case $ac_pt_PKG_CONFIG in 19893 [\\/]* | ?:[\\/]*) 19894 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 19895 ;; 19896 *) 19897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19898 for as_dir in $PATH 19899 do 19900 IFS=$as_save_IFS 19901 test -z "$as_dir" && as_dir=. 19902 for ac_exec_ext in '' $ac_executable_extensions; do 19903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19904 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 19905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19906 break 2 19907 fi 19908 done 19909 done 19910 19911 ;; 19912 esac 19913 fi 19914 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 19915 19916 if test -n "$ac_pt_PKG_CONFIG"; then 19917 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 19918 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 19919 else 19920 echo "$as_me:$LINENO: result: no" >&5 19921 echo "${ECHO_T}no" >&6 19922 fi 19923 19924 PKG_CONFIG=$ac_pt_PKG_CONFIG 19925 else 19926 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 19927 fi 19928 19929 fi 19930 if test -n "$PKG_CONFIG"; then 19931 _pkg_min_version=0.9.0 19932 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 19933 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 19934 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 19935 echo "$as_me:$LINENO: result: yes" >&5 19936 echo "${ECHO_T}yes" >&6 19937 else 19938 echo "$as_me:$LINENO: result: no" >&5 19939 echo "${ECHO_T}no" >&6 19940 PKG_CONFIG="" 19941 fi 19942 fi 19943 19944 # check if pkg-config supports the short-errors flag 19945 if test -n "$PKG_CONFIG" && \ 19946 $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19947 pkg_short_errors=" --short-errors " 19948 else 19949 pkg_short_errors="" 19950 fi 19951 fi 19952 19953 19954 19955 if test -n "$PKG_CONFIG"; then 19956 COIN_HAS_PKGCONFIG_TRUE= 19957 COIN_HAS_PKGCONFIG_FALSE='#' 19958 else 19959 COIN_HAS_PKGCONFIG_TRUE='#' 19960 COIN_HAS_PKGCONFIG_FALSE= 19961 fi 19962 19963 19964 19965 19966 19823 19967 ############################################################################# 19824 19968 # AMPL SOLVER LIBRARY # … … 20070 20214 20071 20215 20072 ac_config_files="$ac_config_files Makefile asl_addlibs.txt"20216 ac_config_files="$ac_config_files Makefile" 20073 20217 20074 20218 ac_config_files="$ac_config_files compile_MS_ASL" … … 20307 20451 Usually this means the macro was only invoked conditionally." >&5 20308 20452 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 20453 Usually this means the macro was only invoked conditionally." >&2;} 20454 { (exit 1); exit 1; }; } 20455 fi 20456 if test -z "${COIN_HAS_PKGCONFIG_TRUE}" && test -z "${COIN_HAS_PKGCONFIG_FALSE}"; then 20457 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined. 20458 Usually this means the macro was only invoked conditionally." >&5 20459 echo "$as_me: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined. 20309 20460 Usually this means the macro was only invoked conditionally." >&2;} 20310 20461 { (exit 1); exit 1; }; } … … 20757 20908 # Handling of arguments. 20758 20909 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 20759 "asl_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES asl_addlibs.txt" ;;20760 20910 "compile_MS_ASL" ) CONFIG_FILES="$CONFIG_FILES compile_MS_ASL" ;; 20761 20911 "compile_Unix_ASL" ) CONFIG_FILES="$CONFIG_FILES compile_Unix_ASL" ;; … … 20941 21091 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t 20942 21092 s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t 21093 s,@PKG_CONFIG@,$PKG_CONFIG,;t t 21094 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 21095 s,@COIN_HAS_PKGCONFIG_TRUE@,$COIN_HAS_PKGCONFIG_TRUE,;t t 21096 s,@COIN_HAS_PKGCONFIG_FALSE@,$COIN_HAS_PKGCONFIG_FALSE,;t t 20943 21097 s,@AMPLSOLVER_A@,$AMPLSOLVER_A,;t t 20944 21098 s,@ABSPATH_AMPLSOLVER_INSTALLED@,$ABSPATH_AMPLSOLVER_INSTALLED,;t t -
ThirdParty/ASL/branches/split/configure.ac
r1469 r1539 58 58 # Initialize automake and libtool 59 59 AC_COIN_INIT_AUTO_TOOLS 60 61 # Check if pkg-config is available (to setup addlibs file) 62 AC_COIN_HAS_PKGCONFIG 60 63 61 64 ############################################################################# … … 182 185 AM_CONDITIONAL(MSVC_COMPILE, test x$msvc_compile = xyes) 183 186 184 AC_CONFIG_FILES([Makefile asl_addlibs.txt])187 AC_CONFIG_FILES([Makefile]) 185 188 AC_CONFIG_FILES([compile_MS_ASL],[chmod a+x compile_MS_ASL]) 186 189 AC_CONFIG_FILES([compile_Unix_ASL],[chmod a+x compile_Unix_ASL])
Note: See TracChangeset
for help on using the changeset viewer.