Optimisation of --disable-webserver
Do not compile miniserver.c if --disable-webserver is used.
(cherry picked from commit 72eecacf56
)
This commit is contained in:

committed by
Marcelo Roberto Jimenez

parent
f27461c871
commit
783ebbc0ca
@@ -318,6 +318,12 @@ Version 1.8.0
|
||||
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>
|
||||
|
||||
Adding configure options
|
||||
|
@@ -649,8 +649,8 @@ int UpnpFinish(void)
|
||||
UpnpUnRegisterClient(client_handle);
|
||||
#endif
|
||||
TimerThreadShutdown(&gTimerThread);
|
||||
StopMiniServer();
|
||||
#if EXCLUDE_WEB_SERVER == 0
|
||||
StopMiniServer();
|
||||
web_server_destroy();
|
||||
#endif
|
||||
ThreadPoolShutdown(&gMiniServerThreadPool);
|
||||
|
@@ -32,6 +32,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#if EXCLUDE_MINISERVER == 0
|
||||
|
||||
/*!
|
||||
* \file
|
||||
*
|
||||
@@ -970,3 +972,4 @@ int StopMiniServer()
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif /* EXCLUDE_MINISERVER */
|
||||
|
Reference in New Issue
Block a user