Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
zvbi
00_fix-configure.in.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 00_fix-configure.in.patch of Package zvbi
Description: fix some warnings in Makefile.in. Author: Joao Eriberto Mota Filho <eriberto@debian.org> Reference: https://autotools.io/forwardporting/autoconf.html Last-Update:2015-05-20 Index: zvbi-0.2.35/configure.in =================================================================== --- zvbi-0.2.35.orig/configure.in +++ zvbi-0.2.35/configure.in @@ -9,6 +9,8 @@ AM_CONFIG_HEADER(config.h) AM_ACLOCAL_INCLUDE(m4) AM_MAINTAINER_MODE +AC_CONFIG_MACRO_DIR([m4]) + dnl [current:revision:age] dnl Any change: ++revision dnl Interface added: ++current, revision = 0 @@ -35,6 +37,7 @@ dnl sincos() is a GNU extension (a macro dnl If not present we use a replacement. AC_MSG_CHECKING([for sincos]) AC_LINK_IFELSE([ +AC_LANG_SOURCE([ #include <stdio.h> #include <math.h> int main (void) { @@ -46,7 +49,7 @@ sincos (s, &s, &c); printf ("%f %f", s, c); return 0; } -],[ +])],[ AC_MSG_RESULT([yes]) AC_DEFINE(HAVE_SINCOS, 1, [Define if the sincos() function is available]) ],[ @@ -57,6 +60,7 @@ dnl log2() is a GNU extension (a macro, dnl If not present we use a replacement. AC_MSG_CHECKING([for log2]) AC_LINK_IFELSE([ +AC_LANG_SOURCE([ #include <stdio.h> #include <math.h> int main (void) { @@ -65,7 +69,7 @@ scanf ("%f", &x); printf ("%f", log2 (x)); return 0; } -],[ +])],[ AC_MSG_RESULT([yes]) AC_DEFINE(HAVE_LOG2, 1, [Define if the log2() function is available]) ],[ @@ -76,6 +80,7 @@ dnl strerror() is not thread safe and th dnl of strerror_r(). If none of them are present we use a replacement. AC_MSG_CHECKING([for strerror_r]) AC_COMPILE_IFELSE([ +AC_LANG_SOURCE([ #include <stdlib.h> #include <string.h> int main (void) { @@ -94,7 +99,7 @@ int main (void) { printf ("%f", 1.0 + strerror_r (22, malloc (128), 128)); return 0; } - ],[ + ])],[ AC_MSG_RESULT([yes, SUSV3 version]) AC_DEFINE(HAVE_SUSV3_STRERROR_R, 1, [Define to 1 if you have the SUSV3 version of the strerror_r() function.]) @@ -182,13 +187,14 @@ dnl (Used in test/date.) dnl AC_MSG_CHECKING([if struct tm has tm_gmtoff]) AC_COMPILE_IFELSE([ +AC_LANG_SOURCE([ #include <time.h> int main (void) { struct tm tm; tm.tm_gmtoff = 0; return 0; } -],[ +])],[ AC_MSG_RESULT([yes]) AC_DEFINE(HAVE_TM_GMTOFF, 1, [Define if struct tm has a tm_gmtoff field]) ],[ @@ -317,10 +323,10 @@ if test "x$enable_v4l" = xyes -o "x$enab dnl if __GNUC__ is defined. These types are required to compile dnl videodev2.h and the Linux DVB headers. AC_MSG_CHECKING([if asm/types.h defines __s64 and __u64]) - AC_COMPILE_IFELSE([#include <asm/types.h> + AC_COMPILE_IFELSE([AC_LANG_SOURCE([#include <asm/types.h> __s64 a = 1; __u64 b = 2; - ], [AC_DEFINE(HAVE_S64_U64, 1, + ])], [AC_DEFINE(HAVE_S64_U64, 1, [Define if asm/types.h defines __s64 and __u64]) AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)])
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor