[asterisk-commits] rizzo: branch rizzo/video_v2 r85194 - /team/rizzo/video_v2/configure.ac

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 9 23:26:02 CDT 2007


Author: rizzo
Date: Tue Oct  9 23:26:02 2007
New Revision: 85194

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85194
Log:
indent macro calls according to the standard form used in this file

Modified:
    team/rizzo/video_v2/configure.ac

Modified: team/rizzo/video_v2/configure.ac
URL: http://svn.digium.com/view/asterisk/team/rizzo/video_v2/configure.ac?view=diff&rev=85194&r1=85193&r2=85194
==============================================================================
--- team/rizzo/video_v2/configure.ac (original)
+++ team/rizzo/video_v2/configure.ac Tue Oct  9 23:26:02 2007
@@ -187,6 +187,7 @@
 AST_EXT_LIB_SETUP([CURL], [cURL], [curl])
 AST_EXT_LIB_SETUP([CURSES], [curses], [curses])
 AST_EXT_LIB_SETUP([CRYPTO], [OpenSSL Cryptography support], [crypto])
+# AST_EXT_LIB_SETUP([FFMPEG], [Ffmpeg codec support], [ffmpeg])
 AST_EXT_LIB_SETUP([GNUTLS], [GNU TLS support (used for iksemel only)], [gnutls])
 AST_EXT_LIB_SETUP([GSM], [GSM], [gsm], [, or 'internal'])
 AST_EXT_LIB_SETUP([IKSEMEL], [Iksemel Jabber Library], [iksemel])
@@ -211,6 +212,7 @@
 AST_EXT_LIB_SETUP([OPENH323], [OpenH323], [h323])
 AST_EXT_LIB_SETUP([QT], [Qt], [qt])
 AST_EXT_LIB_SETUP([RADIUS], [Radius Client], [radius])
+# AST_EXT_LIB_SETUP([SDL], [SDL output], [sdl])
 AST_EXT_LIB_SETUP([SPEEX], [Speex], [speex])
 AST_EXT_LIB_SETUP([SQLITE], [SQLite], [sqlite])
 AST_EXT_LIB_SETUP([SQLITE3], [SQLite], [sqlite3])
@@ -310,18 +312,18 @@
 
 AC_MSG_CHECKING(for __swap16 variant of <sys/endian.h> byteswapping macros)
 AC_LINK_IFELSE(
-AC_LANG_PROGRAM([#include <sys/endian.h>], [int a = 1; int b = __swap16(a);]),
-AC_MSG_RESULT(yes)
-AC_DEFINE([HAVE_SYS_ENDIAN_SWAP16], 1, [Define to 1 if your sys/endian.h header file provides the __swap16 macro.]),
-AC_MSG_RESULT(no)
+	AC_LANG_PROGRAM([#include <sys/endian.h>], [int a = 1; int b = __swap16(a);]),
+	AC_MSG_RESULT(yes)
+	AC_DEFINE([HAVE_SYS_ENDIAN_SWAP16], 1, [Define to 1 if your sys/endian.h header file provides the __swap16 macro.]),
+	AC_MSG_RESULT(no)
 )
 
 AC_MSG_CHECKING(for bswap16 variant of <sys/endian.h> byteswapping macros)
 AC_LINK_IFELSE(
-AC_LANG_PROGRAM([#include <sys/endian.h>], [int a = 1; int b = bswap16(a);]),
-AC_MSG_RESULT(yes)
-AC_DEFINE([HAVE_SYS_ENDIAN_BSWAP16], 1, [Define to 1 if your sys/endian.h header file provides the bswap16 macro.]),
-AC_MSG_RESULT(no)
+	AC_LANG_PROGRAM([#include <sys/endian.h>], [int a = 1; int b = bswap16(a);]),
+	AC_MSG_RESULT(yes)
+	AC_DEFINE([HAVE_SYS_ENDIAN_BSWAP16], 1, [Define to 1 if your sys/endian.h header file provides the bswap16 macro.]),
+	AC_MSG_RESULT(no)
 )
 
 if test "${cross_compiling}" = "no";
@@ -336,23 +338,23 @@
 then
 AC_MSG_CHECKING(for working epoll support)
 AC_LINK_IFELSE(
-AC_LANG_PROGRAM([#include <sys/epoll.h>], [int res = epoll_create(10);
+	AC_LANG_PROGRAM([#include <sys/epoll.h>], [int res = epoll_create(10);
 					  if (res < 0)
 					     return 1;
 					  close (res);
 					  return 0;]),
-AC_MSG_RESULT(yes)
-AC_DEFINE([HAVE_EPOLL], 1, [Define to 1 if your system has working epoll support.]),
-AC_MSG_RESULT(no)
+	AC_MSG_RESULT(yes)
+	AC_DEFINE([HAVE_EPOLL], 1, [Define to 1 if your system has working epoll support.]),
+	AC_MSG_RESULT(no)
 )
 fi
 
 AC_MSG_CHECKING(for compiler atomic operations)
 AC_LINK_IFELSE(
-AC_LANG_PROGRAM([], [int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);]),
-AC_MSG_RESULT(yes)
-AC_DEFINE([HAVE_GCC_ATOMICS], 1, [Define to 1 if your GCC C compiler provides atomic operations.]),
-AC_MSG_RESULT(no)
+	AC_LANG_PROGRAM([], [int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);]),
+	AC_MSG_RESULT(yes)
+	AC_DEFINE([HAVE_GCC_ATOMICS], 1, [Define to 1 if your GCC C compiler provides atomic operations.]),
+	AC_MSG_RESULT(no)
 )
 
 AST_GCC_ATTRIBUTE(pure)
@@ -522,6 +524,8 @@
 if test "${PBX_IKSEMEL}" = 1; then
    AST_EXT_LIB_CHECK([GNUTLS], [gnutls], [gnutls_bye])
    if test "${PBX_GNUTLS}" = 1; then
+	# XXX i don't understand why the addition of these libs,
+	# and why we don't use GNUTLS_LIB anyways.
 #      IKSEMEL_LIB="${IKSEMEL_LIB} -lgnutls -lz -lgcrypt -lnsl -lgpg-error"
        IKSEMEL_LIB="${IKSEMEL_LIB} -lgnutls -lz -lgcrypt -lgpg-error"
    fi
@@ -555,6 +559,7 @@
    fi
    CPPFLAGS="${CPPFLAGS} ${imap_include}"
    LIBS="${LIBS} ${imap_libs} "`echo ${imap_ldflags}`
+   # XXX don't we have a better way for looking up a symbol in a library ?
    AC_LINK_IFELSE(
 	AC_LANG_PROGRAM(
 		[#ifdef USE_SYSTEM_IMAP
@@ -790,6 +795,10 @@
 AST_EXT_LIB_CHECK([OGG], [ogg], [ogg_sync_init], [])
 
 AST_EXT_LIB_CHECK([BKTR], [execinfo], [backtrace], [execinfo.h], [-lexecinfo])
+
+# possible places for ffmpeg and sdl definitions
+# AST_EXT_LIB_CHECK([FFMPEG], [ffmpeg], [], [ffmpeg/avcodec.h], [-lavcodec -lswscale])
+# AST_EXT_LIB_CHECK([SDL], [sdl], [], [SDL/SDL.h], [-lSDL])
 
 # possible places for oss definitions
 AST_EXT_LIB_CHECK([OSS], [ossaudio], [], [linux/soundcard.h])




More information about the asterisk-commits mailing list