Ignore:
Timestamp:
Apr 30, 2010 11:02:15 AM (10 years ago)
Author:
stefan
Message:

rerun autotools; generate addlibs files from .pc files; remove empty README's

Location:
ThirdParty/ASL/branches/split
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/branches/split/Makefile.am

    r1469 r1539  
    1717libampl   = $(AMPLSOLVER_A)
    1818
    19 #if SKIPMAKE
    20 #  alltargets =
    21 #else
    22   alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
    23 #endif
     19alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
    2420
    2521all-local: $(alltargets)
     
    3531stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl)
    3632
    37 thirdpartylibdir = $(libdir)/coin/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 = $(datadir)/coin/doc/ThirdParty/ASL
    46 addlibs_DATA = README asl_addlibs.txt
    47 
    4833thirdpartyincludedir = $(includedir)/coin/ThirdParty
    4934thirdpartyinclude_HEADERS = \
     
    5237  stdio1.h arith.h
    5338
     39thirdpartylibdir = $(libdir)/coin/ThirdParty
     40thirdpartylib_DATA = $(libampl)
     41
     42if COIN_HAS_PKGCONFIG
     43addlibsdir = $(datadir)/coin/doc/ThirdParty/ASL
     44addlibs_DATA = asl_addlibs.txt
     45
     46asl_addlibs.txt : coinasl.pc
     47        PKG_CONFIG_PATH=.:$(libdir)/pkgconfig:${PKG_CONFIG_PATH} $(PKG_CONFIG) --libs coinasl > asl_addlibs.txt
     48endif
     49
    5450pkgconfiglibdir = $(libdir)/pkgconfig
    5551pkgconfiglib_DATA = coinasl.pc
    5652
    57 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
     53CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) asl_addlibs.txt
    5854
    5955########################################################################
  • ThirdParty/ASL/branches/split/Makefile.in

    r1490 r1539  
    5252build_triplet = @build@
    5353host_triplet = @host@
    54 DIST_COMMON = README $(am__configure_deps) \
     54DIST_COMMON = $(am__configure_deps) \
    5555        $(srcdir)/../../BuildTools/Makemain.inc \
    5656        $(srcdir)/../../config.guess $(srcdir)/../../config.sub \
    5757        $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \
    5858        $(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         $(thirdpartyinclude_HEADERS) $(top_srcdir)/configure
     59        $(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
    6363@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    6464@HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     
    7272 configure.lineno configure.status.lineno
    7373mkinstalldirs = $(install_sh) -d
    74 CONFIG_CLEAN_FILES = asl_addlibs.txt compile_MS_ASL compile_Unix_ASL \
    75         coinasl.pc coinasl-uninstalled.pc
     74CONFIG_CLEAN_FILES = compile_MS_ASL compile_Unix_ASL coinasl.pc \
     75        coinasl-uninstalled.pc
    7676SOURCES =
    7777DIST_SOURCES =
     
    8383am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
    8484am__installdirs = "$(DESTDIR)$(addlibsdir)" \
    85         "$(DESTDIR)$(pkgconfiglibdir)" \
     85        "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(thirdpartylibdir)" \
    8686        "$(DESTDIR)$(thirdpartyincludedir)"
    8787addlibsDATA_INSTALL = $(INSTALL_DATA)
    8888pkgconfiglibDATA_INSTALL = $(INSTALL_DATA)
    89 DATA = $(addlibs_DATA) $(pkgconfiglib_DATA)
     89thirdpartylibDATA_INSTALL = $(INSTALL_DATA)
     90DATA = $(addlibs_DATA) $(pkgconfiglib_DATA) $(thirdpartylib_DATA)
    9091thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER)
    9192HEADERS = $(thirdpartyinclude_HEADERS)
     
    127128CDEFS = @CDEFS@
    128129CFLAGS = @CFLAGS@
     130COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@
     131COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@
    129132CPP = @CPP@
    130133CPPFLAGS = @CPPFLAGS@
     
    177180PACKAGE_VERSION = @PACKAGE_VERSION@
    178181PATH_SEPARATOR = @PATH_SEPARATOR@
     182PKG_CONFIG = @PKG_CONFIG@
    179183RANLIB = @RANLIB@
    180184RPATH_FLAGS = @RPATH_FLAGS@
     
    196200ac_ct_STRIP = @ac_ct_STRIP@
    197201ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     202ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    198203am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    199204am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
     
    245250compdir = compdir
    246251libampl = $(AMPLSOLVER_A)
    247 
    248 #if SKIPMAKE
    249 #  alltargets =
    250 #else
    251252alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
    252 thirdpartylibdir = $(libdir)/coin/ThirdParty
    253 addlibsdir = $(datadir)/coin/doc/ThirdParty/ASL
    254 addlibs_DATA = README asl_addlibs.txt
    255253thirdpartyincludedir = $(includedir)/coin/ThirdParty
    256254thirdpartyinclude_HEADERS = \
     
    259257  stdio1.h arith.h
    260258
     259thirdpartylibdir = $(libdir)/coin/ThirdParty
     260thirdpartylib_DATA = $(libampl)
     261@COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(datadir)/coin/doc/ThirdParty/ASL
     262@COIN_HAS_PKGCONFIG_TRUE@addlibs_DATA = asl_addlibs.txt
    261263pkgconfiglibdir = $(libdir)/pkgconfig
    262264pkgconfiglib_DATA = coinasl.pc
    263 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
     265CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) asl_addlibs.txt
    264266
    265267########################################################################
     
    307309$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    308310        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    309 asl_addlibs.txt: $(top_builddir)/config.status $(srcdir)/asl_addlibs.txt.in
    310         cd $(top_builddir) && $(SHELL) ./config.status $@
    311311compile_MS_ASL: $(top_builddir)/config.status $(srcdir)/compile_MS_ASL.in
    312312        cd $(top_builddir) && $(SHELL) ./config.status $@
     
    360360          echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
    361361          rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
     362        done
     363install-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
     373uninstall-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"; \
    362379        done
    363380install-thirdpartyincludeHEADERS: $(thirdpartyinclude_HEADERS)
     
    558575all-am: Makefile $(DATA) $(HEADERS) all-local
    559576installdirs:
    560         for dir in "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
     577        for dir in "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
    561578          test -z "$$dir" || $(mkdir_p) "$$dir"; \
    562579        done
     
    608625
    609626install-data-am: install-addlibsDATA install-pkgconfiglibDATA \
    610         install-thirdpartyincludeHEADERS
    611 
    612 install-exec-am: install-exec-local
     627        install-thirdpartyincludeHEADERS install-thirdpartylibDATA
     628
     629install-exec-am:
    613630
    614631install-info: install-info-am
     
    636653ps-am:
    637654
    638 uninstall-am: uninstall-addlibsDATA uninstall-info-am uninstall-local \
    639         uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS
     655uninstall-am: uninstall-addlibsDATA uninstall-info-am \
     656        uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS \
     657        uninstall-thirdpartylibDATA
    640658
    641659.PHONY: CTAGS GTAGS all all-am all-local am--refresh check check-am \
     
    646664        html-am info info-am install install-addlibsDATA install-am \
    647665        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 \
    649667        install-pkgconfiglibDATA install-strip \
    650         install-thirdpartyincludeHEADERS installcheck installcheck-am \
    651         installdirs maintainer-clean maintainer-clean-generic \
    652         mostlyclean 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-thirdpartyincludeHEADERS
    656 
    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
    658676
    659677all-local: $(alltargets)
     
    665683
    666684stdio1.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
    673688
    674689install-doc: $(DocFiles)
  • ThirdParty/ASL/branches/split/configure

    r1490 r1539  
    473473#endif"
    474474
    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'
     475ac_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'
    476476ac_subst_files=''
    477477
     
    974974ac_cv_env_FFLAGS_set=${FFLAGS+set}
    975975ac_cv_env_FFLAGS_value=$FFLAGS
     976ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
     977ac_env_PKG_CONFIG_value=$PKG_CONFIG
     978ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
     979ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
    976980ac_env_ASLMAKEFLAGS_set=${ASLMAKEFLAGS+set}
    977981ac_env_ASLMAKEFLAGS_value=$ASLMAKEFLAGS
     
    10771081                          optimize for fast installation [default=yes]
    10781082  --disable-libtool-lock  avoid locking (might break parallel builds)
     1083  --enable-pkg-config     use pkg-config if available (default is yes)
    10791084
    10801085Optional Packages:
     
    11071112  F77         Fortran 77 compiler command
    11081113  FFLAGS      Fortran 77 compiler flags
     1114  PKG_CONFIG  path to pkg-config utility
    11091115  ASLMAKEFLAGS
    11101116              Compilation flags necessary for compiling the AMPL solver
     
    47354741*-*-irix6*)
    47364742  # Find out which ABI we are using.
    4737   echo '#line 4737 "configure"' > conftest.$ac_ext
     4743  echo '#line 4743 "configure"' > conftest.$ac_ext
    47384744  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    47394745  (eval $ac_compile) 2>&5
     
    63346340
    63356341# Provide some information about the compiler.
    6336 echo "$as_me:6336:" \
     6342echo "$as_me:6342:" \
    63376343     "checking for Fortran 77 compiler version" >&5
    63386344ac_compiler=`set X $ac_compile; echo $2`
     
    74017407   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    74027408   -e 's:$: $lt_compiler_flag:'`
    7403    (eval echo "\"\$as_me:7403: $lt_compile\"" >&5)
     7409   (eval echo "\"\$as_me:7409: $lt_compile\"" >&5)
    74047410   (eval "$lt_compile" 2>conftest.err)
    74057411   ac_status=$?
    74067412   cat conftest.err >&5
    7407    echo "$as_me:7407: \$? = $ac_status" >&5
     7413   echo "$as_me:7413: \$? = $ac_status" >&5
    74087414   if (exit $ac_status) && test -s "$ac_outfile"; then
    74097415     # The compiler can only warn and ignore the option if not recognized
     
    76697675   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    76707676   -e 's:$: $lt_compiler_flag:'`
    7671    (eval echo "\"\$as_me:7671: $lt_compile\"" >&5)
     7677   (eval echo "\"\$as_me:7677: $lt_compile\"" >&5)
    76727678   (eval "$lt_compile" 2>conftest.err)
    76737679   ac_status=$?
    76747680   cat conftest.err >&5
    7675    echo "$as_me:7675: \$? = $ac_status" >&5
     7681   echo "$as_me:7681: \$? = $ac_status" >&5
    76767682   if (exit $ac_status) && test -s "$ac_outfile"; then
    76777683     # The compiler can only warn and ignore the option if not recognized
     
    77737779   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    77747780   -e 's:$: $lt_compiler_flag:'`
    7775    (eval echo "\"\$as_me:7775: $lt_compile\"" >&5)
     7781   (eval echo "\"\$as_me:7781: $lt_compile\"" >&5)
    77767782   (eval "$lt_compile" 2>out/conftest.err)
    77777783   ac_status=$?
    77787784   cat out/conftest.err >&5
    7779    echo "$as_me:7779: \$? = $ac_status" >&5
     7785   echo "$as_me:7785: \$? = $ac_status" >&5
    77807786   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    77817787   then
     
    1011810124  lt_status=$lt_dlunknown
    1011910125  cat > conftest.$ac_ext <<EOF
    10120 #line 10120 "configure"
     10126#line 10126 "configure"
    1012110127#include "confdefs.h"
    1012210128
     
    1021810224  lt_status=$lt_dlunknown
    1021910225  cat > conftest.$ac_ext <<EOF
    10220 #line 10220 "configure"
     10226#line 10226 "configure"
    1022110227#include "confdefs.h"
    1022210228
     
    1256212568   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1256312569   -e 's:$: $lt_compiler_flag:'`
    12564    (eval echo "\"\$as_me:12564: $lt_compile\"" >&5)
     12570   (eval echo "\"\$as_me:12570: $lt_compile\"" >&5)
    1256512571   (eval "$lt_compile" 2>conftest.err)
    1256612572   ac_status=$?
    1256712573   cat conftest.err >&5
    12568    echo "$as_me:12568: \$? = $ac_status" >&5
     12574   echo "$as_me:12574: \$? = $ac_status" >&5
    1256912575   if (exit $ac_status) && test -s "$ac_outfile"; then
    1257012576     # The compiler can only warn and ignore the option if not recognized
     
    1266612672   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1266712673   -e 's:$: $lt_compiler_flag:'`
    12668    (eval echo "\"\$as_me:12668: $lt_compile\"" >&5)
     12674   (eval echo "\"\$as_me:12674: $lt_compile\"" >&5)
    1266912675   (eval "$lt_compile" 2>out/conftest.err)
    1267012676   ac_status=$?
    1267112677   cat out/conftest.err >&5
    12672    echo "$as_me:12672: \$? = $ac_status" >&5
     12678   echo "$as_me:12678: \$? = $ac_status" >&5
    1267312679   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1267412680   then
     
    1423614242   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1423714243   -e 's:$: $lt_compiler_flag:'`
    14238    (eval echo "\"\$as_me:14238: $lt_compile\"" >&5)
     14244   (eval echo "\"\$as_me:14244: $lt_compile\"" >&5)
    1423914245   (eval "$lt_compile" 2>conftest.err)
    1424014246   ac_status=$?
    1424114247   cat conftest.err >&5
    14242    echo "$as_me:14242: \$? = $ac_status" >&5
     14248   echo "$as_me:14248: \$? = $ac_status" >&5
    1424314249   if (exit $ac_status) && test -s "$ac_outfile"; then
    1424414250     # The compiler can only warn and ignore the option if not recognized
     
    1434014346   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1434114347   -e 's:$: $lt_compiler_flag:'`
    14342    (eval echo "\"\$as_me:14342: $lt_compile\"" >&5)
     14348   (eval echo "\"\$as_me:14348: $lt_compile\"" >&5)
    1434314349   (eval "$lt_compile" 2>out/conftest.err)
    1434414350   ac_status=$?
    1434514351   cat out/conftest.err >&5
    14346    echo "$as_me:14346: \$? = $ac_status" >&5
     14352   echo "$as_me:14352: \$? = $ac_status" >&5
    1434714353   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1434814354   then
     
    1654716553   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1654816554   -e 's:$: $lt_compiler_flag:'`
    16549    (eval echo "\"\$as_me:16549: $lt_compile\"" >&5)
     16555   (eval echo "\"\$as_me:16555: $lt_compile\"" >&5)
    1655016556   (eval "$lt_compile" 2>conftest.err)
    1655116557   ac_status=$?
    1655216558   cat conftest.err >&5
    16553    echo "$as_me:16553: \$? = $ac_status" >&5
     16559   echo "$as_me:16559: \$? = $ac_status" >&5
    1655416560   if (exit $ac_status) && test -s "$ac_outfile"; then
    1655516561     # The compiler can only warn and ignore the option if not recognized
     
    1681516821   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1681616822   -e 's:$: $lt_compiler_flag:'`
    16817    (eval echo "\"\$as_me:16817: $lt_compile\"" >&5)
     16823   (eval echo "\"\$as_me:16823: $lt_compile\"" >&5)
    1681816824   (eval "$lt_compile" 2>conftest.err)
    1681916825   ac_status=$?
    1682016826   cat conftest.err >&5
    16821    echo "$as_me:16821: \$? = $ac_status" >&5
     16827   echo "$as_me:16827: \$? = $ac_status" >&5
    1682216828   if (exit $ac_status) && test -s "$ac_outfile"; then
    1682316829     # The compiler can only warn and ignore the option if not recognized
     
    1691916925   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1692016926   -e 's:$: $lt_compiler_flag:'`
    16921    (eval echo "\"\$as_me:16921: $lt_compile\"" >&5)
     16927   (eval echo "\"\$as_me:16927: $lt_compile\"" >&5)
    1692216928   (eval "$lt_compile" 2>out/conftest.err)
    1692316929   ac_status=$?
    1692416930   cat out/conftest.err >&5
    16925    echo "$as_me:16925: \$? = $ac_status" >&5
     16931   echo "$as_me:16931: \$? = $ac_status" >&5
    1692616932   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1692716933   then
     
    1982119827}
    1982219828
     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.
     19833if test "${enable_pkg_config+set}" = set; then
     19834  enableval="$enable_pkg_config"
     19835  use_pkgconfig="$enableval"
     19836else
     19837  use_pkgconfig=yes
     19838fi;
     19839
     19840if 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.
     19844set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
     19845echo "$as_me:$LINENO: checking for $ac_word" >&5
     19846echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     19847if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
     19848  echo $ECHO_N "(cached) $ECHO_C" >&6
     19849else
     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
     19856for as_dir in $PATH
     19857do
     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
     19866done
     19867done
     19868
     19869  ;;
     19870esac
     19871fi
     19872PKG_CONFIG=$ac_cv_path_PKG_CONFIG
     19873
     19874if test -n "$PKG_CONFIG"; then
     19875  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
     19876echo "${ECHO_T}$PKG_CONFIG" >&6
     19877else
     19878  echo "$as_me:$LINENO: result: no" >&5
     19879echo "${ECHO_T}no" >&6
     19880fi
     19881
     19882fi
     19883if 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.
     19886set dummy pkg-config; ac_word=$2
     19887echo "$as_me:$LINENO: checking for $ac_word" >&5
     19888echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     19889if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
     19890  echo $ECHO_N "(cached) $ECHO_C" >&6
     19891else
     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
     19898for as_dir in $PATH
     19899do
     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
     19908done
     19909done
     19910
     19911  ;;
     19912esac
     19913fi
     19914ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
     19915
     19916if test -n "$ac_pt_PKG_CONFIG"; then
     19917  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
     19918echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
     19919else
     19920  echo "$as_me:$LINENO: result: no" >&5
     19921echo "${ECHO_T}no" >&6
     19922fi
     19923
     19924  PKG_CONFIG=$ac_pt_PKG_CONFIG
     19925else
     19926  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
     19927fi
     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
     19933echo $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
     19936echo "${ECHO_T}yes" >&6
     19937    else
     19938      echo "$as_me:$LINENO: result: no" >&5
     19939echo "${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
     19951fi
     19952
     19953
     19954
     19955if test -n "$PKG_CONFIG"; then
     19956  COIN_HAS_PKGCONFIG_TRUE=
     19957  COIN_HAS_PKGCONFIG_FALSE='#'
     19958else
     19959  COIN_HAS_PKGCONFIG_TRUE='#'
     19960  COIN_HAS_PKGCONFIG_FALSE=
     19961fi
     19962
     19963
     19964
     19965
     19966
    1982319967#############################################################################
    1982419968#                          AMPL SOLVER LIBRARY                              #
     
    2007020214
    2007120215
    20072                     ac_config_files="$ac_config_files Makefile asl_addlibs.txt"
     20216          ac_config_files="$ac_config_files Makefile"
    2007320217
    2007420218          ac_config_files="$ac_config_files compile_MS_ASL"
     
    2030720451Usually this means the macro was only invoked conditionally." >&5
    2030820452echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
     20453Usually this means the macro was only invoked conditionally." >&2;}
     20454   { (exit 1); exit 1; }; }
     20455fi
     20456if 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.
     20458Usually this means the macro was only invoked conditionally." >&5
     20459echo "$as_me: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    2030920460Usually this means the macro was only invoked conditionally." >&2;}
    2031020461   { (exit 1); exit 1; }; }
     
    2075720908  # Handling of arguments.
    2075820909  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    20759   "asl_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES asl_addlibs.txt" ;;
    2076020910  "compile_MS_ASL" ) CONFIG_FILES="$CONFIG_FILES compile_MS_ASL" ;;
    2076120911  "compile_Unix_ASL" ) CONFIG_FILES="$CONFIG_FILES compile_Unix_ASL" ;;
     
    2094121091s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2094221092s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
     21093s,@PKG_CONFIG@,$PKG_CONFIG,;t t
     21094s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
     21095s,@COIN_HAS_PKGCONFIG_TRUE@,$COIN_HAS_PKGCONFIG_TRUE,;t t
     21096s,@COIN_HAS_PKGCONFIG_FALSE@,$COIN_HAS_PKGCONFIG_FALSE,;t t
    2094321097s,@AMPLSOLVER_A@,$AMPLSOLVER_A,;t t
    2094421098s,@ABSPATH_AMPLSOLVER_INSTALLED@,$ABSPATH_AMPLSOLVER_INSTALLED,;t t
  • ThirdParty/ASL/branches/split/configure.ac

    r1469 r1539  
    5858# Initialize automake and libtool
    5959AC_COIN_INIT_AUTO_TOOLS
     60
     61# Check if pkg-config is available (to setup addlibs file)
     62AC_COIN_HAS_PKGCONFIG
    6063
    6164#############################################################################
     
    182185AM_CONDITIONAL(MSVC_COMPILE, test x$msvc_compile = xyes)
    183186
    184 AC_CONFIG_FILES([Makefile asl_addlibs.txt])
     187AC_CONFIG_FILES([Makefile])
    185188AC_CONFIG_FILES([compile_MS_ASL],[chmod a+x compile_MS_ASL])
    186189AC_CONFIG_FILES([compile_Unix_ASL],[chmod a+x compile_Unix_ASL])
Note: See TracChangeset for help on using the changeset viewer.