Skip to content

Commit 6fa17d8

Browse files
committed
configure.ac: Fix out of source tree builds
The code to detect the available drivers does so by parsing `Makefile.am` but it does not do so relative to "$srcdir" so trying to do a configure outside of the source directory will fail. Signed-off-by: Axel Gembe <[email protected]>
1 parent b4177c1 commit 6fa17d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ AC_ARG_WITH(drivers,
12731273
SPACE="`printf "$LB"' \t'"$RB"`"
12741274
SPACES="${SPACE}*"
12751275
sed -e "s/${SPACES}""$LB"'+'"$RB"'*='"${SPACES}/=/" \
1276-
-e "s/^${SPACES}//" < drivers/Makefile.am \
1276+
-e "s/^${SPACES}//" < "$srcdir/drivers/Makefile.am" \
12771277
| {
12781278
C=false; V=false
12791279
while read LINE ; do

0 commit comments

Comments
 (0)