Lines 177-189
Link Here
|
177 |
AC_DEFINE([WITH_GLEW], [1], [Define to 1 to use GLEW]) |
177 |
AC_DEFINE([WITH_GLEW], [1], [Define to 1 to use GLEW]) |
178 |
]) |
178 |
]) |
179 |
|
179 |
|
|
|
180 |
have_libmpeg2=no |
180 |
AC_ARG_WITH(libmpeg2, AS_HELP_STRING( |
181 |
AC_ARG_WITH(libmpeg2, AS_HELP_STRING( |
181 |
[--without-libmpeg2], [or --with-libmpeg=builtin to use included version])) |
182 |
[--without-libmpeg2], [or --with-libmpeg=builtin to use included version])) |
182 |
AM_CONDITIONAL([BUILTIN_LIBMPEG2], [test x$with_libmpeg2 = xbuiltin]) |
183 |
AM_CONDITIONAL([BUILTIN_LIBMPEG2], [test x$with_libmpeg2 = xbuiltin]) |
183 |
AS_IF([test "x$with_libmpeg2" != xno], [ |
184 |
AS_IF([test "x$with_libmpeg2" != xno], [ |
184 |
AS_IF([test "x$with_libmpeg2" = xbuiltin], [ |
185 |
AS_IF([test "x$with_libmpeg2" = xbuiltin], [ |
185 |
], [ |
186 |
], [ |
186 |
PKG_CHECK_MODULES([LIBMPEG2], [libmpeg2 libmpeg2convert]) |
187 |
PKG_CHECK_MODULES([LIBMPEG2], [libmpeg2 libmpeg2convert], [have_libmpeg2=yes]) |
187 |
]) |
188 |
]) |
188 |
AC_DEFINE([WITH_LIBMPEG2], [1], [Define to 1 to use libmpeg2]) |
189 |
AC_DEFINE([WITH_LIBMPEG2], [1], [Define to 1 to use libmpeg2]) |
189 |
]) |
190 |
]) |
Lines 750-756
Link Here
|
750 |
|
751 |
|
751 |
AC_DEFINE([FPU_UAE], [1], [Define to 1]) |
752 |
AC_DEFINE([FPU_UAE], [1], [Define to 1]) |
752 |
|
753 |
|
753 |
AC_CONFIG_SUBDIRS([libmpeg2]) |
754 |
AS_IF([test "x$have_libmpeg2" != xyes], [ |
|
|
755 |
AS_IF([test "x$with_libmpeg2" = xbuiltin], [ |
756 |
AC_CONFIG_SUBDIRS([libmpeg2]) |
757 |
]) |
758 |
]) |
754 |
|
759 |
|
755 |
# Write Makefile |
760 |
# Write Makefile |
756 |
|
761 |
|