Skip to content

Commit

Permalink
move use_webserver check
Browse files Browse the repository at this point in the history
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30328 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information
davilla committed May 20, 2010
1 parent 3ea2a99 commit c530dce
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions configure.in
Expand Up @@ -399,17 +399,6 @@ else
fi
fi

if test "$host_vendor" != "apple" ; then
if test "$use_webserver" = "yes"; then
AC_CHECK_LIB([microhttpd], [main],, AC_MSG_ERROR($missing_library))
fi
else
if test "$use_webserver" = "yes"; then
AC_DEFINE([HAVE_LIBMICROHTTPD], [1],)
fi
fi


# platform independent libraries
AC_CHECK_HEADER([mad.h],, AC_MSG_ERROR($missing_library))
AC_CHECK_HEADER([jpeglib.h],, AC_MSG_ERROR($missing_library))
Expand Down Expand Up @@ -566,6 +555,17 @@ if test "$host_vendor" != "apple"; then
XB_FIND_SONAME([VORBIS], [vorbis])
fi

# WebServer
if test "$host_vendor" != "apple" ; then
if test "$use_webserver" = "yes"; then
AC_CHECK_LIB([microhttpd], [main],, AC_MSG_ERROR($missing_library))
fi
else
if test "$use_webserver" = "yes"; then
AC_DEFINE([HAVE_LIBMICROHTTPD], [1],)
fi
fi

# PulseAudio
if test "x$use_pulse" != "xno"; then
if test "$host_vendor" = "apple" ; then
Expand Down

0 comments on commit c530dce

Please sign in to comment.