K9Copy – DVD backup tool
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

50 lines
1.3 KiB

#MIN_CONFIG(3.0.0)
KDE_ENABLE_HIDDEN_VISIBILITY
KDE_INIT_DOXYGEN([KDE Utils API Reference], [Version $VERSION])
AM_INIT_AUTOMAKE(k9copy, 1.2.4)
AC_C_BIGENDIAN
AC_CHECK_KDEMAXPATHLEN
case "$target" in
i?86-* | k?-*)
AC_DEFINE([ARCH_X86],,[x86 architecture])
AC_DEFINE([ARCH_386],,[386 architecture])
ARCH_X86=yes
ARCH_386=yes
ARCH_X86_64=no
;;
x86_64-*)
AC_DEFINE([ARCH_X86_64],,[x86_64 architecture])
ARCH_X86=no
ARCH_386=no
ARCH_X86_64=yes
;;
*)
ARCH_X86=no
ARCH_386=no
ARCH_X86_64=no
;;
esac
AC_MSG_CHECKING(for X86 architecture)
AC_MSG_RESULT($ARCH_X86)
AM_CONDITIONAL(ARCH_X86, [test "$ARCH_X86" = "yes"])
AC_MSG_CHECKING(for 386 architecture)
AC_MSG_RESULT($ARCH_386)
AM_CONDITIONAL(ARCH_386, [test "$ARCH_386" = "yes"])
AC_MSG_CHECKING(for X86_64 architecture)
AC_MSG_RESULT($ARCH_X86_64)
AM_CONDITIONAL(ARCH_X86_64, [test "$ARCH_X86_64" = "yes"])
have_gl=no
AC_CHECK_HEADER([GL/gl.h], \
[AC_DEFINE(HAVE_OPENGL, 1, [openGL support]) have_gl=yes], \
[AC_DEFINE(NO_OPENGL, 1, [No openGL support])])
PKG_CHECK_MODULES(FFMPEG, libavcodec libavformat libavutil libswscale, , \
[AC_MSG_ERROR([ffmpeg installation is missing or incomplete])])