|
1 | 1 | # Macros that test various C library quirks
|
2 |
| -# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.3 2000/10/02 03:55:15 momjian Exp $ |
| 2 | +# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.4 2000/10/02 03:58:31 momjian Exp $ |
3 | 3 |
|
4 | 4 |
|
5 | 5 | # PGAC_VAR_INT_TIMEZONE
|
@@ -60,10 +60,8 @@ fi])# PGAC_UNION_SEMUN
|
60 | 60 | # char sun_path[108]; }. (Requires test for <sys/un.h>!)
|
61 | 61 | AC_DEFUN([PGAC_STRUCT_SOCKADDR_UN],
|
62 | 62 | [AC_CACHE_CHECK([for struct sockaddr_un],pgac_cv_struct_sockaddr_un,
|
63 |
| -[AC_TRY_COMPILE([#ifdef HAVE_SYS_TYPES_H |
64 |
| -#include <sys/types.h> |
65 |
| -#endif], |
66 |
| -[AC_TRY_COMPILE([#ifdef HAVE_SYS_UN_H |
| 63 | +[AC_TRY_COMPILE([#include <sys/types.h> |
| 64 | +#ifdef HAVE_SYS_UN_H |
67 | 65 | #include <sys/un.h>
|
68 | 66 | #endif],
|
69 | 67 | [struct sockaddr_un un;],
|
|