Re: [HACKERS] Re: More on shared objects problem - Mailing list pgsql-hackers

From Todd Vierling
Subject Re: [HACKERS] Re: More on shared objects problem
Date
Msg-id Pine.NEB.4.10.9907271503440.7983-100000@server.int.duh.org
Whole thread Raw
In response to Re: [HACKERS] Re: More on shared objects problem  (Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>)
List pgsql-hackers
On Tue, 27 Jul 1999, Thilo Manske wrote:

: if echo __ELF__ | ${CC} -E - | grep -q __ELF__; then
:   # ELF
: else
:   # a.out
: fi
: 
: This is not my idea, it's from the patches for apache in the package tree.

It's actually backwards.  If the "grep -q" returns true, it's an a.out
system (since cpp did *not* replace __ELF__ with 1).

-- 
-- Todd Vierling (tv@pobox.com)



pgsql-hackers by date:

Previous
From: Thilo Manske
Date:
Subject: Re: [HACKERS] Re: More on shared objects problem
Next
From: Erik Bertelsen
Date:
Subject: Re: [HACKERS] More on shared objects problem