From owner-freebsd-ports Fri Sep 11 14:49:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA16658 for freebsd-ports-outgoing; Fri, 11 Sep 1998 14:49:11 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from peloton.physics.montana.edu (peloton.physics.montana.edu [153.90.192.177]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16653 for ; Fri, 11 Sep 1998 14:49:07 -0700 (PDT) (envelope-from brett@peloton.physics.montana.edu) Received: from localhost (brett@localhost) by peloton.physics.montana.edu (8.8.8/8.8.7) with SMTP id PAA10873 for ; Fri, 11 Sep 1998 15:48:48 -0600 (MDT) (envelope-from brett@peloton.physics.montana.edu) Date: Fri, 11 Sep 1998 15:48:48 -0600 (MDT) From: Brett Taylor To: freebsd-ports@FreeBSD.ORG Subject: configure script question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I'm trying to get the beta version of AfterStep-1.5 running so that it'll be easier for me to update the port when the real version comes out and to check for any gotcha's. I found one.... :-) They are using a configure script to find -ljpeg and it's not finding it on FreeBSD... I'm sure it's due to the way we name the shared libs, but I have no clue on how to fix the configure script so it finds it. Below is the bit of the configure script that does the -ljpeg test. If someone can help me to figure out how to get this straightened out I'd really appreciate it! Thanks a lot! Brett ------------------------------------------------------------------------- echo "configure:2613: checking for jpeg_destroy_compress in -ljpeg" >&5 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ljpeg $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 JPEG_LIB="-ljpeg" HAVEJPEG="JPEG" else echo "$ac_t""no" 1>&6 fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message