Skip to content

Commit

Permalink
autotools: fix build hitting wrong config header (ticket xbmc#13364)
Browse files Browse the repository at this point in the history
  • Loading branch information
elbeardmorez committed Nov 19, 2012
1 parent 49cd92b commit 469825b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.include.in
Expand Up @@ -32,9 +32,9 @@ CC=@CC@
CXXFLAGS+=@CXXFLAGS@ CXXFLAGS+=@CXXFLAGS@
CFLAGS+=@CFLAGS@ CFLAGS+=@CFLAGS@
LDFLAGS+=@LDFLAGS@ LDFLAGS+=@LDFLAGS@
INCLUDES+=$(sort @INCLUDES@)
INCLUDES+=-I@abs_top_srcdir@/lib INCLUDES+=-I@abs_top_srcdir@/lib
INCLUDES+=-I@abs_top_srcdir@/xbmc INCLUDES+=-I@abs_top_srcdir@/xbmc
INCLUDES+=$(sort @INCLUDES@)
ifneq (@USE_EXTERNAL_FFMPEG@,1) ifneq (@USE_EXTERNAL_FFMPEG@,1)
INCLUDES+=-I@abs_top_srcdir@/lib/ffmpeg INCLUDES+=-I@abs_top_srcdir@/lib/ffmpeg
endif endif
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -843,7 +843,7 @@ if test "x$have_builtin_sync_val_compare_and_swap" = "xyes"; then
fi fi


# Add top source directory for all builds so we can use config.h # Add top source directory for all builds so we can use config.h
INCLUDES="$INCLUDES -I\$(abs_top_srcdir)" INCLUDES="-I\$(abs_top_srcdir) $INCLUDES"


# Check inotify availability # Check inotify availability
AC_CHECK_HEADER([sys/inotify.h], AC_DEFINE([HAVE_INOTIFY],[1],[Define if we have inotify]),) AC_CHECK_HEADER([sys/inotify.h], AC_DEFINE([HAVE_INOTIFY],[1],[Define if we have inotify]),)
Expand Down

0 comments on commit 469825b

Please sign in to comment.