Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 1998 07:19:11 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        asami@FreeBSD.ORG (Satoshi Asami)
Cc:        brian@Awfulhak.org, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/x11/kworldwatch Makefile 
Message-ID:  <199810130619.HAA19226@woof.lan.awfulhak.org>
In-Reply-To: Your message of "Mon, 12 Oct 1998 13:10:27 PDT." <199810122010.NAA29825@vader.cs.berkeley.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
>  * I'm clearly missing something here.  I have:
> 
>  * checking for giflib... yes
> 
> What command does config.log say that it's running here?

It says:
configure:3017: checking for giflib
configure:3041: c++ -o conftest -O2 -Wall  -s conftest.C -L/usr/local/lib -L/usr
/X11R6/lib -lgif -lX11  1>&5
configure:3065: checking for jpeglib

And from configure:
[.....]
  ac_save_LIBS="$LIBS"
LIBS="$all_libraries -lgif -lX11 $LIBSOCKET"
cat > conftest.$ac_ext <<EOF
#line 3024 "configure"
#include "confdefs.h"
  
#ifdef __cplusplus
extern "C" {
#endif
int GifLastError(void);
#ifdef __cplusplus
}
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */

int main() {
return GifLastError();
; return 0; }
EOF
if { (eval echo configure:3041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t
est -s conftest; then
  rm -rf conftest*
  eval "ac_cv_lib_gif=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_gif=no"
fi
[.....]

Which AFAICT ought to work (and does on my machine).

> Satoshi

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



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