gimp-gap r820 - trunk
- From: wolfgangh svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp-gap r820 - trunk
- Date: Tue, 10 Mar 2009 18:41:10 +0000 (UTC)
Author: wolfgangh
Date: Tue Mar 10 18:41:10 2009
New Revision: 820
URL: http://svn.gnome.org/viewvc/gimp-gap?rev=820&view=rev
Log:
configure checks for nasm assembler (relevant for build libmpeg3 #144650)
Modified:
trunk/ChangeLog
trunk/configure.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Tue Mar 10 18:41:10 2009
@@ -499,6 +499,9 @@
"
+
+libmpeg3_dependencies_ok="yes"
+
dnl check for pthread library (required for libmpeg3)
dnl the check result does not matter unless libmpeg3 is linked or built later on.
pthread_err=""
@@ -508,6 +511,23 @@
pthread_err="pthread header file (pthread.h) not found")],
pthread_err="pthread library (libpthread) not found")
+if test "x$pthread_err" != "x"; then
+ libmpeg3_dependencies_ok="no"
+fi
+
+
+dnl check for the nasm assembler program (required for build of libmpeg3)
+dnl the check result does not matter unless libmpeg3 is linked or built later on.
+nasm_err=""
+AC_CHECK_PROG(HAVE_NASM_ASSEMBLER, nasm, yes, no)
+if test "x$HAVE_NASM_ASSEMBLER" = "xno"; then
+ nasm_err=" the nasm assembler (required to build libmpeg3) was not found. nasm is available at nasm.sourceforge.net "
+ libmpeg3_dependencies_ok="no"
+fi
+
+
+
+
AC_ARG_ENABLE(libmpeg3,
[ --disable-libmpeg3 don't build with libmpeg3])
@@ -528,6 +548,7 @@
vid_mpeg3_warning="
** WARNING: cant build with libmpeg3 (libmpeg3 depends on pthread library)
$pthread_err
+$nasm_err
$libmpeg3_info_msg
"
fi
@@ -665,11 +686,12 @@
- if test "x$pthread_err" != "x"; then
+ if test "x$libmpeg3_dependencies_ok" != "xyes"; then
enable_libmpeg3="no"
vid_mpeg3_warning="
-** WARNING: cant build with libmpeg3 (libmpeg3 depends on pthread library)
+** WARNING: cant build with libmpeg3 (libmpeg3 depends on pthread library and the nasm assembler)
$pthread_err
+$nasm_err
$libmpeg3_info_msg
"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]