Optimisation of --disable-webserver
Do not compile miniserver.c if --disable-webserver is used. (cherry picked from commit 72eecacf560de1215c2a79779c5ac7cd04828d0d)
This commit is contained in:
parent
f27461c871
commit
783ebbc0ca
@ -318,6 +318,12 @@ Version 1.8.0
|
|||||||
Version 1.6.16
|
Version 1.6.16
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
|
||||||
|
2012-03-09 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||||
|
|
||||||
|
Optimisation of --disable-webserver
|
||||||
|
|
||||||
|
Do not compile miniserver.c if --disable-webserver is used.
|
||||||
|
|
||||||
2012-03-09 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
2012-03-09 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||||
|
|
||||||
Adding configure options
|
Adding configure options
|
||||||
|
@ -649,8 +649,8 @@ int UpnpFinish(void)
|
|||||||
UpnpUnRegisterClient(client_handle);
|
UpnpUnRegisterClient(client_handle);
|
||||||
#endif
|
#endif
|
||||||
TimerThreadShutdown(&gTimerThread);
|
TimerThreadShutdown(&gTimerThread);
|
||||||
StopMiniServer();
|
|
||||||
#if EXCLUDE_WEB_SERVER == 0
|
#if EXCLUDE_WEB_SERVER == 0
|
||||||
|
StopMiniServer();
|
||||||
web_server_destroy();
|
web_server_destroy();
|
||||||
#endif
|
#endif
|
||||||
ThreadPoolShutdown(&gMiniServerThreadPool);
|
ThreadPoolShutdown(&gMiniServerThreadPool);
|
||||||
|
@ -32,6 +32,8 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#if EXCLUDE_MINISERVER == 0
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \file
|
* \file
|
||||||
*
|
*
|
||||||
@ -970,3 +972,4 @@ int StopMiniServer()
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif /* EXCLUDE_MINISERVER */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user