76c0406bcb
* Get Tcl and Tk build variables from tcl/tkConfig.sh instead of pawing through directory trees.
46 lines
1.2 KiB
Text
46 lines
1.2 KiB
Text
$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"
|