fix conditional X11 compilation

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@328 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-12-18 20:45:46 +00:00
parent 47ab6bd2fc
commit 8199925cec

View file

@ -57,7 +57,9 @@ HAVE_X11=0
test "x$no_x" != "xyes" && HAVE_X11=1 test "x$no_x" != "xyes" && HAVE_X11=1
AC_SUBST(HAVE_X11) AC_SUBST(HAVE_X11)
AM_CONDITIONAL(HAVE_X11, test "x$no_x" != "xyes") AM_CONDITIONAL(HAVE_X11, test "x$no_x" != "xyes")
AC_DEFINE([HAVE_X11], [], [Have X11]) if test "x$no_x" != "xyes" ; then
AC_DEFINE([HAVE_X11], 1, [Have X11])
fi
# Checks for typedefs, structures, and compiler characteristics. # Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST AC_C_CONST