diff --git a/examples/makefile.am b/examples/makefile.am index 529a03d..8237f03 100644 --- a/examples/makefile.am +++ b/examples/makefile.am @@ -8,7 +8,7 @@ AM_LDFLAGS = -L${top_builddir}/src/.libs LDADD = -lproxyface noinst_PROGRAMS = getproxylist -if QT +if HAVE_QT noinst_PROGRAMS += simplegui simplegui_SOURCES = simplegui.cxx endif diff --git a/src/makefile.am b/src/makefile.am index 14df33b..199f60a 100644 --- a/src/makefile.am +++ b/src/makefile.am @@ -5,7 +5,7 @@ ## 1 2 3 4 5 6 7 8 ## 45678901234567890123456789012345678901234567890123456789012345678901234567890 -if QT +if HAVE_QT UISOURCES = proxyface/proxy.ui proxyface/proxyauth.ui RESOURCES = proxyface/resources.cxx MOCHEADER = proxyface/proxy.hxx proxyface/autoproxy.hxx proxyface/proxyauth.hxx