[BACK]Return to patch-aa CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mbone / vat / patches

File: [cvs.NetBSD.org] / pkgsrc / mbone / vat / patches / patch-aa (download)

Revision 1.6, Wed Jan 26 22:14:26 2000 UTC (20 years, 8 months ago) by jlam
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4, netbsd-1-6-RELEASE-base, netbsd-1-6-1-base, netbsd-1-6-1, netbsd-1-6, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH001, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, cwrapper, cube-native-xorg-base, cube-native-xorg, buildlink2-base, buildlink2, HEAD
Changes since 1.5: +32 -13 lines

* Get -lgsm from ${PREFIX}/lib
* Get Tcl and Tk build variables from tcl/tkConfig.sh instead of pawing
  through directory trees.

$NetBSD: patch-aa,v 1.6 2000/01/26 22:14:26 jlam Exp $

--- configure.in.orig	Thu May 16 08:21:17 1996
+++ configure.in	Wed Jan 26 15:34:04 2000
@@ -33,22 +33,15 @@
 		exit 1
 	fi
 else
-	echo "checking for libgsm.a"
+	echo "checking for -lgsm"
 	V_LIB_GSM=FAIL
-	places="$PWD/../gsm-1.0-pl7 \
-		$PWD/../gsm-1.0 \
-		$PWD/../gsm \
-		/usr/src/local/gsm-1.0-pl7 \
-		/usr/src/local/gsm-1.0 \
-		/usr/src/local/gsm"
-	for dir in $places; do
-		if test -r $dir/lib/libgsm.a -a -r $dir/inc/private.h ; then
-			V_LIB_GSM=$dir/lib/libgsm.a
-			V_INCLUDE_GSM=-I$dir/inc
-			break
-		fi
-	done
-	if test "$V_LIB_GSM" = FAIL; then
+	V_INCLUDE_GSM=FAIL
+	AC_CHECK_LIB(gsm, gsm_create, V_LIB_GSM="-lgsm")
+	AC_CHECK_HEADERS(private.h)
+	if test "$ac_cv_header_private_h" = "yes"; then
+		V_INCLUDE_GSM=
+	fi
+	if test "$V_LIB_GSM" = FAIL || test "$V_INCLUDES_GSM" = FAIL ; then
 		echo "configure: can't find gsm library ... you can get it at"
 		echo "   http://www.cs.tu-berlin.de/~jutta/toast.html"
 		exit 1
@@ -165,7 +158,9 @@
 	;;
 *-*-netbsd*)
 	V_TARCMD="tar -h -c -f"
-	V_LIB="$V_LIB -L/usr/local/lib"
+	V_LIB="${LDFLAGS} $V_LIB -lossaudio"
+	V_OBJ_AUDIO="audio-voxware.o"
+	V_CCOPT="${CPPFLAGS}"
 	;;
 *-*-hpux*)
 	V_DEFINE="$V_DEFINE"