Changeset 735
- Timestamp:
- Nov 6, 2007 2:52:31 PM (13 years ago)
- Location:
- ThirdParty/Glpk/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Glpk/trunk/Makefile.am
r582 r735 29 29 $(GLPKDIR)/src/glpapi10.c \ 30 30 $(GLPKDIR)/src/glpapi11.c \ 31 $(GLPKDIR)/src/glpapi12.c \ 31 32 $(GLPKDIR)/src/glpavl.c \ 32 33 $(GLPKDIR)/src/glpbfd.c \ … … 74 75 $(GLPKDIR)/src/glplpx18.c \ 75 76 $(GLPKDIR)/src/glplpx19.c \ 77 $(GLPKDIR)/src/glplpx20.c \ 76 78 $(GLPKDIR)/src/glpluf.c \ 77 79 $(GLPKDIR)/src/glplux.c \ … … 81 83 $(GLPKDIR)/src/glpmpl03.c \ 82 84 $(GLPKDIR)/src/glpmpl04.c \ 85 $(GLPKDIR)/src/glppds.c \ 83 86 $(GLPKDIR)/src/glpqmd.c \ 84 87 $(GLPKDIR)/src/glprng01.c \ … … 94 97 DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` 95 98 96 AM_CPPFLAGS = -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/include` 99 AM_CPPFLAGS = -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/include` -I$(GLPKDIR) 97 100 98 101 libcoinglpk_la_LDFLAGS = $(LT_LDFLAGS) -
ThirdParty/Glpk/trunk/Makefile.in
r582 r735 57 57 $(srcdir)/../../ltmain.sh $(srcdir)/../../missing \ 58 58 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ 59 $(top_srcdir)/configure 59 $(top_srcdir)/configure $(top_srcdir)/glpk/config.h.in 60 60 @HAVE_EXTERNALS_TRUE@am__append_1 = Externals 61 61 @HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp … … 69 69 configure.lineno configure.status.lineno 70 70 mkinstalldirs = $(install_sh) -d 71 CONFIG_HEADER = $(top_builddir)/glpk/config.h 71 72 CONFIG_CLEAN_FILES = 72 73 LTLIBRARIES = $(noinst_LTLIBRARIES) … … 74 75 nodist_libcoinglpk_la_OBJECTS = glpapi01.lo glpapi02.lo glpapi03.lo \ 75 76 glpapi04.lo glpapi05.lo glpapi06.lo glpapi07.lo glpapi08.lo \ 76 glpapi09.lo glpapi10.lo glpapi11.lo glpavl.lo glpbfd.lo \ 77 glpbfx.lo glpdmp.lo glpfhv.lo glpgmp.lo glphbm.lo glpios01.lo \ 78 glpios02.lo glpios03.lo glpios04.lo glpipm.lo glpipp01.lo \ 79 glpipp02.lo glplib01.lo glplib02.lo glplib03.lo glplib04.lo \ 80 glplib05.lo glplib06.lo glplib07.lo glplib08.lo glplib09.lo \ 81 glplpf.lo glplpp01.lo glplpp02.lo glplpx01.lo glplpx02.lo \ 82 glplpx03.lo glplpx04.lo glplpx05.lo glplpx06.lo glplpx07.lo \ 83 glplpx08.lo glplpx09.lo glplpx10.lo glplpx11.lo glplpx12.lo \ 84 glplpx13.lo glplpx14.lo glplpx15.lo glplpx16.lo glplpx17.lo \ 85 glplpx18.lo glplpx19.lo glpluf.lo glplux.lo glpmat.lo \ 86 glpmpl01.lo glpmpl02.lo glpmpl03.lo glpmpl04.lo glpqmd.lo \ 87 glprng01.lo glprng02.lo glpscf.lo glpscg.lo glpscs.lo \ 88 glpspx01.lo glpspx02.lo glpssx01.lo glpssx02.lo 77 glpapi09.lo glpapi10.lo glpapi11.lo glpapi12.lo glpavl.lo \ 78 glpbfd.lo glpbfx.lo glpdmp.lo glpfhv.lo glpgmp.lo glphbm.lo \ 79 glpios01.lo glpios02.lo glpios03.lo glpios04.lo glpipm.lo \ 80 glpipp01.lo glpipp02.lo glplib01.lo glplib02.lo glplib03.lo \ 81 glplib04.lo glplib05.lo glplib06.lo glplib07.lo glplib08.lo \ 82 glplib09.lo glplpf.lo glplpp01.lo glplpp02.lo glplpx01.lo \ 83 glplpx02.lo glplpx03.lo glplpx04.lo glplpx05.lo glplpx06.lo \ 84 glplpx07.lo glplpx08.lo glplpx09.lo glplpx10.lo glplpx11.lo \ 85 glplpx12.lo glplpx13.lo glplpx14.lo glplpx15.lo glplpx16.lo \ 86 glplpx17.lo glplpx18.lo glplpx19.lo glplpx20.lo glpluf.lo \ 87 glplux.lo glpmat.lo glpmpl01.lo glpmpl02.lo glpmpl03.lo \ 88 glpmpl04.lo glppds.lo glpqmd.lo glprng01.lo glprng02.lo \ 89 glpscf.lo glpscg.lo glpscs.lo glpspx01.lo glpspx02.lo \ 90 glpssx01.lo glpssx02.lo 89 91 libcoinglpk_la_OBJECTS = $(nodist_libcoinglpk_la_OBJECTS) 90 92 @COIN_BUILD_GLPK_TRUE@am_libcoinglpk_la_rpath = … … 264 266 $(GLPKDIR)/src/glpapi10.c \ 265 267 $(GLPKDIR)/src/glpapi11.c \ 268 $(GLPKDIR)/src/glpapi12.c \ 266 269 $(GLPKDIR)/src/glpavl.c \ 267 270 $(GLPKDIR)/src/glpbfd.c \ … … 309 312 $(GLPKDIR)/src/glplpx18.c \ 310 313 $(GLPKDIR)/src/glplpx19.c \ 314 $(GLPKDIR)/src/glplpx20.c \ 311 315 $(GLPKDIR)/src/glpluf.c \ 312 316 $(GLPKDIR)/src/glplux.c \ … … 316 320 $(GLPKDIR)/src/glpmpl03.c \ 317 321 $(GLPKDIR)/src/glpmpl04.c \ 322 $(GLPKDIR)/src/glppds.c \ 318 323 $(GLPKDIR)/src/glpqmd.c \ 319 324 $(GLPKDIR)/src/glprng01.c \ … … 328 333 329 334 DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` 330 AM_CPPFLAGS = -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/include` 335 AM_CPPFLAGS = -I`$(CYGPATH_W) $(srcdir)/$(GLPKDIR)/include` -I$(GLPKDIR) 331 336 libcoinglpk_la_LDFLAGS = $(LT_LDFLAGS) 332 337 … … 375 380 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 376 381 382 glpk/config.h: glpk/stamp-h1 383 @if test ! -f $@; then \ 384 rm -f glpk/stamp-h1; \ 385 $(MAKE) glpk/stamp-h1; \ 386 else :; fi 387 388 glpk/stamp-h1: $(top_srcdir)/glpk/config.h.in $(top_builddir)/config.status 389 @rm -f glpk/stamp-h1 390 cd $(top_builddir) && $(SHELL) ./config.status glpk/config.h 391 $(top_srcdir)/glpk/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 392 cd $(top_srcdir) && $(AUTOHEADER) 393 rm -f glpk/stamp-h1 394 touch $@ 395 396 distclean-hdr: 397 -rm -f glpk/config.h glpk/stamp-h1 398 377 399 clean-noinstLTLIBRARIES: 378 400 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) … … 403 425 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glpapi10.Plo@am__quote@ 404 426 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glpapi11.Plo@am__quote@ 427 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glpapi12.Plo@am__quote@ 405 428 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glpavl.Plo@am__quote@ 406 429 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glpbfd.Plo@am__quote@ … … 448 471 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glplpx18.Plo@am__quote@ 449 472 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glplpx19.Plo@am__quote@ 473 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glplpx20.Plo@am__quote@ 450 474 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glpluf.Plo@am__quote@ 451 475 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glplux.Plo@am__quote@ … … 455 479 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glpmpl03.Plo@am__quote@ 456 480 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glpmpl04.Plo@am__quote@ 481 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glppds.Plo@am__quote@ 457 482 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glpqmd.Plo@am__quote@ 458 483 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glprng01.Plo@am__quote@ … … 564 589 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o glpapi11.lo `test -f '$(GLPKDIR)/src/glpapi11.c' || echo '$(srcdir)/'`$(GLPKDIR)/src/glpapi11.c 565 590 591 glpapi12.lo: $(GLPKDIR)/src/glpapi12.c 592 @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT glpapi12.lo -MD -MP -MF "$(DEPDIR)/glpapi12.Tpo" -c -o glpapi12.lo `test -f '$(GLPKDIR)/src/glpapi12.c' || echo '$(srcdir)/'`$(GLPKDIR)/src/glpapi12.c; \ 593 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/glpapi12.Tpo" "$(DEPDIR)/glpapi12.Plo"; else rm -f "$(DEPDIR)/glpapi12.Tpo"; exit 1; fi 594 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(GLPKDIR)/src/glpapi12.c' object='glpapi12.lo' libtool=yes @AMDEPBACKSLASH@ 595 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 596 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o glpapi12.lo `test -f '$(GLPKDIR)/src/glpapi12.c' || echo '$(srcdir)/'`$(GLPKDIR)/src/glpapi12.c 597 566 598 glpavl.lo: $(GLPKDIR)/src/glpavl.c 567 599 @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT glpavl.lo -MD -MP -MF "$(DEPDIR)/glpavl.Tpo" -c -o glpavl.lo `test -f '$(GLPKDIR)/src/glpavl.c' || echo '$(srcdir)/'`$(GLPKDIR)/src/glpavl.c; \ … … 879 911 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o glplpx19.lo `test -f '$(GLPKDIR)/src/glplpx19.c' || echo '$(srcdir)/'`$(GLPKDIR)/src/glplpx19.c 880 912 913 glplpx20.lo: $(GLPKDIR)/src/glplpx20.c 914 @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT glplpx20.lo -MD -MP -MF "$(DEPDIR)/glplpx20.Tpo" -c -o glplpx20.lo `test -f '$(GLPKDIR)/src/glplpx20.c' || echo '$(srcdir)/'`$(GLPKDIR)/src/glplpx20.c; \ 915 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/glplpx20.Tpo" "$(DEPDIR)/glplpx20.Plo"; else rm -f "$(DEPDIR)/glplpx20.Tpo"; exit 1; fi 916 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(GLPKDIR)/src/glplpx20.c' object='glplpx20.lo' libtool=yes @AMDEPBACKSLASH@ 917 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 918 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o glplpx20.lo `test -f '$(GLPKDIR)/src/glplpx20.c' || echo '$(srcdir)/'`$(GLPKDIR)/src/glplpx20.c 919 881 920 glpluf.lo: $(GLPKDIR)/src/glpluf.c 882 921 @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT glpluf.lo -MD -MP -MF "$(DEPDIR)/glpluf.Tpo" -c -o glpluf.lo `test -f '$(GLPKDIR)/src/glpluf.c' || echo '$(srcdir)/'`$(GLPKDIR)/src/glpluf.c; \ … … 927 966 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 928 967 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o glpmpl04.lo `test -f '$(GLPKDIR)/src/glpmpl04.c' || echo '$(srcdir)/'`$(GLPKDIR)/src/glpmpl04.c 968 969 glppds.lo: $(GLPKDIR)/src/glppds.c 970 @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT glppds.lo -MD -MP -MF "$(DEPDIR)/glppds.Tpo" -c -o glppds.lo `test -f '$(GLPKDIR)/src/glppds.c' || echo '$(srcdir)/'`$(GLPKDIR)/src/glppds.c; \ 971 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/glppds.Tpo" "$(DEPDIR)/glppds.Plo"; else rm -f "$(DEPDIR)/glppds.Tpo"; exit 1; fi 972 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(GLPKDIR)/src/glppds.c' object='glppds.lo' libtool=yes @AMDEPBACKSLASH@ 973 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 974 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o glppds.lo `test -f '$(GLPKDIR)/src/glppds.c' || echo '$(srcdir)/'`$(GLPKDIR)/src/glppds.c 929 975 930 976 glpqmd.lo: $(GLPKDIR)/src/glpqmd.c … … 1059 1105 $(am__remove_distdir) 1060 1106 mkdir $(distdir) 1061 $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools 1107 $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools $(distdir)/glpk 1062 1108 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 1063 1109 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ … … 1222 1268 -rm -f Makefile 1223 1269 distclean-am: clean-am distclean-compile distclean-generic \ 1224 distclean- libtool distclean-tags1270 distclean-hdr distclean-libtool distclean-tags 1225 1271 1226 1272 dvi: dvi-am … … 1270 1316 dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \ 1271 1317 distcheck distclean distclean-compile distclean-generic \ 1272 distclean- libtool distclean-tags distcleancheck distdir\1273 dist uninstallcheck dvi dvi-am html html-am info info-am\1274 in stall install-am install-data install-data-am install-exec\1275 install-exec -am install-info install-info-am install-man\1276 install- strip installcheck installcheck-am installdirs\1277 maintainer-clean maintainer-clean-generic mostlyclean\1278 mostlyclean -compile mostlyclean-generic mostlyclean-libtool\1279 pdf pdf-am ps ps-am tags uninstall uninstall-am\1280 uninstall- info-am1318 distclean-hdr distclean-libtool distclean-tags distcleancheck \ 1319 distdir distuninstallcheck dvi dvi-am html html-am info \ 1320 info-am install install-am install-data install-data-am \ 1321 install-exec install-exec-am install-info install-info-am \ 1322 install-man install-strip installcheck installcheck-am \ 1323 installdirs maintainer-clean maintainer-clean-generic \ 1324 mostlyclean mostlyclean-compile mostlyclean-generic \ 1325 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ 1326 uninstall-am uninstall-info-am 1281 1327 1282 1328 -
ThirdParty/Glpk/trunk/configure
r522 r735 19698 19698 } 19699 19699 19700 19701 for ac_func in vsnprintf 19702 do 19703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 19704 echo "$as_me:$LINENO: checking for $ac_func" >&5 19705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 19706 if eval "test \"\${$as_ac_var+set}\" = set"; then 19707 echo $ECHO_N "(cached) $ECHO_C" >&6 19708 else 19709 cat >conftest.$ac_ext <<_ACEOF 19710 /* confdefs.h. */ 19711 _ACEOF 19712 cat confdefs.h >>conftest.$ac_ext 19713 cat >>conftest.$ac_ext <<_ACEOF 19714 /* end confdefs.h. */ 19715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 19716 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 19717 #define $ac_func innocuous_$ac_func 19718 19719 /* System header to define __stub macros and hopefully few prototypes, 19720 which can conflict with char $ac_func (); below. 19721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 19722 <limits.h> exists even on freestanding compilers. */ 19723 19724 #ifdef __STDC__ 19725 # include <limits.h> 19726 #else 19727 # include <assert.h> 19728 #endif 19729 19730 #undef $ac_func 19731 19732 /* Override any gcc2 internal prototype to avoid an error. */ 19733 #ifdef __cplusplus 19734 extern "C" 19735 { 19736 #endif 19737 /* We use char because int might match the return type of a gcc2 19738 builtin and then its argument prototype would still apply. */ 19739 char $ac_func (); 19740 /* The GNU C library defines this for functions which it implements 19741 to always fail with ENOSYS. Some functions are actually named 19742 something starting with __ and the normal name is an alias. */ 19743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 19744 choke me 19745 #else 19746 char (*f) () = $ac_func; 19747 #endif 19748 #ifdef __cplusplus 19749 } 19750 #endif 19751 19752 int 19753 main () 19754 { 19755 return f != $ac_func; 19756 ; 19757 return 0; 19758 } 19759 _ACEOF 19760 rm -f conftest.$ac_objext conftest$ac_exeext 19761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19762 (eval $ac_link) 2>conftest.er1 19763 ac_status=$? 19764 grep -v '^ *+' conftest.er1 >conftest.err 19765 rm -f conftest.er1 19766 cat conftest.err >&5 19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19768 (exit $ac_status); } && 19769 { ac_try='test -z "$ac_c_werror_flag" 19770 || test ! -s conftest.err' 19771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19772 (eval $ac_try) 2>&5 19773 ac_status=$? 19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19775 (exit $ac_status); }; } && 19776 { ac_try='test -s conftest$ac_exeext' 19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19778 (eval $ac_try) 2>&5 19779 ac_status=$? 19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19781 (exit $ac_status); }; }; then 19782 eval "$as_ac_var=yes" 19783 else 19784 echo "$as_me: failed program was:" >&5 19785 sed 's/^/| /' conftest.$ac_ext >&5 19786 19787 eval "$as_ac_var=no" 19788 fi 19789 rm -f conftest.err conftest.$ac_objext \ 19790 conftest$ac_exeext conftest.$ac_ext 19791 fi 19792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 19793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 19794 if test `eval echo '${'$as_ac_var'}'` = yes; then 19795 cat >>confdefs.h <<_ACEOF 19796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 19797 _ACEOF 19798 19799 fi 19800 done 19801 19802 19700 19803 ########################################################################### 19701 19804 # COIN_HAS_GLPK # … … 19995 20098 19996 20099 20100 ac_config_headers="$ac_config_headers glpk/config.h" 20101 20102 19997 20103 19998 20104 … … 20126 20232 fi 20127 20233 20128 # Transform confdefs.h into DEFS. 20129 # Protect against shell expansion while executing Makefile rules. 20130 # Protect against Makefile macro expansion. 20131 # 20132 # If the first sed substitution is executed (which looks for macros that 20133 # take arguments), then we branch to the quote section. Otherwise, 20134 # look for a macro that doesn't take arguments. 20135 cat >confdef2opt.sed <<\_ACEOF 20136 t clear 20137 : clear 20138 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 20139 t quote 20140 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 20141 t quote 20142 d 20143 : quote 20144 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 20145 s,\[,\\&,g 20146 s,\],\\&,g 20147 s,\$,$$,g 20148 p 20149 _ACEOF 20150 # We use echo to avoid assuming a particular line-breaking character. 20151 # The extra dot is to prevent the shell from consuming trailing 20152 # line-breaks from the sub-command output. A line-break within 20153 # single-quotes doesn't work because, if this script is created in a 20154 # platform that uses two characters for line-breaks (e.g., DOS), tr 20155 # would break. 20156 ac_LF_and_DOT=`echo; echo .` 20157 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 20158 rm -f confdef2opt.sed 20159 20234 DEFS=-DHAVE_CONFIG_H 20160 20235 20161 20236 ac_libobjs= … … 20554 20629 --file=FILE[:TEMPLATE] 20555 20630 instantiate the configuration file FILE 20631 --header=FILE[:TEMPLATE] 20632 instantiate the configuration header FILE 20556 20633 20557 20634 Configuration files: 20558 20635 $config_files 20636 20637 Configuration headers: 20638 $config_headers 20559 20639 20560 20640 Configuration commands: … … 20678 20758 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 20679 20759 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 20760 "glpk/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS glpk/config.h" ;; 20680 20761 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 20681 20762 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 20690 20771 if $ac_need_defaults; then 20691 20772 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 20773 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 20692 20774 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 20693 20775 fi … … 21108 21190 21109 21191 # 21192 # CONFIG_HEADER section. 21193 # 21194 21195 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 21196 # NAME is the cpp macro being defined and VALUE is the value it is being given. 21197 # 21198 # ac_d sets the value in "#define NAME VALUE" lines. 21199 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 21200 ac_dB='[ ].*$,\1#\2' 21201 ac_dC=' ' 21202 ac_dD=',;t' 21203 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 21204 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 21205 ac_uB='$,\1#\2define\3' 21206 ac_uC=' ' 21207 ac_uD=',;t' 21208 21209 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 21210 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 21211 case $ac_file in 21212 - | *:- | *:-:* ) # input from stdin 21213 cat >$tmp/stdin 21214 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 21215 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 21216 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 21217 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 21218 * ) ac_file_in=$ac_file.in ;; 21219 esac 21220 21221 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 21222 echo "$as_me: creating $ac_file" >&6;} 21223 21224 # First look for the input files in the build tree, otherwise in the 21225 # src tree. 21226 ac_file_inputs=`IFS=: 21227 for f in $ac_file_in; do 21228 case $f in 21229 -) echo $tmp/stdin ;; 21230 [\\/$]*) 21231 # Absolute (can't be DOS-style, as IFS=:) 21232 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 21233 echo "$as_me: error: cannot find input file: $f" >&2;} 21234 { (exit 1); exit 1; }; } 21235 # Do quote $f, to prevent DOS paths from being IFS'd. 21236 echo "$f";; 21237 *) # Relative 21238 if test -f "$f"; then 21239 # Build tree 21240 echo "$f" 21241 elif test -f "$srcdir/$f"; then 21242 # Source tree 21243 echo "$srcdir/$f" 21244 else 21245 # /dev/null tree 21246 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 21247 echo "$as_me: error: cannot find input file: $f" >&2;} 21248 { (exit 1); exit 1; }; } 21249 fi;; 21250 esac 21251 done` || { (exit 1); exit 1; } 21252 # Remove the trailing spaces. 21253 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 21254 21255 _ACEOF 21256 21257 # Transform confdefs.h into two sed scripts, `conftest.defines' and 21258 # `conftest.undefs', that substitutes the proper values into 21259 # config.h.in to produce config.h. The first handles `#define' 21260 # templates, and the second `#undef' templates. 21261 # And first: Protect against being on the right side of a sed subst in 21262 # config.status. Protect against being in an unquoted here document 21263 # in config.status. 21264 rm -f conftest.defines conftest.undefs 21265 # Using a here document instead of a string reduces the quoting nightmare. 21266 # Putting comments in sed scripts is not portable. 21267 # 21268 # `end' is used to avoid that the second main sed command (meant for 21269 # 0-ary CPP macros) applies to n-ary macro definitions. 21270 # See the Autoconf documentation for `clear'. 21271 cat >confdef2sed.sed <<\_ACEOF 21272 s/[\\&,]/\\&/g 21273 s,[\\$`],\\&,g 21274 t clear 21275 : clear 21276 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 21277 t end 21278 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 21279 : end 21280 _ACEOF 21281 # If some macros were called several times there might be several times 21282 # the same #defines, which is useless. Nevertheless, we may not want to 21283 # sort them, since we want the *last* AC-DEFINE to be honored. 21284 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 21285 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 21286 rm -f confdef2sed.sed 21287 21288 # This sed command replaces #undef with comments. This is necessary, for 21289 # example, in the case of _POSIX_SOURCE, which is predefined and required 21290 # on some systems where configure will not decide to define it. 21291 cat >>conftest.undefs <<\_ACEOF 21292 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 21293 _ACEOF 21294 21295 # Break up conftest.defines because some shells have a limit on the size 21296 # of here documents, and old seds have small limits too (100 cmds). 21297 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 21298 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 21299 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 21300 echo ' :' >>$CONFIG_STATUS 21301 rm -f conftest.tail 21302 while grep . conftest.defines >/dev/null 21303 do 21304 # Write a limited-size here document to $tmp/defines.sed. 21305 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 21306 # Speed up: don't consider the non `#define' lines. 21307 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 21308 # Work around the forget-to-reset-the-flag bug. 21309 echo 't clr' >>$CONFIG_STATUS 21310 echo ': clr' >>$CONFIG_STATUS 21311 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 21312 echo 'CEOF 21313 sed -f $tmp/defines.sed $tmp/in >$tmp/out 21314 rm -f $tmp/in 21315 mv $tmp/out $tmp/in 21316 ' >>$CONFIG_STATUS 21317 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 21318 rm -f conftest.defines 21319 mv conftest.tail conftest.defines 21320 done 21321 rm -f conftest.defines 21322 echo ' fi # grep' >>$CONFIG_STATUS 21323 echo >>$CONFIG_STATUS 21324 21325 # Break up conftest.undefs because some shells have a limit on the size 21326 # of here documents, and old seds have small limits too (100 cmds). 21327 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 21328 rm -f conftest.tail 21329 while grep . conftest.undefs >/dev/null 21330 do 21331 # Write a limited-size here document to $tmp/undefs.sed. 21332 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 21333 # Speed up: don't consider the non `#undef' 21334 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 21335 # Work around the forget-to-reset-the-flag bug. 21336 echo 't clr' >>$CONFIG_STATUS 21337 echo ': clr' >>$CONFIG_STATUS 21338 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 21339 echo 'CEOF 21340 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 21341 rm -f $tmp/in 21342 mv $tmp/out $tmp/in 21343 ' >>$CONFIG_STATUS 21344 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 21345 rm -f conftest.undefs 21346 mv conftest.tail conftest.undefs 21347 done 21348 rm -f conftest.undefs 21349 21350 cat >>$CONFIG_STATUS <<\_ACEOF 21351 # Let's still pretend it is `configure' which instantiates (i.e., don't 21352 # use $as_me), people would be surprised to read: 21353 # /* config.h. Generated by config.status. */ 21354 if test x"$ac_file" = x-; then 21355 echo "/* Generated by configure. */" >$tmp/config.h 21356 else 21357 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 21358 fi 21359 cat $tmp/in >>$tmp/config.h 21360 rm -f $tmp/in 21361 if test x"$ac_file" != x-; then 21362 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 21363 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 21364 echo "$as_me: $ac_file is unchanged" >&6;} 21365 else 21366 ac_dir=`(dirname "$ac_file") 2>/dev/null || 21367 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21368 X"$ac_file" : 'X\(//\)[^/]' \| \ 21369 X"$ac_file" : 'X\(//\)$' \| \ 21370 X"$ac_file" : 'X\(/\)' \| \ 21371 . : '\(.\)' 2>/dev/null || 21372 echo X"$ac_file" | 21373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 21374 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 21375 /^X\(\/\/\)$/{ s//\1/; q; } 21376 /^X\(\/\).*/{ s//\1/; q; } 21377 s/.*/./; q'` 21378 { if $as_mkdir_p; then 21379 mkdir -p "$ac_dir" 21380 else 21381 as_dir="$ac_dir" 21382 as_dirs= 21383 while test ! -d "$as_dir"; do 21384 as_dirs="$as_dir $as_dirs" 21385 as_dir=`(dirname "$as_dir") 2>/dev/null || 21386 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21387 X"$as_dir" : 'X\(//\)[^/]' \| \ 21388 X"$as_dir" : 'X\(//\)$' \| \ 21389 X"$as_dir" : 'X\(/\)' \| \ 21390 . : '\(.\)' 2>/dev/null || 21391 echo X"$as_dir" | 21392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 21393 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 21394 /^X\(\/\/\)$/{ s//\1/; q; } 21395 /^X\(\/\).*/{ s//\1/; q; } 21396 s/.*/./; q'` 21397 done 21398 test ! -n "$as_dirs" || mkdir $as_dirs 21399 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 21400 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 21401 { (exit 1); exit 1; }; }; } 21402 21403 rm -f $ac_file 21404 mv $tmp/config.h $ac_file 21405 fi 21406 else 21407 cat $tmp/config.h 21408 rm -f $tmp/config.h 21409 fi 21410 # Compute $ac_file's index in $config_headers. 21411 _am_stamp_count=1 21412 for _am_header in $config_headers :; do 21413 case $_am_header in 21414 $ac_file | $ac_file:* ) 21415 break ;; 21416 * ) 21417 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 21418 esac 21419 done 21420 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 21421 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21422 X$ac_file : 'X\(//\)[^/]' \| \ 21423 X$ac_file : 'X\(//\)$' \| \ 21424 X$ac_file : 'X\(/\)' \| \ 21425 . : '\(.\)' 2>/dev/null || 21426 echo X$ac_file | 21427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 21428 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 21429 /^X\(\/\/\)$/{ s//\1/; q; } 21430 /^X\(\/\).*/{ s//\1/; q; } 21431 s/.*/./; q'`/stamp-h$_am_stamp_count 21432 done 21433 _ACEOF 21434 cat >>$CONFIG_STATUS <<\_ACEOF 21435 21436 # 21110 21437 # CONFIG_COMMANDS section. 21111 21438 # -
ThirdParty/Glpk/trunk/configure.ac
r522 r735 52 52 AC_COIN_INIT_AUTO_TOOLS 53 53 54 AC_CHECK_FUNCS([vsnprintf]) 55 54 56 ########################################################################### 55 57 # COIN_HAS_GLPK # … … 86 88 AC_CONFIG_FILES([Makefile]) 87 89 90 AC_CONFIG_HEADER([glpk/config.h]) 91 88 92 AC_COIN_FINALIZE -
ThirdParty/Glpk/trunk/get.Glpk
r582 r735 2 2 3 3 set -e 4 glpk_ver=4.2 24 glpk_ver=4.23 5 5 6 6 wgetcmd=wget
Note: See TracChangeset
for help on using the changeset viewer.