1997-09-11 03:55:02 +00:00
|
|
|
--- configure.in.orig Thu Jun 20 23:36:47 1996
|
|
|
|
+++ configure.in Tue Sep 9 11:20:32 1997
|
1998-06-26 18:39:21 +00:00
|
|
|
@@ -34,7 +34,7 @@
|
|
|
|
|
|
|
|
V_LIB_GRABBER=""
|
|
|
|
V_INCLUDE_GRABBER=""
|
|
|
|
-V_OBJ_GRABBER=""
|
|
|
|
+V_OBJ_GRABBER="grabber-x11.cc"
|
|
|
|
V_LIB_XIL=""
|
|
|
|
V_OBJ_XIL=""
|
|
|
|
|
1998-07-11 19:41:11 +00:00
|
|
|
@@ -87,9 +87,6 @@
|
|
|
|
V_OBJ_GRABBER="$V_OBJ_GRABBER grabber-qcam.o"
|
|
|
|
V_DEFINE="$V_DEFINE -DQCAMDEV"
|
|
|
|
fi
|
|
|
|
-if test -r /usr/include/linux/scc.h -o -r /usr/include/machine/scc.h ; then
|
|
|
|
- V_OBJ_GRABBER="$V_OBJ_GRABBER grabber-scc.o"
|
|
|
|
-fi
|
|
|
|
vpix_dir=/usr/src/local/vfc-1.0
|
|
|
|
vpix_lib=$vpix_dir/vfc_lib
|
|
|
|
if test -d /import/VideoPix ; then
|
1997-09-11 03:55:02 +00:00
|
|
|
@@ -228,6 +228,9 @@
|
|
|
|
V_TARCMD="tar -h -c -f"
|
|
|
|
V_LIB="$V_LIB -L/usr/local/lib"
|
|
|
|
;;
|
|
|
|
+*-*-freebsd*)
|
|
|
|
+ V_STATIC=""
|
|
|
|
+ ;;
|
|
|
|
*-*-hpux*)
|
|
|
|
V_CCOPT="-O"
|
|
|
|
;;
|
|
|
|
--- configure.in.tk.orig Thu May 16 01:06:05 1996
|
|
|
|
+++ configure.in.tk Tue Sep 9 11:01:36 1997
|
|
|
|
@@ -12,8 +12,8 @@
|
|
|
|
echo "can't find tcl.h in $d/include"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
- places="$d/lib/libtcl7.5.so \
|
|
|
|
- $d/lib/libtcl7.5.a \
|
1998-03-17 07:47:55 +00:00
|
|
|
+ places="$d/lib/libtcl8.0.so \
|
|
|
|
+ $d/lib/libtcl8.0.a \
|
1997-09-11 03:55:02 +00:00
|
|
|
$d/lib/libtcl.so \
|
|
|
|
$d/lib/libtcl.a"
|
|
|
|
V_LIB_TCL=FAIL
|
|
|
|
@@ -27,7 +27,7 @@
|
|
|
|
echo "can't find libtcl.a in $d/lib"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
- places="$d/lib/tcl7.5 \
|
1998-03-17 07:47:55 +00:00
|
|
|
+ places="$d/lib/tcl8.0 \
|
1997-09-11 03:55:02 +00:00
|
|
|
$d/lib/tcl"
|
|
|
|
V_LIBRARY_TCL=FAIL
|
|
|
|
for dir in $places; do
|
|
|
|
@@ -44,13 +44,14 @@
|
|
|
|
AC_TEST_CPP([#include <tcl.h>], V_INCLUDE_TCL="", V_INCLUDE_TCL=FAIL)
|
|
|
|
if test "$V_INCLUDE_TCL" = FAIL; then
|
|
|
|
echo "checking for tcl.h"
|
|
|
|
- places="$PWD/../tcl7.5 \
|
|
|
|
- /usr/src/local/tcl7.5 \
|
|
|
|
- /import/tcl/include/tcl7.5 \
|
1998-03-17 07:47:55 +00:00
|
|
|
+ places="$PWD/../tcl8.0 \
|
|
|
|
+ /usr/src/local/tcl8.0 \
|
|
|
|
+ /import/tcl/include/tcl8.0 \
|
1997-09-11 03:55:02 +00:00
|
|
|
$prefix/include \
|
|
|
|
$x_includes/tk \
|
|
|
|
$x_includes \
|
|
|
|
/usr/local/include \
|
1998-03-17 07:47:55 +00:00
|
|
|
+ /usr/local/include/tcl8.0 \
|
1997-09-11 03:55:02 +00:00
|
|
|
/usr/contrib/include \
|
|
|
|
/usr/include"
|
|
|
|
for dir in $places; do
|
|
|
|
@@ -64,7 +65,7 @@
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
- AC_CHECK_LIB(tcl7.5, main, V_LIB_TCL="-ltcl7.5", V_LIB_TCL="FAIL")
|
1998-03-17 07:47:55 +00:00
|
|
|
+ AC_CHECK_LIB(tcl8.0, main, V_LIB_TCL="-ltcl8.0", V_LIB_TCL="FAIL")
|
1997-09-11 03:55:02 +00:00
|
|
|
if test "$V_LIB_TCL" = FAIL; then
|
|
|
|
echo "checking for libtcl.a"
|
|
|
|
places="\
|
|
|
|
@@ -73,13 +74,13 @@
|
|
|
|
/usr/contrib/lib \
|
|
|
|
/usr/local/lib \
|
|
|
|
/usr/lib \
|
|
|
|
- $PWD/../tcl7.5 \
|
|
|
|
- /usr/src/local/tcl7.5 \
|
|
|
|
- /import/tcl/lib/tcl7.5 \
|
1998-03-17 07:47:55 +00:00
|
|
|
+ $PWD/../tcl8.0 \
|
|
|
|
+ /usr/src/local/tcl8.0 \
|
|
|
|
+ /import/tcl/lib/tcl8.0 \
|
1997-09-11 03:55:02 +00:00
|
|
|
"
|
|
|
|
for dir in $places; do
|
|
|
|
- if test -r $dir/libtcl7.5.so -o -r $dir/libtcl7.5.a; then
|
|
|
|
- V_LIB_TCL="-L$dir -ltcl7.5"
|
1998-03-17 07:47:55 +00:00
|
|
|
+ if test -r $dir/libtcl80.so -o -r $dir/libtcl80.a; then
|
|
|
|
+ V_LIB_TCL="-L$dir -ltcl80"
|
1997-09-11 03:55:02 +00:00
|
|
|
break
|
|
|
|
fi
|
|
|
|
if test -r $dir/libtcl.so -o -r $dir/libtcl.a; then
|
|
|
|
@@ -98,13 +99,13 @@
|
|
|
|
fi
|
|
|
|
echo "checking for tcl/init.tcl"
|
|
|
|
V_LIBRARY_TCL=FAIL
|
|
|
|
- places="/usr/local/lib/tcl7.5 \
|
|
|
|
- /usr/contrib/lib/tcl7.5 \
|
|
|
|
- /usr/lib/tcl7.5 \
|
|
|
|
- /usr/lib/tk/tcl7.5 \
|
|
|
|
- /import/tcl/lib/tcl7.5 \
|
|
|
|
- $prefix/lib/tcl7.5 \
|
|
|
|
- $x_libraries/tcl7.5 \
|
1998-03-17 07:47:55 +00:00
|
|
|
+ places="/usr/local/lib/tcl8.0 \
|
|
|
|
+ /usr/contrib/lib/tcl8.0 \
|
|
|
|
+ /usr/lib/tcl8.0 \
|
|
|
|
+ /usr/lib/tk/tcl8.0 \
|
|
|
|
+ /import/tcl/lib/tcl8.0 \
|
|
|
|
+ $prefix/lib/tcl8.0 \
|
|
|
|
+ $x_libraries/tcl8.0 \
|
1997-09-11 03:55:02 +00:00
|
|
|
/usr/local/lib/tcl \
|
|
|
|
/usr/lib/tcl \
|
|
|
|
/usr/lib/tk/tcl \
|
|
|
|
@@ -138,8 +139,8 @@
|
|
|
|
echo "can't find tk.h in $d/include"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
- places="$d/lib/libtk4.1.so \
|
|
|
|
- $d/lib/libtk4.1.a \
|
1998-03-17 07:47:55 +00:00
|
|
|
+ places="$d/lib/libtk8.0.so \
|
|
|
|
+ $d/lib/libtk8.0.a \
|
1997-09-11 03:55:02 +00:00
|
|
|
$d/lib/libtk.so \
|
|
|
|
$d/lib/libtk.a"
|
|
|
|
V_LIB_TK=FAIL
|
|
|
|
@@ -153,7 +154,7 @@
|
|
|
|
echo "can't find libtk.a in $d/lib"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
- places="$d/lib/tk4.1 \
|
1998-03-17 07:47:55 +00:00
|
|
|
+ places="$d/lib/tk8.0 \
|
1997-09-11 03:55:02 +00:00
|
|
|
$d/lib/tk"
|
|
|
|
V_LIBRARY_TK=FAIL
|
|
|
|
for dir in $places; do
|
|
|
|
@@ -170,18 +171,19 @@
|
|
|
|
AC_TEST_CPP([#include <tk.h>], V_INCLUDE_TK="", V_INCLUDE_TK=FAIL)
|
|
|
|
if test "$V_INCLUDE_TK" = FAIL; then
|
|
|
|
echo "checking for tk.h"
|
|
|
|
- V_INCLUDE_TK=""
|
|
|
|
+ V_INCLUDE_TK="FAIL"
|
|
|
|
places="\
|
|
|
|
$prefix/include \
|
|
|
|
/usr/local/include \
|
1998-03-17 07:47:55 +00:00
|
|
|
+ /usr/local/include/tk8.0 \
|
1997-09-11 03:55:02 +00:00
|
|
|
/usr/contrib/include \
|
|
|
|
/usr/include/tcl \
|
|
|
|
/usr/include\
|
|
|
|
$x_includes/tk \
|
|
|
|
$x_includes \
|
|
|
|
- $PWD/../tk4.1 \
|
|
|
|
- /usr/src/local/tk4.1 \
|
|
|
|
- /import/tcl/include/tk4.1 \
|
1998-03-17 07:47:55 +00:00
|
|
|
+ $PWD/../tk8.0 \
|
|
|
|
+ /usr/src/local/tk8.0 \
|
|
|
|
+ /import/tcl/include/tk8.0 \
|
1997-09-11 03:55:02 +00:00
|
|
|
"
|
|
|
|
for dir in $places; do
|
|
|
|
if test -r $dir/tk.h ; then
|
|
|
|
@@ -194,7 +196,7 @@
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
- AC_CHECK_LIB(tk4.1, main, V_LIB_TK="-ltk4.1", V_LIB_TK="FAIL")
|
1998-03-17 07:47:55 +00:00
|
|
|
+ AC_CHECK_LIB(tk8.0, main, V_LIB_TK="-ltk8.0", V_LIB_TK="FAIL")
|
1997-09-11 03:55:02 +00:00
|
|
|
if test "$V_LIB_TK" = FAIL; then
|
|
|
|
echo "checking for libtk.a"
|
|
|
|
places="/usr/local/lib \
|
|
|
|
@@ -202,13 +204,13 @@
|
|
|
|
/usr/lib \
|
|
|
|
/usr/lib/tk \
|
|
|
|
/import/tcl/lib \
|
|
|
|
- $PWD/../tk4.1 \
|
|
|
|
- /usr/src/local/tk4.1 \
|
1998-03-17 07:47:55 +00:00
|
|
|
+ $PWD/../tk8.0 \
|
|
|
|
+ /usr/src/local/tk8.0 \
|
1997-09-11 03:55:02 +00:00
|
|
|
$prefix/lib \
|
|
|
|
$x_libraries"
|
|
|
|
for dir in $places; do
|
|
|
|
- if test -r $dir/libtk4.1.so -o -r $dir/libtk4.1.a; then
|
|
|
|
- V_LIB_TK="-L$dir -ltk4.1"
|
1998-03-17 07:47:55 +00:00
|
|
|
+ if test -r $dir/libtk80.so -o -r $dir/libtk80.a; then
|
|
|
|
+ V_LIB_TK="-L$dir -ltk80"
|
1997-09-11 03:55:02 +00:00
|
|
|
break
|
|
|
|
fi
|
|
|
|
if test -r $dir/libtk.so -o -r $dir/libtk.a; then
|
|
|
|
@@ -227,15 +229,15 @@
|
|
|
|
fi
|
|
|
|
echo "checking for tk/tk.tcl"
|
|
|
|
V_LIBRARY_TK=FAIL
|
|
|
|
- places="/usr/local/lib/tk4.1 \
|
|
|
|
- /usr/contrib/lib/tk4.1 \
|
|
|
|
- /usr/lib/tk4.1 \
|
|
|
|
- /usr/lib/tk/tk4.1 \
|
|
|
|
- /import/tcl/lib/tk4.1 \
|
|
|
|
- $prefix/lib/tk4.1 \
|
|
|
|
- $x_libraries/tk4.1 \
|
|
|
|
- $PWD/../tk4.1/library \
|
|
|
|
- /usr/src/local/tk4.1/library \
|
1998-03-17 07:47:55 +00:00
|
|
|
+ places="/usr/local/lib/tk8.0 \
|
|
|
|
+ /usr/contrib/lib/tk8.0 \
|
|
|
|
+ /usr/lib/tk8.0 \
|
|
|
|
+ /usr/lib/tk/tk8.0 \
|
|
|
|
+ /import/tcl/lib/tk8.0 \
|
|
|
|
+ $prefix/lib/tk8.0 \
|
|
|
|
+ $x_libraries/tk8.0 \
|
|
|
|
+ $PWD/../tk8.0/library \
|
|
|
|
+ /usr/src/local/tk8.0/library \
|
1997-09-11 03:55:02 +00:00
|
|
|
/usr/local/lib/tk \
|
|
|
|
/usr/lib/tk \
|
|
|
|
/usr/lib/tk/tk \
|
|
|
|
--- Makefile.in.orig Mon Jul 22 09:32:53 1996
|
|
|
|
+++ Makefile.in Tue Sep 9 11:01:36 1997
|
1996-11-07 07:37:35 +00:00
|
|
|
@@ -303,7 +303,7 @@
|
|
|
|
chown bin @prefix@/bin/vic
|
|
|
|
chgrp bin @prefix@/bin/vic
|
|
|
|
chmod 555 @prefix@/bin/vic
|
|
|
|
- cp vic.1 @prefix@/man/vic.1
|
|
|
|
+ cp vic.1 @prefix@/man/man1/vic.1
|
|
|
|
cp histtolut @prefix@/bin/histtolut
|
|
|
|
chown bin @prefix@/bin/histtolut
|
|
|
|
chgrp bin @prefix@/bin/histtolut
|