[Autotools] Rework the build target selection
[WebKit-https.git] / Source / autotools / SetupAutomake.m4
index 8519565..050e55c 100644 (file)
@@ -23,12 +23,12 @@ AM_CONDITIONAL([OS_DARWIN],[test "$os_darwin" = "yes"])
 AM_CONDITIONAL([OS_FREEBSD],[test "$os_freebsd" = "yes"])
 
 # Target conditionals.
-AM_CONDITIONAL([TARGET_X11], [test "$with_x11_target" = "yes"])
-AM_CONDITIONAL([TARGET_WAYLAND], [test "$with_wayland_target" = "yes"])
-AM_CONDITIONAL([TARGET_X11_OR_WAYLAND], [test "$with_x11_target" = "yes" || test "$with_wayland_target" = "yes"])
-AM_CONDITIONAL([TARGET_WIN32], [test "$with_target" = "win32"])
-AM_CONDITIONAL([TARGET_QUARTZ], [test "$with_target" = "quartz"])
-AM_CONDITIONAL([TARGET_DIRECTFB], [test "$with_target" = "directfb"])
+AM_CONDITIONAL([TARGET_X11], [test "$enable_x11_target" = "yes"])
+AM_CONDITIONAL([TARGET_WAYLAND], [test "$enable_wayland_target" = "yes"])
+AM_CONDITIONAL([TARGET_X11_OR_WAYLAND], [test "$enable_x11_target" = "yes" || test "$enable_wayland_target" = "yes"])
+AM_CONDITIONAL([TARGET_WIN32], [test "$enable_win32_target" = "yes"])
+AM_CONDITIONAL([TARGET_QUARTZ], [test "$enable_quartz_target" = "yes"])
+AM_CONDITIONAL([TARGET_DIRECTFB], [test "$enable_directfb_target" = "yes"])
 
 # GStreamer feature conditionals.
 AM_CONDITIONAL([USE_GSTREAMER], [test "$enable_video" = "yes" || test "$enable_web_audio" = "yes"])