Changeset 858 for trunk/configure.ac
- Timestamp:
- Nov 19, 2009, 8:45:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r847 r858 82 82 AC_PATH_PROG([HELP2MAN], [help2man], [no]) 83 83 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)]) 84 PKG_PROG_PKG_CONFIG([0.23]) # look for pkg-config 87 85 88 86 # Save FLAGS … … 178 176 # check if svnversion is installed 179 177 AC_PATH_PROG([SVNVERSION], [svnversion], [no]) 178 179 # PLplot API checks 180 plplot_found="yes" 181 plplot_version=5.9 182 AC_CHECK_HEADER([plplot/plstream.h], 183 [if $PKG_CONFIG --atleast-version=$plplot_version plplotd-c++; then 184 PLPLOT_LDFLAGS=`$PKG_CONFIG --libs plplotd-c++` 185 AC_SUBST([PLPLOT_LDFLAGS]) 186 else 187 plplot_found="nolib" 188 fi], 189 plplot_found="noheader") 180 190 181 191 # checking if we build in a subversion WC … … 268 278 fi 269 279 280 # Non-existing PLplot API is fatal -- sub-sequent compilation will fail. 281 if (test "$plplot_found" = "noheader") ; then 282 AC_MSG_WARN([PLplot developer files cannot be found. Make sure PLplot 283 is installed.]) 284 all_reqs_ok="false" 285 elif (test "$plplot_found" = "nolib") ; then 286 AC_MSG_WARN([PLplot developer files found but not required API version. 287 Version at least $plplot_version is required. Please upgrade PLplot.]) 288 all_reqs_ok="false" 289 fi 290 270 291 if test $ac_cv_type_long_long_int != yes ; then 271 292 AC_MSG_WARN([Compiler $CXX does not support `long long'. … … 294 315 AC_MSG_NOTICE([ Linker flags: $SD_LDFLAGS $LDFLAGS]) 295 316 AC_MSG_NOTICE([ LIBS: $SD_LIBS $LIBS]) 317 AC_MSG_NOTICE([ PLPLOT_LDFLAGS: $PLPLOT_LDFLAGS]) 296 318 AC_MSG_NOTICE([ +++++++++++++++++++++++++++++++++++++++++++++++]) 297 319 AC_MSG_NOTICE([]) 298 320 299 # Failure to locate gnuplot is not considered fatal300 if (test "x$GNUPLOT" = "xno") ; then301 AC_MSG_WARN([Gnuplot was not found. svndigest will compile302 without gnuplot but will throw an exception at run-time. Please303 install gnuplot (available for a wide range of operating systems304 at http://www.gnuplot.info).])305 AC_MSG_NOTICE([])306 fi307 308 321 AC_MSG_NOTICE([Now type 'make && make check'.])
Note: See TracChangeset
for help on using the changeset viewer.