blob: 0ac5a655fd68be05d20acdc01e37248bc219d4dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
--- libbluray-0.2.3/src/Makefile.am.bak Fri Aug 17 07:27:32 2012
+++ libbluray-0.2.3/src/Makefile.am Thu Nov 28 00:46:47 2013
@@ -8,7 +8,7 @@
SET_DEBUG_OPTS = @SET_DEBUG_OPTS@
SET_INCLUDES = -I$(top_srcdir) -Ifile -Ilibbluray/bdnav
-AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_WARNINGS) $(SET_OPTIMIZATIONS) \
+AM_CFLAGS = -std=gnu99 $(SET_FEATURES) $(SET_WARNINGS) $(SET_OPTIMIZATIONS) \
$(SET_DEBUG_OPTS) $(SET_INCLUDES) $(LIBXML2_CFLAGS)
CFLAGS=$(shell test -z "$$CFLAGS" || echo "$$CFLAGS")
--- libbluray-0.2.3/src/Makefile.in.bak Fri Aug 17 07:31:46 2012
+++ libbluray-0.2.3/src/Makefile.in Thu Nov 28 00:46:47 2013
@@ -353,7 +353,7 @@
SUBDIRS = . examples
SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200809L -D_REENTRANT
SET_INCLUDES = -I$(top_srcdir) -Ifile -Ilibbluray/bdnav
-AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_WARNINGS) \
+AM_CFLAGS = -std=gnu99 $(SET_FEATURES) $(SET_WARNINGS) \
$(SET_OPTIMIZATIONS) $(SET_DEBUG_OPTS) $(SET_INCLUDES) \
$(LIBXML2_CFLAGS) $(am__append_2)
SOURCES_bdj = libbluray/bdj/bdj.h \
--- libbluray-0.2.3/configure.ac.bak Fri Aug 17 07:27:32 2012
+++ libbluray-0.2.3/configure.ac Thu Nov 28 01:18:14 2013
@@ -163,13 +163,13 @@
# function testing for supported compiler options
check_cc_options()
{
- local tmpfile=$(mktemp XXXXXXXXXX)
- local tmpcfile="$tmpfile.c"
+ tmpfile=$(mktemp XXXXXXXXXX)
+ tmpcfile="$tmpfile.c"
mv $tmpfile $tmpcfile
- local retval=1
+ retval=1
printf "Checking if compiler supports $@... "
if $CC -c $@ $tmpcfile -o /dev/null >/dev/null 2>&1; then
- local retval=0
+ retval=0
fi
rm $tmpcfile
if [[ $retval = "0" ]]; then
|