Lines 1-190
Link Here
|
1 |
--- ./configure.orig 2010-12-26 23:39:18.000000000 +0100 |
|
|
2 |
+++ ./configure 2011-05-15 18:42:45.000000000 +0200 |
3 |
@@ -13610,93 +13610,6 @@ |
4 |
fi |
5 |
fi |
6 |
|
7 |
-# Checking for Tcl support (required by spo_sguil) |
8 |
- |
9 |
-# Check whether --with-tcl was given. |
10 |
-if test "${with_tcl+set}" = set; then : |
11 |
- withval=$with_tcl; with_tcl="$withval" |
12 |
-else |
13 |
- with_tcl=no |
14 |
-fi |
15 |
- |
16 |
- |
17 |
-if test "$with_tcl" != "no"; then |
18 |
- # prioritise manual definition of the Tcl library. |
19 |
- if test -d "$with_tcl"; then |
20 |
- tclpath="$with_tcl" |
21 |
- else |
22 |
- # let tclsh tell us where it was installed (prefer new Tcl versions). |
23 |
- for ac_prog in tclsh8.4 tclsh8.3 tclsh8.2 tclsh8.1 tclsh8.0 tclsh |
24 |
-do |
25 |
- # Extract the first word of "$ac_prog", so it can be a program name with args. |
26 |
-set dummy $ac_prog; ac_word=$2 |
27 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
28 |
-$as_echo_n "checking for $ac_word... " >&6; } |
29 |
-if test "${ac_cv_prog_TCLSH+set}" = set; then : |
30 |
- $as_echo_n "(cached) " >&6 |
31 |
-else |
32 |
- if test -n "$TCLSH"; then |
33 |
- ac_cv_prog_TCLSH="$TCLSH" # Let the user override the test. |
34 |
-else |
35 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
36 |
-for as_dir in $PATH |
37 |
-do |
38 |
- IFS=$as_save_IFS |
39 |
- test -z "$as_dir" && as_dir=. |
40 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
41 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
42 |
- ac_cv_prog_TCLSH="$ac_prog" |
43 |
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
44 |
- break 2 |
45 |
- fi |
46 |
-done |
47 |
- done |
48 |
-IFS=$as_save_IFS |
49 |
- |
50 |
-fi |
51 |
-fi |
52 |
-TCLSH=$ac_cv_prog_TCLSH |
53 |
-if test -n "$TCLSH"; then |
54 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 |
55 |
-$as_echo "$TCLSH" >&6; } |
56 |
-else |
57 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
58 |
-$as_echo "no" >&6; } |
59 |
-fi |
60 |
- |
61 |
- |
62 |
- test -n "$TCLSH" && break |
63 |
-done |
64 |
- |
65 |
- if test "$TCLSH" != ""; then |
66 |
- tclpath=`echo 'puts [lindex $tcl_pkgPath 0]' | $TCLSH` |
67 |
- fi |
68 |
- fi |
69 |
- |
70 |
- # check, if tclConfig.sh can be found in tclsh's installation directory. |
71 |
- if test ! -r $tclpath/tclConfig.sh; then |
72 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: |
73 |
- Can't find Tcl libraries. Use --with-tcl to specify |
74 |
- the directory containing tclConfig.sh on your system. |
75 |
- Continuing build without Tcl support." >&5 |
76 |
-$as_echo " |
77 |
- Can't find Tcl libraries. Use --with-tcl to specify |
78 |
- the directory containing tclConfig.sh on your system. |
79 |
- Continuing build without Tcl support." >&6; } |
80 |
- else |
81 |
- # source tclsh's configuration file and tell the user about the version. |
82 |
- . $tclpath/tclConfig.sh |
83 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the tcl version number" >&5 |
84 |
-$as_echo_n "checking for the tcl version number... " >&6; } |
85 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCL_VERSION, patchlevel $TCL_PATCH_LEVEL" >&5 |
86 |
-$as_echo "$TCL_VERSION, patchlevel $TCL_PATCH_LEVEL" >&6; } |
87 |
- LIBS="$LIBS $TCL_LIBS $TCL_LIB_SPEC" |
88 |
- TCL_INCLUDE="$TCL_PREFIX/include/tcl$TCL_VERSION" |
89 |
- CPPFLAGS="$CPPFLAGS -I$TCL_INCLUDE -DENABLE_TCL"; |
90 |
- fi |
91 |
-fi |
92 |
- |
93 |
- |
94 |
# Check whether --with-mysql was given. |
95 |
if test "${with_mysql+set}" = set; then : |
96 |
withval=$with_mysql; with_mysql="$withval" |
97 |
@@ -14496,6 +14409,93 @@ |
98 |
LIBS="${LIBS} -lbroccoli" |
99 |
fi |
100 |
|
101 |
+# Checking for Tcl support (required by spo_sguil) |
102 |
+ |
103 |
+# Check whether --with-tcl was given. |
104 |
+if test "${with_tcl+set}" = set; then : |
105 |
+ withval=$with_tcl; with_tcl="$withval" |
106 |
+else |
107 |
+ with_tcl=no |
108 |
+fi |
109 |
+ |
110 |
+ |
111 |
+if test "$with_tcl" != "no"; then |
112 |
+ # prioritise manual definition of the Tcl library. |
113 |
+ if test -d "$with_tcl"; then |
114 |
+ tclpath="$with_tcl" |
115 |
+ else |
116 |
+ # let tclsh tell us where it was installed (prefer new Tcl versions). |
117 |
+ for ac_prog in tclsh8.4 tclsh8.3 tclsh8.2 tclsh8.1 tclsh8.0 tclsh |
118 |
+do |
119 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
120 |
+set dummy $ac_prog; ac_word=$2 |
121 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
122 |
+$as_echo_n "checking for $ac_word... " >&6; } |
123 |
+if test "${ac_cv_prog_TCLSH+set}" = set; then : |
124 |
+ $as_echo_n "(cached) " >&6 |
125 |
+else |
126 |
+ if test -n "$TCLSH"; then |
127 |
+ ac_cv_prog_TCLSH="$TCLSH" # Let the user override the test. |
128 |
+else |
129 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
130 |
+for as_dir in $PATH |
131 |
+do |
132 |
+ IFS=$as_save_IFS |
133 |
+ test -z "$as_dir" && as_dir=. |
134 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
135 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
136 |
+ ac_cv_prog_TCLSH="$ac_prog" |
137 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
138 |
+ break 2 |
139 |
+ fi |
140 |
+done |
141 |
+ done |
142 |
+IFS=$as_save_IFS |
143 |
+ |
144 |
+fi |
145 |
+fi |
146 |
+TCLSH=$ac_cv_prog_TCLSH |
147 |
+if test -n "$TCLSH"; then |
148 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5 |
149 |
+$as_echo "$TCLSH" >&6; } |
150 |
+else |
151 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
152 |
+$as_echo "no" >&6; } |
153 |
+fi |
154 |
+ |
155 |
+ |
156 |
+ test -n "$TCLSH" && break |
157 |
+done |
158 |
+ |
159 |
+ if test "$TCLSH" != ""; then |
160 |
+ tclpath=`echo 'puts [lindex $tcl_pkgPath 0]' | $TCLSH` |
161 |
+ fi |
162 |
+ fi |
163 |
+ |
164 |
+ # check, if tclConfig.sh can be found in tclsh's installation directory. |
165 |
+ if test ! -r $tclpath/tclConfig.sh; then |
166 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: |
167 |
+ Can't find Tcl libraries. Use --with-tcl to specify |
168 |
+ the directory containing tclConfig.sh on your system. |
169 |
+ Continuing build without Tcl support." >&5 |
170 |
+$as_echo " |
171 |
+ Can't find Tcl libraries. Use --with-tcl to specify |
172 |
+ the directory containing tclConfig.sh on your system. |
173 |
+ Continuing build without Tcl support." >&6; } |
174 |
+ else |
175 |
+ # source tclsh's configuration file and tell the user about the version. |
176 |
+ . $tclpath/tclConfig.sh |
177 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the tcl version number" >&5 |
178 |
+$as_echo_n "checking for the tcl version number... " >&6; } |
179 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCL_VERSION, patchlevel $TCL_PATCH_LEVEL" >&5 |
180 |
+$as_echo "$TCL_VERSION, patchlevel $TCL_PATCH_LEVEL" >&6; } |
181 |
+ LIBS="$LIBS $TCL_LIBS $TCL_LIB_SPEC" |
182 |
+ TCL_INCLUDE="$TCL_PREFIX/include/tcl$TCL_VERSION" |
183 |
+ CPPFLAGS="$CPPFLAGS -I$TCL_INCLUDE -DENABLE_TCL"; |
184 |
+ fi |
185 |
+fi |
186 |
+ |
187 |
+ |
188 |
# let's make some fixes.. |
189 |
|
190 |
CFLAGS=`echo $CFLAGS | sed -e 's/-I\/usr\/include //g'` |