Clean the configure script

This commit is contained in:
Andrea Mazzoleni 2015-01-24 14:34:53 +01:00
parent 61117794b5
commit 3df837b224
2 changed files with 8 additions and 4 deletions

View file

@ -156,6 +156,12 @@
#if HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#ifndef WEXITSTATUS
#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
#endif
#ifndef WIFEXITED
#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
#endif
#if HAVE_GETOPT_H
#include <getopt.h>