Ignore:
Timestamp:
Nov 20, 2012 10:30:18 AM (7 years ago)
Author:
stefan
Message:

support glpk 4.47 now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Glpk/trunk/configure

    r2623 r2639  
    434434PACKAGE_BUGREPORT='http://projects.coin-or.org/BuildTools/newticket'
    435435
    436 ac_unique_file="glpk/include/glpk.h"
     436ac_unique_file="glpk/src/glpk.h"
    437437ac_default_prefix=`pwd`
    438438# Factoring default headers for most tests.
     
    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 ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion GLPK_SVN_REV build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED EGREP LN_S 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 glpkmajorver glpkminorver COIN_HAS_ZLIB_TRUE COIN_HAS_ZLIB_FALSE GLPKDIR GLPK_PCLIBS 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 ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion GLPK_SVN_REV build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED EGREP LN_S 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 glpkmajorver glpkminorver GLPKDIR GLPK_PCLIBS LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    10791079                          optimize for fast installation [default=yes]
    10801080  --disable-libtool-lock  avoid locking (might break parallel builds)
    1081   --disable-zlib          do not compile with compression library zlib
    10821081  --disable-gmp           do not compile with GNU multiple precision library
    10831082  --enable-odbc           enable MathProg ODBC support [default=auto]
     
    50495048*-*-irix6*)
    50505049  # Find out which ABI we are using.
    5051   echo '#line 5051 "configure"' > conftest.$ac_ext
     5050  echo '#line 5050 "configure"' > conftest.$ac_ext
    50525051  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    50535052  (eval $ac_compile) 2>&5
     
    66486647
    66496648# Provide some information about the compiler.
    6650 echo "$as_me:6650:" \
     6649echo "$as_me:6649:" \
    66516650     "checking for Fortran 77 compiler version" >&5
    66526651ac_compiler=`set X $ac_compile; echo $2`
     
    77157714   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    77167715   -e 's:$: $lt_compiler_flag:'`
    7717    (eval echo "\"\$as_me:7717: $lt_compile\"" >&5)
     7716   (eval echo "\"\$as_me:7716: $lt_compile\"" >&5)
    77187717   (eval "$lt_compile" 2>conftest.err)
    77197718   ac_status=$?
    77207719   cat conftest.err >&5
    7721    echo "$as_me:7721: \$? = $ac_status" >&5
     7720   echo "$as_me:7720: \$? = $ac_status" >&5
    77227721   if (exit $ac_status) && test -s "$ac_outfile"; then
    77237722     # The compiler can only warn and ignore the option if not recognized
     
    79837982   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    79847983   -e 's:$: $lt_compiler_flag:'`
    7985    (eval echo "\"\$as_me:7985: $lt_compile\"" >&5)
     7984   (eval echo "\"\$as_me:7984: $lt_compile\"" >&5)
    79867985   (eval "$lt_compile" 2>conftest.err)
    79877986   ac_status=$?
    79887987   cat conftest.err >&5
    7989    echo "$as_me:7989: \$? = $ac_status" >&5
     7988   echo "$as_me:7988: \$? = $ac_status" >&5
    79907989   if (exit $ac_status) && test -s "$ac_outfile"; then
    79917990     # The compiler can only warn and ignore the option if not recognized
     
    80878086   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    80888087   -e 's:$: $lt_compiler_flag:'`
    8089    (eval echo "\"\$as_me:8089: $lt_compile\"" >&5)
     8088   (eval echo "\"\$as_me:8088: $lt_compile\"" >&5)
    80908089   (eval "$lt_compile" 2>out/conftest.err)
    80918090   ac_status=$?
    80928091   cat out/conftest.err >&5
    8093    echo "$as_me:8093: \$? = $ac_status" >&5
     8092   echo "$as_me:8092: \$? = $ac_status" >&5
    80948093   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    80958094   then
     
    1043210431  lt_status=$lt_dlunknown
    1043310432  cat > conftest.$ac_ext <<EOF
    10434 #line 10434 "configure"
     10433#line 10433 "configure"
    1043510434#include "confdefs.h"
    1043610435
     
    1053210531  lt_status=$lt_dlunknown
    1053310532  cat > conftest.$ac_ext <<EOF
    10534 #line 10534 "configure"
     10533#line 10533 "configure"
    1053510534#include "confdefs.h"
    1053610535
     
    1287612875   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1287712876   -e 's:$: $lt_compiler_flag:'`
    12878    (eval echo "\"\$as_me:12878: $lt_compile\"" >&5)
     12877   (eval echo "\"\$as_me:12877: $lt_compile\"" >&5)
    1287912878   (eval "$lt_compile" 2>conftest.err)
    1288012879   ac_status=$?
    1288112880   cat conftest.err >&5
    12882    echo "$as_me:12882: \$? = $ac_status" >&5
     12881   echo "$as_me:12881: \$? = $ac_status" >&5
    1288312882   if (exit $ac_status) && test -s "$ac_outfile"; then
    1288412883     # The compiler can only warn and ignore the option if not recognized
     
    1298012979   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1298112980   -e 's:$: $lt_compiler_flag:'`
    12982    (eval echo "\"\$as_me:12982: $lt_compile\"" >&5)
     12981   (eval echo "\"\$as_me:12981: $lt_compile\"" >&5)
    1298312982   (eval "$lt_compile" 2>out/conftest.err)
    1298412983   ac_status=$?
    1298512984   cat out/conftest.err >&5
    12986    echo "$as_me:12986: \$? = $ac_status" >&5
     12985   echo "$as_me:12985: \$? = $ac_status" >&5
    1298712986   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1298812987   then
     
    1455014549   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1455114550   -e 's:$: $lt_compiler_flag:'`
    14552    (eval echo "\"\$as_me:14552: $lt_compile\"" >&5)
     14551   (eval echo "\"\$as_me:14551: $lt_compile\"" >&5)
    1455314552   (eval "$lt_compile" 2>conftest.err)
    1455414553   ac_status=$?
    1455514554   cat conftest.err >&5
    14556    echo "$as_me:14556: \$? = $ac_status" >&5
     14555   echo "$as_me:14555: \$? = $ac_status" >&5
    1455714556   if (exit $ac_status) && test -s "$ac_outfile"; then
    1455814557     # The compiler can only warn and ignore the option if not recognized
     
    1465414653   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1465514654   -e 's:$: $lt_compiler_flag:'`
    14656    (eval echo "\"\$as_me:14656: $lt_compile\"" >&5)
     14655   (eval echo "\"\$as_me:14655: $lt_compile\"" >&5)
    1465714656   (eval "$lt_compile" 2>out/conftest.err)
    1465814657   ac_status=$?
    1465914658   cat out/conftest.err >&5
    14660    echo "$as_me:14660: \$? = $ac_status" >&5
     14659   echo "$as_me:14659: \$? = $ac_status" >&5
    1466114660   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1466214661   then
     
    1686116860   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1686216861   -e 's:$: $lt_compiler_flag:'`
    16863    (eval echo "\"\$as_me:16863: $lt_compile\"" >&5)
     16862   (eval echo "\"\$as_me:16862: $lt_compile\"" >&5)
    1686416863   (eval "$lt_compile" 2>conftest.err)
    1686516864   ac_status=$?
    1686616865   cat conftest.err >&5
    16867    echo "$as_me:16867: \$? = $ac_status" >&5
     16866   echo "$as_me:16866: \$? = $ac_status" >&5
    1686816867   if (exit $ac_status) && test -s "$ac_outfile"; then
    1686916868     # The compiler can only warn and ignore the option if not recognized
     
    1712917128   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1713017129   -e 's:$: $lt_compiler_flag:'`
    17131    (eval echo "\"\$as_me:17131: $lt_compile\"" >&5)
     17130   (eval echo "\"\$as_me:17130: $lt_compile\"" >&5)
    1713217131   (eval "$lt_compile" 2>conftest.err)
    1713317132   ac_status=$?
    1713417133   cat conftest.err >&5
    17135    echo "$as_me:17135: \$? = $ac_status" >&5
     17134   echo "$as_me:17134: \$? = $ac_status" >&5
    1713617135   if (exit $ac_status) && test -s "$ac_outfile"; then
    1713717136     # The compiler can only warn and ignore the option if not recognized
     
    1723317232   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1723417233   -e 's:$: $lt_compiler_flag:'`
    17235    (eval echo "\"\$as_me:17235: $lt_compile\"" >&5)
     17234   (eval echo "\"\$as_me:17234: $lt_compile\"" >&5)
    1723617235   (eval "$lt_compile" 2>out/conftest.err)
    1723717236   ac_status=$?
    1723817237   cat out/conftest.err >&5
    17239    echo "$as_me:17239: \$? = $ac_status" >&5
     17238   echo "$as_me:17238: \$? = $ac_status" >&5
    1724017239   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1724117240   then
     
    2014720146echo "$as_me:$LINENO: checking GLPK version" >&5
    2014820147echo $ECHO_N "checking GLPK version... $ECHO_C" >&6
    20149 glpkmajorver=`awk '/define GLP_MAJOR_VERSION/ {print $3}' $srcdir/glpk/include/glpk.h`
    20150 glpkminorver=`awk '/define GLP_MINOR_VERSION/ {print $3}' $srcdir/glpk/include/glpk.h`
     20148glpkmajorver=`awk '/define GLP_MAJOR_VERSION/ {print $3}' $srcdir/glpk/src/glpk.h`
     20149glpkminorver=`awk '/define GLP_MINOR_VERSION/ {print $3}' $srcdir/glpk/src/glpk.h`
    2015120150echo "$as_me:$LINENO: result: ${glpkmajorver}.${glpkminorver}" >&5
    2015220151echo "${ECHO_T}${glpkmajorver}.${glpkminorver}" >&6
    20153 if test x$glpkmajorver != x4 || ( test x$glpkminorver != x44 && test x$glpkminorver != x45 ); then
    20154   { { echo "$as_me:$LINENO: error: \"Incorrect GLPK version. This build system is made for GLPK 4.44 or 4.45. Please update by rerunning get.GLPK\"" >&5
    20155 echo "$as_me: error: \"Incorrect GLPK version. This build system is made for GLPK 4.44 or 4.45. Please update by rerunning get.GLPK\"" >&2;}
     20152if test x$glpkmajorver != x4 || test x$glpkminorver != x47 ; then
     20153  { { echo "$as_me:$LINENO: error: \"Incorrect GLPK version. This build system is made for GLPK 4.47. Please update by rerunning get.GLPK\"" >&5
     20154echo "$as_me: error: \"Incorrect GLPK version. This build system is made for GLPK 4.47. Please update by rerunning get.GLPK\"" >&2;}
    2015620155   { (exit 1); exit 1; }; }
    2015720156fi
     
    2016920168ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2017020169
    20171 
    20172 
    20173 
    20174 
    20175 
    20176 
    20177 
    20178 coin_has_zlib=no
    20179 
    20180 # Check whether --enable-zlib or --disable-zlib was given.
    20181 if test "${enable_zlib+set}" = set; then
    20182   enableval="$enable_zlib"
    20183   coin_enable_zlib=$enableval
    20184 else
    20185   coin_enable_zlib=yes
    20186 fi;
    20187 
    20188 if test $coin_enable_zlib = yes; then
    20189   #if test x"" = x; then
    20190 #  hdr="#include <zlib.h>"
    20191 #else
    20192 #  hdr=""
    20193 #fi
    20194 #AC_CHECK_HEADERS([zlib.h],[coin_has_zlib=yes],[],[$hdr])
    20195 
    20196 for ac_header in zlib.h
    20197 do
    20198 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    20199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    20200   echo "$as_me:$LINENO: checking for $ac_header" >&5
    20201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    20202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    20203   echo $ECHO_N "(cached) $ECHO_C" >&6
    20204 fi
    20205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    20206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    20207 else
    20208   # Is the header compilable?
    20209 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    20210 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    20211 cat >conftest.$ac_ext <<_ACEOF
    20212 /* confdefs.h.  */
    20213 _ACEOF
    20214 cat confdefs.h >>conftest.$ac_ext
    20215 cat >>conftest.$ac_ext <<_ACEOF
    20216 /* end confdefs.h.  */
    20217 $ac_includes_default
    20218 #include <$ac_header>
    20219 _ACEOF
    20220 rm -f conftest.$ac_objext
    20221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    20222   (eval $ac_compile) 2>conftest.er1
    20223   ac_status=$?
    20224   grep -v '^ *+' conftest.er1 >conftest.err
    20225   rm -f conftest.er1
    20226   cat conftest.err >&5
    20227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20228   (exit $ac_status); } &&
    20229          { ac_try='test -z "$ac_c_werror_flag"
    20230                          || test ! -s conftest.err'
    20231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20232   (eval $ac_try) 2>&5
    20233   ac_status=$?
    20234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20235   (exit $ac_status); }; } &&
    20236          { ac_try='test -s conftest.$ac_objext'
    20237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20238   (eval $ac_try) 2>&5
    20239   ac_status=$?
    20240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20241   (exit $ac_status); }; }; then
    20242   ac_header_compiler=yes
    20243 else
    20244   echo "$as_me: failed program was:" >&5
    20245 sed 's/^/| /' conftest.$ac_ext >&5
    20246 
    20247 ac_header_compiler=no
    20248 fi
    20249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    20250 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    20251 echo "${ECHO_T}$ac_header_compiler" >&6
    20252 
    20253 # Is the header present?
    20254 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    20255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    20256 cat >conftest.$ac_ext <<_ACEOF
    20257 /* confdefs.h.  */
    20258 _ACEOF
    20259 cat confdefs.h >>conftest.$ac_ext
    20260 cat >>conftest.$ac_ext <<_ACEOF
    20261 /* end confdefs.h.  */
    20262 #include <$ac_header>
    20263 _ACEOF
    20264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    20265   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    20266   ac_status=$?
    20267   grep -v '^ *+' conftest.er1 >conftest.err
    20268   rm -f conftest.er1
    20269   cat conftest.err >&5
    20270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20271   (exit $ac_status); } >/dev/null; then
    20272   if test -s conftest.err; then
    20273     ac_cpp_err=$ac_c_preproc_warn_flag
    20274     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    20275   else
    20276     ac_cpp_err=
    20277   fi
    20278 else
    20279   ac_cpp_err=yes
    20280 fi
    20281 if test -z "$ac_cpp_err"; then
    20282   ac_header_preproc=yes
    20283 else
    20284   echo "$as_me: failed program was:" >&5
    20285 sed 's/^/| /' conftest.$ac_ext >&5
    20286 
    20287   ac_header_preproc=no
    20288 fi
    20289 rm -f conftest.err conftest.$ac_ext
    20290 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    20291 echo "${ECHO_T}$ac_header_preproc" >&6
    20292 
    20293 # So?  What about this header?
    20294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    20295   yes:no: )
    20296     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    20297 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    20298     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    20299 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    20300     ac_header_preproc=yes
    20301     ;;
    20302   no:yes:* )
    20303     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    20304 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    20305     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    20306 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    20307     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    20308 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    20309     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    20310 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    20311     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    20312 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    20313     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    20314 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    20315     (
    20316       cat <<\_ASBOX
    20317 ## --------------------------------------------------------------- ##
    20318 ## Report this to http://projects.coin-or.org/BuildTools/newticket ##
    20319 ## --------------------------------------------------------------- ##
    20320 _ASBOX
    20321     ) |
    20322       sed "s/^/$as_me: WARNING:     /" >&2
    20323     ;;
    20324 esac
    20325 echo "$as_me:$LINENO: checking for $ac_header" >&5
    20326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    20327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    20328   echo $ECHO_N "(cached) $ECHO_C" >&6
    20329 else
    20330   eval "$as_ac_Header=\$ac_header_preproc"
    20331 fi
    20332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    20333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    20334 
    20335 fi
    20336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    20337   cat >>confdefs.h <<_ACEOF
    20338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    20339 _ACEOF
    20340  coin_has_zlib=yes
    20341 fi
    20342 
    20343 done
    20344 
    20345 
    20346 
    20347   if test $coin_has_zlib = yes; then
    20348     echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
    20349 echo $ECHO_N "checking for gzopen in -lz... $ECHO_C" >&6
    20350 if test "${ac_cv_lib_z_gzopen+set}" = set; then
    20351   echo $ECHO_N "(cached) $ECHO_C" >&6
    20352 else
    20353   ac_check_lib_save_LIBS=$LIBS
    20354 LIBS="-lz  $LIBS"
    20355 cat >conftest.$ac_ext <<_ACEOF
    20356 /* confdefs.h.  */
    20357 _ACEOF
    20358 cat confdefs.h >>conftest.$ac_ext
    20359 cat >>conftest.$ac_ext <<_ACEOF
    20360 /* end confdefs.h.  */
    20361 
    20362 /* Override any gcc2 internal prototype to avoid an error.  */
    20363 #ifdef __cplusplus
    20364 extern "C"
    20365 #endif
    20366 /* We use char because int might match the return type of a gcc2
    20367    builtin and then its argument prototype would still apply.  */
    20368 char gzopen ();
    20369 int
    20370 main ()
    20371 {
    20372 gzopen ();
    20373   ;
    20374   return 0;
    20375 }
    20376 _ACEOF
    20377 rm -f conftest.$ac_objext conftest$ac_exeext
    20378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    20379   (eval $ac_link) 2>conftest.er1
    20380   ac_status=$?
    20381   grep -v '^ *+' conftest.er1 >conftest.err
    20382   rm -f conftest.er1
    20383   cat conftest.err >&5
    20384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20385   (exit $ac_status); } &&
    20386          { ac_try='test -z "$ac_c_werror_flag"
    20387                          || test ! -s conftest.err'
    20388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20389   (eval $ac_try) 2>&5
    20390   ac_status=$?
    20391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20392   (exit $ac_status); }; } &&
    20393          { ac_try='test -s conftest$ac_exeext'
    20394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20395   (eval $ac_try) 2>&5
    20396   ac_status=$?
    20397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20398   (exit $ac_status); }; }; then
    20399   ac_cv_lib_z_gzopen=yes
    20400 else
    20401   echo "$as_me: failed program was:" >&5
    20402 sed 's/^/| /' conftest.$ac_ext >&5
    20403 
    20404 ac_cv_lib_z_gzopen=no
    20405 fi
    20406 rm -f conftest.err conftest.$ac_objext \
    20407       conftest$ac_exeext conftest.$ac_ext
    20408 LIBS=$ac_check_lib_save_LIBS
    20409 fi
    20410 echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
    20411 echo "${ECHO_T}$ac_cv_lib_z_gzopen" >&6
    20412 if test $ac_cv_lib_z_gzopen = yes; then
    20413   :
    20414 else
    20415   coin_has_zlib=no
    20416 fi
    20417 
    20418   fi
    20419 
    20420   if test $coin_has_zlib = yes; then
    20421 
    20422                     GLPK_LIBS="-lz $GLPK_LIBS"
    20423                     GLPK_PCLIBS="-lz $GLPK_PCLIBS"
    20424                     GLPK_LIBS_INSTALLED="-lz $GLPK_LIBS_INSTALLED"
    20425 
    20426 
    20427 cat >>confdefs.h <<\_ACEOF
    20428 #define COIN_HAS_ZLIB 1
    20429 _ACEOF
    20430 
    20431   fi
    20432 fi
    20433 
    20434 
    20435 
    20436 if test x$coin_has_zlib = xyes; then
    20437   COIN_HAS_ZLIB_TRUE=
    20438   COIN_HAS_ZLIB_FALSE='#'
    20439 else
    20440   COIN_HAS_ZLIB_TRUE='#'
    20441   COIN_HAS_ZLIB_FALSE=
    20442 fi
    20443 
    20444 
    20445 if test $coin_has_zlib = "yes"; then
    20446 
    20447 cat >>confdefs.h <<\_ACEOF
    20448 #define HAVE_ZLIB 1
    20449 _ACEOF
    20450 
    20451 fi
    2045220170
    2045320171
     
    2247322191Usually this means the macro was only invoked conditionally." >&5
    2247422192echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
    22475 Usually this means the macro was only invoked conditionally." >&2;}
    22476    { (exit 1); exit 1; }; }
    22477 fi
    22478 if test -z "${COIN_HAS_ZLIB_TRUE}" && test -z "${COIN_HAS_ZLIB_FALSE}"; then
    22479   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ZLIB\" was never defined.
    22480 Usually this means the macro was only invoked conditionally." >&5
    22481 echo "$as_me: error: conditional \"COIN_HAS_ZLIB\" was never defined.
    2248222193Usually this means the macro was only invoked conditionally." >&2;}
    2248322194   { (exit 1); exit 1; }; }
     
    2312122832s,@glpkmajorver@,$glpkmajorver,;t t
    2312222833s,@glpkminorver@,$glpkminorver,;t t
    23123 s,@COIN_HAS_ZLIB_TRUE@,$COIN_HAS_ZLIB_TRUE,;t t
    23124 s,@COIN_HAS_ZLIB_FALSE@,$COIN_HAS_ZLIB_FALSE,;t t
    2312522834s,@GLPKDIR@,$GLPKDIR,;t t
    2312622835s,@GLPK_PCLIBS@,$GLPK_PCLIBS,;t t
Note: See TracChangeset for help on using the changeset viewer.