From owner-freebsd-questions Fri Apr 4 00:54:02 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA26953 for questions-outgoing; Fri, 4 Apr 1997 00:54:02 -0800 (PST) Received: from mail.EUnet.hu (www.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA26944 for ; Fri, 4 Apr 1997 00:53:57 -0800 (PST) Received: by mail.EUnet.hu, id KAA13848; Fri, 4 Apr 1997 10:53:48 +0200 Received: (from zgabor@localhost) by CoDe.hu (8.7.5/8.7.3) id PAA01207; Thu, 3 Apr 1997 15:53:53 +0200 (MET DST) From: Zahemszky Gabor Message-Id: <199704031353.PAA01207@CoDe.hu> Subject: Re: HylaFAX broken on 2.2.0-R? To: freebsd-questions@freebsd.org (FreeBSD questions) Date: Thu, 3 Apr 1997 15:53:53 +0200 (MET DST) Cc: scotto@remuda.com In-Reply-To: from Scott Overholser at "Apr 1, 97 11:45:55 am" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > configure generates a log file which clearly shows the compiles failing. > Somehow, configure thinks it succeeds. Please, send the runMake function, too! > CheckForLibrary() > { > f=$1; shift > libs="$@"; > cat>t.c< int t() { $f(); return 0; } > int main(){ t(); return 0; } > EOF > runMake t "t:; ${CCOMPILER} ${ENVOPTS} t.c $libs" > } > > # > # Look for an include file. > # > CheckForIncludeFile() > { > (for i do > echo "#include \"$i\"" > done)>t.c > runMake t "t:; ${CCOMPILER} ${ENVOPTS} -E t.c" > } > > if [ "$LIBIMAGE" = auto ]; then > if CheckForLibrary iopen -limage && CheckForIncludeFile gl/image.h; > then > Note "Looks like there is support for SGI RGB images." > LIBIMAGE=yes > else > LIBIMAGE=no > fi Both CheckForLibrary, and CheckForIncludeFile return with the exit code of runMake. I don't know why, runMake exit with 0. So the problem is with runMake.