- Timestamp:
- Apr 13, 2009, 10:59:00 PM (14 years ago)
- Location:
- branches/replacing_gnuplot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/replacing_gnuplot/README
r784 r786 45 45 consequence, the dependency is inherited by svndigest. 46 46 47 * Gnuplot. 47 * PLplot, http://plplot.sourceforge.net, and pkg-config utility, 48 http://pkg-config.freedesktop.org, to query infomration about 49 PLplot headers and libs. 48 50 49 51 * A standard C++ compliant compiler with one extension: svndigest -
branches/replacing_gnuplot/configure.ac
r784 r786 12 12 # Copyright (C) 2005 Jari Häkkinen, Peter Johansson 13 13 # Copyright (C) 2006 Jari Häkkinen 14 # Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson 15 # Copyright (C) 2009 Peter Johansson 14 # Copyright (C) 2007, 2008, 2009 Jari Häkkinen, Peter Johansson 16 15 # 17 16 # This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 82 81 AC_PATH_PROG([HELP2MAN], [help2man], [no]) 83 82 AM_CONDITIONAL([HAVE_HELP2MAN], [test x$HELP2MAN != xno]) 84 AC_PATH_PROG([GNUPLOT],[gnuplot],[no]) 85 AC_DEFINE_UNQUOTED([GNUPLOT_PATH], ["$GNUPLOT"], 86 [defined to gnuplot path (or no if gnuplot was not found)]) 83 PKG_PROG_PKG_CONFIG([0.23]) # look for pkg-config 87 84 88 85 # Save FLAGS … … 141 138 ]) 142 139 143 144 145 140 # Use SD_*FLAGS in tests 146 141 CPPFLAGS="$SD_CPPFLAGS $CPPFLAGS" … … 176 171 # check if svnversion is installed 177 172 AC_PATH_PROG([SVNVERSION], [svnversion], [no]) 173 174 # PLplot API checks 175 plplot_found="yes" 176 plplot_version=5.9 177 AC_CHECK_HEADER([plplot/plstream.h], 178 [if $PKG_CONFIG --atleast-version=$plplot_version plplotd-c++; then 179 PLPLOT_LDFLAGS=`$PKG_CONFIG --libs plplotd-c++` 180 AC_SUBST([PLPLOT_LDFLAGS]) 181 else 182 plplot_found="nolib" 183 fi], 184 plplot_found="noheader") 178 185 179 186 # checking if we build in a subversion WC … … 263 270 fi 264 271 272 # Non-existing PLplot API is fatal -- sub-sequent compilation will fail. 273 if (test "$plplot_found" = "noheader") ; then 274 AC_MSG_WARN([PLplot developer files cannot be found. Make sure PLplot 275 is installed.]) 276 all_reqs_ok="false" 277 elif (test "$plplot_found" = "nolib") ; then 278 AC_MSG_WARN([PLplot developer files found but not required API version. 279 Version at least $plplot_version is required. Please upgrade PLplot.]) 280 all_reqs_ok="false" 281 fi 282 265 283 if test $ac_cv_type_long_long_int != yes ; then 266 284 AC_MSG_WARN([Compiler $CXX does not support `long long'. … … 289 307 AC_MSG_NOTICE([ Linker flags: $SD_LDFLAGS $LDFLAGS]) 290 308 AC_MSG_NOTICE([ LIBS: $SD_LIBS $LIBS]) 309 AC_MSG_NOTICE([ PLPLOT_LDFLAGS: $PLPLOT_LDFLAGS]) 291 310 AC_MSG_NOTICE([ +++++++++++++++++++++++++++++++++++++++++++++++]) 292 311 AC_MSG_NOTICE([]) 293 312 294 # Failure to locate gnuplot is not considered fatal295 if (test "x$GNUPLOT" = "xno") ; then296 AC_MSG_WARN([Gnuplot was not found. svndigest will compile297 without gnuplot but will throw an exception at run-time. Please298 install gnuplot (available for a wide range of operating systems299 at http://www.gnuplot.info).])300 AC_MSG_NOTICE([])301 fi302 303 313 AC_MSG_NOTICE([Now type 'make && make check'.])
Note: See TracChangeset
for help on using the changeset viewer.