1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
$NetBSD: patch-ab,v 1.9 2006/11/12 14:25:50 dmcmahill Exp $
--- configure.orig 2006-06-09 17:54:33.000000000 +0000
+++ configure
@@ -7765,7 +7765,7 @@ if test "${enable_double_buffer+set}" =
else
- if test "x$xc_with_GL" == "x" ; then
+ if test "x$xc_with_GL" = "x" ; then
cat >>confdefs.h <<\_ACEOF
#define DOUBLEBUFFER 1
_ACEOF
@@ -8144,7 +8144,7 @@ if test "${with_tcl+set}" = set; then
withval="$with_tcl"
xc_with_tcl=$withval
- if test "$withval" == "no" -o "$withval" == "NO"; then
+ if test "$withval" = "no" -o "$withval" = "NO"; then
xc_with_tcl=""
fi
@@ -8735,12 +8735,12 @@ if test "x$xc_with_tcl" != "x" ; then
if test "x${xc_with_tcl_includes}" != "x" ; then
if test -r "${xc_with_tcl_includes}/tcl.h" ; then
TCL_INC_DIR=${xc_with_tcl_includes}
- elif test "x${TCL_INCLUDE_SPEC}" == "x" ; then
+ elif test "x${TCL_INCLUDE_SPEC}" = "x" ; then
echo "Can't find tcl.h in \"${xc_with_tcl_includes}\""
echo "Reverting to non-Tcl compilation"
xc_with_tcl=""
fi
- elif test "x${TCL_INCLUDE_SPEC}" == "x" ; then
+ elif test "x${TCL_INCLUDE_SPEC}" = "x" ; then
for dir in \
${TCL_PREFIX}/include/tcl${TCL_MAJOR_VERSION}.${TCL_MINOR_VERSION} \
${TCL_PREFIX}/include \
@@ -8794,7 +8794,7 @@ fi
if test "x$xc_with_tcl" != "x" ; then
case $target in
- *-sunos4*|*-*-netbsd|NetBSD-*|FreeBSD-*|*-*-openbsd*|OpenBSD-*)
+ *-sunos4*|*-*-netbsd|*-*-netbsdelf|NetBSD-*|FreeBSD-*|OpenBSD-*|*-*-dragonfly*)
TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}"
;;
@@ -9246,7 +9246,7 @@ fi
EXTRA_LIB_SPECS="-ldl"
;;
- *-netbsd*|*-freebsd*|*-openbsd*)
+ *-netbsd*|*-freebsd*|*-openbsd*|*-*-dragonfly*)
# Not available on all versions: check for include file.
if test "${ac_cv_header_dlfcn_h+set}" = set; then
echo "$as_me:$LINENO: checking for dlfcn.h" >&5
@@ -9393,8 +9393,8 @@ fi
if test "$test_ok" = yes; then
- SHLIB_CFLAGS="-fpic"
- SHLIB_LD="ld"
+ SHLIB_CFLAGS="-fPIC"
+ SHLIB_LD=$CC
LDDL_FLAGS="-shared"
fi
;;
@@ -10542,6 +10542,8 @@ do
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ : Avoid regenerating within pkgsrc
+ exit 0
ac_cs_recheck=: ;;
--version | --vers* | -V )
echo "$ac_cs_version"; exit 0 ;;
|