[Scummvm-cvs-logs] SF.net SVN: scummvm:[53583] scummvm/trunk/configure
sev at users.sourceforge.net
sev at users.sourceforge.net
Mon Oct 18 22:02:27 CEST 2010
Revision: 53583
http://scummvm.svn.sourceforge.net/scummvm/?rev=53583&view=rev
Author: sev
Date: 2010-10-18 20:02:27 +0000 (Mon, 18 Oct 2010)
Log Message:
-----------
CONFIGURE: Added va_copy detection for Last Express engine
Modified Paths:
--------------
scummvm/trunk/configure
Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure 2010-10-18 19:29:56 UTC (rev 53582)
+++ scummvm/trunk/configure 2010-10-18 20:02:27 UTC (rev 53583)
@@ -2635,6 +2635,43 @@
define_in_config_if_yes $_nasm 'USE_NASM'
#
+# Check for va_copy variant
+#
+
+echocheck va_copy availability
+
+_have_va_copy=no
+_have___va_copy=no
+
+cat > $TMPC <<EOF
+#include <stdarg.h>
+va_list ap1,ap2;
+int main(void) { va_copy(ap1,ap2); }
+EOF
+cc_check && _have_va_copy=yes
+
+if test "$_have_va_copy" = yes ; then
+ echo "... yes... va_copy()"
+else
+
+cat > $TMPC <<EOF
+#include <stdarg.h>
+va_list ap1,ap2;
+int main(void) { __va_copy(ap1,ap2); }
+EOF
+cc_check && _have___va_copy=yes
+
+if test "$_have___va_copy" = yes ; then
+ echo "... yes... __va_copy()"
+else
+ echo "... no"
+fi
+fi
+
+define_in_config_h_if_yes $_have_va_copy 'HAVE_VA_COPY'
+define_in_config_h_if_yes $_have___va_copy 'HAVE___VA_COPY'
+
+#
# Enable vkeybd / keymapper
#
if test "$_vkeybd" = yes ; then
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list