Skip to content

Commit 03a3c0b

Browse files
committed
configure: accept "internal" for --enable-capstone/slirp/fdt
Options such as "--enable-capstone=git" do not make much sense when building from a tarball. Accept "internal" for consistency with the meson options. Reviewed-by: Marc-André Lureau <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 7bdf1f5 commit 03a3c0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ for opt do
10191019
;;
10201020
--enable-slirp=git) slirp="internal"
10211021
;;
1022-
--enable-slirp=system) slirp="system"
1022+
--enable-slirp=*) slirp="$optarg"
10231023
;;
10241024
--disable-vde) vde="disabled"
10251025
;;
@@ -1193,7 +1193,7 @@ for opt do
11931193
;;
11941194
--enable-fdt=git) fdt="internal"
11951195
;;
1196-
--enable-fdt=system) fdt="system"
1196+
--enable-fdt=*) fdt="$optarg"
11971197
;;
11981198
--disable-linux-aio) linux_aio="disabled"
11991199
;;
@@ -1479,7 +1479,7 @@ for opt do
14791479
;;
14801480
--enable-capstone=git) capstone="internal"
14811481
;;
1482-
--enable-capstone=system) capstone="system"
1482+
--enable-capstone=*) capstone="$optarg"
14831483
;;
14841484
--with-git=*) git="$optarg"
14851485
;;

0 commit comments

Comments
 (0)