@@ -50,9 +50,7 @@ if test "x$GCC" = "xyes"; then
5050fi
5151changequote ( [ ,] ) dnl
5252
53- dnl gl_VISIBILITY
54- dnl : In encoder branch, we still export all library symbols :
55- HAVE_VISIBILITY=0
53+ AC_ARG_ENABLE ( [ visibility] , AS_HELP_STRING ( [ --enable-visibility] , [ Enable visibility definitions.] ) , [ gl_VISIBILITY] , [ HAVE_VISIBILITY=0] )
5654AM_CONDITIONAL([ HAVE_VISIBILITY] , [ test "x$HAVE_VISIBILITY" != "x0"] )
5755
5856# Checks for header files.
304302
305303AC_ARG_ENABLE ( [ dec265] , AS_HELP_STRING ( [ --disable-dec265] , [ Do not build dec265 decoder program.] ) )
306304AC_ARG_ENABLE ( [ sherlock265] , AS_HELP_STRING ( [ --disable-sherlock265] , [ Do not build sherlock265 visual inspection program.] ) )
305+ AC_ARG_ENABLE ( [ hdrcopy] , AS_HELP_STRING ( [ --disable-hdrcopy] , [ Do not build hdrcopy decoder program.] ) )
306+ AC_ARG_ENABLE ( [ enc265] , AS_HELP_STRING ( [ --disable-enc265] , [ Do not build enc265 encoder program.] ) )
307+ AC_ARG_ENABLE ( [ acceleration_speed] , AS_HELP_STRING ( [ --disable-acceleration_speed] , [ Do not build acceleration_speed test program.] ) )
307308
308309if eval "test x$enable_dec265 = x" ; then enable_dec265=yes ; fi
309310if eval "test x$enable_sherlock265 = x" ; then enable_sherlock265=yes ; fi
311+ if eval "test x$enable_hdrcopy = x" ; then enable_hdrcopy=yes ; fi
312+ if eval "test x$enable_enc265 = x" ; then enable_enc265=yes ; fi
313+ if eval "test x$enable_acceleration_speed = x" ; then enable_acceleration_speed=yes ; fi
310314
311315if eval "test x$enable_dec265 = xyes" || eval "test x$enable_sherlock265 = xyes" ; then
312316 PKG_CHECK_MODULES([ VIDEOGFX] , [ libvideogfx] ,
379383
380384AM_CONDITIONAL([ ENABLE_DEC265] , [ test "x$enable_dec265" != "xno"] )
381385AM_CONDITIONAL([ ENABLE_SHERLOCK265] , [ test "x$enable_sherlock265" != "xno"] )
386+ AM_CONDITIONAL([ ENABLE_HDRCOPY] , [ test "x$enable_hdrcopy" != "xno"] )
387+ AM_CONDITIONAL([ ENABLE_ENC265] , [ test "x$enable_enc265" != "xno"] )
388+ AM_CONDITIONAL([ ENABLE_ACCELERATION_SPEED] , [ test "x$enable_acceleration_speed" != "xno"] )
382389
383390
384391# --- output configuration results ---
@@ -387,6 +394,9 @@ AC_MSG_NOTICE([---------------------------------------])
387394AC_MSG_NOTICE ( [ Processor acceleration: $MSG_ACCELERATION_OPTION] )
388395AC_MSG_NOTICE ( [ Building dec265 example: $enable_dec265] )
389396AC_MSG_NOTICE ( [ Building sherlock265 example: $enable_sherlock265] )
397+ AC_MSG_NOTICE ( [ Building hdrcopy example: $enable_hdrcopy] )
398+ AC_MSG_NOTICE ( [ Building enc265 example: $enable_enc265] )
399+ AC_MSG_NOTICE ( [ Building acceleration_speed example: $enable_acceleration_speed] )
390400AC_MSG_NOTICE ( [ ---------------------------------------] )
391401
392402AC_CONFIG_FILES ( [ Makefile] )
0 commit comments