configure: remove support for obsolete platforms
- #error hack for MIPSpro compiler from unix/clock-* - irix exclusions from unix/*iconv - hpux defines from unix/{getifaddrs,ipv6ifname} (the obsolete hpuxi-g++-64 spec would add them automatically anyway) Change-Id: Ib227e5626c0e8c8f6faebf76c312d77955f80b92 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
aaed0530fd
commit
b56846a430
@ -47,8 +47,6 @@ int main(int, char **)
|
|||||||
clock_gettime(CLOCK_REALTIME, &ts);
|
clock_gettime(CLOCK_REALTIME, &ts);
|
||||||
#else
|
#else
|
||||||
# error "Feature _POSIX_TIMERS not available"
|
# error "Feature _POSIX_TIMERS not available"
|
||||||
// MIPSpro doesn't understand #error, so force a compiler error
|
|
||||||
force_compiler_error = true;
|
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -47,8 +47,6 @@ int main(int, char **)
|
|||||||
clock_gettime(CLOCK_MONOTONIC, &ts);
|
clock_gettime(CLOCK_MONOTONIC, &ts);
|
||||||
#else
|
#else
|
||||||
# error "Feature _POSIX_MONOTONIC_CLOCK not available"
|
# error "Feature _POSIX_MONOTONIC_CLOCK not available"
|
||||||
// MIPSpro doesn't understand #error, so force a compiler error
|
|
||||||
force_compiler_error = true;
|
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -40,10 +40,6 @@
|
|||||||
/* Sample program for configure to test for if_nametoindex support
|
/* Sample program for configure to test for if_nametoindex support
|
||||||
on target platforms. */
|
on target platforms. */
|
||||||
|
|
||||||
#if defined(__hpux)
|
|
||||||
#define _HPUX_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
@ -37,9 +37,6 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#if defined(__sgi)
|
|
||||||
#error "iconv not supported on IRIX"
|
|
||||||
#else
|
|
||||||
#include <iconv.h>
|
#include <iconv.h>
|
||||||
|
|
||||||
int main(int, char **)
|
int main(int, char **)
|
||||||
@ -55,4 +52,3 @@ int main(int, char **)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
@ -37,9 +37,6 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#if defined(__sgi)
|
|
||||||
#error "iconv not supported on IRIX"
|
|
||||||
#else
|
|
||||||
#include <iconv.h>
|
#include <iconv.h>
|
||||||
|
|
||||||
int main(int, char **)
|
int main(int, char **)
|
||||||
@ -55,4 +52,3 @@ int main(int, char **)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
@ -40,10 +40,6 @@
|
|||||||
/* Sample program for configure to test for if_nametoindex support
|
/* Sample program for configure to test for if_nametoindex support
|
||||||
on target platforms. */
|
on target platforms. */
|
||||||
|
|
||||||
#if defined(__hpux)
|
|
||||||
#define _HPUX_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user