Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(570637)

Side by Side Diff: configure.ac

Issue 815: Render analyzer frame using cairo
Patch Set: Render analyzer frame using cairo Created 4 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Makefile.am ('k') | examples/analyzer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # autoconf source script for generating configure 1 # autoconf source script for generating configure
2 2
3 dnl The package_version file will be automatically synced to the git revision 3 dnl The package_version file will be automatically synced to the git revision
4 dnl by the update_version script when configured in the repository, but will 4 dnl by the update_version script when configured in the repository, but will
5 dnl remain constant in tarball releases unless it is manually edited. 5 dnl remain constant in tarball releases unless it is manually edited.
6 m4_define([CURRENT_VERSION], 6 m4_define([CURRENT_VERSION],
7 m4_esyscmd([ if test -e package_version || ./update_version; then 7 m4_esyscmd([ if test -e package_version || ./update_version; then
8 . ./package_version 8 . ./package_version
9 printf "$PACKAGE_VERSION" 9 printf "$PACKAGE_VERSION"
10 else 10 else
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 dnl Set LIBM to the math library if needed. 103 dnl Set LIBM to the math library if needed.
104 LT_LIB_M 104 LT_LIB_M
105 105
106 AC_CHECK_FUNCS([gettimeofday ftime],[break]) 106 AC_CHECK_FUNCS([gettimeofday ftime],[break])
107 107
108 AS_IF([test "$enable_player" = "yes"], [ 108 AS_IF([test "$enable_player" = "yes"], [
109 PKG_CHECK_MODULES([SDL], [sdl2]) 109 PKG_CHECK_MODULES([SDL], [sdl2])
110 PKG_CHECK_MODULES([OGG], [ogg >= 1.3]) 110 PKG_CHECK_MODULES([OGG], [ogg >= 1.3])
111 ]) 111 ])
112 AM_CONDITIONAL([ENABLE_PLAYER_EXAMPLE], [test "$enable_player" = "yes"]) 112 AM_CONDITIONAL([ENABLE_PLAYER_EXAMPLE], [test "$enable_player" = "yes"])
113
114 dnl check for libcairo
115 HAVE_CAIRO=no
116 PKG_CHECK_MODULES(CAIRO, cairo, HAVE_CAIRO=yes, HAVE_CAIRO=no)
117 AC_DEFINE([HAVE_CAIRO], [], [libcairo is available for analyzer output])
113 118
114 #CC_ATTRIBUTE_VISIBILITY([default], [ 119 #CC_ATTRIBUTE_VISIBILITY([default], [
115 # CC_FLAG_VISIBILITY([CFLAGS="${CFLAGS} -fvisibility=hidden"]) 120 # CC_FLAG_VISIBILITY([CFLAGS="${CFLAGS} -fvisibility=hidden"])
116 #]) 121 #])
117 122
118 dnl Check for tools 123 dnl Check for tools
119 AC_ARG_ENABLE([tools], 124 AC_ARG_ENABLE([tools],
120 AC_HELP_STRING([--disable-tools], [Disable the tools]),, 125 AC_HELP_STRING([--disable-tools], [Disable the tools]),,
121 [enable_tools=yes]) 126 [enable_tools=yes])
122 127
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 if test "$wxWin" != 1 || test "$wx_ver_ok" != "yes"; then 350 if test "$wxWin" != 1 || test "$wx_ver_ok" != "yes"; then
346 AC_MSG_ERROR([ 351 AC_MSG_ERROR([
347 wxWidgets 2.8.0 must be installed on your system to build the stream 352 wxWidgets 2.8.0 must be installed on your system to build the stream
348 analyzer. Please install or update your wxWidgets. 353 analyzer. Please install or update your wxWidgets.
349 ]) 354 ])
350 fi 355 fi
351 if test "$enable_accounting" != "yes"; then 356 if test "$enable_accounting" != "yes"; then
352 AC_MSG_ERROR([ 357 AC_MSG_ERROR([
353 The analyzer requires --enable-accounting to function properly. 358 The analyzer requires --enable-accounting to function properly.
354 ]) 359 ])
360 fi
361 if test x$HAVE_CAIRO != xyes; then
362 AC_MSG_WARN([libcairo not found -- required to build the analyzer ])
355 fi 363 fi
356 ]) 364 ])
357 AM_CONDITIONAL([ENABLE_ANALYZER], [test "$enable_analyzer" = "yes"]) 365 AM_CONDITIONAL([ENABLE_ANALYZER], [test "$enable_analyzer" = "yes"])
358 366
359 AC_CONFIG_FILES([ 367 AC_CONFIG_FILES([
360 Makefile 368 Makefile
361 daalaenc.pc 369 daalaenc.pc
362 daaladec.pc 370 daaladec.pc
363 daalaenc-uninstalled.pc 371 daalaenc-uninstalled.pc
364 daaladec-uninstalled.pc 372 daaladec-uninstalled.pc
(...skipping 23 matching lines...) Expand all
388 Unit tests ................... ${enable_unit_tests} 396 Unit tests ................... ${enable_unit_tests}
389 Examples...................... ${enable_examples} 397 Examples...................... ${enable_examples}
390 Example Player................ ${enable_player} 398 Example Player................ ${enable_player}
391 Stream Analyzer .............. ${enable_analyzer} 399 Stream Analyzer .............. ${enable_analyzer}
392 ------------------------------------------------------------------------ 400 ------------------------------------------------------------------------
393 401
394 Use "make tools" to compile the tools. 402 Use "make tools" to compile the tools.
395 Use "make clean && make debug" to enable assertions and logging 403 Use "make clean && make debug" to enable assertions and logging
396 without needing to reconfigure the source tree. 404 without needing to reconfigure the source tree.
397 ]) 405 ])
OLDNEW
« no previous file with comments | « Makefile.am ('k') | examples/analyzer.cc » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld