]>
Commit | Line | Data |
---|---|---|
11ba46ee | 1 | diff -Nur eggdrop2.0.0-ALPHA.orig/configure eggdrop2.0.0-ALPHA/configure |
2 | --- eggdrop2.0.0-ALPHA.orig/configure Sun Jan 17 07:44:20 1999 | |
3 | +++ eggdrop2.0.0-ALPHA/configure Sat Feb 20 20:20:03 1999 | |
4 | @@ -1,7 +1,7 @@ | |
5 | #! /bin/sh | |
6 | ||
7 | # Guess values for system-dependent variables and create Makefiles. | |
8 | -# Generated automatically using autoconf version 2.12 | |
9 | +# Generated automatically using autoconf version 2.13 | |
10 | # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. | |
11 | # | |
12 | # This configure script is free software; the Free Software Foundation | |
13 | @@ -49,6 +49,7 @@ | |
14 | # Initialize some other variables. | |
15 | subdirs= | |
16 | MFLAGS= MAKEFLAGS= | |
17 | +SHELL=${CONFIG_SHELL-/bin/sh} | |
18 | # Maximum number of lines to put in a shell here document. | |
19 | ac_max_here_lines=12 | |
20 | ||
21 | @@ -332,7 +333,7 @@ | |
22 | verbose=yes ;; | |
23 | ||
24 | -version | --version | --versio | --versi | --vers) | |
25 | - echo "configure generated by autoconf version 2.12" | |
26 | + echo "configure generated by autoconf version 2.13" | |
27 | exit 0 ;; | |
28 | ||
29 | -with-* | --with-*) | |
30 | @@ -502,9 +503,11 @@ | |
31 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
32 | ac_cpp='$CPP $CPPFLAGS' | |
33 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
34 | -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
35 | +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
36 | cross_compiling=$ac_cv_prog_cc_cross | |
37 | ||
38 | +ac_exeext= | |
39 | +ac_objext=o | |
40 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then | |
41 | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | |
42 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | |
43 | @@ -533,15 +536,16 @@ | |
44 | # Extract the first word of "gcc", so it can be a program name with args. | |
45 | set dummy gcc; ac_word=$2 | |
46 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
47 | -echo "configure:537: checking for $ac_word" >&5 | |
48 | +echo "configure:540: checking for $ac_word" >&5 | |
49 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | |
50 | echo $ac_n "(cached) $ac_c" 1>&6 | |
51 | else | |
52 | if test -n "$CC"; then | |
53 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
54 | else | |
55 | - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
56 | - for ac_dir in $PATH; do | |
57 | + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
58 | + ac_dummy="$PATH" | |
59 | + for ac_dir in $ac_dummy; do | |
60 | test -z "$ac_dir" && ac_dir=. | |
61 | if test -f $ac_dir/$ac_word; then | |
62 | ac_cv_prog_CC="gcc" | |
63 | @@ -562,16 +566,17 @@ | |
64 | # Extract the first word of "cc", so it can be a program name with args. | |
65 | set dummy cc; ac_word=$2 | |
66 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
67 | -echo "configure:566: checking for $ac_word" >&5 | |
68 | +echo "configure:570: checking for $ac_word" >&5 | |
69 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | |
70 | echo $ac_n "(cached) $ac_c" 1>&6 | |
71 | else | |
72 | if test -n "$CC"; then | |
73 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
74 | else | |
75 | - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
76 | + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
77 | ac_prog_rejected=no | |
78 | - for ac_dir in $PATH; do | |
79 | + ac_dummy="$PATH" | |
80 | + for ac_dir in $ac_dummy; do | |
81 | test -z "$ac_dir" && ac_dir=. | |
82 | if test -f $ac_dir/$ac_word; then | |
83 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | |
84 | @@ -606,25 +611,61 @@ | |
85 | echo "$ac_t""no" 1>&6 | |
86 | fi | |
87 | ||
88 | + if test -z "$CC"; then | |
89 | + case "`uname -s`" in | |
90 | + *win32* | *WIN32*) | |
91 | + # Extract the first word of "cl", so it can be a program name with args. | |
92 | +set dummy cl; ac_word=$2 | |
93 | +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
94 | +echo "configure:621: checking for $ac_word" >&5 | |
95 | +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | |
96 | + echo $ac_n "(cached) $ac_c" 1>&6 | |
97 | +else | |
98 | + if test -n "$CC"; then | |
99 | + ac_cv_prog_CC="$CC" # Let the user override the test. | |
100 | +else | |
101 | + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
102 | + ac_dummy="$PATH" | |
103 | + for ac_dir in $ac_dummy; do | |
104 | + test -z "$ac_dir" && ac_dir=. | |
105 | + if test -f $ac_dir/$ac_word; then | |
106 | + ac_cv_prog_CC="cl" | |
107 | + break | |
108 | + fi | |
109 | + done | |
110 | + IFS="$ac_save_ifs" | |
111 | +fi | |
112 | +fi | |
113 | +CC="$ac_cv_prog_CC" | |
114 | +if test -n "$CC"; then | |
115 | + echo "$ac_t""$CC" 1>&6 | |
116 | +else | |
117 | + echo "$ac_t""no" 1>&6 | |
118 | +fi | |
119 | + ;; | |
120 | + esac | |
121 | + fi | |
122 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | |
123 | fi | |
124 | ||
125 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | |
126 | -echo "configure:614: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | |
127 | +echo "configure:653: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | |
128 | ||
129 | ac_ext=c | |
130 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
131 | ac_cpp='$CPP $CPPFLAGS' | |
132 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
133 | -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
134 | +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
135 | cross_compiling=$ac_cv_prog_cc_cross | |
136 | ||
137 | -cat > conftest.$ac_ext <<EOF | |
138 | -#line 624 "configure" | |
139 | +cat > conftest.$ac_ext << EOF | |
140 | + | |
141 | +#line 664 "configure" | |
142 | #include "confdefs.h" | |
143 | + | |
144 | main(){return(0);} | |
145 | EOF | |
146 | -if { (eval echo configure:628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
147 | +if { (eval echo configure:669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
148 | ac_cv_prog_cc_works=yes | |
149 | # If we can't run a trivial program, we are probably using a cross compiler. | |
150 | if (./conftest; exit) 2>/dev/null; then | |
151 | @@ -638,18 +679,24 @@ | |
152 | ac_cv_prog_cc_works=no | |
153 | fi | |
154 | rm -fr conftest* | |
155 | +ac_ext=c | |
156 | +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
157 | +ac_cpp='$CPP $CPPFLAGS' | |
158 | +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
159 | +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
160 | +cross_compiling=$ac_cv_prog_cc_cross | |
161 | ||
162 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | |
163 | if test $ac_cv_prog_cc_works = no; then | |
164 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | |
165 | fi | |
166 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | |
167 | -echo "configure:648: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | |
168 | +echo "configure:695: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | |
169 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | |
170 | cross_compiling=$ac_cv_prog_cc_cross | |
171 | ||
172 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | |
173 | -echo "configure:653: checking whether we are using GNU C" >&5 | |
174 | +echo "configure:700: checking whether we are using GNU C" >&5 | |
175 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | |
176 | echo $ac_n "(cached) $ac_c" 1>&6 | |
177 | else | |
178 | @@ -658,7 +705,7 @@ | |
179 | yes; | |
180 | #endif | |
181 | EOF | |
182 | -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | |
183 | +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | |
184 | ac_cv_prog_gcc=yes | |
185 | else | |
186 | ac_cv_prog_gcc=no | |
187 | @@ -669,11 +716,15 @@ | |
188 | ||
189 | if test $ac_cv_prog_gcc = yes; then | |
190 | GCC=yes | |
191 | - ac_test_CFLAGS="${CFLAGS+set}" | |
192 | - ac_save_CFLAGS="$CFLAGS" | |
193 | - CFLAGS= | |
194 | - echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
195 | -echo "configure:677: checking whether ${CC-cc} accepts -g" >&5 | |
196 | +else | |
197 | + GCC= | |
198 | +fi | |
199 | + | |
200 | +ac_test_CFLAGS="${CFLAGS+set}" | |
201 | +ac_save_CFLAGS="$CFLAGS" | |
202 | +CFLAGS= | |
203 | +echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
204 | +echo "configure:728: checking whether ${CC-cc} accepts -g" >&5 | |
205 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | |
206 | echo $ac_n "(cached) $ac_c" 1>&6 | |
207 | else | |
208 | @@ -688,32 +739,37 @@ | |
209 | fi | |
210 | ||
211 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | |
212 | - if test "$ac_test_CFLAGS" = set; then | |
213 | - CFLAGS="$ac_save_CFLAGS" | |
214 | - elif test $ac_cv_prog_cc_g = yes; then | |
215 | +if test "$ac_test_CFLAGS" = set; then | |
216 | + CFLAGS="$ac_save_CFLAGS" | |
217 | +elif test $ac_cv_prog_cc_g = yes; then | |
218 | + if test "$GCC" = yes; then | |
219 | CFLAGS="-g -O2" | |
220 | else | |
221 | - CFLAGS="-O2" | |
222 | + CFLAGS="-g" | |
223 | fi | |
224 | else | |
225 | - GCC= | |
226 | - test "${CFLAGS+set}" = set || CFLAGS="-g" | |
227 | + if test "$GCC" = yes; then | |
228 | + CFLAGS="-O2" | |
229 | + else | |
230 | + CFLAGS= | |
231 | + fi | |
232 | fi | |
233 | ||
234 | -for ac_prog in $CCC c++ g++ gcc CC cxx cc++ | |
235 | +for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl | |
236 | do | |
237 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
238 | set dummy $ac_prog; ac_word=$2 | |
239 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
240 | -echo "configure:709: checking for $ac_word" >&5 | |
241 | +echo "configure:764: checking for $ac_word" >&5 | |
242 | if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then | |
243 | echo $ac_n "(cached) $ac_c" 1>&6 | |
244 | else | |
245 | if test -n "$CXX"; then | |
246 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | |
247 | else | |
248 | - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
249 | - for ac_dir in $PATH; do | |
250 | + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
251 | + ac_dummy="$PATH" | |
252 | + for ac_dir in $ac_dummy; do | |
253 | test -z "$ac_dir" && ac_dir=. | |
254 | if test -f $ac_dir/$ac_word; then | |
255 | ac_cv_prog_CXX="$ac_prog" | |
256 | @@ -736,21 +792,23 @@ | |
257 | ||
258 | ||
259 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | |
260 | -echo "configure:740: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 | |
261 | +echo "configure:796: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 | |
262 | ||
263 | ac_ext=C | |
264 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
265 | ac_cpp='$CXXCPP $CPPFLAGS' | |
266 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
267 | -ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
268 | +ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
269 | cross_compiling=$ac_cv_prog_cxx_cross | |
270 | ||
271 | -cat > conftest.$ac_ext <<EOF | |
272 | -#line 750 "configure" | |
273 | +cat > conftest.$ac_ext << EOF | |
274 | + | |
275 | +#line 807 "configure" | |
276 | #include "confdefs.h" | |
277 | -main(){return(0);} | |
278 | + | |
279 | +int main(){return(0);} | |
280 | EOF | |
281 | -if { (eval echo configure:754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
282 | +if { (eval echo configure:812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
283 | ac_cv_prog_cxx_works=yes | |
284 | # If we can't run a trivial program, we are probably using a cross compiler. | |
285 | if (./conftest; exit) 2>/dev/null; then | |
286 | @@ -768,7 +826,7 @@ | |
287 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
288 | ac_cpp='$CPP $CPPFLAGS' | |
289 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
290 | -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
291 | +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
292 | cross_compiling=$ac_cv_prog_cc_cross | |
293 | ||
294 | echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 | |
295 | @@ -776,12 +834,12 @@ | |
296 | { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } | |
297 | fi | |
298 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | |
299 | -echo "configure:780: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 | |
300 | +echo "configure:838: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 | |
301 | echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 | |
302 | cross_compiling=$ac_cv_prog_cxx_cross | |
303 | ||
304 | echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 | |
305 | -echo "configure:785: checking whether we are using GNU C++" >&5 | |
306 | +echo "configure:843: checking whether we are using GNU C++" >&5 | |
307 | if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then | |
308 | echo $ac_n "(cached) $ac_c" 1>&6 | |
309 | else | |
310 | @@ -790,7 +848,7 @@ | |
311 | yes; | |
312 | #endif | |
313 | EOF | |
314 | -if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | |
315 | +if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | |
316 | ac_cv_prog_gxx=yes | |
317 | else | |
318 | ac_cv_prog_gxx=no | |
319 | @@ -801,11 +859,15 @@ | |
320 | ||
321 | if test $ac_cv_prog_gxx = yes; then | |
322 | GXX=yes | |
323 | - ac_test_CXXFLAGS="${CXXFLAGS+set}" | |
324 | - ac_save_CXXFLAGS="$CXXFLAGS" | |
325 | - CXXFLAGS= | |
326 | - echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 | |
327 | -echo "configure:809: checking whether ${CXX-g++} accepts -g" >&5 | |
328 | +else | |
329 | + GXX= | |
330 | +fi | |
331 | + | |
332 | +ac_test_CXXFLAGS="${CXXFLAGS+set}" | |
333 | +ac_save_CXXFLAGS="$CXXFLAGS" | |
334 | +CXXFLAGS= | |
335 | +echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 | |
336 | +echo "configure:871: checking whether ${CXX-g++} accepts -g" >&5 | |
337 | if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then | |
338 | echo $ac_n "(cached) $ac_c" 1>&6 | |
339 | else | |
340 | @@ -820,16 +882,20 @@ | |
341 | fi | |
342 | ||
343 | echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 | |
344 | - if test "$ac_test_CXXFLAGS" = set; then | |
345 | - CXXFLAGS="$ac_save_CXXFLAGS" | |
346 | - elif test $ac_cv_prog_cxx_g = yes; then | |
347 | +if test "$ac_test_CXXFLAGS" = set; then | |
348 | + CXXFLAGS="$ac_save_CXXFLAGS" | |
349 | +elif test $ac_cv_prog_cxx_g = yes; then | |
350 | + if test "$GXX" = yes; then | |
351 | CXXFLAGS="-g -O2" | |
352 | else | |
353 | - CXXFLAGS="-O2" | |
354 | + CXXFLAGS="-g" | |
355 | fi | |
356 | else | |
357 | - GXX= | |
358 | - test "${CXXFLAGS+set}" = set || CXXFLAGS="-g" | |
359 | + if test "$GXX" = yes; then | |
360 | + CXXFLAGS="-O2" | |
361 | + else | |
362 | + CXXFLAGS= | |
363 | + fi | |
364 | fi | |
365 | ||
366 | if test x${ac_cv_prog_CXX} = x; then | |
367 | @@ -840,12 +906,11 @@ | |
368 | exit | |
369 | fi | |
370 | if test "x$CFLAGS" = "x"; then | |
371 | - CFLAGS="-O" | |
372 | + CFLAGS="-O2" | |
373 | fi | |
374 | if test "x$CC" = "xgcc"; then | |
375 | - CFLAGS="-O2 -Wall" | |
376 | echo $ac_n "checking what version your gcc is?""... $ac_c" 1>&6 | |
377 | -echo "configure:849: checking what version your gcc is?" >&5 | |
378 | +echo "configure:914: checking what version your gcc is?" >&5 | |
379 | case `${CXX} --version` in | |
380 | egcs*) | |
381 | echo "$ac_t""egcs - based on gcc 2.8" 1>&6 | |
382 | @@ -874,15 +939,16 @@ | |
383 | # Extract the first word of "strip", so it can be a program name with args. | |
384 | set dummy strip; ac_word=$2 | |
385 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
386 | -echo "configure:878: checking for $ac_word" >&5 | |
387 | +echo "configure:943: checking for $ac_word" >&5 | |
388 | if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then | |
389 | echo $ac_n "(cached) $ac_c" 1>&6 | |
390 | else | |
391 | if test -n "$STRIP"; then | |
392 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
393 | else | |
394 | - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
395 | - for ac_dir in $PATH; do | |
396 | + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
397 | + ac_dummy="$PATH" | |
398 | + for ac_dir in $ac_dummy; do | |
399 | test -z "$ac_dir" && ac_dir=. | |
400 | if test -f $ac_dir/$ac_word; then | |
401 | ac_cv_prog_STRIP="strip" | |
402 | @@ -905,15 +971,16 @@ | |
403 | # Extract the first word of "uname", so it can be a program name with args. | |
404 | set dummy uname; ac_word=$2 | |
405 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
406 | -echo "configure:909: checking for $ac_word" >&5 | |
407 | +echo "configure:975: checking for $ac_word" >&5 | |
408 | if eval "test \"`echo '$''{'ac_cv_prog_UNAME'+set}'`\" = set"; then | |
409 | echo $ac_n "(cached) $ac_c" 1>&6 | |
410 | else | |
411 | if test -n "$UNAME"; then | |
412 | ac_cv_prog_UNAME="$UNAME" # Let the user override the test. | |
413 | else | |
414 | - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
415 | - for ac_dir in $PATH; do | |
416 | + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
417 | + ac_dummy="$PATH" | |
418 | + for ac_dir in $ac_dummy; do | |
419 | test -z "$ac_dir" && ac_dir=. | |
420 | if test -f $ac_dir/$ac_word; then | |
421 | ac_cv_prog_UNAME="uname" | |
422 | @@ -933,15 +1000,16 @@ | |
423 | # Extract the first word of "ranlib", so it can be a program name with args. | |
424 | set dummy ranlib; ac_word=$2 | |
425 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
426 | -echo "configure:937: checking for $ac_word" >&5 | |
427 | +echo "configure:1004: checking for $ac_word" >&5 | |
428 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | |
429 | echo $ac_n "(cached) $ac_c" 1>&6 | |
430 | else | |
431 | if test -n "$RANLIB"; then | |
432 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
433 | else | |
434 | - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
435 | - for ac_dir in $PATH; do | |
436 | + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
437 | + ac_dummy="$PATH" | |
438 | + for ac_dir in $ac_dummy; do | |
439 | test -z "$ac_dir" && ac_dir=. | |
440 | if test -f $ac_dir/$ac_word; then | |
441 | ac_cv_prog_RANLIB="ranlib" | |
442 | @@ -961,15 +1029,16 @@ | |
443 | # Extract the first word of "ar", so it can be a program name with args. | |
444 | set dummy ar; ac_word=$2 | |
445 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
446 | -echo "configure:965: checking for $ac_word" >&5 | |
447 | +echo "configure:1033: checking for $ac_word" >&5 | |
448 | if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | |
449 | echo $ac_n "(cached) $ac_c" 1>&6 | |
450 | else | |
451 | if test -n "$AR"; then | |
452 | ac_cv_prog_AR="$AR" # Let the user override the test. | |
453 | else | |
454 | - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
455 | - for ac_dir in $PATH; do | |
456 | + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
457 | + ac_dummy="$PATH" | |
458 | + for ac_dir in $ac_dummy; do | |
459 | test -z "$ac_dir" && ac_dir=. | |
460 | if test -f $ac_dir/$ac_word; then | |
461 | ac_cv_prog_AR="ar" | |
462 | @@ -987,7 +1056,7 @@ | |
463 | fi | |
464 | ||
465 | echo $ac_n "checking whether cp takes -f""... $ac_c" 1>&6 | |
466 | -echo "configure:991: checking whether cp takes -f" >&5 | |
467 | +echo "configure:1060: checking whether cp takes -f" >&5 | |
468 | ac_file1=beldin1 | |
469 | ac_file2=beldin2 | |
470 | ac_cp="cp -f $ac_file1 $ac_file2" | |
471 | @@ -1018,7 +1087,7 @@ | |
472 | SHLIB_LD="${CXX}" | |
473 | SHLIB_STRIP="${STRIP}" | |
474 | echo $ac_n "checking your OS""... $ac_c" 1>&6 | |
475 | -echo "configure:1022: checking your OS" >&5 | |
476 | +echo "configure:1091: checking your OS" >&5 | |
477 | case `$UNAME` in | |
478 | Linux) | |
479 | echo "$ac_t""Linux! The choice of the GNU generation" 1>&6 | |
480 | @@ -1093,7 +1162,7 @@ | |
481 | SHLIB_LD="ld" | |
482 | SHLIB_STRIP="touch" | |
483 | echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 | |
484 | -echo "configure:1097: checking for main in -ldl" >&5 | |
485 | +echo "configure:1166: checking for main in -ldl" >&5 | |
486 | ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'` | |
487 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
488 | echo $ac_n "(cached) $ac_c" 1>&6 | |
489 | @@ -1101,14 +1170,14 @@ | |
490 | ac_save_LIBS="$LIBS" | |
491 | LIBS="-ldl $LIBS" | |
492 | cat > conftest.$ac_ext <<EOF | |
493 | -#line 1105 "configure" | |
494 | +#line 1174 "configure" | |
495 | #include "confdefs.h" | |
496 | ||
497 | int main() { | |
498 | main() | |
499 | ; return 0; } | |
500 | EOF | |
501 | -if { (eval echo configure:1112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
502 | +if { (eval echo configure:1181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
503 | rm -rf conftest* | |
504 | eval "ac_cv_lib_$ac_lib_var=yes" | |
505 | else | |
506 | @@ -1193,7 +1262,7 @@ | |
507 | HP-UX) | |
508 | echo "$ac_t""HP-UX - Domain of the Kirk!" 1>&6 | |
509 | echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | |
510 | -echo "configure:1197: checking for shl_load in -ldld" >&5 | |
511 | +echo "configure:1266: checking for shl_load in -ldld" >&5 | |
512 | ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | |
513 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
514 | echo $ac_n "(cached) $ac_c" 1>&6 | |
515 | @@ -1201,7 +1270,7 @@ | |
516 | ac_save_LIBS="$LIBS" | |
517 | LIBS="-ldld $LIBS" | |
518 | cat > conftest.$ac_ext <<EOF | |
519 | -#line 1205 "configure" | |
520 | +#line 1274 "configure" | |
521 | #include "confdefs.h" | |
522 | /* Override any gcc2 internal prototype to avoid an error. */ | |
523 | /* We use char because int might match the return type of a gcc2 | |
524 | @@ -1212,7 +1281,7 @@ | |
525 | shl_load() | |
526 | ; return 0; } | |
527 | EOF | |
528 | -if { (eval echo configure:1216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
529 | +if { (eval echo configure:1285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
530 | rm -rf conftest* | |
531 | eval "ac_cv_lib_$ac_lib_var=yes" | |
532 | else | |
533 | @@ -1282,15 +1351,16 @@ | |
534 | # Extract the first word of "gmake", so it can be a program name with args. | |
535 | set dummy gmake; ac_word=$2 | |
536 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
537 | -echo "configure:1286: checking for $ac_word" >&5 | |
538 | +echo "configure:1355: checking for $ac_word" >&5 | |
539 | if eval "test \"`echo '$''{'ac_cv_prog_GMAKE'+set}'`\" = set"; then | |
540 | echo $ac_n "(cached) $ac_c" 1>&6 | |
541 | else | |
542 | if test -n "$GMAKE"; then | |
543 | ac_cv_prog_GMAKE="$GMAKE" # Let the user override the test. | |
544 | else | |
545 | - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
546 | - for ac_dir in $PATH; do | |
547 | + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
548 | + ac_dummy="$PATH" | |
549 | + for ac_dir in $ac_dummy; do | |
550 | test -z "$ac_dir" && ac_dir=. | |
551 | if test -f $ac_dir/$ac_word; then | |
552 | ac_cv_prog_GMAKE="gmake" | |
553 | @@ -1312,15 +1382,16 @@ | |
554 | # Extract the first word of "make", so it can be a program name with args. | |
555 | set dummy make; ac_word=$2 | |
556 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
557 | -echo "configure:1316: checking for $ac_word" >&5 | |
558 | +echo "configure:1386: checking for $ac_word" >&5 | |
559 | if eval "test \"`echo '$''{'ac_cv_prog_GMAKE'+set}'`\" = set"; then | |
560 | echo $ac_n "(cached) $ac_c" 1>&6 | |
561 | else | |
562 | if test -n "$GMAKE"; then | |
563 | ac_cv_prog_GMAKE="$GMAKE" # Let the user override the test. | |
564 | else | |
565 | - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
566 | - for ac_dir in $PATH; do | |
567 | + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
568 | + ac_dummy="$PATH" | |
569 | + for ac_dir in $ac_dummy; do | |
570 | test -z "$ac_dir" && ac_dir=. | |
571 | if test -f $ac_dir/$ac_word; then | |
572 | ac_cv_prog_GMAKE="make" | |
573 | @@ -1358,7 +1429,7 @@ | |
574 | echo Skipping library tests because they CONFUSE Irix. | |
575 | else | |
576 | echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 | |
577 | -echo "configure:1362: checking for socket in -lsocket" >&5 | |
578 | +echo "configure:1433: checking for socket in -lsocket" >&5 | |
579 | ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` | |
580 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
581 | echo $ac_n "(cached) $ac_c" 1>&6 | |
582 | @@ -1366,7 +1437,7 @@ | |
583 | ac_save_LIBS="$LIBS" | |
584 | LIBS="-lsocket $LIBS" | |
585 | cat > conftest.$ac_ext <<EOF | |
586 | -#line 1370 "configure" | |
587 | +#line 1441 "configure" | |
588 | #include "confdefs.h" | |
589 | /* Override any gcc2 internal prototype to avoid an error. */ | |
590 | /* We use char because int might match the return type of a gcc2 | |
591 | @@ -1377,7 +1448,7 @@ | |
592 | socket() | |
593 | ; return 0; } | |
594 | EOF | |
595 | -if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
596 | +if { (eval echo configure:1452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
597 | rm -rf conftest* | |
598 | eval "ac_cv_lib_$ac_lib_var=yes" | |
599 | else | |
600 | @@ -1405,7 +1476,7 @@ | |
601 | fi | |
602 | ||
603 | echo $ac_n "checking for connect in -lnsl""... $ac_c" 1>&6 | |
604 | -echo "configure:1409: checking for connect in -lnsl" >&5 | |
605 | +echo "configure:1480: checking for connect in -lnsl" >&5 | |
606 | ac_lib_var=`echo nsl'_'connect | sed 'y%./+-%__p_%'` | |
607 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
608 | echo $ac_n "(cached) $ac_c" 1>&6 | |
609 | @@ -1413,7 +1484,7 @@ | |
610 | ac_save_LIBS="$LIBS" | |
611 | LIBS="-lnsl $LIBS" | |
612 | cat > conftest.$ac_ext <<EOF | |
613 | -#line 1417 "configure" | |
614 | +#line 1488 "configure" | |
615 | #include "confdefs.h" | |
616 | /* Override any gcc2 internal prototype to avoid an error. */ | |
617 | /* We use char because int might match the return type of a gcc2 | |
618 | @@ -1424,7 +1495,7 @@ | |
619 | connect() | |
620 | ; return 0; } | |
621 | EOF | |
622 | -if { (eval echo configure:1428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
623 | +if { (eval echo configure:1499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
624 | rm -rf conftest* | |
625 | eval "ac_cv_lib_$ac_lib_var=yes" | |
626 | else | |
627 | @@ -1452,7 +1523,7 @@ | |
628 | fi | |
629 | ||
630 | echo $ac_n "checking for gethostbyname in -ldns""... $ac_c" 1>&6 | |
631 | -echo "configure:1456: checking for gethostbyname in -ldns" >&5 | |
632 | +echo "configure:1527: checking for gethostbyname in -ldns" >&5 | |
633 | ac_lib_var=`echo dns'_'gethostbyname | sed 'y%./+-%__p_%'` | |
634 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
635 | echo $ac_n "(cached) $ac_c" 1>&6 | |
636 | @@ -1460,7 +1531,7 @@ | |
637 | ac_save_LIBS="$LIBS" | |
638 | LIBS="-ldns $LIBS" | |
639 | cat > conftest.$ac_ext <<EOF | |
640 | -#line 1464 "configure" | |
641 | +#line 1535 "configure" | |
642 | #include "confdefs.h" | |
643 | /* Override any gcc2 internal prototype to avoid an error. */ | |
644 | /* We use char because int might match the return type of a gcc2 | |
645 | @@ -1471,7 +1542,7 @@ | |
646 | gethostbyname() | |
647 | ; return 0; } | |
648 | EOF | |
649 | -if { (eval echo configure:1475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
650 | +if { (eval echo configure:1546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
651 | rm -rf conftest* | |
652 | eval "ac_cv_lib_$ac_lib_var=yes" | |
653 | else | |
654 | @@ -1499,7 +1570,7 @@ | |
655 | fi | |
656 | ||
657 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | |
658 | -echo "configure:1503: checking for dlopen in -ldl" >&5 | |
659 | +echo "configure:1574: checking for dlopen in -ldl" >&5 | |
660 | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | |
661 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
662 | echo $ac_n "(cached) $ac_c" 1>&6 | |
663 | @@ -1507,7 +1578,7 @@ | |
664 | ac_save_LIBS="$LIBS" | |
665 | LIBS="-ldl $LIBS" | |
666 | cat > conftest.$ac_ext <<EOF | |
667 | -#line 1511 "configure" | |
668 | +#line 1582 "configure" | |
669 | #include "confdefs.h" | |
670 | /* Override any gcc2 internal prototype to avoid an error. */ | |
671 | /* We use char because int might match the return type of a gcc2 | |
672 | @@ -1518,7 +1589,7 @@ | |
673 | dlopen() | |
674 | ; return 0; } | |
675 | EOF | |
676 | -if { (eval echo configure:1522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
677 | +if { (eval echo configure:1593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
678 | rm -rf conftest* | |
679 | eval "ac_cv_lib_$ac_lib_var=yes" | |
680 | else | |
681 | @@ -1547,7 +1618,7 @@ | |
682 | ||
683 | fi | |
684 | echo $ac_n "checking size of long""... $ac_c" 1>&6 | |
685 | -echo "configure:1551: checking size of long" >&5 | |
686 | +echo "configure:1622: checking size of long" >&5 | |
687 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then | |
688 | echo $ac_n "(cached) $ac_c" 1>&6 | |
689 | else | |
690 | @@ -1555,7 +1626,7 @@ | |
691 | ac_cv_sizeof_long=4 | |
692 | else | |
693 | cat > conftest.$ac_ext <<EOF | |
694 | -#line 1559 "configure" | |
695 | +#line 1630 "configure" | |
696 | #include "confdefs.h" | |
697 | #include <stdio.h> | |
698 | main() | |
699 | @@ -1566,7 +1637,7 @@ | |
700 | exit(0); | |
701 | } | |
702 | EOF | |
703 | -if { (eval echo configure:1570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null | |
704 | +if { (eval echo configure:1641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
705 | then | |
706 | ac_cv_sizeof_long=`cat conftestval` | |
707 | else | |
708 | @@ -1586,7 +1657,7 @@ | |
709 | ||
710 | ||
711 | echo $ac_n "checking size of int""... $ac_c" 1>&6 | |
712 | -echo "configure:1590: checking size of int" >&5 | |
713 | +echo "configure:1661: checking size of int" >&5 | |
714 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | |
715 | echo $ac_n "(cached) $ac_c" 1>&6 | |
716 | else | |
717 | @@ -1594,7 +1665,7 @@ | |
718 | ac_cv_sizeof_int=4 | |
719 | else | |
720 | cat > conftest.$ac_ext <<EOF | |
721 | -#line 1598 "configure" | |
722 | +#line 1669 "configure" | |
723 | #include "confdefs.h" | |
724 | #include <stdio.h> | |
725 | main() | |
726 | @@ -1605,7 +1676,7 @@ | |
727 | exit(0); | |
728 | } | |
729 | EOF | |
730 | -if { (eval echo configure:1609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null | |
731 | +if { (eval echo configure:1680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
732 | then | |
733 | ac_cv_sizeof_int=`cat conftestval` | |
734 | else | |
735 | @@ -1625,7 +1696,7 @@ | |
736 | ||
737 | ||
738 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | |
739 | -echo "configure:1629: checking how to run the C preprocessor" >&5 | |
740 | +echo "configure:1700: checking how to run the C preprocessor" >&5 | |
741 | # On Suns, sometimes $CPP names a directory. | |
742 | if test -n "$CPP" && test -d "$CPP"; then | |
743 | CPP= | |
744 | @@ -1640,14 +1711,14 @@ | |
745 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
746 | # not just through cpp. | |
747 | cat > conftest.$ac_ext <<EOF | |
748 | -#line 1644 "configure" | |
749 | +#line 1715 "configure" | |
750 | #include "confdefs.h" | |
751 | #include <assert.h> | |
752 | Syntax Error | |
753 | EOF | |
754 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
755 | -{ (eval echo configure:1650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
756 | -ac_err=`grep -v '^ *+' conftest.out` | |
757 | +{ (eval echo configure:1721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
758 | +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
759 | if test -z "$ac_err"; then | |
760 | : | |
761 | else | |
762 | @@ -1657,14 +1728,31 @@ | |
763 | rm -rf conftest* | |
764 | CPP="${CC-cc} -E -traditional-cpp" | |
765 | cat > conftest.$ac_ext <<EOF | |
766 | -#line 1661 "configure" | |
767 | +#line 1732 "configure" | |
768 | #include "confdefs.h" | |
769 | #include <assert.h> | |
770 | Syntax Error | |
771 | EOF | |
772 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
773 | -{ (eval echo configure:1667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
774 | -ac_err=`grep -v '^ *+' conftest.out` | |
775 | +{ (eval echo configure:1738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
776 | +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
777 | +if test -z "$ac_err"; then | |
778 | + : | |
779 | +else | |
780 | + echo "$ac_err" >&5 | |
781 | + echo "configure: failed program was:" >&5 | |
782 | + cat conftest.$ac_ext >&5 | |
783 | + rm -rf conftest* | |
784 | + CPP="${CC-cc} -nologo -E" | |
785 | + cat > conftest.$ac_ext <<EOF | |
786 | +#line 1749 "configure" | |
787 | +#include "confdefs.h" | |
788 | +#include <assert.h> | |
789 | +Syntax Error | |
790 | +EOF | |
791 | +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
792 | +{ (eval echo configure:1755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
793 | +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
794 | if test -z "$ac_err"; then | |
795 | : | |
796 | else | |
797 | @@ -1677,6 +1765,8 @@ | |
798 | rm -f conftest* | |
799 | fi | |
800 | rm -f conftest* | |
801 | +fi | |
802 | +rm -f conftest* | |
803 | ac_cv_prog_CPP="$CPP" | |
804 | fi | |
805 | CPP="$ac_cv_prog_CPP" | |
806 | @@ -1689,18 +1779,18 @@ | |
807 | do | |
808 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
809 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
810 | -echo "configure:1693: checking for $ac_hdr" >&5 | |
811 | +echo "configure:1783: checking for $ac_hdr" >&5 | |
812 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | |
813 | echo $ac_n "(cached) $ac_c" 1>&6 | |
814 | else | |
815 | cat > conftest.$ac_ext <<EOF | |
816 | -#line 1698 "configure" | |
817 | +#line 1788 "configure" | |
818 | #include "confdefs.h" | |
819 | #include <$ac_hdr> | |
820 | EOF | |
821 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
822 | -{ (eval echo configure:1703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
823 | -ac_err=`grep -v '^ *+' conftest.out` | |
824 | +{ (eval echo configure:1793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
825 | +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
826 | if test -z "$ac_err"; then | |
827 | rm -rf conftest* | |
828 | eval "ac_cv_header_$ac_safe=yes" | |
829 | @@ -1726,12 +1816,12 @@ | |
830 | done | |
831 | ||
832 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | |
833 | -echo "configure:1730: checking for ANSI C header files" >&5 | |
834 | +echo "configure:1820: checking for ANSI C header files" >&5 | |
835 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | |
836 | echo $ac_n "(cached) $ac_c" 1>&6 | |
837 | else | |
838 | cat > conftest.$ac_ext <<EOF | |
839 | -#line 1735 "configure" | |
840 | +#line 1825 "configure" | |
841 | #include "confdefs.h" | |
842 | #include <stdlib.h> | |
843 | #include <stdarg.h> | |
844 | @@ -1739,8 +1829,8 @@ | |
845 | #include <float.h> | |
846 | EOF | |
847 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
848 | -{ (eval echo configure:1743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
849 | -ac_err=`grep -v '^ *+' conftest.out` | |
850 | +{ (eval echo configure:1833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
851 | +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
852 | if test -z "$ac_err"; then | |
853 | rm -rf conftest* | |
854 | ac_cv_header_stdc=yes | |
855 | @@ -1756,7 +1846,7 @@ | |
856 | if test $ac_cv_header_stdc = yes; then | |
857 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
858 | cat > conftest.$ac_ext <<EOF | |
859 | -#line 1760 "configure" | |
860 | +#line 1850 "configure" | |
861 | #include "confdefs.h" | |
862 | #include <string.h> | |
863 | EOF | |
864 | @@ -1774,7 +1864,7 @@ | |
865 | if test $ac_cv_header_stdc = yes; then | |
866 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
867 | cat > conftest.$ac_ext <<EOF | |
868 | -#line 1778 "configure" | |
869 | +#line 1868 "configure" | |
870 | #include "confdefs.h" | |
871 | #include <stdlib.h> | |
872 | EOF | |
873 | @@ -1795,7 +1885,7 @@ | |
874 | : | |
875 | else | |
876 | cat > conftest.$ac_ext <<EOF | |
877 | -#line 1799 "configure" | |
878 | +#line 1889 "configure" | |
879 | #include "confdefs.h" | |
880 | #include <ctype.h> | |
881 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
882 | @@ -1806,7 +1896,7 @@ | |
883 | exit (0); } | |
884 | ||
885 | EOF | |
886 | -if { (eval echo configure:1810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null | |
887 | +if { (eval echo configure:1900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
888 | then | |
889 | : | |
890 | else | |
891 | @@ -1830,12 +1920,12 @@ | |
892 | fi | |
893 | ||
894 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | |
895 | -echo "configure:1834: checking for pid_t" >&5 | |
896 | +echo "configure:1924: checking for pid_t" >&5 | |
897 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | |
898 | echo $ac_n "(cached) $ac_c" 1>&6 | |
899 | else | |
900 | cat > conftest.$ac_ext <<EOF | |
901 | -#line 1839 "configure" | |
902 | +#line 1929 "configure" | |
903 | #include "confdefs.h" | |
904 | #include <sys/types.h> | |
905 | #if STDC_HEADERS | |
906 | @@ -1844,7 +1934,7 @@ | |
907 | #endif | |
908 | EOF | |
909 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
910 | - egrep "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | |
911 | + egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | |
912 | rm -rf conftest* | |
913 | ac_cv_type_pid_t=yes | |
914 | else | |
915 | @@ -1863,12 +1953,12 @@ | |
916 | fi | |
917 | ||
918 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | |
919 | -echo "configure:1867: checking whether time.h and sys/time.h may both be included" >&5 | |
920 | +echo "configure:1957: checking whether time.h and sys/time.h may both be included" >&5 | |
921 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | |
922 | echo $ac_n "(cached) $ac_c" 1>&6 | |
923 | else | |
924 | cat > conftest.$ac_ext <<EOF | |
925 | -#line 1872 "configure" | |
926 | +#line 1962 "configure" | |
927 | #include "confdefs.h" | |
928 | #include <sys/types.h> | |
929 | #include <sys/time.h> | |
930 | @@ -1877,7 +1967,7 @@ | |
931 | struct tm *tp; | |
932 | ; return 0; } | |
933 | EOF | |
934 | -if { (eval echo configure:1881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
935 | +if { (eval echo configure:1971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
936 | rm -rf conftest* | |
937 | ac_cv_header_time=yes | |
938 | else | |
939 | @@ -1900,12 +1990,12 @@ | |
940 | for ac_func in rename getrusage getdtablesize srandom random sigaction | |
941 | do | |
942 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
943 | -echo "configure:1904: checking for $ac_func" >&5 | |
944 | +echo "configure:1994: checking for $ac_func" >&5 | |
945 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | |
946 | echo $ac_n "(cached) $ac_c" 1>&6 | |
947 | else | |
948 | cat > conftest.$ac_ext <<EOF | |
949 | -#line 1909 "configure" | |
950 | +#line 1999 "configure" | |
951 | #include "confdefs.h" | |
952 | /* System header to define __stub macros and hopefully few prototypes, | |
953 | which can conflict with char $ac_func(); below. */ | |
954 | @@ -1928,7 +2018,7 @@ | |
955 | ||
956 | ; return 0; } | |
957 | EOF | |
958 | -if { (eval echo configure:1932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
959 | +if { (eval echo configure:2022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
960 | rm -rf conftest* | |
961 | eval "ac_cv_func_$ac_func=yes" | |
962 | else | |
963 | @@ -1955,12 +2045,12 @@ | |
964 | for ac_func in sigemptyset vsprintf strcasecmp setpgid clock dlopen | |
965 | do | |
966 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
967 | -echo "configure:1959: checking for $ac_func" >&5 | |
968 | +echo "configure:2049: checking for $ac_func" >&5 | |
969 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | |
970 | echo $ac_n "(cached) $ac_c" 1>&6 | |
971 | else | |
972 | cat > conftest.$ac_ext <<EOF | |
973 | -#line 1964 "configure" | |
974 | +#line 2054 "configure" | |
975 | #include "confdefs.h" | |
976 | /* System header to define __stub macros and hopefully few prototypes, | |
977 | which can conflict with char $ac_func(); below. */ | |
978 | @@ -1983,7 +2073,7 @@ | |
979 | ||
980 | ; return 0; } | |
981 | EOF | |
982 | -if { (eval echo configure:1987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
983 | +if { (eval echo configure:2077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
984 | rm -rf conftest* | |
985 | eval "ac_cv_func_$ac_func=yes" | |
986 | else | |
987 | @@ -2010,12 +2100,12 @@ | |
988 | for ac_func in dprintf memset uname vsnprintf | |
989 | do | |
990 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
991 | -echo "configure:2014: checking for $ac_func" >&5 | |
992 | +echo "configure:2104: checking for $ac_func" >&5 | |
993 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | |
994 | echo $ac_n "(cached) $ac_c" 1>&6 | |
995 | else | |
996 | cat > conftest.$ac_ext <<EOF | |
997 | -#line 2019 "configure" | |
998 | +#line 2109 "configure" | |
999 | #include "confdefs.h" | |
1000 | /* System header to define __stub macros and hopefully few prototypes, | |
1001 | which can conflict with char $ac_func(); below. */ | |
1002 | @@ -2038,7 +2128,7 @@ | |
1003 | ||
1004 | ; return 0; } | |
1005 | EOF | |
1006 | -if { (eval echo configure:2042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
1007 | +if { (eval echo configure:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
1008 | rm -rf conftest* | |
1009 | eval "ac_cv_func_$ac_func=yes" | |
1010 | else | |
1011 | @@ -2126,7 +2216,7 @@ | |
1012 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
1013 | # and sets the high bit in the cache file unless we assign to the vars. | |
1014 | (set) 2>&1 | | |
1015 | - case `(ac_space=' '; set) 2>&1` in | |
1016 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
1017 | *ac_space=\ *) | |
1018 | # `set' does not quote correctly, so add quotes (double-quote substitution | |
1019 | # turns \\\\ into \\, and sed turns \\ into \). | |
1020 | @@ -2193,7 +2283,7 @@ | |
1021 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | |
1022 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | |
1023 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | |
1024 | - echo "$CONFIG_STATUS generated by autoconf version 2.12" | |
1025 | + echo "$CONFIG_STATUS generated by autoconf version 2.13" | |
1026 | exit 0 ;; | |
1027 | -help | --help | --hel | --he | --h) | |
1028 | echo "\$ac_cs_usage"; exit 0 ;; | |
1029 | @@ -2212,9 +2302,11 @@ | |
1030 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | |
1031 | $ac_vpsub | |
1032 | $extrasub | |
1033 | +s%@SHELL@%$SHELL%g | |
1034 | s%@CFLAGS@%$CFLAGS%g | |
1035 | s%@CPPFLAGS@%$CPPFLAGS%g | |
1036 | s%@CXXFLAGS@%$CXXFLAGS%g | |
1037 | +s%@FFLAGS@%$FFLAGS%g | |
1038 | s%@DEFS@%$DEFS%g | |
1039 | s%@LDFLAGS@%$LDFLAGS%g | |
1040 | s%@LIBS@%$LIBS%g | |
1041 | diff -Nur eggdrop2.0.0-ALPHA.orig/configure.in eggdrop2.0.0-ALPHA/configure.in | |
1042 | --- eggdrop2.0.0-ALPHA.orig/configure.in Sun Jan 17 03:34:11 1999 | |
1043 | +++ eggdrop2.0.0-ALPHA/configure.in Sat Feb 20 20:19:50 1999 | |
1044 | @@ -22,10 +22,9 @@ | |
1045 | exit | |
1046 | fi | |
1047 | if test "x$CFLAGS" = "x"; then | |
1048 | - CFLAGS="-O" | |
1049 | + CFLAGS="-O2" | |
1050 | fi | |
1051 | if test "x$CC" = "xgcc"; then | |
1052 | - CFLAGS="-O2 -Wall" | |
1053 | AC_MSG_CHECKING(what version your gcc is?) | |
1054 | case `${CXX} --version` in | |
1055 | egcs*) | |
1056 | diff -Nur eggdrop2.0.0-ALPHA.orig/eggdrop2.conf.complete eggdrop2.0.0-ALPHA/eggdrop2.conf.complete | |
1057 | --- eggdrop2.0.0-ALPHA.orig/eggdrop2.conf.complete Fri Jan 15 10:01:43 1999 | |
1058 | +++ eggdrop2.0.0-ALPHA/eggdrop2.conf.complete Sat Feb 20 20:19:28 1999 | |
1059 | @@ -1,4 +1,4 @@ | |
1060 | -#!/path/to/eggdrop2 | |
1061 | +#!/usr/bin/eggdrop | |
1062 | # | |
1063 | # This is the complete sample configuration file. It contains every possible | |
1064 | # setting available on the bot. It therefore loads every possible module, | |
1065 | diff -Nur eggdrop2.0.0-ALPHA.orig/eggdrop2.conf.simple eggdrop2.0.0-ALPHA/eggdrop2.conf.simple | |
1066 | --- eggdrop2.0.0-ALPHA.orig/eggdrop2.conf.simple Fri Jan 15 10:01:43 1999 | |
1067 | +++ eggdrop2.0.0-ALPHA/eggdrop2.conf.simple Sat Feb 20 20:19:28 1999 | |
1068 | @@ -1,5 +1,4 @@ | |
1069 | -#!/path/to/eggdrop2 | |
1070 | -# ^-set to the directory eggdrop2 is in (i.e. "#!/home/yourname/egg/eggdrop2") | |
1071 | +#!/usr/bin/eggdrop | |
1072 | # | |
1073 | # This is the simple sample configuration file, it only contains the basic | |
1074 | # settings required to fire up the bot, have it chat on IRC, and have it | |
1075 | diff -Nur eggdrop2.0.0-ALPHA.orig/scripts/botchk eggdrop2.0.0-ALPHA/scripts/botchk | |
1076 | --- eggdrop2.0.0-ALPHA.orig/scripts/botchk Mon May 11 13:09:52 1998 | |
1077 | +++ eggdrop2.0.0-ALPHA/scripts/botchk Sat Feb 20 20:19:28 1999 | |
1078 | @@ -1,4 +1,4 @@ | |
1079 | -#!/bin/sh | |
1080 | +#!/bin/bash | |
1081 | # | |
1082 | # new botchk (for eggdrop 1.1) | |
1083 | # | |
1084 | diff -Nur eggdrop2.0.0-ALPHA.orig/scripts/weed eggdrop2.0.0-ALPHA/scripts/weed | |
1085 | --- eggdrop2.0.0-ALPHA.orig/scripts/weed Sat May 16 08:32:04 1998 | |
1086 | +++ eggdrop2.0.0-ALPHA/scripts/weed Sat Feb 20 20:19:28 1999 | |
1087 | @@ -1,4 +1,4 @@ | |
1088 | -#!/usr/local/bin/tclsh\r | |
1089 | +#!/usr/bin/tclsh\r | |
1090 | #\r | |
1091 | # weed out certain undesirables from an eggdrop userlist\r | |
1092 | # try just typing 'tclsh weed' to find out the options\r |