Skip to content
Snippets Groups Projects
Commit 4af1d7c0 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Fix configure types.h

parent b2cf6788
No related branches found
No related tags found
No related merge requests found
# Macros that test various C library quirks # Macros that test various C library quirks
# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.3 2000/10/02 03:55:15 momjian Exp $ # $Header: /cvsroot/pgsql/config/c-library.m4,v 1.4 2000/10/02 03:58:31 momjian Exp $
# PGAC_VAR_INT_TIMEZONE # PGAC_VAR_INT_TIMEZONE
...@@ -60,10 +60,8 @@ fi])# PGAC_UNION_SEMUN ...@@ -60,10 +60,8 @@ fi])# PGAC_UNION_SEMUN
# char sun_path[108]; }. (Requires test for <sys/un.h>!) # char sun_path[108]; }. (Requires test for <sys/un.h>!)
AC_DEFUN([PGAC_STRUCT_SOCKADDR_UN], AC_DEFUN([PGAC_STRUCT_SOCKADDR_UN],
[AC_CACHE_CHECK([for struct sockaddr_un], pgac_cv_struct_sockaddr_un, [AC_CACHE_CHECK([for struct sockaddr_un], pgac_cv_struct_sockaddr_un,
[AC_TRY_COMPILE([#ifdef HAVE_SYS_TYPES_H [AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/types.h> #ifdef HAVE_SYS_UN_H
#endif],
[AC_TRY_COMPILE([#ifdef HAVE_SYS_UN_H
#include <sys/un.h> #include <sys/un.h>
#endif], #endif],
[struct sockaddr_un un;], [struct sockaddr_un un;],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment