Date: Fri, 4 Apr 1997 22:44:36 -0800 (PST) From: Scott Overholser <scotto@remuda.com> To: Zahemszky Gabor <zgabor@CoDe.hu> Cc: FreeBSD questions <freebsd-questions@freebsd.org> Subject: Re: HylaFAX broken on 2.2.0-R? Message-ID: <Pine.NEB.3.93.970404223850.1848A-100000@popeye.remuda.com> In-Reply-To: <199704031353.PAA01207@CoDe.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
Here's more info: capture() { (eval "set -x; $*") >&5 2>&1 return } captureX() { (eval "set -x; $*") 2>&5 return } # # runMake target rules ... # runMakeX() { target="$1"; shift $RM $target (echo DEPTH=.; echo SRCDIR=.; cat xdefs; for i in "$@"; do echo "$i"; done )>confMakefile captureX ${MAKE} -f confMakefile $target return } runMake() { runMakeX "$@" >&5 return } On Thu, 3 Apr 1997, Zahemszky Gabor wrote: > <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?Pine.NEB.3.93.970404223850.1848A-100000>