summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2014-04-24 13:35:52 -0400
committerGerd Hoffmann <kraxel@redhat.com>2014-04-29 10:46:30 +0200
commita3f4d63d63a2566928a1aec140989e16d969b684 (patch)
tree60821105036f73ae19e99a915f57e4e5be47ebaa /configure
parentf92d61f336aa7dab9b47a831a9d1e0d44d3f5ce6 (diff)
downloadqemu-a3f4d63d63a2566928a1aec140989e16d969b684.tar.gz
configure: Re-run make if gtkabi/sdlabi is changed
Reconfiguring with a different --with-gtkabi or --with-sdlabi doesn't trigger a remake. Generate an (unused) CONFIG_GTKABI/CONFIG_SDLABI so config-host.h will actually give 'make' something to trigger on. Signed-off-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index cb5ffa2a90..870c939f1d 100755
--- a/configure
+++ b/configure
@@ -4350,6 +4350,7 @@ if test "$modules" = "yes"; then
fi
if test "$sdl" = "yes" ; then
echo "CONFIG_SDL=y" >> $config_host_mak
+ echo "CONFIG_SDLABI=$sdlabi" >> $config_host_mak
echo "SDL_CFLAGS=$sdl_cflags" >> $config_host_mak
fi
if test "$cocoa" = "yes" ; then
@@ -4433,6 +4434,7 @@ fi
echo "GLIB_CFLAGS=$glib_cflags" >> $config_host_mak
if test "$gtk" = "yes" ; then
echo "CONFIG_GTK=y" >> $config_host_mak
+ echo "CONFIG_GTKABI=$gtkabi" >> $config_host_mak
echo "GTK_CFLAGS=$gtk_cflags" >> $config_host_mak
fi
if test "$vte" = "yes" ; then