Hash :
7a6017ee
Author :
Date :
2007-01-22T23:07:42
Use @MKDIR_P@ instead of $(MKDIR_P), since automake < 1.10 doesn't the MKDIR_P variable of autoconf >= 2.60.
Description:
A <sys/select.h> for systems lacking it (e.g., Mingw).
Files:
m4/sys_select_h.m4
Depends-on:
sys_socket
configure.ac:
gl_HEADER_SYS_SELECT
AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(SYS_SELECT_H)
# We need the following in order to create <sys/select.h> when the system
# doesn't have one that works with the given compiler.
sys/select.h:
@MKDIR_P@ sys
rm -f $@-t $@
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#include <sys/socket.h>'; \
} > $@-t
mv $@-t $@
MOSTLYCLEANFILES += sys/select.h sys/select.h-t
MOSTLYCLEANDIRS += sys
Include:
#include <sys/select.h>
License:
LGPL
Maintainer:
Simon Josefsson