Skip to content

Commit 3f9fe34

Browse files
committed
configure: delta: new SDK (6.3X inc path)
VideoMaster 6.30 and above has slightly different include path so in addition to the original add the new -I path.
1 parent 7d4517a commit 3f9fe34

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

configure.ac

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,10 +1107,12 @@ if test "$deltacast_req" != no; then
11071107
AC_LANG_PUSH(C++)
11081108

11091109
if test -n "$DELTACAST_PATH"; then
1110+
DELTA_INC="-I$DELTACAST_PATH/Include\
1111+
-I$DELTACAST_PATH/include/videomaster"
11101112
CXXFLAGS_SAVE=$CXXFLAGS
1111-
CXXFLAGS="$CXXFLAGS -I$DELTACAST_PATH/Include"
1113+
CXXFLAGS="$CXXFLAGS ${DELTA_INC?}"
11121114
CPPFLAGS_SAVE=$CPPFLAGS
1113-
CPPFLAGS="$CPPFLAGS -I$DELTACAST_PATH/Include"
1115+
CPPFLAGS="$CPPFLAGS ${DELTA_INC?}"
11141116
fi
11151117

11161118
if test $system = Windows; then
@@ -1180,9 +1182,7 @@ if test "$deltacast_req" != no; then
11801182
fi
11811183
fi
11821184
if test "$deltacast_found" = yes; then
1183-
if test -n "$DELTACAST_PATH"; then
1184-
INC="$INC -I$DELTACAST_PATH/Include"
1185-
fi
1185+
INC="$INC${DELTA_INC:- $DELTA_INC}"
11861186
add_module vidcap_deltacast "src/deltacast_common.o \
11871187
src/video_capture/deltacast.o src/video_capture/deltacast_dvi.o" "$DELTACAST_LIB"
11881188
add_module display_deltacast "src/deltacast_common.o \

0 commit comments

Comments
 (0)