Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 1997 15:53:53 +0200 (MET DST)
From:      Zahemszky Gabor <zgabor@CoDe.hu>
To:        freebsd-questions@freebsd.org (FreeBSD questions)
Cc:        scotto@remuda.com
Subject:   Re: HylaFAX broken on 2.2.0-R?
Message-ID:  <199704031353.PAA01207@CoDe.hu>
In-Reply-To: <Pine.NEB.3.93.970401113418.23201A-100000@popeye.remuda.com> from Scott Overholser at "Apr 1, 97 11:45:55 am"

next in thread | previous in thread | raw e-mail | index | archive | help
<SNIP>

> 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<<EOF
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704031353.PAA01207>