From 915351e9c72cae28b69270b0349f6d44532214aa Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Fri, 17 Sep 2004 22:31:59 +0000
Subject: [PATCH] Add support for GNU/Hurd and GNU/*BSD.  For our purposes,
 they behave just like Linux; we just need to recognize the system types.

---
 configure    | 3 ++-
 configure.in | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 0da63ad57fb..9b37d278450 100755
--- a/configure
+++ b/configure
@@ -1391,7 +1391,8 @@ case $host_os in
  freebsd*) template=freebsd ;;
     hpux*) template=hpux ;;
     irix*) template=irix ;;
-   linux*) template=linux ;;
+ linux*|gnu*|k*bsd*-gnu)
+           template=linux ;;
    mingw*) template=win32 ;;
   netbsd*) template=netbsd ;;
 nextstep*) template=nextstep ;;
diff --git a/configure.in b/configure.in
index 84a7a5e7a37..06577702680 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-dnl $PostgreSQL: pgsql/configure.in,v 1.376 2004/09/10 13:53:40 momjian Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.377 2004/09/17 22:31:59 petere Exp $
 dnl
 dnl Developers, please strive to achieve this order:
 dnl
@@ -57,7 +57,8 @@ case $host_os in
  freebsd*) template=freebsd ;;
     hpux*) template=hpux ;;
     irix*) template=irix ;;
-   linux*) template=linux ;;
+ linux*|gnu*|k*bsd*-gnu)
+           template=linux ;;
    mingw*) template=win32 ;;
   netbsd*) template=netbsd ;;
 nextstep*) template=nextstep ;;
-- 
GitLab