[Pkg-voip-commits] r9094 - /opal/trunk/debian/patches/spandsp_autoconf_cppflags.patch

kilian at alioth.debian.org kilian at alioth.debian.org
Sun Jul 3 08:36:47 UTC 2011


Author: kilian
Date: Sun Jul  3 08:36:46 2011
New Revision: 9094

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9094
Log:
include plugins/configure part of diff as well - still doesn't work but anyways

Modified:
    opal/trunk/debian/patches/spandsp_autoconf_cppflags.patch

Modified: opal/trunk/debian/patches/spandsp_autoconf_cppflags.patch
URL: http://svn.debian.org/wsvn/pkg-voip/opal/trunk/debian/patches/spandsp_autoconf_cppflags.patch?rev=9094&op=diff
==============================================================================
--- opal/trunk/debian/patches/spandsp_autoconf_cppflags.patch (original)
+++ opal/trunk/debian/patches/spandsp_autoconf_cppflags.patch Sun Jul  3 08:36:46 2011
@@ -13,4 +13,54 @@
            fi
            AS_IF([test AS_VAR_GET([opal_spandsp]) = yes], [$1], [$2])[]
           ])
+--- a/plugins/configure   (revision 26086)
++++ b/plugins/configure   (revision 26087)
+@@ -2342,6 +2342,37 @@
+   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+ 
+ } # ac_fn_c_check_header_mongrel
++
++# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
++# -------------------------------------------------------
++# Tests whether HEADER exists and can be compiled using the include files in
++# INCLUDES, setting the cache variable VAR accordingly.
++ac_fn_c_check_header_compile ()
++{
++  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
++  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
++$as_echo_n "checking for $2... " >&6; }
++if eval "test \"\${$3+set}\"" = set; then :
++  $as_echo_n "(cached) " >&6
++else
++  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h.  */
++$4
++#include <$2>
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++  eval "$3=yes"
++else
++  eval "$3=no"
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++eval ac_res=\$$3
++              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
++$as_echo "$ac_res" >&6; }
++  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
++
++} # ac_fn_c_check_header_compile
+ cat >config.log <<_ACEOF
+ This file contains any messages produced by compilers while
+ running configure, to aid debugging if configure makes a mistake.
+@@ -10091,7 +10122,8 @@
+               SPANDSP_LIBS="-lspandsp"
+               for ac_header in spandsp.h
+ do :
+-  ac_fn_c_check_header_mongrel "$LINENO" "spandsp.h" "ac_cv_header_spandsp_h" "$ac_includes_default"
++  ac_fn_c_check_header_compile "$LINENO" "spandsp.h" "ac_cv_header_spandsp_h" "#include <stdint.h>
++"
+ if test "x$ac_cv_header_spandsp_h" = x""yes; then :
+   cat >>confdefs.h <<_ACEOF
+ #define HAVE_SPANDSP_H 1
 




More information about the Pkg-voip-commits mailing list