ff6b1d4301
Submitted by Joshua Stein <jcs@rt.fm>. A color QuickCam control program that supports the color QuickCam and Color QuickCam 2.
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
$OpenBSD: patch-configure,v 1.1.1.1 2001/05/18 11:25:26 naddy Exp $
|
|
--- configure.orig Thu Aug 17 12:41:42 2000
|
|
+++ configure Wed May 16 18:26:00 2001
|
|
@@ -1659,7 +1659,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
ac_save_LIBS="$LIBS"
|
|
-LIBS="-ltk -ltcl -ldl -L$x_libraries -lX11 $LIBS"
|
|
+LIBS="-ltk83 -ltcl83 -L$x_libraries -lX11 $LIBS"
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 1665 "configure"
|
|
#include "confdefs.h"
|
|
@@ -1690,7 +1690,7 @@ LIBS="$ac_save_LIBS"
|
|
fi
|
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
echo "$ac_t""yes" 1>&6
|
|
- REMOTE_OBJS='xqcctl-tk.o' ; REMOTE_LIBS='-ltk -ltcl -lXext -lX11 -ldl -lm' ; REMOTE_CFLAGS='-DREMOTE'
|
|
+ REMOTE_OBJS='xqcctl-tk.o' ; REMOTE_LIBS='-ltk83 -ltcl83 -lXext -lX11 -lm' ; REMOTE_CFLAGS='-DREMOTE'
|
|
else
|
|
echo "$ac_t""no" 1>&6
|
|
echo "configure: warning: *** xcqcam will be built without the control panel ***" 1>&2 ;
|
|
@@ -1952,8 +1952,8 @@ case "$host_os" in
|
|
OS_LIBCQCAM_OBJS=''
|
|
;;
|
|
openbsd*)
|
|
- OS_CFLAGS='-O2 -DOPENBSD'
|
|
- OS_LDFLAGS='-L/usr/local/lib'
|
|
+ OS_CFLAGS="${CFLAGS}"' -DOPENBSD -I${LOCALBASE}/include'
|
|
+ OS_LDFLAGS='-L${LOCALBASE}/lib'
|
|
OS_LIBCQCAM_OBJS=''
|
|
OS_LIBS='-li386'
|
|
;;
|