1 Allow usage when fork() is not available
3 When fork() is not available, we need to define NO_ZPIPE so that
4 libXpm doesn't try to fork/exec to use a pipe to uncompress compressed
5 .xpm files. There is obviously a loss of functionality, but loading
6 uncompressed .xpm files should continue to work.
8 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 ===================================================================
16 # Checks for library functions
17 AC_CHECK_FUNCS([strlcat])
18 +AC_CHECK_FUNC([fork],[], AC_DEFINE(NO_ZPIPE))
20 # Obtain compiler/linker options for dependencies
21 PKG_CHECK_MODULES(XPM, xproto x11)